/* ctrlaltmove.com — Last Light, token-identical to lib/src/ui/theme.dart.
   bg/ink/ember/rust/sage/mute/faint/dim/panel/panelHi/onEmber; inset bone
   rings in place of drop shadows; Archivo / Albert Sans / IBM Plex Mono. */

:root {
  --bg: #14110F;
  --ink: #F3EDE4;
  --ember: #F0A868;
  --rust: #C25B45;
  --sage: #7FB5A6;
  --mute: #9E9285;
  --faint: #8B8072;
  --dim: #6B6259;
  --panel: #211C18;
  --panel-hi: #2E2621;
  --on-ember: #1C1512;
  --ring: rgba(243, 237, 228, 0.16);
  --hairline: rgba(243, 237, 228, 0.07);
  --track: rgba(243, 237, 228, 0.12);
  --ember-gradient: linear-gradient(135deg, #F0A868, #C25B45);
  --header-calm: linear-gradient(180deg, #2E2621, #14110F);
  --overlay-body: linear-gradient(180deg, #3A2A22 0%, #14110F 58%);
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Albert Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--rust); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--display);
  margin: 0;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
}
.eyebrow.sage { color: var(--sage); }
.eyebrow.mute { color: var(--mute); }

.gradient-text {
  background: var(--ember-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 14px;
  padding: 15px 28px;
  font-family: var(--body);
  font-size: 17px;
  cursor: pointer;
}
.btn.primary { background: var(--ember-gradient); color: var(--on-ember); font-weight: 700; }
.btn.primary:hover { color: var(--on-ember); filter: brightness(1.06); }
.btn.secondary { background: var(--panel); box-shadow: inset 0 0 0 1px var(--ring); color: var(--ink); font-weight: 600; }
.btn.secondary:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(243, 237, 228, 0.22); }

.card {
  background: var(--panel);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--ring);
  padding: 32px;
}

/* Nav */
.nav { border-bottom: 1px solid var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.025em; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--mute); }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { padding: 11px 22px; font-size: 15px; }

