/* ============================================================================
   EzzyFlow — landing page
   Refined fleet-blue + green accent (pulled from the real broker app),
   Terminal-style navy bands, Space Grotesk display + JetBrains Mono labels.
   Built by a trucker, for truckers. Motion is tasteful and earns its place.
   ========================================================================== */

:root {
  /* brand — sampled from the EzzyFlow broker app */
  --blue: #1d4ed8;
  --blue-ink: #1a43bb;       /* hover / pressed */
  --blue-deep: #16329a;
  --blue-soft: #eef3ff;
  --blue-line: #d6e2fb;

  --green: #15a34a;          /* the green half of the logo mark + "approved" */
  --green-ink: #0f7d39;
  --green-soft: #e9f8ef;

  --navy: #0a1326;           /* dark bands */
  --navy-2: #0f1c38;
  --navy-line: rgba(255,255,255,.10);

  --amber: #e9930b;
  --amber-soft: #fff4e0;
  --rose: #e5484d;
  --rose-soft: #fdecec;

  --accent: var(--blue);
  --accent-ink: var(--blue-ink);
  --accent-soft: var(--blue-soft);

  /* cool neutrals */
  --ink: #0d1626;
  --ink-2: #36445b;
  --ink-3: #647085;
  --ink-4: #97a1b3;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --rule: #e7eaf1;
  --rule-2: #f0f2f7;

  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --head-font: var(--mono);   /* hero headline — flips via tweak */

  --pad-x: clamp(20px, 4.5vw, 64px);
  --pad-section: 104px;
  --max: 1240px;
  --r: 16px;
  --r-sm: 10px;
  --r-lg: 22px;
  --shadow-card: 0 1px 2px rgba(13,22,38,.04), 0 4px 14px rgba(13,22,38,.05);
  --shadow-soft: 0 10px 34px rgba(13,22,38,.10);
  --shadow-lift: 0 22px 60px rgba(13,22,38,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

body.density-compact { --pad-section: 76px; }
body.density-airy    { --pad-section: 124px; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

a { color: inherit; text-decoration: none; }
::selection { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--ink); }

img { max-width: 100%; display: block; }

/* ─── motion primitives ────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

body.no-motion .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── type ─────────────────────────────────────────────────────────── */

.h1, .h2, .h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin: 0; }

.h1 {
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h1.mono { font-family: var(--mono); font-weight: 600; letter-spacing: -0.055em; line-height: 1.04; }
.h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  text-wrap: balance;
}
.h3 { font-size: 20px; letter-spacing: -0.01em; }

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 22px 0 0;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding: 7px 14px 7px 12px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  width: fit-content;
  box-shadow: var(--shadow-card);
}
.eyebrow b { color: var(--ink); font-weight: 600; }
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.no-motion) .eyebrow-dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 35%, transparent); }
  50%      { box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 0%, transparent); }
}

.fineprint { color: var(--ink-3); font-size: 13.5px; margin: 16px 0 0; }
.fineprint code, .mono-inline { font-family: var(--mono); font-size: .92em; color: var(--ink-2); }

