:root {
      color-scheme: dark;
      --bg: #03100b;
      --bg-2: #071b14;
      --surface: rgba(8, 28, 20, .72);
      --surface-strong: rgba(10, 42, 30, .88);
      --line: rgba(142, 255, 187, .16);
      --line-strong: rgba(87, 242, 138, .38);
      --ink: #f4fff7;
      --muted: #acc2b6;
      --nav-muted: #8ca09a;
      --green: #57f28a;
      --cyan: #42e8ff;
      --amber: #ffc857;
      --rose: #ff5b91;
      --shadow: 0 36px 120px rgba(0, 0, 0, .55);
      --header: rgba(3, 16, 11, .78);
      --radius: 34px;
    }
    :root[data-theme="light"] {
      color-scheme: light;
      --bg: #f4fff8;
      --bg-2: #e9f8f1;
      --surface: rgba(255, 255, 255, .78);
      --surface-strong: rgba(255, 255, 255, .92);
      --line: rgba(8, 78, 43, .14);
      --line-strong: rgba(30, 170, 83, .30);
      --ink: #08140f;
      --muted: #597069;
      --nav-muted: #6f827b;
      --green: #0c9f4d;
      --cyan: #087f91;
      --amber: #b67a00;
      --rose: #cc2e62;
      --shadow: 0 30px 100px rgba(10, 70, 36, .14);
      --header: rgba(249, 255, 251, .84);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-height: 100vh;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--green) 22%, transparent), transparent 30rem),
        radial-gradient(circle at 88% 16%, color-mix(in srgb, var(--cyan) 17%, transparent), transparent 32rem),
        linear-gradient(180deg, var(--bg), var(--bg-2) 56%, var(--bg));
      overflow-x: hidden;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -2;
      pointer-events: none;
      background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
      background-size: 64px 64px;
      opacity: .23;
      mask-image: radial-gradient(circle at 50% 12%, black, transparent 76%);
    }
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background: repeating-linear-gradient(180deg, transparent 0, transparent 8px, rgba(255,255,255,.022) 9px);
      mix-blend-mode: overlay;
      opacity: .26;
    }
    a { color: inherit; text-decoration: none; }
    p { color: var(--muted); line-height: 1.72; }
    .container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

    /* App bar merged from the Hugo design */
    .nav-shell {
      position: sticky;
      top: 0;
      z-index: 50;
      background: var(--header);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(22px);
    }
    .nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 950; }
    .brand-mark {
      width: 64px;
      height: 44px;
      border-radius: 999px;
      border: 1px solid var(--line-strong);
      background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--green) 11%, transparent), transparent 70%), color-mix(in srgb, var(--surface-strong) 84%, transparent);
      display: block;
      position: relative;
      box-shadow: 0 0 34px color-mix(in srgb, var(--green) 15%, transparent);
      overflow: hidden;
      flex: 0 0 auto;
    }
    .brand-mark::before,
    .brand-mark::after {
      content: "";
      position: absolute;
      top: 14px;
      width: 9px;
      height: 12px;
      border-radius: 999px;
      background: #f9fff8;
      box-shadow: inset 0 -1px 0 rgba(0,0,0,.12), 0 0 12px color-mix(in srgb, var(--cyan) 24%, transparent);
      animation: shyBlink 5.5s ease-in-out infinite;
    }
    .brand-mark::before { left: 20px; }
    .brand-mark::after { right: 20px; }
    .logo-pupil-left,
    .logo-pupil-right {
      position: absolute;
      top: 18px;
      width: 3.5px;
      height: 3.5px;
      border-radius: 50%;
      background: #020806;
      z-index: 2;
      animation: shyPupil 5.5s ease-in-out infinite;
    }
    .logo-pupil-left { left: 23px; }
    .logo-pupil-right { right: 22px; }
    .logo-smile {
      position: absolute;
      left: 50%;
      bottom: 9px;
      width: 14px;
      height: 7px;
      border-bottom: 2px solid color-mix(in srgb, var(--green) 82%, white 12%);
      border-radius: 0 0 999px 999px;
      transform: translateX(-50%);
      opacity: .9;
    }
    .logo-blush {
      position: absolute;
      top: 28px;
      width: 8px;
      height: 3px;
      border-radius: 999px;
      background: color-mix(in srgb, var(--rose) 48%, transparent);
      opacity: .55;
    }
    .logo-blush-left { left: 13px; }
    .logo-blush-right { right: 13px; }
    .brand-text { display: grid; line-height: 1; }
    .brand-text strong { font-size: clamp(1.18rem, 2.2vw, 1.5rem); letter-spacing: -.045em; }
    .brand-text span { margin-top: 5px; color: var(--nav-muted); font-size: .72rem; letter-spacing: .19em; text-transform: uppercase; }
    .nav-links { display: flex; align-items: center; gap: 24px; color: var(--nav-muted); font-weight: 850; font-size: .93rem; }
    .nav-links a:hover { color: var(--green); }
    .actions { display: flex; align-items: center; gap: 10px; }

    .language-switcher { display:flex; align-items:center; gap:8px; }
    .language-switcher a, .mobile-lang a { padding:7px 9px; border-radius:999px; color:var(--nav-muted); font-size:.72rem; font-weight:950; border:1px solid transparent; }
    .language-switcher a.active, .mobile-lang a.active { color:var(--green); border-color:var(--line-strong); background:color-mix(in srgb, var(--green) 9%, transparent); }
    .mobile-lang { margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }

    .theme-toggle, .menu-toggle {
      width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
      background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center;
    }
    .theme-toggle svg, .menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; }
    .theme-toggle .sun { display:none; }
    :root[data-theme="light"] .theme-toggle .sun { display:block; }
    :root[data-theme="light"] .theme-toggle .moon { display:none; }
    .menu-toggle { display: none; }
    .mobile-panel { display: none; padding: 0 0 20px; }
    .mobile-panel.open { display:block; }
    .mobile-links { display:grid; gap: 12px; color: var(--nav-muted); font-weight: 850; }

    .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 950; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { color: #03120a; background: linear-gradient(135deg, var(--green), var(--cyan)); box-shadow: 0 18px 48px color-mix(in srgb, var(--green) 24%, transparent); }
    .btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }

    .hero { min-height: calc(100vh - 82px); display: grid; align-items: center; padding: 74px 0 76px; }
    .hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
    .eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--green); background: color-mix(in srgb, var(--green) 9%, transparent); font-size: .78rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
    .eyebrow { margin-bottom: 22px; }
    .eyebrow::before, .kicker::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px var(--amber); }
    h1 { margin: 0 0 26px; font-size: clamp(3.15rem, 7vw, 7.2rem); line-height: .89; letter-spacing: -.075em; }
    .gradient-text { background: linear-gradient(120deg, var(--ink), var(--green) 38%, var(--cyan) 74%); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .lead { font-size: clamp(1.06rem, 2vw, 1.28rem); max-width: 720px; margin: 0 0 34px; }
    .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
    .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 760px; }
    .stat { padding: 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
    .stat strong { display:block; margin-bottom: 4px; }
    .stat span { display:block; color: var(--muted); font-size: .85rem; line-height: 1.42; }

    .arena { position: relative; min-height: 590px; border-radius: 48px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--green) 18%, transparent), transparent 16rem), radial-gradient(circle at 76% 70%, color-mix(in srgb, var(--cyan) 16%, transparent), transparent 18rem), linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-strong) 86%, transparent)); box-shadow: var(--shadow); overflow: hidden; display: grid; place-items: center; }
    .arena::before { content:""; position:absolute; inset:24px; border:1px solid var(--line-strong); border-radius:38px; opacity:.6; }
    .orbit { position:absolute; border: 2px solid color-mix(in srgb, var(--green) 32%, transparent); border-radius: 50%; opacity:.7; }
    .orbit.one { width: 500px; height: 315px; transform: rotate(-16deg); border-style: dashed; animation: spin 18s linear infinite; }
    .orbit.two { width: 440px; height: 420px; transform: rotate(36deg); animation: spin 28s linear infinite reverse; opacity:.35; }
    .dot { position:absolute; width: 12px; height: 12px; border-radius:50%; background: var(--cyan); box-shadow: 0 0 22px var(--cyan); }
    .dot.d1 { right: 17%; top: 13%; } .dot.d2 { left: 12%; top: 22%; background: var(--green); } .dot.d3 { right: 20%; bottom: 19%; background: var(--amber); }
    .telemetry { position:absolute; left:26px; right:26px; bottom:24px; z-index:4; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
    .telemetry span { padding:10px 12px; border-radius:14px; background:rgba(0,0,0,.18); border:1px solid var(--line); color:var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size:.72rem; text-align:center; }

    /* Single hero crab: rounded-square robotic corpus, lowered pincers */
    .crab-svg { position: relative; z-index: 3; width: min(455px, 88%); height: auto; overflow: visible; filter: drop-shadow(0 0 45px color-mix(in srgb, var(--green) 24%, transparent)); animation: floaty 5.3s ease-in-out infinite; }
    .crab-body { fill: var(--green); fill-opacity: .36; stroke: color-mix(in srgb, var(--green) 82%, white 12%); stroke-width: 4; }
    :root[data-theme="light"] .crab-body { fill-opacity: .22; }
    .crab-panel-lines { stroke: color-mix(in srgb, var(--cyan) 56%, transparent); stroke-width: 2.2; stroke-linecap: round; fill: none; opacity: .8; }
    .crab-arm, .crab-leg, .crab-stalk { stroke: color-mix(in srgb, var(--green) 72%, var(--cyan) 10%); stroke-linecap: round; stroke-linejoin: round; fill: none; filter: drop-shadow(0 0 9px color-mix(in srgb, var(--green) 18%, transparent)); }
    .crab-arm { stroke-width: 12; }
    .crab-leg { stroke-width: 9; opacity: .9; }
    .crab-stalk { stroke-width: 8; opacity: .92; }
    .crab-claw { fill: color-mix(in srgb, var(--green) 42%, var(--surface-strong)); stroke: color-mix(in srgb, var(--green) 68%, white 8%); stroke-width: 4; }
    .crab-claw-cut { stroke: color-mix(in srgb, var(--ink) 60%, transparent); stroke-width: 3; stroke-linecap: round; fill: none; opacity: .72; }
    .crab-eye-white { fill: #fafffb; stroke: color-mix(in srgb, var(--cyan) 55%, transparent); stroke-width: 2.5; }
    .crab-pupil { fill: #020806; }
    .crab-eye-shine { fill: #fafffb; opacity: .9; }
    .crab-chip { fill: color-mix(in srgb, var(--cyan) 13%, var(--surface-strong)); stroke: color-mix(in srgb, var(--cyan) 62%, transparent); stroke-width: 2; }
    .crab-chip-line { stroke: color-mix(in srgb, var(--cyan) 70%, transparent); stroke-width: 2; stroke-linecap: round; }
    .crab-cheek { fill: var(--rose); opacity: .30; }
    .crab-smile { stroke: #020806; stroke-width: 4; stroke-linecap: round; fill: none; opacity: .78; }

    section { padding: 88px 0; }
    .section-head { max-width: 820px; margin-bottom: 42px; }
    .section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
    h2 { margin: 16px 0 18px; font-size: clamp(2.1rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.06em; }
    .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
    .card::before { content:""; position:absolute; right:-60px; top:-60px; width:160px; height:160px; border-radius:50%; background: radial-gradient(circle, color-mix(in srgb, var(--green) 14%, transparent), transparent 70%); }
    .card h3 { position:relative; margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -.03em; }
    .card p { position:relative; margin: 0; }
    .card ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
    .icon { position:relative; width: 54px; height: 54px; border-radius: 18px; display:grid; place-items:center; margin-bottom:18px; border:1px solid var(--line-strong); color:var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); font-weight:950; }
    .split { display:grid; grid-template-columns: .92fr 1.08fr; gap: 42px; align-items:center; }
    .panel { padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
    .panel-list { margin: 24px 0 0; padding:0; display:grid; gap: 13px; list-style: none; }
    .panel-list li { color: var(--muted); padding-left: 26px; position: relative; line-height: 1.55; }
    .panel-list li::before { content:""; position:absolute; left:0; top:.62em; width: 9px; height: 9px; border-radius:50%; background: var(--green); box-shadow:0 0 14px var(--green); }
    .features { display:grid; gap: 14px; }
    .feature { display:grid; grid-template-columns: 72px 1fr; gap: 18px; align-items:start; padding: 24px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); }
    .feature-number { width: 54px; height:54px; border-radius: 18px; display:grid; place-items:center; color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); border:1px solid var(--line-strong); font-weight:950; }
    .feature h3 { margin:0 0 8px; } .feature p { margin:0; }
    .how-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items:start; }
    .pipeline { display:grid; gap: 14px; }
    .step { padding: 22px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
    .step span { display:inline-grid; place-items:center; width: 38px; height: 38px; border-radius: 14px; margin-bottom: 12px; background: color-mix(in srgb, var(--green) 12%, transparent); color: var(--green); border:1px solid var(--line-strong); font-weight:950; }
    .step strong { display:block; margin-bottom:6px; font-size:1.08rem; }
    .step p { margin:0; }
    .cta { padding-bottom: 110px; }
    .cta-box { padding: 44px; border-radius: 42px; border: 1px solid var(--line-strong); background: linear-gradient(135deg, color-mix(in srgb, var(--green) 14%, transparent), color-mix(in srgb, var(--cyan) 10%, transparent)), var(--surface); box-shadow: var(--shadow); text-align:center; }
    footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); }
    .footer-inner { display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; }
    @keyframes spin { to { transform: rotate(344deg); } }
    @keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
    @keyframes shyBlink { 0%, 91%, 100% { transform: scaleY(1); } 94%, 96% { transform: scaleY(.12); } }
    @keyframes shyPupil { 0%, 91%, 100% { opacity: 1; } 94%, 96% { opacity: 0; } }
    @media (max-width: 980px) {
      .nav-links, .nav-cta { display:none; }
      .menu-toggle { display:grid; }
      .hero-grid, .split, .how-grid { grid-template-columns:1fr; }
      .stats, .cards { grid-template-columns:1fr; }
      .arena { min-height: 500px; }
    }
    @media (max-width: 560px) {
      .container { width:min(100% - 28px, 1180px); }
      .nav { height:74px; }
      .brand-mark { width:58px; height:40px; }
      .brand-text span { display:none; }
      h1 { font-size: clamp(2.8rem, 18vw, 4rem); }
      section { padding: 68px 0; }
      .telemetry { grid-template-columns:1fr; }
    }

.mission-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.mission-card { position:relative; overflow:hidden; min-height:310px; padding:28px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); }
.mission-card::before { content: attr(data-symbol); position:absolute; right:20px; top:14px; font-size:4rem; opacity:.12; }
.mission-card .tag { display:inline-flex; margin-bottom:18px; padding:7px 11px; border-radius:999px; color:var(--green); background:color-mix(in srgb, var(--green) 10%, transparent); border:1px solid var(--line-strong); font-size:.75rem; font-weight:950; text-transform:uppercase; letter-spacing:.09em; }
.mission-card h3 { margin:0 0 12px; font-size:1.32rem; letter-spacing:-.035em; }
.mission-card p { margin:0 0 18px; }
.mission-card small { color:var(--muted); line-height:1.55; display:block; }
@media (max-width: 980px) { .mission-grid { grid-template-columns:1fr; } }


/* Responsive hardening: mobile-first overrides and overflow guards */
img, svg { max-width: 100%; }
html, body { width: 100%; max-width: 100%; }
body { -webkit-text-size-adjust: 100%; }
.nav, .hero-grid, .split, .how-grid, .cards, .mission-grid, .stats, .features, .pipeline { min-width: 0; }
.brand, .brand-text, .nav-links, .actions { min-width: 0; }
.nav { min-width: 0; }
.brand { max-width: min(46vw, 310px); overflow: hidden; }
.brand-text { min-width: 0; }
.brand-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn { white-space: nowrap; }

/* Four mission cards read better as a 2x2 technical grid on desktop. */
.mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1120px) {
  .container { width: min(100% - 34px, 1180px); }
  .nav { gap: 14px; }
  .nav-links { gap: 16px; font-size: .88rem; }
  .brand-mark { width: 58px; height: 40px; }
  .brand-mark::before { left: 18px; }
  .brand-mark::after { right: 18px; }
  .logo-pupil-left { left: 21px; }
  .logo-pupil-right { right: 20px; }
  .brand-text span { display: none; }
  .hero-grid { gap: 40px; }
  .arena { min-height: 540px; }
}

