/* Mercion :: styles.css -- what a signed-out visitor downloads.
   =========================================================================
   S16 SPLIT THIS FILE. Everything only a signed-in user can see moved to
   styles-platform.css, which app.js loads in loadPlatform() after the gate
   has found a session. A visitor who never signs in never downloads it.

   WHAT IS LEFT HERE, and why each part has to be:
     tokens, fonts, reset, focus     every page uses them
     brand, boot, fatal              the first thing painted, before the gate
                                     has decided anything
     buttons, links, form controls   the auth overlay is built from them
     the auth overlay itself         a signed-out visitor signs in with it
     the narrow-screen media blocks  one of them mixes .sheet and .enroll,
                                     which the gate needs, with .topbar,
                                     which it does not; splitting a media
                                     block to save 1.3 KB is not worth the
                                     chance of a rule landing on the wrong
                                     side of it
     the whole #landing block        it is the page

   ORDER IS PRESERVED WITHIN EACH FILE, and styles-platform.css is appended
   after this one at runtime, so a platform rule can only ever gain
   precedence over a base rule of equal specificity. Measured before the
   split: no selector appears in both the shared and the platform regions, so
   there is nothing for that to change.
   ========================================================================= */

/* Mercion :: styles.css See docs/maritime-view.md */

/* ---------- fonts: self-hosted, latin subset, no CDN at runtime ----------- */
/* Licences and provenance: web/fonts/LICENSE                                 */

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dmsans-var.woff2') format('woff2-variations'),
       url('fonts/dmsans-var.woff2') format('woff2');
  font-weight: 300 500;            /* one variable file covers the range */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dmmono-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dmmono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dmmono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('fonts/syne-var.woff2') format('woff2-variations'),
       url('fonts/syne-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bebas Neue';
  src: url('fonts/bebasneue-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrumentserif-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrumentserif-400i.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}

/* tokens --------------------------------------------------- See docs/maritime-view.md */

:root {
  --bg:            #0b0f14;
  --bg-raised:     #11161c;
  --bg-sunken:     #080c12;
  --panel:         #161c23;
  --panel-raised:  #1a2129;

  --line:          #1f2730;
  --line-soft:     #171e26;
  --line-strong:   #2a3540;

  --ink:           #e8edf2;
  --ink-dim:       #93a7b8;
  --ink-faint:     #76899b;

  --accent:        #0ea5e9;
  --accent-bright: #38bdf8;
  --accent-dim:    rgba(14, 165, 233, .10);
  --accent-ink:    #04121f;

  --ok:            #10b981;
  --ok-bg:         rgba(16, 185, 129, .10);
  --warn:          #f59e0b;
  --warn-bg:       rgba(245, 158, 11, .10);
  /* STALE needs its own hue: it is not the same state as ILLUSTRATIVE and must
     not share amber with it. Orange sits between the prototype's amber and its
     red, and is from the same palette family as the rest of these. */
  --stale:         #f97316;
  --stale-bg:      rgba(249, 115, 22, .10);
  --danger:        #ef4444;
  --danger-bg:     rgba(239, 68, 68, .10);

  /* Series identity: what a number IS, never its value. docs/dashboard-view.md */
  --series-wti:    #0ea5e9;
  --series-brent:  #10b981;
  --series-gas:    #f59e0b;
  --series-crack:  #f97316;
  --series-spread: #94a3b8;
  --series-stocks: #a78bfa;

  --radius:        6px;
  --radius-sm:     4px;
  --maxw:          1180px;

  --font:      'DM Sans', ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:      'DM Mono', ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --display:   'Syne', 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --condensed: 'Bebas Neue', 'Syne', Impact, sans-serif;
  --serif:     'Instrument Serif', Georgia, 'Times New Roman', serif;
}

/* A light treatment, kept because the logo has a genuine black-on-light
   variant. Both marks ship and the right one is shown per scheme. Values are
   the same hues inverted, and every text pair still clears 4.5:1. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f7fa; --bg-raised: #ffffff; --bg-sunken: #eceff4;
    --panel: #ffffff; --panel-raised: #f7f9fb;
    --line: #d5dde6; --line-soft: #e6ebf1; --line-strong: #bcc8d4;
    --ink: #0b1620; --ink-dim: #4a5a6a; --ink-faint: #5d6e7e;
    --accent: #0369a1; --accent-bright: #0284c7;
    --accent-dim: rgba(3, 105, 161, .08); --accent-ink: #ffffff;
    --ok: #047857; --ok-bg: rgba(4, 120, 87, .09);
    --warn: #92570a; --warn-bg: rgba(146, 87, 10, .10);
    --stale: #b03a0a; --stale-bg: rgba(176, 58, 10, .10);
    --danger: #b91c1c; --danger-bg: rgba(185, 28, 28, .08);
    --series-wti: #0369a1; --series-brent: #047857; --series-gas: #92570a;
    --series-crack: #b03a0a; --series-spread: #475569; --series-stocks: #6d28d9;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;                 /* 14 minimum; 13 only in dense cells */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em;
}
p { margin: 0 0 1em; }

/* A visible focus ring everywhere, on the token accent so it survives both
   themes. :focus-visible so a mouse click does not leave a ring behind. */
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------- brand ---------------------------------------------------------
   The wordmark SVGs are flat single-fill files, so the correct one is chosen
   by scheme rather than recoloured. Exactly one is ever visible.            */

.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo { display: block; height: 20px; width: auto; }
.brand-logo--onLight { display: none; }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .brand-logo--onDark  { display: none; }
  :root:not([data-theme="dark"]) .brand-logo--onLight { display: block; }
}

.mark {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .18em;
  font-size: 15px;
}
.mark--sm { font-size: 12px; letter-spacing: .16em; color: var(--ink); }

/* ---------- boot / fatal ------------------------------------------------- */

.boot {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: var(--bg); padding: 24px;
}
.boot-inner { text-align: center; max-width: 560px; }
.boot-msg { color: var(--ink-faint); margin-top: 1em; font-family: var(--mono); font-size: 13px; }
.boot--fatal .mark { color: var(--ink-dim); }
.fatal-title { font-size: 22px; margin-top: 1em; }
.fatal-msg { color: var(--ink-dim); }
.fatal-detail {
  text-align: left; font-family: var(--mono); font-size: 12px;
  background: var(--bg-sunken); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px; overflow-x: auto;
  color: var(--ink-faint);
}