/* ─── buttons ──────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s, border-color .18s, transform .12s var(--ease), box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 17px; height: 17px; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(29,78,216,.25), 0 8px 22px -8px rgba(29,78,216,.55);
}
.btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); box-shadow: 0 1px 2px rgba(29,78,216,.3), 0 14px 30px -8px rgba(29,78,216,.6); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--rule); box-shadow: var(--shadow-card); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-line-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn-full { width: 100%; }

/* app-store style pills */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  background: var(--ink); color: #fff;
  border-radius: 12px;
  transition: transform .15s var(--ease), background .15s;
}
.store:hover { transform: translateY(-2px); background: #000; }
.store svg { width: 20px; height: 20px; flex-shrink: 0; }
.store-txt { display: flex; flex-direction: column; line-height: 1.15; }
.store-txt span { font-size: 9.5px; letter-spacing: .04em; opacity: .8; text-transform: uppercase; }
.store-txt b { font-size: 14px; font-weight: 600; }

/* ─── nav ──────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.stuck { border-color: var(--rule); background: color-mix(in srgb, var(--bg) 92%, transparent); box-shadow: 0 1px 0 rgba(13,22,38,.03); }
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 15px var(--pad-x);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  position: relative; overflow: hidden;
  box-shadow: 0 3px 10px rgba(29,78,216,.32);
  flex-shrink: 0;
}
.brand-mark::after {           /* the green swoosh of the EzzyFlow E */
  content: ""; position: absolute; right: -6px; bottom: -6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); opacity: .9;
}
.brand-mark b { position: relative; z-index: 1; color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.brand-name .flo { color: var(--blue); }
.brand-tag {
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .08em;
  margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--rule);
}
@media (max-width: 960px) { .brand-tag { display: none; } }

