/* Twoa website. The same palette, type and shapes as the app's Hearth theme. */
:root {
  --paper: #EDE7DF;
  --paper-light: #F6F1EA;
  --card: #FFFDFB;
  --card-alt: #FFF7F3;
  --ink: #1A1512;
  --ink-muted: rgba(26, 21, 18, 0.64);
  --ink-soft: rgba(26, 21, 18, 0.45);
  --line: rgba(26, 21, 18, 0.09);
  --clay: #C4552F;
  --clay-dark: #A8451F;
  --clay-tint: #F1DCD1;
  --clay-tint-2: #F6E4DA;
  --clay-glow: #E9A57F;
  --sage: #4F6047;
  --sage-pale: #E3E7DD;
  --night: #17120F;
  --night-card: #241D18;
  --shadow: 0 40px 80px -40px rgba(60, 35, 20, 0.45);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;
  --radius: 28px;
  --max: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17120F;
    --paper-light: #1E1814;
    --card: #241D18;
    --card-alt: #2B221C;
    --ink: #F6EEE6;
    --ink-muted: rgba(246, 238, 230, 0.7);
    --ink-soft: rgba(246, 238, 230, 0.5);
    --line: rgba(246, 238, 230, 0.1);
    --clay: #E2774F;
    --clay-dark: #F0A06B;
    --clay-tint: #3A2620;
    --clay-tint-2: #33231D;
    --clay-glow: #6E3420;
    --sage: #93AA88;
    --sage-pale: #26302A;
    --night: #0F0B09;
    --night-card: #1C1612;
    --shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--clay-tint); }

.wrap { margin: 0 auto; max-width: var(--max); padding: 0 24px; }
.skip { left: -999px; position: absolute; }
.skip:focus { background: var(--card); left: 16px; padding: 8px 14px; top: 16px; z-index: 30; }

