:root {
  --bg: #0a1628;
  --bg-soft: #12203a;
  --accent: #d4a054;
  --accent2: #7ec8d4;
  --text: #f3e6d0;
  --muted: #8a9bb0;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
}

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

a {
  color: var(--accent2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.corner-nav {
  position: fixed;
  left: var(--pad);
  bottom: var(--pad);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.corner-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

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

.hero {
  padding: calc(var(--pad) + 2rem) var(--pad) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.hero--split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.hero__subtitle {
  margin: 0.35rem 0 1rem;
  color: var(--accent2);
  font-size: 1.25rem;
}

.hero__tagline {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}

.hero__visual img {
  border-radius: 18px;
  border: 1px solid rgba(126, 200, 212, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.gallery-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0 var(--pad) 3rem;
  max-width: var(--max);
  margin: 0 auto;
}

.gallery-band img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(212, 160, 84, 0.18);
}

section {
  padding: 3.5rem var(--pad);
}

.section-intro {
  max-width: var(--max);
  margin: 0 auto 2rem;
}

.section-intro--right {
  text-align: right;
  margin-left: auto;
  max-width: 38rem;
}

.section-intro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

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

.features--timeline {
  background: linear-gradient(180deg, transparent, rgba(18, 32, 58, 0.65));
}

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0 0 0 1.5rem;
  max-width: var(--max);
  border-left: 2px solid rgba(212, 160, 84, 0.35);
}

.timeline li {
  position: relative;
  padding: 0 0 2.25rem 1.75rem;
}

.timeline__node {
  position: absolute;
  left: -1.62rem;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 160, 84, 0.18);
}

.timeline h3 {
  margin: 0 0 0.45rem;
  color: var(--text);
}

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

.screens--pair {
  max-width: var(--max);
  margin: 0 auto;
}

.device-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.device-pair figure,
.screens__solo {
  margin: 0;
  text-align: center;
}

.device-pair img,
.screens__solo img {
  margin: 0 auto;
  max-width: min(100%, 320px);
  border-radius: 28px;
  border: 1px solid rgba(126, 200, 212, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(138, 155, 176, 0.22);
}

.legal h2 {
  margin: 0 0 0.5rem;
}

.legal__effective {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.25rem;
}

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

.legal__col p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.support { padding-bottom: 5rem; }

.site-footer {
  padding: 1.5rem var(--pad) 6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .hero--split,
  .gallery-band,
  .device-pair,
  .legal__grid {
    grid-template-columns: 1fr;
  }

  .section-intro--right {
    text-align: left;
    margin-left: 0;
  }

  .corner-nav {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: calc(100% - 2 * var(--pad));
  }
}