.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
@media (max-width: 920px) { .nav-links { display: none; } }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-signin { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-signin:hover { color: var(--ink); }
@media (max-width: 560px) { .nav-signin { display: none; } }

/* ─── section shell ────────────────────────────────────────────────── */

.section { max-width: var(--max); margin: 0 auto; padding: var(--pad-section) var(--pad-x); }
.section-narrow { max-width: 980px; }

.band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.band::before {                /* faint dotted texture, Terminal-style */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.band .section { position: relative; z-index: 1; }
.band .h2, .band .h3 { color: #fff; }
.band .section-lede { color: rgba(255,255,255,.72); }
.band .kicker { color: color-mix(in srgb, var(--blue) 70%, #fff); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.kicker::before, .section-head:not(.left) .kicker::after {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .5;
}
.section-head.left .kicker::after { display: none; }
.section-lede { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); margin: 14px 0 0; text-wrap: pretty; }
.section-head:not(.left) .section-lede { margin-left: auto; margin-right: auto; max-width: 56ch; }

/* ─── hero ─────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 88% 0%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--green) 7%, transparent), transparent 60%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) var(--pad-x) clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
@media (max-width: 1040px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }

.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--rule);
}
.hero-trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.hero-trust-item .tk {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--green-soft);
}
.hero-trust-item .tk svg { width: 11px; height: 11px; stroke: var(--green-ink); }

/* highlight word in headline */
.hl { color: var(--blue); position: relative; white-space: nowrap; }
.hl-underline { box-shadow: inset 0 -0.14em 0 color-mix(in srgb, var(--blue) 22%, transparent); }

/* ─── hero orbit ───────────────────────────────────────────────────── */

.orbit-wrap {
  position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 540px; margin: 0 auto;
  display: grid; place-items: center;
  container-type: size;
}
.orbit-ring {
  position: absolute; border: 1px dashed var(--blue-line); border-radius: 50%;
}
.orbit-ring.r1 { inset: 30%; }
.orbit-ring.r2 { inset: 15%; }
.orbit-ring.r3 { inset: 2%; }
.orbit-spin { position: absolute; inset: 0; }
@media (prefers-reduced-motion: no-preference) {
  body:not(.no-motion) .orbit-spin.s1 { animation: spin 46s linear infinite; }
  body:not(.no-motion) .orbit-spin.s2 { animation: spin 64s linear infinite reverse; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-node {
  position: absolute; top: 50%; left: 50%;
  width: var(--node, 16cqmin); height: var(--node, 16cqmin);
  margin: calc(var(--node, 16cqmin) / -2);
  transform: rotate(var(--a)) translateX(var(--rad)) rotate(calc(-1 * var(--a)));
}
.orbit-card {
  width: 100%; height: 100%; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--rule);
  box-shadow: var(--shadow-card);
  display: grid; place-items: center; gap: 4px; padding: 8px; text-align: center;
}
/* counter-rotate cards so labels stay upright while ring spins */
@media (prefers-reduced-motion: no-preference) {
  body:not(.no-motion) .orbit-spin.s1 .orbit-card { animation: spin-rev 46s linear infinite; }
  body:not(.no-motion) .orbit-spin.s2 .orbit-card { animation: spin-rev 64s linear infinite reverse; }
}
@keyframes spin-rev { from { transform: rotate(360deg); } to { transform: rotate(0); } }
.orbit-card .ic { font-size: 22px; line-height: 1; }
.orbit-card .lb {
  font-family: var(--mono); font-size: 9px; letter-spacing: .03em;
  text-transform: uppercase; color: var(--ink-3); line-height: 1.2;
}
.orbit-card.muted { opacity: .92; }
.orbit-card.muted .lb { color: var(--ink-4); }

/* center hub */
.orbit-hub {
  position: relative; z-index: 3;
  width: 128px; height: 128px; border-radius: 30px;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: grid; place-items: center; gap: 6px;
  box-shadow: 0 18px 50px -12px rgba(29,78,216,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.orbit-hub::after {
  content: ""; position: absolute; right: -10px; bottom: -10px;
  width: 46px; height: 46px; border-radius: 50%; background: var(--green); z-index: -1; opacity: .85;
  filter: blur(.3px);
}
.orbit-hub b { font-family: var(--display); font-weight: 700; font-size: 30px; color: #fff; letter-spacing: -.02em; }
.orbit-hub span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.orbit-pulse {
  position: absolute; z-index: 2; width: 128px; height: 128px; border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--blue) 45%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.no-motion) .orbit-pulse { animation: hub-pulse 3.4s var(--ease) infinite; }
}
@keyframes hub-pulse {
  0% { transform: scale(1); opacity: .7; }
  70%,100% { transform: scale(1.9); opacity: 0; }
}
@media (max-width: 460px) { .orbit-wrap { max-width: 360px; } .orbit-hub { width: 104px; height: 104px; border-radius: 24px; } .orbit-pulse { width: 104px; height: 104px; border-radius: 24px; } }

/* interactive orbit — hover the clutter, the centre answers */
.orbit-node { transition: opacity .25s var(--ease); cursor: pointer; }
.orbit-card { transition: border-color .25s, box-shadow .25s, background .25s; }
body:not(.no-motion) .orbit-wrap.hovering .orbit-spin,
body:not(.no-motion) .orbit-wrap.hovering .orbit-spin .orbit-card { animation-play-state: paused; }
.orbit-node.dim { opacity: .28; }
.orbit-node.on { z-index: 4; }
.orbit-node.on .orbit-card { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-soft), var(--shadow-soft); }
.orbit-node.on .orbit-card .lb { color: var(--blue); }

.orbit-hub, .orbit-pulse { transition: opacity .25s var(--ease); }
.orbit-wrap.hovering .orbit-hub { opacity: 0; }
.orbit-wrap.hovering .orbit-pulse { opacity: 0; }

.orbit-answer {
  position: absolute; z-index: 6; left: 50%; top: 50%;
  width: min(78cqmin, 296px);
  transform: translate(-50%, -50%) scale(.92);
  background: #fff; border: 1px solid var(--rule); border-radius: 16px;
  box-shadow: var(--shadow-lift);
  padding: 16px 18px 15px; text-align: left;
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .26s var(--ease);
}
.orbit-wrap.hovering .orbit-answer { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ans-head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.ans-ic { font-size: 18px; line-height: 1; }
.ans-was { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--rose); white-space: nowrap; }
.ans-arrow { margin-left: auto; color: var(--blue); font-weight: 700; }
.ans-body { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink); font-weight: 500; text-wrap: pretty; }
.ans-tag {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--blue); font-weight: 600;
}
.ans-tag .m { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 700; font-size: 10px; }

.orbit-hint {
  text-align: center; margin: 18px auto 0; max-width: 30ch;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.orbit-hint .tp { color: var(--blue); }
.orbit-wrap.hovering ~ .orbit-hint { opacity: .35; }
.orbit-hint, .orbit-wrap.hovering ~ .orbit-hint { transition: opacity .25s; }

/* ─── marquee / replaces strip ─────────────────────────────────────── */

.strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface); }
.strip-inner {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--pad-x);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between;
}
.strip-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.strip-items { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; }
.strip-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  padding: 7px 13px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface-2);
  text-decoration: line-through; text-decoration-color: var(--rose); text-decoration-thickness: 1.5px;
}
.strip-chip .x { color: var(--rose); font-size: 13px; }
.strip-arrow { color: var(--ink-4); font-family: var(--mono); }
.strip-win {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--green-ink);
  padding: 7px 14px; border: 1px solid var(--green-soft); border-radius: 999px; background: var(--green-soft);
}

