/* Template 2: dark, modern freight layout. Change the brand in :root. */
:root {
  --amber: #ffb81c; --amber-2: #ffcb55; --amber-soft: rgba(255, 184, 28, .14);
  --bg: #0d0e10; --bg-2: #141518; --surface: #1a1c20; --line: #2a2d33; --line-2: #383c44;
  --text: #f3f4f6; --text-2: #c2c6cf; --mute: #8d929c;
  --head: 'Space Grotesk', system-ui, sans-serif; --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.menu-open { overflow: hidden; }
h1, h2, h3 { margin: 0; font-family: var(--head); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
.sprite { position: absolute; width: 0; height: 0; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation; transition: background-color .2s, border-color .2s, transform .14s; }
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-amber { background: var(--amber); color: #111; }
.btn-ink { background: #111; color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn-amber:hover { background: var(--amber-2); } .btn-ghost:hover { border-color: var(--text-2); } .btn-ink:hover { background: #2a2a2a; } .btn:hover .ic { transform: translateX(3px); } }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(13, 14, 16, .78); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--head); letter-spacing: .04em; }
.logo { letter-spacing: -0.02em !important; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: conic-gradient(from 225deg, var(--amber) 0 25%, #fff 0 50%, var(--amber) 0 75%, #fff 0); }
.nav { display: none; gap: 2px; margin: 0 auto; }
.nav a { padding: 8px 14px; border-radius: 8px; text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); background: var(--bg-2); }
.header-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.header-cta .btn { display: none; }
.menu-btn { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.m-menu { display: none; border-top: 1px solid var(--line); background: var(--bg); padding: 6px 0 22px; }
.m-menu.open { display: block; animation: drop .25s var(--ease); }
.m-menu nav { display: flex; flex-direction: column; }
.m-menu a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 19px/1.2 var(--head); }
.m-menu .btn { margin-top: 18px; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 980px) { .nav { display: flex; } .header-cta { margin-left: 0; } .header-cta .btn { display: inline-flex; } .menu-btn, .m-menu { display: none !important; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 8vw, 104px); }
.hero::before { content: ''; position: absolute; left: 50%; top: -280px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 184, 28, .16), transparent); pointer-events: none; }
.hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-size: 14px; color: var(--text-2); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.hero h1 { margin-top: 26px; font-size: clamp(46px, 7.6vw, 96px); max-width: 13ch; letter-spacing: -0.05em; line-height: .98; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 34em; }
.track { margin-top: 38px; width: min(620px, 100%); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.track > .ic { color: var(--mute); }
.track input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: var(--text); font: 500 17px var(--body); }
.track input:focus { outline: none; }
.track:focus-within { border-color: var(--amber); }
.track .btn { min-height: 50px; padding: 0 24px; }
.track-out { margin-top: 14px; width: min(620px, 100%); text-align: left; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.track-out.pop { animation: drop .35s var(--ease); }
.track-msg { color: var(--text-2); }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.track-head b { display: block; font: 600 16px var(--head); letter-spacing: .02em; }
.track-head span { font-size: 13.5px; color: var(--mute); }
.badge { display: inline-flex; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.badge.ok { background: rgba(52, 211, 153, .14); color: #5ee2ad; }
.badge.go { background: var(--amber-soft); color: var(--amber); }
.track-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.track-steps li { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--mute); line-height: 1.3; }
.track-steps i { height: 4px; border-radius: 4px; background: var(--line-2); }
.track-steps .done i { background: var(--text); }
.track-steps .now { color: var(--text); font-weight: 600; } .track-steps .now i { background: var(--amber); }
.track-note { margin-top: 12px; font-size: 12.5px; color: var(--mute); }
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--mute); font-size: 15px; }
.facts b { color: var(--text); font-weight: 600; }

.console { margin-top: clamp(48px, 7vw, 80px); display: grid; gap: 14px; padding: 14px; border-radius: 24px; background: linear-gradient(180deg, #1c1e23, #121316); border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
@media (min-width: 860px) { .console { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.console small { display: block; font-size: 12.5px; color: var(--mute); }
.console b { font: 600 17px var(--head); }
.console-main, .console-side { padding: 22px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.c-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tag { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.route { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin: 28px 0; }
.route .right { text-align: right; }
.route-line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.route-line i { position: absolute; left: 0; top: 0; height: 2px; width: 62%; background: var(--amber); }
.route-line .ic { position: absolute; left: 62%; top: 50%; transform: translate(-50%, -50%) rotate(45deg); color: var(--amber); background: var(--bg-2); padding: 2px; width: 26px; height: 26px; }
.c-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.c-grid > div { padding: 14px; border-radius: 12px; background: var(--surface); }
.console-side { display: flex; flex-direction: column; gap: 4px; }
.inv { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.inv b { font: 600 15px var(--body); color: var(--text); }
.inv.total { border: 0; color: var(--text); }
.inv.total b { font: 700 22px var(--head); color: var(--amber); }
.pay { margin-top: auto; display: grid; place-items: center; min-height: 46px; border-radius: 10px; background: var(--amber); color: #111; font-weight: 600; }
.caption { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--mute); }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-inline: auto; text-align: center; }
.kicker { font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.section h2 { font-size: clamp(34px, 4.6vw, 56px); }

.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile-lg { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tile-lg { grid-column: span 2; grid-row: span 2; } }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s; }
.tile > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--amber-soft); color: var(--amber); margin-bottom: 14px; }
.tile h3 { font-size: 22px; }
.tile p { color: var(--text-2); font-size: 15.5px; }
.tile-lg { background: linear-gradient(160deg, #24221c, var(--surface) 60%); }
.tile-lg h3 { font-size: clamp(26px, 3vw, 34px); }
.tile-lg p { font-size: 17px; max-width: 30em; }
.mini-route { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.mini-route i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--amber), var(--line-2)); }
@media (hover: hover) and (pointer: fine) { .tile:hover { border-color: var(--line-2); } }

.plans { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); max-width: 1080px; margin: 0 auto; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.plan { position: relative; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.plan-hl { border-color: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.flag { position: absolute; top: 22px; right: 22px; padding: 5px 10px; border-radius: 999px; background: var(--amber); color: #111; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 22px; }
.price { margin-top: 22px; color: var(--text-2); }
.price b { font: 700 44px/1 var(--head); letter-spacing: -0.04em; color: var(--text); margin-right: 6px; }
.sub { margin-top: 6px; font-size: 14px; color: var(--mute); }
.plan ul { list-style: none; margin: 24px 0 26px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; color: var(--text-2); font-size: 15.5px; }
.plan li .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--amber); }

.est { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .est { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.calc { min-width: 0; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.seg-radio { border: 0; margin: 0 0 18px; padding: 4px; min-width: 0; display: flex; gap: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.seg-radio legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg-radio label { flex: 1; position: relative; cursor: pointer; }
.seg-radio input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg-radio span { display: grid; place-items: center; min-height: 42px; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--mute); transition: background-color .2s, color .2s; }
.seg-radio input:checked + span { background: var(--amber); color: #111; }
.seg-radio input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-fields label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.calc-fields input { width: 100%; min-width: 0; height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 600 18px var(--head); }
.calc-fields input:focus { outline: none; border-color: var(--amber); }
.calc-out { margin-top: 22px; display: grid; gap: 10px; }
.calc-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--text-2); }
.calc-row b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-total b { font: 700 36px var(--head); letter-spacing: -0.03em; color: var(--amber); font-variant-numeric: tabular-nums; }

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.process li { padding: 30px; background: var(--bg-2); }
.process span { font: 700 15px var(--head); color: var(--amber); }
.process h3 { margin: 38px 0 8px; font-size: 21px; }
.process p { color: var(--text-2); font-size: 15.5px; }

.faq { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); max-width: 1000px; margin: 0 auto; }
@media (min-width: 860px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--mute); transition: transform .25s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--amber); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); }

.cta { padding: 0 0 clamp(72px, 9vw, 112px); }
.cta-in { text-align: center; padding: clamp(48px, 7vw, 80px) 24px; border-radius: 28px; background: var(--amber); color: #111; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-in h2 { font-size: clamp(34px, 5vw, 60px); max-width: 14ch; }
.cta-in p { font-size: 18px; color: #3a3220; margin-bottom: 12px; }
.footer { border-top: 1px solid var(--line); color: var(--mute); font-size: 14.5px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 28px; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-in nav a { text-decoration: none; }
.foot-in nav a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; }

/* Sign-up dialog */
.signup { width: min(460px, calc(100vw - 24px)); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: var(--bg-2); color: var(--text); font-family: var(--body); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .8); }
.signup[open] { animation: pop .3s var(--ease); }
.signup::backdrop { background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.su-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 0; }
.su-head h2 { font-size: 22px; }
.x { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.signup form, .su-done { padding: 20px 24px 24px; display: grid; gap: 14px; }
.signup label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.signup input, .signup select { height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 500 16px var(--body); }
.signup input:focus, .signup select:focus { outline: none; border-color: var(--amber); }
.field-err { color: #ff8b7b; font-size: 13px; }
.fine { text-align: center; font-size: 13px; color: var(--mute); }
.ok-badge { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-weight: 600; font-size: 14px; }
.ok-badge .ic { width: 16px; height: 16px; }
.address { display: grid; gap: 2px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }

.js-rv .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-rv .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.logo .lt { color: inherit; font-weight: inherit; letter-spacing: inherit; }
.logo .lt span { color: var(--amber); font-weight: inherit; }

/* Press feedback: the card sinks, then flashes an amber edge */
[data-pop] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:root [data-pop].pressed.pressed { transform: scale(.975); transition: transform .12s var(--ease); }
[data-pop].pop { animation: pop2 .6s var(--ease); }
@keyframes pop2 { 0% { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 0 40px -6px rgba(255, 184, 28, .45); } 100% { box-shadow: 0 0 0 1px transparent, 0 0 40px -6px transparent; } }
[data-pop].pop > .ic { animation: nudge2 .5s var(--ease); }
@keyframes nudge2 { 40% { transform: translateY(-4px) rotate(-6deg); color: var(--amber); } }

/* ---------- Phones: tighter, more organised layout ---------- */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .head { margin-bottom: 26px; }
  .facts { gap: 8px 18px; font-size: 14px; }
  .c-grid > div { padding: 12px 10px; min-width: 0; }
  .c-grid b { white-space: nowrap; font-size: 15px; }
  .bento { gap: 10px; }
  .tile { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px; border-radius: 18px; }
  .tile > .ic { grid-row: span 2; margin: 0; }
  .tile h3, .tile-lg h3 { font-size: 18px; }
  .tile p, .tile-lg p { font-size: 15px; }
  .tile > :not(.ic):not(h3):not(p) { grid-column: 1 / -1; margin-top: 10px; }
  /* Plans become a swipeable row */
  .plans { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 8px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 84%; scroll-snap-align: start; padding: 22px; }
  .plan ul { margin: 18px 0 20px; padding-top: 16px; gap: 10px; }
  .process { grid-template-columns: minmax(0, 1fr); border-radius: 18px; }
  .process li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; padding: 18px; }
  .process span { grid-row: span 2; padding-top: 2px; }
  .process h3 { margin: 0 0 4px; font-size: 17px; }
  .process p { font-size: 15px; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-bottom { flex-direction: column; gap: 4px; }
}
