/* Lyra site styles
   Dark, deep-space base. Amber for actions (Elite's HUD), teal for Lyra's voice.
   Fonts: Geist (text) and Geist Mono (ship readouts only). */

:root {
  --bg: #06090f;
  --bg-2: #0a0f19;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #edf0f7;
  --muted: #8c95a8;
  --dim: #5d6679;
  --amber: #f5a524;
  --amber-2: #ffc769;
  --teal: #5fe0e5;
  --green: #4ade80;

  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1140px;
  --gutter: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--amber-2); text-decoration: none; }
a:hover { color: var(--amber); }

:focus-visible { outline: 2px solid var(--amber-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 15, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand:hover { color: var(--text); }
.brand img { width: 28px; height: 28px; }

.nav { display: flex; gap: 4px; margin-right: auto; }

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}

.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .15s, color .15s;
}

.btn-primary {
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
  color: #1b1103;
  box-shadow: 0 0 0 1px rgba(255, 199, 105, .5) inset, 0 8px 28px -8px rgba(245, 165, 36, .55);
}

.btn-primary:hover { color: #1b1103; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 199, 105, .6) inset, 0 12px 34px -8px rgba(245, 165, 36, .7); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--border-strong) inset;
}

.btn-ghost:hover { color: var(--text); background: var(--surface-2); }

.btn-sm { height: 36px; padding: 0 16px; font-size: 0.9rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Type ---------- */

h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0 0 1em; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 40px;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -64px 0 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(245, 165, 36, .16), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(95, 224, 229, .10), transparent 70%),
    radial-gradient(35% 35% at 12% 40%, rgba(120, 110, 255, .08), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: -64px 0 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border-strong) inset;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .15);
}

.hero h1 {
  font-size: clamp(2.7rem, 7.6vw, 5.6rem);
  letter-spacing: -0.045em;
  line-height: 1.0;
  margin: 0 auto 24px;
  max-width: 20ch;
  background: linear-gradient(180deg, #ffffff 30%, #a9b1c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  text-wrap: balance;
  margin: 0 auto;
}

.hero .actions { justify-content: center; }

.hero-note { margin-top: 18px; color: var(--dim); font-size: 0.88rem; }

/* ---------- Console mockup (the hero visual) ---------- */

.console-wrap { position: relative; margin: 72px auto 0; max-width: 980px; }

.console-wrap::before {
  content: "";
  position: absolute;
  inset: 10% 8% -6%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 165, 36, .22), rgba(95, 224, 229, .10) 50%, transparent 75%);
  filter: blur(40px);
}

.console {
  text-align: left;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 27, 41, .92), rgba(11, 16, 26, .96));
  box-shadow: 0 0 0 1px var(--border-strong) inset, 0 40px 80px -24px rgba(0, 0, 0, .7);
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.console-bar .title { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.console-bar .title img { width: 20px; height: 20px; }

.status-ok { display: inline-flex; align-items: center; gap: 8px; }
.status-ok .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.console-body { display: grid; grid-template-columns: 1.45fr 1fr; }

.comms { padding: 24px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }

.bubble { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 0.95rem; line-height: 1.5; }
.bubble .who { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 3px; opacity: .75; }

.bubble.you { align-self: flex-end; background: var(--surface-2); border-bottom-right-radius: 5px; }
.bubble.lyra {
  align-self: flex-start;
  background: linear-gradient(180deg, rgba(95, 224, 229, .14), rgba(95, 224, 229, .07));
  box-shadow: 0 0 0 1px rgba(95, 224, 229, .22) inset;
  color: #dff8f9;
  border-bottom-left-radius: 5px;
}
.bubble.lyra .who { color: var(--teal); opacity: 1; }

.listening {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  box-shadow: 0 0 0 1px var(--border) inset;
  color: var(--muted);
  font-size: 0.85rem;
}

.kbd {
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--border-strong) inset, 0 2px 0 rgba(255,255,255,.06);
  color: var(--text);
}