/* ---------- buttons ------------------------------------------------------ */

.btn {
  font: inherit; font-weight: 500;
  font-family: var(--font);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 8px 18px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}
.btn:disabled { opacity: .45; cursor: default; }
/* --accent-ink, not white. White on the accent fill scores 2.77:1, which fails
   AA for button text; the near-black ink gives 6.8:1 on the accent and 8.8:1 on
   the brighter hover, and keeps the brand hue instead of darkening the button.
   In the light theme --accent-ink is white on a deep blue accent, 5.9:1. */
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover:not(:disabled) { background: var(--accent-bright); }
.btn--ghost {
  background: transparent; color: var(--ink-dim); border-color: var(--line-strong);
}


.btn--ghost:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 12px 26px; font-size: 14px; }
.btn--sm { padding: 5px 12px; font-size: 12px; }
.btn--full { width: 100%; padding: 11px 16px; }

.link {
  background: none; border: 0; padding: 0; font: inherit;
  color: var(--accent); cursor: pointer; text-align: left;
}
.link:hover { color: var(--accent-bright); text-decoration: underline; }
.link--quiet { color: var(--ink-faint); }


/* ---------- auth overlay ------------------------------------------------- */

.overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; }
.overlay-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 8, 12, .72); backdrop-filter: blur(4px);
}
.overlay[data-locked="true"] .overlay-backdrop { cursor: default; }

.sheet {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}
.sheet-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: 0; cursor: pointer;
  font-size: 24px; line-height: 1; color: var(--ink-faint);
}
.sheet-close:hover { color: var(--ink); }
.sheet-head { margin-bottom: 20px; }
.sheet-title { font-size: 20px; margin: 12px 0 4px; }
.sheet-sub { color: var(--ink-faint); font-size: 13px; margin: 0; }

.alert {
  background: var(--danger-bg);
  border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent);
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 13px; margin: 0 0 14px;
}

/* ---------- form controls ------------------------------------------------ */

.field { display: block; margin-bottom: 15px; }
.field > span {
  display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  font-family: var(--mono); color: var(--ink-faint); margin-bottom: 7px;
}
.field input,
.screen-row select {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink);
  background: var(--bg-sunken);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color .18s ease;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:hover,
.screen-row select:hover { border-color: var(--ink-faint); }
.field input:focus,
.screen-row select:focus,
.screen-row input:focus {
  outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent;
}
.hint { display: block; margin-top: 6px; color: var(--ink-faint); font-size: 12px; }

.input--code {
  font-family: var(--mono); font-size: 22px;
  letter-spacing: .34em; text-align: center;
}

.sheet-links {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 16px; font-size: 13px; flex-wrap: wrap;
}

.enroll { display: flex; gap: 16px; margin-bottom: 18px; align-items: flex-start; }
.enroll-qr {
  background: #fff; padding: 8px; border-radius: var(--radius-sm); flex: none;
  line-height: 0;
}
.enroll-copy { font-size: 13px; color: var(--ink-dim); }
.enroll-copy p { margin: 0 0 8px; }
.secret summary { cursor: pointer; color: var(--accent); font-size: 13px; }
.secret p { margin: 8px 0 6px; }
.secret-code {
  display: block; font-family: var(--mono); font-size: 12px;
  background: var(--bg-sunken); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 8px; word-break: break-all;
  color: var(--ink);
}

.notice { color: var(--ink-dim); font-size: 14px; }

.sheet-busy {
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  display: grid; place-items: center; border-radius: var(--radius);
}
.spin {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line-strong); border-top-color: var(--accent);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- narrow screens ----------------------------------------------- */

@media (max-width: 1100px) {
  .hero { padding: 72px 24px 56px; gap: 40px; }
  .strip, .split { padding: 48px 24px; }
  .shell { padding: 24px 18px 48px; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .strip-list { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 760px) {
  .verdict { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .strip-list { grid-template-columns: 1fr; }
  .nav { gap: 12px; padding: 0 16px; }
  .nav-actions { margin-left: auto; }
  .sheet { padding: 20px; }
  .enroll { flex-direction: column; align-items: center; text-align: center; }
  .topbar { flex-wrap: wrap; height: auto; padding: 8px 14px; gap: 10px; }
  .topbar-nav { order: 3; width: 100%; overflow-x: auto; }
}

/* ---------- reduced motion ------------------------------------------------
   Every transition in this stylesheet is decorative. Someone who has asked for
   less motion gets none of it, and the spinner slows rather than stopping so
   it still reads as "working".                                             */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .spin { animation-duration: 2.4s; }
  html { scroll-behavior: auto; }
}

/* L1a-4 :: THE LANDING PAGE, TAKEN FROM design-reference/mer See docs/maritime-view.md */

/* ---------------------------------------------------------------------------
   TOKENS. The reference's :root, declared on the landing root instead.
   --------------------------------------------------------------------------- */

#landing {
  --ink: #080C12;
  --ink2: #0F1520;
  --panel: #151B24;
  --border: #243040;
  --border2: #324252;
  --accent: #0EA5E9;
  --accent2: #38BDF8;
  /* See the header: the fill behind a white label, and nothing else. */
  --accent-fill: #0A74A6;
  /* The outline of a control that has no fill. WCAG 1.4.11 asks 3:1 of the
     visual information needed to identify a component, and a ghost button's
     border is all there is: the reference's --border2 is 1.90:1 against the
     page. This is 3.59:1 on --ink, 3.35:1 on --ink2 and 3.17:1 on --panel.
     --border2 keeps the reference's value for hairlines that outline nothing
     interactive. */
  --border-ctl: #556C80;
  --text1: #EDF2F7;
  --text2: #94A8B8;
  --text3: #76899B;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --bebas: 'Bebas Neue', 'Syne', Impact, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  /* The reference's body{}, folded into the landing root. */
  background: var(--ink);
  color: var(--text1);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* The reference's `*` reset. Scoped, because the platform's own reset differs
   and the two must not fight. */
#landing *,
#landing *::before,
#landing *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ---------------------------------------------------------------------------
   NAV
   --------------------------------------------------------------------------- */

#landing .nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 68px; transition: all .35s;
}
#landing .nav.scrolled {
  background: rgba(11, 15, 20, .94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
#landing .nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--bebas); font-size: 26px; letter-spacing: 2px;
  color: var(--text1); background: none; border: 0; cursor: pointer;
}
/* The reference's logo mark: a rounded accent tile with a ring and a slash
   drawn in pseudo-elements. No image, no icon font. */
#landing .lm {
  width: 30px; height: 30px; background: var(--accent); border-radius: 6px;
  position: relative; flex-shrink: 0;
}
#landing .lm::before {
  content: ''; position: absolute; width: 11px; height: 11px;
  border: 2px solid #fff; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
