/* ShipTastic — a RoboTastic product
   Production stylesheet, on the RoboTastic brand system (matches the approved
   design canvas). Blue leads, teal is the spark, deep navy for dark bands,
   Inter throughout, light-only. Class-based, real breakpoints. */

:root {
  --navy: #04044a;        /* headings, dark buttons */
  --navy-deep: #000023;   /* darkest bands, footer ink */
  --brand: #2683c6;       /* primary brand blue: CTAs, links, accents */
  --brand-hover: #37569d;
  --teal: #2fd3c7;        /* spark: gradient endpoint, badges, dark-band eyebrow */
  --mint: #eaf6f5;        /* soft callouts */
  --icon-bg: #e9f1fb;     /* blue-tint icon tiles */
  --bg: #f4f4ff;
  --surface: #ffffff;
  --ink: #0f172a;
  --slate: #5a6473;
  --slate-2: #3a4150;
  --line: #e4e6f2;
  --border: #c1c3d0;
  --muted: #84acb6;

  --ok-bg: #e7fbf9;   --ok-fg: #0b7d74;
  --warn-bg: #fef3c7; --warn-fg: #a15c07;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --pill: 999px;

  --gutter: 40px;
  --maxw: 1280px;

  --shadow-sm: 0 1px 2px rgba(4, 4, 74, .05);
  --shadow-md: 0 10px 30px rgba(4, 4, 74, .08);
  --shadow-brand: 0 10px 30px -8px rgba(38, 131, 198, .5);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.0; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; }

