/* SiteKit starter. One file, no build step. Change the variables first, everything follows. */
:root {
  --bg: #0b0b0f;
  --bg-soft: #101015;
  --surface: #15151b;
  --text: #f5f3ee;
  --text-2: #cfcdc6;
  --muted: #a09ea6;
  --line: #2b2b35;
  --accent: #e2b43c;      /* gold, used as text and thin lines */
  --cta: #d92b2f;         /* button fill, white text passes contrast */
  --cta-hover: #c22327;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); max-width: 16ch; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--text-2); max-width: 52ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; border-radius: 12px;
  background: var(--cta); color: #fff; text-decoration: none; font-weight: 600; border: 1px solid transparent;
  transition: transform .15s var(--ease), background .15s var(--ease); }
.btn:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--small { min-height: 40px; padding: 0 1rem; font-size: .9rem; }
.btn--big { min-height: 60px; padding: 0 2.4rem; font-size: 1.15rem; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 48px); transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(11, 11, 15, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.nav nav { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--text-2); }
.nav nav a:not(.btn):hover { color: var(--text); }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-decoration: none; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
  padding: 120px clamp(20px, 7vw, 120px) 80px; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212, 160, 23, .22), transparent 70%), radial-gradient(closest-side at 20% 70%, rgba(217, 43, 47, .18), transparent 70%); }
.hero > :not(.hero__glow):not(.scrollhint) { position: relative; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .5rem; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; }
.scrollhint { position: absolute; left: clamp(20px, 7vw, 120px); bottom: 28px; width: 22px; height: 36px; border: 2px solid var(--muted); border-radius: 12px; }
.scrollhint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--muted); animation: hint 1.8s infinite var(--ease); }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* scroll story: the track is tall, the stage is sticky. With GSAP present the pin is done by ScrollTrigger instead. */
.story { background: var(--bg-soft); }
.story__stage { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 40px 16px; }
.story canvas { width: min(1100px, 94vw); height: auto; aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--line); background: #0b0b0f; }
.story__captions { position: absolute; left: 0; right: 0; bottom: 6vh; display: grid; justify-items: center; padding: 0 20px; pointer-events: none; }
.cap { grid-area: 1 / 1; max-width: 44ch; text-align: center; font-size: 1.15rem; color: var(--text); background: rgba(11, 11, 15, .72);
  backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; }
.cap b { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.story__bar { position: absolute; left: 50%; bottom: 3vh; width: min(320px, 60vw); height: 3px; transform: translateX(-50%); background: var(--line); border-radius: 2px; overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
/* no-JS and reduced-motion fallback: all three captions are shown, stacked, below the first frame */
.static .story__stage { min-height: 0; padding-bottom: 20px; }
.static .story__captions { position: static; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
.static .cap { grid-area: auto; }
.static .story__bar { display: none; }

/* features */
.features, .proof, .pricing, .cta { padding: clamp(72px, 12vw, 140px) clamp(20px, 7vw, 120px); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 10px; align-content: start; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.card p { color: var(--text-2); }
.num { font-family: var(--font-display); color: var(--accent); font-size: 1.1rem; }

/* shelf */
.shelf { background: var(--bg-soft); overflow: hidden; }
.shelf__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 80px 0; }
.shelf h2 { padding: 0 clamp(20px, 7vw, 120px); }
.shelf__track { display: flex; gap: 20px; padding: 0 clamp(20px, 7vw, 120px); width: max-content; }
.tile { width: min(380px, 78vw); min-height: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.tile p { color: var(--text-2); }

/* proof */
.proof blockquote { margin: 40px 0 0; max-width: 40ch; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; border-left: 2px solid var(--accent); padding-left: 24px; }
.proof cite { display: block; margin-top: 16px; font: 400 .95rem/1.5 var(--font-body); color: var(--muted); font-style: normal; }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 26px 26px; }
.tier--pick { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(217, 43, 47, .2), 0 24px 48px -12px rgba(0, 0, 0, .8); transform: translateY(-12px); }
.tier .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--cta); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.price { font-family: var(--font-display); font-size: 2.6rem; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--text-2); font-size: .95rem; }
.tier .btn { margin-top: auto; }
.fine { margin-top: 28px; color: var(--muted); font-size: .9rem; }

.cta { text-align: center; display: grid; justify-items: center; gap: 22px; background: radial-gradient(700px 320px at 50% 100%, rgba(212, 160, 23, .16), transparent 70%); }
.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 28px clamp(20px, 7vw, 120px); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* initial hidden state only when JS has confirmed it will reveal things (class set by main.js) */
.js .reveal, .js .fade { opacity: 0; transform: translateY(28px); }

@media (max-width: 820px) {
  .grid, .tiers { grid-template-columns: 1fr; }
  .tier--pick { transform: none; order: -1; }
  .nav nav a:not(.btn) { display: none; }
  .shelf__track { flex-direction: column; width: auto; }
  .tile { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scrollhint span { animation: none; }
  .btn { transition: none; }
}