.wave { display: flex; align-items: center; gap: 3px; height: 20px; margin-left: auto; }
.wave i { display: block; width: 3px; height: 30%; border-radius: 2px; background: var(--teal); animation: talk 1.4s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s } .wave i:nth-child(3) { animation-delay: .25s }
.wave i:nth-child(4) { animation-delay: .05s } .wave i:nth-child(5) { animation-delay: .3s }
.wave i:nth-child(6) { animation-delay: .15s } .wave i:nth-child(7) { animation-delay: .35s }
.wave i:nth-child(8) { animation-delay: .2s } .wave i:nth-child(9) { animation-delay: .4s }
@keyframes talk { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.telemetry { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.telemetry h4 { margin: 0; font-size: 0.74rem; font-weight: 600; letter-spacing: .06em; color: var(--dim); }

.readout { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9rem; color: var(--muted); }
.readout b { font-family: var(--mono); font-weight: 500; color: var(--text); font-size: 0.88rem; }
.readout b.amber { color: var(--amber-2); }

.meter { margin-top: 8px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--amber), var(--amber-2)); }
.meter.teal span { background: linear-gradient(90deg, #2bb5bb, var(--teal)); }

.event {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(245, 165, 36, .08);
  box-shadow: 0 0 0 1px rgba(245, 165, 36, .22) inset;
  font-size: 0.85rem;
  color: var(--amber-2);
}
.event span { display: block; color: var(--muted); font-size: 0.76rem; margin-bottom: 2px; }

/* ---------- Sections ---------- */

.section { padding: 120px 0 0; }
.section:last-of-type { padding-bottom: 120px; }

/* Feature grid */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.tile {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px var(--border) inset;
  overflow: hidden;
}

.tile.wide { grid-column: span 2; }
.tile p { color: var(--muted); margin: 0; }

.icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  margin-bottom: 20px;
  background: rgba(245, 165, 36, .1);
  box-shadow: 0 0 0 1px rgba(245, 165, 36, .25) inset;
  color: var(--amber-2);
}
.icon.teal { background: rgba(95, 224, 229, .1); box-shadow: 0 0 0 1px rgba(95, 224, 229, .25) inset; color: var(--teal); }
.icon svg { width: 20px; height: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--border) inset;
}
.chip.q::before { content: "\201C"; color: var(--dim); }
.chip.q::after { content: "\201D"; color: var(--dim); }

.mini-readouts { margin-top: 22px; display: grid; gap: 12px; }

.token {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  box-shadow: 0 0 0 1px var(--border-strong) inset;
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 460px;
}
.token .ok { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-family: var(--font); font-weight: 500; font-size: 0.84rem; }

/* Steps */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--border) inset;
  background: rgba(255,255,255,.02);
}

.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  margin-bottom: 22px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1b1103;
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
}

.steps p { color: var(--muted); margin: 0; }

/* Status */

.status-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.status-grid > div > p { color: var(--muted); font-size: 1.1rem; }

.status-list { list-style: none; margin: 0; padding: 0; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--border) inset; overflow: hidden; }
.status-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.status-list li:last-child { border-bottom: 0; }
.status-list strong { font-weight: 600; }
.status-list small { display: block; color: var(--muted); font-size: 0.88rem; }

.tag { flex: none; padding: 5px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.tag.live { color: var(--green); background: rgba(74, 222, 128, .1); box-shadow: 0 0 0 1px rgba(74, 222, 128, .25) inset; }
.tag.building { color: var(--amber-2); background: rgba(245, 165, 36, .1); box-shadow: 0 0 0 1px rgba(245, 165, 36, .25) inset; }

/* Final call to action */

.cta {
  position: relative;
  text-align: center;
  padding: 80px 24px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px var(--border-strong) inset;
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 50% 0%, rgba(245, 165, 36, .22), transparent 70%);
}
.cta p { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }
.cta .actions { justify-content: center; }

/* ---------- Inner pages ---------- */

