/* pairdo.app — the app's own colours and type: cream and warm white, deep navy, dusty rose, the
   shared gold, sage; titles in Newsreader, a handwritten word now and then in Nothing You Could Do,
   everything else in the system font; the wordmark in Playfair Display italic. All fonts are served
   from this site (fonts/, SIL Open Font License). Motion lives in site.js + the .in / .is-* classes
   below, and everything stands still with prefers-reduced-motion. */
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Nothing You Could Do"; src: url("/fonts/nothing-you-could-do.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #F4EEE6;          /* cream */
  --surface: #FCF9F4;     /* warm white */
  --sand: #EDE4D8;
  --ink: #1F2A38;         /* deep navy */
  --ink-2: #4A4F57;
  --muted: #7B7068;
  --line: #E4D9CB;
  --rose: #A9786B;
  --rose-2: #C99487;
  --rose-soft: #F2E6E0;
  --gold: #B08D52;
  --gold-soft: #F3EBDB;
  --sage: #7E8F72;
  --sage-soft: #E8ECE2;
  --on-dark: #F6EFE7;
  --on-dark-2: rgba(246, 239, 231, 0.72);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --hand: "Nothing You Could Do", "Bradley Hand", cursive;
  --display: "Playfair Display", "Didot", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --radius: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --shadow: 0 30px 60px -28px rgba(58, 40, 28, 0.38);
  --shadow-soft: 0 16px 36px -20px rgba(58, 40, 28, 0.3);
  --phone-shadow: drop-shadow(0 34px 40px rgba(40, 28, 20, 0.28));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Nothing may make the page wider than the screen (iPhone Safari only listens on html as well). */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.015em; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-dark); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hand { font-family: var(--hand); font-weight: 400; color: var(--rose); letter-spacing: 0; font-size: 0.92em; }
.accent { color: var(--rose); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; }
.eyebrow svg { font-size: 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); margin-bottom: 26px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(169, 120, 107, 0.5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(169, 120, 107, 0.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(169, 120, 107, 0); } }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.text-link svg { font-size: 18px; transition: transform 0.3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.text-link.down svg { transform: rotate(90deg); }
.text-link.down:hover svg { transform: rotate(90deg) translateX(4px); }

/* ---------- Wordmark & header ---------- */
.wordmark { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 27px; letter-spacing: -0.01em; line-height: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: auto; }

.site-header { position: sticky; top: 0; z-index: 50; transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s; }
.site-header.scrolled { background: rgba(244, 238, 230, 0.82); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 rgba(31, 42, 56, 0.07); }
.site-header .bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--ink-2); transition: background-color 0.2s, color 0.2s; }
.nav a:hover { background: rgba(31, 42, 56, 0.06); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-end { display: flex; align-items: center; gap: 10px; }
.lang-link { display: inline-flex; align-items: center; justify-content: center; height: 36px; min-width: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-2); background: var(--surface); transition: border-color 0.2s, color 0.2s; }
.lang-link:hover { border-color: var(--ink); color: var(--ink); }
/* Apple's badge as it is: no shadow, no movement, nothing laid over it. */
.header-cta { display: inline-flex; flex: none; }
.header-cta img { display: block; height: 40px; width: auto; }

.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: grid; place-content: center; gap: 5px; background: var(--surface); border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu[open] summary span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); display: grid; animation: drop 0.35s var(--ease); }
.menu-panel a { padding: 12px 14px; border-radius: 14px; text-decoration: none; font-size: 17px; }
.menu-panel a:hover { background: var(--bg); }
.menu-panel .menu-store { display: flex; justify-content: center; padding: 12px 14px 6px; margin-top: 4px; }
.menu-panel .menu-store:hover { background: none; }
.menu-store img { display: block; height: 44px; width: auto; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }

@media (max-width: 1140px) {
  .nav, .header-cta { display: none; }
  .header-end { margin-left: auto; }
  .menu { display: block; }
}

/* ---------- Store button ---------- */
.store { display: inline-flex; flex: none; }
.store img { display: block; height: 56px; width: auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section.tight { padding-top: clamp(40px, 6vw, 72px); }
.surface { background: var(--surface); }
.sand { background: var(--sand); }
.section-head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section-head h2, .split h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; }
.section-head p { margin-top: 18px; font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.flip > .copy { order: 2; }
.split .copy h2 { margin-bottom: 22px; }
.split .copy .lead + .lead, .split .copy .lead + p { margin-top: 16px; }
@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > .copy { order: 0; }
}

.ticks { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.ticks li > svg { font-size: 15px; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); stroke-width: 2.4; margin-top: -1px; }
.ticks b { color: var(--ink); font-weight: 600; }

/* Phones: the screenshots already carry the iPhone frame. */
.phone { filter: var(--phone-shadow); }
.phone img { width: 100%; }

/* Floating UI cards cut from the app */
.float { position: absolute; z-index: 3; }
.float > * { animation: bob 7s ease-in-out infinite alternate; }
.float.slow > * { animation-duration: 9s; }
.float.late > * { animation-delay: -3.5s; }
.float img { border-radius: 18px; box-shadow: var(--shadow); }
.float .card { position: relative; }
@keyframes bob { from { transform: translateY(0) rotate(var(--r, 0deg)); } to { transform: translateY(-14px) rotate(var(--r, 0deg)); } }

