/* © 2026 Cromulent, Inc. All Rights Reserved. */
/* site.css - shipbit.io: train.cromulent.tech's splash frame (motto and nav, the stage, the lockup at display size, the
   line, the lede, the way in), then the bento bands. One accent leads: sea green, the colour of water on a chart. */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/fonts/sora-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --surface: #06101a;
  --panel: #0c1824;
  --panel-2: #122233;
  --line: #1e3346;
  --line-2: #2c4760;
  --faint: #7d93a8;
  --ink: #eef6fb;
  --ink-2: #c4d4e0;
  --muted: #93a8ba;
  --accent: #1fd1a0;
  --accent-press: #17b088;
  --accent-ink: #04120d;
  --accent-soft: rgba(31, 209, 160, .12);
  --bloom-1: rgba(31, 209, 160, .14);
  --bloom-2: rgba(238, 246, 251, .06);
  --grid: rgba(238, 246, 251, .05);
  --ink-glow: 0 0 28px rgba(31, 209, 160, .24), 0 0 2px rgba(200, 255, 236, .3);
  --display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --type-label: 11px; --type-body: 15px;
  --radius: 16px;
  --enter: cubic-bezier(.16, 1, .3, 1);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px), 4vw);
  --gutter-r: max(16px, env(safe-area-inset-right, 0px), 4vw);
}
* { box-sizing: border-box; }
html { background: var(--surface); scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 var(--type-body)/1.55 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 12% -10%, rgba(31, 209, 160, .07), transparent 70%),
              radial-gradient(70% 60% at 92% -6%, rgba(238, 246, 251, .045), transparent 70%); }
a { color: inherit; }
.defs { position: absolute; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, .word { text-shadow: var(--ink-glow); }
.gather { color: var(--accent); text-shadow: 0 0 28px rgba(31, 209, 160, .4); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 12px;
  font: 600 var(--type-body)/1 var(--body); text-decoration: none; border: 1px solid var(--line-2); color: var(--ink);
  background: transparent; transition: background 140ms, border-color 140ms; white-space: nowrap; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(31, 209, 160, .35), 0 10px 40px -8px rgba(31, 209, 160, .5); }
.btn.primary:hover { background: var(--accent-press); border-color: var(--accent-press); }
.btn.big { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; }

/* ---------- the splash ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(48% 42% at 50% 46%, var(--bloom-2), transparent 72%),
              radial-gradient(30% 26% at 50% 34%, var(--bloom-1), transparent 70%); }
.land-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter-r) 0 var(--gutter-l);
  position: relative; z-index: 2; }
.motto { display: flex; align-items: center; gap: 14px; margin: 0; font: 400 var(--type-label)/1 var(--mono); letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted); }
.motto::before { content: ""; width: 32px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.land-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px clamp(14px, 2.4vw, 28px); }
.land-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.land-nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 640px) { .motto { display: none; } .land-head { justify-content: center; } }

.hero-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 var(--gutter-r) clamp(24px, 5vh, 64px) var(--gutter-l); position: relative; z-index: 1; }

.stage { --h: clamp(220px, 38vh, 430px); position: relative; width: min(100%, calc(var(--h) * 2.4)); height: var(--h); flex: none;
  margin-bottom: clamp(4px, 1.4vh, 18px); }
.stage .floor { position: absolute; left: -30%; right: -30%; bottom: -6%; height: 60%; pointer-events: none;
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 36px 36px,
              linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 36px 36px;
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(55% 70% at 50% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(55% 70% at 50% 35%, #000 10%, transparent 75%); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate { position: absolute; left: 50%; top: -2px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px;
  white-space: nowrap; z-index: 2; font: 600 clamp(12px, 1.05vw, 15px)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); }
.plate .mk { display: inline-block; width: 1.1em; height: 1.1em; border: 1.5px dashed var(--muted); border-radius: 3px; }
.plate .nm { text-transform: none; letter-spacing: .02em; }
.plate .bar { width: 64px; height: 4px; background: var(--line); position: relative; overflow: hidden; }
.plate .bar i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--accent); }
.plate .pc { color: var(--ink); font-variant-numeric: tabular-nums; min-width: 3.4em; text-align: right; }
.plate[data-state="shipping"] .mk { border: 0; background: var(--accent); }
.plate[data-state="verified"] .mk { border: 0; background: var(--accent); box-shadow: 0 0 12px rgba(31, 209, 160, .7); }
.plate[data-state="verified"] .nm { color: var(--ink); }
@media (max-width: 520px) { .plate .bar { display: none; } }

.splash-logo { --logo: min(15vw, 11.5vh, 150px); display: flex; align-items: center; justify-content: center; gap: .16em; margin: 0;
  font-size: var(--logo); line-height: 1; }
.splash-logo .mark { width: .9em; height: .9em; flex: none; color: var(--accent); filter: drop-shadow(0 0 .12em rgba(31, 209, 160, .45)); }
.word { font-weight: 800; letter-spacing: -.055em; color: var(--ink); display: inline-flex; align-items: baseline; white-space: nowrap;
  padding-bottom: .05em; }
/* the i's dot is a bit in flight: a small square of the accent, set a little off its stem */
.word .i { position: relative; display: inline-block; }
.word .i::after { content: ""; position: absolute; left: 62%; top: .1em; width: .17em; height: .17em; transform: translateX(-50%);
  background: var(--accent); border-radius: .03em; box-shadow: 0 0 .2em rgba(31, 209, 160, .6); }

.hero-copy { display: flex; flex-direction: column; align-items: center; margin-top: clamp(18px, 4vh, 48px); }
.hero h1 { margin: 0; font: 800 min(clamp(28px, 3.3vw, 52px), 8.4vw, 6.2vh)/1.05 var(--display); letter-spacing: -.04em; }
.hero h1 span { white-space: nowrap; display: inline-block; }
.lede { margin: clamp(12px, 2.4vh, 24px) 0 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2);
  max-width: 36em; text-wrap: balance; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: clamp(20px, 4vh, 44px); }
