@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/JetBrainsMono-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/JetBrainsMono-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/Manrope-400-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Layout concept: square-cornered "shipment record" panels on a quiet grid, echoing the logo's square G and cobalt blocks.
   Dark Carbon bands for the big statements, Frost and white for reading, mono for real trade data (HS codes, port codes, statuses). */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F6FA;          /* Frost */
  --fg: #06080F;              /* Carbon */
  --muted: #4A5366;
  --line: #E1E5EE;
  --line-strong: #C5CCDA;
  --accent: #2457E6;          /* Deep Cobalt: text and buttons on light */
  --accent-hover: #1C47C2;
  --accent-fill: #2F6BFF;     /* Cobalt: shapes */
  --accent-soft: #E8EEFF;
  --on-accent: #FFFFFF;
  --ok: #0F7B4E;
  --ok-soft: #E3F4EC;
  --warn: #9A5B00;
  --warn-soft: #FFF2DC;
  --field: #FFFFFF;
  --logo-fg: #06080F;
  --logo-accent: #2F6BFF;
  --logo-trade: #2457E6;
  /* Always-dark band, same in both themes */
  --band: #06080F;
  --band-2: #0E1320;
  --band-line: #232B3F;
  --band-fg: #FFFFFF;
  --band-muted: #A3ADC2;
  --band-accent: #5B8CFF;     /* Signal Blue */
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
  --radius: 2px;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0D16; --bg-alt: #0F1320; --fg: #E9EDF5; --muted: #A1AABD;
    --line: #1F2638; --line-strong: #323C55;
    --accent: #7FA3FF; --accent-hover: #A3BEFF; --accent-fill: #5B8CFF; --accent-soft: #16213D; --on-accent: #06080F;
    --ok: #4CC793; --ok-soft: #10281F; --warn: #F0B25A; --warn-soft: #2A2010;
    --field: #0E1220; --logo-fg: #FFFFFF; --logo-accent: #5B8CFF; --logo-trade: #5B8CFF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0D16; --bg-alt: #0F1320; --fg: #E9EDF5; --muted: #A1AABD;
  --line: #1F2638; --line-strong: #323C55;
  --accent: #7FA3FF; --accent-hover: #A3BEFF; --accent-fill: #5B8CFF; --accent-soft: #16213D; --on-accent: #06080F;
  --ok: #4CC793; --ok-soft: #10281F; --warn: #F0B25A; --warn-soft: #2A2010;
  --field: #0E1220; --logo-fg: #FFFFFF; --logo-accent: #5B8CFF; --logo-trade: #5B8CFF;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent-fill); outline-offset: 2px; }
.mono { font-family: var(--font-mono); font-size: 0.85em; letter-spacing: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Eyebrow: small cobalt square + uppercase label, from the logo's block */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent-fill); flex: none; }
.band .eyebrow { color: var(--band-accent); }
.band .eyebrow::before { background: var(--band-accent); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.band .lede { color: var(--band-muted); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; color: var(--logo-fg); flex: none; }
.logo svg { height: 26px; width: auto; display: block; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: var(--radius); }
.nav a:hover { background: var(--bg-alt); color: var(--fg); }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent-fill); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--fg); padding: 8px 12px; font: inherit; font-weight: 700; border-radius: var(--radius); cursor: pointer; }
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav, .header-actions { display: none; }
  .site-header.open .wrap { flex-wrap: wrap; padding-bottom: 16px; }
  .site-header.open .nav { display: flex; flex-direction: column; width: 100%; margin: 0; order: 3; }
  .site-header.open .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .site-header.open .header-actions { display: flex; width: 100%; order: 4; margin: 8px 0 0; }
  .site-header.open .header-actions .btn { flex: 1; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--fg); color: var(--fg); }