#landing .lm::after {
  content: ''; position: absolute; width: 16px; height: 2px; background: #fff;
  top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-35deg);
}
#landing .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
#landing .nav-links a {
  color: var(--text2); text-decoration: none; font-size: 12.5px;
  letter-spacing: .03em; transition: color .2s;
}
#landing .nav-links a:hover { color: var(--text1); }
#landing .nav-r { display: flex; gap: 10px; align-items: center; }
#landing .bn-g {
  padding: 8px 20px; border: 1px solid var(--border-ctl); border-radius: 4px;
  background: transparent; color: var(--text2); font-family: var(--sans);
  font-size: 12px; cursor: pointer; transition: all .2s; text-decoration: none;
}
#landing .bn-g:hover { border-color: var(--accent); color: var(--accent); }
#landing .bn-p {
  padding: 8px 20px; border-radius: 4px; background: var(--accent-fill);
  color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 500;
  cursor: pointer; border: none; transition: all .2s; text-decoration: none;
}
#landing .bn-p:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(14, 165, 233, .3); }

/* ---------------------------------------------------------------------------
   SECTION BASE
   --------------------------------------------------------------------------- */

#landing .slbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
#landing .slbl::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
#landing .stitle {
  font-family: var(--bebas); font-size: clamp(52px, 7vw, 92px);
  letter-spacing: 1px; line-height: .9; margin-bottom: 20px; font-weight: 400;
}
#landing .stitle em {
  font-family: var(--serif); font-style: italic; color: var(--text2); font-size: .75em;
}
#landing .ssub {
  font-size: 15px; color: var(--text2); max-width: 540px;
  line-height: 1.75; font-weight: 300;
}

/* ---------------------------------------------------------------------------
   REVEAL ON SCROLL. landing.js adds .in; it also adds it to everything at
   once for anyone who has asked for reduced motion.
   --------------------------------------------------------------------------- */

#landing .rv { opacity: 0; transform: translateY(28px); transition: opacity .85s, transform .85s; }
#landing .rv.in { opacity: 1; transform: none; }
#landing .rv.d1 { transition-delay: .1s; }
#landing .rv.d2 { transition-delay: .2s; }
#landing .rv.d3 { transition-delay: .3s; }
#landing .rv.d4 { transition-delay: .4s; }

/* ---------------------------------------------------------------------------
   THE LIVE CHIP, and the two pills this product needs that the reference does
   not have.
   --------------------------------------------------------------------------- */

#landing .live {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); padding: 3px 10px;
  border: 1px solid rgba(16, 185, 129, .25); border-radius: 100px;
  background: rgba(16, 185, 129, .06);
}
#landing .ld {
  width: 5px; height: 5px; background: var(--green); border-radius: 50%;
  animation: l-pulse 2s infinite;
}
@keyframes l-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.65); }
}

/* THE "IN DEVELOPMENT" PILL See docs/maritime-view.md */
#landing .pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 100px;
  white-space: nowrap;
}
#landing .pill--dev {
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, .3);
  background: rgba(245, 158, 11, .08);
}
#landing .pill--dev::before { content: '\25CB'; font-size: 8px; line-height: 1; }
/* ILLUSTRATIVE is a different claim from IN DEVELOPMENT and must not share
   its colour: there, the thing exists and the picture of it is a stand-in.
   A filled square, so the two are told apart with the colour removed. */
#landing .pill--illus {
  color: var(--text2);
  border: 1px solid var(--border2);
  background: rgba(21, 27, 36, .92);
}
#landing .pill--illus::before { content: '\25A0'; font-size: 7px; line-height: 1; }
#landing .pill--corner { position: absolute; top: 14px; right: 14px; z-index: 3; }
/* A solution card's generated numeral already occupies its top-right
   corner, so there the pill goes to the top-left, on the content's own
   left edge rather than against the card's. */
#landing .pill--corner-l { position: absolute; top: 14px; left: 38px; z-index: 3; }
/* A solution card's generated numeral already occupies its top-right
   corner, so there the pill goes to the top-left, on the content's own
   left edge rather than against the card's. */
#landing .pill--corner-l { position: absolute; top: 14px; left: 38px; z-index: 3; }
#landing .pill--inline { vertical-align: middle; margin-left: 6px; }

/* ---------------------------------------------------------------------------
   TICKER. Same furniture as the reference; the content is module names and
   the agencies the data comes from, never a price.
   --------------------------------------------------------------------------- */

#landing .ticker-wrap {
  height: 46px; background: rgba(11, 15, 20, .92);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; overflow: hidden; position: relative;
}
#landing .ticker-wrap::before,
#landing .ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
#landing .ticker-wrap::before { left: 0; background: linear-gradient(90deg, rgba(11, 15, 20, .92), transparent); }
#landing .ticker-wrap::after { right: 0; background: linear-gradient(-90deg, rgba(11, 15, 20, .92), transparent); }
#landing .ticker-track { display: flex; animation: l-tick 45s linear infinite; white-space: nowrap; }
@keyframes l-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
#landing .ti {
  display: flex; align-items: center; gap: 9px; padding: 0 26px;
  border-right: 1px solid var(--border); font-family: var(--mono); font-size: 11px;
}
#landing .ts { color: var(--text3); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
#landing .tp { color: var(--text1); font-weight: 500; }