.chip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(252, 249, 244, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); white-space: nowrap; }
.chip b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.chip small { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.chip .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose); font-size: 20px; }
.chip .ic.gold { background: var(--gold-soft); color: var(--gold); }
.chip .ic.sage { background: var(--sage-soft); color: var(--sage); }
.chip .ic.ink { background: var(--ink); color: var(--on-dark); }
.chip .ic.beat svg { fill: currentColor; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 28% { transform: scale(0.96); } }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 60px) 0 clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -260px; background: radial-gradient(closest-side, rgba(201, 148, 135, 0.28), rgba(201, 148, 135, 0)); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -340px; background: radial-gradient(closest-side, rgba(176, 141, 82, 0.18), rgba(176, 141, 82, 0)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(46px, 6.6vw, 88px); line-height: 1.02; letter-spacing: -0.025em; }
.hero h1 .accent { display: inline-block; }
.hero .lead { margin-top: 26px; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; font-size: 15px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { font-size: 18px; color: var(--rose); }
.hand-note { margin-top: 30px; font-family: var(--hand); color: var(--rose); font-size: 22px; transform: rotate(-2deg); transform-origin: left; }

.hero-stage { position: relative; width: min(610px, 100%); aspect-ratio: 560 / 650; margin: 0 auto; }
.hero-stage .phone { position: absolute; }
.hero-stage .p-front { width: 50%; left: 6%; top: 3%; z-index: 2; }
.hero-stage .p-back { width: 48%; left: 50%; top: 7%; z-index: 1; }
.hero-stage .p-back img { transform: rotate(5deg); }
.hero-stage .f-goal { width: 54%; left: -12%; top: 36%; }
.hero-stage .f-date { width: 50%; right: -8%; top: 77%; }
.hero-stage .f-todo { width: 48%; left: -8%; top: 64%; }
.hero-stage .f-todo img { border-radius: 14px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .facts { justify-content: center; }
  .hand-note { transform-origin: center; }
  .hero-stage { margin-top: 20px; width: min(460px, 100%); }
}
@media (max-width: 520px) {
  .hero-stage .f-goal { left: -2%; }
  .hero-stage .f-date { right: -2%; }
  .hero-stage .f-todo { left: 0; }
}


/* Entrance of the hero */
.js .hero [data-in] { opacity: 0; transform: translateY(26px); }
.js .hero.ready [data-in] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease), translate 0.6s var(--ease); }
.js .hero .hero-stage [data-in] { transform: translateY(60px) scale(0.96); }
.js .hero.ready .hero-stage [data-in] { transform: none; }
.js .hero.ready .float[data-in] { transition: opacity 0.8s var(--ease), transform 1s var(--spring), translate 0.6s var(--ease); }
.js .hero .float[data-in] { transform: scale(0.6); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--ink); color: var(--on-dark); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; font-size: 13px; color: var(--rose-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-areas: "cal cal goal idea" "cal cal weekly idea" "todo wish pair question"; gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--bg); padding: 26px 24px 24px; text-decoration: none; color: var(--ink); min-height: 300px; isolation: isolate; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile h3 { font-size: 24px; line-height: 1.15; }
.tile p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tile .tag { position: absolute; top: 22px; right: 20px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); font-size: 17px; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s var(--ease); z-index: 3; }
.tile:hover .tag { opacity: 1; transform: none; }
.tile .art { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; align-items: center; }
.tile .art img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-soft); transition: transform 0.6s var(--ease); }
.tile:hover .art img { transform: translateY(-4px) scale(1.02); }
.tile .art.fade { position: relative; flex: 1; min-height: 270px; margin-top: 22px; padding-top: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent 98%); mask-image: linear-gradient(#000 62%, transparent 98%); }
.tile .art.fade img { position: absolute; top: 0; left: 50%; width: 82%; max-width: 290px; transform: translateX(-50%); border-radius: 0; box-shadow: none; filter: drop-shadow(0 16px 20px rgba(58, 40, 28, 0.2)); }
.tile:hover .art.fade img { transform: translateX(-50%) translateY(-6px); }
.t-cal { grid-area: cal; background: linear-gradient(160deg, #F5EDDD, #EBDDC4); padding: 34px 34px 28px; }
.t-cal h3 { font-size: clamp(30px, 3vw, 40px); }
.t-cal p { font-size: 17px; max-width: 440px; }
.t-cal .art.fade { min-height: 380px; }
.t-cal .art.fade img { width: 60%; max-width: 300px; left: 38%; }
.t-cal .over { position: absolute; right: 30px; bottom: 54px; width: 46%; max-width: 330px; z-index: 2; border-radius: 16px; box-shadow: var(--shadow); transition: transform 0.6s var(--ease); }
.t-cal:hover .over { transform: translateY(-8px); }
.tile .badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.t-goal { grid-area: goal; background: var(--sand); }
.t-idea { grid-area: idea; background: var(--rose-soft); }
.t-weekly { grid-area: weekly; background: #EAE5EE; }
.t-todo { grid-area: todo; background: var(--sage-soft); }
.t-wish { grid-area: wish; background: #F3E9E4; }
.t-pair { grid-area: pair; background: #F6E7DC; }
.t-question { grid-area: question; background: #E9EDF1; }
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "cal cal" "goal idea" "weekly idea" "todo wish" "pair question"; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "cal" "goal" "idea" "weekly" "todo" "wish" "pair" "question"; gap: 14px; }
  .tile { min-height: 0; }
  .t-cal { padding: 26px 22px 22px; }
  .t-cal .art.fade { min-height: 330px; }
  .t-cal .art.fade img { width: 70%; left: 36%; }
  .t-cal .over { right: 16px; bottom: 40px; width: 58%; }
}

/* ---------- Calendar ---------- */
.cal-stage { position: relative; width: min(560px, 100%); aspect-ratio: 560 / 640; margin: 0 auto; }
.cal-stage .phone { position: absolute; }
.cal-stage .p-week { width: 46%; left: 2%; top: 6%; }
.cal-stage .p-week img { transform: rotate(-6deg); }
.cal-stage .p-cal { width: 52%; left: 40%; top: 0; z-index: 2; }
.cal-stage .f-week { left: -4%; bottom: 2%; width: 66%; z-index: 3; }
.week-card { padding: 18px 18px 16px; border-radius: 22px; background: rgba(252, 249, 244, 0.97); box-shadow: var(--shadow); }
.wk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wk-head b { font-family: var(--serif); font-weight: 500; font-size: 18px; }
.wk-legend { display: flex; gap: 10px; font-size: 11.5px; color: var(--muted); }
.wk-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.wk-legend .m, .ev.m { background: var(--rose); }
.wk-legend .p, .ev.p { background: var(--ink); }
.wk-legend .g, .ev.g { background: var(--gold); }
.wk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; }
.wk-day { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 92px; padding: 6px 4px; border-radius: 12px; background: var(--bg); transition: background-color 0.5s, box-shadow 0.5s; }
.wk-day > span { text-align: center; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.ev { display: block; height: 14px; border-radius: 5px; transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--spring); }
.wk-day em { margin-top: auto; text-align: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--sage); opacity: 0; transition: opacity 0.4s; }
.week-card.play .ev { transform: none; }
.week-card.play .wk-day:nth-child(2) .ev { transition-delay: 0.15s; }
.week-card.play .wk-day:nth-child(3) .ev { transition-delay: 0.3s; }
.week-card.play .wk-day:nth-child(4) .ev { transition-delay: 0.45s; }
.week-card.play .wk-day:nth-child(6) .ev { transition-delay: 0.6s; }
.week-card.play .wk-day:nth-child(7) .ev { transition-delay: 0.75s; }
.week-card.play .wk-day.free { background: var(--sage-soft); box-shadow: 0 0 0 2px var(--sage) inset; transition-delay: 1.3s; }
.week-card.play .wk-day.free em { opacity: 1; transition-delay: 1.4s; }
.wk-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--ink-2); opacity: 0; transform: translateY(8px); transition: opacity 0.5s, transform 0.6s var(--spring); }
.wk-foot > svg { font-size: 18px; color: var(--rose); fill: currentColor; }
.wk-foot b { flex: 1; font-weight: 600; color: var(--ink); }
.wk-btn { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.week-card.play .wk-foot { opacity: 1; transform: none; transition-delay: 1.8s; }

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 34px; }
.feat h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.feat h3 .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; background: var(--gold-soft); color: var(--gold); }
.feat h3 .ic.rose { background: var(--rose-soft); color: var(--rose); }
.feat h3 .ic.sage { background: var(--sage-soft); color: var(--sage); }
.feat h3 .ic.ink { background: #E3E6EB; color: var(--ink); }
.feat p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.feat .tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font: 700 10.5px/1.7 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- Highlights ---------- */
.hl-stage { position: relative; width: min(520px, 100%); aspect-ratio: 520 / 640; margin: 0 auto; }
.hl-stage .phone { position: absolute; left: 22%; top: 0; width: 56%; }
.hl-stage .f-count { left: -5%; top: 12%; }
.hl-stage .f-pack { right: -5%; bottom: 6%; width: 62%; }
.countdown { padding: 16px 18px; border-radius: 22px; background: var(--ink); color: var(--on-dark); box-shadow: 0 30px 50px -24px rgba(31, 42, 56, 0.7); min-width: 250px; }
.cd-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-2); }
.cd-head svg { font-size: 16px; color: #E4C48E; }
.cd-head b { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--on-dark); }
.cd-nums { display: flex; gap: 14px; margin-top: 10px; }
.cd-nums span { display: grid; justify-items: center; min-width: 42px; }
.cd-nums b { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-nums small { margin-top: 4px; font-size: 11.5px; color: var(--on-dark-2); }
.cd-nums .tick { animation: tick 0.5s var(--ease); }
@keyframes tick { from { opacity: 0.2; transform: translateY(-6px); } }

/* ---------- Ideas ---------- */
.id-stage { position: relative; width: min(540px, 100%); aspect-ratio: 540 / 640; margin: 0 auto; }
.id-stage .phone { position: absolute; }
.id-stage .p-list { width: 46%; left: 50%; top: 6%; }
.id-stage .p-list img { transform: rotate(6deg); }
.id-stage .p-idea { width: 52%; left: 8%; top: 0; z-index: 2; }
.id-stage .f-share { left: -4%; top: 16%; }
.id-stage .f-hearts { right: -2%; bottom: 14%; }
.flow { list-style: none; display: grid; gap: 8px; margin-top: 30px; counter-reset: fl; }
.flow li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 14px 16px 14px 12px; border-radius: 18px; transition: background-color 0.4s, box-shadow 0.4s; }
.flow li::before { counter-increment: fl; content: counter(fl); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--rose); border: 1.5px solid var(--rose-2); transition: background-color 0.4s, color 0.4s; }
.flow b { font-size: 17.5px; font-weight: 600; }
.flow small { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.flow li.on { background: var(--surface); box-shadow: var(--shadow-soft); }
.flow li.on::before { background: var(--rose); color: #fff; border-color: var(--rose); }

/* ---------- Goals ---------- */
.sec-goals { background: linear-gradient(180deg, #EDF0E7 0%, #F4EEE6 100%); }
.goal-row + .goal-row { margin-top: clamp(80px, 10vw, 130px); }
.goal-row h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 16px; }
.g-stage .p-detail { position: absolute; width: 50%; left: 46%; top: 5%; }
.g-stage .p-detail img { transform: rotate(6deg); }
.g-stage .p-list { position: absolute; left: 8%; top: 0; width: 54%; z-index: 1; }
.g-plus { position: absolute; left: 2%; top: 37%; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 999px; background: var(--sage); color: #fff; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-soft); opacity: 0; transform: translateY(10px) scale(0.8); transition: opacity 0.4s 1.9s, transform 0.6s var(--spring) 1.9s; }
.g-plus svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); stroke-width: 2.6; }
.g-stage.in .g-plus { opacity: 1; transform: none; }
.g-stage .f-plant { right: -4%; bottom: 4%; }
.wg-stage { position: relative; width: min(500px, 100%); margin: 0 auto; padding: 20px 0 40px; }
.wg-card { position: relative; padding: 22px 22px 14px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.wg-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.wg-head b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.wg-head small { color: var(--muted); font-size: 13.5px; }
.wg-row { display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.wg-head + .wg-row { border-top: 0; }
.wg-row b { display: block; font-weight: 500; font-size: 16.5px; }
.seg { display: flex; gap: 5px; margin-top: 8px; }
.seg i { width: 22px; height: 5px; border-radius: 3px; background: var(--line); transition: background-color 0.5s; }
.seg i.on { background: var(--ink); }
.cnt { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cnt em { font-style: normal; }
.cnt .b, .wg-card.tick .cnt .a { display: none; }
.wg-card.tick .cnt .b { display: inline; }
.wg-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); font-size: 18px; transition: background-color 0.4s, color 0.4s, transform 0.4s var(--spring); }
.wg-btn svg { stroke-width: 2.2; }
.wg-btn.ok { background: var(--sage); color: #fff; }
.wg-card.tick .r1 .seg i.x { background: var(--ink); }
.wg-card.tick .r1 .wg-btn { background: var(--sage); color: #fff; transform: scale(1.1); }
.wg-btn .c { display: none; }
.wg-card.tick .r1 .wg-btn .p { display: none; }
.wg-card.tick .r1 .wg-btn .c { display: block; }
.wg-tap { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(169, 120, 107, 0.35); border: 2px solid rgba(255, 255, 255, 0.9); opacity: 0; pointer-events: none; }
.wg-card.press .wg-tap { animation: press 0.7s var(--ease); }
@keyframes press { 0% { opacity: 0; transform: scale(1.6); } 40% { opacity: 1; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1); } }
.wg-cheer { position: absolute; left: 50%; bottom: -24px; transform: translate(-50%, 10px) scale(0.85); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity 0.4s, transform 0.6s var(--spring); }
.wg-cheer svg { color: #E4C48E; font-size: 17px; }
.wg-card.tick .wg-cheer { opacity: 1; transform: translate(-50%, 0) scale(1); }
.confetti { position: absolute; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none; }
.confetti i { position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; border-radius: 2px; opacity: 0; }
.wg-card.tick .confetti i { animation: pop 1.2s var(--ease) forwards; }
@keyframes pop { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x, 0), var(--y, -80px)) rotate(220deg); } }

/* ---------- Pairshot (dark, warm) ---------- */
.sec-flame { background: radial-gradient(90% 70% at 85% 30%, #4D2E22 0%, #2E1E1B 52%, #1E1615 100%); color: var(--on-dark); overflow: hidden; }
.sec-flame h2 { color: var(--on-dark); }
.sec-flame .eyebrow { color: #F0A46B; }
.sec-flame .hand { color: #F3B07C; }
.sec-flame .lead { color: var(--on-dark-2); }
.sec-flame::before { content: ""; position: absolute; width: 640px; height: 640px; right: 4%; top: 18%; background: radial-gradient(closest-side, rgba(240, 140, 70, 0.22), rgba(240, 140, 70, 0)); pointer-events: none; }

.step-list { list-style: none; display: grid; gap: 10px; margin-top: 34px; }
.step-list button { width: 100%; display: flex; gap: 16px; text-align: left; padding: 16px 18px; border-radius: 20px; border: 1px solid transparent; background: transparent; cursor: pointer; transition: background-color 0.4s, border-color 0.4s; }
.step-list .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; font-size: 15px; border: 1.5px solid rgba(246, 239, 231, 0.35); color: var(--on-dark-2); transition: background-color 0.4s, color 0.4s, border-color 0.4s; }
.step-list b { display: block; font-size: 18px; font-weight: 600; color: var(--on-dark); }
.step-list small { display: block; margin-top: 3px; font-size: 15.5px; line-height: 1.5; color: var(--on-dark-2); }
.step-list li.on button { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.1); }
.step-list li.on .n { background: #F0A46B; border-color: #F0A46B; color: #2A1A16; }
.step-list .bar { display: block; height: 2px; margin-top: 12px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.step-list .bar i { display: block; height: 100%; width: 0; background: #F0A46B; }
.step-list li.on .bar i.run { animation: fill var(--dur, 3s) linear forwards; }
@keyframes fill { to { width: 100%; } }

.ps-stage { position: relative; width: min(540px, 100%); aspect-ratio: 540 / 600; margin: 0 auto; }
.ps-card { position: absolute; left: 0; top: 15%; width: 86%; border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.ps-card > img { border-radius: 26px; }
.ps-veil { position: absolute; left: 51.4%; top: 20.3%; width: 42.5%; height: 66.1%; border-radius: 11% / 8.3%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 0 8%; text-align: center; color: #fff; font-size: clamp(12px, 1.3vw, 15px); font-weight: 600; line-height: 1.3; background: rgba(40, 26, 20, 0.28); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); transition: opacity 0.9s var(--ease), -webkit-backdrop-filter 0.9s, backdrop-filter 0.9s; }
.ps-veil svg { font-size: 30px; stroke-width: 1.8; }
.ps-mine { position: absolute; left: 6%; top: 20.3%; width: 42.6%; height: 66.1%; border-radius: 11% / 8.3%; display: grid; place-content: center; justify-items: center; gap: 8px; background: #EFE8DE; border: 2px dashed #CDBFAF; color: var(--muted); font-size: clamp(12px, 1.2vw, 14px); font-weight: 600; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.ps-mine svg { font-size: 30px; }
.ps-stage.s2 .ps-mine { opacity: 0; transform: scale(1.04); }
.ps-shared { position: absolute; left: 12%; top: 72%; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 9px; border-radius: 999px; background: rgba(252, 249, 244, 0.95); color: var(--ink); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-soft); opacity: 0; transform: scale(0.6); transition: opacity 0.4s, transform 0.5s var(--spring); }
.ps-shared svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--sage); color: #fff; stroke-width: 3; }
.ps-notify { position: absolute; left: 7%; right: 7%; top: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 22px; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(-24px) scale(0.96); transition: opacity 0.5s, transform 0.6s var(--spring); z-index: 4; }
.ps-notify img { width: 40px; height: 40px; border-radius: 10px; }
.ps-notify span { flex: 1; min-width: 0; }
.ps-notify b { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.ps-notify b small { font-weight: 400; opacity: 0.7; font-size: 12.5px; }
.ps-notify em { display: block; font-style: normal; font-size: 14px; opacity: 0.9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-flame { position: absolute; right: -2%; bottom: 0; width: 33%; z-index: 3; }
.ps-flame img { border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8); transform: rotate(6deg) scale(0.92); transition: transform 0.8s var(--spring), box-shadow 0.8s; }
.ps-flame::after { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 150, 70, 0.55), rgba(255, 150, 70, 0)); opacity: 0; transition: opacity 0.8s; }

.ps-stage.s0 .ps-notify { opacity: 1; transform: none; }
.ps-stage.s1 .ps-veil { animation: veil-pulse 1.6s ease-in-out infinite; }
@keyframes veil-pulse { 50% { background: rgba(40, 26, 20, 0.4); } }
.ps-stage.s2 .ps-veil { opacity: 0; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
.ps-stage.s2 .ps-shared { opacity: 1; transform: none; }
.ps-stage.s2 .ps-flame img { transform: rotate(6deg) scale(1.04); }
.ps-stage.s2 .ps-flame::after { opacity: 1; animation: flicker 1.8s ease-in-out infinite alternate; }
@keyframes flicker { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(0.96); opacity: 0.75; } }

/* ---------- Question of the day ---------- */
.q-stage { position: relative; width: min(520px, 100%); aspect-ratio: 520 / 640; margin: 0 auto; }
.q-stage .phone { position: absolute; left: 2%; top: 0; width: 56%; }
.q-answers { position: absolute; right: -3%; bottom: 8%; width: 74%; z-index: 2; }
.q-answers img { clip-path: inset(0 0 49% 0 round 14px); transition: clip-path 1.1s var(--ease); filter: drop-shadow(0 26px 30px rgba(40, 28, 20, 0.28)); }
.q-veil { position: absolute; left: 0.8%; right: 0.8%; top: 2.1%; height: 45%; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink); font-size: 14.5px; font-weight: 600; background: rgba(233, 237, 242, 0.35); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); transition: opacity 0.9s var(--ease), -webkit-backdrop-filter 0.9s, backdrop-filter 0.9s; }
:lang(en) .q-veil { height: 43.3%; }
.q-veil svg { font-size: 18px; }
.q-answers.step1 img { clip-path: inset(0 0 0 0 round 14px); }
.q-answers.step2 .q-veil { opacity: 0; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
.q-answers .q-tap { position: absolute; right: 5%; top: -18px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 9px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity 0.5s, transform 0.5s var(--spring); }
.q-answers .q-tap svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--rose); stroke-width: 3; }
.q-answers.step2 .q-tap { opacity: 1; transform: none; }

/* ---------- Plans showcase ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.tabs { list-style: none; display: grid; gap: 6px; }
.tabs button { width: 100%; text-align: left; background: transparent; border: 0; padding: 16px 20px; border-radius: 20px; cursor: pointer; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; transition: background-color 0.35s; }
.tabs button:hover { background: rgba(31, 42, 56, 0.04); }
.tabs .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: background-color 0.35s, color 0.35s, border-color 0.35s; }
.tabs b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink-2); transition: color 0.3s; }
.tabs .desc { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.tabs .desc > span { overflow: hidden; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.tabs .bar { grid-column: 2; display: block; height: 2px; margin-top: 0; border-radius: 2px; background: var(--line); overflow: hidden; opacity: 0; transition: opacity 0.3s, margin 0.3s; }
.tabs .bar i { display: block; height: 100%; width: 0; background: var(--rose); }
.tabs [aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-soft); }
.tabs [aria-selected="true"] .ic { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.tabs [aria-selected="true"] b { color: var(--ink); }
.tabs [aria-selected="true"] .desc { grid-template-rows: 1fr; }
.tabs [aria-selected="true"] .desc > span { padding-top: 6px; }
.tabs [aria-selected="true"] .bar { opacity: 1; margin-top: 14px; }
.tabs [aria-selected="true"] .bar i.run { animation: fill var(--dur, 6s) linear forwards; }
.sc-stage { position: relative; width: min(480px, 100%); aspect-ratio: 480 / 640; margin: 0 auto; }
.sc-stage::before { content: ""; position: absolute; inset: 10% 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(176, 141, 82, 0.22), rgba(176, 141, 82, 0)); }
.sc-phone { position: absolute; left: 13%; top: 0; width: 60%; opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.sc-card { position: absolute; right: -2%; bottom: 10%; width: 62%; opacity: 0; transform: translateX(30px) rotate(2deg); transition: opacity 0.5s var(--ease), transform 0.8s var(--spring); z-index: 2; }
.sc-card img { border-radius: 16px; box-shadow: var(--shadow); }
.sc-card.narrow { width: 52%; }
.sc-stage [data-panel].on { opacity: 1; transform: none; }
.sc-stage .sc-card.on { transition-delay: 0.18s; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .sc-stage { order: -1; width: min(400px, 100%); }
  /* The waiting cards come from below here: from the side they would stick out past the screen. */
  .sc-card { transform: translateY(16px) rotate(2deg); }
}

/* ---------- Goals ---------- */
.g-stage { position: relative; width: min(520px, 100%); aspect-ratio: 520 / 640; margin: 0 auto; }
.g-japan { position: absolute; left: -6%; top: 46%; width: 66%; z-index: 3; }
.g-japan .card { position: relative; }
.g-japan img { border-radius: 18px; box-shadow: var(--shadow); }
.g-bar { display: none; position: absolute; left: 6.8%; top: 64.9%; width: 67.8%; height: 5.6%; border-radius: 999px 0 0 999px; background: #EEE7DB; transform-origin: right center; transition: transform 1.8s var(--ease) 0.5s; }
.js .g-bar { display: block; }
.in .g-bar, .hero.ready .g-bar { transform: scaleX(0); }
.hero .g-bar { transition-delay: 1.5s; }
.g-weekly { position: absolute; left: -4%; bottom: 3%; width: 62%; z-index: 2; }
.g-weekly img { border-radius: 18px; box-shadow: var(--shadow); }
.g-plant { position: absolute; right: 0; bottom: 18%; z-index: 3; }

/* ---------- Story ---------- */
.st-stage { position: relative; width: min(500px, 100%); aspect-ratio: 500 / 640; margin: 0 auto; }
.st-stage .phone { position: absolute; left: 20%; top: 0; width: 58%; }
.st-stage .f-ago { left: -4%; top: 22%; }
.st-stage .f-year { right: -6%; top: 58%; }
.st-stage .f-map { left: 0; bottom: 6%; }

/* ---------- Home (evening) ---------- */
.sec-evening { background: linear-gradient(180deg, #4A4561 0%, #574C63 45%, #6B5C5F 100%); color: var(--on-dark); overflow: hidden; }
.sec-evening h2 { color: var(--on-dark); }
.sec-evening .eyebrow { color: #F2C98F; }
.sec-evening .hand { color: #F2C98F; }
.sec-evening .lead, .sec-evening p { color: var(--on-dark-2); }
.leaves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.leaf { position: absolute; top: -40px; width: 14px; height: 9px; border-radius: 80% 0 80% 0; background: #D7894F; opacity: 0.75; animation: fall linear infinite; }
.leaf.b { background: #C26B3E; }
.leaf.c { background: #E3B061; width: 10px; height: 7px; }
@keyframes fall {
  0% { transform: translate3d(0, -40px, 0) rotate(0deg); }
  50% { transform: translate3d(var(--sway, 40px), 50vh, 0) rotate(200deg); }
  100% { transform: translate3d(0, 105vh, 0) rotate(400deg); }
}
.home-list { list-style: none; display: grid; gap: 8px; margin-top: 28px; counter-reset: hs; }
.home-list li { display: flex; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 18px; color: var(--on-dark); font-size: 16.5px; transition: background-color 0.4s; }
.home-list li::before { counter-increment: hs; content: counter(hs); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 14px; font-weight: 700; color: #3B3346; background: rgba(242, 201, 143, 0.55); transition: background-color 0.4s, transform 0.4s var(--spring); }
.home-list li.on { background: rgba(255, 255, 255, 0.09); }
.home-list li.on::before { background: #F2C98F; transform: scale(1.12); }
.home-light { margin-top: 26px; display: flex; gap: 12px; align-items: center; font-size: 15.5px; }
.home-light svg { font-size: 22px; color: #F2C98F; }
.h-stage { position: relative; width: min(390px, 100%); margin: 0 auto; }
.hotspot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #3B3346; background: rgba(242, 201, 143, 0.6); z-index: 2; transition: background-color 0.4s, transform 0.4s var(--spring); }
.hotspot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(242, 201, 143, 0.9); opacity: 0; }
.hotspot.on { background: #F2C98F; transform: scale(1.18); }
.hotspot.on::after { animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { opacity: 1; transform: scale(0.7); } to { opacity: 0; transform: scale(1.6); } }
.hs-1 { left: 41%; top: 29.5%; }
.hs-2 { left: 11%; top: 38%; }
.hs-3 { left: 77%; top: 44%; }
.hs-4 { left: 88%; top: 31%; }

/* ---------- Chat ---------- */
.c-stage { position: relative; width: min(500px, 100%); aspect-ratio: 500 / 640; margin: 0 auto; }
.c-stage .phone { position: absolute; left: 21%; top: 0; width: 58%; }
.c-stage .f-think { right: -6%; top: 14%; }
.c-stage .f-input { left: -6%; bottom: 10%; width: 74%; }
.c-stage .f-input img { border-radius: 30px; }
.c-stage .f-typing { left: 2%; top: 40%; }
.typing { display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 20px 20px 20px 6px; background: var(--surface); box-shadow: var(--shadow); }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); animation: dots 1.3s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-5px); opacity: 1; } }
.think { display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; padding: 22px; border-radius: 22px; background: var(--rose-soft); }
.think .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--rose); color: #fff; font-size: 22px; flex-shrink: 0; }
.think .ic svg { fill: currentColor; animation: beat 1.6s ease-in-out infinite; }
.think h3 { font-size: 21px; }
.think p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }

/* ---------- More ---------- */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.more-item { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.more-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.more-item .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 23px; background: var(--rose-soft); color: var(--rose); margin-bottom: 18px; }
.more-item .ic.gold { background: var(--gold-soft); color: var(--gold); }
.more-item .ic.sage { background: var(--sage-soft); color: var(--sage); }
.more-item .ic.ink { background: #E3E6EB; color: var(--ink); }
.more-item h3 { font-size: 21px; }
.more-item p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.more-item .tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font: 700 11px/1.6 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 3px; }
@media (max-width: 900px) { .more { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .more { grid-template-columns: 1fr; } }

/* ---------- Privacy ---------- */
.sec-ink { background: var(--ink); color: var(--on-dark); }
.sec-ink h2, .sec-ink h3 { color: var(--on-dark); }
.sec-ink .section-head p { color: var(--on-dark-2); }
.sec-ink .eyebrow { color: var(--rose-2); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principle { padding: 30px 26px; border-radius: 24px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.principle .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; color: var(--rose-2); background: rgba(201, 148, 135, 0.14); margin-bottom: 20px; }
.principle h3 { font-size: 22px; }
.principle p { margin-top: 10px; font-size: 15.5px; color: var(--on-dark-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(50px, 7vw, 80px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }
.stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; color: var(--on-dark-2); font-size: 15.5px; }
@media (max-width: 1000px) { .principles { grid-template-columns: 1fr 1fr; } .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Premium ---------- */
.plans { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { padding: clamp(28px, 4vw, 42px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan h3 { font-size: 28px; }
.plan .sub { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.plan .price { margin-top: 26px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price b { font-family: var(--serif); font-weight: 500; font-size: 54px; line-height: 1; letter-spacing: -0.02em; }
.plan .price span { color: var(--muted); font-size: 16px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.plan li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.plan li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); stroke-width: 2.6; margin-top: 0; }
.plan.premium { background: linear-gradient(165deg, #263345 0%, #1F2A38 60%, #19222E 100%); border-color: transparent; color: var(--on-dark); position: relative; overflow: hidden; box-shadow: 0 36px 50px -34px rgba(31, 42, 56, 0.65); }
.plan.premium::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; background: radial-gradient(closest-side, rgba(176, 141, 82, 0.4), rgba(176, 141, 82, 0)); pointer-events: none; }
.plan.premium h3 { color: var(--on-dark); }
.plan.premium .sub, .plan.premium .price span, .plan.premium li { color: var(--on-dark-2); }
.plan.premium li svg { background: rgba(176, 141, 82, 0.25); color: #E4C48E; }
.plan.premium li b { color: var(--on-dark); font-weight: 600; }
.plan .crown { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(176, 141, 82, 0.22); color: #E4C48E; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.billing { display: inline-flex; margin-top: 24px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); align-self: flex-start; position: relative; }
.billing button { position: relative; z-index: 1; border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--on-dark-2); cursor: pointer; transition: color 0.3s; }
.billing button[aria-pressed="true"] { color: var(--ink); }
.billing .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--on-dark); transition: transform 0.45s var(--spring), width 0.45s var(--spring); }
.billing .save { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 11.5px; }
.plan .price b.flip { animation: flip 0.5s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(14px); } }
.plan .trial { margin-top: 10px; font-size: 15px; color: #E4C48E; min-height: 1.5em; }
.plan .note { margin-top: auto; padding-top: 26px; font-size: 13.5px; color: var(--muted); }
.plan.premium .note { color: rgba(246, 239, 231, 0.55); }
.lovesaver { max-width: 980px; margin: 22px auto 0; display: flex; gap: 18px; align-items: center; padding: 22px 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.lovesaver img { width: 58px; border-radius: 12px; }
.lovesaver p { font-size: 15.5px; color: var(--ink-2); }
.lovesaver b { color: var(--ink); }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; counter-reset: st; }
.steps3::before { content: ""; position: absolute; left: 16%; right: 16%; top: 31px; height: 2px; background: linear-gradient(90deg, var(--rose) 50%, transparent 50%) 0 0 / 14px 2px repeat-x; transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) 0.3s; }
.steps3.in::before, html:not(.js) .steps3::before { transform: none; }
.step { text-align: center; position: relative; }
.step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--rose); font-family: var(--serif); font-size: 28px; color: var(--rose); position: relative; z-index: 1; }
.step h3 { font-size: 24px; }
.step p { margin: 10px auto 0; max-width: 300px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; gap: 40px; } .steps3::before { display: none; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow 0.3s; }
.faq[open] { box-shadow: var(--shadow-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 26px; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A38' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.35s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .answer-text { padding: 0 26px 24px; color: var(--ink-2); animation: drop 0.4s var(--ease); }
.faq .answer-text p + p { margin-top: 10px; }
.faq-more { text-align: center; margin-top: 34px; }

/* ---------- Closing ---------- */
.closing { padding: 0 0 clamp(70px, 9vw, 110px); }
.closing-card { position: relative; overflow: hidden; border-radius: 40px; background: var(--ink); color: var(--on-dark); text-align: center; padding: clamp(60px, 9vw, 110px) var(--gutter); }
.closing-card h2 { color: var(--on-dark); font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; }
.closing-card .hand { color: var(--rose-2); }
.closing-card p { margin: 20px auto 34px; max-width: 520px; color: var(--on-dark-2); font-size: 18px; }
.closing-card .logo { width: 66px; margin: 0 auto 26px; filter: invert(1) brightness(1.4); opacity: 0.92; }
.hearts { position: absolute; inset: 0; pointer-events: none; }
.hearts i { position: absolute; bottom: -30px; width: 16px; height: 16px; color: var(--rose-2); opacity: 0; animation: rise linear infinite; }
.hearts i::before { content: "♥"; font-style: normal; font-size: 16px; }
@keyframes rise { 0% { transform: translateY(0) scale(0.7); opacity: 0; } 10% { opacity: 0.5; } 80% { opacity: 0.25; } 100% { transform: translateY(-460px) scale(1.15); opacity: 0; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; font-size: 15px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid p { margin-top: 14px; max-width: 300px; }
.foot-grid h4 { margin: 4px 0 14px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.foot-grid nav { display: grid; gap: 9px; }
.foot-grid nav a { text-decoration: none; }
.foot-grid nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink-2); font-size: 19px; transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease); }
.social a:hover { color: var(--ink); border-color: var(--ink-2); transform: translateY(-2px); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-bottom a { color: inherit; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Small screens: floating cards stay inside the page */
@media (max-width: 600px) {
  .st-stage .f-ago { left: 0; }
  .st-stage .f-year { right: 0; }
  .c-stage .f-think { right: 0; }
  .c-stage .f-input { left: 0; width: 80%; }
  .g-japan { left: 0; }
  .cal-stage .f-week { left: 0; width: 86%; }
  .hl-stage .f-count { left: 0; }
  .hl-stage .f-pack { right: 0; }
  .id-stage .f-share { left: 0; }
  .id-stage .f-hearts { right: 0; }
  .g-stage .f-plant { right: 0; }
  .wk-day { min-height: 80px; }
  .countdown { min-width: 0; }
  .cd-nums { gap: 10px; }
  .cd-nums b { font-size: 28px; }
  .q-answers { right: 0; width: 78%; }
  .chip { padding: 9px 14px 9px 9px; gap: 10px; }
  .chip .ic { width: 34px; height: 34px; font-size: 17px; }
  .chip b { font-size: 13.5px; }
  .chip small { font-size: 12px; }
  .ps-flame { right: 0; }
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(0.92); }
.js [data-reveal="pop"] { transform: scale(0.7); transition: opacity 0.6s var(--ease), transform 0.9s var(--spring); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* On a phone everything comes in from below: a block waiting at the side would stick out past the
   screen and let the page wobble sideways. */
@media (max-width: 900px) {
  .js [data-reveal="left"]:not(.in), .js [data-reveal="right"]:not(.in) { transform: translateY(34px); }
}

/* ---------- Sub pages ---------- */
.page-hero { padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.025em; }
.page-hero .lead { margin: 22px auto 0; max-width: 680px; }
.page-hero .store { margin-top: 30px; }
.lang-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.prose { max-width: 720px; margin: 0 auto; font-size: 18.5px; line-height: 1.7; color: var(--ink-2); }
.prose p + p { margin-top: 18px; }
.prose em { font-style: normal; color: var(--ink); font-weight: 600; }
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4.4vw, 54px); line-height: 1.15; color: var(--ink); }
.quote cite { display: block; margin-top: 18px; font-style: normal; color: var(--muted); }
.about-icon { width: 120px; margin: 0 auto 30px; border-radius: 28px; box-shadow: var(--shadow); }
.light-principles .principle { background: var(--surface); border-color: var(--line); }
.light-principles .principle p { color: var(--ink-2); }
.light-principles .principle h3 { color: var(--ink); }
.light-principles .principle .ic { color: var(--rose); background: var(--rose-soft); }

.help-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.help-cats a { display: grid; gap: 4px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.help-cats a:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.help-cats .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose); font-size: 20px; margin-bottom: 10px; }
.help-cats b { font-size: 17px; }
.help-cats small { font-size: 14px; color: var(--muted); }
.faq-group { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 32px; margin-bottom: 8px; }
.contact-card { max-width: 820px; margin: 60px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px 34px; border-radius: 28px; background: var(--ink); color: var(--on-dark); }
.contact-card h2 { font-size: 30px; color: var(--on-dark); }
.contact-card p { color: var(--on-dark-2); margin-top: 4px; }
.contact-card .mail { display: inline-flex; align-items: center; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--on-dark); color: var(--ink); text-decoration: none; font-weight: 600; }

.legal { max-width: 780px; margin: 0 auto; padding: clamp(30px, 6vw, 70px) var(--gutter) 90px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.08; }
.legal h2 { font-size: 26px; margin: 42px 0 12px; }
.legal h3 { font-size: 20px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.legal .meta { margin-top: 10px; color: var(--muted); }
.legal .lang { float: right; margin-top: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 600; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 60px 0; }

.invite .code-card { margin: 30px auto 0; max-width: 360px; padding: 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.invite .code-card[hidden] { display: none; }
.code-label { font-size: 14px; color: var(--muted); }
.code { margin-top: 6px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 34px; font-weight: 600; letter-spacing: 0.08em; }
.copy-code { margin-top: 14px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-weight: 600; cursor: pointer; }
.invite-hint { max-width: 680px; margin: 34px auto 0; text-align: center; color: var(--ink-2); font-size: 16px; }
.invite-hint + .invite-hint { margin-top: 14px; color: var(--muted); font-size: 15px; }

.page-hero .about-icon { margin-bottom: 26px; }
.not-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 820px; margin: 0 auto; }
.not-list li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.not-list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--rose-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9786B' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.cta-row.center { justify-content: center; }
.notfound { min-height: 56vh; display: grid; align-content: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track span:nth-child(n + 18) { display: none; }
  .leaves, .hearts { display: none; }
}