p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
img, svg { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 94px); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
}
.lede { color: var(--slate); font-size: clamp(16px, 2vw, 18px); line-height: 1.65; }
.muted { color: var(--slate); }
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 52px); }
.section-head .eyebrow { display: block; margin-bottom: 12px; }
.section-head h2 + p { margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-family: var(--font-body); font-weight: 700;
  font-size: 15px; border-radius: var(--r-sm); padding: 14px 22px; line-height: 1;
  transition: transform .12s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-accent { background: var(--teal); color: var(--navy-deep); }
.btn-accent:hover { background: #26bcb1; color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #05052f; color: #fff; }
.btn-ghost { background: var(--surface); color: var(--navy); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--slate); color: var(--navy); }
.btn-pill { border-radius: var(--pill); }
.btn-lg { padding: 16px 26px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--slate-2); font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: var(--pill); }
.nav-links a:hover { background: #eef2fb; color: var(--navy); }
.nav-links a[aria-current="page"] { background: #e9f1fb; color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: clamp(48px, 7vw, 84px); }
.hero h1 { margin: 20px 0 20px; }
.hero h1 .accent { color: var(--brand); }
.hero .lede { max-width: 560px; }
.track {
  margin-top: 30px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 8px; display: flex; gap: 8px; box-shadow: var(--shadow-sm);
}
.track input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 18px; height: 54px; font: inherit; background: transparent; color: var(--ink); }
.track .btn { height: 54px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: var(--slate); font-size: 14px; }
.hero-points span::before { content: "\2713"; color: var(--brand); font-weight: 800; margin-right: 6px; }

/* Hero visual */
.hero-card {
  height: 480px; border-radius: var(--r-xl); position: relative; overflow: hidden;
  background: linear-gradient(160deg, #04044a, #000023 60%, #000018);
  box-shadow: 0 26px 55px -22px rgba(4, 4, 74, .55);
}
.hero-card svg.route { position: absolute; inset: 0; width: 100%; height: 100%; }
.chip {
  position: absolute; color: #fff; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16); padding: 14px 16px; border-radius: 14px;
}
.chip.live { top: 22px; left: 22px; }
.chip .kicker { display: block; color: var(--teal); font-weight: 800; letter-spacing: .16em; font-size: 10px; }
.chip b { display: block; margin-top: 6px; }
.chip .sub { font-size: 12px; color: #cbd5e1; }
.hero-status {
  position: absolute; left: 22px; right: 22px; bottom: 22px; background: #fff;
  padding: 18px; border-radius: var(--r-md); box-shadow: var(--shadow-md);
}
.hero-status .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-status .ref { font-size: 11px; color: var(--muted); font-weight: 800; letter-spacing: .06em; }
.hero-status .lane { font-weight: 800; color: var(--navy); margin-top: 4px; }
.progress { height: 8px; background: #eef0f6; border-radius: var(--pill); margin-top: 16px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--teal)); border-radius: var(--pill); }
.hero-status .meta { display: flex; justify-content: space-between; color: var(--slate); font-size: 12px; margin-top: 10px; }

.badge { display: inline-flex; align-items: center; white-space: nowrap; border-radius: var(--pill); padding: 7px 10px; font-size: 12px; font-weight: 800; }
.badge-ok { background: var(--ok-bg); color: var(--ok-fg); }
.badge-warn { background: var(--warn-bg); color: var(--warn-fg); }

/* Audience strip */
.audience { background: var(--surface); border-block: 1px solid var(--line); }
.audience .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding-block: 26px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }

/* Cards grid */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card h3 { margin: 20px 0 8px; }
.card p { color: var(--slate); font-size: 15px; }
.icon-tile { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--icon-bg); display: grid; place-items: center; }
.icon-tile svg { stroke: var(--brand); }

/* Dark band */
.band-dark { background: var(--navy-deep); color: #fff; }
.band-dark h2 { color: #fff; }
.band-dark .eyebrow { color: var(--teal); }
.band-dark .lede { color: #cbd5e1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.panel { border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); padding: 15px; border-radius: var(--r-lg); }
.mini { background: #fff; color: var(--navy); border-radius: var(--r-md); padding: 16px; }
.mini .hd { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mini .hd small { display: block; color: var(--slate); font-weight: 500; }
.mini-row { padding: 15px 0; border-bottom: 1px solid #f2f3f9; }
.mini-row:last-child { border-bottom: 0; }
.mini-row .ref { font-weight: 800; color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.mini-row .lane { display: block; margin: 4px 0; color: var(--navy); font-weight: 800; }
.mini-row .vessel { font-size: 12px; color: var(--slate); }
.mini-row .track-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.mini-row .progress { flex: 1; height: 6px; margin: 0; }

/* Steps */
.step { background: var(--bg); border-radius: var(--r-lg); padding: 30px; }
.step .n { font-weight: 800; color: var(--teal); letter-spacing: .12em; }
.step h3 { margin: 14px 0 8px; font-size: 22px; }
.step p { color: var(--slate); font-size: 15px; }

/* Suite links */
.suite { display: grid; gap: 14px; }
.suite a { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.suite a:hover { border-color: var(--brand); }
.suite h3 { font-size: 18px; margin: 0 0 6px; }
.suite p { color: var(--slate); font-size: 14.5px; margin: 0; }

/* Trust stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.stat .num { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.stat .lbl { font-size: 14px; color: var(--slate); margin-top: 4px; }
.quote { background: var(--mint); border-radius: var(--r-md); padding: 26px; }
.quote p { font-size: 18px; color: var(--navy); font-weight: 600; }
.quote .who { margin-top: 12px; font-size: 14px; color: var(--slate); }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; color: var(--muted); font-weight: 800; font-size: 15px; }

/* CTA band — dark, teal button (matches canvas) */
.cta-band {
  background: linear-gradient(120deg, #04044a, #000023);
  border-radius: var(--r-xl); padding: clamp(32px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(47, 211, 199, .14)); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band .eyebrow { color: var(--teal); }
.cta-band h2 { margin-top: 10px; font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.02em; color: #fff; }
.cta-band .btn-primary { background: var(--teal); color: var(--navy-deep); box-shadow: none; }
.cta-band .btn-primary:hover { background: #26bcb1; color: var(--navy-deep); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 20px 45px -18px rgba(38, 131, 198, .4); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 30px; background: linear-gradient(90deg, var(--brand), var(--teal)); color: #fff; font-weight: 800; font-size: 12px; padding: 6px 13px; border-radius: var(--pill); }
.plan .pname { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); }
.plan .ptag { color: var(--slate); font-size: 14px; margin-top: 4px; }
.plan .price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.plan .price .amt { font-family: var(--font-display); font-size: 46px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.plan .price .per { color: var(--slate); font-size: 14px; }
.plan .allow { font-size: 14px; color: var(--brand); font-weight: 700; margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 26px; color: var(--slate-2); font-size: 14.5px; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.plan .btn { width: 100%; margin-top: auto; }
.billing-note { color: var(--slate); font-size: 14px; text-align: center; margin-top: 20px; }

/* FAQ / glossary */
.qa { margin: 0 auto; columns: 3; column-gap: 16px; }
.qa details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 2px 20px; break-inside: avoid; margin-bottom: 14px; }
.qa summary { padding: 15px 0; font-size: 14.5px; }
.qa summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--brand); font-weight: 800; font-size: 20px; }
.qa details[open] summary::after { content: "\2013"; }
.qa details > p { color: var(--slate); padding: 0 0 18px; font-size: 15px; }
.terms { columns: 4; column-gap: 16px; }
@media (max-width: 1024px) { .terms { columns: 3; } }
.term { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 15px 17px; break-inside: avoid; margin-bottom: 14px; }
.term dt { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 15px; }
.term dd { margin: 6px 0 0; color: var(--slate); font-size: 13.5px; line-height: 1.55; }
.cat-title { grid-column: 1 / -1; margin-top: 20px; }

/* Collapsible category sections (glossary) */
.cat-sec { border-bottom: 1px solid var(--line); }
.cat-sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 20px 4px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -.01em; }
.cat-sec > summary::-webkit-details-marker { display: none; }
.cat-sec > summary .cs-count { color: var(--muted); font-size: 13px; font-weight: 600; }
.cat-sec > summary .cs-chev { margin-left: auto; color: var(--brand); display: inline-flex; transition: transform .25s ease; }
.cat-sec[open] > summary .cs-chev { transform: rotate(180deg); }
.cat-sec .cs-body { padding: 4px 0 24px; }

/* Sign in */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 76px); }
.auth-form { display: grid; place-items: center; padding: 40px; }
.auth-form .inner { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-md); }
.auth-aside { background: linear-gradient(160deg, #04044a, #000023 60%, #000018); color: #fff; display: grid; place-items: center; padding: 40px; }
.auth-aside .inner { max-width: 420px; }
.auth-aside h2 { color: #fff; }
.auth-aside p { color: #cbd5e1; margin-top: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.field input { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px 16px; font: inherit; }
.field input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.auth-err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 12px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px; }

/* Success */
.success { max-width: 560px; margin: 0 auto; text-align: center; padding-block: 80px; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-bg); color: var(--ok-fg); display: grid; place-items: center; margin: 0 auto 24px; font-size: 34px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1.2fr; gap: 32px; padding-block: 48px; }
.foot-grid h4 { font-family: var(--font-body); font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.foot-grid a { display: block; padding: 5px 0; color: var(--slate); font-size: 14px; }
.foot-grid a:hover { color: var(--navy); }
.foot-about p { color: var(--slate); font-size: 14px; margin-top: 14px; max-width: 320px; }
.foot-legal { border-top: 1px solid var(--line); text-align: center; padding-block: 18px; color: var(--muted); font-size: 12px; }

/* Hero product-shot (recreates the real v3 shipment-detail view, mock data) */
.hero2 { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 44px; align-items: center; padding-block: clamp(44px, 6vw, 80px); }
.hero2 .hero-copy { max-width: none; }
.hero-shot { margin-top: 0; }
/* Compact the shipment panel so it fits the right column at any desktop width */
.hero-shot .v3-bar { padding: 12px 14px; gap: 10px; }
.hero-shot .v3-progress { padding: 18px 16px 6px; }
.hero-shot .v3-dc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.hero-shot .v3-dc { padding: 11px; }
.hero-shot .v3-lower { grid-template-columns: 1fr; }
.hero-shot .v3-map2 { border-right: 0; border-bottom: 1px solid var(--line); }
.hero-shot .v3-timeline { max-height: 210px; }
@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; gap: 34px; }
  .hero-shot .v3-dc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.v3-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfcff; flex-wrap: wrap; }
.v3-bar .v3ic { width: 38px; height: 38px; border-radius: 10px; background: var(--icon-bg); display: grid; place-items: center; }
.v3-bar .v3ic svg { stroke: var(--brand); width: 19px; height: 19px; }
.v3-cid { font-weight: 800; color: var(--brand); letter-spacing: .02em; }
.v3-lane { font-weight: 800; color: var(--navy); }
.v3-sub { font-size: 12px; color: var(--slate); }
.badge-tr { background: #e9f1fb; color: var(--brand); }
.v3-live { margin-left: auto; color: var(--slate); font-size: 12px; display: flex; align-items: center; gap: 7px; }
.v3-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.v3-progress { padding: 22px 22px 8px; }
.v3-prog-line { position: relative; height: 3px; background: var(--line); border-radius: 2px; margin: 0 6px; }
.v3-prog-line .pf { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--teal)); border-radius: 2px; transition: width 1.8s cubic-bezier(.6,0,.2,1); }
.in .v3-prog-line .pf, .hero-in .v3-prog-line .pf { width: 62%; }
.v3-prog-line i { position: absolute; top: -4px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; }
.v3-prog-line .p0 { left: -3px; background: var(--brand); }
.v3-prog-line .p1 { right: -3px; background: var(--teal); }
.v3-prog-line .pv { top: -3px; left: 62%; width: 9px; height: 9px; background: #fff; box-shadow: 0 0 0 3px rgba(38,131,198,.25); }
.v3-ends { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: var(--slate); padding: 0 2px; }
.v3-ends b { display: block; color: var(--navy); font-size: 13px; margin-bottom: 2px; }
.v3-ends .r { text-align: right; }
.v3-dc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 18px; }
.v3-dc { border: 1px solid var(--line); border-radius: 12px; padding: 13px; display: flex; gap: 10px; align-items: center; }
.v3-dc .dcic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.v3-dc .dcic svg { width: 15px; height: 15px; }
.v3-dc small { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.v3-dc b { color: var(--navy); font-size: 13px; }
.v3-lower { display: grid; grid-template-columns: 1.7fr 1fr; border-top: 1px solid var(--line); }
.v3-map2 { position: relative; overflow: hidden; border-right: 1px solid var(--line); background: #eef2fb; aspect-ratio: 8 / 3; }
.v3-map2 .mapbg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .96; }
.v3-map2 .m-head { position: absolute; top: 12px; left: 12px; z-index: 3; background: rgba(255,255,255,.85); backdrop-filter: blur(4px); padding: 7px 11px; border-radius: 10px; box-shadow: 0 1px 4px rgba(4,4,74,.1); }
.v3-map2 .m-head b { color: var(--navy); font-size: 13px; }
.v3-map2 .m-head span { display: block; font-size: 11px; color: var(--slate); }
.v3-tag { position: absolute; top: 14px; right: 16px; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 5px 12px; font-size: 11px; font-weight: 800; color: var(--brand); }
.v3-legend { position: absolute; bottom: 12px; left: 12px; z-index: 3; display: inline-flex; flex-wrap: wrap; gap: 12px; font-size: 10.5px; color: var(--slate); background: rgba(255,255,255,.85); backdrop-filter: blur(4px); padding: 7px 11px; border-radius: 10px; box-shadow: 0 1px 4px rgba(4,4,74,.1); }
.v3-tag { z-index: 3; }
.v3-legend span { display: inline-flex; align-items: center; gap: 5px; }
.v3-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.v3-timeline { padding: 16px 18px; max-height: 360px; overflow: hidden; position: relative; }
.v3-timeline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #fff); }
.v3-tl-title { font-size: 13px; font-weight: 800; color: var(--navy); }
.v3-tl-sub { font-size: 11px; color: var(--slate); margin-bottom: 12px; }
.tl { position: relative; padding-left: 20px; }
.tl::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 0; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 16px; }
.tl-item::before { content: ""; position: absolute; left: -19px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.tl-item.port::before { background: var(--navy); }
.tl-item b { display: block; color: var(--navy); font-size: 13px; }
.tl-item span { font-size: 11px; color: var(--slate); }
.tl-item .car { display: inline-block; margin-top: 3px; font-size: 10px; font-weight: 800; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 900px) {
  .v3-dc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-lower { grid-template-columns: 1fr; }
  .v3-map2 { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .v3-bar { gap: 8px; }
  .v3-live { margin-left: 0; }
  .v3-dc-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav dropdown */
.has-drop { position: relative; }
.drop-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: .2s ease; z-index: 50;
}
.has-drop:hover .drop-panel, .has-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-panel a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--slate-2); font-weight: 600; font-size: 14px; }
.drop-panel a:hover { background: #eef2fb; color: var(--navy); }
.drop-panel a small { display: block; color: var(--slate); font-weight: 400; font-size: 12px; margin-top: 2px; }

/* Proof chips (hero) */
.proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.proof span { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--navy); }
.proof span b { color: var(--brand); }

/* Marquee items */
.marq { padding-block: 30px; background: var(--surface); border-block: 1px solid var(--line); }
.marq-head { text-align: center; padding-bottom: 20px; }
.marquee-track { align-items: center; }
.marq-logo { height: 34px; width: auto; object-fit: contain; display: block; opacity: .92; filter: saturate(1.05); }
.marq-item { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 800; font-size: 16px; letter-spacing: .01em; }
.marq-item svg { width: 18px; height: 18px; stroke: var(--brand); opacity: .8; }

/* Product showcase (mirrors real v3) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase.rev .copy { order: 2; }
.showcase .copy h2 { font-size: clamp(26px, 3.2vw, 38px); }
.frame { border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 60px -30px rgba(4,4,74,.4); overflow: hidden; }
.frame-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcff; }
.frame-top i { width: 10px; height: 10px; border-radius: 50%; background: #d7dbe8; display: inline-block; }
.frame-top .ft-title { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.frame-body { padding: 20px; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; background: #fff; }
.kpi .k-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--icon-bg); display: grid; place-items: center; margin-bottom: 10px; }
.kpi .k-ic svg { width: 16px; height: 16px; stroke: var(--brand); }
.kpi .k-val { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.kpi .k-lbl { font-size: 12px; color: var(--slate); margin-top: 5px; }
.kpi .k-val.ok { color: var(--ok-fg); }
.vrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f2f3f9; }
.vrow:last-child { border-bottom: 0; }
.vrow .vic { width: 32px; height: 32px; border-radius: 9px; background: var(--icon-bg); display: grid; place-items: center; flex: none; }
.vrow .vic svg { width: 16px; height: 16px; stroke: var(--brand); }
.vrow .vmeta { flex: 1; min-width: 0; }
.vrow .vmeta b { display: block; color: var(--navy); font-size: 14px; }
.vrow .vmeta span { font-size: 12px; color: var(--slate); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.ai-chip { border: 1px solid var(--line); background: #fbfcff; border-radius: var(--pill); padding: 9px 14px; font-size: 13px; color: var(--slate-2); font-weight: 600; }
.ai-input { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: var(--pill); padding: 12px 16px; color: var(--muted); font-size: 14px; }
.ai-input .send { margin-left: auto; background: var(--brand); color: #fff; border-radius: var(--pill); padding: 8px 16px; font-weight: 700; font-size: 13px; }

/* Modules flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.mod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: relative; }
.mod .m-n { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--teal); }
.mod .m-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--icon-bg); display: grid; place-items: center; margin: 14px 0; }
.mod .m-ic svg { stroke: var(--brand); }
.mod h3 { font-size: 20px; }
.mod p { color: var(--slate); font-size: 14.5px; margin-top: 8px; }

/* Resource cards */
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.res { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.res .r-k { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--brand); text-transform: uppercase; }
.res h3 { margin: 12px 0 8px; font-size: 24px; }
.res p { color: var(--slate); font-size: 15px; }
.res .r-count { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--navy); }

/* Filter bar (FAQ/glossary) */
.filterbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; max-width: 860px; margin: 0 auto 28px; }
.filterbar input { flex: 1; min-width: 220px; border: 1px solid var(--border); border-radius: var(--pill); padding: 13px 20px; font: inherit; }
.filterbar input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 860px; margin: 0 auto 28px; }
.cats button { border: 1px solid var(--line); background: var(--surface); color: var(--slate-2); border-radius: var(--pill); padding: 8px 16px; font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; }
.cats button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase.rev .copy { order: 0; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 14px 20px; border-radius: var(--pill); box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: .25s ease; font-size: 14px; z-index: 60; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Breakpoints ---------- */
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .qa { columns: 2; }
  .terms { columns: 2; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { height: 380px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-3, .grid-2, .stats { grid-template-columns: 1fr; }
  .qa, .terms { columns: 1; }
  .track { flex-direction: column; }
  .track .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .audience .wrap { gap: 10px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