.page-hero { position: relative; padding: 80px 0 48px; isolation: isolate; }
.page-hero::before {
  content: "";
  position: absolute; inset: -64px 0 0; z-index: -1;
  background: radial-gradient(50% 70% at 20% 0%, rgba(245, 165, 36, .12), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 16px; }
.page-hero .lede { color: var(--muted); font-size: 1.2rem; max-width: 620px; margin: 0; }
.page-hero .updated { color: var(--dim); font-size: 0.92rem; margin: 0; }

.page { padding-bottom: 120px; }

.prose { max-width: 720px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; letter-spacing: -0.025em; margin: 56px 0 16px; padding-top: 32px; border-top: 1px solid var(--border); }
.prose h3 { margin: 32px 0 8px; }
.prose p, .prose li { color: #c8cfdc; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--dim); }
.prose a { text-decoration: underline; text-decoration-color: rgba(255, 199, 105, .4); text-underline-offset: 3px; }
.prose a.btn { text-decoration: none; }
.prose .actions { margin-top: 18px; }

.updated { color: var(--dim); font-size: 0.92rem; }

.note {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(245, 165, 36, .06);
  box-shadow: 0 0 0 1px rgba(245, 165, 36, .2) inset;
  margin: 0 0 32px;
}
.note p { margin: 0; }

/* Setup steps as a timeline */

.setup-steps { list-style: none; padding: 0 !important; margin: 8px 0 0; counter-reset: s; }
.setup-steps > li { counter-increment: s; position: relative; padding: 0 0 36px 60px; margin: 0; }
.setup-steps > li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 600; font-size: 0.95rem;
  color: #1b1103;
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
}
.setup-steps > li::after {
  content: "";
  position: absolute; left: 17.5px; top: 44px; bottom: 8px;
  width: 1px; background: var(--border-strong);
}
.setup-steps > li:last-child::after { display: none; }
.setup-steps h3 { margin: 5px 0 8px; }

/* FAQ */

.faq h2 { border-top: 0; padding-top: 0; margin-top: 48px; font-size: 1.25rem; color: var(--muted); letter-spacing: -0.01em; }
.faq details {
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
  box-shadow: 0 0 0 1px var(--border) inset;
  margin-bottom: 10px;
  transition: background .15s;
}
.faq details[open] { background: rgba(255,255,255,.045); }
.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 22px 20px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Download options */

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 40px; }
.option {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px var(--border) inset;
}
.option.primary { box-shadow: 0 0 0 1px rgba(245, 165, 36, .35) inset; background: linear-gradient(180deg, rgba(245, 165, 36, .08), rgba(255,255,255,.015)); }
.option h2 { font-size: 1.3rem; margin: 0 0 8px; padding: 0; border: 0; }
.option p { color: var(--muted); }
.option .actions { margin-top: 20px; }

.release {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(245, 165, 36, .08), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px rgba(245, 165, 36, .35) inset;
  margin-bottom: 8px;
}
.release h2 { margin: 0 0 4px; padding: 0; border: 0; font-size: 1.4rem; }
.release p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 48px 0 56px; color: var(--muted); font-size: 0.92rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--text); }
.site-footer .disclaimer { color: var(--dim); max-width: 72ch; margin: 0; font-size: 0.86rem; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .console-body { grid-template-columns: 1fr; }
  .comms { border-right: 0; border-bottom: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; gap: 24px; }
  .options { grid-template-columns: 1fr; }
  .section { padding-top: 88px; }
  .section:last-of-type { padding-bottom: 88px; }
}

@media (max-width: 600px) {
  .header-cta { display: none; }
  .nav { margin-right: 0; margin-left: auto; }
  .nav a { padding: 7px 9px; }
  .site-header .wrap { gap: 12px; }
  .hero { padding-top: 64px; }
  .console-wrap { margin-top: 48px; }
  .comms, .telemetry, .tile, .steps li { padding: 20px; }
  .bubble { max-width: 94%; }
  .cta { padding: 56px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave i { animation: none; height: 60%; }
  .btn { transition: none; }
}

@media (max-width: 600px) {
  .br-wide { display: none; }
  .hero h1 { font-size: 2.35rem; }
}

/* ---------- Pricing ---------- */

.pricing-note { max-width: 720px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px var(--border) inset;
}

.plan.featured {
  background: linear-gradient(180deg, rgba(245, 165, 36, .1), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px rgba(245, 165, 36, .4) inset, 0 30px 60px -30px rgba(245, 165, 36, .35);
}

.plan h2 { font-size: 1.4rem; margin: 0 0 4px; }
.plan-sub { color: var(--muted); margin: 0 0 24px; }

.price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 24px; }
.price .amount { font-size: 3rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--muted); }

.plan-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.plan-list li { position: relative; padding-left: 28px; color: #c8cfdc; }
.plan-list li::before {
  content: "";
  position: absolute; left: 2px; top: 6px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--amber-2); border-bottom: 2px solid var(--amber-2);
  transform: rotate(-45deg);
}

.plan .btn { margin-top: auto; align-self: flex-start; }
.btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }

.price-note { color: var(--dim); font-size: 0.9rem; margin: 16px 0 0; }

.faq.prose { margin-top: 24px; }
.faq.prose h2 { font-size: 1.6rem; color: var(--text); margin-top: 64px; }

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
}

.brand { flex: none; }

@media (max-width: 440px) {
  .site-header .brand span { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 7px 8px; font-size: 0.9rem; }
}

.why { margin-top: 24px; }
.why h2 { margin-top: 64px; }

/* ---------- Header donate button ---------- */

.header-donate { margin-left: auto; gap: 7px; }
.header-donate svg { color: #ff8a8a; }
.header-donate[aria-current="page"] { background: var(--surface-2); }
.header-cta { margin-left: 0; }

@media (max-width: 600px) {
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 6px; row-gap: 6px; }
  .site-header .brand span { display: inline; }
  .nav { order: 3; flex-basis: 100%; margin: 0 0 0 -9px; gap: 0; }
  .nav a { padding: 6px 9px; font-size: 0.92rem; }
  .header-donate { height: 34px; padding: 0 14px; }
}