/* ─── problem: marked-up paper load-sheets ─────────────────────────── */

.paper-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px;
  max-width: 1040px; margin: 0 auto; padding-top: 14px;
}
@media (max-width: 880px) { .paper-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .paper-grid { grid-template-columns: 1fr; max-width: 380px; } }

/* the reveal wrapper handles fade/rise; .paper handles the tilt + hover */
.paper {
  --rot: 0deg;
  position: relative; height: 100%;
  padding: 26px 24px 22px 38px;
  background:
    linear-gradient(transparent 0 33px, color-mix(in srgb, var(--blue) 9%, transparent) 33px 34px, transparent 34px) 0 0 / 100% 34px repeat-y,
    #fffdf9;
  border: 1px solid #ece7dc;
  border-radius: 3px;
  transform: rotate(var(--rot));
  box-shadow: 0 1px 1px rgba(13,22,38,.05), 0 10px 22px -12px rgba(13,22,38,.22);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.paper::before {                 /* red ruled margin line */
  content: ""; position: absolute; top: 0; bottom: 0; left: 26px; width: 1.5px;
  background: color-mix(in srgb, var(--rose) 45%, transparent);
}
.paper::after {                  /* punch holes on the margin */
  content: ""; position: absolute; left: 11px; top: 28px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 34px 0 var(--bg), 0 68px 0 var(--bg), inset 0 1px 1px rgba(0,0,0,.12);
}
.paper:hover { transform: rotate(0deg) translateY(-6px) scale(1.015); box-shadow: 0 2px 2px rgba(13,22,38,.05), 0 26px 50px -18px rgba(13,22,38,.32); z-index: 3; }

/* strip of tape at the top */
.paper-tape {
  position: absolute; top: -11px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%) rotate(var(--tape, -3deg));
  background: linear-gradient(135deg, rgba(231,221,120,.5), rgba(231,221,120,.28));
  border-left: 1px dashed rgba(180,170,90,.5); border-right: 1px dashed rgba(180,170,90,.5);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
/* red rubber stamp */
.paper-stamp {
  position: absolute; top: 16px; right: 12px; transform: rotate(var(--stamp, -9deg));
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--rose) 82%, #000); padding: 3px 8px;
  border: 1.5px solid color-mix(in srgb, var(--rose) 60%, transparent); border-radius: 4px;
  opacity: .82; mix-blend-mode: multiply; background: color-mix(in srgb, var(--rose) 6%, transparent);
}
.paper-ic { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; }
.paper-ic svg { width: 26px; height: 26px; stroke: var(--ink-2); }
.paper h4 { margin: 0 0 7px; font-size: 16.5px; font-weight: 650; color: var(--ink); font-family: var(--display); letter-spacing: -.01em; line-height: 1.25; max-width: 22ch; }
.paper p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.paper-where {
  margin-top: 16px; padding-top: 12px; border-top: 1px dashed #e6e0d3;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-4);
}
.paper-where b { color: color-mix(in srgb, var(--rose) 70%, var(--ink-3)); font-weight: 600; }

