:root {
  --bg: #090909;
  --bg-deep: #111111;
  --surface: rgba(24, 24, 24, 0.7);
  --surface-strong: rgba(16, 16, 16, 0.92);
  --line: rgba(255, 243, 222, 0.12);
  --line-strong: rgba(255, 232, 190, 0.22);
  --text: #f8f1e5;
  --muted: rgba(248, 241, 229, 0.72);
  --subtle: rgba(248, 241, 229, 0.46);
  --gold: #d6b36a;
  --gold-soft: #f3d9a4;
  --amber: #9f6335;
  --burgundy: #522123;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.44);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1220px;
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "Avenir Next", "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at 15% 15%, rgba(214, 179, 106, 0.18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(82, 33, 35, 0.34), transparent 26%),
    radial-gradient(circle at 50% 70%, rgba(159, 99, 53, 0.13), transparent 34%),
    linear-gradient(180deg, #060606 0%, #0d0c0c 48%, #050505 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 88%);
  opacity: 0.32;
}

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

button,
a,
.card {
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    opacity var(--transition),
    box-shadow var(--transition);
}

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

h1,
h2,
h3,
strong {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1,
h2 {
  font-family: var(--heading-font);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.background-layers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.background-orbit {
  position: absolute;
  border: 1px solid rgba(255, 235, 202, 0.08);
  border-radius: 999px;
}

.orbit-a {
  width: 52rem;
  height: 52rem;
  top: -14rem;
  left: -18rem;
}

.orbit-b {
  width: 38rem;
  height: 38rem;
  right: -10rem;
  top: 10rem;
}

.orbit-c {
  width: 62rem;
  height: 62rem;
  left: 8%;
  bottom: -36rem;
}

.background-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 215, 153, 0.08), transparent 42%);
}

.site-header,
.section-shell,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 232, 190, 0.08);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, var(--gold-soft), rgba(214, 179, 106, 0.38));
  box-shadow: 0 0 0 1px rgba(255, 236, 204, 0.28), 0 0 26px rgba(214, 179, 106, 0.35);
  transform: rotate(45deg);
}

.site-nav,
.header-actions,
.hero-actions,
.trust-actions,
.closing-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a,
.header-link,
.footer-links a {
  color: var(--subtle);
  font-size: 0.95rem;
}

.site-nav a:hover,
.header-link:hover,
.footer-links a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

