/* BoringClaw — style.css */
/* Steel blue-gray primary. Gold CTA accent. Instrument Serif headings. DM Sans body. */

/* ─── Reset & Base ─── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:             #FAFAF8;
  --color-surface:        #FFFFFF;
  --color-surface-alt:    #F5F5F0;
  --color-heading:        #0f172a;
  --color-body:           #475569;
  --color-muted:          #94a3b8;
  --color-dim:            #cbd5e1;
  --color-amber:          #D4A84B;
  --color-amber-text:     #5C7080;
  --color-amber-btn:      #92680A;
  --color-steel:          #5C7080;
  --color-steel-light:    rgba(92, 112, 128, 0.1);
  --color-steel-text:     #4A6170;
  --color-sage:           #5C7080;
  --color-sage-dim:       rgba(92, 112, 128, 0.12);
  --color-border:         #e2e8f0;
  --color-border-dim:     #f1f5f9;
  --color-terminal-bg:    #1E1E2A;
  --color-terminal-bar:   #16161E;
  --color-terminal-border: #2D2D3D;
  --color-success:        #16a34a;
  --color-error:          #dc2626;

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
  --font-mono:  'IBM Plex Mono', 'Courier New', monospace;

  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);

  --max-width:   768px;
  --section-gap: 6rem;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-body);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
}

::selection {
  background: var(--color-amber);
  color: var(--color-heading);
}

/* ─── Scrollbar ─── */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 4px;
}

/* ─── Utility ─── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.container-wide {
  max-width: 1280px;
}

.mono {
  font-family: var(--font-mono);
}

.amber {
  color: var(--color-amber-text);
}

.text-muted {
  color: var(--color-muted);
}

/* ─── Read Progress Bar ─── */

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-amber-btn);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ─── Grain Overlay ─── */

.grain-overlay {
  position: fixed;
  inset: 0;
  opacity: 0.015;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjMwMCIgaGVpZ2h0PSIzMDAiIGZpbHRlcj0idXJsKCNhKSIgb3BhY2l0eT0iMSIvPjwvc3ZnPg==");
}

/* ─── Animations ─── */

@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}


.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.fade-in-delay-1 {
  animation: fadeIn 0.6s ease-out 0.1s forwards;
  opacity: 0;
}

.fade-in-delay-2 {
  animation: fadeIn 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.fade-in-delay-3 {
  animation: fadeIn 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.fade-in-delay-4 {
  animation: fadeIn 0.6s ease-out 0.4s forwards;
  opacity: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Nav ─── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-nav.scrolled {
  border-bottom-color: var(--color-border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-heading);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--color-amber-text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-blog-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-standard);
  margin-right: 1.25rem;
}

.nav-blog-link:hover {
  color: var(--color-heading);
}

.nav-blog-link.active {
  color: var(--color-steel);
}

.nav-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--color-amber-btn);
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s var(--ease-standard), transform 0.2s var(--ease-standard);
}

.nav-cta:hover {
  background: #A67C1F;
  transform: translateY(-1px) scale(1.02);
}

.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

/* ─── Hero ─── */

.hero {
  padding: 9rem 0 5rem;
  text-align: center;
  background-image:
    linear-gradient(rgba(92, 112, 128, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 112, 128, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-mascot {
  width: 320px;
  height: auto;
  margin-bottom: 1.5rem;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--color-sage);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: normal;
  color: var(--color-heading);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-tagline .period {
  color: #92680A;
}

.hero-bio {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-body);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-bio strong {
  color: var(--color-heading);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--color-amber-btn);
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.25s var(--ease-standard), transform 0.25s var(--ease-standard), box-shadow 0.25s var(--ease-standard);
}

.btn-primary:hover {
  background: #A67C1F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(146, 104, 10, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--color-heading);
}

/* ─── Stats Bar ─── */

.stats-bar {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 0.75rem 1.5rem;
  border-right: 1px solid var(--color-border);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: normal;
  color: #92680A;
  line-height: 1;
  margin-bottom: 0.35rem;
  display: block;
}

.stat-value .unit {
  font-size: 1.2rem;
  color: #92680A;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 400;
}

/* ─── Section Headers (shared) ─── */

.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-sage);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: normal;
  color: var(--color-heading);
  line-height: 1.15;
}

/* ─── What This Is ─── */

.what-this-is {
  padding: var(--section-gap) 0;
}

.wti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.wti-copy p {
  color: var(--color-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.wti-copy p:last-child {
  margin-bottom: 0;
}

.wti-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aside-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-steel);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  transition: box-shadow 0.3s var(--ease-standard), transform 0.3s var(--ease-standard);
}

.aside-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.aside-card .card-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: normal;
  color: var(--color-amber-text);
  display: block;
  margin-bottom: 0.2rem;
}

.aside-card .card-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* ─── Org Chart ─── */

.org-chart-section {
  padding: var(--section-gap) 0;
}

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CEO Card */
.org-ceo-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.org-ceo-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.org-ceo-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-body);
  font-weight: 300;
  max-width: 320px;
  margin: 0 auto;
}

/* Connector */
.org-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 4rem;
}

.org-connector::before {
  content: '';
  width: 2px;
  height: 0;
  background: var(--color-steel);
  transition: height 0.6s ease-out 0.2s;
}

.org-chart-section.revealed .org-connector::before {
  height: 100%;
}

.org-connector-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-steel);
  letter-spacing: 0.1em;
  background: var(--color-bg);
  padding: 0 0.6rem;
}

/* Department Grid */
.org-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
  align-items: start;
}

/* Department Card */
.dept-full {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-standard), transform 0.3s var(--ease-standard);
}

