/* Public landing at / for signed-out visitors. Standalone on purpose: app.css
   styles the logged-in shell (body grid, sidebar) and would fight this page.
   The tokens below mirror app.css so the landing and the panel read as one
   product — change a colour there, change it here. */

:root {
  color-scheme: dark;
  --bg:        #030304;
  --surface-1: #08080A;
  --surface-2: #0C0D10;
  --surface-3: #15161C;
  --line:      rgba(255,255,255,.15);
  --line-2:    rgba(255,255,255,.10);
  --ink:   #EDEFF3;
  --ink-2: #CFD4DC;
  --ink-3: #B0B7C3;
  --ink-4: #949CAA;
  --accent:     #FFFFFF;
  --accent-h:   #E6E8EC;
  --accent-ink: #0A0A0C;
  --live:      #35D6A0;
  --live-soft: rgba(53,214,160,.12);
  --r-sm: 10px; --r: 12px; --r-lg: 14px; --r-xl: 18px;
  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 40px; padding: 0 16px; border-radius: var(--r-sm);
  font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-h); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.24); }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 15px; border-radius: var(--r); }
.btn-block { width: 100%; }

/* ── nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(3,3,4,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav-logo img { width: 96px; }
.nav-links { display: flex; gap: 24px; margin-right: auto; }
.nav-links a { color: var(--ink-3); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 140ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* Discord sits with the ways in, as a mark rather than a third button */
.nav-discord {
  display: grid; place-items: center; width: 40px; height: 40px; margin-right: 4px;
  border-radius: var(--r-sm); color: var(--ink-3);
  transition: color 140ms ease, background-color 140ms ease;
}
.nav-discord:hover { color: #fff; background: rgba(88,101,242,.18); }
.nav-discord:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.nav-discord svg { width: 22px; height: 22px; }

/* ── hero ────────────────────────────────────────────── */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; }
/* one quiet light source behind the headline, nothing else decorative */
.hero::before {
  content: ""; position: absolute; inset: -30% 10% auto; height: 720px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.07), transparent 70%);
}
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-size: clamp(38px, 6.2vw, 68px); line-height: 1.02;
  font-weight: 700; letter-spacing: -.035em;
}
.lede { margin-top: 22px; max-width: 620px; font-size: clamp(16px, 1.6vw, 18px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-4); }
.hero-note a { color: var(--ink-2); }

/* ── product shots ───────────────────────────────────── */
.shot {
  margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-1);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 80px -30px rgba(0,0,0,.9);
}
.shot-hero { margin-top: 64px; position: relative; }
/* the live-green hairline along the top edge: the panel's "farming" colour,
   so the first frame already says the thing is running */
.shot-hero::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--live), transparent);
}
.shot-bar {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--line-2); background: var(--surface-2);
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.shot-bar span { margin-left: 12px; font: 500 12px/1 var(--mono); color: var(--ink-4); }

/* ── sections ────────────────────────────────────────── */
.section { padding: 120px 0 0; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--live); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.sec-sub { margin-top: 14px; color: var(--ink-3); }

/* how it works: a real sequence, so the numbers carry order */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.steps li { padding: 28px; background: var(--surface-2); }
.steps li + li { border-left: 1px solid var(--line-2); }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line); font: 700 13px/1 var(--mono); color: var(--ink-2); margin-bottom: 18px; }
.steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.steps p { color: var(--ink-3); font-size: 15px; }

/* features: copy beside a screen, alternating sides */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.feature-copy > p { margin-top: 14px; color: var(--ink-2); }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 8px;
  border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg) scale(.8);
}

.caps { list-style: none; margin: 112px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--line-2); }
.caps li { display: flex; gap: 14px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line-2); }
.caps li:nth-child(3n+2), .caps li:nth-child(3n+3) { padding-left: 24px; border-left: 1px solid var(--line-2); }
.caps svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--ink-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.caps h4 { font-size: 15px; font-weight: 600; }
.caps p { margin-top: 4px; font-size: 14px; color: var(--ink-3); line-height: 1.5; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface-2); }
.plan-hi { border-color: rgba(255,255,255,.34); background: linear-gradient(180deg, var(--surface-3), var(--surface-2)); }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.tag { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px;
  background: var(--accent); color: var(--accent-ink); }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.amt { font-size: 44px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.per { color: var(--ink-4); font-size: 14px; }
/* the list grows to push both buttons to one baseline, but its rows stay packed at the top */
.plan .ticks { margin: 26px 0 30px; flex: 1; align-content: start; }

/* faq */
/* same left edge as every other section; only the reading width is capped */
.faq { max-width: 820px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--ink-4); transition: transform 180ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 4px; border-radius: 4px; }
.faq details p { padding: 0 0 22px; color: var(--ink-3); max-width: 680px; }
.faq a { color: var(--ink); }

/* closer + footer */
.closer { margin-top: 140px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--surface-1); }
.closer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.closer h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; font-weight: 700; }
.closer .hero-actions { margin-top: 0; }

.foot { padding: 36px 0 48px; }
.foot-row { display: flex; align-items: center; gap: 28px; color: var(--ink-4); font-size: 13px; }
.foot-row img { width: 72px; opacity: .8; }
.foot-row nav { display: flex; gap: 20px; margin-right: auto; }
.foot-row a { color: var(--ink-3); text-decoration: none; }
.foot-row a:hover { color: var(--ink); }

/* ── responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .feature, .feature-flip { grid-template-columns: 1fr; gap: 28px; }
  .feature-flip .feature-copy { order: 0; }
  .caps { grid-template-columns: 1fr 1fr; }
  .caps li:nth-child(n) { padding: 24px 20px 24px 0; border-left: 0; }
  .caps li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line-2); }
}
@media (max-width: 720px) {
  .hero { padding-top: 56px; }
  .section { padding-top: 88px; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line-2); }
  .plans { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .caps li:nth-child(n) { padding: 22px 0; border-left: 0; }
  .closer-row { flex-direction: column; align-items: flex-start; }
  .foot-row { flex-wrap: wrap; gap: 16px 24px; }
  .foot-row nav { flex-wrap: wrap; margin-right: 0; width: 100%; order: 3; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 18px; }
  /* returning users still need a way in: the ghost button becomes a plain link */
  .nav-cta .btn-ghost { border-color: transparent; padding: 0 8px; }
  .nav-cta .btn-primary { padding: 0 12px; }
  .hero-actions .btn { width: 100%; }
  .shot-bar { height: 30px; }
  .plan { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