.button-primary {
  color: #160f08;
  background:
    linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 34px rgba(214, 179, 106, 0.24);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.app-store-cta.is-disabled {
  opacity: 0.64;
  pointer-events: none;
  box-shadow: none;
}

.button.app-store-cta.is-disabled {
  border-color: rgba(255, 241, 215, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}

.footer-links .app-store-cta.is-disabled,
.doc-footer-links .app-store-cta.is-disabled {
  color: var(--subtle);
}

main {
  padding: 28px 0 72px;
}

.section-shell {
  position: relative;
  margin-top: 22px;
  padding: 34px;
  border: 1px solid rgba(255, 232, 190, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    rgba(9, 9, 9, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.doc-main {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.doc-hero {
  display: grid;
  gap: 16px;
}

.doc-hero h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.94;
}

.doc-hero p {
  max-width: 48rem;
}

.doc-meta,
.doc-actions,
.doc-inline-list,
.doc-footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.doc-meta span,
.doc-inline-list li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 241, 215, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.88rem;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.doc-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-card {
  padding: 24px;
  min-height: 220px;
}

.doc-card h2,
.doc-card h3 {
  margin-bottom: 12px;
  font-family: var(--heading-font);
  line-height: 1.02;
}

.doc-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.doc-card h3 {
  font-size: 1.35rem;
}

.doc-card p + p {
  margin-top: 12px;
}

.doc-list,
.doc-steps {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.doc-list li + li,
.doc-steps li + li {
  margin-top: 10px;
}

.doc-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 241, 215, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.doc-faq {
  display: grid;
  gap: 16px;
}

.doc-faq-item {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 241, 215, 0.08);
}

.doc-faq-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.doc-foot {
  margin-top: 20px;
  color: var(--subtle);
  font-size: 0.92rem;
}

.doc-footer {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
  padding: 0 0 42px;
  color: var(--subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 245, 226, 0.06), rgba(255, 245, 226, 0.015)),
    rgba(18, 16, 16, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 233, 197, 0.36), transparent);
}

.eyebrow,
.mini-label,
.metric-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mini-label,
.metric-label {
  color: rgba(243, 217, 164, 0.78);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.95fr);
  align-items: stretch;
  gap: 26px;
  min-height: 760px;
}

.hero-copy,
.manifesto-intro,
.manifesto-body,
.section-heading,
.feature-card,
.showcase-card,
.trust-card,
.closing-copy,
.closing-actions {
  opacity: 0;
  transform: translateY(28px);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 18px 8px 18px 2px;
}

.hero h1 {
  font-size: clamp(4.4rem, 7vw, 7.2rem);
  line-height: 0.92;
}

.hero-kicker {
  color: var(--text);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.hero-lead {
  max-width: 38rem;
  font-size: 1.06rem;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-signals li,
.panel-metadata span,
.floating-chip {
  padding: 10px 14px;
  border: 1px solid rgba(255, 241, 215, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-stage {
  position: relative;
  min-height: 680px;
  border-radius: calc(var(--radius-xl) - 8px);
  background:
    radial-gradient(circle at var(--pointer-x, 60%) var(--pointer-y, 40%), rgba(214, 179, 106, 0.26), transparent 34%),
    radial-gradient(circle at 68% 22%, rgba(255, 222, 167, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(95, 47, 28, 0.42), rgba(12, 12, 12, 0.18) 48%, rgba(12, 11, 11, 0.94));
  overflow: hidden;
  isolation: isolate;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 236, 202, 0.08);
  border-radius: 30px;
  pointer-events: none;
}

.hero-spotlight {
  position: absolute;
  inset: auto auto 36px 40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 179, 106, 0.36), transparent 66%);
  filter: blur(6px);
  opacity: 0.9;
}

.hero-silhouette {
  position: absolute;
  inset: 34px 24px auto auto;
  width: min(58%, 332px);
  min-height: 390px;
  background:
    radial-gradient(circle at 60% 18%, rgba(255, 223, 181, 0.34), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(72, 38, 24, 0.54), rgba(10, 10, 10, 0.75));
}

.hero-silhouette::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 222, 188, 0.9), transparent 16%),
    radial-gradient(circle at 52% 42%, rgba(82, 40, 23, 0.92), transparent 24%),
    radial-gradient(circle at 52% 75%, rgba(8, 8, 8, 0.88), transparent 34%);
  opacity: 0.7;
}

.watch-mock {
  position: absolute;
  inset: auto auto 44px 48px;
  width: 255px;
  padding: 16px;
  border-radius: 46px;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.96), rgba(36, 28, 22, 0.98));
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    0 28px 50px rgba(0, 0, 0, 0.32);
}

.watch-mock::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 26px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #060606;
}

.watch-topbar,
.watch-metrics,
.device-columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.watch-topbar {
  padding: 10px 4px 18px;
  color: var(--subtle);
  font-size: 0.78rem;
}

.watch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(214, 179, 106, 0.5);
}

.watch-screen {
  display: grid;
  gap: 14px;
  padding: 22px 14px 16px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 30%, rgba(214, 179, 106, 0.18), transparent 32%),
    linear-gradient(180deg, #181413 0%, #0c0b0b 100%);
}

.watch-value {
  font-size: 2.2rem;
  line-height: 1;
}

.watch-copy {
  font-size: 0.88rem;
}

.watch-ring {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 4px auto;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(214, 179, 106, 0.92), rgba(214, 179, 106, 0.1) 72%, rgba(214, 179, 106, 0.82));
  display: grid;
  place-items: center;
  box-shadow: 0 0 40px rgba(214, 179, 106, 0.22);
}

.watch-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #0f0d0c;
}

.watch-ring-core {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), rgba(214, 179, 106, 0.2));
  box-shadow: 0 0 18px rgba(214, 179, 106, 0.3);
}

.watch-metrics div,
.device-columns div {
  display: grid;
  gap: 4px;
}

.watch-metrics strong,
.device-columns strong {
  font-size: 0.98rem;
}

.floating-panel {
  position: absolute;
  right: 22px;
  bottom: 76px;
  z-index: 2;
  width: min(54%, 344px);
  padding: 24px;
}

.floating-panel h2 {
  margin-top: 10px;
  font-size: clamp(1.76rem, 2.4vw, 2.35rem);
  line-height: 1;
}

.floating-panel p {
  margin-top: 16px;
}

.panel-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.floating-chip {
  position: absolute;
  backdrop-filter: blur(12px);
}

.chip-left {
  top: 74px;
  left: 26px;
}

