/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--bg-2); }
.hero__stage { position: absolute; inset: 0; }
.hero__stage canvas, .hero__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__stage video { opacity: 0; transition: opacity .6s; }
.hero__stage video.is-live { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 40%, transparent) 42%, transparent 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}
.hero__content { position: relative; z-index: 2; padding-top: 140px; }
/* phones: the shot gets its own band at the top and the copy sits below it */
@media (max-width: 700px) {
  .hero { min-height: 0; justify-content: flex-start; background: var(--bg); }
  .hero__stage { position: relative; inset: auto; height: 58svh; }
  .hero__shade { bottom: auto; height: 58svh; background: linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
  .hero__content { padding-top: 0; margin-top: -48px; }
}
.hero__badge { margin-bottom: 22px; }
.hero__title { font-size: clamp(46px, 8.6vw, 138px); font-weight: 900; font-style: italic; line-height: .9; letter-spacing: -.035em; max-width: 11ch; }
.hero__title > span { display: inline-block; }
.hero__sub { margin-top: 26px; max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: clamp(48px, 8vh, 96px); margin-bottom: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero__meta b { color: var(--text); font-family: var(--f-display); font-stretch: 125%; font-weight: 800; margin-right: 4px; }
.hero__placeholder { position: absolute; z-index: 2; right: var(--gutter); top: 96px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.hero__placeholder[hidden] { display: none; }

/* ---------- Shared heads ---------- */
.split-head, .plans-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 56px; align-items: end; }
.split-head .lede { margin-top: 0; }
@media (max-width: 900px) { .split-head, .plans-head { grid-template-columns: 1fr; } }
.link-arrow { justify-self: end; text-decoration: none; font-weight: 700; display: inline-flex; gap: 8px; padding-bottom: 4px; border-bottom: 2px solid var(--mustard); }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
@media (max-width: 900px) { .link-arrow { justify-self: start; } }

/* ---------- Hustle ---------- */
/* comparisons: every bar reads "bigger is better" */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
@media (max-width: 900px) { .duel { grid-template-columns: 1fr; } }
.duel__card { display: grid; gap: 26px; align-content: start; }
.duel__head h3 { font-size: 22px; }
.duel__head .note { margin-top: 8px; font-size: 14px; }
.duel__foot { font-size: 15px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.duel__foot b { color: var(--text); }
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 92px 1fr 104px; gap: 14px; align-items: center; }
.bar__name { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 16px; }
.bar__name small { display: block; font-family: var(--f-mono); font-stretch: 100%; font-weight: 400; font-size: 10px; color: var(--faint); }
.bar__track { position: relative; height: 44px; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.bar__track i { position: absolute; inset: 0; border-radius: 12px; transform-origin: 0 50%; background: var(--slate); opacity: .55; }
:root[data-theme="dark"] .bar__track i { background: var(--cream); opacity: .35; }
.bar--slow .bar__track i { background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, color-mix(in srgb, var(--orange) 78%, var(--char)) 10px 20px); opacity: 1; }
.bar--us .bar__track i { background: var(--mustard); opacity: 1; box-shadow: 0 0 24px var(--glow); }
.bar--us .bar__name { color: var(--accent-text); }
.bar__spare { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; font-weight: 700; color: var(--char); white-space: nowrap; }
.bar__val { text-align: right; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1.05; }
.bar__val small { display: block; font-family: var(--f-mono); font-stretch: 100%; font-weight: 400; font-size: 11px; color: var(--faint); }
.bar--us .bar__val { color: var(--accent-text); }
@media (max-width: 520px) {
  .bar { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .bar__name { grid-column: 1 / -1; }
  .bar__track { height: 36px; }
  .bar__val { font-size: 22px; }
  .bar__spare { font-size: 11px; }
}

.plain { margin-top: 14px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plain summary { cursor: pointer; list-style: none; padding: 18px 24px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.plain summary::-webkit-details-marker { display: none; }
.plain summary::after { content: '+'; font-family: var(--f-mono); color: var(--accent-text); font-size: 20px; line-height: 1; transition: transform .4s var(--ease); }
.plain[open] summary::after { transform: rotate(45deg); }
.plain__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 24px 16px; }
.plain__grid div { padding: 16px; border-radius: 14px; background: var(--surface-2); }
.plain__grid b { display: block; margin-bottom: 6px; }
.plain__grid p { font-size: 14px; color: var(--muted); }
.plain > .note { padding: 0 24px 20px; }
@media (max-width: 760px) { .plain__grid { grid-template-columns: 1fr; } }

.compat { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 48px; align-items: center; margin-top: 14px; }
.compat h3 { font-size: 22px; }
.compat p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 14px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; transition: background .3s, transform .3s var(--ease); }
.chips li::before { content: '✓'; color: var(--accent-text); font-weight: 800; margin-right: 8px; }
.chips li:hover { background: var(--mustard); color: var(--char); transform: translateY(-2px); }
.chips li:hover::before { color: var(--char); }
@media (max-width: 800px) { .compat { grid-template-columns: 1fr; } }
.hustle__note { margin-top: 24px; }

/* ---------- Events ---------- */
.event-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--invert-bg); color: var(--invert-text); }
.event-panel .eyebrow { color: var(--mustard); }
:root:not([data-theme="dark"]) .event-panel .eyebrow { color: var(--mustard); }
:root[data-theme="dark"] .event-panel .eyebrow { color: #9a6c00; }
.event-panel .lede { color: var(--invert-muted); }
.event-panel .title em { color: var(--mustard); }
:root[data-theme="dark"] .event-panel .title em { color: #9a6c00; }
.event-panel__ctas { margin-top: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: center; position: relative; z-index: 1; }
.steps li { display: flex; gap: 18px; padding: 20px; border-radius: 18px; background: color-mix(in srgb, var(--invert-text) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--invert-text) 12%, transparent); }
.steps__n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mustard); color: var(--char); font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-style: italic; }
.steps b { font-size: 17px; }
.steps p { font-size: 14px; color: var(--invert-muted); margin-top: 4px; }
.event-panel__track { position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 28px dashed color-mix(in srgb, var(--mustard) 30%, transparent); pointer-events: none; }
@media (max-width: 900px) { .event-panel { grid-template-columns: 1fr; } }