/* ---------------------------------------------------------------------------
   MARQUEE
   --------------------------------------------------------------------------- */

#landing .mq-wrap {
  padding: 18px 0; background: var(--ink2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden;
}
#landing .mq-inner { display: flex; animation: l-mq 32s linear infinite; width: max-content; }
@keyframes l-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
#landing .mq-item {
  font-family: var(--bebas); font-size: 12px; letter-spacing: .3em;
  color: var(--text3); padding: 0 26px; display: flex; align-items: center; gap: 18px;
}
#landing .mq-item::after { content: '\2726'; color: var(--accent); font-size: 10px; }

/* ---------------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------------- */

#landing .btn-p {
  padding: 13px 30px; border-radius: 4px; background: var(--accent-fill);
  color: #fff; border: none; font-family: var(--sans); font-size: 13px;
  font-weight: 500; cursor: pointer; transition: all .2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
#landing .btn-p:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(14, 165, 233, .3); }
#landing .btn-g {
  padding: 13px 30px; border-radius: 4px; background: transparent;
  color: var(--text2); border: 1px solid var(--border-ctl); font-family: var(--sans);
  font-size: 13px; cursor: pointer; transition: all .2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
#landing .btn-g:hover { color: var(--text1); border-color: var(--text3); }

/* ---------------------------------------------------------------------------
   HERO
   ---------------------------------------------------------------------------
   The reference fills the right of the hero with a rotating globe canvas. The
   globe is parked -- web/globe.js is in the tree, tested, and imported by
   nothing -- so the layer order, the vignette and the grid are all here and
   the canvas is not. The vignette's own geometry holds the space open on the
   right, which is what makes this a hole the globe can drop back into rather
   than a layout that will have to be rebuilt around it.
   --------------------------------------------------------------------------- */

#landing #hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; overflow: hidden;
}
#landing .hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 70% at 65% 50%, transparent 30%, rgba(11, 15, 20, .7) 80%),
    linear-gradient(to right, rgba(11, 15, 20, .95) 30%, transparent 65%);
}
#landing .hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(14, 165, 233, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 55% 50%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 80% at 55% 50%, black 20%, transparent 75%);
}
#landing .hero-content { position: relative; z-index: 2; padding: 100px 80px 80px; max-width: 760px; }
#landing .hero-ey {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px;
  opacity: 0; animation: l-fadeU .8s .2s forwards;
}
#landing .ey-line { width: 30px; height: 1px; background: var(--accent); }
@keyframes l-fadeU { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
#landing .hero-title {
  font-family: var(--bebas); font-size: clamp(72px, 11vw, 148px); line-height: .91;
  letter-spacing: 1px; margin-bottom: 12px; font-weight: 400;
  opacity: 0; animation: l-fadeU .8s .35s forwards;
}
#landing .hero-title .ac { color: var(--accent); }
#landing .hero-title .it {
  font-family: var(--serif); font-style: italic; font-size: .72em;
  letter-spacing: -1px; line-height: 1;
}
#landing .hero-sub {
  font-size: 17px; color: var(--text2); line-height: 1.75; max-width: 480px;
  margin-bottom: 44px; font-weight: 300; opacity: 0; animation: l-fadeU .8s .5s forwards;
}
#landing .hero-acts {
  display: flex; gap: 14px; align-items: center; margin-bottom: 60px;
  opacity: 0; animation: l-fadeU .8s .65s forwards;
}
#landing .hero-stats {
  display: flex; gap: 0; flex-wrap: wrap;
  opacity: 0; animation: l-fadeU .8s .8s forwards;
}
#landing .hstat { padding-right: 40px; margin-right: 40px; border-right: 1px solid var(--border); }
#landing .hstat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
#landing .hstat-n { font-family: var(--bebas); font-size: 44px; letter-spacing: 1px; line-height: 1; }
#landing .hstat-n span { color: var(--accent); }
#landing .hstat-l {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text3); margin-top: 4px;
}
/* ===========================================================================
   A PROVENANCE LINE IS PART OF A FIGURE, NOT SMALL PRINT UNDER ONE
   ===========================================================================
   The reference's .hstat is a number and a label. Every number on this page
   has to carry where it came from and the date it was true, so each figure
   here is three lines rather than two, and the third is styled as structure
   and not as a footnote: same mono, one step dimmer, directly under the label
   it qualifies. A figure whose source line went missing should look broken,
   and this is what makes it look broken. */
#landing .hstat-src {
  font-family: var(--mono); font-size: 9px; letter-spacing: .04em;
  color: var(--text3); margin-top: 3px;
}
/* A slot whose fact has gone missing says so where the figure would be. Never
   an empty box, and never a zero. */
#landing [data-fact-state='missing'] .hstat-n,
#landing [data-fact-state='missing'] .dc-n { color: var(--text3); font-size: 22px; }

/* ---------------------------------------------------------------------------
   BENTO
   --------------------------------------------------------------------------- */

#landing .bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
#landing .bc {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 34px; position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s; cursor: default;
}
#landing .bc:hover { border-color: rgba(14, 165, 233, .3); transform: translateY(-3px); }
#landing .bc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity .3s;
}
#landing .bc:hover::before { opacity: 1; }
#landing .b1 { grid-column: 1 / 6; }
#landing .b2 { grid-column: 6 / 10; }
#landing .b3 { grid-column: 10 / 13; }
#landing .b4 { grid-column: 1 / 4; }
#landing .b5 { grid-column: 4 / 9; }
#landing .b6 { grid-column: 9 / 13; }
#landing .bc-icon { display: block; width: 30px; height: 30px; margin-bottom: 18px; color: var(--accent); }
#landing .bc-title { font-family: var(--bebas); font-size: 25px; letter-spacing: .5px; margin-bottom: 10px; }
#landing .bc-desc { font-size: 13px; color: var(--text2); line-height: 1.7; }
#landing .bc-tag {
  display: inline-block; font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px;
  border-radius: 3px; background: rgba(14, 165, 233, .1); color: var(--accent);
  margin-bottom: 14px;
}
/* The reference's three-up mini stat grid inside a bento card. Its figures
   were typed in; ours are fact slots, so the value, the label and the source
   line all come from landing-facts.js. */
