/* Fonts served from our own server (2026-11-19): Google Fonts held first paint. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/site/pjs-400.woff2?v=20261119b) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/site/pjs-600.woff2?v=20261119b) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/site/pjs-700.woff2?v=20261119b) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url(/site/pjs-800.woff2?v=20261119b) format('woff2'); }
:root {
  --bg: #FFF8EE;
  --bg-2: #FFF1DC;
  --surface: #FFFFFF;
  --ink: #24180C;
  --muted: #6B5846;
  --line: #F0E0C6;
  --honey: #F5B53A;
  --honey-deep: #9A5F00;
  --honey-soft: #FFE7B3;
  --radius: 20px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--honey-deep); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 12px; top: -60px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; z-index: 200; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn-primary { background: var(--honey); color: var(--ink); box-shadow: 0 2px 0 var(--honey-deep); }
.btn-primary:hover { background: #FFC352; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); box-shadow: none; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stores-center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px; background: #111; color: #fff; text-decoration: none; transition: transform .2s var(--ease), background-color .2s; }
.store:hover { background: #2A2A2A; transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.store small { font-size: 10px; letter-spacing: .06em; opacity: .85; }
.store b { font-size: 18px; font-weight: 700; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 248, 238, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; }
.brand img { border-radius: 10px; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .2s; }
.main-nav a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; padding: 36px 0 48px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: auto -10% -40% 40%; height: 120%; background: radial-gradient(closest-side, var(--honey-soft), transparent 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--honey-deep); }
.lede { margin-top: 24px; max-width: 520px; font-size: 18px; color: var(--muted); }

/* Hero: three phones take turns (script.js). Order of places:
   wait (hidden, right) -> right -> front -> left -> gone (hidden, left).
   Hidden phones are fully transparent, so the jump from gone back to wait
   is never seen and no visible phone slides across another. */