.chip-right {
  right: 28px;
  bottom: 42px;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.manifesto h2,
.section-heading h2,
.closing-copy h2 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.manifesto-body {
  display: grid;
  gap: 18px;
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.feature-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.trust-card {
  padding: 24px;
  min-height: 220px;
}

.feature-card h3,
.trust-card h3,
.showcase-card h3 {
  margin-top: 18px;
  font-size: 1.5rem;
  line-height: 1.04;
}

.feature-card p,
.trust-card p {
  margin-top: 14px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.showcase-card {
  min-height: 220px;
  padding: 24px;
}

.showcase-card-large {
  min-height: 360px;
  display: grid;
  align-content: end;
  gap: 16px;
  background:
    radial-gradient(circle at 78% 18%, rgba(214, 179, 106, 0.18), transparent 18%),
    linear-gradient(160deg, rgba(82, 33, 35, 0.58), rgba(15, 15, 15, 0.88));
}

.showcase-card-large h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.showcase-stat {
  display: grid;
  align-content: space-between;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 225, 170, 0.16), transparent 40%),
    rgba(19, 17, 15, 0.96);
}

.showcase-stat strong {
  font-family: var(--heading-font);
  font-size: clamp(3.8rem, 6vw, 5.6rem);
  color: var(--gold-soft);
  line-height: 0.95;
}

.showcase-device {
  background:
    linear-gradient(180deg, rgba(214, 179, 106, 0.1), rgba(255, 255, 255, 0.015)),
    rgba(18, 18, 18, 0.96);
}

.device-columns {
  height: 100%;
  align-items: flex-end;
  gap: 12px;
}

.showcase-quote {
  display: grid;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(243, 217, 164, 0.12), rgba(82, 33, 35, 0.18));
}

.showcase-quote p {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.5;
}

.showcase-band {
  grid-column: span 2;
  min-height: 140px;
  display: grid;
  gap: 16px;
  align-content: center;
}

.band-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.band-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.trust-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

.closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 179, 106, 0.15), transparent 24%),
    linear-gradient(160deg, rgba(82, 33, 35, 0.24), rgba(11, 11, 11, 0.92));
}

.closing-copy {
  display: grid;
  gap: 14px;
  max-width: 44rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 42px;
  color: var(--subtle);
  font-size: 0.92rem;
}

[data-reveal] {
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-stage .card,
.floating-chip {
  transition: transform 320ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-stage:hover .card,
.hero-stage:hover .floating-chip {
  border-color: var(--line-strong);
}

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

  .hero-stage {
    min-height: 720px;
  }

  .feature-grid,
  .trust-grid,
  .showcase-grid,
  .manifesto,
  .closing-cta {
    grid-template-columns: 1fr;
  }

  .showcase-band {
    grid-column: span 1;
  }

  .doc-grid,
  .doc-grid-compact {
    grid-template-columns: 1fr;
  }

  .closing-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  .site-header {
    border-radius: 30px;
    padding: 16px 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav,
  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .section-shell {
    width: min(calc(100% - 22px), var(--max-width));
    padding: 24px;
    border-radius: 28px;
  }

  .doc-main,
  .doc-footer {
    width: min(calc(100% - 22px), 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 16vw, 5.4rem);
  }

  .hero-stage {
    min-height: 640px;
  }

  .hero-silhouette {
    width: calc(100% - 48px);
    min-height: 300px;
  }

  .watch-mock {
    left: 24px;
    bottom: 28px;
    width: 230px;
  }

  .floating-panel {
    right: 20px;
    bottom: 92px;
    width: min(58%, 320px);
  }

  .chip-right {
    right: 20px;
  }
}

@media (max-width: 640px) {
  .hero-actions,
  .hero-signals,
  .trust-actions,
  .closing-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    gap: 10px;
  }

  .site-header {
    gap: 12px;
    margin-top: 10px;
    padding: 14px 16px;
  }

  .site-nav,
  .header-actions {
    width: auto;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-actions .button {
    width: auto;
    min-width: 128px;
  }

  .button,
  .hero-signals li,
  .floating-chip,
  .panel-metadata span,
  .band-list li {
    width: 100%;
    justify-content: center;
  }

  .hero-stage {
    min-height: 720px;
  }

  .hero-silhouette {
    inset: 20px 20px auto;
    width: auto;
  }

  .watch-mock {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 280px;
    margin: 300px auto 0;
  }

  .floating-panel {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 18px;
  }

  .floating-chip {
    position: relative;
    inset: auto;
    margin-top: 12px;
  }

  .hero-stage:hover .card,
  .hero-stage:hover .floating-chip {
    transform: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .doc-actions,
  .doc-meta,
  .doc-footer,
  .doc-footer-links {
    flex-direction: column;
    align-items: stretch;
  }
}