.band .btn-primary { background: var(--band-accent); color: var(--band); }
.band .btn-primary:hover { background: #82A7FF; color: var(--band); }
.band .btn-ghost { color: var(--band-fg); border-color: #3A4560; }
.band .btn-ghost:hover { border-color: var(--band-fg); color: var(--band-fg); }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.arrow::after { content: "→"; font-weight: 400; }

/* Sections */
.sec { padding-block: clamp(64px, 8vw, 104px); }
.sec.alt { background: var(--bg-alt); }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.band { background: var(--band); color: var(--band-fg); }
.band h1, .band h2, .band h3 { color: var(--band-fg); }

/* Hero */
.hero { padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--band-line) 1px, transparent 1px), linear-gradient(90deg, var(--band-line) 1px, transparent 1px); background-size: 56px 56px; opacity: .35; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 span { color: var(--band-accent); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 0.9rem; color: var(--band-muted); display: flex; gap: 10px; align-items: baseline; }
.hero-note .mono { color: var(--band-fg); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.page-hero { padding-block: clamp(56px, 7vw, 88px); }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero h1 { max-width: 20ch; }

/* Shipment record panel (hero illustration) */
.record { background: var(--band-2); border: 1px solid var(--band-line); font-size: 0.9rem; min-width: 0; box-shadow: 0 30px 80px -40px rgba(47,107,255,.45); }
.record-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--band-line); }
.record-top .mono { color: var(--band-muted); font-size: 0.78rem; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.72rem; padding: 3px 8px; border: 1px solid currentColor; letter-spacing: .02em; white-space: nowrap; }
.tag.live { color: #6EE7B0; }
.tag.live::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.route { padding: 18px; border-bottom: 1px solid var(--band-line); display: grid; gap: 14px; }
.route-ports { display: flex; justify-content: space-between; gap: 12px; }
.route-ports b { display: block; font-family: var(--font-mono); font-size: 1.05rem; color: var(--band-fg); }
.route-ports span { color: var(--band-muted); font-size: 0.8rem; }
.route-ports .end { text-align: right; }
.track { position: relative; height: 22px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; border-top: 2px dashed #34405C; }
.track .done { position: absolute; left: 0; top: 10px; height: 2px; width: 62%; background: var(--band-accent); }
.track i { position: absolute; top: 5px; width: 12px; height: 12px; background: var(--band-2); border: 2px solid #34405C; }
.track i.on { background: var(--band-accent); border-color: var(--band-accent); }
.track .ship { position: absolute; top: 1px; left: calc(62% - 10px); width: 20px; height: 20px; background: var(--band-fg); clip-path: polygon(0 30%, 70% 30%, 100% 50%, 70% 70%, 0 70%); }
.route-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--band-muted); font-size: 0.8rem; }
.route-meta b { color: var(--band-fg); font-weight: 700; }
.route-meta .eta-shift { color: #FFC56B; }
.feed { list-style: none; margin: 0; padding: 6px 0; }
.feed li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; padding: 10px 18px; align-items: start; }
.feed li + li { border-top: 1px solid #182034; }
.feed .dot { width: 10px; height: 10px; margin-top: 6px; background: var(--band-accent); }
.feed .dot.ok { background: #4CC793; }
.feed .dot.warn { background: #FFC56B; }
.feed .who { font-weight: 700; color: var(--band-fg); font-size: 0.85rem; }
.feed .what { color: #C3CBDB; font-size: 0.85rem; }
.feed .what .mono { color: var(--band-fg); }
.feed time { font-family: var(--font-mono); font-size: 0.75rem; color: #A3ADC2; padding-top: 2px; }
.record-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--band-line); background: #0B101C; flex-wrap: wrap; }
.record-foot > span:first-child { color: #D6DDEB; font-size: 0.85rem; }
.record-foot .fake-btn { background: #FFFFFF; color: #06080F; font-weight: 800; font-size: 0.85rem; padding: 8px 14px; }
.record-caption { margin-top: 10px; font-size: 0.8rem; color: #A3ADC2; text-align: right; }
.feed li.reveal { animation: rise .5s both; }
.feed li.reveal:nth-child(2) { animation-delay: .15s; } .feed li.reveal:nth-child(3) { animation-delay: .3s; } .feed li.reveal:nth-child(4) { animation-delay: .45s; } .feed li.reveal:nth-child(5) { animation-delay: .6s; }
@keyframes rise { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }

/* Grids */
.g2, .g3, .g4 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.cell { background: var(--bg); padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.sec.alt .cell { background: var(--bg-alt); }
.sec.alt .g2.solid .cell, .sec.alt .g3.solid .cell { background: var(--bg); }
.cell p { color: var(--muted); }
.cell .k { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); letter-spacing: .04em; }
.step-n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); display: flex; align-items: center; gap: 10px; }
.step-n::after { content: ""; height: 1px; flex: 1; background: var(--line-strong); }
.agent-ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
.agent-ico svg { width: 22px; height: 22px; }
.agent-out { margin-top: 6px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg); background: var(--bg-alt); border-left: 2px solid var(--accent-fill); padding: 8px 10px; }
.sec.alt .agent-out { background: var(--bg); }

/* Split: sticky heading + list */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.split > .sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); display: grid; gap: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .split > .sticky { position: static; } }
.rows { display: grid; border-top: 1px solid var(--line-strong); }
.row { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row p { color: var(--muted); }
@media (max-width: 640px) { .row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Visibility strip */
.milestones { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--bg); }
.ms { padding: 18px 16px; border-right: 1px solid var(--line); display: grid; gap: 6px; position: relative; min-width: 0; }
.ms:last-child { border-right: 0; }
.ms::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.ms.done::before { background: var(--accent-fill); }
.ms.now::before { background: linear-gradient(90deg, var(--accent-fill) 50%, var(--line) 50%); }
.ms .mcode { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.ms b { font-size: 0.92rem; }
.ms span { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 900px) { .milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ms:nth-child(3) { border-right: 0; } .ms:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ms { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); } .ms:nth-child(2n) { border-right: 0 !important; } }
.vis-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.vis-grid > div { display: grid; gap: 8px; align-content: start; }
.vis-grid p { color: var(--muted); }
@media (max-width: 800px) { .vis-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--bg); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; background: var(--bg-alt); }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 3px 9px; white-space: nowrap; }
.pill.first { background: var(--ok-soft); color: var(--ok); }
.pill.next { background: var(--accent-soft); color: var(--accent); }
.pill.planned { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }

/* Statement / about */
.statement { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); }
.statement > div { background: var(--band); padding: 32px; display: grid; gap: 12px; }
.statement p.big { font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; line-height: 1.3; color: var(--band-fg); }
@media (max-width: 720px) { .statement { grid-template-columns: minmax(0, 1fr); } }
.leader { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: start; border: 1px solid var(--line); padding: 28px; background: var(--bg); }
.leader .mono-av { width: 96px; height: 96px; background: var(--band); color: var(--band-fg); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; position: relative; }
.leader .mono-av::after { content: ""; position: absolute; right: -6px; top: -6px; width: 16px; height: 16px; background: var(--accent-fill); }
.leader p { color: var(--muted); }
@media (max-width: 520px) { .leader { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding-block: clamp(48px, 6vw, 72px); }
.cta .wrap > div:first-child { display: grid; gap: 12px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Code */
.code { background: var(--band); color: #D6DDEB; border: 1px solid var(--band-line); font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.7; overflow-x: auto; min-width: 0; }
.code-head { display: flex; gap: 0; border-bottom: 1px solid var(--band-line); font-size: 0.75rem; }
.code-head span { padding: 10px 16px; color: var(--band-muted); border-right: 1px solid var(--band-line); }
.code-head span.on { color: var(--band-fg); box-shadow: inset 0 -2px 0 var(--band-accent); }
.code pre { margin: 0; padding: 18px; white-space: pre; }
.code .c { color: #9AA6BF; } .code .s { color: #8FD6A8; } .code .k2 { color: #8FB0FF; } .code .n { color: #FFC56B; }

/* Mode table */
.modes td:first-child { font-weight: 700; white-space: nowrap; }

/* Lists with square bullets */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; }
.ticks li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; background: var(--accent-fill); }
.band .ticks li::before { background: var(--band-accent); }

/* Forms */
.form-shell { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.aside { display: grid; gap: 24px; }
.contact-card { border: 1px solid var(--line); background: var(--bg); padding: 24px; display: grid; gap: 10px; }
.contact-card .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.email-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.email-line .addr { font-size: 1.15rem; font-weight: 700; user-select: all; word-break: break-all; }
form.card { border: 1px solid var(--line); background: var(--bg); padding: clamp(20px, 4vw, 36px); display: grid; gap: 20px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.9rem; padding: 0; }
.field .hint { font-weight: 500; color: var(--muted); font-size: 0.82rem; }
input[type=text], input[type=email], input[type=url], input[type=password], select, textarea { width: 100%; font: inherit; font-size: 0.95rem; color: var(--fg); background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-fill); outline-offset: -1px; border-color: var(--accent-fill); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line-strong); padding: 8px 12px; font-size: 0.88rem; font-weight: 600; cursor: pointer; background: var(--field); }
.chip span .mono { color: var(--muted); }
.chip input:checked + span { border-color: var(--accent-fill); background: var(--accent-soft); color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent-fill); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.9rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-fill); }
.err { color: #C2302B; font-size: 0.82rem; font-weight: 600; }
:root[data-theme="dark"] .err { color: #FF8A80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FF8A80; } }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C2302B; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--muted); }
.success { border: 1px solid var(--line); border-top: 3px solid var(--ok); background: var(--bg); padding: 32px; display: grid; gap: 12px; }
.success h2 { font-size: var(--step-2); }
.success h2 { display: flex; gap: 10px; align-items: center; }
.success h2::before { content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; background: var(--ok-soft); color: var(--ok); font-size: 0.95rem; }
.success p { color: var(--muted); }
.preview-note { font-size: 0.8rem; color: var(--warn); background: var(--warn-soft); padding: 8px 12px; }

/* Partner types */
.ptype { display: grid; gap: 10px; }
.ptype .who { font-size: 0.85rem; color: var(--muted); }
.ptype .who b { color: var(--fg); }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); border-top: 1px solid var(--band-line); }
.site-footer .wrap { padding-block: 56px 32px; display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 800px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > div:first-child { grid-column: 1 / -1; } }
.site-footer .logo { color: #FFFFFF; --logo-accent: #5B8CFF; --logo-trade: #5B8CFF; }
.site-footer h4, .unused-h4 { color: var(--band-fg); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--band-muted); text-decoration: none; }
.site-footer a:hover { color: var(--band-fg); }
.foot-tag { margin-top: 14px; max-width: 36ch; font-size: 0.92rem; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--band-line); padding-top: 24px; font-size: 0.82rem; }

