/* One Click Server website. Same brand as the product: stone ground, one orange accent,
   the orange gradient with the glowing helix for the hero and the sign-up. */
:root {
  --stage: #EEECE8; --surface: #FFFFFF; --surface-2: #F4F2EE; --ink: #1B1815; --muted: #6E665E; --line: #E2DDD6;
  --brand: #F0532A; --brand-strong: #CC3F19; --brand-soft: #FDEBE4; --on-brand: #FFFFFF; --hero-a: #FF6E40; --hero-b: #E2441B;
  --night: #161311; --on-night: #F3EFEA; --night-muted: #ADA399; --good: #217A4A; --bad: #BF352A;
  --font-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --stage: #0F0E0D; --surface: #1B1917; --surface-2: #24211E; --ink: #F3EFEA; --muted: #A79D93; --line: #34302B; --brand-soft: #3A2019; --brand-strong: #FF8E68; color-scheme: dark; }
}
:root[data-theme="dark"] { --stage: #0F0E0D; --surface: #1B1917; --surface-2: #24211E; --ink: #F3EFEA; --muted: #A79D93; --line: #34302B; --brand-soft: #3A2019; --brand-strong: #FF8E68; color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stage); color: var(--ink); font-family: var(--font-ui); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 760px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn-light { background: #fff; color: var(--hero-b); box-shadow: 0 14px 30px -14px rgba(110, 25, 0, .55); }
.btn-glass, .glass { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .34); color: #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 12px 24px -12px var(--brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-primary:disabled { opacity: .5; cursor: wait; transform: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.brand canvas { width: 44px; height: 22px; }
.brand small { font-weight: 500; opacity: .75; }

/* Nav sits on the hero */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 24px; padding: calc(18px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); color: #fff; max-width: 1200px; margin: 0 auto; }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav nav a { text-decoration: none; opacity: .9; }
.nav nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; background: radial-gradient(120% 80% at 50% 25%, var(--hero-a), var(--hero-b) 75%) top / 100% calc(100% - 180px) no-repeat, var(--stage); color: #fff; padding: calc(120px + env(safe-area-inset-top, 0px)) 0 0; overflow-x: clip; }
.hero-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.kicker { font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: .98; font-weight: 600; letter-spacing: -0.045em; }
.hero .sub { font-size: clamp(17px, 2vw, 20px); max-width: 58ch; opacity: .94; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.mark { width: min(420px, 80%); display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 10px; animation: float 6s ease-in-out infinite; }
.mark canvas { width: 100%; height: 110px; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .9)) drop-shadow(0 0 18px rgba(255, 225, 205, .6)); }
.mark .floor { width: 60%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(110, 25, 0, .35), transparent); filter: blur(3px); }
@keyframes float { 50% { transform: translateY(-7px); } }
.shot { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(40, 20, 5, .55), 0 0 0 1px rgba(0, 0, 0, .06); background: var(--surface); }
.hero-shot { width: min(1040px, calc(100% - 40px)); margin: 40px auto 0; position: relative; z-index: 2; border-radius: 22px 22px 18px 18px; }

