/* TollCore launch site — one stylesheet for the landing page, the guest's
   manage page and the shared scheduler. Dark, like the app. */
:root {
  --bg: #090c0f; --bg2: #0e1318; --panel: #12181f; --panel2: #171f28; --line: #232d38; --line2: #33404f;
  --text: #eceae4; --muted: #97a3b1; --dim: #6b7785;
  --amber: #ffb000; --amber2: #ffcf66; --teal: #43d6c0; --violet: #b78cff; --red: #ff6b6b; --green: #57d364;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 12px; --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 13px 20px; border-radius: 10px; border: 1px solid transparent; background: var(--amber); color: #111; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--amber2); box-shadow: 0 6px 24px rgba(255, 176, 0, .25); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--amber); background: rgba(255, 176, 0, .06); box-shadow: none; }
.btn.danger { background: transparent; color: var(--red); border-color: rgba(255, 107, 107, .45); }
.btn.danger:hover { background: rgba(255, 107, 107, .1); box-shadow: none; }
.btn.sm { font-size: 13px; padding: 8px 12px; border-radius: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; }
.seg button { font: 600 12px/1 var(--sans); padding: 8px 11px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--panel2); color: var(--text); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(9, 12, 15, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.logo img { width: 26px; height: 26px; }
.logo b { color: var(--amber); font-weight: 800; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav nav a:hover { color: var(--text); }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; padding: 84px 0 64px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -200px 0 auto; height: 760px; background: radial-gradient(60% 55% at 50% 30%, rgba(255, 176, 0, .13), transparent 70%), radial-gradient(40% 40% at 78% 40%, rgba(67, 214, 192, .09), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--sans); color: var(--muted); border: 1px solid var(--line2); border-radius: 99px; padding: 7px 14px; background: rgba(18, 24, 31, .7); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(67, 214, 192, .18); }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 800; margin: 22px auto 0; max-width: 15ch; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); max-width: 62ch; margin: 22px auto 0; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-note { margin-top: 14px; font-size: 13px; color: var(--dim); }
.road { display: block; width: 100%; height: 112px; margin-top: 52px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.frame { margin: 34px auto 0; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02) inset; }
.frame .bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3742; }
.frame .bar span { margin-left: 10px; font: 12px/1 var(--mono); color: var(--dim); }
.hero .frame { position: relative; }
.hero-fade { height: 120px; margin-top: -120px; position: relative; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 8px; }
.facts div { background: var(--bg2); padding: 20px 20px 22px; min-width: 0; }
.facts b { display: block; font-size: 16px; line-height: 1.3; margin-top: 14px; text-wrap: balance; }
.facts span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 6px; }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .facts div { text-align: center; padding: 22px 16px 24px; } .facts .fx { max-width: 160px; margin-inline: auto; } .facts span { max-width: 44ch; margin-inline: auto; } }