@media (max-width: 980px) {
  .nav-shell { position: sticky; }
  .nav { height: 76px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: grid; }
  .hero { min-height: auto; padding: 54px 0 58px; }
  .hero-grid, .split, .how-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-grid > div:first-child { order: 1; }
  .arena { order: 2; min-height: 520px; border-radius: 38px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-card { min-height: auto; }
  .section-head.center { text-align: left; margin-left: 0; margin-right: 0; }
  .mobile-panel { border-top: 1px solid var(--line); background: var(--header); backdrop-filter: blur(22px); }
  .mobile-panel.open { display: block; }
  .mobile-links { padding-top: 18px; }
  .mobile-links a { padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--line); }
  .mobile-links a:hover { color: var(--green); border-color: var(--line-strong); }
  .mobile-lang a { border-color: var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
}

@media (max-width: 760px) {
  .language-switcher { display: none; }
  .brand { max-width: calc(100vw - 160px); }
  h1 { font-size: clamp(2.65rem, 14.5vw, 4.45rem); line-height: .93; letter-spacing: -.065em; }
  h2 { font-size: clamp(2rem, 10vw, 3.3rem); letter-spacing: -.05em; }
  .lead { font-size: 1.02rem; }
  .hero-actions { gap: 10px; }
  .stats { grid-template-columns: 1fr; }
  .arena { min-height: 480px; border-radius: 34px; }
  .arena::before { inset: 14px; border-radius: 26px; }
  .orbit.one { width: 410px; height: 260px; }
  .orbit.two { width: 350px; height: 340px; }
  .crab-svg { width: min(390px, 86vw); transform-origin: 50% 48%; }
  .telemetry { left: 16px; right: 16px; bottom: 16px; grid-template-columns: 1fr; }
  .telemetry span { padding: 8px 10px; font-size: .68rem; }
  .panel, .card, .mission-card, .step, .cta-box { border-radius: 24px; }
  .panel, .cta-box { padding: 26px; }
  .feature { grid-template-columns: 1fr; gap: 12px; }
  section { padding: 70px 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 26px, 1180px); }
  .nav { height: 70px; gap: 10px; }
  .brand { gap: 10px; max-width: calc(100vw - 132px); }
  .brand-mark { width: 52px; height: 36px; }
  .brand-mark::before, .brand-mark::after { top: 12px; width: 8px; height: 11px; }
  .brand-mark::before { left: 16px; }
  .brand-mark::after { right: 16px; }
  .logo-pupil-left, .logo-pupil-right { top: 16px; width: 3px; height: 3px; }
  .logo-pupil-left { left: 19px; }
  .logo-pupil-right { right: 18px; }
  .logo-smile { bottom: 7px; }
  .logo-blush { top: 24px; }
  .brand-text strong { font-size: 1.05rem; letter-spacing: -.035em; }
  .theme-toggle, .menu-toggle { width: 42px; height: 42px; }
  .hero { padding: 42px 0 52px; }
  .eyebrow, .kicker { font-size: .68rem; letter-spacing: .09em; padding: 7px 10px; }
  h1 { margin-bottom: 20px; }
  .hero-actions .btn { width: 100%; }
  .btn { min-height: 46px; padding: 0 18px; }
  .arena { min-height: 430px; }
  .crab-svg { width: min(330px, 84vw); margin-top: -24px; }
  .crab-arm { stroke-width: 10; }
  .crab-leg { stroke-width: 8; }
  .crab-stalk { stroke-width: 7; }
  .crab-claw { stroke-width: 3.4; }
  .telemetry { bottom: 12px; gap: 7px; }
  .telemetry span:nth-child(n+3) { display: none; }
  .mission-card::before { font-size: 3.2rem; right: 14px; top: 10px; }
  .footer-inner { display: grid; gap: 8px; }
}

@media (max-width: 390px) {
  .container { width: min(100% - 20px, 1180px); }
  .brand-mark { width: 48px; height: 34px; }
  .brand-text strong { font-size: .96rem; }
  .theme-toggle, .menu-toggle { width: 40px; height: 40px; }
  .actions { gap: 6px; }
  .arena { min-height: 390px; }
  .crab-svg { width: min(300px, 86vw); margin-top: -28px; }
  .telemetry span:nth-child(n+2) { display: none; }
  .card, .mission-card, .panel, .step, .cta-box { padding: 22px; }
}

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