:root {
  --ink: #000;
  --grey: #636264;
  --soft: #5d5d5d;
  --ui: "Geist", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --edge: clamp(20px, 6.6vw, 95px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--ui); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, p { margin: 0; }

/* the hero's background: a slow candid clip, washed light on the side the words sit on */
.bgvid { position: absolute; top: 0; left: 0; z-index: 0; width: 100%; height: 100vh; height: 100svh; overflow: hidden; background: #f4ece2; }
.bgvid video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(.95) brightness(1.08); } /* the couple sits right of centre, away from the words */
.bgvid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .86) 32%, rgba(255, 255, 255, .35) 60%, rgba(255, 255, 255, .08) 100%), linear-gradient(transparent 72%, #fff 100%); }
#film { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; height: 100svh; z-index: 1; pointer-events: none; }

.nav { position: fixed; z-index: 3; top: 0; left: 0; right: 0; height: 64px; padding: 0 31px; display: flex; align-items: center; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--ui); letter-spacing: -.02em; color: inherit; text-decoration: none; }
.logo-img { display: block; width: auto; height: 24px; }
.logo { font-weight: 600; font-size: 18px; letter-spacing: -.03em; }
.nav { justify-content: space-between; }
.nav-cta { padding: 9px 14px; border-radius: 999px; background: #000; color: #fff; font: 600 14px/1 var(--ui); text-decoration: none; }
.nav-cta:hover { background: #222; }

/* the words sit above the film; it never runs through them */
.hero { position: relative; z-index: 2; height: 100vh; height: 100svh; padding: 0 var(--edge); display: flex; flex-direction: column; justify-content: center; gap: 28px; max-width: 46vw; }
.lede { font: italic 400 23px/29px var(--serif); letter-spacing: -.005em; color: var(--soft); }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 68px); font-weight: 300; line-height: 1.06; letter-spacing: -.035em; color: var(--grey); }
.hero h1 span { display: block; }
.hero h1 b { font: italic 400 1.12em var(--serif); letter-spacing: -.01em; color: #000; }
.sub { max-width: 30em; font-size: clamp(1rem, 1.3vw, 19px); line-height: 1.5; color: #262626; }

@media (max-width: 760px) {
  .nav { padding: 0 18px; }
  .hero { max-width: none; justify-content: flex-start; padding: 104px 34vw 0 20px; gap: 18px; }
  .bgvid video { object-position: 72% 50%; }
  .bgvid::after { background: linear-gradient(90deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .8) 55%, rgba(255, 255, 255, .3) 100%), linear-gradient(transparent 75%, #fff 100%); }
  .lede { font-size: 20px; line-height: 26px; }
  .hero h1 { font-size: clamp(2rem, 9.6vw, 2.6rem); }
}

/* ---------- How it works ---------- */
:root { --hand: "Reenie Beanie", cursive; --mono: "Geist Mono", ui-monospace, monospace; --ink-blue: #1c1c1c; --pink: #1c1c1c; }
.how { position: relative; z-index: 2; padding: 120px var(--edge) 140px; }
.how-head { max-width: 760px; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.how h2, .pricing h2 { margin-top: 16px; font: 300 clamp(2.2rem, 4.4vw, 62px)/1.06 var(--ui); letter-spacing: -.04em; color: var(--grey); }
.how h2 em, .pricing h2 em, .step h3 em { font: italic 400 1.12em/1 var(--serif); letter-spacing: -.01em; color: #000; }

.steps { margin: 72px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.step { position: relative; }
.step:nth-child(2) { margin-top: 56px; }
.track { margin-top: 30px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-blue); }
.step h3 { margin: 10px 0 0; font: 400 clamp(1.5rem, 2.2vw, 30px)/1.15 var(--ui); letter-spacing: -.03em; color: var(--grey); }
.step > p:last-child { margin-top: 12px; max-width: 30em; font-size: 16.5px; line-height: 1.65; color: #262626; }

/* each step has a keepsake: an old photo, a lyric sheet, a polaroid */
.frame { position: relative; margin: 0; background: #fff; box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .45), 0 1px 0 rgba(0, 0, 0, .05); }
.stamp { width: min(64%, 250px); padding: 10px; outline: 7px dotted #111; outline-offset: -2px; box-shadow: 0 0 0 8px #111, 0 22px 40px -22px rgba(0, 0, 0, .5); rotate: -3deg; margin-left: 10px; }
.stamp img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.sheet { padding: 26px 24px 22px 44px; border-radius: 3px; background: #fffdf6 linear-gradient(rgba(0, 0, 0, .09) 1px, transparent 1px) 0 18px / 100% 38px; rotate: 1.5deg; }
.sheet::before { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 1px; background: rgba(0, 0, 0, .12); }
.sheet-line { font: 400 clamp(1.4rem, 1.85vw, 27px)/38px var(--hand); color: var(--ink-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-line s { color: var(--pink); text-decoration-thickness: 2px; }
/* a 4-line window; the lines roll up under it while the song plays, one ruled line at a time */
.sheet-win { height: 152px; overflow: hidden; }
.sheet-lines { transition: transform .6s cubic-bezier(.3, .7, .2, 1); }
.sheet-lines .sheet-line { transition: opacity .3s; }
.sheet-lines.singing .sheet-line { opacity: .38; }
.sheet-lines.singing .sheet-line.cur { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sheet-lines { transition: none; } }
.hear { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border: 0; border-radius: 999px; background: #000; color: #fff; font: 600 15px/1 var(--ui); cursor: pointer; }
.hear:hover { background: #222; }
.pp { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.pp svg { grid-area: 1 / 1; width: 58%; height: 58%; fill: #000; }
.pp .i-pause, .on .pp .i-play { display: none; }
.on .pp .i-pause { display: block; }
.polaroid { width: min(70%, 260px); padding: 10px 10px 50px; rotate: 3deg; margin-left: auto; margin-right: 12%; }
.polaroid video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #111; }
.vplay { position: absolute; inset: 10px 10px 50px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.vplay .pp { width: 58px; height: 58px; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transition: opacity .2s; }
.polaroid.on .vplay .pp { opacity: 0; }
.polaroid.on .vplay:hover .pp { opacity: 1; }
.polaroid figcaption { position: absolute; left: 6px; right: 6px; bottom: 14px; text-align: center; white-space: nowrap; font: 400 clamp(17px, 1.6vw, 22px)/1 var(--hand); color: var(--ink-blue); }

/* the marker notes in the margin */
.scribble { position: absolute; margin: 0; font: 400 28px/1 var(--hand); color: var(--pink); pointer-events: none; }
.s1 { right: -6px; top: 26%; rotate: 6deg; }
.s2 { right: -4%; top: -46px; rotate: -5deg; }

/* reveal */
.rv { opacity: 0; translate: 0 22px; transition: opacity .8s cubic-bezier(.22, 1, .36, 1), translate .8s cubic-bezier(.22, 1, .36, 1); }
.rv.in { opacity: 1; translate: 0 0; }
.step.rv:nth-child(2) { transition-delay: .12s; }
.step.rv:nth-child(3) { transition-delay: .24s; }

@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 72px; max-width: 520px; }
  .step:nth-child(2) { margin-top: 0; }
  .polaroid { margin: 0 0 0 10px; width: min(64%, 240px); }
  .s1 { right: 0; top: 10%; }
  .s2 { right: 4px; top: -40px; }
}
@media (max-width: 760px) {
  .how { padding: 80px 20px 100px; }
  .steps { margin-top: 48px; }
  .sheet { padding-left: 38px; }
  .sheet::before { left: 26px; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; translate: 0 0; transition: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: #000; color: #fff; font: 600 16px/1 var(--ui); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #222; transform: translateY(-1px); }
.btn.ghost { padding: 0 20px 0 9px; background: rgba(255, 255, 255, .7); color: #000; box-shadow: inset 0 0 0 1.5px #000; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn.ghost:hover { background: #fff; }
.btn.ghost .pp { background: #000; }
.btn.ghost .pp svg { fill: #fff; }
.btn.big { height: 58px; padding: 0 32px; font-size: 18px; }

/* ---------- hero extras ---------- */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.facts li { display: grid; gap: 2px; padding-left: 12px; border-left: 1.5px solid #000; }
.facts b { font: 600 14px/1.2 var(--ui); }
.facts span { font: 13px/1.2 var(--ui); color: var(--soft); }
.scroll-cue { display: none; }

/* ---------- pricing ---------- */
.pricing { position: relative; z-index: 2; padding: 40px var(--edge) 120px; }
.tapes { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 34px); max-width: 1100px; }
.tape-card { position: relative; display: grid; justify-items: start; gap: 6px; padding: 26px 26px 26px; border-radius: 16px; background: #fbf8f2; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); }
.tape-card h3 { margin: 0; font: italic 400 clamp(1.9rem, 2.6vw, 38px)/1 var(--serif); letter-spacing: -.01em; }
.tape-card .amt { margin-top: 10px; font: 600 clamp(2rem, 3vw, 44px)/1 var(--ui); letter-spacing: -.04em; }
.tape-card .per { margin-bottom: 18px; font-size: 15px; color: var(--soft); }
.tape-card .btn { width: 100%; }
.tape-card.best { background: #fff; box-shadow: inset 0 0 0 1.5px #000; }

/* ---------- closer and footer ---------- */
.closer { position: relative; z-index: 2; padding: 60px 20px 140px; display: grid; justify-items: center; gap: 34px; text-align: center; }
.closer h2 { font: 300 clamp(2.2rem, 4.4vw, 62px)/1.06 var(--ui); letter-spacing: -.04em; color: var(--grey); }
.closer h2 em { font: italic 400 1.12em/1 var(--serif); color: #000; }
.foot { position: relative; z-index: 2; padding: 64px var(--edge) 40px; border-radius: 18px 18px 0 0; background: #000; color: #fff; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.logo.light { color: #fff; }
.foot-brand p { margin-top: 14px; max-width: 22em; color: rgba(255, 255, 255, .62); font-size: 15px; line-height: 1.5; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot .label { margin-bottom: 6px; font: 400 13px/1 var(--ui); color: rgba(255, 255, 255, .55); }
.foot nav a { width: max-content; color: #fff; text-decoration: none; font-size: 16px; }
.foot nav a:hover { color: #bdbdbd; }
.sign { margin-top: 56px; text-align: center; font: italic 400 clamp(20px, 2vw, 26px)/1.3 var(--serif); }
.copyright { margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .55); }

@media (max-width: 900px) {
  .tapes { grid-template-columns: minmax(0, 1fr); max-width: 460px; gap: 30px; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-cta { padding: 8px 12px; font-size: 13px; }
  .hero { gap: 16px; padding-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn { height: 48px; font-size: 15px; }
  .facts { flex-direction: column; gap: 12px; margin-top: 8px; }
  /* the bottom of the phone hero: a hand-written nudge down to the next section */
  .scroll-cue { margin-top: auto; margin-bottom: 26px; display: inline-flex; align-items: flex-end; gap: 6px; width: max-content; text-decoration: none; font: 400 26px/1 var(--hand); color: #1c1c1c; }
  .scroll-cue svg { width: 22px; height: 22px; fill: currentColor; animation: cue 1.8s ease-in-out infinite; }
  .pricing { padding: 20px 20px 90px; }
  .closer { padding: 30px 20px 100px; }
  .foot { padding: 48px 20px 32px; }
}
@keyframes cue { 50% { translate: 0 5px; } }

/* ---------- policy pages ---------- */
.doc { overflow-x: hidden; }
.legal { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 130px 20px 110px; }
.legal h1 { margin-top: 14px; font: 300 clamp(2.4rem, 5vw, 60px)/1.05 var(--ui); letter-spacing: -.04em; }
.legal .intro { margin-top: 16px; font: italic 400 22px/1.4 var(--serif); color: var(--soft); }
.legal h2 { margin: 44px 0 0; font: 600 19px/1.3 var(--ui); letter-spacing: -.02em; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; color: #262626; }
.legal p { margin-top: 10px; }
.legal ul { margin: 10px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal a { color: #000; }
.legal mark { padding: 0 4px; border-radius: 3px; background: #ececec; color: #000; }
.tape-card .amt s { margin-right: 4px; font-weight: 500; font-size: .55em; letter-spacing: -.02em; color: #9a9a9a; text-decoration-thickness: 2px; vertical-align: .2em; }