#landing .bc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
#landing .bc-stat {
  background: var(--ink2); border: 1px solid var(--border); border-radius: 6px;
  padding: 10px; text-align: center;
}
#landing .bc-stat-n { font-family: var(--bebas); font-size: 18px; letter-spacing: .5px; color: var(--accent); }
#landing .bc-stat-l {
  font-family: var(--mono); font-size: 10px; color: var(--text3);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; line-height: 1.4;
}
#landing .bc-stat-src { font-family: var(--mono); font-size: 9px; color: var(--text3); margin-top: 4px; line-height: 1.4; }
/* The reference's checklist inside the Risk card. Every line here is a list
   that is really ingested; the tick is drawn, not a font glyph. */
#landing .bc-checks { margin-top: 14px; display: flex; flex-direction: column; gap: 5px; }
#landing .bc-check {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; color: var(--text2);
}
#landing .bc-check svg { width: 12px; height: 12px; color: var(--green); flex-shrink: 0; }

/* ---------------------------------------------------------------------------
   PLATFORM SPLIT (the dashboard preview)
   --------------------------------------------------------------------------- */

#landing .plat-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
#landing .plat-left {
  padding: 100px 80px; display: flex; flex-direction: column;
  justify-content: center; background: var(--ink2);
}
#landing .plat-right {
  background: var(--ink); border-left: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 60px; position: relative; overflow: hidden;
}
#landing .plat-right::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(14, 165, 233, .04) 0%, transparent 70%);
}
#landing .pscreen {
  width: 100%; background: var(--ink); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  box-shadow: -40px 0 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .03);
  position: relative; z-index: 1;
}
#landing .psbar {
  height: 34px; background: var(--ink2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 14px; gap: 6px;
}
#landing .psdot { width: 8px; height: 8px; border-radius: 50%; }
#landing .psbar-name { font-family: var(--mono); font-size: 10px; color: var(--text3); margin-left: 12px; }
#landing .plat-tabs { display: flex; gap: 0; margin-top: 48px; flex-wrap: wrap; }
#landing .plat-tab {
  padding: 12px 0; margin-right: 28px; font-family: var(--mono); font-size: 10px;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text2); cursor: pointer; border: 0; border-bottom: 1px solid transparent;
  background: none; transition: all .2s;
}
#landing .plat-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
#landing .plat-tab:hover:not(.active) { color: var(--text1); }
#landing .tab-desc {
  margin-top: 28px; font-size: 14px; color: var(--text2); line-height: 1.7;
  max-width: 440px; transition: opacity .3s;
}

/* THE PREVIEW IS THE REAL SCREENSHOTS, IN THE REFERENC See docs/maritime-view.md */
#landing .ps-stage {
  position: relative; width: 100%; aspect-ratio: 1195 / 688;
  background: var(--ink2); overflow: hidden;
}
#landing .ps-panel { position: absolute; inset: 0; }
#landing .ps-panel[hidden] { display: none; }
#landing .ps-img {
  width: 100%; height: 100%; object-fit: contain; object-position: center top;
  display: block;
}
/* A file that will not load degrades to a sentence, never to a drawn mock. */
#landing .ps-missing {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; color: var(--text3); text-align: center; padding: 20px;
}
#landing .ps-cap {
  padding: 8px 14px; border-top: 1px solid var(--border); background: var(--ink2);
  font-family: var(--mono); font-size: 10px; color: var(--text3);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

/* ---------------------------------------------------------------------------
   SOLUTIONS
   --------------------------------------------------------------------------- */

#landing .sol-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  counter-reset: sol;
}
#landing .sol-card {
  background: var(--ink); padding: 44px 38px; position: relative;
  overflow: hidden; transition: background .2s;
  counter-increment: sol;
}
#landing .sol-card:hover { background: var(--panel); }
#landing .sol-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
#landing .sol-card:hover::after { transform: scaleX(1); }
/* THE NUMERAL IS GENERATED, so the markup carries no digit of its own. The
   reference's 01..06, in its own size and its own barely-there accent. */
#landing .sol-n {
  font-family: var(--bebas); font-size: 76px; letter-spacing: 1px;
  color: rgba(14, 165, 233, .09); line-height: 1;
  position: absolute; top: 16px; right: 24px;
}
#landing .sol-n::before { content: counter(sol, decimal-leading-zero); }
#landing .sol-icon { display: block; width: 28px; height: 28px; margin-bottom: 22px; color: var(--accent); }
#landing .sol-title { font-family: var(--bebas); font-size: 28px; letter-spacing: .5px; margin-bottom: 14px; }
#landing .sol-desc { font-size: 13px; color: var(--text2); line-height: 1.7; margin-bottom: 22px; }
#landing .sol-link {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: gap .2s;
  background: none; border: 0; cursor: pointer; padding: 0;
}
#landing .sol-link:hover { gap: 14px; }

/* ---------------------------------------------------------------------------
   DATA COUNTERS
   ---------------------------------------------------------------------------
   The reference animates these four from zero over 2.2 seconds. They are not
   animated here: a count-up spends two seconds displaying numbers that are
   not the sourced figure, and on this page the figure IS the claim. The
   typography, the hairline columns and the glow behind them are unchanged.
   --------------------------------------------------------------------------- */

#landing .data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
#landing .dc { padding: 56px 40px; border-right: 1px solid var(--border); text-align: center; }
#landing .dc:last-child { border-right: none; }
#landing .dc-n {
  font-family: var(--bebas); font-size: clamp(52px, 6vw, 80px); letter-spacing: 1px;
  line-height: 1; color: var(--text1); margin-bottom: 8px;
}
#landing .dc-n span { color: var(--accent); }
#landing .dc-l {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 5px;
}
#landing .dc-s { font-size: 12px; color: var(--text3); }

/* ---------------------------------------------------------------------------
   HOW IT WORKS
   --------------------------------------------------------------------------- */

