/* ============================================================================
   Anvil — marketing site
   Brand palette from the product (docs/assets, mermaid diagrams):
     ink #2F2739 · ink-2 #3D3645 · copper #D39450 · slate #635F6A · paper #F0F6FC
   App-mockup tokens mirror the real web client's dark theme (anvild/web app.css).
   ============================================================================ */

:root {
  --ink:      #221c2b;
  --ink-1:    #2f2739;
  --ink-2:    #3d3645;
  --slate:    #635f6a;
  --copper:   #d39450;
  --copper-2: #e6a862;
  --copper-3: #b97a37;
  --paper:    #f0f6fc;
  --muted:    #b3adbd;
  --muted-2:  #8b8494;
  --line:     rgba(240, 246, 252, 0.10);
  --line-2:   rgba(240, 246, 252, 0.16);
  --card:     rgba(240, 246, 252, 0.028);
  --card-2:   rgba(240, 246, 252, 0.05);
  --good:     #56b877;

  /* real app dark-theme tokens — used inside device mockups */
  --a-bg:     #1a1b1e;
  --a-panel:  #222428;
  --a-border: #34373c;
  --a-text:   #e6e7e9;
  --a-muted:  #9aa0a6;
  --a-accent: #6b9bff;
  --a-user:   #2a3350;
  --a-tool:   #2a2c30;
  --a-code:   #24292e;
  --a-merged: #a371f7;
  --a-good:   #3fb950;

  --maxw: 1140px;
  --radius: 16px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* soft brand glow behind the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(211, 148, 80, 0.20), transparent 60%),
    radial-gradient(900px 600px at 8% 4%, rgba(99, 95, 106, 0.28), transparent 55%),
    linear-gradient(180deg, #241d2e 0%, var(--ink) 40%);
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: clamp(64px, 9vw, 120px) 0; }

.material-symbols-rounded { font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }

/* ---- eyebrow + section headings ---------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--copper-2);
}
.eyebrow .material-symbols-rounded { font-size: 18px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 0.96rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .material-symbols-rounded { font-size: 20px; }
.btn-primary { background: var(--copper); color: #241a0d; box-shadow: 0 8px 24px rgba(211,148,80,.28); }
.btn-primary:hover { background: var(--copper-2); transform: translateY(-2px); }
.btn-ghost { background: rgba(240,246,252,.05); color: var(--paper); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(240,246,252,.1); transform: translateY(-2px); }

/* ---- top nav ------------------------------------------------------------ */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(12px);
  background: rgba(34, 28, 43, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--muted); font-size: 0.94rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--paper); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* ---- hero --------------------------------------------------------------- */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.hero h1 .accent { color: var(--copper-2); }