/* ---------------------------------------------------------------- header */
.site-header { backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); background: color-mix(in srgb, var(--paper) 80%, transparent); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { align-items: center; display: flex; gap: 20px; height: 70px; justify-content: space-between; }
.wordmark { color: var(--ink); font-family: var(--script); font-size: 40px; line-height: 1; padding-top: 6px; text-decoration: none; }
.nav { align-items: center; display: flex; gap: 28px; }
.nav a { color: var(--ink-muted); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 160ms ease; }
.nav a:hover { color: var(--ink); }
.nav .button { color: #FFFDFB; }
@media (max-width: 820px) { .nav a:not(.button) { display: none; } }

.button { align-items: center; background: var(--clay); border: 0; border-radius: 999px; box-shadow: 0 14px 30px -16px var(--clay); color: #FFFDFB; cursor: pointer; display: inline-flex; font-family: var(--sans); font-size: 16px; font-weight: 700; gap: 8px; justify-content: center; min-height: 54px; padding: 0 28px; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { background: var(--clay-dark); box-shadow: 0 18px 36px -16px var(--clay); transform: translateY(-2px); }
.button.small { box-shadow: none; font-size: 14px; min-height: 40px; padding: 0 18px; }
.button.ghost { background: transparent; border: 1.5px solid var(--line); box-shadow: none; color: var(--ink); }
.button.ghost:hover { background: var(--card); }

.eyebrow { color: var(--clay-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; margin: 0 0 14px; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 88px); line-height: 0.98; }
h2 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; }
h3 { font-size: 28px; line-height: 1.12; }
em.accent, .accent { color: var(--clay); font-style: italic; }
.lead { color: var(--ink-muted); font-size: clamp(17px, 2vw, 20px); margin: 22px 0 0; max-width: 32em; }
.note { color: var(--ink-soft); font-size: 14px; margin-top: 16px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 40px 0 70px; position: relative; }
.hero-clip { inset: 0; overflow: hidden; pointer-events: none; position: absolute; z-index: -1; }
.glow { border-radius: 50%; filter: blur(6px); position: absolute; }
.glow.a { background: color-mix(in srgb, var(--clay-glow) 42%, transparent); height: 560px; right: -180px; top: -220px; width: 560px; }
.glow.b { background: color-mix(in srgb, var(--sage) 14%, transparent); bottom: -260px; height: 600px; left: -260px; width: 600px; }
.hero .wrap { align-items: center; display: grid; gap: 40px; grid-template-columns: 1.02fr 0.98fr; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero-script { color: var(--clay-dark); font-family: var(--script); font-size: clamp(66px, 9vw, 112px); line-height: 1; margin: 0 0 4px; }
.cta-row { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.store-badge { align-items: center; background: var(--ink); border-radius: 15px; color: var(--paper); display: inline-flex; gap: 10px; min-height: 54px; padding: 8px 20px 8px 15px; text-decoration: none; }
.store-badge small { display: block; font-size: 11px; letter-spacing: 0.02em; opacity: 0.75; }
.store-badge strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.1; }
.hero-stage { height: 660px; position: relative; }
.hero-stage .phone { position: absolute; }
.hero-stage .phone.front { left: 50%; top: 0; transform: translateX(-30%); z-index: 2; }
.hero-stage .phone.back { left: 50%; top: 56px; transform: translateX(-104%) rotate(-7deg) scale(0.88); z-index: 1; }
@media (max-width: 600px) {
  .hero-stage { display: flex; height: auto; justify-content: center; }
  .hero-stage .phone.front { left: auto; position: relative; top: auto; transform: none; }
  .hero-stage .phone.back { display: none; }
}
.float-card { animation: bob 7s ease-in-out infinite; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.45; max-width: 210px; padding: 12px 14px; position: absolute; z-index: 3; }
.float-card b { color: var(--clay-dark); display: block; font-size: 10px; letter-spacing: 0.12em; margin-bottom: 2px; }
.float-card.two { animation-delay: -3.5s; bottom: -8px; left: -12px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 600px) { .float-card { display: none; } }

/* ---------------------------------------------------------------- question marquee */
.marquee { background: var(--night); color: #F6EEE6; overflow: hidden; padding: 26px 0; }
.marquee-track { animation: scroll 80s linear infinite; display: flex; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { align-items: center; display: inline-flex; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); font-style: italic; gap: 40px; padding-right: 40px; white-space: nowrap; }
.marquee span::after { color: #E2774F; content: "✦"; font-size: 15px; font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
section { padding: 110px 0; position: relative; }
.section-head { margin: 0 auto 56px; max-width: 760px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.band { background: var(--card); }

.ritual { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
@media (max-width: 940px) { .ritual { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ritual { grid-template-columns: 1fr; } }
.ritual li { background: var(--card); border-radius: var(--radius); padding: 28px; position: relative; }
.ritual li::before { color: var(--clay); content: "0" counter(step); counter-increment: step; font-family: var(--serif); font-size: 22px; }
.ritual h3 { margin: 18px 0 8px; }
.ritual p { color: var(--ink-muted); font-size: 15.5px; margin: 0; }

/* ---------------------------------------------------------------- showcase rows */
.show { align-items: center; display: grid; gap: 64px; grid-template-columns: 1fr 1fr; padding: 70px 0; }
.show + .show { border-top: 1px solid var(--line); }
.show.flip .show-text { order: 2; }
@media (max-width: 900px) { .show, .show.flip { gap: 44px; grid-template-columns: 1fr; } .show.flip .show-text { order: 0; } }
.show-text h2 { font-size: clamp(36px, 4.6vw, 56px); }
.show-points { display: grid; gap: 12px; list-style: none; margin: 28px 0 0; padding: 0; }
.show-points li { align-items: flex-start; color: var(--ink-muted); display: flex; font-size: 16px; gap: 12px; }
.show-points li::before { background: var(--clay-tint); border-radius: 50%; color: var(--clay-dark); content: "✓"; flex: none; font-size: 12px; font-weight: 700; height: 22px; line-height: 22px; margin-top: 2px; text-align: center; width: 22px; }
.show-stage { display: flex; justify-content: center; position: relative; }
.show-stage::before { background: radial-gradient(circle, color-mix(in srgb, var(--clay-glow) 40%, transparent), transparent 66%); content: ""; inset: -8% -4%; position: absolute; z-index: -1; }
.show-stage.sage::before { background: radial-gradient(circle, color-mix(in srgb, var(--sage) 24%, transparent), transparent 66%); }

/* ---------------------------------------------------------------- the phone kit */
.phone {
  --p-bg: #F6F1EA; --p-card: #FFFDFB; --p-ink: #1A1512; --p-muted: rgba(26,21,18,.58); --p-soft: rgba(26,21,18,.4); --p-line: rgba(26,21,18,.08);
  --p-accent: #C4552F; --p-accent-dark: #A8451F; --p-tint: #F1DCD1; --p-tint-2: #F6E4DA; --p-sec: #4F6047; --p-sec-pale: #E3E7DD;
  aspect-ratio: 9 / 19.5; background: var(--p-bg); border: 11px solid #120E0B; border-radius: 54px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.05);
  color: var(--p-ink); flex: none; font-family: var(--sans); line-height: 1.5; overflow: hidden; padding: 50px 15px 15px; position: relative; text-align: left; width: 316px;
}
/* Small screens scale the whole phone, like an image, so its layout never squeezes or overflows. */
@media (max-width: 380px) { .hero-stage .phone, .show-stage .phone { zoom: 0.92; } }
@media (max-width: 350px) { .hero-stage .phone, .show-stage .phone { zoom: 0.84; } }
.phone::before { background: #120E0B; border-radius: 20px; content: ""; height: 28px; left: 50%; position: absolute; top: 9px; transform: translateX(-50%); width: 94px; z-index: 4; }
.phone.dark-screen { --p-bg: #17120F; --p-card: #221B17; --p-ink: #F3EAE1; --p-muted: rgba(243,234,225,.62); --p-soft: rgba(243,234,225,.42); --p-line: rgba(243,234,225,.1); --p-accent: #E2774F; --p-accent-dark: #F0A06B; --p-tint: #4A2B1F; --p-tint-2: #3A251C; --p-sec: #93AA88; --p-sec-pale: #26302A; }
.status { color: var(--p-ink); display: flex; font-size: 11px; font-weight: 700; justify-content: space-between; left: 30px; position: absolute; right: 26px; top: 14px; z-index: 5; }
.status i { background: var(--p-ink); border-radius: 2px; display: inline-block; height: 9px; margin-left: 4px; opacity: .85; width: 18px; }
.p-top { align-items: flex-start; display: flex; justify-content: space-between; }
.p-date { color: var(--p-soft); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; }
.p-hello { font-family: var(--serif); font-size: 26px; line-height: 1.08; margin-top: 2px; }
.p-title { font-family: var(--serif); font-size: 28px; line-height: 1.05; }
.p-over { color: var(--p-accent-dark); font-size: 8.5px; font-weight: 700; letter-spacing: .13em; }
.p-chip { align-items: center; background: var(--p-tint); border-radius: 999px; color: var(--p-accent-dark); display: inline-flex; font-size: 10.5px; font-weight: 700; gap: 4px; padding: 5px 10px 5px 8px; white-space: nowrap; }
.p-card { background: var(--p-card); border-radius: 22px; margin-top: 12px; padding: 15px; }
.p-q { font-family: var(--serif); font-size: 20px; line-height: 1.14; margin: 6px 0 10px; }
.p-row { display: flex; gap: 9px; }
.p-row b { display: block; font-size: 10.5px; }
.p-row span { color: var(--p-muted); display: block; font-size: 10.5px; line-height: 1.4; }
.p-sep { border-top: 1px solid var(--p-line); margin-top: 10px; padding-top: 10px; }
.av { align-items: center; border-radius: 50%; display: flex; flex: none; font-family: var(--serif); font-size: 14px; height: 28px; justify-content: center; width: 28px; }
.av.you { background: var(--p-tint); color: var(--p-accent-dark); }
.av.them { background: var(--p-sec-pale); color: var(--p-sec); }
.p-wait { align-items: center; background: var(--p-bg); border-radius: 14px; display: flex; gap: 9px; margin-top: 10px; padding: 9px; }
.p-wait .lines { flex: 1; }
.p-wait b { color: var(--p-soft); font-size: 10px; }
.p-wait i { animation: shimmer 2.4s ease-in-out infinite; background: var(--p-line); border-radius: 4px; display: block; height: 5px; margin-top: 5px; }
.p-wait i:last-child { width: 60%; }
@keyframes shimmer { 50% { opacity: .4; } }
.p-actions { display: flex; gap: 7px; margin-top: 11px; }
.p-actions span { border-radius: 999px; flex: 1; font-size: 10.5px; font-weight: 700; padding: 9px 0; text-align: center; }
.p-actions .dark { background: var(--p-ink); color: var(--p-bg); }
.p-actions .acc { background: var(--p-accent); color: #FFFDFB; }
.p-actions .light { border: 1px solid var(--p-line); }
.p-grid { display: grid; gap: 9px; grid-template-columns: 1fr 1fr; margin-top: 10px; }
.p-grid > div { background: var(--p-card); border-radius: 18px; padding: 11px; }
.p-grid small { color: var(--p-soft); display: block; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.p-grid strong { display: block; font-family: var(--serif); font-size: 14.5px; font-weight: 400; line-height: 1.15; margin-top: 4px; }
.p-bars { display: flex; gap: 3px; margin-top: 8px; }
.p-bars i { background: var(--p-line); border-radius: 2px; flex: 1; height: 4px; }
.p-bars i.on { background: var(--p-sec); }
.p-tabs { backdrop-filter: blur(10px); background: color-mix(in srgb, var(--p-card) 88%, transparent); border-radius: 999px; bottom: 13px; box-shadow: 0 10px 24px -14px rgba(40, 25, 15, .45); display: flex; justify-content: space-around; left: 11px; padding: 6px 4px; position: absolute; right: 11px; }
.p-tabs span { border-radius: 999px; color: var(--p-soft); font-size: 9px; font-weight: 700; padding: 6px 7px; }
.p-tabs span.on { background: var(--p-tint); color: var(--p-accent-dark); }
.flame { animation: flicker 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flicker { 0%, 100% { transform: scale(1, 1); } 40% { transform: scale(.94, 1.08); } 70% { transform: scale(1.04, .96); } }

.p-toast { align-items: center; background: var(--p-ink); border-radius: 18px; bottom: 15px; color: var(--p-bg); display: flex; font-size: 10px; gap: 10px; left: 15px; line-height: 1.35; padding: 10px 12px; position: absolute; right: 15px; }
.p-toast b { display: block; font-size: 11.5px; }
/* The mockups follow the visitor's light or dark setting, like the app follows the phone's. */
@media (prefers-color-scheme: dark) {
  .phone:not([style]) { --p-bg: #17120F; --p-card: #221B17; --p-ink: #F3EAE1; --p-muted: rgba(243,234,225,.62); --p-soft: rgba(243,234,225,.42); --p-line: rgba(243,234,225,.1); --p-accent: #E2774F; --p-accent-dark: #F0A06B; --p-tint: #4A2B1F; --p-tint-2: #3A251C; --p-sec: #93AA88; --p-sec-pale: #26302A; border-color: #2A2420; }
  .phone:not([style])::before { background: #2A2420; }
}

.p-mini { padding: 11px 13px; }
.p-stats { background: var(--p-card); border-radius: 18px; display: flex; margin-top: 10px; padding: 11px 6px; text-align: center; }
.p-stats div { flex: 1; }
.p-stats div + div { border-left: 1px solid var(--p-line); }
.p-stats b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.1; }
.p-stats span { color: var(--p-soft); font-size: 8.5px; font-weight: 600; }
.p-weeks { align-items: flex-end; display: flex; gap: 7px; height: 40px; margin-top: 8px; }
.p-weeks i { background: var(--p-sec-pale); border-radius: 6px 6px 3px 3px; flex: 1; height: var(--h); }
.p-weeks i.now { background: var(--p-accent); }
.p-bottom { bottom: 15px; left: 15px; position: absolute; right: 15px; }
.ch-day { align-self: center; color: var(--p-soft); font-size: 8.5px; font-weight: 700; letter-spacing: .12em; margin: 2px 0; }
.st-next { margin-top: 14px; text-align: left; width: 100%; }
.st-next div { display: flex; justify-content: space-between; }
.st-next b { font-size: 11px; }
.st-next span { color: var(--p-soft); font-size: 9.5px; }
.st-next i { background: var(--p-line); border-radius: 4px; display: block; height: 6px; margin-top: 6px; overflow: hidden; }
.st-next em { background: var(--p-accent); border-radius: 4px; display: block; height: 100%; }
.mem.duo { display: grid; gap: 9px; grid-template-columns: 1fr 1fr; overflow: visible; }
.mem-ph { border-radius: 16px; color: #FFFDFB; height: 78px; padding: 9px; position: relative; }
.mem-ph small { bottom: 8px; font-size: 8px; font-weight: 700; left: 10px; letter-spacing: .1em; position: absolute; }
.mem-ph.a { background: linear-gradient(150deg, #93AA88, #4F6047); }
.mem-ph.b { background: linear-gradient(150deg, #E9A57F, #A8451F); }

/* reveal screen */
.rv-head { text-align: center; }
.rv-head .p-title { margin-top: 4px; }
.rv-q { color: var(--p-muted); font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.3; margin-top: 6px; }
.rv-card { background: var(--p-card); border-radius: 20px; margin-top: 10px; padding: 13px; }
.in .rv-card, .no-js .rv-card { animation: rise 900ms cubic-bezier(.2,.7,.2,1) both; }
.in .rv-card.them-card { animation-delay: 260ms; }
.rv-card p { font-family: var(--serif); font-size: 15.5px; line-height: 1.28; margin: 7px 0 0; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.rv-noticed { align-items: flex-start; background: var(--p-sec-pale); border-radius: 16px; display: flex; font-size: 10.5px; gap: 8px; line-height: 1.45; margin-top: 10px; padding: 10px 11px; }
.rv-noticed b { color: var(--p-sec); display: block; font-size: 8.5px; letter-spacing: .12em; }

/* chat screen */
.ch-head { align-items: center; border-bottom: 1px solid var(--p-line); display: flex; gap: 9px; margin: 0 -15px; padding: 0 15px 10px; }
.ch-head b { display: block; font-size: 13px; }
.ch-head span { color: var(--p-sec); display: block; font-size: 9.5px; font-weight: 600; }
.ch-pin { background: var(--p-tint-2); border-radius: 14px; font-size: 10px; line-height: 1.4; margin-top: 10px; padding: 9px 10px; }
.ch-pin b { color: var(--p-accent-dark); display: block; font-size: 8px; letter-spacing: .12em; }
.ch-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.bub { border-radius: 18px; font-size: 11.5px; line-height: 1.4; max-width: 78%; padding: 8px 11px; }
.bub.in-msg { align-self: flex-start; background: var(--p-card); border-bottom-left-radius: 6px; }
.bub.out { align-self: flex-end; background: var(--p-accent); border-bottom-right-radius: 6px; color: #FFFDFB; }
.bub.photo { align-self: flex-end; background: linear-gradient(135deg, #E9A57F, #C4552F 55%, #4F6047); border-radius: 18px; height: 56px; padding: 0; width: 60%; }
.bub small { display: block; font-size: 8.5px; margin-top: 2px; opacity: .7; text-align: right; }
.wave { align-items: center; display: flex; gap: 2px; height: 18px; }
.wave::before { content: "▶"; font-size: 9px; margin-right: 6px; }
.wave i { background: currentColor; border-radius: 2px; display: block; opacity: .8; width: 2.5px; }
.typing { align-self: flex-start; background: var(--p-card); border-radius: 16px; display: flex; gap: 4px; padding: 10px 12px; }
.typing i { animation: dot 1.2s ease-in-out infinite; background: var(--p-soft); border-radius: 50%; height: 5px; width: 5px; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 40% { transform: translateY(-4px); } }
.composer { align-items: center; background: var(--p-card); border-radius: 999px; bottom: 15px; display: flex; font-size: 11px; gap: 8px; left: 15px; padding: 7px 7px 7px 14px; position: absolute; right: 15px; }
.composer span { color: var(--p-soft); flex: 1; }
.composer i { align-items: center; background: var(--p-ink); border-radius: 50%; color: var(--p-bg); display: flex; font-size: 12px; font-style: normal; height: 26px; justify-content: center; width: 26px; }

/* coach screen */
.co-intro { background: var(--p-card); border-radius: 20px; margin-top: 10px; padding: 13px; }
.co-intro p { color: var(--p-muted); font-size: 10.5px; line-height: 1.45; margin: 5px 0 0; }
.co-lock { align-items: center; color: var(--p-sec); display: flex; font-size: 9.5px; font-weight: 600; gap: 5px; margin-top: 8px; }
.co-step { align-items: flex-start; background: var(--p-sec-pale); border-radius: 12px; display: flex; font-size: 10px; gap: 6px; line-height: 1.4; margin-top: 8px; padding: 8px 9px; }

/* grow screen */
.ring-wrap { align-items: center; display: flex; gap: 14px; }
.ring { flex: none; height: 96px; position: relative; width: 96px; }
.ring svg { transform: rotate(-90deg); }
.in .ring .arc, .no-js .ring .arc { animation: draw 1.8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes draw { from { stroke-dashoffset: 251; } }
.ring strong { font-family: var(--serif); font-size: 32px; font-weight: 400; inset: 0; line-height: 96px; position: absolute; text-align: center; }
.dims { display: grid; flex: 1; gap: 7px; }
.dims div { font-size: 9.5px; }
.dims div span { display: flex; justify-content: space-between; }
.dims i { background: var(--p-line); border-radius: 3px; display: block; height: 4px; margin-top: 3px; overflow: hidden; }
.dims i::after { background: var(--p-sec); border-radius: 3px; content: ""; display: block; height: 100%; width: var(--w); }
.path { display: flex; margin-top: 12px; }
.path div { align-items: center; display: flex; flex: 1; flex-direction: column; font-size: 9px; gap: 4px; position: relative; }
.path div + div::before { background: var(--p-line); content: ""; height: 2px; left: -50%; position: absolute; right: 50%; top: 13px; }
.path div.cur::before { background: var(--p-sec); }
.path span { align-items: center; background: var(--p-card); border: 1.5px solid var(--p-line); border-radius: 50%; display: flex; font-size: 11px; height: 28px; justify-content: center; position: relative; width: 28px; z-index: 1; }
.path .done span { background: var(--p-sec); border-color: var(--p-sec); color: #fff; }
.path .cur span { background: var(--p-accent); border-color: var(--p-accent); color: #fff; }
.spot { align-items: center; display: flex; gap: 9px; padding: 8px 0; }
.spot + .spot { border-top: 1px solid var(--p-line); }
.spot i { align-items: center; background: var(--p-tint-2); border-radius: 10px; display: flex; flex: none; font-size: 14px; font-style: normal; height: 30px; justify-content: center; width: 30px; }
.spot b { display: block; font-size: 11px; }
.spot span { color: var(--p-muted); display: block; font-size: 9.5px; }
.spot em { color: var(--p-accent-dark); font-size: 9.5px; font-style: normal; font-weight: 700; margin-left: auto; white-space: nowrap; }
.plan { background: var(--p-ink); border-radius: 18px; color: var(--p-bg); margin-top: 10px; padding: 12px; }
.plan b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 400; }
.plan span { display: block; font-size: 9.5px; margin-top: 3px; opacity: .75; }

/* trips */
.p-label { color: var(--p-soft); font-size: 8.5px; font-weight: 700; letter-spacing: .12em; margin: 12px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chips span { border: 1px solid var(--p-line); border-radius: 999px; font-size: 10px; font-weight: 600; padding: 5px 10px; }
.chips span.on { background: var(--p-ink); border-color: var(--p-ink); color: var(--p-bg); }
.dest { background: var(--p-card); border-radius: 20px; margin-top: 12px; overflow: hidden; }
.dest-img { height: 92px; padding: 9px; position: relative; }
.dest-img.lisbon { background: radial-gradient(circle at 78% 30%, #FFD39A 0 12%, transparent 13%), linear-gradient(180deg, #F0A06B 0%, #E9874F 45%, #C4552F 46%, #A8451F 70%, #6E3420 100%); }
.dest-img span { background: rgba(255,253,251,.92); border-radius: 999px; color: #A8451F; font-size: 8px; font-weight: 700; letter-spacing: .1em; padding: 4px 8px; }
.dest-body { padding: 10px 12px 12px; }
.dest-body b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.1; }
.dest-body small { color: var(--p-soft); font-size: 9.5px; font-weight: 600; }
.dest-body p { color: var(--p-muted); font-size: 10.5px; line-height: 1.4; margin: 4px 0 0; }
.countdown { align-items: baseline; display: flex; gap: 6px; margin-top: 6px; }
.countdown b { color: var(--p-accent); font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1; }
.countdown span { color: var(--p-muted); font-size: 11px; }
.stop { align-items: center; display: flex; gap: 9px; padding: 6px 0; }
.stop + .stop { border-top: 1px solid var(--p-line); }
.stop i { align-items: center; background: var(--p-tint); border-radius: 50%; color: var(--p-accent-dark); display: flex; flex: none; font-size: 10px; font-style: normal; font-weight: 700; height: 22px; justify-content: center; width: 22px; }
.stop b { display: block; font-size: 11px; }
.stop span { color: var(--p-muted); display: block; font-size: 9.5px; }
.pack { display: flex; flex-wrap: wrap; gap: 5px; }
.pack span { background: var(--p-bg); border-radius: 999px; font-size: 9.5px; font-weight: 600; padding: 5px 9px; }
.pack span.done { color: var(--p-soft); text-decoration: line-through; }
.pack span.done::before { content: "✓ "; }
.pack span.mine { background: var(--p-sec-pale); color: var(--p-sec); }
/* Two phones in one showcase row: the second overlaps the first. */
.show-stage.duo { min-height: 640px; }
.show-stage.duo .phone { position: absolute; }
.show-stage.duo .phone.back { left: 50%; top: 40px; transform: translateX(-100%) rotate(-6deg) scale(.9); }
.show-stage.duo .phone.front { left: 50%; top: 0; transform: translateX(-22%); z-index: 1; }
@media (max-width: 600px) {
  .show-stage.duo { align-items: center; flex-direction: column; gap: 28px; min-height: 0; }
  .show-stage.duo .phone.back, .show-stage.duo .phone.front { left: auto; position: relative; top: auto; transform: none; }
}

/* memories screen */
.mem { border-radius: 18px; margin-top: 9px; overflow: hidden; position: relative; }
.mem.photo { background: linear-gradient(160deg, #F0A06B, #C4552F 50%, #3C2A20); color: #FFFDFB; height: 128px; padding: 12px; }
.mem.photo::after { background: linear-gradient(transparent 40%, rgba(18,13,10,.7)); content: ""; inset: 0; position: absolute; }
.mem.photo div { bottom: 11px; font-family: var(--serif); font-size: 16px; left: 12px; line-height: 1.2; position: absolute; right: 12px; z-index: 1; }
.mem.photo small { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: .1em; opacity: .85; }
.mem.quote { background: var(--p-card); padding: 13px; }
.mem.quote p { font-family: var(--serif); font-size: 16px; line-height: 1.25; margin: 4px 0 0; }
.mem.split { display: grid; gap: 9px; grid-template-columns: 1fr 1fr; overflow: visible; }
.mem.split > div { border-radius: 16px; font-size: 9.5px; padding: 11px; }
.ticket { background: var(--p-sec-pale); color: var(--p-sec); }
.ticket b, .sealed b { display: block; font-family: var(--serif); font-size: 14px; font-weight: 400; line-height: 1.2; margin-top: 2px; }
.ticket b { color: var(--p-ink); }
.sealed { background: var(--p-ink); color: var(--p-bg); }

/* streak card */
.st { align-items: center; display: flex; flex-direction: column; text-align: center; }
.st .big-flame { margin-top: 4px; }
.st .count { font-family: var(--serif); font-size: 56px; line-height: 1; margin-top: 2px; }
.week { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.week span { align-items: center; display: flex; flex-direction: column; font-size: 8.5px; gap: 3px; }
.week i { align-items: center; background: var(--p-tint); border-radius: 50%; display: flex; font-style: normal; height: 26px; justify-content: center; width: 26px; }
.week .tonight i { background: transparent; border: 1.5px dashed var(--p-accent); }
.miles { display: flex; gap: 5px; justify-content: center; margin-top: 12px; }
.miles span { border: 1px solid var(--p-line); border-radius: 999px; font-size: 9.5px; font-weight: 700; padding: 3px 9px; }
.miles span.on { background: var(--p-accent); border-color: var(--p-accent); color: #fff; }
.st-stats { display: flex; margin-top: 12px; width: 100%; }
.st-stats div { flex: 1; }
.st-stats b { display: block; font-size: 15px; }
.st-stats span { color: var(--p-soft); font-size: 9px; }

/* ---------------------------------------------------------------- themes gallery */
.themes { display: flex; gap: 28px; justify-content: center; overflow-x: auto; padding: 10px 24px 40px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.themes::-webkit-scrollbar { display: none; }
.theme-item { flex: none; scroll-snap-align: center; text-align: center; }
.theme-item .phone { width: 250px; }
.theme-item .phone .p-hello { font-size: 21px; }
.theme-item .phone .p-q { font-size: 17px; }
.theme-item h3 { font-size: 26px; margin-top: 18px; }
.theme-item p { color: var(--ink-muted); font-size: 14px; margin: 2px 0 0; }
@media (max-width: 1160px) { .themes { justify-content: flex-start; } }

/* ---------------------------------------------------------------- privacy (night section) */
.night { background: var(--night); color: #F6EEE6; }
.night .eyebrow { color: #F0A06B; }
.night .lead { color: rgba(246, 238, 230, .72); }
.night .accent { color: #E2774F; }
.privacy { align-items: center; display: grid; gap: 64px; grid-template-columns: 1fr 1.1fr; }
@media (max-width: 900px) { .privacy { grid-template-columns: 1fr; } }
.checks { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.checks li { align-items: flex-start; background: var(--night-card); border: 1px solid rgba(246,238,230,.08); border-radius: 20px; display: flex; gap: 14px; padding: 18px 20px; }
.checks svg { color: #93AA88; flex: none; margin-top: 3px; }
.checks b { display: block; }
.checks span { color: rgba(246, 238, 230, .66); font-size: 15px; }
.night a { color: #F0A06B; }

/* ---------------------------------------------------------------- faq */
.faq { margin: 0 auto; max-width: 780px; }
.faq details { background: var(--card); border-radius: 20px; margin-bottom: 10px; }
.band .faq details { background: var(--paper-light); }
.faq summary { align-items: center; cursor: pointer; display: flex; font-weight: 600; gap: 16px; justify-content: space-between; list-style: none; padding: 21px 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: var(--clay); content: "+"; flex: none; font-size: 26px; font-weight: 400; line-height: 1; transition: transform 220ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); margin: 0; padding: 0 24px 22px; }

/* ---------------------------------------------------------------- final cta */
.final-card { background: radial-gradient(120% 140% at 85% 0%, color-mix(in srgb, var(--clay-glow) 55%, transparent), transparent 55%), var(--card); border-radius: 40px; overflow: hidden; padding: clamp(48px, 7vw, 96px) 24px; position: relative; text-align: center; }
.final-card .script { color: var(--clay-dark); font-family: var(--script); font-size: clamp(60px, 8vw, 96px); line-height: 1; }
.final-card .lead { margin-left: auto; margin-right: auto; }
.final-card .cta-row { justify-content: center; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14.5px; padding: 64px 0 48px; }
.foot { display: grid; gap: 36px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot .brand { grid-column: 1 / -1; } }
.foot h4 { color: var(--ink); font-size: 12px; letter-spacing: .14em; margin: 0 0 14px; text-transform: uppercase; }
.foot ul { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand p { margin: 8px 0 0; max-width: 22em; }
.foot .wordmark { font-size: 40px; }
.foot-bottom { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 44px; padding-top: 22px; }

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- document pages */
.doc { padding: 56px 0 100px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(44px, 6vw, 64px); }
.doc .meta { color: var(--ink-soft); font-size: 14px; margin: 14px 0 36px; }
.doc h2 { font-size: 32px; margin: 48px 0 12px; scroll-margin-top: 90px; }
.doc h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink-muted); }
.doc strong { color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .table-wrap { overflow-x: auto; }
.doc table { border-collapse: collapse; font-size: 15px; margin: 16px 0; min-width: 520px; width: 100%; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { color: var(--ink); font-weight: 600; }
.toc { background: var(--card); border-radius: 20px; margin: 0 0 32px; padding: 18px 22px; }
.toc b { color: var(--ink); display: block; font-size: 12px; letter-spacing: .14em; margin-bottom: 8px; text-transform: uppercase; }
.toc ol { columns: 2; margin: 0; padding-left: 20px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.toc a { color: var(--ink-muted); text-decoration: none; }
.toc a:hover { color: var(--clay); }
.callout { background: var(--card); border-left: 4px solid var(--clay); border-radius: 16px; margin: 24px 0; padding: 18px 20px; }
.callout p { margin: 0; }
.callout.sage { border-left-color: var(--sage); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { background: var(--card); border-radius: 18px; margin: 10px 0; padding: 16px 18px 16px 60px; position: relative; }
.steps li::before { align-items: center; background: var(--clay); border-radius: 50%; color: #FFFDFB; content: counter(s); counter-increment: s; display: flex; font-size: 14px; font-weight: 700; height: 28px; justify-content: center; left: 17px; position: absolute; top: 15px; width: 28px; }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 20px 0; }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.cards > div { background: var(--card); border-radius: 20px; padding: 18px 20px; }
.cards > div b { color: var(--ink); display: block; margin-bottom: 4px; }
.cards > div p { font-size: 15px; margin: 0; }
.todo { background: #FFF1B8; border-radius: 4px; color: #5A4300; padding: 0 4px; }