#landing .how-step { padding: 0 28px; text-align: center; position: relative; z-index: 1; }
#landing .how-icon {
  width: 58px; height: 58px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 22px;
}
#landing .how-icon svg { width: 24px; height: 24px; }
#landing .how-n { font-family: var(--bebas); font-size: 11px; letter-spacing: .3em; margin-bottom: 7px; }
#landing .how-title { font-family: var(--bebas); font-size: 26px; letter-spacing: .5px; margin-bottom: 12px; }
#landing .how-desc { font-size: 12.5px; color: var(--text2); line-height: 1.7; }
#landing .how-rail {
  position: absolute; top: 29px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent), var(--accent), transparent);
  opacity: .22; z-index: 0;
}

/* ---------------------------------------------------------------------------
   FEATURE ROWS
   --------------------------------------------------------------------------- */

#landing .feat-row {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 500px;
  border-bottom: 1px solid var(--border);
}
#landing .feat-left { padding: 80px; display: flex; flex-direction: column; justify-content: center; }
#landing .feat-right {
  background: var(--ink2); border-left: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 48px; position: relative; overflow: hidden;
}
#landing .feat-title {
  font-family: var(--bebas); font-size: clamp(40px, 5vw, 68px); letter-spacing: 1px;
  line-height: .95; margin-bottom: 20px; font-weight: 400;
}
#landing .feat-lede {
  font-size: 14px; color: var(--text2); line-height: 1.75;
  max-width: 440px; margin-bottom: 28px;
}
#landing .feat-checks { margin-bottom: 32px; }
#landing .feat-check {
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  color: var(--text2); margin-bottom: 10px;
}
#landing .feat-check svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); }
#landing .feat-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  background: none; border: 0; cursor: pointer; padding: 0;
}
/* ===========================================================================
   THE PANEL ON THE RIGHT OF A FEATURE ROW
   ===========================================================================
   The reference puts a framed table in each of these, filled with invented
   routes, tonnages, vessel names and freight spreads. Where the module behind
   the row exists, the frame here holds the real screenshot of it. Where it
   does not, the frame holds its title bar and an empty state that says so --
   which is the one thing a panel in this position can honestly show for a
   thing that has not been built. It is never filled with a plausible table. */
#landing .feat-frame {
  width: 100%; background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4); position: relative; z-index: 1;
}
#landing .feat-frame-bar {
  padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--ink2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 10px; color: var(--text3);
  text-transform: uppercase; letter-spacing: .08em;
}
#landing .feat-frame-body {
  min-height: 240px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  padding: 32px 24px; text-align: center;
}
#landing .feat-empty { font-size: 13px; color: var(--text2); line-height: 1.7; max-width: 34ch; }
/* The same no-crop rule as .ps-img; here it guards against a later fixed
   height. See docs/landing-previews.md. */
#landing .feat-shot {
  display: block; width: 100%; height: auto;
  object-fit: contain; object-position: center top;
}
#landing .feat-glow { position: absolute; inset: 0; }

/* ---------------------------------------------------------------------------
   CODE BLOCK (the API section)
   --------------------------------------------------------------------------- */

#landing .code-block {
  background: var(--ink); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .4);
}
#landing .code-bar {
  background: var(--ink2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 14px;
}
#landing .code-dots { display: flex; gap: 6px; padding: 10px 0; margin-right: 16px; }
#landing .code-dots span { width: 10px; height: 10px; border-radius: 50%; }
#landing .code-name { font-family: var(--mono); font-size: 10px; color: var(--text3); padding: 10px 0; }
#landing .code-body {
  padding: 22px; font-family: var(--mono); font-size: 11px; line-height: 1.9;
  overflow-x: auto; white-space: pre; color: var(--text2);
}
#landing .code-body .c { color: var(--text3); }
#landing .code-body .k { color: var(--amber); }
#landing .code-body .s { color: var(--green); }
#landing .code-body .v { color: var(--text1); }
#landing .code-foot {
  background: var(--ink2); border-top: 1px solid var(--border);
  padding: 8px 16px; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: var(--text3); gap: 12px;
}
/* The reference's integration tiles: a 2-up grid of small bordered cards. */
#landing .int-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 36px; }
#landing .int {
  padding: 14px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 8px; display: flex; gap: 12px; align-items: flex-start;
  position: relative; transition: border-color .2s;
}
#landing .int:hover { border-color: rgba(14, 165, 233, .3); }
#landing .int svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
#landing .int-name { font-size: 12px; font-weight: 500; color: var(--text1); margin-bottom: 2px; }
#landing .int-desc { font-size: 11px; color: var(--text3); line-height: 1.55; }
/* The pill in an integration tile runs inline after the name: the tile is too
   small to give a corner away. */
#landing .int .pill { margin-top: 6px; }

/* ---------------------------------------------------------------------------
   RESEARCH
   --------------------------------------------------------------------------- */

#landing .res-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
#landing .res-card {
  display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
/* ===========================================================================
   THE RESEARCH SECTION IS AN EMPTY STATE, AND IT LOOKS LIKE ONE
   ===========================================================================
   The reference shows three articles: an OPEC+ scoop, a weekly crude flows
   report and a US export analysis, each with a byline, a read time and a
   date. None of them was ever written. There is nothing to put in their
   place, so the section keeps its heading and its grid and says plainly that
   nothing has been published.

   It is ONE panel spanning the grid rather than three empty cards, because
   three empty cards read as three things that failed to load. */
#landing .res-empty {
  grid-column: 1 / -1; padding: 56px 40px; text-align: center;
  background: var(--panel); border: 1px dashed var(--border2); border-radius: 10px;
}
#landing .res-empty-t { font-family: var(--bebas); font-size: 26px; letter-spacing: .5px; margin-bottom: 12px; }
#landing .res-empty-p {
  font-size: 13px; color: var(--text2); line-height: 1.75;
  max-width: 56ch; margin: 0 auto;
}

/* ---------------------------------------------------------------------------
   PRICING
   --------------------------------------------------------------------------- */