.plans-head { margin-top: clamp(80px, 10vw, 140px); margin-bottom: 24px; }
.events .placeholder-banner { margin-bottom: 16px; }

/* ---------- Dashboard ---------- */
.dash { background: var(--bg-2); }
.dash__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px 72px; align-items: center; }
@media (max-width: 960px) { .dash__grid { grid-template-columns: 1fr; } }
.dash__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 36px 0; }
.dash__modes h3 { font-size: 17px; margin-bottom: 12px; }
.dash__modes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.dash__modes li::before { content: '→'; color: var(--accent-text); margin-right: 8px; font-weight: 700; }
@media (max-width: 520px) { .dash__modes { grid-template-columns: 1fr; } }

.mock { border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(38, 50, 56, .45); overflow: hidden; }
.mock__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock__dots i:first-child { background: var(--orange); }
.mock__view { padding: 24px; display: grid; gap: 18px; min-height: 380px; align-content: start; }
.mock__server { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock__server b { font-family: var(--f-display); font-stretch: 125%; font-size: 20px; margin-right: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--on { background: color-mix(in srgb, var(--mustard) 25%, transparent); color: var(--accent-text); }
.mock__big { display: flex; align-items: baseline; gap: 10px; padding: 22px; border-radius: 16px; background: var(--surface-2); }
.mock__big b { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mock__big span { color: var(--muted); }
.mock__addr { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.mock__addr code { font-family: var(--f-mono); font-size: 15px; }
.mock__toggles, .mock__modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.mock__toggles label, .mock__modules label { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: 14px; font-weight: 600; cursor: pointer; }
.mock__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__metrics div { padding: 14px; border-radius: 14px; background: var(--surface-2); }
.mock__metrics span { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--faint); }
.mock__metrics b { font-family: var(--f-display); font-stretch: 125%; font-size: 26px; font-variant-numeric: tabular-nums; }
.spark { width: 100%; height: 60px; }
.spark__line { fill: none; stroke: var(--mustard); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.spark__area { fill: color-mix(in srgb, var(--mustard) 22%, transparent); }
.console { height: 108px; overflow: hidden; padding: 12px 14px; border-radius: 14px; background: #1d262a; color: #fff3cd; font-family: var(--f-mono); font-size: 12px; line-height: 1.7; display: flex; flex-direction: column; justify-content: flex-end; }
.console span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console .c-ok { color: #fbc02d; } .console .c-dim { color: rgba(255, 243, 205, .5); }

/* ---------- CTA band on home ---------- */
.cta-band { position: relative; }
