:root {
  --bg: #1A050E;
  --curtain: #3A0A18;
  --surface: #521428;
  --burgundy: #6B1D3A;
  --gold: #C9A227;
  --pale-gold: #E8D48A;
  --text: #F5EDE0;
  --muted: #9a8a82;
  --max: 1120px;
  --radius: 16px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a { color: var(--pale-gold); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--bg);
  padding: 8px 16px;
  z-index: 100;
}

.skip-link:focus { left: 16px; }

.hero--split-asymmetric {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 64px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero--split-asymmetric {
    grid-template-columns: 1fr 1.1fr;
    padding: 72px 32px 88px;
  }
}

.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.05;
}

.hero__title span {
  background: linear-gradient(135deg, var(--pale-gold), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, opacity 0.2s;
}

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

.btn--gold {
  background: var(--gold);
  color: var(--bg);
}

.btn--ghost {
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--pale-gold);
}

.hero__visual img:first-child {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.hero__gallery img {
  border-radius: 10px;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.92;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px;
}

.section__intro {
  margin-bottom: 36px;
}

.section__intro--right {
  text-align: right;
  margin-left: auto;
  max-width: 520px;
}

.section__intro--center {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section__intro h2,
.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 12px;
  color: var(--pale-gold);
}

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

.timeline--vertical {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
  border-left: 2px solid rgba(201, 162, 39, 0.35);
}

.timeline__item {
  position: relative;
  padding: 0 0 32px 28px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__node {
  position: absolute;
  left: -9px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline__body h3 {
  font-family: var(--font-serif);
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.timeline__body p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.device-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: flex-end;
}

.device-pair--secondary {
  margin-top: 24px;
}

.device-pair__phone {
  margin: 0;
  max-width: 280px;
  text-align: center;
}

.device-pair__phone img {
  border-radius: 28px;
  border: 3px solid rgba(201, 162, 39, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.device-pair__phone figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.legal--two-column {
  column-count: 1;
  column-gap: 40px;
}

@media (min-width: 768px) {
  .legal--two-column { column-count: 2; }
}

.legal--two-column p {
  break-inside: avoid;
  margin: 0 0 16px;
  color: var(--muted);
}

.support-link {
  font-weight: 600;
  word-break: break-all;
}

.nav--corner-stack {
  position: fixed;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 50;
  padding: 12px 14px;
  background: rgba(58, 10, 24, 0.92);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.nav--corner-stack a {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.04em;
}

.nav--corner-stack a:hover { color: var(--gold); }

.footer {
  text-align: center;
  padding: 32px 24px 100px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

@media (max-width: 600px) {
  .nav--corner-stack {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: calc(100% - 32px);
  }
}