#landing .price-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 14px;
  max-width: 1300px; margin: 0 auto;
}
#landing .price-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 36px; position: relative; overflow: hidden; transition: transform .3s;
  display: flex; flex-direction: column;
}
#landing .price-card:hover { transform: translateY(-4px); }
#landing .price-card--featured { border-color: var(--accent); }
#landing .price-card--featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
#landing .price-flag {
  position: absolute; top: 14px; right: 14px; font-family: var(--mono);
  font-size: 10px; padding: 3px 8px; border-radius: 3px;
  background: var(--accent-fill); color: #fff; letter-spacing: .08em; text-transform: uppercase;
}
#landing .price-name {
  font-family: var(--bebas); font-size: 13px; letter-spacing: .2em;
  color: var(--text3); margin-bottom: 10px;
}
#landing .price-amt { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
#landing .price-amt b {
  font-family: var(--bebas); font-size: 46px; letter-spacing: 1px;
  color: var(--text1); line-height: 1; font-weight: 400;
}
#landing .price-card--featured .price-amt b { color: var(--accent); }
#landing .price-per { font-family: var(--mono); font-size: 10px; color: var(--text3); }
#landing .price-for {
  font-size: 12px; color: var(--text3); line-height: 1.65; margin-bottom: 24px;
  border-bottom: 1px solid var(--border); padding-bottom: 20px;
}
#landing .price-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px; flex: 1;
}
#landing .price-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--text2); }
#landing .price-list svg {
  width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px;
  color: var(--text3); border-radius: 50%;
}
#landing .price-card--featured .price-list svg { color: var(--accent); }
#landing .price-cta {
  width: 100%; padding: 12px; border-radius: 5px; background: transparent;
  color: var(--text2); border: 1px solid var(--border-ctl); font-family: var(--sans);
  font-size: 12px; font-weight: 500; cursor: pointer; transition: all .2s;
  text-align: center; text-decoration: none; display: block;
}
#landing .price-cta:hover { color: var(--text1); border-color: var(--text3); }
#landing .price-cta--primary {
  background: var(--accent-fill); color: #fff; border-color: var(--accent-fill);
}
#landing .price-cta--primary:hover { color: #fff; box-shadow: 0 8px 24px rgba(14, 165, 233, .3); }
#landing .price-note {
  text-align: center; font-family: var(--mono); font-size: 10px;
  color: var(--text3); margin-top: 24px; letter-spacing: .04em;
}

/* ---------------------------------------------------------------------------
   QUOTE
   ---------------------------------------------------------------------------
   The reference rotates three customer quotes on a seven-second timer, each
   attributed to an invented person at an unnamed firm. There is one quote
   here, it is the product's own rule, and it is attributed to the company. No
   carousel, so no dots and no timer: there is nothing to rotate between.
   --------------------------------------------------------------------------- */

#landing .quote-section {
  padding: 150px 80px; background: var(--ink); text-align: center;
  position: relative; overflow: hidden;
}
#landing .quote-bg {
  position: absolute; font-family: var(--bebas); font-size: 600px;
  color: rgba(14, 165, 233, .02); top: -80px; left: 50%;
  transform: translateX(-50%); line-height: 1;
  pointer-events: none; user-select: none; -webkit-user-select: none;
}
#landing .quote-text {
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.2vw, 42px);
  line-height: 1.4; color: var(--text1); max-width: 900px;
  margin: 0 auto 28px; position: relative;
}
#landing .quote-attr {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text3);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  position: relative;
}
#landing .quote-attr::before,
#landing .quote-attr::after { content: ''; width: 32px; height: 1px; background: var(--border); }

/* ---------------------------------------------------------------------------
   CTA
   ---------------------------------------------------------------------------
   The reference's CTA is an email field whose button sets its own label to
   "Sent!" and turns green, having sent nothing anywhere. The row is the same
   shape; the control in it is the real signup, which opens the real auth
   overlay.
   --------------------------------------------------------------------------- */

#landing .cta-section {
  min-height: 80vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 120px 80px; background: var(--ink);
  text-align: center; position: relative; overflow: hidden;
}
#landing .cta-glow {
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(14, 165, 233, .09) 0%, transparent 60%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
#landing .cta-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 10%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 10%, transparent 80%);
}
#landing .cta-title {
  font-family: var(--bebas); font-size: clamp(56px, 10vw, 136px); letter-spacing: 1px;
  line-height: .9; position: relative; margin-bottom: 20px; font-weight: 400;
}
#landing .cta-title em { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: .65em; }
#landing .cta-acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
#landing .cta-assure {
  display: flex; gap: 24px; margin-top: 18px; justify-content: center;
  position: relative; flex-wrap: wrap;
}
#landing .cta-assure div {
  font-family: var(--mono); font-size: 10px; color: var(--text3);
  display: flex; align-items: center; gap: 6px;
}
#landing .cta-assure svg { width: 12px; height: 12px; color: var(--green); }

/* ---------------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------------- */

#landing .foot { background: var(--ink2); border-top: 1px solid var(--border); padding: 80px; }
#landing .fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
#landing .flogo {
  display: flex; align-items: center; gap: 10px; font-family: var(--bebas);
  font-size: 22px; letter-spacing: 2px; color: var(--text1);
  text-decoration: none; margin-bottom: 14px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
#landing .fdesc { font-size: 13px; color: var(--text2); line-height: 1.7; max-width: 270px; margin-bottom: 16px; }
#landing .fcol-title {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 18px;
}
#landing .flinks { display: flex; flex-direction: column; gap: 11px; list-style: none; }
#landing .flinks a,
#landing .flinks button {
  color: var(--text2); text-decoration: none; font-size: 13px; transition: color .2s;
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
  font-family: var(--sans);
}
#landing .flinks a:hover,
#landing .flinks button:hover { color: var(--text1); }
#landing .fbot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 36px; border-top: 1px solid var(--border); gap: 20px; flex-wrap: wrap;
}
#landing .fcopy { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: .04em; }
#landing .fsoc { display: flex; gap: 10px; }
#landing .fsoc-btn {
  width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); cursor: pointer; transition: all .2s; text-decoration: none;
}
#landing .fsoc-btn svg { width: 14px; height: 14px; }
#landing .fsoc-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------------------------------------------------------------------
   THE ICON SET
   ---------------------------------------------------------------------------
   The reference draws every mark with the Tabler icon webfont: a 234 KB
   stylesheet and a 497 KB woff2, 731 KB over the network to deliver about
   twenty glyphs. These are inline <symbol> definitions referenced with <use>,
   roughly 2 KB in total, inheriting their stroke and their colour from the
   page instead of carrying it in a font.

   The sprite is a definition block, not content: position:absolute with no
   size keeps it out of flow in every engine, where display:none would make
   Safari drop the symbols it exists to define.
   --------------------------------------------------------------------------- */

