:root {
  color-scheme: dark;
  --bg: #0d1012;
  --bg-elevated: rgba(24, 28, 31, 0.92);
  --bg-panel: rgba(31, 35, 39, 0.88);
  --bg-soft: rgba(255, 248, 236, 0.05);
  --bg-inset: rgba(255, 248, 236, 0.018);
  --border: rgba(255, 244, 228, 0.08);
  --border-strong: rgba(217, 165, 107, 0.24);
  --text: #f3efe7;
  --muted: #cec6b9;
  --dim: #8f877b;
  --accent: #d9a56b;
  --accent-strong: #eab87d;
  --accent-soft: rgba(217, 165, 107, 0.14);
  --ok: #8fa79c;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 14px 42px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(217, 165, 107, 0.09), transparent 30%),
    radial-gradient(circle at 20% 0%, rgba(143, 167, 156, 0.09), transparent 24%),
    linear-gradient(180deg, #121619, var(--bg));
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 99;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.container.narrow {
  width: min(860px, calc(100% - 2.4rem));
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  background: rgba(10, 12, 14, 0.58);
  backdrop-filter: blur(18px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.3rem;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
  justify-content: center;
  line-height: 1;
}

.brand-mark {
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.brand-meta {
  font-size: 0.72rem;
  color: var(--dim);
  line-height: 1;
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-download {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero {
  padding: 6.8rem 0 4.5rem;
}

.hero .container {
  position: relative;
}

.hero-copy-wrap {
  padding: 2.4rem 0 1rem;
}

.hero h1 {
  margin: 0.6rem 0 0;
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 10.5ch;
  margin: 1.2rem 0 0;
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-sub {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions,
.download-actions,
.bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin-top: 2rem;
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.platform-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 3rem;
  padding: 0.86rem 1.2rem;
  font-size: 0.94rem;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-strong), #ca955d);
  color: #15110b;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(202, 149, 93, 0.26);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary,
.platform-pill {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost {
  padding-inline: 0;
  min-height: auto;
  color: var(--muted);
}

.hero-meta {
  margin-top: 1rem;
  color: var(--dim);
  font-size: 0.9rem;
}

.hero-frame {
  margin-top: 3.4rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.05), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at top, rgba(217, 165, 107, 0.06), transparent 50%);
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.025), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 0 0 1px rgba(255, 248, 236, 0.03);
}

main section {
  padding: 5.6rem 0;
}

main section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.section-header {
  margin-bottom: 2.3rem;
}

.section-header h2 {
  margin: 0.55rem 0 0;
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-body {
  margin-top: 0.85rem;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.proof-strip {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.scene-card,
.signal-card,
.download-panel,
.bridge-card,
.faq-item,
.legal-card,
.proof-card,
.cta-band {
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.034), rgba(255, 255, 255, 0.016));
  box-shadow: var(--shadow-soft);
}

.feature-card,
.scene-card,
.signal-card,
.proof-card {
  padding: 1.45rem;
}

.feature-card h3,
.scene-card h3,
.signal-card h3,
.proof-card h3,
.faq-item summary,
.download-panel h3,
.legal-card h3,
.bridge-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card p,
.scene-card p,
.signal-card p,
.proof-card p,
.download-panel p,
.legal-card p,
.bridge-card p {
  margin: 0.78rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.proof-card {
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.04), rgba(255, 255, 255, 0.02));
}

.proof-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 0.95rem;
}

.local-layout,
.quiet-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: start;
}

.local-panel,
.quiet-panel {
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 1.8rem;
  background: var(--bg-inset);
  box-shadow: var(--shadow-soft);
}

.quiet-points,
.local-points {
  display: grid;
  gap: 0.95rem;
}

.point-row {
  padding: 1rem 1rem 1rem 1.15rem;
  border-left: 1px solid rgba(217, 165, 107, 0.34);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 1rem 1rem 0;
}

.point-row strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.34rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  padding: 1.4rem 1.2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.018);
}

.step-number {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.step-card h3 {
  margin: 0.95rem 0 0;
  font-size: 1rem;
}

.step-card p {
  margin: 0.62rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 0.95rem;
}

.faq-item {
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.018);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
}

.download-panel,
.bridge-card,
.cta-band,
.legal-card {
  padding: 1.8rem;
}

.download-panel {
  border-color: rgba(217, 165, 107, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.045), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(217, 165, 107, 0.06), transparent 38%);
  box-shadow: var(--shadow);
}

.download-actions {
  margin-top: 1.4rem;
}

.platform-pill[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
}

.platform-meta {
  margin-top: 1rem;
  color: var(--dim);
  font-size: 0.9rem;
}

.site-footer {
  padding: 2.4rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.footer-heading {
  margin: 0;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.footer-stack {
  display: grid;
  gap: 0.55rem;
}

.footer-stack a:hover {
  color: var(--accent);
}

.footer-meta {
  color: var(--dim);
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-shell {
  padding: 6rem 0 4rem;
}

.legal-card + .legal-card {
  margin-top: 1rem;
}

.site-note {
  margin-top: 0.6rem;
  color: var(--dim);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.7rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.4rem;
    background: rgba(14, 17, 20, 0.96);
    box-shadow: var(--shadow);
  }

  .card-grid,
  .proof-strip,
  .steps,
  .site-footer-grid,
  .local-layout,
  .quiet-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 5.8rem;
  }

  main section {
    padding: 4.5rem 0;
  }

  .hero-frame,
  .feature-card,
  .scene-card,
  .signal-card,
  .download-panel,
  .bridge-card,
  .faq-item,
  .legal-card,
  .cta-band,
  .local-panel,
  .quiet-panel {
    border-radius: 1.35rem;
  }

  .brand-mark {
    font-size: 1.42rem;
  }

  .container,
  .container.narrow {
    width: min(100% - 1.4rem, 100%);
  }
}