.steps-line { margin: clamp(12px, 2vh, 20px) auto 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 36em;
  text-wrap: balance; }
.tally { position: absolute; right: var(--gutter-r); bottom: 18px; margin: 0; font: 400 var(--type-label)/1 var(--mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint); z-index: 2; }
.tally b { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-copy > *, .splash-logo { animation: arrive 700ms var(--enter) both; }
.hero-copy > :nth-child(2) { animation-delay: 120ms; } .hero-copy > :nth-child(3) { animation-delay: 220ms; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- below the splash ---------- */
.band { max-width: 1240px; margin: 0 auto; padding-block: clamp(56px, 9vw, 104px) 0; padding-left: var(--gutter-l);
  padding-right: var(--gutter-r); }
.eyebrow { margin: 0 0 14px; font: 600 var(--type-label)/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.band h2 { margin: 0 0 clamp(26px, 4vw, 40px); font: 800 clamp(30px, 4.4vw, 52px)/1.06 var(--display); letter-spacing: -.04em;
  max-width: 18em; text-wrap: balance; }
.bento { display: grid; gap: 14px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.cell { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .035), transparent 60%), var(--panel); }
.cell::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: var(--accent); opacity: .5; }
.cell .n { margin: 0 0 12px; font: 600 var(--type-label)/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 10px; }
.cell .n::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.cell h3 { margin: 0 0 8px; font: 700 clamp(21px, 2.1vw, 27px)/1.15 var(--display); letter-spacing: -.025em; }
.cell p { margin: 0; color: var(--muted); max-width: 44ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { font: 400 12px/1 var(--mono); padding: 7px 9px; border: 1px solid var(--line-2); color: var(--ink-2); }
.steps { grid-column: span 7; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.steps .cell:nth-child(2) { grid-row: span 2; }
.feature { grid-column: span 5; border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: radial-gradient(80% 60% at 80% 0%, rgba(31, 209, 160, .13), transparent 70%), var(--panel);
  box-shadow: 0 30px 80px -40px rgba(31, 209, 160, .45); display: flex; flex-direction: column; }
.feature h3 { font-size: clamp(25px, 2.7vw, 34px); }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: auto 0 0; padding-top: 28px; }
.figures div { border-top: 1px solid var(--line-2); padding-top: 12px; }
.figures dt { font: 800 clamp(26px, 3vw, 38px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.figures dd { margin: 6px 0 0; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.trust .cell { grid-column: span 4; }
.close { text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(56px, 9vw, 104px); }
.close h2 { margin-bottom: 0; }
@media (max-width: 960px) {
  .steps, .feature, .trust .cell { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps .cell:nth-child(2) { grid-row: auto; }
}

footer { border-top: 1px solid var(--line); padding: 28px var(--gutter-r) 36px var(--gutter-l); }
.copyright { margin: 0 auto; max-width: 1240px; font: 400 12px/1.6 var(--mono); color: var(--faint); }
.copyright a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .splash-logo { animation: none; }
}