/* Hero */
.hero { background: var(--header-calm); }
.hero-inner { display: flex; align-items: center; gap: 56px; padding: 96px 0 110px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 600px; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.04; letter-spacing: -0.025em; }
.hero .sub { font-size: 18px; color: var(--mute); max-width: 540px; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.platforms-line {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}

/* Lock-overlay mockup */
.mockup { position: relative; flex: 1 1 0; min-width: 0; padding-bottom: 88px; }
.laptop { margin-left: 20px; display: flex; flex-direction: column; align-items: center; }
.screen {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(243, 237, 228, 0.22);
  background: var(--overlay-body);
  display: flex;
  flex-direction: column;
}
.interrupt-band {
  height: 42px; background: var(--ember-gradient);
  display: flex; align-items: center; justify-content: center;
}
.interrupt-band span {
  font-family: var(--mono); font-weight: 600; font-size: 11px;
  letter-spacing: 0.14em; color: var(--on-ember); white-space: nowrap;
}
.lock-body {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 44px 32px 48px; text-align: center;
}
.lock-rule { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.025em; }
.progress { width: 70%; max-width: 380px; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.progress > div { width: 64%; height: 100%; border-radius: 3px; background: var(--ember-gradient); }
.hatches { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hatch {
  background: rgba(243, 237, 228, 0.06); border-radius: 999px; padding: 8px 16px;
  font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.11em; color: var(--ink);
}
.lock-note { font-size: 13px; color: var(--faint); }
.laptop-base {
  width: 220px; height: 14px; background: var(--panel-hi);
  border-radius: 0 0 10px 10px; box-shadow: inset 0 -1px 0 rgba(243, 237, 228, 0.1);
}
.code-card {
  position: absolute; left: 0; bottom: 0; width: 296px;
  background: var(--panel); border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(243, 237, 228, 0.2);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 12px;
}
.code-digits { font-family: var(--mono); font-weight: 600; font-size: 30px; letter-spacing: 0.14em; }
.verified { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--sage); }
.dot { width: 8px; height: 8px; border-radius: 4px; background: var(--sage); flex: none; }
.dot.ember { background: var(--ember); }

/* Sections */
.section { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 860px; }
.section-head h2 { font-weight: 800; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.025em; }
.section-head .sub { font-size: 17px; color: var(--mute); }

.moat { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.moat-inner { display: flex; align-items: center; gap: 64px; padding: 88px 0; }
.moat-statement {
  flex: 1 1 55%;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -0.025em;
}
.moat-statement .quiet { color: var(--mute); }
.moat-detail { flex: 1 1 45%; color: var(--mute); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card-stack { display: flex; flex-direction: column; gap: 16px; }
.card h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.025em; }
.card p { margin: 0; font-size: 15.5px; color: var(--mute); }
.step-label { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; color: var(--ember); }
.card svg { display: block; }

.safety { background: linear-gradient(180deg, var(--panel), var(--bg)); }
.safety .card { box-shadow: inset 0 0 0 1px rgba(127, 181, 166, 0.35); }
.safety .card h3 { font-size: 20px; }
.privacy-line { display: flex; align-items: center; gap: 12px; margin-top: 40px; color: var(--mute); font-size: 15px; }

.pricing-grid { max-width: 1000px; }
.price { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.025em; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price-row .per { font-size: 16px; color: var(--mute); }
.plan-name { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.025em; }
.pro-chip {
  background: var(--ember-gradient); color: var(--on-ember);
  font-family: var(--mono); font-weight: 600; font-size: 10px; letter-spacing: 0.14em;
  padding: 4px 10px; border-radius: 999px;
}
.feature-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.feature-list .dot { width: 6px; height: 6px; border-radius: 3px; }
.plan-card { display: flex; flex-direction: column; gap: 20px; padding: 36px; }
.plan-card.pro { box-shadow: inset 0 0 0 1px rgba(240, 168, 104, 0.45); }
.plan-note { font-size: 13.5px; color: var(--faint); }

.closing { background: linear-gradient(180deg, var(--bg), var(--panel-hi)); border-top: 1px solid var(--hairline); }
.closing-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 100px 0; text-align: center; }
.closing img { width: 64px; height: 64px; border-radius: 16px; }
.closing h2 { font-weight: 800; font-size: clamp(30px, 3.5vw, 46px); letter-spacing: -0.025em; }
.closing .sub { font-size: 18px; color: var(--mute); max-width: 560px; }
.platform-chips { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.chip {
  background: rgba(243, 237, 228, 0.06); border-radius: 999px; padding: 8px 18px;
  display: flex; align-items: center; gap: 8px;
}
.chip b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.chip span { font-family: var(--mono); font-weight: 600; font-size: 9.5px; letter-spacing: 0.13em; color: var(--faint); }

/* Footer */
.footer { border-top: 1px solid var(--hairline); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 36px 0;
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--faint); }
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
.footer-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--mute); }
.footer-links a:hover { color: var(--ink); }
.footer-links .org { font-size: 13px; color: var(--dim); }

/* Doc pages (privacy, support) */
.doc-header { background: var(--header-calm); }
.doc-header-inner { display: flex; flex-direction: column; gap: 14px; padding: 64px 0 48px; }
.doc-header h1 { font-weight: 800; font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -0.025em; }
.doc-header .sub { font-size: 17px; color: var(--mute); max-width: 640px; }
.doc-body { max-width: 720px; padding: 24px 0 72px; }
.doc-body h2 { font-weight: 700; font-size: 24px; letter-spacing: -0.025em; margin: 40px 0 12px; }
.doc-body p, .doc-body li { font-size: 15.5px; line-height: 1.7; color: var(--mute); }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-body ul { padding-left: 22px; }
.doc-callout {
  background: var(--panel); border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(127, 181, 166, 0.35);
  padding: 28px; margin: 28px 0;
}
.doc-callout h2 { margin-top: 0; font-size: 21px; }
.doc-meta { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; color: var(--faint); }
.doc-body table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); font-size: 15px; line-height: 1.5; color: var(--mute); vertical-align: top; }
.doc-body th { font-family: var(--mono); font-weight: 600; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.doc-body td:first-child { color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { flex-direction: column; align-items: stretch; padding: 44px 0 52px; }
  .hero-copy { max-width: none; }
  .mockup { margin-top: 12px; }
  .laptop { margin-left: 0; }
  .code-card { position: static; width: auto; margin-top: 14px; }
  .laptop-base { display: none; }
  .interrupt-band span { font-size: 8.5px; }
  .lock-rule { font-size: 19px; }
  .moat-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 52px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .nav-links a:not(.btn) { display: none; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
}
