/* Fourteen — home page. Full width; the hero is a working 14-day demo. */
@font-face { font-family: Outfit; src: url(fonts/outfit.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #1C0A1E;
  --night: #0D0A12;
  --plum: #1D1026;
  --cream: #FFF1E6;
  --mist: #CDBFD8;
  --amber: #FFB547;
  --rose: #FF5C7C;
  --line: #3A2A48;
  --gutter: clamp(20px, 4.5vw, 88px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 18px/1.55 Outfit, system-ui, sans-serif; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h2 { font-size: clamp(40px, 5.4vw, 88px); }
h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 8px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 9; background: var(--ink); color: var(--cream); padding: 10px 16px; }

.phone { border-radius: 13% / 6%; overflow: hidden; border: 9px solid #17101F; background: #0D0A12; aspect-ratio: 390 / 844; position: relative;
  box-shadow: 0 2px 0 1px rgba(255, 255, 255, 0.14), 0 40px 70px -20px rgba(28, 5, 30, 0.55); }
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { --sky: #FFB547; background: var(--sky); color: var(--ink); min-height: 100svh; display: flex; flex-direction: column; transition: background-color 0.9s ease; overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; background: var(--ink); border-radius: 12px; padding: 5px; }
.nav nav { display: flex; gap: clamp(14px, 2.2vw, 36px); align-items: center; font-weight: 600; }
.nav nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav nav a:hover { border-color: currentColor; }

.stage { flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 0.9fr); gap: clamp(28px, 4vw, 80px); align-items: center; padding: 8px var(--gutter) 28px; }
.stage h1 { font-size: clamp(54px, 7.4vw, 132px); }
.stage .lead { font-size: clamp(19px, 1.45vw, 24px); line-height: 1.45; max-width: 30em; margin: 26px 0 32px; font-weight: 500; }
.stage .phone { height: min(66svh, 700px); min-height: 480px; }
.stage .phone img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; }
.stage .phone img.on { opacity: 1; }
.today .numeral { font-size: clamp(120px, 17vw, 300px); font-weight: 900; line-height: 0.78; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; margin-left: -0.04em; }
.today h2 { font-size: clamp(28px, 2.7vw, 46px); line-height: 1.04; margin-top: 30px; }
.today p { font-size: 19px; margin-top: 10px; max-width: 20em; font-weight: 500; min-height: 4.7em; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; padding: 11px 24px 12px; border-radius: 16px; background: var(--ink); color: var(--cream); text-decoration: none; line-height: 1.1; min-width: 176px; }
.store small { font-size: 13px; font-weight: 500; }
.store b { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
a.store:hover { background: #3A1440; }
.store.soon { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }

.rail { display: flex; align-items: stretch; gap: 16px; padding: 0 var(--gutter) 76px; }
.rail ol { list-style: none; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; }
.rail button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.rail li button { width: 100%; padding: 0; text-align: left; font-weight: 700; font-size: 16px; display: block; }
.rail li button::before { content: ""; display: block; height: 8px; border-radius: 8px; background: rgba(28, 10, 30, 0.22); margin-bottom: 8px; }
.rail li button:hover::before { background: rgba(28, 10, 30, 0.5); }
.rail li.past button::before, .rail li.now button::before { background: var(--ink); }
.rail li button span { display: inline-block; min-width: 34px; padding: 3px 0; }
.rail li.now button span { background: var(--ink); color: var(--cream); border-radius: 10px; text-align: center; padding: 3px 9px; }
.rail .play { font-weight: 700; border-radius: 14px; box-shadow: inset 0 0 0 2px currentColor; padding: 0 18px; min-height: 46px; min-width: 92px; }
.rail .play:hover { background: var(--ink); color: var(--cream); }

/* ---------- Sections ---------- */
.band { padding: clamp(72px, 8.4vw, 140px) var(--gutter); }
.band .text p { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.5; color: var(--mist); max-width: 32em; margin-top: 26px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: center; }

.one { padding-bottom: 0; }
.one .split { align-items: end; }
.one .text { padding-bottom: clamp(72px, 8.4vw, 140px); }
.one .pair { display: flex; gap: clamp(16px, 2vw, 34px); justify-content: center; align-items: flex-end; height: clamp(400px, 40vw, 680px); overflow: hidden; }
.one .pair .phone { width: min(47%, 400px); align-self: flex-start; border-color: #33243F; }
.one .pair .phone:last-child { margin-top: 70px; }

.sealed { background: var(--plum); }
.sealed .frame { position: relative; width: min(100%, 620px); margin: 0 auto; }
.crop { border-radius: 34px; overflow: hidden; aspect-ratio: 390 / 420; position: relative; background: var(--night); border: 1px solid var(--line); }
.crop img { position: absolute; left: 0; width: 100%; max-width: none; top: -57%; transition: clip-path 0.8s cubic-bezier(0.7, 0, 0.2, 1); }
.crop img.reveal { clip-path: inset(0 100% 0 0); }
.crop.open img.reveal { clip-path: inset(0); }
.btn { font: inherit; font-weight: 700; font-size: 19px; cursor: pointer; border: 0; border-radius: 16px; padding: 15px 26px; background: var(--amber); color: var(--ink); margin-top: 34px; }
.btn:hover { background: #FFC873; }

.surprises .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.4vw, 64px); margin-top: clamp(44px, 5vw, 84px); }
.surprises .shot { height: clamp(320px, 30vw, 500px); overflow: hidden; border-radius: 30px; border: 1px solid var(--line); background: var(--night); }
.surprises .shot img { width: 100%; margin-top: -57.5%; }
.surprises h3 { margin-top: 22px; }
.surprises .trio p { color: var(--mist); margin-top: 6px; }

.decide { background: var(--rose); color: var(--ink); padding-top: 0; padding-bottom: 0; overflow: hidden; }
.decide .text { padding: clamp(80px, 9vw, 150px) 0; }
.band.decide .text p { color: var(--ink); font-weight: 500; }
.decide .phone { width: min(86%, 440px); margin: clamp(50px, 6vw, 100px) auto -14%; }

.safe { padding-bottom: 0; }
.safe .split { align-items: end; }
.safe .text { padding-bottom: clamp(72px, 8.4vw, 140px); }
.safe dl { display: grid; gap: 32px; margin-top: 44px; }
.safe .clip { height: clamp(440px, 46vw, 760px); overflow: hidden; }
.safe .phone { width: min(86%, 430px); margin: 0 auto; border-color: #33243F; }
.safe dt { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.safe dd { color: var(--mist); margin-top: 6px; max-width: 34em; }

.plans { background: var(--cream); color: var(--ink); }
.plans .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 120px); margin-top: clamp(40px, 5vw, 76px); }
.plans h3 { font-size: clamp(28px, 2.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.plans ul { list-style: none; padding: 0; margin-top: 18px; font-size: clamp(19px, 1.5vw, 23px); }
.plans li { padding: 15px 0; border-top: 2px solid rgba(28, 10, 30, 0.14); }

.support .split { align-items: start; }
.support .contact a { color: var(--amber); overflow-wrap: anywhere; }
.support .links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; font-weight: 600; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-size: 20px; font-weight: 600; position: relative; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 30px; font-weight: 400; color: var(--amber); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--mist); padding: 0 44px 24px 0; max-width: 40em; }

.end { background: var(--amber); color: var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 36px; padding: clamp(64px, 7vw, 120px) var(--gutter); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding: 26px var(--gutter) 34px; color: var(--mist); font-size: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .stage { grid-template-columns: auto minmax(0, 1fr); }
  .stage .intro { grid-column: 1 / -1; }
  .today .numeral { font-size: clamp(120px, 24vw, 240px); }
  .hero { min-height: 0; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav nav a:not(.keep) { display: none; }
  .stage { gap: 26px 18px; padding-top: 4px; }
  .stage .lead { margin: 18px 0 24px; }
  .stage .phone { width: 47vw; height: auto; min-height: 0; border-width: 6px; }
  .today .numeral { font-size: 32vw; }
  .today h2 { font-size: 25px; margin-top: 18px; }
  .today p { font-size: 16px; min-height: 8em; line-height: 1.4; }
  .store { flex: 1; min-width: 150px; padding: 11px 16px 12px; }
  .store b { font-size: 20px; }
  .rail { flex-direction: column; gap: 14px; }
  .rail ol { grid-template-columns: repeat(7, 1fr); gap: 8px 6px; }
  .rail li button { min-height: 46px; }
  .split, .plans .cols { grid-template-columns: minmax(0, 1fr); }
  .one .text, .safe .text { padding-bottom: 12px; }
  .surprises .trio { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .surprises .shot { height: 92vw; }
  .one .pair { height: 100vw; }
  .decide .text { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .stage .phone img, .crop img { transition: none; }
}

/* ---------- Pricing page ---------- */
.price-hero { background: var(--amber); color: var(--ink); }
.price-hero .inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 120px); align-items: end; padding: clamp(36px, 5vw, 80px) var(--gutter) clamp(64px, 7vw, 120px); }
.price-hero h1 { font-size: clamp(52px, 7vw, 124px); }
.price-hero .lead { font-size: clamp(19px, 1.5vw, 24px); font-weight: 500; line-height: 1.45; max-width: 28em; margin-top: 26px; }
.plus-box { background: var(--ink); color: var(--cream); border-radius: 36px; padding: clamp(28px, 3vw, 52px); }
.plus-box h2 { font-size: clamp(34px, 3.4vw, 56px); }
.plus-box > p { color: var(--mist); margin-top: 14px; }
.offers { margin-top: 26px; }
.offers div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 20px; padding: 20px 0; border-top: 1px solid #4A3350; }
.offers dt { font-size: 22px; font-weight: 700; }
.offers dt small { display: block; font-size: 16px; font-weight: 500; color: var(--amber); }
.offers dd { font-size: clamp(34px, 3.2vw, 54px); font-weight: 800; letter-spacing: -0.03em; }
.offers dd small { font-size: 18px; font-weight: 500; letter-spacing: 0; }

.compare table { width: 100%; border-collapse: collapse; margin-top: clamp(36px, 4vw, 64px); font-size: clamp(17px, 1.5vw, 22px); }
.compare th, .compare td { text-align: left; padding: 20px 18px 20px 0; border-top: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.compare thead td, .compare thead th { border: 0; }
.compare thead th { font-size: clamp(22px, 2.2vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.compare tbody th { width: 40%; font-weight: 600; }
.compare td { color: var(--mist); width: 30%; }
.compare td:last-child { color: var(--amber); font-weight: 600; }

.packs { background: var(--cream); color: var(--ink); }
.packs .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 120px); margin-top: clamp(36px, 4vw, 64px); }
.packs h3 { font-size: clamp(26px, 2.4vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.packs .cols p { margin-top: 8px; }
.packs dl { margin-top: 22px; }
.packs dl div { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 2px solid rgba(28, 10, 30, 0.14); font-size: clamp(20px, 1.8vw, 27px); font-weight: 600; }
.packs dd { font-weight: 800; }
.note { margin-top: 34px; max-width: 46em; }

.rekindle { background: var(--rose); color: var(--ink); }
.band.rekindle .text p { color: var(--ink); font-weight: 500; }
.rekindle ol { padding: 0; list-style: none; counter-reset: r; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; }
.rekindle li { counter-increment: r; display: flex; gap: 22px; padding: 20px 0; border-top: 2px solid rgba(28, 10, 30, 0.22); }
.rekindle li::before { content: counter(r); font-weight: 900; font-size: 1.5em; line-height: 1; }
.rekindle .split { align-items: start; }
.textlink { display: inline-block; margin-top: 34px; font-size: 20px; font-weight: 700; }

@media (max-width: 900px) {
  .price-hero .inner, .packs .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .compare th, .compare td { padding: 16px 12px 16px 0; }
  .compare tbody th { width: 36%; }
}

/* ---------- Opening logo animation (intro.js) ---------- */
html.intro { overflow: hidden; }
html.intro::before { content: ""; position: fixed; inset: 0; background: var(--night); z-index: 40; }
html.intro .brand img { visibility: hidden; }
html.intro-fly .brand img { object-position: -99px 0; }
.intro-screen { position: fixed; inset: 0; z-index: 50; background: var(--night); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; cursor: pointer; transition: background-color 0.7s ease 0.15s; }
.intro-mark { width: min(74vw, 56svh, 520px); transition: transform 0.85s cubic-bezier(0.7, 0, 0.15, 1), opacity 0.2s ease 0.8s; }
.intro-mark svg { display: block; width: 100%; overflow: visible; }
.intro-pen { filter: drop-shadow(0 0 10px #FF5C7C); }
.intro-word { width: min(50vw, 320px); clip-path: inset(0 100% 0 0); transition: clip-path 0.7s cubic-bezier(0.6, 0, 0.2, 1), opacity 0.25s ease; }
.intro-screen.word .intro-word { clip-path: inset(0); }
.intro-skip { position: absolute; right: 24px; top: 20px; font: inherit; font-weight: 600; color: var(--mist); background: none; border: 0; padding: 12px 16px; cursor: pointer; }
.intro-skip:hover { color: var(--cream); }
.intro-screen.leave { background: transparent; pointer-events: none; }
.intro-screen.leave .intro-word, .intro-screen.leave .intro-skip { opacity: 0; }
.intro-screen.leave .intro-mark { opacity: 0; }
.intro-screen.fast { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
