/* StreamLivestic — streamlivestic.com
   Static site styles. Design tokens mirror the v3 canvas design exactly. */

:root {
  --bg: #07080C;
  --bg-alt: #0A0B10;
  --card: #0E0F15;
  --card-2: #12131A;
  --card-3: #0F1017;
  --chrome: #0D0E14;
  --border: #1C1E27;
  --border-soft: #16181F;
  --border-mid: #23252F;
  --line: #2A2C37;
  --text: #F4F3EF;
  --muted: #A9AAB8;
  --muted-2: #8B8D9C;
  --muted-3: #B9BAC6;
  --muted-4: #C9CAD4;
  --accent: #FF5C39;
  --accent-soft: #FFB6A1;
  --accent-ink: #0B0705;
  --accent-bg: #2A140E;
  --good: #7EE3B2;
  --warn: #E8B36A;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Instrument Serif', Georgia, serif;
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--text); }
a:hover { color: var(--accent-soft); }

h1, h2, h3 { margin: 0; }
img, svg { max-width: 100%; }

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.serif-accent { color: var(--accent); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 1080px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.section-title {
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.section-title .dim { color: var(--muted-2); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 0; color: var(--bg); }

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

/* ── Announcement ─────────────────────────────────────── */
.announce {
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--muted-3);
}
.announce a { font-weight: 600; }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand-word { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  font-size: 15px;
}
.nav-links a { text-decoration: none; color: var(--muted-3); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login { text-decoration: none; font-size: 15px; padding: 12px 16px; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { color: var(--accent-ink); filter: brightness(1.07); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { color: var(--bg); filter: brightness(0.95); }
.btn-ghost {
  background: var(--card-2);
  border-color: var(--line);
  color: var(--text);
  font-weight: 500;
}
.btn-ghost:hover { color: var(--text); border-color: #3A3C48; }
.btn-sm { font-size: 15px; padding: 11px 18px; border-radius: 10px; }
.btn-md { font-size: 16px; padding: 16px 26px; }
.btn-ghost.btn-md { padding: 15px 24px; }
.btn-lg { font-size: 17px; padding: 17px 30px; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 24px 0;
  background: radial-gradient(60% 50% at 50% 70%, rgba(255, 92, 57, 0.16), rgba(7, 8, 12, 0) 70%);
}
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card-2);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  font-size: 14px;
  color: var(--muted-4);
}
.pill-tag {
  background: var(--accent-bg);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.hero-sub {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
}
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--muted-2);
}

/* ── Product mockup ───────────────────────────────────── */
.mockup-frame {
  max-width: 1160px;
  margin: 72px auto 0;
  padding: 10px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #2A2C37, rgba(42, 44, 55, 0));
}
.mockup {
  background: var(--chrome);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom: 0;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; background: #2C2E39; }
.mockup-url { margin-left: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.mockup-note { margin-left: auto; font-size: 12px; color: var(--muted-2); }
.mockup-body { display: flex; flex-wrap: wrap; }
.mockup-side {
  flex: 1 1 210px;
  max-width: 240px;
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
}
.mockup-side .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  padding: 6px 10px;
}
.mockup-side span:not(.label) { padding: 9px 10px; }
.mockup-side .active { background: #171922; color: var(--text); border-radius: 8px; }
.mockup-main {
  flex: 999 1 560px;
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.mockup-col {
  flex: 2 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mockup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mockup-kicker { font-size: 12px; color: var(--muted-2); }
.mockup-title { font-weight: 600; font-size: 18px; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bg);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 999px;
}
.sl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: sl-pulse 1.8s infinite;
}
@keyframes sl-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 92, 57, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 92, 57, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 57, 0); }
}
@media (prefers-reduced-motion: reduce) { .sl-dot { animation: none; } }

.mockup-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #141726;
}
.mockup-video-meta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
}
.mockup-video-meta span {
  background: rgba(7, 8, 12, 0.75);
  padding: 6px 10px;
  border-radius: 8px;
}
.mockup-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.mockup-tile {
  flex: 1 1 120px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.mockup-tile .k { font-size: 12px; color: var(--muted-2); }
.mockup-tile .v { font-weight: 600; margin-top: 4px; }
.mockup-tile .v.mono { font-family: var(--mono); font-weight: 500; }
.mockup-tile .v.good { color: var(--good); }

.queue {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--card-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.queue-head { display: flex; justify-content: space-between; align-items: center; }
.queue-head .t { font-weight: 600; font-size: 14px; }
.queue-head .loop { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.queue-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
}
.queue-row.now { background: #171922; }
.queue-thumb { width: 46px; height: 28px; border-radius: 5px; flex: none; }
.queue-meta { min-width: 0; flex: 1; }
.queue-meta .t {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue-meta .l { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.queue-add {
  margin-top: auto;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
}

/* ── Made for strip ───────────────────────────────────── */
.madefor {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-alt);
}
.madefor-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 44px;
  color: var(--muted-2);
  font-size: 16px;
}
.madefor-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; }
.madefor-inner .item { color: var(--muted-4); font-weight: 500; }

/* ── Features ─────────────────────────────────────────── */
.section { padding-top: 128px; padding-bottom: 128px; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.features { display: flex; flex-direction: column; gap: 56px; }
.bento { display: flex; flex-wrap: wrap; gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.card p { margin: 0; color: var(--muted); line-height: 1.6; }
.card h3 { font-size: 22px; letter-spacing: -0.02em; }
.card-wide { flex: 2 1 560px; min-height: 340px; }
.card-wide h3 { font-size: 24px; }
.card-wide p { max-width: 460px; }
.card-tall { flex: 1 1 340px; }
.card-sm { flex: 1 1 280px; padding: 28px; gap: 12px; }
.card-sm h3 { margin-top: 6px; font-size: 19px; letter-spacing: -0.01em; }
.card-sm p { font-size: 15px; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #16171F;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
}
.flow-box {
  flex: 1 1 160px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.flow-box.on { background: #1A0F0B; border-color: #4A2318; }
.flow-box .k { font-size: 13px; color: var(--muted-2); }
.flow-box.on .k { color: #D9A595; }
.flow-box .v { font-weight: 600; }

.log {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
}
.log-row {
  display: flex;
  justify-content: space-between;
  background: var(--card-2);
  border-radius: 8px;
  padding: 10px 12px;
}
.log-row .warn { color: var(--warn); }
.log-row .mid { color: var(--muted); }
.log-row .good { color: var(--good); }
.log-row .note { color: var(--muted-2); }

/* ── How it works ─────────────────────────────────────── */
.how {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.how-inner { display: flex; flex-direction: column; gap: 56px; }
.how-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.how-head .lead { max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.how-head .aside { margin: 0; color: var(--muted); max-width: 360px; line-height: 1.6; }
.steps { display: flex; flex-wrap: wrap; gap: 16px; }
.step {
  flex: 1 1 300px;
  min-width: 0;
  border-top: 2px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step.first { border-top-color: var(--accent); }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.step h3 { font-size: 24px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; }

/* ── Comparison ───────────────────────────────────────── */
.compare-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  align-items: center;
}
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
}
.compare-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 16px;
}
.compare-wrap thead th {
  text-align: left;
  padding: 20px 24px;
  color: var(--muted-2);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.compare-wrap thead th.us { font-weight: 600; color: var(--accent); }
.compare-wrap tbody th {
  text-align: left;
  padding: 18px 24px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}
.compare-wrap tbody td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-soft);
}
.compare-wrap tbody td.home { color: var(--muted-2); }

/* ── Pricing ──────────────────────────────────────────── */
.pricing {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.pricing-inner { display: flex; flex-direction: column; gap: 48px; }
.pricing-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.pricing-head p { margin: 0; color: var(--muted); max-width: 540px; line-height: 1.6; }
.toggle {
  margin-top: 8px;
  display: inline-flex;
  background: var(--card-2);
  border: 1px solid var(--border-mid);
  border-radius: 12px;
  padding: 4px;
}
.toggle button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-3);
}
.toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.plans { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.plan {
  flex: 1 1 260px;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan.hot { background: #14100F; border-color: var(--accent); }
.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}
.plan-head h3 { font-size: 18px; font-weight: 600; }
.badge {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-weight: 700; font-size: 48px; letter-spacing: -0.05em; }
.plan-price .per { color: var(--muted-2); }
.plan-blurb { margin: 0; color: var(--muted); font-size: 15px; min-height: 22px; }
.plan-cta {
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 11px;
  background: #16171F;
  color: var(--text);
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: inherit;
}
.plan.hot .plan-cta { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.plan-feats {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
  color: var(--muted-4);
}
.plan-feats li { display: flex; gap: 10px; }
.plan-feats .tick { color: var(--accent); }
.pricing-foot { margin: 0; text-align: center; color: var(--muted-2); font-size: 14px; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-lead { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.faq-lead p { margin: 0; color: var(--muted); line-height: 1.6; }
.faq-list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-weight: 600;
  font-size: 18px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus {
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list p {
  margin: 0;
  padding: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 640px;
}

/* ── Final CTA ────────────────────────────────────────── */
.final { padding: 0 24px 128px; }
.final-box {
  max-width: 1232px;
  margin: 0 auto;
  border-radius: 32px;
  border: 1px solid #2A1A15;
  background: radial-gradient(70% 90% at 50% 100%, rgba(255, 92, 57, 0.28), rgba(14, 15, 21, 1) 70%);
  padding: 96px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.final-box h2 {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 900px;
}
.final-box p { margin: 0; font-size: 19px; color: var(--muted-4); max-width: 520px; line-height: 1.55; }

/* ── Footer ───────────────────────────────────────────── */
footer { border-top: 1px solid var(--border-soft); }
.foot-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.foot-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.foot-brand p { margin: 0; color: var(--muted-2); max-width: 300px; line-height: 1.6; }
.foot-navs { display: flex; flex-wrap: wrap; gap: 64px; }
.foot-navs nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-navs .t { font-weight: 600; }
.foot-navs a { text-decoration: none; color: var(--muted-2); }
.foot-word { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; overflow: hidden; }
.foot-word div {
  font-weight: 800;
  font-size: clamp(64px, 15vw, 220px);
  letter-spacing: -0.07em;
  line-height: 0.8;
  color: var(--card-2);
  white-space: nowrap;
}
.foot-base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-2);
  font-size: 14px;
  border-top: 1px solid var(--border-soft);
}

/* ── Waitlist dialog ──────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 5, 8, 0.72);
  backdrop-filter: blur(6px);
}
.modal.open { display: flex; }
.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border: 1px solid var(--border-mid);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-card h2 { font-size: 26px; letter-spacing: -0.03em; }
.modal-card .intro { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.modal-close {
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--muted-3);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; color: var(--muted-4); font-weight: 500; }
.field input {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.field input::placeholder { color: #6E7080; }
.field input:focus { border-color: var(--accent); outline: none; }
.field .hint { font-size: 13px; color: var(--muted-2); }
.hp { position: absolute; left: -9999px; }
.modal form { display: flex; flex-direction: column; gap: 16px; }
.modal .btn-accent { padding: 15px 20px; font-size: 16px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted-2); line-height: 1.5; text-align: center; }
.form-msg { margin: 0; font-size: 14px; line-height: 1.5; }
.form-msg.err { color: var(--warn); }
.modal-done { display: none; flex-direction: column; gap: 14px; text-align: center; }
.modal.done .modal-form { display: none; }
.modal.done .modal-done { display: flex; }
.done-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto;
}

/* ── Legal / text pages ───────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 112px; }
.legal h1 {
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}
.legal .updated { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 44px 0 12px;
}
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; font-size: 16px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent-soft); }
.legal .lede { font-size: 18px; color: var(--muted-4); line-height: 1.7; margin: 20px 0 0; }
.notice {
  border: 1px solid #4A2318;
  background: #150C09;
  border-radius: 16px;
  padding: 20px 22px;
  margin: 28px 0;
}
.notice p { margin: 0; color: #D9A595; font-size: 15px; line-height: 1.65; }
.notice .t {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
  display: block;
  margin-bottom: 8px;
}
.back-link {
  display: inline-block;
  margin-top: 40px;
  font-size: 15px;
  text-decoration: none;
  color: var(--muted-3);
}

/* ── 404 ──────────────────────────────────────────────── */
.oops {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 96px 24px;
}
.oops .code { font-family: var(--mono); font-size: 14px; letter-spacing: 0.16em; color: var(--accent); }
.oops h1 {
  font-weight: 700;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.oops p { margin: 0; color: var(--muted); max-width: 440px; line-height: 1.6; }

/* ── Small screens ────────────────────────────────────── */
@media (max-width: 760px) {
  .nav { justify-content: center; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 22px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .hero { padding-top: 64px; }
  .mockup-frame { margin-top: 48px; }
  .mockup-side { display: none; }
  .final-box { padding: 64px 24px; }
  .foot-navs { gap: 40px; }
  .card { padding: 26px; }
  .modal-card { padding: 26px; }
}
