/* Spec'd Out
   Design read: creator-service landing page for PC/tech YouTubers, dark gaming-retail language
   (Skytech-inspired), native CSS + vanilla JS. Dials: variance 7 / motion 6 / density 4.
   Shape rule: buttons + tags are full pills, cards are 18px, inputs are 12px.
   Accent lock: cyan is the only UI accent; violet lives in the brand art and soft glows only. */

:root {
  color-scheme: dark;
  --bg: #0e1121;
  --bg-2: #13172b;
  --panel: #181d35;
  --panel-2: #1f2541;
  --line: #2b3253;
  --fg: #e8ebf7;
  --muted: #a1aac8;
  --accent: #45d4f2;
  --accent-ink: #091022;
  --violet: #8d5cf0;
  --ok: #45d4f2;
  --no: #f2a65a;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r-card: 18px;
  --r-input: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: 16px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
a, button, input, select, textarea, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(69, 212, 242, .2); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.motion-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 1; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(14, 17, 33, .7); color: var(--muted); font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.motion-toggle:hover { color: var(--fg); border-color: var(--accent); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); font-style: italic; padding-bottom: .05em; }
h3 { font-size: 1.35rem; letter-spacing: .01em; }
p { margin: 0; max-width: 62ch; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons + tags (pills) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.6em; border-radius: 999px; border: 2px solid var(--accent);
  font: 700 1.05rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s;
  background: var(--accent); color: var(--accent-ink);
}
.btn:hover { background: #7ae3f8; border-color: #7ae3f8; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: rgba(69, 212, 242, .12); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.tag {
  display: inline-flex; align-items: center; gap: .5em; padding: .4em 1em; border-radius: 999px;
  border: 1.5px solid var(--accent); color: var(--accent);
  font: 600 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(14, 17, 33, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 2px 6px rgba(8, 10, 24, .5)); }
.brand-word { font: 800 1.3rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .01em; color: var(--fg); white-space: nowrap; }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--fg); text-decoration: none; font: 700 italic 1.05rem var(--display); letter-spacing: .05em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav .btn { min-height: 42px; padding: 0 1.2em; font-size: .95rem; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Hero card */
.hero { padding-block: 20px 8px; }
.hero-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; border: 1px solid var(--line);
  background: #161b33 url("img/circuit.webp") center / cover no-repeat;
  display: grid; grid-template-columns: 1fr; align-items: center; gap: 8px;
  padding: 36px 22px 0;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12, 15, 30, .92) 0%, rgba(12, 15, 30, .72) 55%, rgba(12, 15, 30, .4) 100%);
}
.hero-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 5rem); font-style: italic; line-height: 1.1; padding-bottom: .08em; }
.hero h1 span { color: var(--accent); }
.hero .sub { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: #c9d0e8; max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-owl { justify-self: center; width: min(78vw, 330px); transition: transform .5s var(--ease); will-change: transform; }
.hero-owl img { filter: drop-shadow(0 18px 40px rgba(8, 10, 24, .6)); }
@media (min-width: 900px) {
  .hero-card { grid-template-columns: 1.45fr 1fr; padding: 64px 56px; min-height: 560px; }
  .hero h1 { font-size: clamp(3rem, 5.4vw, 4.8rem); }
  .hero-card::before { background: linear-gradient(90deg, rgba(12, 15, 30, .94) 0%, rgba(12, 15, 30, .78) 48%, rgba(12, 15, 30, .25) 100%); }
  .hero-owl { width: 100%; max-width: 420px; }
}

section { padding-block: 72px 0; scroll-margin-top: 56px; }
@media (min-width: 900px) { section { padding-block: 104px 0; } }

/* Pain statements */
.pains { display: grid; gap: 28px; }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; }
.pain-list li {
  font: 700 italic clamp(1.45rem, 3.6vw, 2.3rem)/1.18 var(--display); text-transform: uppercase;
  padding: 22px 0 22px 20px; border-left: 3px solid var(--line); transition: border-color .4s var(--ease), color .4s;
}
.pain-list li + li { margin-top: 6px; }
.pain-list li span { color: var(--muted); }
.pain-list li:hover, .pain-list li.seen { border-left-color: var(--accent); }

/* Build bento */
.build-head { display: grid; gap: 14px; margin-bottom: 28px; }
.build-count { font: 600 .9rem var(--mono); color: var(--muted); }
.build-count b { color: var(--accent); font-weight: 600; }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.part {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-card);
  background: var(--panel); border: 1px solid var(--line); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.part .tag { justify-self: start; border-color: var(--line); color: var(--muted); transition: color .4s, border-color .4s; }
.part.installed { border-color: rgba(69, 212, 242, .45); }
.part.installed .tag { border-color: var(--accent); color: var(--accent); }
.part p { color: var(--muted); font-size: 1rem; }
.part-outreach { background: linear-gradient(180deg, rgba(14, 17, 33, .35), rgba(14, 17, 33, .92)), url("img/circuit-dark.webp") center / cover; min-height: 280px; align-content: end; }
.part-outreach h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-style: italic; }
.part-report { background: radial-gradient(120% 140% at 100% 0%, rgba(141, 92, 240, .35), transparent 60%), var(--panel-2); }
.part-pack { background: radial-gradient(110% 120% at 0% 100%, rgba(69, 212, 242, .16), transparent 60%), var(--panel); }
@media (min-width: 640px) { .bento { grid-template-columns: 1fr 1fr; } .part-outreach, .part-pack, .part-report { grid-column: span 2; } }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .part-outreach { grid-column: span 2; grid-row: span 2; min-height: 0; }
  .part-pack, .part-report { grid-column: span 2; }
}