#landing .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------------------------------------------------------------------------
   MOBILE NAV
   --------------------------------------------------------------------------- */

#landing .mob-menu-btn {
  display: none; background: transparent; border: none; color: var(--text1);
  cursor: pointer; padding: 8px; font-size: 24px; line-height: 1; flex-shrink: 0;
}
#landing #mob-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(8, 12, 18, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); z-index: 198; flex-direction: column;
}
#landing #mob-nav.open { display: flex; }
#landing #mob-nav a {
  color: var(--text2); text-decoration: none; font-size: 15px; padding: 15px 24px;
  border-bottom: 1px solid var(--border); display: block; transition: color .2s;
}
#landing #mob-nav a:hover { color: var(--text1); }
#landing .mob-nav-actions { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }

/* ---------------------------------------------------------------------------
   THE REFERENCE'S BREAKPOINTS. Its own three, with the platform rules that
   shared these blocks left behind.
   --------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  #landing .bento { grid-template-columns: repeat(6, 1fr); }
  #landing .b1 { grid-column: 1 / -1; }
  #landing .b2 { grid-column: 1 / 4; }
  #landing .b3 { grid-column: 4 / 7; }
  #landing .b4 { grid-column: 1 / 3; }
  #landing .b5 { grid-column: 3 / 5; }
  #landing .b6 { grid-column: 5 / 7; }
  #landing .data-grid { grid-template-columns: repeat(2, 1fr); }
  #landing .plat-split { grid-template-columns: 1fr; }
  #landing .feat-row { grid-template-columns: 1fr; }
  #landing .fgrid { grid-template-columns: 1fr 1fr; }
  #landing .sol-grid { grid-template-columns: 1fr 1fr; }
  #landing .res-grid { grid-template-columns: 1fr 1fr; }
  #landing .price-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #landing .nav { padding: 0 20px; }
  #landing .nav-links { display: none; }
  #landing .mob-menu-btn { display: block; }
  #landing .nav-r .bn-g { display: none; }

  #landing .hero-content { padding: 100px 20px 60px; }
  #landing .hero-title { font-size: clamp(52px, 14vw, 78px); }
  #landing .hero-sub { font-size: 14px; max-width: 100%; }
  #landing .hero-acts { flex-direction: column; align-items: stretch; }
  #landing .hero-acts .btn-p,
  #landing .hero-acts .btn-g { justify-content: center; text-align: center; }
  #landing .hero-stats { flex-direction: column; gap: 0; }
  #landing .hstat {
    border-right: none; padding-right: 0; margin-right: 0;
    padding: 18px 0; border-bottom: 1px solid var(--border);
  }
  #landing .hstat:last-child { border-bottom: none; padding-bottom: 0; }

  /* The sections carry the reference's own inline padding, so the override
     needs the same !important the reference uses. */
  #landing .sec { padding: 80px 20px !important; }
  #landing .plat-left { padding: 60px 20px; }
  #landing .plat-right { padding: 30px 20px; }
  #landing .feat-left { padding: 48px 20px; }
  #landing .feat-right { padding: 30px 20px; }

  #landing .bento { grid-template-columns: 1fr; }
  #landing .b1, #landing .b2, #landing .b3,
  #landing .b4, #landing .b5, #landing .b6 { grid-column: 1 / -1; }
  #landing .sol-grid { grid-template-columns: 1fr; }
  #landing .how-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  #landing .how-rail { display: none; }
  #landing .api-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  #landing .res-grid { grid-template-columns: 1fr; }
  #landing .res-head { flex-direction: column; align-items: flex-start !important; gap: 16px; }
  #landing .price-grid { grid-template-columns: 1fr; }
  #landing .int-grid { grid-template-columns: 1fr; }

  #landing .data-grid { grid-template-columns: 1fr 1fr; }
  #landing .dc { padding: 32px 18px; }
  #landing .dc:nth-child(2n) { border-right: none; }

  #landing .quote-section { padding: 80px 20px; }
  #landing .cta-section { padding: 80px 20px; }
  #landing .cta-acts { flex-direction: column; align-items: stretch; }

  #landing .foot { padding: 48px 20px; }
  #landing .fgrid { grid-template-columns: 1fr; gap: 32px; }
  #landing .fbot { flex-direction: column; gap: 16px; align-items: center; text-align: center; }
  #landing .fsoc { justify-content: center; }
}

@media (max-width: 480px) {
  #landing .hero-title { font-size: 52px; }
  #landing .stitle { font-size: clamp(38px, 12vw, 60px); }
  #landing .how-grid { grid-template-columns: 1fr !important; }
  #landing .data-grid { grid-template-columns: 1fr; }
  #landing .dc { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 18px; }
  #landing .dc:last-child { border-bottom: none; }
  #landing .hstat-n { font-size: 36px; }
  #landing .nav-r .bn-p { display: none; }
}

/* ---------------------------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------------------------
   The reference has no such block: its ticker, its marquee, its pulsing dot,
   its five fade-ups and its reveals all run regardless. Everything that moves
   on this page stops here, and the things that animate INTO view are left in
   their finished state rather than at the start of a transition that will
   never run -- which would leave the hero blank.
   landing.js also reveals every section up front in this case, so nothing is
   left waiting on an observer.
   --------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  #landing .ticker-track,
  #landing .mq-inner,
  #landing .ld { animation: none; }
  #landing .hero-ey,
  #landing .hero-title,
  #landing .hero-sub,
  #landing .hero-acts,
  #landing .hero-stats { animation: none; opacity: 1; transform: none; }
  #landing .rv { opacity: 1; transform: none; transition: none; }
  #landing .bc:hover,
  #landing .price-card:hover,
  #landing .btn-p:hover,
  #landing .bn-p:hover { transform: none; }
  #landing .sol-card::after { transition: none; }
}


