/* ============================================================================
   SURAAG — Enterprise design system (2026-08 redesign)
   One stylesheet for every marketing page. Tokens first; nothing outside them.
   Scales: space 4px grid · type 12/13.5/15/17/20/25/31/39/49 · radius 6/10/14/20/999
   ========================================================================== */

:root {
  /* color */
  --navy: #0B1220;        /* dark ground */
  --navy-2: #101A32;      /* dark surface */
  --navy-3: #16224A;      /* dark raised */
  --edge: #223059;        /* dark hairline */
  --paper: #FFFFFF;
  --paper-2: #F5F7FB;
  --text: #101828;
  --text-2: #4A566E;
  --text-3: #7A879E;
  --line: #E4E8F1;
  --blue: #2F5DF5;        /* Suraag Blue — the one brand blue */
  --blue-d: #2348C7;
  --steel: #4E8CC7;
  --gold: #C9962E;
  --ok: #17A673;
  --attn: #D97C36;
  --crit: #D95349;
  --on-dark: #E7ECF9;
  --on-dim: #93A1C4;

  /* type */
  --disp: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* geometry */
  --r-sm: 6px; --r: 10px; --r-lg: 14px; --r-xl: 20px;
  --maxw: 1160px;
  --shadow-1: 0 1px 2px rgba(16,24,40,.07), 0 1px 3px rgba(16,24,40,.06);
  --shadow-2: 0 4px 10px -2px rgba(16,24,40,.09), 0 12px 28px -12px rgba(16,24,40,.16);
  --shadow-3: 0 24px 64px -24px rgba(16,24,40,.32);
}

