:root {
  --primary: #c9a227;
  --primary-deep: #8f6f12;
  --brand-gold: #f5b700;
  --primary-soft: rgba(201, 162, 39, 0.16);
  --accent: #1a2332;
  --bg: #f7f1e3;
  --bg-elevated: #fffcf5;
  --bg-card: #fffef9;
  --border: rgba(26, 35, 50, 0.1);
  --text: #1a2332;
  --text-muted: rgba(26, 35, 50, 0.58);
  --text-dim: rgba(26, 35, 50, 0.4);
  --shell-mid: #efe4c8;
  --champagne: #f3e9cf;
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow-soft: 0 18px 50px rgba(143, 111, 18, 0.12);
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201, 162, 39, 0.28), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--champagne) 42%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-deep);
  font-weight: 700;
}

code {
  font-size: 0.92em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding-bottom: 5rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  margin-bottom: 0.5rem;
  background: rgba(247, 241, 227, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.topbar.is-scrolled {
  border-bottom-color: var(--border);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark img {
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(143, 111, 18, 0.25);
}

.topnav {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.topnav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.35rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 12px;
  margin-left: auto;
}

.btn-ink {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(26, 35, 50, 0.22);
}

.btn-ink:hover {
  background: #101722;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  place-items: center;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(245, 183, 0, 0.35), transparent 70%);
  pointer-events: none;
}

.hero-ribbon {
  position: absolute;
  left: -20%;
  right: -20%;
  top: 18%;
  height: 42%;
  background: linear-gradient(
    105deg,
    rgba(201, 162, 39, 0.35),
    rgba(201, 162, 39, 0.08),
    transparent
  );
  transform: rotate(-6deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 38rem;
}

.hero-icon {
  margin: 0 auto 1.25rem;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--brand-gold);
  text-shadow:
    0 1px 0 #fff6d6,
    0 10px 30px rgba(143, 111, 18, 0.28);
}

.hero-lead {
  margin: 1.15rem auto 1.75rem;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.section {
  padding: 3.5rem 0 1rem;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.section-head h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.5;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem 1.75rem;
}

.feature {
  padding: 0;
  border: 0;
  background: none;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-left: 3px solid var(--primary);
  padding-left: 0.7rem;
}

.feature p {
  margin: 0;
  padding-left: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.5;
}

.shot-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.shot {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--text-dim);
}

.shot figcaption {
  margin: 0;
  padding: 0.65rem 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  background: var(--champagne);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e8d48a, var(--primary), var(--primary-deep));
  color: var(--accent);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(143, 111, 18, 0.25);
}

.step h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.55;
}

.install-cta {
  margin-top: 2rem;
}

.footer {
  margin-top: 4rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.55;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.footer-brand img {
  border-radius: 8px;
}

.footer a {
  color: var(--primary-deep);
}

.fine {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.sticky-download {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 30;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(26, 35, 50, 0.28);
}

.sticky-download[hidden] {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .topnav {
    display: flex;
  }

  .btn-sm {
    margin-left: 0;
  }

  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot-strip {
    grid-auto-flow: dense;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
}

@media (min-width: 960px) {
  .feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}
