/* EarnTime marketing site. Colours come from the logo (design/brand/README.md). */
@font-face {
  font-family: "Baloo 2";
  src: url("/assets/fonts/baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --cream: #fdf5e3;      /* the logo's own background, so the logo sits seamlessly */
  --sand: #fbebcf;
  --sand-deep: #f6dfb6;
  --line: #eed8af;
  --plum: #24123f;
  --plum-soft: #4b3a63;
  --wordmark: #522765;
  --purple: #6c4bf4;
  --purple-deep: #5434d6;
  --gold: #f7b32b;
  --gold-deep: #9a5d00;
  --blush: #f2876b;
  --glass: #e3ece8;
  --white: #fffdf8;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(36, 18, 63, 0.04), 0 18px 40px -22px rgba(36, 18, 63, 0.35);

  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1140px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-deep); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); color: var(--plum); line-height: 1.08; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.28rem); color: var(--plum-soft); max-width: 36em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section-head { max-width: 40rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--plum-soft); font-size: 1.125rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 1.05rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px -12px rgba(108, 75, 244, 0.9); }
.btn--primary:hover { background: var(--purple-deep); color: #fff; }
.btn--ghost { color: var(--plum); border-color: var(--plum); background: transparent; }
.btn--ghost:hover { background: var(--plum); color: var(--cream); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 245, 227, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: auto; height: 40px; }
.brand span { font: 800 1.6rem/1 var(--display); color: var(--wordmark); letter-spacing: -0.01em; padding-top: 4px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-links a { display: block; padding: 10px 14px; color: var(--plum); text-decoration: none; font-weight: 700; border-radius: 999px; }
.nav-links a:hover { background: var(--sand); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 0.98rem; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); cursor: pointer; color: var(--plum); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--cream); }
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.mobile-menu a { display: block; padding: 14px 4px; font: 700 1.15rem/1.2 var(--body); color: var(--plum); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 420px) { .nav-end .btn { display: none; } }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu, .mobile-menu.is-open { display: none; }
}

/* Status pill: the app is not released, so the page says so up front */
.status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 0.92rem; color: var(--plum-soft); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(247, 179, 43, 0.25); }