.dept-full:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.dept-active-full {
  border-left: 3px solid var(--color-steel);
}


.dept-full-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1rem 0.6rem;
}

.dept-full-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-heading);
  font-weight: normal;
  margin-bottom: 0.15rem;
}

.dept-full-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-amber-text);
  letter-spacing: 0.04em;
}

/* Status Badges */
.dept-status {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.dept-status.active {
  background: var(--color-steel-light);
  color: var(--color-steel);
  animation: statusPulse 3s ease-in-out infinite;
}


.dept-status.planned {
  background: transparent;
  color: var(--color-dim);
  border: 1px dashed var(--color-dim);
}

/* Department Head */
.dept-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border-dim);
  border-bottom: 1px solid var(--color-border-dim);
}

.dept-head-marker {
  width: 6px;
  height: 6px;
  background: var(--color-steel);
  border-radius: 2px;
  flex-shrink: 0;
}

.dept-head-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-heading);
}

.dept-head-role {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-muted);
  font-weight: 300;
}

/* Agent List */
.dept-agents {
  list-style: none;
  padding: 0.4rem 1rem 0.75rem;
}

.dept-agents li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--color-border-dim);
}

.dept-agents li:last-child {
  border-bottom: none;
}

.agent-name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--color-body);
  font-weight: 400;
}

.agent-role {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

/* Coming Soon Departments */
.dept-coming-soon {
  border-style: dashed;
  border-color: var(--color-border);
}

.dept-coming-soon .dept-full-name {
  color: var(--color-dim);
}

.dept-coming-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-muted);
  padding: 0.75rem 1rem 1rem;
  line-height: 1.6;
}

/* Total */
.org-total {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ─── Proof of Autonomy ─── */

.proof {
  padding: var(--section-gap) 0;
}

.terminal {
  background: var(--color-terminal-bg);
  border: 1px solid var(--color-terminal-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.terminal-bar {
  background: var(--color-terminal-bar);
  border-bottom: 1px solid var(--color-terminal-border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #FF5F57; }
.terminal-dot:nth-child(2) { background: #FEBC2E; }
.terminal-dot:nth-child(3) { background: #28C840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #7a7a8e;
  margin-left: 0.5rem;
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.9;
  overflow-x: auto;
}

.log-line {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}

.log-time {
  color: var(--color-amber);
  flex-shrink: 0;
  opacity: 0.9;
}

.log-tag {
  color: #7a7a8e;
  flex-shrink: 0;
  min-width: 7rem;
}

.log-msg {
  color: #c8c8d4;
}

.log-msg.ok {
  color: #5a9a72;
}

.log-msg.warn {
  color: #c4a84a;
}

.log-msg.note {
  color: var(--color-amber);
  opacity: 0.85;
}

.log-blank {
  height: 0.6rem;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1rem;
  background: var(--color-amber);
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
  margin-left: 2px;
}

.proof-note {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

/* ─── How It Works ─── */

.how-it-works {
  padding: var(--section-gap) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.3s var(--ease-standard), transform 0.3s var(--ease-standard);
}

.step:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-sage);
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step-body {
  font-size: 0.875rem;
  color: var(--color-body);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── Waitlist ─── */

.waitlist {
  padding: var(--section-gap) 0;
}

.waitlist-inner {
  max-width: 540px;
  margin: 0 auto;
}

.waitlist-subtext {
  font-size: 0.95rem;
  color: var(--color-body);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-weight: 300;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 0;
}

.form-input {
  flex: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-right: none;
  color: var(--color-heading);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 9999px 0 0 9999px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--color-dim);
}

.form-input:focus {
  border-color: var(--color-amber);
}

.form-submit {
  background: var(--color-amber-btn);
  color: #ffffff;
  border: 1px solid var(--color-amber-btn);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.6rem;
  border-radius: 0 9999px 9999px 0;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.form-submit:hover {
  background: #A67C1F;
}

.form-note {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.form-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-success);
  padding: 1rem;
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 6px;
  margin-top: 0.5rem;
}

/* ─── Footer ─── */

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-body);
  letter-spacing: 0.05em;
}

.footer-logo span {
  color: var(--color-amber-text);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-body);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-heading);
}

.footer-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 1.5rem;
  letter-spacing: 0.04em;
  width: 100%;
}

/* ─── Responsive: 720px ─── */

@media (max-width: 720px) {
  :root {
    --section-gap: 4rem;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--color-border);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--color-border);
    border-right: none;
  }

  .wti-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .wti-aside {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .aside-card {
    flex: 1;
    min-width: 130px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    border-radius: 0;
    border-bottom: none;
  }

  .step:first-child {
    border-radius: 8px 8px 0 0;
  }

  .step:last-child {
    border-radius: 0 0 8px 8px;
    border-bottom: 1px solid var(--color-border);
  }

  .form-row {
    flex-direction: column;
  }

  .form-input {
    border-right: 1px solid var(--color-border);
    border-bottom: none;
    border-radius: 9999px 9999px 0 0;
  }

  .form-submit {
    border-radius: 0 0 9999px 9999px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mascot-img {
    width: 180px;
  }

  .org-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Responsive: 480px ─── */

@media (max-width: 480px) {
  .hero {
    padding-top: 8rem;
  }

  .stat-item {
    padding: 0.75rem 1rem;
  }

  .terminal-body {
    font-size: 0.72rem;
  }

  .log-tag {
    display: none;
  }

  .hero-mascot {
    width: 200px;
  }

  .org-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ─── Mascot float ─── */

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-mascot {
  animation: mascotFloat 4s ease-in-out infinite;
}

/* ─── Reduced Motion ─── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