/* ---- base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.65 var(--body); }
a { color: var(--blue); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: var(--r-sm); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--disp); letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 16px; }
.muted { color: var(--text-2); }

/* ---- header / nav -------------------------------------------------------- */
.s-top { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.s-nav { display: flex; align-items: center; gap: 16px; height: 68px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.s-logo { display: flex; align-items: center; gap: 10px; font-family: var(--disp);
  font-weight: 700; font-size: 20px; color: var(--text); }
.s-logo small { display: block; font: 500 11px/1.2 var(--mono); color: var(--text-3);
  letter-spacing: .12em; text-transform: uppercase; }
.s-links { display: flex; align-items: center; gap: 2px; margin-left: 12px; flex: 1; }
.s-links > a, .s-drop-btn { color: var(--text-2); font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-sm); font-family: var(--body); }
.s-links > a:hover, .s-drop-btn:hover { color: var(--text); background: var(--paper-2); }
.s-links > a.current { color: var(--blue); font-weight: 600; }
.s-drop { position: relative; }
.s-drop-btn { background: none; border: 0; cursor: pointer; }
.s-drop-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; z-index: 90;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 10px; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 480px; box-shadow: var(--shadow-3); }
.s-drop.open .s-drop-menu { display: grid; }
.s-drop-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.s-drop-menu a { color: var(--text-2); font-size: 14px; padding: 9px 12px; border-radius: var(--r-sm); }
.s-drop-menu a:hover { color: var(--text); background: var(--paper-2); }
.s-drop-menu a.current { color: var(--blue); font-weight: 600; background: #EDF1FE; }
.s-drop-menu a.all { grid-column: 1 / -1; color: var(--blue); font-weight: 600; }

/* ---- buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  border-radius: var(--r); font-family: var(--disp); font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, background .14s ease; }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(47,93,245,.65); }
.btn.primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); background: var(--paper); }
.btn.ghost:hover { border-color: #C6D0E8; }
.btn.on-dark { border: 1px solid #33427A; color: var(--on-dark); background: transparent; }
.btn.on-dark:hover { border-color: #4D5FA8; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---- section scaffolding ------------------------------------------------- */
.sect { padding: 96px 0; }
.sect.tight { padding: 64px 0; }
.sect.alt { background: var(--paper-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono);
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.on-dark { color: #8FA5FF; }
.eyebrow.gold { color: var(--gold); }
h2.sec { font-weight: 700; font-size: clamp(25px, 3.4vw, 39px); margin-top: 16px; text-wrap: balance; }
h2.sec.light { color: #fff; }
.sec-sub { color: var(--text-2); max-width: 62ch; margin: 16px 0 0; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .sec-sub { margin-left: auto; margin-right: auto; }

/* ---- dark band ----------------------------------------------------------- */
.dark { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1100px 480px at 78% -12%, #1E2C5F 0%, transparent 60%),
              linear-gradient(180deg, var(--navy) 0%, #0D1834 100%); }
.dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 44px); }
.dark > .wrap { position: relative; z-index: 1; }
.dark p, .dark .sec-sub { color: var(--on-dim); }

/* ---- cards --------------------------------------------------------------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-1); transition: box-shadow .16s ease, border-color .16s ease, transform .16s ease; }
a.card:hover, .card.hoverable:hover { box-shadow: var(--shadow-2); border-color: #C9D3EC; transform: translateY(-2px); }
.card h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.card p { color: var(--text-2); font-size: 15px; margin: 0; }
.dark-card { background: var(--navy-2); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: 28px; }
.dark-card h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.dark-card p { color: var(--on-dim); font-size: 15px; margin: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- reticle stat tile (brand motif) ------------------------------------- */
.stat { position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px; padding: 24px 16px 20px; text-align: center; box-shadow: var(--shadow-1); }
.stat i { position: absolute; width: 14px; height: 14px; border: 2px solid var(--blue); }
.stat i:nth-of-type(1) { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-radius: 3px 0 0 0; }
.stat i:nth-of-type(2) { top: -2px; right: -2px; border-left: 0; border-bottom: 0; border-radius: 0 3px 0 0; }
.stat i:nth-of-type(3) { bottom: -2px; left: -2px; border-right: 0; border-top: 0; border-radius: 0 0 0 3px; }
.stat i:nth-of-type(4) { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-radius: 0 0 3px 0; }
.stat .n { font: 700 clamp(25px, 2.8vw, 39px)/1.05 var(--disp); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; }
.stat .l { font: 500 11px/1.4 var(--mono); color: var(--text-3); margin-top: 8px;
  text-transform: uppercase; letter-spacing: .1em; }
.stat.on-dark { background: rgba(16,26,50,.7); border-color: var(--edge); }
.stat.on-dark .n { color: #fff; }
.stat.on-dark .l { color: var(--on-dim); }

/* ---- screenshot frame (browser chrome + reticle corners) ----------------- */
.shot { position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--edge); background: #0C0F14; box-shadow: var(--shadow-3); }
.shot .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  background: #10151D; border-bottom: 1px solid #1D2430; }
.shot .bar b { width: 10px; height: 10px; border-radius: 50%; background: #2A3242; }
.shot .bar span { margin-left: 10px; font: 500 11px/1 var(--mono); color: #5A6880; letter-spacing: .06em; }
.shot img { width: 100%; }
.shot-reticle { position: relative; padding: 10px; }
.shot-reticle > i { position: absolute; width: 22px; height: 22px; border: 3px solid var(--blue); z-index: 2; }
.shot-reticle > i:nth-of-type(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.shot-reticle > i:nth-of-type(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.shot-reticle > i:nth-of-type(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.shot-reticle > i:nth-of-type(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }

/* ---- pills / chips ------------------------------------------------------- */
.pill { display: inline-block; font: 600 11px/1 var(--mono); letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pill.live { background: #E2F5EE; color: #0E7E58; }
.pill.test { background: #FBF1DC; color: #8A5F10; }
.pill.wait { background: #FAE9E0; color: #94400F; }
.pill.dim { background: var(--paper-2); color: var(--text-2); }

/* ---- footer -------------------------------------------------------------- */
.s-footer { background: var(--navy); color: var(--on-dim); padding: 64px 0 32px; }
.s-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.s-footer h5 { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: #6F7FA8; margin: 0 0 16px; }
.s-footer a { display: block; color: var(--on-dim); font-size: 14px; padding: 5px 0; }
.s-footer a:hover { color: #fff; }
.s-footer .base { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--edge);
  font: 400 12px/1.6 var(--mono); color: #5E6E96; }
@media (max-width: 860px) { .s-footer .cols { grid-template-columns: 1fr 1fr; } .s-links { display: none; } }
@media (max-width: 640px) {
  /* phone header: one clean row — logo + a single CTA */
  .s-logo small { display: none; }
  .s-nav > .btn.ghost { display: none; }
  .s-nav { height: 60px; gap: 10px; }
  .btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
}

/* ---- misc ---------------------------------------------------------------- */
.mono { font-family: var(--mono); }
.tblwrap { overflow-x: auto; }
.kbd { font: 500 12px/1 var(--mono); background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 3px 8px; color: var(--text-2); white-space: nowrap; }
