/* Grace Apps Private Limited — graceapps.in
   Design tokens first; never hard-code a colour in a component. */

:root {
  --bg: #08080f;
  --bg-raise: #0c0c15;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.07);

  --text: #eceafd;
  --text-2: #b3afd0;
  --muted: #a6a2c4;
  --dim: #6f6a90;
  --dim-2: #4f4b68;

  --violet: #a78bfa;
  --violet-2: #c4b5fd;
  --violet-deep: #7c5cff;
  --cyan: #67e8f9;
  --cyan-deep: #22d3ee;
  --amber: #ffd166;
  --rose: #fb7185;

  --grad: linear-gradient(135deg, var(--violet-deep), var(--cyan-deep));

  --font-display: 'Sora', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --pad-x: clamp(20px, 5vw, 64px);
  --maxw: 1440px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-pill: 999px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-2); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--violet); color: var(--bg); padding: 12px 20px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip:focus { left: 0; color: var(--bg); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- atmosphere ---------- */
.aurora { position: relative; background:
  radial-gradient(900px 520px at 22% 0%, rgba(109, 74, 255, .30), transparent 62%),
  radial-gradient(760px 460px at 82% 12%, rgba(34, 211, 238, .18), transparent 60%),
  radial-gradient(600px 380px at 55% 46%, rgba(236, 72, 153, .10), transparent 65%); }
.aurora-sm { position: relative; background:
  radial-gradient(900px 400px at 25% 0%, rgba(109, 74, 255, .24), transparent 64%),
  radial-gradient(700px 360px at 80% 6%, rgba(34, 211, 238, .13), transparent 62%); }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--border-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 16.5px; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand svg { flex: none; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: 14.5px; font-weight: 500; }
.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { background: var(--grad); color: var(--bg) !important; padding: 10px 20px; border-radius: var(--r-pill); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-raise); border-bottom: 1px solid var(--border); padding: 8px var(--pad-x) 20px;
  }
  .nav-links[hidden] { display: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border-soft); font-size: 16px; }
  .nav-cta { text-align: center; margin-top: 16px; border-bottom: none !important; }
}

/* ---------- type ---------- */
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin: 0; }
.eyebrow-dim { color: var(--dim); }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(167, 139, 250, .35); background: rgba(124, 92, 255, .10);
  font-size: 13px; font-weight: 600; color: var(--violet-2);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.035em; }
.h-xl { font-size: clamp(38px, 6.4vw, 82px); font-weight: 700; line-height: 1.0; letter-spacing: -.045em; text-wrap: pretty; }
.h-lg { font-size: clamp(32px, 5vw, 64px); font-weight: 700; line-height: 1.03; letter-spacing: -.04em; text-wrap: pretty; }
.h-md { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
.h-sm { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.03em; }
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--muted); }
.grad-text { background: linear-gradient(120deg, var(--violet) 0%, var(--cyan-deep) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border-radius: var(--r-pill); font-weight: 700; font-size: 15.5px; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--grad); color: var(--bg); }
.btn-primary:hover { color: var(--bg); filter: brightness(1.08); }
.btn-ghost { border-color: rgba(255, 255, 255, .16); background: var(--surface); color: var(--text); font-weight: 600; }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-outline { border-color: var(--violet); color: var(--violet); font-weight: 600; background: none; }
.btn-sm { padding: 12px 22px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 13px; }

/* ---------- sections ---------- */
.section { padding-top: clamp(56px, 7vw, 84px); padding-bottom: clamp(56px, 7vw, 84px); }
.section-tight { padding-top: clamp(44px, 5vw, 68px); padding-bottom: clamp(44px, 5vw, 68px); }
.rule-top { border-top: 1px solid var(--border-soft); }
.stack { display: flex; flex-direction: column; }
.gap-sm { gap: 12px; } .gap-md { gap: 20px; } .gap-lg { gap: 30px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: clamp(56px, 8vw, 88px); }
.hero .lede { max-width: 640px; }
.hero-note { font-size: 14px; color: var(--dim); }