/* Timeline */
.track { display: grid; gap: 0; margin-top: 32px; }
.stop { position: relative; padding: 0 0 36px 34px; display: grid; gap: 8px; }
.stop::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 0; width: 2px; background: var(--line); }
.stop:last-child::before { display: none; }
.stop::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.stop.lit::after { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(69, 212, 242, .15); }
.stop.lit::before { background: linear-gradient(var(--accent), var(--line)); }
.stop .days { font: 600 .85rem var(--mono); color: var(--accent); letter-spacing: .06em; }
@media (min-width: 900px) {
  .track { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .stop { padding: 34px 0 0; }
  .stop::before { left: 16px; right: -28px; top: 7px; bottom: auto; width: auto; height: 2px; }
  .stop.lit::before { background: linear-gradient(90deg, var(--accent), var(--line)); }
  .stop::after { top: 0; }
}

/* Guarantee banner */
.guarantee {
  border-radius: 26px; overflow: hidden; position: relative; isolation: isolate; border: 1px solid rgba(69, 212, 242, .35);
  background: linear-gradient(90deg, rgba(14, 17, 33, .95), rgba(14, 17, 33, .7)), url("img/circuit-dark.webp") center / cover;
  padding: 36px 24px; display: grid; gap: 18px; align-items: center;
}
.guarantee .big { font: 800 italic clamp(4rem, 14vw, 7.5rem)/.95 var(--display); color: var(--accent); }
.guarantee .big small { display: block; font: 700 italic clamp(1.2rem, 3vw, 1.6rem)/1.2 var(--display); color: var(--fg); text-transform: uppercase; letter-spacing: .04em; }
.guarantee > div { display: grid; gap: 10px; min-width: 0; }
@media (min-width: 900px) { .guarantee { grid-template-columns: auto 1fr; gap: 56px; padding: 56px; } }

/* Fit lists */
.fit { display: grid; gap: 18px; margin-top: 28px; }
.fit-col { display: grid; gap: 14px; align-content: start; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit li { position: relative; padding-left: 30px; }
.fit li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 8px; height: 14px; border: solid var(--ok); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.fit .no li::before { width: 14px; height: 2.5px; border: 0; background: var(--no); transform: none; top: .75em; left: 0; }
@media (min-width: 900px) { .fit { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* About Specs */
.about { display: grid; gap: 24px; align-items: center; }
.about-owl { width: min(70vw, 300px); justify-self: center; }
.about > div { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 900px) { .about { grid-template-columns: 340px 1fr; gap: 64px; } .about-owl { width: 100%; } }

/* FAQ */
.faq { margin-top: 24px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; min-height: 48px; font: 700 1.2rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--mono); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* Forms */
.get { display: grid; gap: 32px; }
.get-copy { display: grid; gap: 18px; align-content: start; }
.get-copy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--muted); }
.get-copy ul li::marker { color: var(--accent); }
.get-owl { width: 120px; }
@media (min-width: 900px) { .get { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 18px; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 600 .95rem var(--body); color: var(--fg); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=url], .field input[type=number], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-input);
  border: 1.5px solid var(--line); background: var(--bg-2); color: var(--fg);
  font: 400 16px/1.4 var(--body); transition: border-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7f89aa; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(69, 212, 242, .2); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--no); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); font-size: .95rem; transition: border-color .2s, color .2s, background-color .2s; }
.choice input:checked + span { border-color: var(--accent); color: var(--fg); background: rgba(69, 212, 242, .12); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-note { font: .9rem var(--mono); color: var(--accent); min-height: 1.2em; }
.form-error { font-size: .9rem; color: var(--no); min-height: 1.2em; }
.two { display: grid; gap: 18px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }

/* Intake wizard */
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.step-pill { flex: none; padding: .55em 1.1em; min-height: 40px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--muted); font: 600 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.step-pill:hover:not(:disabled) { border-color: var(--accent); color: var(--fg); }
.step-pill.on { border-color: var(--accent); color: var(--accent); background: rgba(69, 212, 242, .1); }
.step-pill.done { color: var(--fg); }
.step-pill:disabled { cursor: default; opacity: .75; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.step { display: grid; gap: 18px; }

/* Legal pages */
.legal { max-width: 760px; padding-block: 48px 0; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-style: italic; }
.legal h2 { font-size: 1.4rem; font-style: normal; margin-top: 18px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.consent { font-size: .85rem; color: var(--muted); }

/* Footer */
footer { margin-top: 104px; border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: .92rem; }
footer .mail { font-family: var(--mono); color: var(--fg); user-select: all; }

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 17, 33, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.show { transform: translateY(0); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Reveal on scroll (content is visible by default; JS adds .pre only when motion is allowed) */
.reveal.pre { opacity: 0; transform: translateY(22px); }
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
}