.hero-sub { color: var(--muted); font-size: 1.18rem; margin-top: 22px; max-width: 40ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; color: var(--muted-2); font-size: 0.88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .material-symbols-rounded { font-size: 17px; color: var(--copper); }

.hero-visual { position: relative; }

/* ---- trust strip -------------------------------------------------------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; color: var(--muted); font-size: 0.92rem; }
.trust-inner b { color: var(--paper); font-weight: 600; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; }
.trust-item .material-symbols-rounded { font-size: 20px; color: var(--copper-2); }

/* ============================================================================
   Device frames + app mockup (faithful to the real dark UI)
   ============================================================================ */
.browser {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--a-border);
  background: var(--a-bg);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 2px 0 rgba(255,255,255,.03) inset;
}
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #17181b; border-bottom: 1px solid var(--a-border); }
.lights { display: flex; gap: 7px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.lights i:nth-child(1) { background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.url { flex: 1; background: #101114; border: 1px solid var(--a-border); border-radius: 7px; color: var(--a-muted); font-size: 0.76rem; font-family: var(--mono); padding: 5px 12px; display: flex; align-items: center; gap: 7px; }
.url .material-symbols-rounded { font-size: 13px; color: var(--a-good); }

/* the app itself */
.app { display: grid; grid-template-columns: 190px 1fr; height: 460px; color: var(--a-text); font-size: 13px; }
.app-side { background: var(--a-panel); border-right: 1px solid var(--a-border); padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.app-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 4px 6px 10px; }
.app-brand img { width: 20px; height: 20px; }
.app-brand small { color: var(--a-muted); font-weight: 500; font-size: 10px; }
.s-item { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; color: var(--a-text); min-width: 0; }
.s-item .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.s-item .s-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-item small { color: var(--a-muted); font-size: 10.5px; display: block; }
.s-item.active { background: rgba(107,155,255,.14); box-shadow: inset 2px 0 0 var(--a-accent); }
.s-item .material-symbols-rounded { font-size: 17px; color: var(--a-muted); }
.s-sep { margin-top: auto; }
.app-foot { display: flex; align-items: center; gap: 9px; padding: 9px; border-radius: 9px; color: var(--a-muted); }
.app-foot .material-symbols-rounded { font-size: 17px; }

.app-main { display: flex; flex-direction: column; min-width: 0; background: var(--a-bg); }
.app-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--a-border); }
.app-head .conn { width: 8px; height: 8px; border-radius: 50%; background: var(--a-good); }
.app-head .title { font-weight: 600; }
.app-head .chip { font-size: 10.5px; color: var(--a-muted); border: 1px solid var(--a-border); border-radius: 20px; padding: 2px 9px; display: inline-flex; align-items: center; gap: 5px; }
.app-head .chip .material-symbols-rounded { font-size: 13px; }
.app-head .grow { flex: 1; }
.app-head .hicon { color: var(--a-muted); }
.app-head .hicon .material-symbols-rounded { font-size: 18px; }

.app-conv { flex: 1; overflow: hidden; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 13px; }
.bubble { max-width: 82%; padding: 10px 13px; border-radius: 13px; font-size: 12.5px; }
.bubble.user { align-self: flex-end; background: var(--a-user); border-bottom-right-radius: 4px; }
.bubble.asst { align-self: flex-start; background: transparent; padding: 0; max-width: 92%; }
.bubble.asst p { margin: 0 0 7px; }
.bubble.asst code { background: var(--a-code); padding: 1px 5px; border-radius: 5px; font-family: var(--mono); font-size: 11.5px; }
.toolcard { border: 1px solid var(--a-border); background: var(--a-tool); border-radius: 10px; padding: 8px 11px; font-size: 12px; display: flex; align-items: center; gap: 9px; }
.toolcard .material-symbols-rounded { font-size: 16px; color: var(--a-accent); }
.toolcard code { font-family: var(--mono); font-size: 11px; color: var(--a-text); }
.toolcard .ok { margin-left: auto; color: var(--a-good); font-size: 15px; }
.codeblock { background: var(--a-code); border: 1px solid var(--a-border); border-radius: 10px; padding: 10px 12px; font-family: var(--mono); font-size: 11px; line-height: 1.65; overflow: hidden; }
.codeblock .k { color: #ff7b72; } .codeblock .s { color: #a5d6ff; } .codeblock .c { color: #8b949e; } .codeblock .f { color: #d2a8ff; }

/* a permission card inside the app */
.permcard { border: 1px solid rgba(211,148,80,.5); background: rgba(211,148,80,.09); border-radius: 12px; padding: 11px 13px; }
.permcard .ph { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; }
.permcard .ph .material-symbols-rounded { font-size: 17px; color: var(--copper-2); }
.permcard .pd { color: var(--a-muted); font-size: 11.5px; margin: 6px 0 10px; font-family: var(--mono); }
.permcard .pb { display: flex; gap: 8px; }
.permcard .pbtn { font-size: 11.5px; font-weight: 600; padding: 6px 13px; border-radius: 8px; border: 1px solid var(--a-border); }
.permcard .pbtn.allow { background: var(--a-accent); color: #06122e; border-color: transparent; }
.permcard .pbtn.deny { color: var(--a-muted); }

.app-composer { border-top: 1px solid var(--a-border); padding: 11px 14px; display: flex; align-items: center; gap: 10px; }
.app-composer .field { flex: 1; background: var(--a-panel); border: 1px solid var(--a-border); border-radius: 10px; padding: 9px 12px; color: var(--a-muted); font-size: 12px; }
.app-composer .pill { font-size: 10.5px; color: var(--a-muted); border: 1px solid var(--a-border); border-radius: 20px; padding: 4px 10px; display: inline-flex; gap: 5px; align-items: center; }
.app-composer .send { width: 32px; height: 32px; border-radius: 9px; background: var(--a-accent); color: #06122e; display: grid; place-items: center; }
.app-composer .send .material-symbols-rounded { font-size: 18px; }

/* phone frame (multi-device) */
.phone {
  position: absolute; right: -18px; bottom: -44px; width: 210px;
  border-radius: 30px; padding: 9px; background: #0d0e10;
  border: 1px solid #34373c;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.phone .notch { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 60px; height: 5px; border-radius: 3px; background: #34373c; z-index: 2; }
.phone-screen { border-radius: 23px; overflow: hidden; background: var(--a-bg); color: var(--a-text); }
.phone-head { display: flex; align-items: center; gap: 7px; padding: 22px 12px 10px; border-bottom: 1px solid var(--a-border); font-size: 11.5px; font-weight: 600; }
.phone-head .material-symbols-rounded { font-size: 15px; color: var(--a-muted); }
.phone-body { padding: 12px; display: flex; flex-direction: column; gap: 9px; min-height: 214px; }

/* ---- feature grid ------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.fcard:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.fic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(211,148,80,.13); color: var(--copper-2); margin-bottom: 16px; }
.fic .material-symbols-rounded { font-size: 24px; }
.fcard h3 { margin-bottom: 8px; }
.fcard p { color: var(--muted); font-size: 0.95rem; }

/* ---- split feature rows ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-body h2 { margin-bottom: 18px; }
.split-body > p { color: var(--muted); font-size: 1.06rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.checks .material-symbols-rounded { color: var(--copper-2); font-size: 21px; flex: none; margin-top: 1px; }
.checks b { font-weight: 600; }
.checks span { color: var(--muted); }

/* autopilot plan grid mock */
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ap-card { background: var(--a-panel); border: 1px solid var(--a-border); border-left: 3px solid var(--copper); border-radius: 12px; padding: 13px 14px; }
.ap-card.c2 { border-left-color: #6b9bff; } .ap-card.c3 { border-left-color: #56b877; } .ap-card.c4 { border-left-color: #a371f7; }
.ap-card .apt { font-weight: 600; font-size: 13px; color: var(--a-text); }
.ap-card .aps { color: var(--a-muted); font-size: 11.5px; margin-top: 5px; line-height: 1.5; }
.ap-card .apm { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.ap-badge { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 20px; letter-spacing: .02em; }
.ap-badge.planned { background: rgba(211,148,80,.16); color: var(--copper-2); }
.ap-badge.clarify { background: rgba(107,155,255,.16); color: var(--a-accent); }
.ap-badge.review { background: rgba(163,113,247,.18); color: var(--a-merged); }
.ap-badge.build { background: rgba(86,184,119,.16); color: var(--good); }
.ap-card .apx { color: var(--muted-2); font-size: 10.5px; margin-left: auto; }
.ap-frame { background: var(--a-bg); border: 1px solid var(--a-border); border-radius: 14px; padding: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.42); }
.ap-frame-head { display: flex; align-items: center; gap: 9px; font-weight: 600; margin-bottom: 14px; color: var(--a-text); }
.ap-frame-head .material-symbols-rounded { color: var(--copper); }
.ap-frame-head .spin { margin-left: auto; font-size: 15px; color: var(--copper-2); }

/* ---- pipeline diagram --------------------------------------------------- */
.pipe { display: flex; flex-direction: column; gap: 14px; }
.pipe-rail { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.pipe-step { flex: 1; min-width: 118px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px; position: relative; }
.pipe-step .n { font-size: 0.72rem; font-weight: 700; color: var(--copper-2); letter-spacing: .06em; }
.pipe-step h4 { margin: 5px 0 4px; font-size: 0.94rem; }
.pipe-step small { color: var(--muted); font-size: 0.8rem; }
.pipe-step .who { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.pipe-step .who.claude { background: rgba(211,148,80,.15); color: var(--copper-2); }
.pipe-step .who.glm { background: rgba(107,155,255,.15); color: var(--a-accent); }
.roles { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.role { flex: 1; min-width: 240px; border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--card); }
.role h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.role .tag { font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; }
.role.claude .tag { background: rgba(211,148,80,.16); color: var(--copper-2); }
.role.glm .tag { background: rgba(107,155,255,.16); color: var(--a-accent); }
.role p { color: var(--muted); font-size: 0.95rem; }

/* ---- architecture diagram (SVG holder) ---------------------------------- */
.arch { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 12px; }
.arch svg { width: 100%; height: auto; display: block; }

/* ---- security / platform cards ------------------------------------------ */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mini .fic { background: rgba(240,246,252,.06); color: var(--paper); }
.mini h3 { font-size: 1.05rem; margin-bottom: 8px; }
.mini p { color: var(--muted); font-size: 0.92rem; }

.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plat { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; transition: transform .18s, border-color .18s; }
.plat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plat .material-symbols-rounded { font-size: 34px; color: var(--copper-2); }
.plat h3 { font-size: 1rem; margin: 12px 0 6px; }
.plat p { color: var(--muted); font-size: 0.86rem; }
.plat .badge { display: inline-block; margin-top: 10px; font-size: .7rem; color: var(--muted-2); border: 1px solid var(--line); border-radius: 20px; padding: 2px 9px; }

/* ---- billing callout ---------------------------------------------------- */
.callout { border: 1px solid rgba(211,148,80,.32); background: linear-gradient(180deg, rgba(211,148,80,.09), rgba(211,148,80,.03)); border-radius: var(--radius); padding: 28px 30px; display: flex; gap: 18px; align-items: flex-start; }
.callout .material-symbols-rounded { font-size: 30px; color: var(--copper-2); flex: none; }
.callout h3 { margin-bottom: 8px; }
.callout p { color: var(--muted); font-size: 0.98rem; }

/* ---- get started -------------------------------------------------------- */
.start-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.term { background: #14151a; border: 1px solid var(--a-border); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-bottom: 1px solid var(--a-border); }
.term-bar .lights i { width: 11px; height: 11px; }
.term-bar span { color: var(--a-muted); font-size: 0.76rem; font-family: var(--mono); margin-left: 6px; }
.term pre { margin: 0; padding: 18px 18px 20px; font-family: var(--mono); font-size: 0.82rem; line-height: 1.85; color: #cdd3da; overflow-x: auto; }
.term .c { color: #6b7480; } .term .p { color: var(--copper-2); } .term .g { color: var(--a-good); } .term .cmd { color: #e6e7e9; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { counter-increment: s; display: flex; gap: 14px; }
.steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(211,148,80,.16); color: var(--copper-2); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 0.94rem; }

/* ---- final CTA ---------------------------------------------------------- */
.final { text-align: center; }
.final-card { border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(40px, 6vw, 72px); background: radial-gradient(700px 300px at 50% 0%, rgba(211,148,80,.14), transparent 70%), var(--card); }
.final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.final p { color: var(--muted); font-size: 1.1rem; margin: 16px auto 0; max-width: 52ch; }
.final .hero-cta { justify-content: center; margin-top: 30px; }

/* ---- footer ------------------------------------------------------------- */
footer.foot { border-top: 1px solid var(--line); padding: 54px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.foot h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--muted); font-size: 0.92rem; }
.foot a:hover { color: var(--paper); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.84rem; }

/* ---- reveal-on-scroll --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero-grid, .split, .split.reverse, .start-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .feature-grid, .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .phone { position: relative; right: 0; bottom: 0; margin: 26px auto 0; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 560px) {
  .feature-grid, .mini-grid, .ap-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 62px 1fr; }
  .app-side .s-item .s-txt, .app-brand small, .app-foot span:not(.material-symbols-rounded) { display: none; }
  .trust-inner { justify-content: flex-start; }
  .nav-cta .btn-ghost { display: none; }   /* keep only the primary CTA when space is tight */
  .nav-inner { gap: 12px; }
}