/* ---------- phone mockups ---------- */
.phones { display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 2.4vw, 30px); padding: clamp(40px, 5vw, 60px) 0 clamp(56px, 7vw, 84px); }
.phone { border-radius: 34px; padding: 7px; background: linear-gradient(165deg, #33334d, #14141f); box-shadow: 0 34px 70px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,.07); flex: none; }
.phone > .scr { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; }
.phone-s { width: 216px; height: 442px; }
.phone-l { width: 268px; height: 548px; border-radius: 42px; padding: 8px; box-shadow: 0 44px 96px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.09), 0 0 90px rgba(124,92,255,.28); }
.phone-l > .scr { border-radius: 35px; }
.tilt-l { transform: rotate(-7deg); }
.tilt-r { transform: rotate(7deg); }
@media (max-width: 900px) { .phones .phone-s { display: none; } }
@media (max-width: 420px) { .phone-l { width: 232px; height: 474px; } }

.scr { display: flex; flex-direction: column; }
.scr-grace { background: linear-gradient(180deg, #123b4d 0%, #1d2450 55%, #2b1f4a 100%); align-items: center; justify-content: center; gap: 30px; }
.ring { border-radius: 50%; border: 1px solid rgba(140, 230, 240, .24); display: flex; align-items: center; justify-content: center; }
.ring-1 { width: 168px; height: 168px; }
.ring-2 { width: 124px; height: 124px; border-color: rgba(140, 230, 240, .34); }
.orb { width: 82px; height: 82px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(160,245,255,.9), rgba(90,190,220,.45) 60%, rgba(70,150,200,.2)); box-shadow: 0 0 42px rgba(120,220,240,.5); }
.scr-cap { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.scr-cap b { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #e8f7fb; letter-spacing: -.01em; }
.scr-cap span { font-size: 13px; color: rgba(232,247,251,.55); letter-spacing: .1em; }
.dots { display: flex; gap: 6px; }
.dots i { width: 7px; height: 3px; border-radius: 2px; background: rgba(232,247,251,.28); }
.dots i.on { width: 18px; background: rgba(232,247,251,.85); }

.scr-bap { background: #fdf6ec; gap: 9px; padding: 22px 15px; position: relative; }
.scr-bap .t { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #3b2f27; letter-spacing: -.02em; }
.scr-bap .task { height: 46px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(90,63,40,.09); }
.bap { position: absolute; right: 16px; bottom: 18px; width: 62px; height: 62px; border-radius: 50%; background: #f2b544; display: flex; align-items: center; justify-content: center; gap: 9px; box-shadow: 0 6px 16px rgba(200,140,30,.4); }
.bap i { width: 8px; height: 11px; border-radius: 50%; background: #3b2f27; }

.scr-hb { background: #fff; gap: 14px; padding: 22px 15px; }
.scr-hb .c { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: #94a3b8; }
.scr-hb .read { display: flex; align-items: baseline; gap: 5px; }
.scr-hb .read b { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: #0f172a; letter-spacing: -.04em; }
.scr-hb .read span { font-size: 19px; color: #94a3b8; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 84px; }
.bars i { flex: 1; border-radius: 3px; background: #e2e8f0; }
.bars i.hot { background: #f43f5e; }
.scr-hb .rows { display: flex; flex-direction: column; gap: 7px; }
.scr-hb .rows div { height: 30px; border-radius: 8px; background: #f1f5f9; }

/* ---------- platform strip ---------- */
.strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: rgba(255,255,255,.02); }
.strip .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.strip .lbl { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.strip ul { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.2vw, 32px); list-style: none; margin: 0; padding: 0; flex: 1; font-size: 14px; font-weight: 500; color: #cbc8e4; }
.strip .tech { font-size: 13.5px; color: var(--dim); }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.chip i { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.chip-dev { border: 1px solid rgba(255,209,102,.32); background: rgba(255,209,102,.10); color: var(--amber); }
.chip-dev i { background: var(--amber); }
.chip-beta { border: 1px solid rgba(103,232,249,.32); background: rgba(103,232,249,.10); color: var(--cyan); }
.chip-beta i { background: var(--cyan); }
.chip-live { border: 1px solid rgba(134,239,172,.28); background: rgba(134,239,172,.08); color: #86efac; }
.chip-live i { background: #86efac; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.g-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-4 { grid-column: span 4; } .sp-5 { grid-column: span 5; } .sp-7 { grid-column: span 7; }
.sp-3 { grid-column: span 3; } .sp-6 { grid-column: span 6; }
.sp-8 { grid-column: span 8; } .sp-9 { grid-column: span 9; } .sp-12 { grid-column: span 12; }

.card { border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.card-quiet { background: none; border-color: var(--border-soft); border-radius: 20px; }
.card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex: none; }
.tile-bap { background: #f2b544; gap: 7px; }
.tile-bap i { width: 7px; height: 10px; border-radius: 50%; background: #3b2f27; }
.tile-rose { background: rgba(244,63,94,.15); border: 1px solid rgba(244,63,94,.3); }
.tile-violet { background: rgba(167,139,250,.15); border: 1px solid rgba(167,139,250,.3); }
.tile-cyan { background: rgba(34,211,238,.13); border: 1px solid rgba(34,211,238,.28); }
.tile-grid { background: rgba(255,255,255,.07); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; padding: 11px; }
.tile-grid span { border-radius: 3px; background: rgba(255,255,255,.25); }
.tile-grid span.a { background: var(--violet); } .tile-grid span.b { background: var(--cyan); }
.meta { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.meta-cyan { color: var(--cyan); } .meta-rose { color: var(--rose); } .meta-amber { color: #f2b544; } .meta-dim { color: var(--dim); }

.flagship { grid-column: span 7; display: flex; align-items: center; gap: 34px; padding: 34px; border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(150deg, rgba(29,36,80,.7), rgba(18,59,77,.45)); }
.flagship-orb { width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(140,230,240,.3); display: flex; align-items: center; justify-content: center; flex: none; }
.flagship-orb .orb { width: 92px; height: 92px; }

.notify { display: flex; gap: 9px; flex-wrap: wrap; }
.notify input[type="email"] { flex: 1 1 200px; min-width: 0; padding: 12px 18px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.14); background: var(--surface); color: var(--text); font-family: inherit; font-size: 14px; }
.notify input::placeholder { color: var(--dim); }
.notify button { background: rgba(255,255,255,.92); color: var(--bg); border: none; padding: 12px 22px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; white-space: nowrap; }

.wide-card { grid-column: span 12; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 26px 34px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.wide-card .l { display: flex; align-items: center; gap: 22px; }
.wide-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.wide-card .r { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.wide-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- app detail rows ---------- */
.app-row { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 44px; align-items: center; padding: clamp(36px, 4vw, 56px) 0; border-bottom: 1px solid var(--border-soft); }
.app-row .shot { grid-column: span 4; display: flex; justify-content: center; }
.app-row .body { grid-column: span 8; display: flex; flex-direction: column; gap: 16px; }
.app-row h2 { font-size: clamp(30px, 4vw, 42px); }
.app-row p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text-2); max-width: 660px; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; padding-top: 6px; }
.specs div { display: flex; flex-direction: column; gap: 5px; }
.specs dt, .specs .k { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); }
.specs dd, .specs .v { margin: 0; font-size: 14.5px; color: #cbc8e4; }

/* ---------- definition rows ---------- */
.rows-list { display: flex; flex-direction: column; }
.row-item { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 24px 0; border-top: 1px solid var(--border-soft); }
.row-item:last-child { border-bottom: 1px solid var(--border-soft); }
.row-item h3 { font-size: 19px; font-weight: 600; }
.row-item p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.row-num { display: grid; grid-template-columns: 60px 200px 1fr; gap: 24px; align-items: start; padding: 26px 0; border-top: 1px solid var(--border-soft); }
.row-num:last-child { border-bottom: 1px solid var(--border-soft); }
.row-num .n { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--violet); }
.row-num h3 { font-size: 17.5px; font-weight: 600; }
.row-num p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: clamp(36px, 4vw, 52px) clamp(24px, 3vw, 48px); border-radius: 26px;
  border: 1px solid rgba(167,139,250,.28);
  background: radial-gradient(700px 300px at 15% 0%, rgba(124,92,255,.28), transparent 70%), var(--surface);
  position: relative;
}
.cta-band .t { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.15; }
.cta-band p { margin: 0; font-size: 16.5px; color: var(--muted); line-height: 1.6; }

/* ---------- forms ---------- */
.form-card { border: 1px solid var(--border); background: var(--surface); border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.13);
  background: var(--surface); color: var(--text); font-family: inherit; font-size: 14.5px; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim-2); }
.field-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.checks { display: flex; gap: 8px; flex-wrap: wrap; }
.checks label {
  padding: 8px 15px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.13);
  font-size: 13.5px; font-weight: 500; color: #8b87a8; cursor: pointer;
}
.checks input { position: absolute; opacity: 0; width: 0; height: 0; }
.checks input:checked + span, .checks label:has(input:checked) { color: var(--violet-2); }
.checks label:has(input:checked) { border-color: rgba(167,139,250,.45); background: rgba(124,92,255,.14); font-weight: 600; }
.checks label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-foot .note { font-size: 13px; color: var(--dim); }
.hp { position: absolute; left: -9999px; }

/* ---------- support ---------- */
.contact-card {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3vw, 38px); border-radius: 24px;
  border: 1px solid rgba(167,139,250,.28);
  background: radial-gradient(500px 260px at 20% 0%, rgba(124,92,255,.22), transparent 70%), var(--surface);
}
.contact-card .addr { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; word-break: break-word; }
.help-row { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; padding: 22px 0; border-top: 1px solid var(--border-soft); }
.help-row:last-child { border-bottom: 1px solid var(--border-soft); }
.help-row h3 { font-size: 17px; font-weight: 600; }
.help-row p { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.status-row { display: grid; grid-template-columns: 1fr 190px 200px; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--border-soft); }
.status-row:last-child { border-bottom: 1px solid var(--border-soft); }
.status-row h3 { font-size: 17.5px; font-weight: 600; }
.status-row .p { font-size: 14px; color: var(--dim); }
.faq { display: flex; flex-direction: column; gap: 9px; padding: 24px 0; border-top: 1px solid var(--border-soft); }
.faq:last-child { border-bottom: 1px solid var(--border-soft); }
.faq h3 { font-size: 18px; font-weight: 600; }
.faq p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---------- legal ---------- */
.legal-layout { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 48px; }
.toc { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; padding-top: 40px; position: sticky; top: 24px; align-self: start; }
.toc .k { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-bottom: 6px; }
.toc a { font-size: 14.5px; color: var(--muted); }
.toc a:hover { color: var(--violet-2); }
.legal { grid-column: span 9; max-width: 780px; }
.legal section { padding: 34px 0; border-top: 1px solid var(--border-soft); scroll-margin-top: 24px; }
.legal section:first-child { border-top: none; padding-top: 40px; }
.legal h2 { font-size: 26px; font-weight: 700; margin: 0 0 14px; }
.legal h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 24px 0 8px; }
.legal p { margin: 0 0 14px; font-size: 16px; line-height: 1.72; color: var(--text-2); }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { font-size: 16px; line-height: 1.72; color: var(--text-2); margin-bottom: 9px; }
.legal strong { color: var(--text); font-weight: 600; }
.dates { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: var(--dim); padding-top: 4px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 40px; padding-top: 52px; padding-bottom: 30px; }
.foot-grid .col-a { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; }
.foot-grid .col-b { grid-column: span 2; display: flex; flex-direction: column; gap: 11px; }
.foot-grid .col-d { grid-column: span 4; display: flex; flex-direction: column; gap: 11px; }
.foot-grid .k { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-grid a { font-size: 14.5px; color: var(--muted); }
.foot-grid a:hover { color: var(--text); }
.foot-legal { font-size: 14.5px; line-height: 1.7; color: var(--dim); font-style: normal; }
.foot-contact { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.foot-contact a { font-size: 16.5px; }
.foot-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 30px; font-size: 13.5px; color: var(--dim-2); }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .flagship, .sp-5, .sp-4, .sp-7, .sp-8, .sp-9 { grid-column: span 12; }
  .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .app-row { gap: 28px; }
  .app-row .shot, .app-row .body { grid-column: span 12; }
  .legal-layout { gap: 28px; }
  .toc { grid-column: span 12; position: static; padding-top: 24px; }
  .toc { display: none; }
  .legal { grid-column: span 12; }
  .foot-grid .col-a, .foot-grid .col-d { grid-column: span 6; }
  .foot-grid .col-b { grid-column: span 3; }
}
@media (max-width: 760px) {
  .g-3, .g-2, .field-2, .specs { grid-template-columns: 1fr; }
  /* Collapse every 12-column grid AND its spans. Leaving the 12 tracks in
     place makes 11 gaps (484px at 44px) the minimum width, which overflows a
     phone; and a `span 12` child on a 1-track grid would create 11 implicit
     columns, so the spans have to be reset in the same breakpoint. */
  .g-12, .app-row, .foot-grid, .legal-layout { grid-template-columns: 1fr; }
  .sp-3, .sp-4, .sp-5, .sp-6, .sp-7, .sp-8, .sp-9, .sp-12, .flagship, .wide-card,
  .app-row .shot, .app-row .body, .toc, .legal,
  .foot-grid .col-a, .foot-grid .col-b, .foot-grid .col-d { grid-column: auto; }
  .g-12, .app-row { gap: 28px; }
  .row-item { grid-template-columns: 1fr; gap: 8px; }
  .row-num { grid-template-columns: 40px 1fr; gap: 14px; }
  .row-num h3 { grid-column: 2; }
  .row-num p { grid-column: 2; }
  .status-row { grid-template-columns: 1fr; gap: 8px; }
  .flagship { flex-direction: column; align-items: flex-start; gap: 24px; }
  .wide-card { flex-direction: column; align-items: flex-start; }
  .foot-grid { gap: 30px; }
  .foot-grid .col-a, .foot-grid .col-b, .foot-grid .col-d { grid-column: span 12; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .notify button { width: 100%; }
}