/* resolution */
.problem-foot { text-align: center; margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.problem-foot .down {
  width: 2px; height: 40px; background: linear-gradient(var(--rule), var(--blue)); border-radius: 2px; margin-bottom: 14px;
  position: relative;
}
.problem-foot .down::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateX(-50%) rotate(45deg); }
.problem-foot p { color: var(--ink-3); font-size: 16px; margin: 0; }
.problem-foot .better { font-family: var(--display); font-weight: 650; font-size: clamp(26px, 3.4vw, 38px); color: var(--blue); letter-spacing: -.025em; margin-top: 4px; }

/* ─── feature grid ─────────────────────────────────────────────────── */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 940px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 26px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r);
  box-shadow: var(--shadow-card); transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--tint, var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--tint, var(--blue)) 35%, var(--rule)); }
.feature:hover::after { transform: scaleX(1); }
.feature-ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--tint-soft, var(--blue-soft));
}
.feature-ic svg { width: 23px; height: 23px; stroke: var(--tint, var(--blue)); }
.feature h3 { font-size: 18.5px; font-weight: 650; margin: 0 0 8px; color: var(--ink); font-family: var(--display); letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.58; }
.feature .tag {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3);
}
.feature .tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tint, var(--blue)); }

/* ─── roles ────────────────────────────────────────────────────────── */

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.role {
  padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--rc-line, var(--rule));
  background: var(--rc-bg, var(--surface)); position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s;
}
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.role-ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--rc-ic, var(--blue-soft)); margin-bottom: 22px;
}
.role-ic svg { width: 25px; height: 25px; stroke: var(--rc-ink, var(--blue)); }
.role h3 { font-size: 23px; font-weight: 650; margin: 0 0 16px; font-family: var(--display); letter-spacing: -.02em; color: var(--ink); }
.role-soon {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--amber); color: #fff; font-weight: 600;
}
.role ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.role li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.role li svg { width: 16px; height: 16px; stroke: var(--rc-ink, var(--blue)); flex-shrink: 0; margin-top: 2px; }

/* ─── inside the app (real screenshots) ────────────────────────────── */

.tour { display: grid; gap: 26px; }
.tour-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 900px) { .tour-row { grid-template-columns: 1fr; } }

.shot {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--rule); box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.shot-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--surface-2); border-bottom: 1px solid var(--rule);
}
.shot-bar .lights { display: inline-flex; gap: 6px; margin-right: 8px; }
.shot-bar .lights i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.shot-bar .lights i:nth-child(1){ background:#fca5a5; }
.shot-bar .lights i:nth-child(2){ background:#fcd34d; }
.shot-bar .lights i:nth-child(3){ background:#86efac; }
.shot-bar .addr {
  flex: 1; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  background: var(--surface); border: 1px solid var(--rule); border-radius: 7px; padding: 5px 12px;
  text-align: center; max-width: 320px; margin: 0 auto;
}
.shot-bar .addr b { color: var(--ink-2); font-weight: 500; }
.shot-bar .live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--green-ink); font-weight: 600;
}
.shot-bar .live::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
body:not(.no-motion) .shot-bar .live::before { animation: pulse 2.4s ease-in-out infinite; }
.shot-img { position: relative; overflow: hidden; background: var(--surface-2); }
.shot-img img { width: 100%; height: auto; display: block; }
.shot.crop .shot-img { max-height: 340px; }
.shot.crop .shot-img img { object-fit: cover; object-position: top; }

.tour-cap { display: flex; align-items: flex-start; gap: 14px; padding: 18px 6px 4px; }
.tour-cap .num {
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--blue);
  border: 1px solid var(--blue-line); border-radius: 8px; padding: 4px 9px; flex-shrink: 0; background: var(--blue-soft);
}
.tour-cap h4 { margin: 0 0 3px; font-size: 18px; font-weight: 650; font-family: var(--display); letter-spacing: -.01em; color: var(--ink); }
.tour-cap p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ─── how it works (steps) ─────────────────────────────────────────── */

/* ─── how it works — process pipeline ──────────────────────────────── */