/* Hero */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.tagline { font: 700 clamp(1.15rem, 2vw, 1.4rem)/1.2 var(--display); color: var(--gold-deep); margin: 22px 0 12px; }
.hero h1 { max-width: 11ch; }
.hero .lede { margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-loop { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 34px 0 0; font-weight: 700; color: var(--plum-soft); }
.hero-loop li { display: flex; align-items: center; gap: 8px; }
.hero-loop b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--plum); color: var(--cream); font-size: 0.85rem; }
.hero-visual { position: relative; display: flex; justify-content: center; }
@media (max-width: 639px) {
  .hero-grid { gap: 36px; }
  .hero-loop { display: none; }
  .tagline { margin-top: 18px; }
  .hero .lede { margin-bottom: 24px; }
  .hero-ctas .btn { flex: 1 1 auto; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}

/* Phone mockup (built in HTML so it stays sharp and light) */
.phone {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 620;
  background: var(--plum); border-radius: 48px; padding: 11px;
  box-shadow: 0 40px 70px -30px rgba(36, 18, 63, 0.55), inset 0 0 0 2px #3b2660;
}
.phone--lg { width: 330px; aspect-ratio: auto; }
.phone--lg .phone-screen { height: auto; }
.phone--lg .app { padding-bottom: 26px; }
.goal { margin-top: 4px; background: var(--sand); border-radius: 16px; padding: 12px 14px; display: grid; gap: 8px; font-weight: 600; }
.goal-bar { height: 10px; border-radius: 999px; background: var(--sand-deep); overflow: hidden; }
.goal-bar span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.phone-screen { position: relative; height: 100%; background: var(--cream); border-radius: 38px; overflow: hidden; display: flex; flex-direction: column; }
.phone-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: var(--plum); z-index: 2; }
.phone-status { display: flex; justify-content: space-between; padding: 13px 26px 0; font: 800 0.8rem/1 var(--body); color: var(--plum); height: 40px; }
.phone-status i { font-style: normal; letter-spacing: 1px; }
.app { flex: 1; padding: 10px 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 0.86rem; line-height: 1.35; }
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-top strong { font: 800 1.2rem/1.1 var(--display); }
.app-top small { display: block; color: var(--plum-soft); font-weight: 700; font-size: 0.78rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font: 800 1rem/1 var(--display); color: var(--plum); }
.avatar--b { background: var(--blush); }
.avatar--c { background: #b9a6ff; }

.balance { position: relative; background: var(--purple); color: #fff; border-radius: 22px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; overflow: visible; }
.balance img { width: 34px; height: auto; background: var(--cream); border-radius: 12px; padding: 4px 6px; }
.balance small { display: block; font-weight: 700; opacity: 0.9; font-size: 0.78rem; }
.balance-num { font: 800 2.1rem/1 var(--display); font-variant-numeric: tabular-nums; }
.balance-num span { font-size: 1rem; font-weight: 700; margin-left: 4px; }
.balance-btn { margin-left: auto; background: var(--gold); color: var(--plum); font-weight: 800; border-radius: 999px; padding: 8px 12px; font-size: 0.78rem; white-space: nowrap; }
.float-plus { position: absolute; right: 18px; top: -6px; background: var(--gold); color: var(--plum); font: 800 0.85rem/1 var(--body); padding: 6px 10px; border-radius: 999px; opacity: 0; pointer-events: none; }

.app-label { font: 800 0.95rem/1 var(--display); margin-top: 4px; display: flex; justify-content: space-between; align-items: baseline; }
.app-label small { font: 700 0.75rem/1 var(--body); color: var(--plum-soft); }
.chore { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.chore-emoji { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--sand); display: grid; place-items: center; font-size: 1.15rem; }
.chore-body { flex: 1; min-width: 0; }
.chore-body b { display: block; font-weight: 800; color: var(--plum); }
.chore-body small { color: var(--plum-soft); font-weight: 600; font-size: 0.76rem; }
.mins { flex: none; font: 800 0.78rem/1 var(--body); padding: 7px 9px; border-radius: 999px; background: var(--sand); color: var(--gold-deep); white-space: nowrap; }
.chore[data-state="approved"] { background: #fff4d6; border-color: #f3cf79; }
.chore[data-state="approved"] .mins { background: var(--gold); color: var(--plum); }
.chore[data-state="waiting"] .chore-body small { color: var(--purple-deep); }
.chore-action { flex: none; background: var(--purple); color: #fff; font-weight: 800; font-size: 0.74rem; padding: 7px 10px; border-radius: 999px; }

/* Hero choreography: one sequence on load. The page is complete without it. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-phone.play .float-plus { animation: plus 1.4s 1.15s ease-out both; }
  .js .hero-phone.play .chore--first { animation: pop 0.5s 0.9s ease-out both; }
}
@keyframes plus { 0% { opacity: 0; transform: translateY(26px); } 25% { opacity: 1; transform: translateY(0); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.035); } 100% { transform: scale(1); } }


/* Features: grouped by what they are for, not one card per item */
.feature-groups { display: grid; gap: 28px; }
.feature-group { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.feature-group > h3 { font-size: 1.6rem; margin-bottom: 4px; }
.feature-group > p { color: var(--plum-soft); margin-bottom: 22px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.feature-list li:first-child { border-top: 0; }
.feature-list h4 { margin: 0 0 2px; font: 800 1.05rem/1.3 var(--body); }
.feature-list p { margin: 0; color: var(--plum-soft); }
.ficon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--purple-deep); }
.ficon svg { width: 22px; height: 22px; }
.feature-group--spend { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.feature-group--spend h3, .feature-group--spend h4 { color: var(--cream); }
.feature-group--spend p { color: #d9cfe8; }
.feature-group--spend .feature-list li { border-top-color: rgba(253, 245, 227, 0.16); }
.feature-group--spend .ficon { background: rgba(247, 179, 43, 0.18); color: var(--gold); }
.feature-note { margin-top: 22px; font-size: 0.95rem; color: var(--plum-soft); }
@media (min-width: 900px) { .feature-groups { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 800; font-size: 0.82rem; }
.fake-input { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; font-weight: 700; }
.stepper { display: flex; gap: 6px; flex-wrap: wrap; }
.stepper span { padding: 7px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 800; font-size: 0.78rem; }
.stepper .on { background: var(--purple); color: #fff; border-color: var(--purple); }
.toggle-row { display: flex; justify-content: space-between; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; font-weight: 700; }
.toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--purple); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.toggle.off { background: #d8c9a8; }
.toggle.off::after { right: auto; left: 3px; }
.app-btn { margin-top: auto; background: var(--purple); color: #fff; font-weight: 800; text-align: center; border-radius: 999px; padding: 11px; }
.app-btn--ghost { background: transparent; color: var(--plum); border: 2px solid var(--plum); }
.btn-row { display: flex; gap: 8px; }
.btn-row > * { flex: 1; margin-top: 0; }
.photo { border-radius: 16px; aspect-ratio: 4 / 3.3; background: linear-gradient(160deg, #cfe1f0 0 40%, #e9d5b5 40% 100%); position: relative; overflow: hidden; }
.photo::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 18%; height: 34%; border-radius: 10px; background: #8f7ad9; box-shadow: inset 0 10px 0 #b6a6ee; }
.photo::after { content: ""; position: absolute; left: 18%; bottom: 40%; width: 22%; height: 12%; border-radius: 8px; background: #fffdf8; }
.photo-tag { position: absolute; left: 10px; top: 10px; z-index: 1; background: rgba(36, 18, 63, 0.75); color: #fff; font-weight: 800; font-size: 0.72rem; padding: 5px 8px; border-radius: 999px; }
.kid-row { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.kid-row b { display: block; }
.kid-row small { color: var(--plum-soft); font-weight: 600; }
.kid-row .mins { margin-left: auto; }
.alert-row { background: #efeaff; border: 1px solid #d5c9ff; border-radius: 16px; padding: 10px 12px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.alert-row b { color: var(--purple-deep); }
.ring { position: relative; width: 168px; height: 168px; margin: 6px auto 2px; border-radius: 50%; background: conic-gradient(var(--gold) 0 72%, var(--sand-deep) 72% 100%); display: grid; place-items: center; }
.ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--cream); }
.ring div { position: relative; text-align: center; }
.ring strong { display: block; font: 800 2.4rem/1 var(--display); font-variant-numeric: tabular-nums; }
.ring small { font-weight: 700; color: var(--plum-soft); }
.center { text-align: center; color: var(--plum-soft); font-weight: 700; }

/* Benefits and audience */
.two-col { display: grid; gap: 48px; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.1rem; font-weight: 700; }
.benefits li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324123f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.audience { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.audience h3 { font-size: 1.6rem; }
.audience ul { margin: 0 0 18px; padding-left: 1.2em; }
.audience li { margin-bottom: 10px; }
.audience li::marker { color: var(--purple); }
.audience p:last-child { margin: 0; color: var(--plum-soft); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Quote-style statement */
.statement { text-align: center; padding: clamp(56px, 8vw, 96px) 0; }
.statement p { font: 800 clamp(1.7rem, 4.4vw, 3rem)/1.15 var(--display); max-width: 22ch; margin: 0 auto; letter-spacing: -0.01em; }
.statement p span { display: block; color: var(--purple-deep); }

/* Signup */
.signup { background: var(--plum); color: var(--cream); border-radius: clamp(24px, 4vw, 40px); padding: clamp(28px, 6vw, 64px); display: grid; gap: 36px; position: relative; overflow: hidden; }
.signup h2 { color: var(--cream); }
.signup > div > p { color: #ddd3ec; font-size: 1.12rem; max-width: 30em; }
.signup-mark { width: 74px; margin-bottom: 18px; background: var(--cream); border-radius: 22px; padding: 10px 14px; }
.signup-form { background: var(--cream); color: var(--plum); border-radius: 24px; padding: clamp(20px, 4vw, 32px); display: grid; gap: 16px; align-content: start; }
.signup-form .row { display: grid; gap: 16px; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { font-weight: 800; }
.input-group label span { font-weight: 600; color: var(--plum-soft); }
.input-group input, .input-group select { font: 600 1.05rem/1.3 var(--body); color: var(--plum); background: var(--white); border: 2px solid var(--line); border-radius: 14px; padding: 13px 14px; min-height: 52px; width: 100%; }
.input-group input:focus, .input-group select:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(108, 75, 244, 0.18); }
.input-group input[aria-invalid="true"] { border-color: #c23b22; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 0.95rem; color: var(--plum-soft); align-items: start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--purple); }
.form-msg { border-radius: 14px; padding: 12px 14px; font-weight: 700; display: none; }
.form-msg.is-error { display: block; background: #fde6df; color: #8a2412; }
.form-success { display: none; text-align: left; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--plum-soft); margin: 0; }
.signup-form.is-done .form-fields { display: none; }
.signup-form.is-done .form-success { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 0.88rem; color: var(--plum-soft); margin: 0; }
@media (min-width: 900px) { .signup { grid-template-columns: 1fr 1fr; align-items: center; } .signup-form .row { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 700 1.2rem/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324123f' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--plum-soft); max-width: 44em; }
.faq details > div p:last-child { margin: 0; }

/* About */
.about { display: grid; gap: 40px; align-items: center; }
.about-logo { max-width: 360px; margin: 0 auto; }
.about blockquote { margin: 0; font-size: 1.18rem; }
.about blockquote p:last-child { font: 800 1.5rem/1.2 var(--display); color: var(--purple-deep); }
@media (min-width: 900px) { .about { grid-template-columns: 0.8fr 1.2fr; } }

/* Footer */
.site-footer { background: var(--sand); padding: 64px 0 36px; margin-top: 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 36px; }
.footer-brand img { width: 150px; mix-blend-mode: multiply; margin-left: -12px; }
.footer-brand p { font: 700 1.2rem/1.2 var(--display); color: var(--wordmark); margin: 4px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { font: 800 1rem/1.2 var(--body); margin-bottom: 10px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 6px; }
.footer-cols a { color: var(--plum); text-decoration: none; font-weight: 600; display: inline-block; padding: 4px 0; }
.footer-cols a:hover { color: var(--purple-deep); text-decoration: underline; }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.92rem; color: var(--plum-soft); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1.4fr; } .footer-cols { grid-template-columns: repeat(3, 1fr); } }

/* Plain content pages (privacy, terms, contact) */
.page-hero { padding: clamp(40px, 7vw, 80px) 0 24px; }
.page-hero p { color: var(--plum-soft); }
.prose { max-width: 760px; padding-bottom: 80px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.draft { background: #fff4d6; border: 1px solid #f3cf79; border-radius: 16px; padding: 14px 16px; font-weight: 700; margin-bottom: 28px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); margin-bottom: 20px; }
.contact-card h2 { font-size: 1.4rem; margin-top: 0; }
.contact-card a.big { font: 800 clamp(1.3rem, 4vw, 1.8rem)/1.2 var(--display); word-break: break-word; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Below-the-fold sections skip layout and paint until they scroll near the viewport. */
main > .section, main > .statement { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Pricing */
.pricing-hero h1 { margin-top: 18px; max-width: 16ch; }
.pricing-section { padding-top: 24px; }
.plans { display: grid; gap: 20px; max-width: 860px; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px 28px; display: flex; flex-direction: column; }
.plan h2 { font-size: 1.5rem; margin-bottom: 8px; }
.plan p { color: var(--plum-soft); }
.plan .btn { margin-top: auto; }
.price { margin: 0 0 6px; color: var(--plum) !important; }
.price strong { font: 800 3.2rem/1 var(--display); letter-spacing: -0.02em; }
.price span { font-weight: 700; color: var(--plum-soft); }
.plan-trial { display: inline-block; align-self: flex-start; font-weight: 800; background: var(--sand); color: var(--gold-deep) !important; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.plan--best { border: 2px solid var(--purple); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -14px; right: 24px; margin: 0; background: var(--gold); color: var(--plum) !important; font-weight: 800; padding: 5px 12px; border-radius: 999px; font-size: 0.9rem; }
.included { margin-top: 56px; max-width: 860px; }
.included h2 { font-size: 1.8rem; }
.included .benefits { grid-template-columns: 1fr; }
.appstore { margin: 40px 0 0; }
.appstore-soon { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 12px; border: 2px dashed var(--line); font-weight: 800; color: var(--plum-soft); }
.pricing-fine { margin-top: 24px; max-width: 760px; }
@media (min-width: 720px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .included .benefits { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* How it works: one phone plays the five steps. Steps are buttons, so anyone can jump or pause. */
@property --p { syntax: "<number>"; inherits: false; initial-value: 72; }
.demo { display: grid; gap: 32px; align-items: start; }
.demo-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.demo-phone { width: 290px; }
.demo-phone .phone-screen { position: relative; }
.screen { position: absolute; inset: 40px 0 0; display: flex; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s; }
.screen.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; }
.screen.is-leaving { transform: translateX(-18px); }
.screen .app { width: 100%; }
.demo-note { margin: 0; font-size: 0.9rem; color: var(--plum-soft); text-align: center; max-width: 300px; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.demo-steps button { position: relative; width: 100%; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; text-align: left; font: inherit; color: var(--plum); background: transparent; border: 1px solid transparent; border-radius: var(--radius-md); padding: 14px 16px; cursor: pointer; overflow: hidden; transition: background-color 0.25s ease, border-color 0.25s ease; }
.demo-steps button:hover { background: rgba(255, 253, 248, 0.6); }
.demo-steps button[aria-current] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.demo-steps .n { width: 42px; height: 42px; border-radius: 50%; background: var(--sand-deep); color: var(--plum); display: grid; place-items: center; font: 800 1.15rem/1 var(--display); transition: background-color 0.25s ease, color 0.25s ease; }
.demo-steps button[aria-current] .n { background: var(--plum); color: var(--cream); }
.demo-steps li:last-child button[aria-current] .n { background: var(--gold); color: var(--plum); }
.demo-steps .who { display: block; font-weight: 800; font-size: 0.8rem; color: var(--plum-soft); }
.demo-steps b { display: block; font: 700 1.2rem/1.25 var(--display); }
.demo-steps .txt { display: block; color: var(--plum-soft); margin-top: 4px; }
.js .demo-steps button:not([aria-current]) .txt { display: none; }
.demo-steps .bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--purple); }
.demo.is-playing .demo-steps button[aria-current] .bar { animation: bar var(--dur, 3600ms) linear both; }
@keyframes bar { to { width: 100%; } }
.demo-toggle { margin: 14px 0 0 16px; font: 800 0.95rem/1 var(--body); color: var(--plum); background: transparent; border: 2px solid var(--plum); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.demo-toggle:hover { background: var(--plum); color: var(--cream); }
@media (min-width: 900px) {
  .demo { grid-template-columns: minmax(320px, 0.9fr) 1.1fr; gap: 56px; align-items: center; }
  .demo-phone { width: 320px; }
}

/* Small moments inside each screen, played when the screen comes in */
@media (prefers-reduced-motion: no-preference) {
  .screen.is-active .typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: type 0.9s steps(15) 0.3s both; }
  .screen.is-active .pick-a { animation: pick 0.2s 1.3s both; }
  .screen.is-active .pick-b { animation: pick 0.2s 1.9s both; }
  .screen.is-active .tap { animation: tap 0.35s 2.7s both; }
  .screen.is-active .chore--new { animation: rise 0.5s 0.4s ease-out both; }
  .screen.is-active .photo--snap { animation: snap 0.7s 0.3s ease-out both; }
  .screen.is-active .alert-row--in { animation: drop 0.5s 0.4s ease-out both; }
  .screen.is-active .toggle--flip { animation: toggle-bg 0.25s 1.1s both; }
  .screen.is-active .toggle--flip::after { animation: toggle-knob 0.25s 1.1s both; }
  .screen.is-active .float-plus { animation: plus 1.6s 0.3s ease-out both; }
  .screen.is-active .ring { animation: ring 3.4s linear both; }
}
.screen[data-screen="create"] .pick-a, .screen[data-screen="create"] .pick-b { background: var(--purple); color: #fff; border-color: var(--purple); }
.ring { background: conic-gradient(var(--gold) 0 calc(var(--p) * 1%), var(--sand-deep) calc(var(--p) * 1%) 100%); }
@keyframes type { from { max-width: 0; } to { max-width: 12em; } }
@keyframes pick { from { background: var(--white); color: var(--plum); border-color: var(--line); } }
@keyframes tap { 50% { transform: scale(0.94); filter: brightness(0.9); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } }
@keyframes snap { 0% { filter: brightness(2.6); transform: scale(0.97); } 100% { filter: none; transform: none; } }
@keyframes toggle-bg { from { background: #d8c9a8; } }
@keyframes toggle-knob { from { transform: translateX(-16px); } }
@keyframes ring { from { --p: 100; } to { --p: 98; } }