/* Login */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.login-side { background: var(--band); color: var(--band-fg); padding-block: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: 32px; }
.login-side::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--band-line) 1px, transparent 1px), linear-gradient(90deg, var(--band-line) 1px, transparent 1px); background-size: 48px 48px; opacity: .3; pointer-events: none; }
.login-side > * { position: relative; }
.login-side .logo { color: #FFFFFF; --logo-accent: #5B8CFF; --logo-trade: #5B8CFF; }
.login-side .quote { display: grid; gap: 16px; max-width: 30rem; }
.login-side .quote p { color: var(--band-muted); }
.login-main { display: grid; place-items: center; padding-block: 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); background: var(--bg); }
.login-box { width: 100%; max-width: 400px; display: grid; gap: 22px; }
.login-box h1 { font-size: var(--step-3); }
.login-box > p { color: var(--muted); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 64px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--accent); font: inherit; font-weight: 700; font-size: 0.82rem; cursor: pointer; padding: 6px 8px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.9rem; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .1em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-foot { font-size: 0.85rem; color: var(--muted); text-align: center; }
.mini-status { display: grid; gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); max-width: 30rem; }
.mini-status div { background: var(--band-2); padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: var(--band-muted); }
.mini-status b { font-family: var(--font-mono); font-weight: 500; color: var(--band-fg); font-size: 0.8rem; }
.mini-status .ok { color: #6EE7B0; }
.mini-status .wait { color: #FFC56B; }
.login-mobile-logo { display: none; color: var(--logo-fg); }
.login-mobile-logo svg { height: 26px; width: auto; }
@media (max-width: 860px) { .login { grid-template-columns: minmax(0, 1fr); } .login-side { display: none; } .login-mobile-logo { display: inline-flex; } }
.back-link { font-size: 0.9rem; font-weight: 600; text-decoration: none; }
tbody th { text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--fg); background: var(--bg); font-weight: 700; }
.compare td:last-child, .compare th:last-child { background: var(--accent-soft); color: var(--accent); }
.compare td { color: var(--muted); }
.compare td:last-child b { color: var(--accent); }
.hero-note .mono { white-space: nowrap; }
.feed .dot.ext { background: transparent; border: 2px solid var(--band-muted); }
.a2a .arrow-to { font-weight: 500; color: var(--band-muted); font-size: 0.8rem; margin-left: 4px; }
.pillars-sec { padding-block: 0; background: var(--band); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--band-line); }
.pillars > div { padding: 32px 28px 40px 0; display: grid; gap: 10px; align-content: start; }
.pillars > div + div { padding-left: 28px; border-left: 1px solid var(--band-line); }
.pill-big { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--band-fg); display: flex; align-items: center; gap: 12px; }
.pill-big::before { content: ""; width: 10px; height: 10px; background: var(--band-accent); }
.pillars p { color: var(--band-muted); }
@media (max-width: 800px) { .pillars { grid-template-columns: minmax(0, 1fr); } .pillars > div, .pillars > div + div { padding: 24px 0; border-left: 0; border-top: 1px solid var(--band-line); } .pillars > div:first-child { border-top: 0; } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nowrap { white-space: nowrap; }
.form-error { color: #B42318; background: #FEECEB; padding: 10px 12px; font-weight: 600; font-size: 0.9rem; }
.inline-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 24px 28px; border: 1px solid var(--line); border-left: 3px solid var(--accent-fill); background: var(--bg-alt); }
.inline-cta p { max-width: 60ch; }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: var(--step-1); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding: 0 0 22px; max-width: 65ch; }
.login-big { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1.15; color: var(--band-fg); text-wrap: balance; }
.foot-h { color: var(--band-fg); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; font-weight: 700; }
.legal { max-width: 72ch; display: grid; gap: 18px; }
.legal h2 { font-size: var(--step-2); margin-top: 18px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.ms .mcode { color: var(--fg); font-weight: 500; }
.leader { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center; }
.leader-photo { display: block; position: relative; }
.leader-photo img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 603; object-fit: cover; }
.leader-photo::after { content: ""; position: absolute; right: -8px; top: -8px; width: 18px; height: 18px; background: var(--accent-fill); }
@media (max-width: 560px) { .leader { grid-template-columns: minmax(0, 1fr); } .leader-photo { max-width: 240px; } }
.flag { width: 24px; height: 16px; display: block; flex: none; border-radius: 1px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.foot-markets { display: grid; gap: 4px; }
.flags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.flags li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--band-muted); }
.cnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cnav-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--fg); font-weight: 600; font-size: 0.88rem; }
.cnav-item:hover { border-color: var(--accent-fill); color: var(--accent); }
.cnav .flag, .csec .flag { box-shadow: 0 0 0 1px var(--line-strong); }
.csec { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 12px; scroll-margin-top: 90px; }
.csec h3 { display: flex; align-items: center; gap: 12px; font-size: var(--step-1); }
.site-footer .flags { display: flex; }