/* the four small moving pictures in the facts strip */
.fx { display: block; width: 100%; max-width: 200px; height: 64px; overflow: hidden; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fx-edge { stroke: var(--line2); stroke-width: 1.5; }
.fx-dash { stroke: var(--line2); stroke-width: 1.5; stroke-dasharray: 7 9; }
.fx .car { fill: var(--teal); }
/* 1 · ITS: a toll-rate sign that reprices, detectors that report */
.fx-its .fx-post { stroke: var(--dim); stroke-width: 2; }
.fx-its .sign { fill: #0b0e11; stroke: var(--amber); stroke-width: 1.5; }
.fx-its text { font: 700 11px/1 var(--mono); fill: var(--amber); stroke: none; }
.fx-its .p2 { opacity: 0; animation: fx-swap 5s steps(1) infinite; }
.fx-its .p1 { animation: fx-swap 5s steps(1) infinite reverse; }
@keyframes fx-swap { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
.fx-its .det circle { fill: var(--teal); }
.fx-its .det .ring { fill: none; stroke: var(--teal); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: fx-ping 2.4s ease-out infinite; }
.fx-its .d2 .ring { animation-delay: .5s; } .fx-its .d3 .ring { animation-delay: 1s; }
@keyframes fx-ping { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
/* 2 · roadway design: the road draws itself, then its ramp */
.fx-road .bed { stroke: var(--line2); stroke-width: 9; stroke-dasharray: 1; stroke-dashoffset: 0; }
.fx-road .main { animation: fx-draw-a 6s ease-in-out infinite; }
.fx-road .ramp { animation: fx-draw-b 6s ease-in-out infinite; }
.fx-road .mid { stroke: var(--amber); stroke-width: 1.2; stroke-dasharray: 5 6; animation: fx-show-c 6s linear infinite; }
.fx-road .node { fill: var(--bg2); stroke: var(--teal); stroke-width: 1.8; animation: fx-show-a 6s linear infinite; }
.fx-road .n2, .fx-road .n3 { animation-name: fx-show-b; } .fx-road .n4 { animation-name: fx-show-c; }
@keyframes fx-draw-a { 0% { stroke-dashoffset: 1; opacity: 1; } 40%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fx-draw-b { 0%, 36% { stroke-dashoffset: 1; opacity: 1; } 62%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fx-show-a { 0%, 3% { opacity: 0; } 8%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fx-show-b { 0%, 34% { opacity: 0; } 40%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fx-show-c { 0%, 40% { opacity: 0; } 48%, 92% { opacity: 1; } 100% { opacity: 0; } }
/* 3 · reinforcement learning: the toll steps, the result climbs */
.fx-rl .toll { stroke: var(--amber); stroke-width: 1.5; opacity: .55; }
.fx-rl .gain { stroke: var(--teal); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 0; animation: fx-learn 5.5s ease-in-out infinite; }
.fx-rl .tip { fill: var(--teal); animation: fx-tip 5.5s linear infinite; }
@keyframes fx-learn { 0% { stroke-dashoffset: 1; opacity: 1; } 62%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fx-tip { 0%, 60% { opacity: 0; } 66%, 92% { opacity: 1; } 100% { opacity: 0; } }
/* 4 · connected vehicles: a platoon that talks */
.fx-cv .flow { animation: fx-flow 1.1s linear infinite; }
.fx-cv .lead { fill: var(--amber); }
.fx-cv .link { stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 3 4; animation: fx-flow-s 0.9s linear infinite; }
.fx-cv .wave { stroke: var(--teal); stroke-width: 1.5; opacity: .85; animation: fx-wave 2.1s ease-in-out infinite; }
.fx-cv .w2 { stroke: var(--amber); animation-delay: .35s; } .fx-cv .w3 { animation-delay: .7s; }
@keyframes fx-flow { to { stroke-dashoffset: 16; } }
@keyframes fx-flow-s { to { stroke-dashoffset: -7; } }
@keyframes fx-wave { 0%, 100% { opacity: .15; } 45% { opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .fx * { animation: none !important; } .fx-its .p2 { opacity: 0; } }

/* sections */
section { padding: 96px 0; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; margin-top: 14px; }
.sec-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-bottom: 96px; }
.feature:nth-of-type(even) .f-text { order: 2; }
.feature h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 750; margin-top: 12px; }
.feature p { color: var(--muted); margin-top: 14px; }
.feature ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 24px; font-size: 15px; color: #c9d1da; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px; border-radius: 2px; background: var(--teal); transform: rotate(45deg); }
.feature .frame { margin: 0; cursor: zoom-in; }
.tag { font: 600 11px/1 var(--mono); letter-spacing: .16em; color: var(--teal); text-transform: uppercase; }
.feature li b { color: var(--text); }
.feature.textonly { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; padding: 34px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg2); }
.feature.textonly .f-text { display: contents; }
.feature.textonly .f-head { grid-column: 1; }
.feature.textonly ul { margin: 0; align-self: center; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.lead-feature .tag { color: var(--amber); }
.feature.textonly.plain { padding: 0; border: 0; background: none; gap: 56px; }
.feature.textonly.plain ul { grid-template-columns: 1fr; gap: 12px; }
.nn-wide { max-width: 900px; margin: 0 auto 64px; }
.nn-box { border: 1px solid var(--line2); border-radius: 16px; background: linear-gradient(180deg, #10161c, #0b0f13); box-shadow: 0 40px 120px rgba(0, 0, 0, .5); padding: 10px; }
.nn { display: block; width: 100%; height: auto; }
.nn-l { stroke: #8fa3b8; stroke-opacity: .13; stroke-width: 1; }
.nn-hot { stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 10 14; stroke-opacity: .85; animation: nn-flow 3s linear infinite; }
@keyframes nn-flow { to { stroke-dashoffset: -96; } }
.nn-in { fill: #0b0f13; stroke: var(--teal); stroke-width: 2; }
.nn-h { fill: #18212b; stroke: #5b6b7c; stroke-width: 1.5; animation: nn-pulse 4s ease-in-out infinite; }
@keyframes nn-pulse { 50% { stroke: var(--amber); fill: #2a2110; } }
.nn-out { fill: var(--amber); stroke: #ffcf66; stroke-width: 2; }
.nn-t { font: 500 11px var(--mono); fill: var(--muted); }
.nn-to { fill: var(--amber2); font-weight: 700; }
.nn-cap { font: 700 10px var(--mono); letter-spacing: .18em; fill: var(--dim); }
.nn-loop { fill: none; stroke: var(--violet); stroke-width: 1.5; stroke-dasharray: 5 6; animation: nn-flow 5s linear infinite; }
.nn-rw { font: 600 10.5px var(--mono); fill: var(--violet); }
@media (prefers-reduced-motion: reduce) { .nn-hot, .nn-h, .nn-loop { animation: none; } }
@media (max-width: 900px) { .feature.textonly, .feature.textonly.plain { grid-template-columns: 1fr; gap: 24px; } .feature.textonly { padding: 22px; } .feature.textonly.plain { padding: 0; } .feature.textonly ul { grid-template-columns: 1fr; align-self: start; } }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 26px; margin-bottom: 64px; } .feature:nth-of-type(even) .f-text { order: 0; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line2); transform: translateY(-2px); }
.card .ico { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 176, 0, .1); color: var(--amber); margin-bottom: 16px; }
.card .ico svg { width: 20px; height: 20px; }
.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .cards { grid-template-columns: 1fr; } }

.band { background: var(--bg2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--panel); counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); font: 700 13px/1 var(--mono); color: var(--amber); letter-spacing: .1em; }
.step h3 { font-size: 18px; margin-top: 14px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.step small { display: block; margin-top: 14px; font: 12px/1 var(--mono); color: var(--dim); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* booking */
#book { position: relative; }
#book::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 50% 0, rgba(255, 176, 0, .08), transparent 70%); pointer-events: none; }
.book { position: relative; display: grid; grid-template-columns: 320px minmax(0, 1fr); background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .45); }
.book-side { padding: 30px 28px; border-right: 1px solid var(--line); background: var(--bg2); }
.book-side h3 { font-size: 22px; margin-top: 12px; }
.book-side dl { margin: 22px 0 0; display: grid; gap: 14px; }
.book-side dt { font: 600 11px/1 var(--mono); letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.book-side dd { margin: 5px 0 0; font-size: 15px; color: #c9d1da; }
.book-side .chosen { margin-top: 24px; padding: 14px; border: 1px solid rgba(255, 176, 0, .4); background: rgba(255, 176, 0, .07); border-radius: 10px; font-size: 14.5px; }
.book-side .chosen b { display: block; color: var(--amber2); font-size: 12px; font-family: var(--mono); letter-spacing: .12em; margin-bottom: 5px; }
.book-main { padding: 26px 28px 28px; min-width: 0; }
.stepper { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--dim); margin-bottom: 20px; flex-wrap: wrap; }
.stepper span { display: inline-flex; align-items: center; gap: 8px; }
.stepper span i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--mono); font-style: normal; border: 1px solid var(--line2); }
.stepper span.on { color: var(--text); } .stepper span.on i { background: var(--amber); border-color: var(--amber); color: #111; }
.stepper span.done i { background: var(--teal); border-color: var(--teal); color: #111; }
.stepper hr { flex: 0 0 22px; border: 0; border-top: 1px solid var(--line2); margin: 0; }
.book-foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.book-foot .pickd { flex: 1; min-width: 200px; font-size: 14.5px; color: var(--muted); }
.book-foot .pickd b { color: var(--text); }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } .book-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 20px; } .book-main { padding: 20px; } .book-side dl { grid-template-columns: 1fr 1fr; } }

/* scheduler */
.sc-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.sc-zone { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); min-width: 0; }
.sc-zone select { max-width: 230px; }
.sc-zone em { font: 600 11px/1 var(--mono); font-style: normal; color: var(--teal); border: 1px solid rgba(67, 214, 192, .35); border-radius: 5px; padding: 4px 6px; }
select, input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], input[type=datetime-local], input[type=search], textarea { font: 15px/1.3 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line2); border-radius: 8px; padding: 10px 12px; width: 100%; transition: border-color .15s, box-shadow .15s; }
select { width: auto; padding: 8px 10px; font-size: 13px; }
select:focus, input:focus, textarea:focus { outline: 0; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 176, 0, .18); }
.sc-notice { background: rgba(255, 176, 0, .1); border: 1px solid rgba(255, 176, 0, .4); color: var(--amber2); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }
.sc-body { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 28px; }
.sc-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sc-month b { font-size: 16px; }
.sc-nav { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line2); background: transparent; color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.sc-nav:hover:not([disabled]) { border-color: var(--amber); } .sc-nav[disabled] { opacity: .3; cursor: default; }
.sc-dow, .sc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.sc-dow span { text-align: center; font: 600 11px/1 var(--mono); color: var(--dim); padding: 6px 0; letter-spacing: .06em; }
.sc-day { aspect-ratio: 1; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--dim); font: 500 14px/1 var(--sans); cursor: default; position: relative; }
.sc-day.open { color: var(--text); background: var(--panel2); cursor: pointer; font-weight: 650; }
.sc-day.open::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--teal); }
.sc-day.open:hover { border-color: var(--amber); }
.sc-day.today { box-shadow: inset 0 0 0 1px var(--line2); }
.sc-day.on { background: var(--amber); color: #111; border-color: var(--amber); } .sc-day.on::after { background: #111; }
.sc-legend { margin-top: 12px; font-size: 12px; color: var(--dim); display: flex; align-items: center; gap: 7px; }
.sc-legend i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.sc-slots { min-height: 300px; max-height: 392px; overflow-y: auto; padding-right: 4px; }
.sc-dayname { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.sc-part { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 16px 0 8px; }
.sc-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.sc-time { font: 600 14px/1 var(--sans); font-variant-numeric: tabular-nums; padding: 12px 6px; border-radius: 9px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); cursor: pointer; transition: border-color .12s, background .12s; }
.sc-time:hover { border-color: var(--amber); }
.sc-time.on { background: var(--amber); border-color: var(--amber); color: #111; }
.sc-state { min-height: 240px; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 15px; }
.sc-spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--amber); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .sc-body { grid-template-columns: 1fr; gap: 20px; } .sc-slots { max-height: none; min-height: 0; } .sc-zone span { display: none; } }

/* form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: #c9d1da; padding: 0; }
.field label small, .field legend small { font-weight: 400; color: var(--dim); }
.field select { width: 100%; padding: 10px 12px; font-size: 15px; }
.field textarea { min-height: 92px; resize: vertical; }
.field .err { font-size: 13px; color: var(--red); min-height: 0; }
.field.bad input, .field.bad select { border-color: var(--red); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { font-weight: 500; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line2); border-radius: 99px; padding: 8px 13px; cursor: pointer; user-select: none; transition: all .12s; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) { color: #111; background: var(--teal); border-color: var(--teal); font-weight: 600; }
.chips label:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .4); color: #ffb3b3; border-radius: 8px; padding: 11px 13px; font-size: 14px; }
.fine { font-size: 12.5px; color: var(--dim); }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

/* confirmation */
.done { text-align: center; padding: 26px 8px 8px; }
.done .tick { width: 62px; height: 62px; border-radius: 50%; background: rgba(67, 214, 192, .14); color: var(--teal); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.done .tick svg { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done h3 { font-size: 26px; }
.done .when { font-size: 18px; margin-top: 12px; font-weight: 600; }
.done p { color: var(--muted); margin-top: 10px; max-width: 52ch; margin-inline: auto; }
.done .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 34px 20px 0; font-weight: 650; font-size: 17px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 300; color: var(--amber); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 22px; max-width: 68ch; }

footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); text-decoration: none; } footer a:hover { color: var(--text); }

/* image viewer */
.zoom { position: fixed; inset: 0; z-index: 100; background: rgba(5, 7, 9, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 10px; border: 1px solid var(--line2); }

/* appear on scroll */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .done .tick { animation: none; } }

/* manage page */
.solo { min-height: 100vh; display: flex; flex-direction: column; }
.solo main { flex: 1; padding: 56px 0 80px; }
.sheet { max-width: 860px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 30px; }
.sheet h1 { font-size: 28px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; margin: 22px 0; padding: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.kv dt { color: var(--dim); font-size: 13px; } .kv dd { margin: 0; word-break: break-word; }
.badge { display: inline-block; font: 700 11px/1 var(--mono); letter-spacing: .1em; padding: 5px 8px; border-radius: 5px; text-transform: uppercase; }
.badge.ok { background: rgba(67, 214, 192, .14); color: var(--teal); } .badge.off { background: rgba(255, 107, 107, .14); color: var(--red); } .badge.gray { background: var(--panel2); color: var(--muted); } .badge.amber { background: rgba(255, 176, 0, .14); color: var(--amber); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 10px; } .sheet { padding: 20px; } }

/* founder */
#founder { border-top: 1px solid var(--line); }
.founder { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: start; }
.founder-card { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.founder-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; }
.founder-card .who { padding: 20px; display: grid; gap: 6px; justify-items: start; }
.founder-card h3 { font-size: 21px; font-weight: 750; }
.founder-card .role { font: 600 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.founder-card .deg { color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 4px; }
.founder-card .btn { margin-top: 12px; }
.founder-body { display: grid; gap: 34px; min-width: 0; }
.founder-body > p { color: var(--muted); font-size: 18px; max-width: 64ch; }
.founder-body > p b { color: var(--text); font-weight: 600; }
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.areas div { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 20px; }
.areas b { display: block; font-size: 16px; }
.areas span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.career { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.career li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.career time { font: 600 13px/1.7 var(--mono); color: var(--amber); font-variant-numeric: tabular-nums; }
.career b { display: block; }
.career span { color: var(--muted); }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 30px; } .founder-card { max-width: 340px; } }
@media (max-width: 640px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .career li { grid-template-columns: 1fr; gap: 2px; } }

/* phone menu: the logo tile is the menu button (its gantry beam is the top bar) */
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav { background: rgba(9, 12, 15, .96); }
  .nav .wrap { gap: 8px; }
  .nav .logo img { display: none; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -7px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; }
  .menu-btn svg { width: 30px; height: 30px; display: block; }
  .menu-btn rect.bar { fill: #111; transform-box: fill-box; transform-origin: center; transition: transform .2s ease, opacity .15s ease; }
  .nav.open .menu-btn .b1 { transform: translate(0, 5px) rotate(45deg); }
  .nav.open .menu-btn .b2 { opacity: 0; }
  .nav.open .menu-btn .b3 { transform: translate(0, -5px) rotate(-45deg) scaleX(1.5); }
  .nav nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 4px 20px 12px; flex-direction: column; gap: 0; background: rgba(9, 12, 15, .98); border-bottom: 1px solid var(--line2); box-shadow: 0 24px 40px rgba(0, 0, 0, .5); }
  .nav.open nav { display: flex; }
  .nav nav a { padding: 15px 2px; font-size: 16px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav nav a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .menu-btn rect.bar { transition: none; } }
@media (max-width: 480px) {
  .stepper { flex-wrap: nowrap; gap: 6px; font-size: 12.5px; }
  .stepper span { gap: 6px; white-space: nowrap; }
  .stepper hr { flex: 1 1 8px; min-width: 6px; }
  .founder-card { max-width: none; }
  .sc-bar { flex-wrap: nowrap; gap: 8px; }
  .sc-zone { flex: 1 1 0; }
  .sc-zone select { min-width: 0; flex: 1 1 0; max-width: none; }
  .seg { flex: none; }
}
.sc-tznote { font-size: 12.5px; color: var(--dim); margin: -8px 0 14px; }
.linkish { font: inherit; color: var(--teal); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.sc-zone em { white-space: nowrap; }
/* the privacy page */
.legal h2 { font-size: 19px; margin: 30px 0 10px; }
.legal p, .legal li { color: #c9d1da; font-size: 15.5px; max-width: 72ch; }
.legal p + p { margin-top: 12px; } .legal p.muted { color: var(--muted); margin-top: 10px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; } .legal li b { color: var(--text); }
.foot-links { display: inline-flex; gap: 22px; flex-wrap: wrap; }
/* once a time is chosen, the bar with Continue stays at the bottom of the screen until the card's own end */
.book { overflow: clip; }
#step-1 .book-foot.ready { position: sticky; bottom: 0; z-index: 5; background: var(--panel); margin: 22px -28px -28px; padding: 16px 28px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line2); box-shadow: 0 -16px 28px rgba(0, 0, 0, .35); }
@media (max-width: 900px) { #step-1 .book-foot.ready { margin: 22px -20px -20px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 560px) { #step-1 .book-foot.ready .pickd { min-width: 0; flex-basis: 100%; } #step-1 .book-foot.ready .btn { flex: 1; } }
.btn.nudge { animation: nudge .7s ease 1; }
@keyframes nudge { 0% { box-shadow: 0 0 0 0 rgba(255, 176, 0, .65); } 100% { box-shadow: 0 0 0 16px rgba(255, 176, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .btn.nudge { animation: none; } }
.step-end { display: block; height: 0; scroll-margin-bottom: 18px; }
/* phones: the card's summary is kept short, so "Book a demo" lands with the calendar on screen */
@media (max-width: 560px) {
  .book-side { padding: 16px 20px 14px; }
  .book-side h3 { font-size: 19px; margin-top: 8px; }
  .book-side dl { margin-top: 12px; gap: 9px 14px; }
  .book-side dd { font-size: 13.5px; margin-top: 4px; line-height: 1.45; }
  .book-side dl > div:nth-child(2) { grid-column: 1 / -1; order: 3; }      /* "Where" on its own line, after Length and With */
  .book-side dl > div:nth-child(4), .book-side .chosen { display: none; }   /* "Bring", and the chosen time (the bar at the bottom shows it) */
  .book-main { padding-top: 16px; } .stepper { margin-bottom: 14px; }
}

/* Safari and iPhones draw form controls their own way unless told not to: dropdowns come out thin
   and unstyled, and date / time fields get a width of their own and can push a page sideways */
select, input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], input[type=datetime-local], input[type=search], textarea { -webkit-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2397a3b1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; background-size: 11px 7px; padding-right: 32px; text-overflow: ellipsis; }
input[type=date], input[type=time], input[type=datetime-local] { min-width: 0; max-width: 100%; min-height: 2.5em; }
input::-webkit-date-and-time-value { text-align: left; min-height: 1.3em; }
input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