.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr 1fr; gap: 20px 18px; } }
@media (max-width: 560px)  { .flow { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* the rail that draws across the badges (desktop single row only) */
.flow-rail {
  position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--blue-line), var(--rule));
  transform-origin: left; z-index: 0;
}
.flow-rail.reveal { opacity: 1; transform: scaleX(0); transition: transform 1.1s var(--ease) .15s; }
.flow-rail.reveal.in { transform: scaleX(1); }
@media (max-width: 1000px) { .flow-rail { display: none; } }

.flow-step {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 22px 22px 24px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.flow-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--blue-line); }
.flow-head { display: flex; align-items: center; gap: 12px; }
.flow-num {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--blue-soft); border: 1px solid var(--blue-line);
  font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--blue); letter-spacing: -.02em;
}
.flow-step:hover .flow-num { background: var(--blue); border-color: var(--blue); color: #fff; transition: background .25s, color .25s, border-color .25s; }
.flow-ic { width: 22px; height: 22px; color: var(--ink-3); }
.flow-ic svg { width: 22px; height: 22px; stroke: var(--ink-3); }
.flow-step h3 { margin: 0; font-size: 17.5px; font-weight: 650; font-family: var(--display); letter-spacing: -.015em; color: var(--ink); line-height: 1.25; }
.flow-step p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.flow-time { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.flow-time::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* mini UI fragment inside each step — authentic product texture */
.flow-ui {
  background: var(--surface-2); border: 1px solid var(--rule); border-radius: 10px;
  padding: 11px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12px;
}
.ui-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ui-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--rule); font-family: var(--mono); font-size: 10.5px; color: var(--ink-2);
}
.ui-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.ui-pill .dot.green { background: var(--green); }
.ui-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-4); }
.ui-field {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 9px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 7px;
}
.ui-field b { font-family: var(--mono); font-size: 12px; color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.ui-photo {
  width: 30px; height: 30px; border-radius: 6px; flex-shrink: 0; display: grid; place-items: center; font-size: 13px;
  background: linear-gradient(135deg, #dbe6fb, #eef3ff); border: 1px solid var(--blue-line);
}
.ui-status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.ui-tag { padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.ui-tag.amber { background: var(--amber-soft); color: #9a6206; }
.ui-tag.green { background: var(--green-soft); color: var(--green-ink); }
.ui-arrow { color: var(--ink-4); }
.ui-approve {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 7px;
  background: var(--green); color: #fff; font-size: 11px; font-weight: 600;
}
.ui-approve svg { width: 12px; height: 12px; stroke: #fff; }
.ui-pay { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ui-pay .amt { font-family: var(--display); font-weight: 650; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.ui-lock { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--green-ink); }
.ui-lock svg { width: 11px; height: 11px; stroke: var(--green-ink); }
.ui-bar { height: 5px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.ui-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-deep)); }

/* ─── pricing ──────────────────────────────────────────────────────── */

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; gap: 18px; } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; max-width: 440px; } }
/* tighten card padding so 4-up doesn't get cramped on the desktop row */
@media (min-width: 1181px) {
  .plan { padding: 26px 22px; }
  .plan-price .num { font-size: 40px; }
}
.plan {
  padding: 30px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-card); position: relative;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.plan-pop { border: 1.5px solid var(--blue); box-shadow: 0 18px 50px -18px rgba(29,78,216,.5); }
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  padding: 6px 16px; background: var(--blue); color: #fff; border-radius: 999px; box-shadow: 0 6px 16px -4px rgba(29,78,216,.5);
}
.plan-name { font-family: var(--display); font-size: 21px; font-weight: 650; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.plan-for { font-size: 14px; color: var(--ink-3); margin: 2px 0 0; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.plan-price .num { font-family: var(--display); font-size: 46px; font-weight: 650; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.plan-price .unit { font-size: 14px; color: var(--ink-3); }
.plan-note { font-size: 12.5px; color: var(--ink-3); margin: -8px 0 0; }
.plan-free {
  font-family: var(--mono); font-size: 12px; color: var(--blue); font-weight: 500;
  background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 999px; padding: 9px 14px; text-align: center;
}
.plan-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-lines li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.plan-lines li svg { width: 16px; height: 16px; stroke: var(--green); flex-shrink: 0; margin-top: 2px; }
.plan-lines li.off { color: var(--ink-4); }
.plan-lines li.off svg { stroke: var(--ink-4); }
.plan-lines li.lead { font-weight: 600; color: var(--ink); }
.plan-lines li.lead svg { stroke: var(--blue); }
.pricing-foot { text-align: center; margin-top: 38px; color: var(--ink-3); font-size: 14.5px; }
.pricing-foot a { color: var(--blue); font-weight: 600; }

/* ─── founder ──────────────────────────────────────────────────────── */

.founder { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; gap: 28px; } }
.founder-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5;
  border: 1px solid var(--navy-line); box-shadow: var(--shadow-soft);
}
.founder-photo image-slot { width: 100%; height: 100%; display: block; }
.founder-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  background: rgba(10,19,38,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 10px; color: #fff;
}
.founder-badge .av { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 12px; color: #fff; }
.founder-badge b { font-size: 13px; font-weight: 600; }
.founder-badge span { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; }
.founder-quote { font-family: var(--display); font-size: clamp(22px, 2.6vw, 31px); font-weight: 500; line-height: 1.32; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; margin: 0; }
.band .founder-quote { color: #fff; }
.founder-quote .hl { color: var(--blue); }
.band .founder-quote .hl { color: color-mix(in srgb, var(--blue) 55%, #fff); }
.founder-sign { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.founder-sign .nm { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); }
.band .founder-sign .nm { color: #fff; }
.founder-sign .ro { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.band .founder-sign .ro { color: rgba(255,255,255,.6); }
.founder-sign .div { width: 1px; height: 26px; background: var(--rule); }
.band .founder-sign .div { background: var(--navy-line); }

/* ─── final CTA ────────────────────────────────────────────────────── */

.cta { text-align: center; max-width: 760px; margin: 0 auto; }
.cta .h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.74); font-size: 18px; margin: 18px 0 0; }
.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta-fine { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.5); }

/* ─── footer ───────────────────────────────────────────────────────── */

.foot { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px var(--pad-x) 28px; border-top: 1px solid var(--navy-line); }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot .brand-name { color: #fff; }
.foot-blurb { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; max-width: 34ch; margin: 16px 0 0; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.45); margin: 0 0 16px; font-weight: 500; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-store { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.foot-bottom {
  max-width: var(--max); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid var(--navy-line);
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.42);
}
.foot-bottom .sep { opacity: .4; }

/* ─── real EzzyFlow logo (PNG) overrides ────────────────────────────
   Replaces the CSS-rendered "E" tile in the nav with the real wordmark,
   and the "E + EzzyFlow" placeholder in the orbit hub with the icon.
   The CSS .brand-mark / .orbit-hub::after styles are NOT applied when
   the .brand-img / .orbit-hub-img variants are used. */
.brand.brand-img { gap: 0; }
.brand.brand-img img {
  height: 32px; width: auto; display: block;
}
@media (max-width: 480px) {
  .brand.brand-img img { height: 28px; }
}
/* footer wordmark uses the same file on a dark surface — invert hue
   if the PNG turns out to be dark text. The drop-shadow keeps subtle
   contrast either way. */
.foot .brand.brand-img img {
  filter: brightness(0) invert(1);
  opacity: .95;
}

.orbit-hub.orbit-hub-img {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  padding: 18px;
  gap: 8px;
}
.orbit-hub.orbit-hub-img img {
  width: 56px; height: 56px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
@media (max-width: 460px) {
  .orbit-hub.orbit-hub-img { padding: 14px; }
  .orbit-hub.orbit-hub-img img { width: 44px; height: 44px; }
}