/* ---------- Forms ---------- */

.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }

.form-card {
  display: grid;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px var(--border) inset;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 0.92rem; font-weight: 500; color: var(--text); }

.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(0, 0, 0, .3);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--border-strong) inset;
  padding: 12px 14px;
  transition: box-shadow .15s;
}

.field textarea { resize: vertical; min-height: 160px; line-height: 1.5; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field select option { background: #111826; color: var(--text); }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--amber-2) inset, 0 0 0 4px rgba(245, 165, 36, .15);
}

.hint { color: var(--muted); font-size: 0.86rem; }
.hint a, .form-foot a, .unlock-foot a { text-decoration: underline; text-underline-offset: 3px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot small { color: var(--dim); font-size: 0.86rem; }
.form-foot .btn, .unlock-card .btn { border: 0; cursor: pointer; font-family: inherit; }

.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-status.ok { color: var(--green); background: rgba(74, 222, 128, .08); box-shadow: 0 0 0 1px rgba(74, 222, 128, .3) inset; }
.form-status.err { color: #ffb4a8; background: rgba(255, 110, 90, .08); box-shadow: 0 0 0 1px rgba(255, 110, 90, .3) inset; }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-aside h2 { font-size: 1.2rem; margin: 8px 0 12px; }
.form-aside p { color: var(--muted); font-size: 0.97rem; }

.unlock-card { max-width: 460px; }
.unlock-card .btn { justify-self: start; }
.unlock-foot { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Donate ---------- */

.donate-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; max-width: 980px; }

.donate-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px var(--border) inset;
  color: var(--text);
  transition: box-shadow .15s, transform .15s;
}
.donate-card:hover { color: var(--text); box-shadow: 0 0 0 1px rgba(245, 165, 36, .4) inset; transform: translateY(-2px); }
.donate-card h2 { font-size: 1.25rem; margin: 0 0 6px; }
.donate-card p { color: var(--muted); margin: 0 0 24px; }
.donate-card .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 860px) {
  .form-layout { grid-template-columns: 1fr; }
  .donate-options { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
}

/* ---------- Wordmark and heading fade ---------- */

.brand img.wordmark { width: auto; height: 15px; }
.site-header .brand img.wordmark { display: block; }

.hero h1 {
  background: linear-gradient(90deg, #ffffff 0%, #dbe2ee 45%, #8399bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero h1 {
  background: linear-gradient(90deg, #ffffff 0%, #dbe2ee 40%, #8399bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

@media (max-width: 380px) {
  .brand img.wordmark { height: 12px; }
  .header-donate span { display: none; }
  .header-donate { padding: 0 11px; }
}

/* ---------- Panel screenshots ---------- */

.panel-shot { width: 100%; height: auto; margin: -36px 0; }
.console-wrap { max-width: 1060px; }

.showcase { display: grid; gap: 72px; }
.show-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 40px; align-items: center; }
.show-row.flip { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.show-row.flip .show-copy { order: 2; }
.show-row img { width: 100%; height: auto; margin: -30px 0; }
.show-copy h3 { font-size: 1.6rem; letter-spacing: -0.03em; margin-bottom: 12px; }
.show-copy p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.show-copy .chips { margin-top: 20px; }

@media (max-width: 900px) {
  .show-row, .show-row.flip { grid-template-columns: 1fr; gap: 8px; }
  .show-row.flip .show-copy { order: 0; }
  .showcase { gap: 56px; }
  .panel-shot { margin: -16px 0; }
  .show-row img { margin: -12px 0; }
}

.prose mark { background: rgba(245, 165, 36, .18); color: var(--amber-2); padding: 1px 4px; border-radius: 4px; }
.prose code { font-family: var(--mono); font-size: .86em; background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 5px; word-break: break-all; }

/* Not-affiliated notice */
.affiliation {
  margin: 0 0 32px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255, 70, 60, .08);
  box-shadow: 0 0 0 1.5px rgba(255, 85, 70, .65) inset;
}
.affiliation p { margin: 0; color: #ffd2cc; }
.affiliation p + p { margin-top: 8px; font-size: .95rem; }
.affiliation strong { color: #ff6b5e; font-weight: 700; letter-spacing: .01em; }

.contact-fun { margin: 16px 0 0; color: var(--muted); font-size: 1.02rem; max-width: 620px; }
.contact-fun a { text-decoration: underline; text-underline-offset: 3px; }
