/* CAIO as a Service · Control Room
   A calm, dark operations console. Precise type, live details, one clear offer. */

:root {
  --bg: #0a0e1a;
  --bg-2: #0e1424;
  --panel: #111a2e;
  --panel-2: #16213a;
  --line: rgba(148, 163, 184, .16);
  --line-2: rgba(148, 163, 184, .28);
  --text: #e8ecf4;
  --muted: #94a0b8;
  --dim: #64708a;
  --orange: #ff6b2c;
  --blue: #5b8cff;
  --mint: #3ee6a0;
  --pink: #ff7eb6;
  --yellow: #ffcb52;

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16.5px/1.6 var(--sans);
  overflow-x: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
}
body::before { /* fade the grid towards the bottom of the first screen */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(1200px 700px at 70% -10%, rgba(91, 140, 255, .16), transparent 60%),
              radial-gradient(900px 600px at -10% 30%, rgba(255, 107, 44, .10), transparent 60%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
abbr { text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #0a0e1a; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1220px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Cursor glow (desktop only) */
.glow { position: fixed; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255, 107, 44, .10), transparent 60%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; }
body.has-pointer .glow { opacity: 1; }
main, .top, .foot { position: relative; z-index: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--orange); color: #140802; font: 600 15.5px/1 var(--sans); padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; box-shadow: 0 8px 24px -10px rgba(255, 107, 44, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255, 107, 44, .9), inset 0 1px 0 rgba(255,255,255,.35); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.04); box-shadow: none; border-color: var(--muted); }
.btn--sm { padding: 10px 16px; font-size: 14.5px; border-radius: 10px; }
.btn--full { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 26, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-color: var(--line); }
.top__inner { display: flex; align-items: center; gap: 22px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 17px/1 var(--mono); letter-spacing: -0.02em; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.logo__cursor { display: inline-block; width: 9px; height: 17px; margin-left: 3px; background: var(--orange); vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.clock { display: flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); color: var(--muted); margin-right: auto; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; }
.clock time { color: var(--text); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(62, 230, 160, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 230, 160, .55); } 70% { box-shadow: 0 0 0 9px rgba(62, 230, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 230, 160, 0); } }
.top__nav { display: flex; gap: 24px; font-size: 14.5px; }
.top__nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.top__nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tag { font: 500 13px/1.4 var(--mono); color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.tag abbr { color: var(--orange); }
.hero h1 { font-size: clamp(42px, 5.2vw, 74px); margin: 20px 0 22px; text-wrap: balance; }
.nw { white-space: nowrap; }
.grad { background: linear-gradient(92deg, var(--orange), var(--yellow) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; max-width: 31ch; }
.csaas { font: 600 1em/1 var(--mono); letter-spacing: -0.03em; color: var(--yellow); }
.rotator { margin-top: 16px; font: 500 clamp(15.5px, 1.45vw, 18px)/1.5 var(--sans); color: var(--muted); min-height: 1.5em; }
.rotator__word { color: var(--text); font-family: var(--mono); font-weight: 500; letter-spacing: -0.02em; border-bottom: 2px solid var(--orange); white-space: nowrap; }
.rotator__caret { display: inline-block; width: .55em; height: 1.05em; margin-left: 4px; background: var(--orange); vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { margin-top: 30px; font: 400 13.5px/1.6 var(--mono); color: var(--muted); }
.hero__proof span { color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-right: 10px; }

/* Console */
.console { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; font-family: var(--mono); }
.console__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; }
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.console__title { color: var(--text); }
.console__badge { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: rgba(255, 203, 82, .1); color: var(--yellow); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.console__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.console__head img { width: 40px; height: 40px; border-radius: 12px; }
.console__who { font-size: 14px; color: var(--text); }
.console__status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mint); margin-top: 2px; }
.console__day { margin-left: auto; font-size: 12px; color: var(--dim); padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; font-variant-numeric: tabular-nums; }

.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 16px 13px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.phases li { display: grid; gap: 7px; transition: color .3s; }
.phases i { position: relative; display: block; height: 6px; border-radius: 3px; background: #1f2a44; overflow: hidden; }
.phases i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: var(--c); box-shadow: 0 0 10px var(--c); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.phases li.is-active { color: var(--text); }
.phases li.is-done { color: var(--muted); }
.phases li.is-done span::after { content: " ✓"; color: var(--mint); }
.phases li[data-phase="run"].is-active i::after { background: repeating-linear-gradient(90deg, var(--c) 0 12px, color-mix(in srgb, var(--c) 45%, transparent) 12px 18px); background-size: 18px 100%; animation: running .9s linear infinite; }
@keyframes running { to { background-position: 18px 0; } }

.console__log { height: 238px; overflow: hidden; padding: 10px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; font-size: 12.8px; position: relative; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 34%); mask-image: linear-gradient(to bottom, transparent, #000 34%); }
.log { display: grid; grid-template-columns: 52px auto 1fr; gap: 10px; align-items: baseline; padding: 5px 0; color: var(--muted); animation: logIn .45s cubic-bezier(.2,.8,.2,1); }
.log time { color: var(--dim); font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.log__tag { font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; color: #0a0e1a; background: var(--c); }
.log__msg { color: var(--text); }
.log__msg em { font-style: normal; color: var(--c); }
@keyframes logIn { from { opacity: 0; transform: translateY(10px); } }
.console__metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.metric { padding: 14px 16px; display: grid; gap: 4px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric__label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.metric__value { font: 600 20px/1 var(--sans); color: var(--text); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metric__value.bump { animation: bump .5s ease; }
@keyframes bump { 30% { color: var(--mint); transform: translateY(-2px); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: rgba(14, 20, 36, .7); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; gap: 40px; padding-right: 40px; font: 500 14px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.marquee li { white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.marquee li::after { content: "◆"; color: var(--orange); font-size: 9px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--panel { background: linear-gradient(180deg, rgba(17, 26, 46, .75), rgba(10, 14, 26, .9)); border-block: 1px solid var(--line); }
.section__head { max-width: 880px; margin-bottom: clamp(32px, 5vw, 52px); }
.eyebrow { font: 500 13px/1 var(--mono); color: var(--orange); margin-bottom: 16px; letter-spacing: .02em; }
.section h2 { font-size: clamp(32px, 4.2vw, 56px); }
.section__sub { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 56ch; }

/* Offer */
.offer__head { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.offer__head .section__head { margin-bottom: 0; }
.ps1 { color: var(--mint); }
.define { border: 1px solid var(--line-2); border-radius: 14px; background: #070a13; padding: 16px 18px 18px; font: 400 13.5px/1.55 var(--mono); box-shadow: 0 30px 60px -36px rgba(0,0,0,.9); }
.define__cmd { color: var(--text); margin-bottom: 14px; }
.define__term { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; }
.define__term b { font: 600 24px/1 var(--mono); letter-spacing: -0.03em; color: var(--yellow); }
.define__term span { font-size: 12px; color: var(--dim); }
.define__body { color: var(--muted); }

.bracket { position: relative; height: 18px; margin: 0 6px 18px; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 10px 10px 0 0; }
.bracket span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 0 14px; background: var(--bg); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); white-space: nowrap; }
.phase-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.phase { position: relative; overflow: hidden; padding: clamp(20px, 2.6vw, 30px); border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line)); border-radius: 20px; background: radial-gradient(520px 200px at 50% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%), linear-gradient(180deg, var(--panel), var(--bg-2)); }
.phase__months { display: flex; gap: 6px; margin-bottom: 24px; }
.phase__months i { flex: 1; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: #0a0e1a; font: 700 11.5px/1 var(--mono); font-style: normal; letter-spacing: .04em; box-shadow: 0 0 18px -6px var(--accent); }
.phase__months--open { -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent); mask-image: linear-gradient(90deg, #000 40%, transparent); }
.phase__when { font: 500 12.5px/1 var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.phase h3 { font-size: clamp(28px, 3vw, 38px); margin: 10px 0 10px; }
.phase__lead { color: var(--muted); font-size: 17px; }
.phase__steps { display: grid; gap: 0; margin-top: 22px; }
.phase__steps li { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 14px 0; border-top: 1px dashed var(--line-2); color: var(--muted); font-size: 15px; }
.phase__steps span { font: 500 11.5px/1.9 var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .07em; }
.phase__steps strong { display: block; color: var(--text); font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.phase__list { margin: 22px 0 26px; }
.phase__list li { padding: 12px 0 0; border-top: 1px dashed var(--line-2); }
.phase:has(.phase__status) { display: flex; flex-direction: column; }
.phase__status { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 16px; border: 1px solid rgba(62, 230, 160, .3); border-radius: 12px; background: rgba(62, 230, 160, .06); font: 500 12.5px/1.4 var(--mono); color: var(--mint); }

.instead { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.instead li { display: grid; gap: 6px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 14px; }
.instead s { font: 400 13.5px/1.45 var(--mono); color: var(--dim); text-decoration-color: rgba(255, 107, 44, .7); }
.instead b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.instead b::before { content: "→ "; color: var(--orange); }

/* AI Adoption Scale: seven stages as a staircase, gray to blue to mint as a company climbs */
.climb__head h2 { text-wrap: balance; }
.climb { margin-inline: calc(-1 * clamp(0px, (100vw - 1220px) / 2, 120px)); } /* wider than the text on big screens */
.climb__steps { --rise: 18px; position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.climb__steps::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--muted), var(--blue) 50%, var(--mint)); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.climb__step { display: flex; flex-direction: column; padding-top: calc((7 - var(--n)) * var(--rise)); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc((var(--n) - 1) * 120ms); }
.climb__step:nth-child(1) { --n: 1; --c: var(--muted); }
.climb__step:nth-child(2) { --n: 2; --c: color-mix(in srgb, var(--muted), var(--blue) 33%); }
.climb__step:nth-child(3) { --n: 3; --c: color-mix(in srgb, var(--muted), var(--blue) 67%); }
.climb__step:nth-child(4) { --n: 4; --c: var(--blue); }
.climb__step:nth-child(5) { --n: 5; --c: color-mix(in srgb, var(--blue), var(--mint) 33%); }
.climb__step:nth-child(6) { --n: 6; --c: color-mix(in srgb, var(--blue), var(--mint) 67%); }
.climb__step:nth-child(7) { --n: 7; --c: var(--mint); }
.climb__card { position: relative; flex: 1; padding: 18px 16px 20px; border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line)); border-radius: 14px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.climb__no { display: flex; align-items: baseline; gap: 9px; font: 600 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.climb__no b { font: 650 36px/.8 var(--sans); letter-spacing: -0.03em; }
.climb h3 { margin: 18px 0 10px; font-size: 19px; line-height: 1.2; letter-spacing: -0.015em; }
.climb__card p:not(.climb__flag) { color: var(--muted); font-size: 15px; line-height: 1.5; }
.climb__riser { height: calc(var(--n) * var(--rise)); margin-top: 8px; border-top: 2px solid var(--c); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, transparent), color-mix(in srgb, var(--c) 4%, transparent)); transform-origin: bottom; transition: transform .7s cubic-bezier(.2,.8,.2,1) calc((var(--n) - 1) * 120ms + 80ms); }
.climb__flag { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 7px 9px; border: 1px solid rgba(91, 140, 255, .5); border-radius: 7px; background: rgba(91, 140, 255, .14); color: var(--blue); font: 600 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.climb__step--key .climb__card { border-color: rgba(91, 140, 255, .6); box-shadow: 0 0 0 1px rgba(91, 140, 255, .22), 0 20px 44px -26px rgba(91, 140, 255, .8); }
.climb__step--goal .climb__card { border-color: rgba(62, 230, 160, .55); background: radial-gradient(260px 160px at 50% 0%, rgba(62, 230, 160, .16), transparent 70%), linear-gradient(180deg, var(--panel), var(--bg-2)); box-shadow: 0 20px 44px -26px rgba(62, 230, 160, .8); }
.climb__check { position: absolute; top: 15px; right: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: #0a0e1a; font: 700 15px/1 var(--sans); box-shadow: 0 0 16px -2px rgba(62, 230, 160, .7); }
.climb.is-waiting .climb__step { opacity: 0; transform: translateY(20px); }
.climb.is-waiting .climb__riser { transform: scaleY(0); }
.climb.is-waiting .climb__steps::after { transform: scaleX(0); }
.climb__note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-top: 30px; color: var(--muted); font-size: 16px; }

/* Estimator */
.estimator { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: stretch; }
.estimator__inputs { display: grid; gap: 26px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 14, 26, .6); }
.range { display: grid; gap: 12px; }
.range__top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.range output { font: 600 16px/1 var(--mono); color: var(--text); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--orange) var(--fill, 50%), #22304d var(--fill, 50%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--text); border: 4px solid var(--orange); box-shadow: 0 0 0 6px rgba(255, 107, 44, .18); transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 4px solid var(--orange); }
input[type="range"]:focus-visible { box-shadow: 0 0 0 3px var(--yellow); }
.estimator__out { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); border: 1px solid rgba(255, 107, 44, .35); background: radial-gradient(500px 300px at 100% 0%, rgba(255, 107, 44, .16), transparent 70%), var(--panel); }
.out { display: grid; gap: 4px; }
.out__value { font: 650 clamp(40px, 5vw, 64px)/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.out--accent .out__value { color: var(--orange); }
.out__label { color: var(--muted); font-size: 15px; }
.out__fte { font-size: 16px; color: var(--muted); }
.out__fte strong { color: var(--text); }
.estimator__out .btn { align-self: flex-start; margin-top: 6px; }
.fine { font: 400 12px/1.5 var(--mono); color: var(--dim); }

.shipped { margin: 0; display: grid; gap: 10px; font: 400 14px/1.45 var(--mono); }
.shipped li { display: flex; gap: 10px; }
.shipped li::before { content: "✓"; color: var(--mint); font-weight: 700; }
.ext { font: 500 14px/1 var(--mono); color: var(--orange); text-decoration: none; border-bottom: 1px solid rgba(255, 107, 44, .4); padding-bottom: 3px; white-space: nowrap; }
.ext:hover { border-color: var(--orange); }

/* What I've built: a playlist beside the screen */
.screen { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.screen__stage { order: -1; min-width: 0; }
.reel-list { display: grid; gap: 8px; position: sticky; top: 84px; }
.reel-tab { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; width: 100%; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(14, 20, 36, .8); color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.reel-tab:hover { border-color: var(--line-2); background: var(--panel); }
.reel-tab[aria-selected="true"] { background: var(--panel-2); border-color: rgba(255, 107, 44, .55); box-shadow: 0 0 0 1px rgba(255, 107, 44, .25), 0 18px 40px -24px rgba(255, 107, 44, .6); }
.reel-tab__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: var(--film-bg, #0e1424); }
.reel-tab__thumb img { width: 100%; height: 100%; object-fit: cover; }
.reel-tab__thumb img.is-contain { object-fit: contain; }
.reel-tab__no { position: absolute; left: 5px; top: 5px; padding: 3px 5px; border-radius: 4px; background: rgba(10, 14, 26, .8); color: var(--text); font: 600 10px/1 var(--mono); }
.reel-tab__name { display: block; color: var(--text); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.reel-tab__kind { display: block; margin-top: 2px; font: 400 12px/1.35 var(--mono); color: var(--dim); }
.reel-tab__len { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; font: 500 11px/1 var(--mono); color: var(--muted); }
.reel-tab__len::before { content: ""; border-left: 7px solid var(--orange); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.reel-tab__len--soon { color: var(--dim); }
.reel-tab__len--soon::before { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--yellow); }
.reel-tab[aria-selected="true"] .reel-tab__kind { color: var(--orange); }

.reel { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, var(--panel), var(--bg-2)); animation: fadeUp .5s cubic-bezier(.2,.8,.2,1); }
.reel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.film { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--film-bg, #05070d); border-bottom: 1px solid var(--line); }
.film__video, .film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #05070d; }
.film__poster.is-contain { object-fit: contain; background: transparent; padding: 4% 0 0; }
.film__play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; width: 100%; padding: 0; border: 0; border-radius: 0; background: linear-gradient(180deg, rgba(5, 7, 13, .05) 30%, rgba(5, 7, 13, .6)); color: var(--text); cursor: pointer; }
.film__play[hidden] { display: none; }
.film__btn { position: relative; display: grid; place-items: center; width: clamp(64px, 8vw, 88px); aspect-ratio: 1; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 10px rgba(255, 107, 44, .2), 0 18px 40px -10px rgba(255, 107, 44, .9); transition: transform .2s, box-shadow .2s; }
.film__btn::before { content: ""; margin-left: 12%; border-left: clamp(17px, 2.2vw, 24px) solid #140802; border-top: clamp(11px, 1.4vw, 15px) solid transparent; border-bottom: clamp(11px, 1.4vw, 15px) solid transparent; }
.film__play:hover .film__btn { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255, 107, 44, .22), 0 22px 50px -10px rgba(255, 107, 44, 1); }
.film__label { padding: 8px 12px; border-radius: 8px; background: rgba(10, 14, 26, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.film[hidden] { display: none; }
.film-switch { display: flex; flex-wrap: wrap; gap: 8px; padding: clamp(14px, 2vw, 18px) clamp(20px, 3vw, 32px) 0; }
.film-switch__opt { display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(14, 20, 36, .8); color: var(--muted); font: 600 14.5px/1.2 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.film-switch__opt:hover { border-color: var(--muted); color: var(--text); }
.film-switch__opt span { font: 500 12px/1 var(--mono); color: var(--dim); }
.film-switch__opt[aria-pressed="true"] { background: var(--panel-2); border-color: rgba(255, 107, 44, .55); color: var(--text); }
.film-switch__opt[aria-pressed="true"] span { color: var(--orange); }
.film__soon { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 8px; background: rgba(10, 14, 26, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.film__soon .pulse { background: var(--yellow); animation: none; }

.reel__copy { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px clamp(24px, 3.5vw, 44px); padding: clamp(20px, 3vw, 32px); }
.reel__brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; margin-bottom: 18px; }
.reel__logo { height: 28px; width: auto; }
.reel__logo--maxx { height: 30px; }
.reel__logo--llw { height: 46px; }
.reel__sun { display: flex; align-items: center; gap: 10px; }
.reel__logo--sun { height: 38px; filter: brightness(0) invert(1); }
.reel__maxx { display: flex; align-items: baseline; gap: 6px; }
.reel__maxx .reel__logo { height: 24px; }
.reel__maxx i { font: italic 400 30px/1 "Instrument Serif", Georgia, serif; color: #80a7ec; }
.reel__mark { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.reel__mark img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.reel h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.reel__copy p:not(.reel__label) { color: var(--muted); font-size: 16px; }
.reel__label { margin: 8px 0 14px; font: 500 12px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.badge { border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(170deg, var(--panel-2), var(--bg-2)); padding: 14px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); max-width: 460px; }
.badge__photo { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: #0f172c; }
.badge__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; transition: filter .5s; }
.badge:hover .badge__photo img { filter: grayscale(0); mix-blend-mode: normal; }
.badge__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(91,140,255,.18), rgba(255,107,44,.16)); mix-blend-mode: screen; pointer-events: none; }
.badge__scan { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: var(--mint); box-shadow: 0 0 14px 2px var(--mint); opacity: .8; animation: scan 3.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 4%; } 50% { top: 94%; } }
.badge__spec { margin: 14px 4px 2px; display: grid; gap: 0; font: 400 13px/1.4 var(--mono); }
.badge__spec div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); }
.badge__spec dt { color: var(--dim); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; padding-top: 1px; }
.badge__spec dd { margin: 0; color: var(--text); }
.about h2 { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 20px; }
.about__lead { font-size: clamp(19px, 1.8vw, 22px); color: var(--text); margin-bottom: 14px; }
.about__copy > p:not(.eyebrow):not(.about__lead) { color: var(--muted); margin-bottom: 26px; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(36px, 4.8vw, 62px); }
.contact__links { margin-top: 32px; display: grid; gap: 12px; }
.contact__links li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__links span { font: 500 12px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; min-width: 80px; }
.contact__links a { font-size: clamp(18px, 2vw, 22px); text-decoration: none; font-weight: 500; }
.contact__links a:hover { color: var(--orange); }

.term { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: #070a13; font-family: var(--mono); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.term__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--panel); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.term__body { padding: 18px 20px 22px; display: grid; gap: 8px; font-size: 14px; }
.term__cmd { color: var(--text); margin-bottom: 8px; }
.term__q { color: var(--text); margin-top: 6px; display: block; padding: 0; }
.q { color: var(--orange); font-weight: 700; margin-right: 6px; }
.dim { color: var(--dim); }
.term__in { width: 100%; font: inherit; font-size: 15px; color: var(--yellow); background: transparent; border: 0; border-bottom: 1px dashed var(--line-2); padding: 8px 0 8px 20px; caret-color: var(--orange); resize: vertical; background-image: linear-gradient(var(--mint), var(--mint)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.term__in::placeholder { color: #3b4763; }
.term__in:focus { outline: none; background-size: 100% 1px; border-bottom-color: transparent; }
.term__in.is-invalid { border-bottom-color: #ff5f57; }
.term__pick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.term__pick legend { width: 100%; margin-bottom: 8px; }
.term__pick label { position: relative; cursor: pointer; }
.term__pick input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.term__pick label span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--muted); transition: all .15s; user-select: none; }
.term__pick label span::before { content: "[ ] "; color: var(--dim); }
.term__pick input:checked + span { border-color: var(--mint); color: var(--mint); background: rgba(62, 230, 160, .08); }
.term__pick input:checked + span::before { content: "[x] "; color: var(--mint); }
.term__pick input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.term .btn { margin-top: 18px; }
.term__status { min-height: 1.4em; font-size: 13px; color: var(--mint); }
.term__status.is-error { color: #ff7a72; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 26px 0 34px; font: 400 13px/1.4 var(--mono); color: var(--dim); }
.foot__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 1280px) {
  .climb { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: #2a3758 transparent; }
  .climb__steps { width: max-content; grid-template-columns: repeat(7, 248px); }
  .climb__step { scroll-snap-align: start; }
}
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .screen { grid-template-columns: minmax(0, 1fr) 280px; }
  .reel-tab { grid-template-columns: 88px 1fr; }
  .reel__copy { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .about, .contact, .offer__head, .phase-grid, .estimator { grid-template-columns: 1fr; }
  .instead { grid-template-columns: 1fr; }
  .badge { margin-inline: auto; }
  .screen { grid-template-columns: 1fr; }
  .screen__stage { order: 0; }
  .reel-list { position: static; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: #2a3758 transparent; }
  .reel-tab { flex: 0 0 236px; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; background-size: 40px 40px; }
  .clock { display: none; }
  .logo span:not(.logo__cursor) { font-size: 16px; }
  .top__inner { justify-content: space-between; }
  .console__metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .console__live { display: none; }
  .phases { gap: 6px; font-size: 9.5px; letter-spacing: .04em; }
  .console__log { height: 230px; font-size: 12px; }
  .log { grid-template-columns: auto 1fr; }
  .log time { display: none; }
  .phase__steps li { grid-template-columns: 1fr; gap: 4px; }
  .climb__steps { --rise: 13px; grid-template-columns: repeat(7, 236px); }
  .reel-tab { flex-basis: 214px; grid-template-columns: 76px 1fr; gap: 10px; }
  .reel__brand { flex-wrap: wrap; }
  .film__label { font-size: 11px; }
  .foot__mid { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .glow { display: none; }
}