.hero-phones { position: relative; height: 570px; transition: transform .4s ease-out; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hero-phones::before { content: ''; position: absolute; width: 460px; height: 460px; left: 50%; top: 46%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, #FFD98A, transparent 72%); }
.phone { position: absolute; left: 50%; top: 0; width: 248px; padding: 7px; border-radius: 40px; background: #1E1611; box-shadow: 0 30px 60px -20px rgba(80, 45, 0, .35), 0 0 0 1px rgba(0,0,0,.08); transition: transform .9s var(--ease), opacity .6s ease; will-change: transform, opacity; }
.phone img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 33px; }
.p-front { transform: translateX(-50%); z-index: 3; }
.p-right { transform: translateX(10%) translateY(60px) rotate(7deg) scale(.8); z-index: 2; }
.p-left { transform: translateX(-110%) translateY(60px) rotate(-7deg) scale(.8); z-index: 2; }
.p-wait { transform: translateX(25%) translateY(90px) rotate(11deg) scale(.68); opacity: 0; z-index: 1; }
.p-gone { transform: translateX(-125%) translateY(90px) rotate(-11deg) scale(.68); opacity: 0; z-index: 1; }
.tag { position: absolute; z-index: 4; left: 50%; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(80, 45, 0, .3); transition: opacity .25s, background-color .4s, color .4s; }
.tag.swapping { opacity: 0; }
.tag-time { display: none; padding: 4px 10px; border-radius: 999px; background: var(--honey); color: var(--ink); font-weight: 800; font-size: 13px; }
.tag.is-final { padding-left: 8px; background: var(--ink); color: #fff; animation: glow 2.4s ease-in-out infinite; }
.tag.is-final .tag-time { display: inline-block; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 181, 58, .55), 0 10px 30px -10px rgba(80, 45, 0, .3); } 50% { box-shadow: 0 0 0 10px rgba(245, 181, 58, 0), 0 10px 30px -10px rgba(80, 45, 0, .3); } }

/* Section heads */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head-left { text-align: left; margin: 0; }
.kicker { font-size: 14px; font-weight: 700; color: var(--honey-deep); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
.section-head p:not(.kicker) { margin-top: 16px; font-size: 18px; color: var(--muted); }

.scroll-cue { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; padding: 10px 6px; font-weight: 700; font-size: 15px; color: var(--honey-deep); text-decoration: none; }
.scroll-cue .ic { animation: nudge 1.6s ease-in-out infinite; }
.scroll-cue:hover { color: var(--ink); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* 2. Page-open: headline, text, buttons rise one by one; phones rise into place.
   Uses the separate `translate` property so the phones' place transforms stay untouched. */
.js .hero-copy > * { animation: rise .8s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .12s; }
.js .hero-copy > :nth-child(3) { animation-delay: .24s; }
.js .hero-copy > :nth-child(4) { animation-delay: .36s; }
.js .phone { animation: phoneIn 1s var(--ease) both; }
.js .phone.p-front { animation-delay: .2s; }
.js .phone.p-left { animation-delay: .35s; }
.js .phone.p-right { animation-delay: .45s; }
.js .hero-phones .tag { animation: rise .7s var(--ease) .8s both; }
.js .hero-phones .tag.is-final { animation: rise .7s var(--ease) .8s both, glow 2.4s ease-in-out 1.6s infinite; }
@keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes phoneIn { from { translate: 0 80px; } to { translate: 0 0; } }

/* 3. Mouse: the phone stage tilts toward the cursor (script.js sets --rx/--ry);
   side phones can be clicked to bring them forward. */
.can-hover .p-left, .can-hover .p-right { cursor: pointer; }
.can-hover .p-left:hover, .can-hover .p-right:hover { filter: brightness(1.04); }

/* How it works: three ways in -> Logs -> 12 AM vlog */
.how { padding: 56px 0 96px; background: var(--surface); border-block: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--honey); color: var(--ink); font-weight: 800; font-size: 16px; }
.step-head { text-align: center; max-width: 560px; margin: 0 auto 32px; }
.step-head h3, .step-body h3 { margin-top: 12px; font-size: 26px; font-weight: 800; }
.step-head p, .step-body p { margin-top: 8px; color: var(--muted); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { display: flex; gap: 18px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.way:hover, .way.hot { transform: translateY(-4px); border-color: var(--honey); box-shadow: 0 16px 32px -18px rgba(80, 45, 0, .35); }
.step-card { transition: transform .25s var(--ease), box-shadow .25s; }
.step-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(80, 45, 0, .35); }
.way-shot, .step-shot { flex: none; padding: 4px; border-radius: 20px; background: #1E1611; }
.way-shot { width: 96px; }
.way-shot img, .step-shot img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 16px; }
.way h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 700; }
.way h4 .ic, .become .ic { color: var(--honey-deep); }
.way p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.55; }
/* The three lines meet, then flow down: drawn when they scroll into view */
.merge { display: block; width: 100%; height: 90px; margin: 8px 0; fill: none; stroke: var(--honey-deep); stroke-width: 3; vector-effect: non-scaling-stroke; }
.merge path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .merge path { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.js .merge.in path { stroke-dashoffset: 0; }
.merge path { transition: stroke-dashoffset 1s var(--ease), stroke .25s, stroke-width .25s; }
.merge path.hot { stroke: var(--honey); stroke-width: 6; }
.v-line { width: 3px; height: 56px; margin: 0 auto; background: var(--honey-deep); border-radius: 3px; transform-origin: top; }
.js .v-line { transform: scaleY(0); transition: transform .8s var(--ease); }
.js .v-line.in { transform: none; }
.v-line-phone { display: none; }
.step-card { display: flex; align-items: center; gap: 32px; max-width: 640px; margin: 0 auto; padding: 24px 32px 24px 24px; border-radius: 28px; background: var(--bg); border: 1px solid var(--line); }
.step-shot { width: 130px; }
.step-card-end { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-card-end p { color: #E8DCCB; }
.pill-12 { display: inline-block; margin-left: 8px; padding: 4px 12px; border-radius: 999px; background: var(--honey); color: var(--ink); font-weight: 800; font-size: 14px; vertical-align: middle; }
.step-card-end.in .pill-12 { animation: glow 2.4s ease-in-out .6s infinite; }
.become { max-width: 960px; margin: 56px auto 0; text-align: center; }
.become-title { font-weight: 800; font-size: 20px; }
.become-steps { list-style: none; margin: 16px 0 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; counter-reset: b; }
.become-steps li { position: relative; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--honey-soft); font-size: 15px; }
.become-steps { gap: 36px; }
.become-steps li + li::before { content: '→'; position: absolute; left: -26px; color: var(--honey-deep); font-weight: 800; }

/* Features */
.more { padding: 96px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: var(--honey); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--honey-soft); color: var(--honey-deep); }
.card-icon .ic { width: 24px; height: 24px; }
.card h3 { margin-top: 20px; font-size: 20px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { padding: 96px 0; background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; font-weight: 700; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details p { padding-bottom: 20px; color: var(--muted); }

/* CTA */
.cta { padding: 96px 0; }
.cta-box { text-align: center; padding: 64px 24px; border-radius: 32px; background: var(--honey); }
.cta-box img { margin: 0 auto 24px; border-radius: 18px; box-shadow: 0 10px 30px -10px rgba(80, 45, 0, .5); }
.cta-box h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
.cta-box .store { background: var(--ink); }

/* Footer */
.site-footer { padding: 32px 0 40px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a, .site-footer small { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lede { margin-inline: auto; }
  .stores { justify-content: center; }
  .ways { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .merge { display: none; }
  .v-line-phone { display: block; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-head-left { text-align: center; }
}

/* Phone */
@media (max-width: 640px) {
  .main-nav { display: none; }
  .hero { padding: 28px 0 48px; }
  .scroll-cue { margin-top: 20px; }
  .lede { font-size: 17px; }
  .hero-phones { height: 470px; }
  .hero-phones::before { width: 340px; height: 340px; }
  .phone { width: 200px; border-radius: 30px; padding: 5px; }
  .phone img { border-radius: 25px; }
  .p-right { transform: translateX(8%) translateY(48px) rotate(7deg) scale(.75); }
  .p-left { transform: translateX(-108%) translateY(48px) rotate(-7deg) scale(.75); }
  .p-wait { transform: translateX(22%) translateY(70px) rotate(11deg) scale(.62); }
  .p-gone { transform: translateX(-122%) translateY(70px) rotate(-11deg) scale(.62); }
  .tag { font-size: 14px; }
  .how, .more, .faq, .cta { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .way { padding: 14px; gap: 14px; }
  .way-shot { width: 84px; }
  .step-card { flex-direction: row; gap: 18px; padding: 16px; border-radius: 22px; }
  .step-shot { width: 96px; }
  .step-head h3, .step-body h3 { font-size: 21px; }
  .step-body p { font-size: 15px; }
  .become-steps { flex-direction: column; gap: 10px; }
  .become-steps li + li::before { content: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 20px; border-radius: 24px; }
  .store { flex: 1 1 150px; justify-content: center; gap: 8px; padding: 8px 12px; }
  .store svg { width: 22px; height: 22px; }
  .store small { font-size: 9px; }
  .store b { font-size: 16px; }
  .footer-row { flex-direction: column; text-align: center; }
  .site-footer nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .merge path { stroke-dashoffset: 0; }
  .hero-phones { transform: none; }
  .js .v-line { transform: none; }
}