/* Bands */
.band { padding: 110px 0; }
.band:first-child { padding-top: 100px; }
.band.alt { background: var(--surface); }
.band.dark { background: var(--night); color: var(--on-night); }
.eyebrow { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-strong); margin-bottom: 14px; }
.dark .eyebrow { color: #FF8E68; }
.band h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.04; font-weight: 600; max-width: 22ch; }
.lead { font-size: 18px; color: var(--muted); margin-top: 18px; max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { background: var(--surface); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.steps .n { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 700; }
.steps h3 { font-size: 20px; }
.steps p { color: var(--muted); font-size: 15.5px; }
.apps { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; }
.apps li { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.apps b { font-size: 17px; }
.apps span { color: var(--muted); font-size: 15.5px; }
.apps i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); padding: 2px 9px; border-radius: 999px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 40px 0 50px; }
.three h3 { font-size: 19px; margin-bottom: 8px; }
.three p { color: var(--night-muted); font-size: 15.5px; }
.dark .shot { max-width: 760px; margin: 0 auto; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.power { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15.5px; }
.power th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.power td { padding: 12px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.fine { font-size: 13px; color: var(--muted); margin-top: 10px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 28px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; max-width: 62ch; }

/* Sign-up */
.signup { background: radial-gradient(120% 100% at 50% 0%, var(--hero-a), var(--hero-b)); color: #fff; padding: 100px 0 110px; text-align: center; }
.signup h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.signup .sub { margin: 16px auto 34px; max-width: 46ch; opacity: .92; }
.card { background: var(--surface); color: var(--ink); border-radius: 26px; padding: 28px; text-align: left; display: flex; flex-direction: column; gap: 10px; max-width: 520px; margin: 0 auto; box-shadow: 0 40px 80px -40px rgba(60, 10, 0, .7); }
.card label { font-weight: 600; font-size: 14px; margin-top: 6px; }
.card input[type="email"], .card select { font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
.card input:focus, .card select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.card .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); margin: 10px 0 6px; }
.card .check input { width: 18px; height: 18px; accent-color: var(--brand); margin-top: 2px; flex: none; }
.card .check a { color: var(--brand-strong); }
.card .btn { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { min-height: 22px; font-size: 14px; }
.msg.bad { color: var(--bad); }
.done { text-align: center; padding: 20px 0; display: flex; flex-direction: column; gap: 8px; }
.done b { font-size: 22px; letter-spacing: -0.02em; }
.done p { color: var(--muted); }

.foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot .row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; font-size: 14.5px; }
.foot .fine { margin: 0 0 0 auto; }

/* Privacy page */
.doc { max-width: 720px; margin: 0 auto; padding: 60px 20px 80px; }
.doc h1 { font-size: 42px; margin: 30px 0 10px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--muted); }
.doc .todo { background: #FFF1C2; color: #5A4300; padding: 0 4px; border-radius: 4px; }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .split, .three, .steps { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 36px; }
  .band { padding: 80px 0; }
  .band:first-child { padding-top: 70px; }
  .hero { background-size: 100% calc(100% - 90px), auto; }
  .apps li { grid-template-columns: minmax(0, 1fr) auto; }
  .apps span { grid-column: 1 / -1; grid-row: 2; }
  .foot .fine { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- v2: motion, problem statement, second life, demo, sonar ---------- */
.hero { padding-bottom: 0; }
.hud-stage.hero-hud { width: min(1100px, calc(100% - 40px)); margin: 46px auto 0; position: relative; z-index: 2; }
.hero { background-size: 100% calc(100% - 230px), auto; }
.hero h1.headline { max-width: none; }
.hero h1.headline span { display: block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1.headline span:nth-child(2) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } }
.js .rv { transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .rv:not(.in) { opacity: 0; transform: translateY(26px); }
.lead.light { color: #C9BFB5; }

.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.pain { background: var(--surface); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s; }
.pain:hover { transform: translateY(-4px); }
.pain .pn { font-family: var(--font-mono); font-size: 13px; color: var(--brand-strong); }
.pain h3 { font-size: 21px; }
.pain p { color: var(--muted); font-size: 15.5px; }
.versus { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); align-items: center; margin-top: 30px; gap: 0; }
.vs { border-radius: 22px; padding: 26px 28px; }
.vs-k { font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.vs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 16px; }
.vs li { display: flex; gap: 10px; align-items: baseline; }
.vs.them { background: var(--surface-2); color: var(--muted); }
.vs.them li::before { content: "×"; color: var(--muted); font-weight: 700; }
.vs.us { background: radial-gradient(120% 120% at 0% 0%, var(--hero-a), var(--hero-b)); color: #fff; box-shadow: 0 30px 60px -30px var(--hero-b); }
.vs.us .vs-k { color: #FFE0D4; }
.vs.us li::before { content: "✓"; font-weight: 700; }
.vs-mid { display: grid; place-items: center; }
.vs-helix { width: 70px; height: 30px; }

.life { list-style: none; margin: 30px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: l; }
.life li { counter-increment: l; padding: 9px 16px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #ADA399; font-size: 15px; transition: background .4s, color .4s; }
.life li::before { content: counter(l) "  "; font-family: var(--font-mono); opacity: .7; }
.life li.on { background: var(--brand); color: #fff; }
.device { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 6%; }
.laptop { width: min(440px, 100%); }
.laptop .screen { aspect-ratio: 16 / 10; background: #1F1C1A; border: 10px solid #2A2623; border-bottom-width: 14px; border-radius: 14px 14px 4px 4px; position: relative; overflow: hidden; }
.laptop .base { height: 14px; margin: 0 -5%; background: linear-gradient(#3A3532, #24201E); border-radius: 0 0 14px 14px; }
.s { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #F3EFEA; opacity: 0; transition: opacity .6s; }
.device[data-state="0"] .s0, .device[data-state="1"] .s1, .device[data-state="2"] .s2 { opacity: 1; }
.s0 { background: repeating-linear-gradient(0deg, #2A2623 0 18px, #24201E 18px 36px); }
.s0 i { width: 60%; height: 8px; border-radius: 4px; background: #3A3532; }
.s1 span { font-family: var(--font-mono); font-size: 14px; }
.s1 small { color: #ADA399; font-family: var(--font-mono); font-size: 12px; }
.pb { width: 60%; height: 6px; border-radius: 99px; background: #3A3532; overflow: hidden; }
.pb i { display: block; height: 100%; width: 0; background: var(--brand); }
.device[data-state="1"] .pb i { animation: fill 2.6s linear forwards; }
@keyframes fill { to { width: 100%; } }
.s2 { background: radial-gradient(120% 100% at 50% 30%, var(--hero-a), var(--hero-b)); }
.s2 canvas { width: 70%; height: 60px; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .9)); }
.s2 b { font-size: 26px; letter-spacing: -0.03em; }
.live { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .2); }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7CF29A; margin-right: 6px; box-shadow: 0 0 8px #7CF29A; }
.watt { font-family: var(--font-mono); color: #F3EFEA; font-size: 15px; }
.watt b { font-size: 34px; font-family: var(--font-ui); letter-spacing: -0.03em; }
.watt span { color: #ADA399; margin-left: 6px; }

.demo { margin-top: 30px; border-radius: 24px; background: var(--surface); overflow: hidden; box-shadow: 0 20px 50px -34px rgba(40, 20, 5, .5); }
.demo-open { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.demo-open b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.demo-open small { color: var(--muted); font-size: 14.5px; }
.play { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); flex: none; position: relative; box-shadow: 0 10px 24px -10px var(--brand); }
.play::after { content: ""; position: absolute; left: 21px; top: 17px; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.chev { margin-left: auto; width: 14px; height: 14px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .3s; }
.demo-open[aria-expanded="true"] .chev { transform: rotate(225deg); }
.demo-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2, .8, .2, 1); }
.demo-panel.open { grid-template-rows: 1fr; }
.demo-panel > iframe { min-height: 0; width: 100%; height: 900px; border: 0; display: block; background: var(--stage); }

.split.rev > :first-child { order: 0; }
.sec-split { margin-top: 10px; gap: 40px; }
.sonar { position: relative; aspect-ratio: 4 / 3; max-width: 520px; width: 100%; margin: 0 auto; }
.ping { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px; border-radius: 50%; border: 1.5px solid rgba(240, 83, 42, .5); animation: sonar 3s ease-out infinite; }
.p2 { animation-delay: 1s; } .p3 { animation-delay: 2s; }
@keyframes sonar { from { transform: scale(1); opacity: 1; } to { transform: scale(6); opacity: 0; } }
.node { position: absolute; z-index: 2; font-size: 13.5px; font-weight: 600; text-align: center; }
.node.srv { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 110px; height: 70px; border-radius: 18px; background: radial-gradient(120% 100% at 50% 30%, var(--hero-a), var(--hero-b)); display: grid; place-items: center; box-shadow: 0 0 40px rgba(240, 83, 42, .5); }
.node.srv canvas { width: 80px; height: 30px; }
.node.you { left: 4%; bottom: 10%; background: #E1F1E7; color: #217A4A; padding: 8px 14px; border-radius: 99px; }
.node.bad { right: 2%; top: 8%; background: rgba(255, 255, 255, .08); color: #ADA399; padding: 8px 14px; border-radius: 14px; }
.node.bad small { font-weight: 400; color: #FF7A6E; }
.links { position: absolute; inset: 0; width: 100%; height: 100%; }
.links path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.links .ok { stroke: #5CC48C; stroke-dasharray: 6 8; animation: flow 1.2s linear infinite; }
.links .no { stroke: #FF7A6E; stroke-dasharray: 4 10; opacity: .6; }
@keyframes flow { to { stroke-dashoffset: -28; } }

@media (max-width: 900px) {
  .pains { grid-template-columns: minmax(0, 1fr); }
  .versus { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .vs-mid { display: none; }
  .demo-panel > iframe { height: 1180px; }
  .hero { background-size: 100% calc(100% - 90px), auto; }
}
@media (prefers-reduced-motion: reduce) { .js .rv:not(.in) { opacity: 1; transform: none; } .ping, .links .ok { animation: none; } }
