/* Puffulet — puffulet.com. Plain CSS, no build step, no third-party
   requests (fonts are self-hosted), so the site sets no cookies and sends
   visitors' data nowhere. Colours match the app (AppTheme). */

@font-face { font-family: "Fredoka"; src: url("/assets/fonts/Fredoka-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/assets/fonts/Fredoka-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --cream: #fbf4ea;
  --cream-2: #f6ead9;
  --card: #ffffff;
  --apricot: #efc79c;
  --apricot-deep: #d9a566;
  --apricot-ink: #b57a35;
  --blush: #f3a98c;
  --peach: #ffd9bf;
  --ink: #3b2a1f;
  --ink-soft: #7a6555;
  --ink-muted: #b8a898;
  --strength: #e8735a;
  --calm: #6f86e0;
  --hydration: #2fb3cc;
  --mint: #cfeadf;
  --line: rgba(59, 42, 31, 0.09);
  --shadow-sm: 0 4px 14px rgba(59, 42, 31, 0.07);
  --shadow: 0 18px 50px rgba(59, 42, 31, 0.10);
  --shadow-lg: 0 40px 90px rgba(120, 72, 30, 0.18);
  --radius: 28px;
  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--apricot-deep); text-underline-offset: 3px; }
a:hover { color: var(--apricot-ink); }
:focus-visible { outline: 2px solid var(--apricot-deep); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 0.45em; letter-spacing: -0.015em; }
h1, h2, h3 { text-wrap: balance; }
.lede, .manifesto p, .step p, .checkin p { text-wrap: pretty; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--apricot-ink); margin-bottom: 14px; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.center .kicker::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--ink-soft); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 244, 234, 0.82); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.4rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.98rem; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.site-header .btn { padding: 10px 18px; font-size: 0.95rem; }
@media (max-width: 820px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 14px 24px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; background: var(--ink); color: #fff; font-family: var(--body); font-size: 1rem; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.soft { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn.soft:hover { color: var(--ink); }

/* App Store button — swap for Apple's official badge artwork before launch
   (https://developer.apple.com/app-store/marketing/guidelines/). */
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: #0b0b0c; color: #fff; text-decoration: none; border-radius: 16px; padding: 11px 22px 11px 18px; min-height: 60px; transition: transform .2s, box-shadow .2s; }
.store-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.store-btn svg { width: 28px; height: 28px; flex: none; }
.store-btn small { display: block; font-size: 0.74rem; line-height: 1.1; opacity: 0.85; letter-spacing: .01em; }
.store-btn strong { display: block; font-size: 1.35rem; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }

.qr-card { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 18px; padding: 8px 16px 8px 8px; box-shadow: var(--shadow-sm); color: var(--ink-soft); font-size: 0.86rem; line-height: 1.35; text-align: left; }
.qr-card img { width: 78px; height: 78px; border-radius: 10px; }
.qr-card strong { color: var(--ink); display: block; }
@media (max-width: 820px), (hover: none) { .qr-card { display: none; } }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust span::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); color: #2c7d5f; font-size: 0.7rem; font-weight: 800; }

/* ---------- ambient background ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; pointer-events: none; z-index: 0; }
.glow.peach { background: #ffcfae; }
.glow.blush { background: #ffc2c0; }
.glow.mint { background: #c9eedd; }
.glow.sky { background: #cfdcff; }

/* ---------- phone mockup ---------- */
.phone { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1206 / 2622; border-radius: 54px; padding: 11px; background: linear-gradient(145deg, #2a2522, #0f0d0c); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 44px; background: #f4e3d3; }
.phone::after { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 13%; border-radius: 0 3px 3px 0; background: #1a1715; }

/* floating UI chips (real app UI, rebuilt in HTML) */
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 20px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); font-size: 0.86rem; line-height: 1.25; white-space: nowrap; text-align: left; animation: float 6s ease-in-out infinite; }
.chip .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font-size: 1.1rem; flex: none; }
.chip b { display: block; font-size: 0.92rem; }
.chip small { color: var(--ink-soft); font-size: 0.78rem; }
.chip .check { margin-left: 4px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #34c759; color: #fff; font-size: 0.75rem; font-weight: 800; }
.chip.d2 { animation-delay: -2s; } .chip.d3 { animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ic.water { background: rgba(47,179,204,.15); } .ic.calm { background: rgba(111,134,224,.15); } .ic.strength { background: rgba(232,115,90,.15); } .ic.apricot { background: rgba(217,165,102,.2); } .ic.mint { background: var(--mint); }

.score-ring { --p: 86; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--apricot-deep) calc(var(--p) * 1%), #f1e5d6 0); flex: none; }
.score-ring span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; font-family: var(--display); font-size: 0.95rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 0.86rem; font-weight: 600; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; font-size: 0.7rem; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: normal; color: var(--apricot-ink); position: relative; white-space: nowrap; z-index: 0; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: 0.04em; height: 0.18em; border-radius: 99px; background: var(--peach); z-index: -1; }
.hero .lede { max-width: 31em; margin-bottom: 30px; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 600px; }
.hero-visual .phone { max-width: 300px; transform: rotate(3deg); }
.hero-visual .chip.a { left: -6%; top: 9%; }
.hero-visual .chip.b { right: -4%; top: 44%; }
.hero-visual .chip.c { left: 2%; bottom: 13%; }
@media (max-width: 960px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row, .trust { justify-content: center; }
  .hero-visual { min-height: 0; padding: 10px 0 20px; }
  .hero-visual .phone { max-width: 260px; }
  .hero-visual .chip { font-size: 0.78rem; }
  .hero-visual .chip.a { left: 0; top: 8%; }
  .hero-visual .chip.b { right: 0; top: 46%; }
  .hero-visual .chip.c { left: 2%; bottom: 6%; }
}
@media (max-width: 420px) { .hero-visual .chip.b { display: none; } }

/* ---------- sections ---------- */
section { position: relative; padding: 110px 0; }
section > .wrap { position: relative; z-index: 1; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head .lede { margin: 0; }
.band { background: var(--cream-2); }
@media (max-width: 640px) { section { padding: 76px 0; } .section-head { margin-bottom: 40px; } }

/* manifesto */
.manifesto { text-align: center; padding: 120px 0; }
.manifesto h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 14em; margin: 0 auto 0.5em; }
.manifesto h2 span { color: var(--apricot-ink); }
.manifesto p { max-width: 36em; margin: 0 auto; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-soft); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative; }
.step .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; font-family: var(--display); font-size: 1.3rem; margin-bottom: 18px; background: var(--peach); }
.step:nth-child(2) .num { background: #dfe6ff; } .step:nth-child(3) .num { background: var(--mint); }
.step p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* check-in cards with pet clips */
.checkins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.checkin { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.checkin:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.checkin video { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f6e6d6; }
.checkin .body { padding: 20px 22px 24px; }
.checkin .tag { display: inline-block; font-size: 0.78rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.checkin p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.tag.water { background: rgba(47,179,204,.14); color: #1b7f92; } .tag.strength { background: rgba(232,115,90,.14); color: #b4482f; }
.tag.calm { background: rgba(111,134,224,.15); color: #4a5fb5; } .tag.apricot { background: rgba(217,165,102,.2); color: var(--apricot-ink); }
@media (max-width: 1000px) { .checkins { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .checkins { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

/* feature split (text + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.flip .split-visual { order: -1; }
.split h2 { margin-bottom: 0.4em; }
.split-visual { position: relative; display: flex; justify-content: center; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.points .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; font-size: 1.15rem; }
.points b { display: block; font-size: 1.04rem; }
.points span { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } .split.flip .split-visual { order: 0; } .split-text { text-align: center; } .points { text-align: left; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* alarm section */
.alarm { background: linear-gradient(170deg, #ffe7d1 0%, #ffd2b4 45%, #f6b48f 100%); overflow: hidden; }
.alarm .kicker { color: #9b4f22; }
.alarm .lede { color: #6e4630; }
.alarm .points span { color: #6e4630; }
.alarm-stage { position: relative; width: 100%; max-width: 440px; }
.alarm-clip { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 40px; box-shadow: var(--shadow-lg); background: #f6dccb; }
.lock-card { position: absolute; left: -34px; bottom: -28px; width: 72%; background: rgba(255,255,255,0.74); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 26px; padding: 14px 16px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; text-align: left; }
.lock-card .row { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.lock-card img { width: 30px; height: 30px; border-radius: 8px; }
.lock-card .time { font-family: var(--display); font-size: 2.1rem; line-height: 1; margin: 10px 0 4px; }
.lock-card .acts { display: flex; gap: 8px; margin-top: 12px; }
.lock-card .acts span { flex: 1; text-align: center; border-radius: 999px; padding: 8px 0; font-weight: 700; font-size: 0.85rem; background: rgba(59,42,31,0.08); }
.lock-card .acts span.go { background: var(--apricot-deep); color: #fff; }
.lock-card small { color: var(--ink-soft); }
.water-pill { position: absolute; right: -18px; top: 26px; }
@media (max-width: 900px) { .lock-card { left: 0; width: 78%; bottom: -24px; } .water-pill { right: 0; top: 14px; } .alarm-stage { margin-bottom: 30px; } }

/* iOS-style settings card (rebuilt from the app's Settings › Tomorrow) */
.ios-card { position: absolute; z-index: 3; left: -14%; bottom: 10%; width: 330px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 4px 0; animation: float 7s ease-in-out infinite; animation-delay: -3s; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-align: left; }
.ios-card .hd { font-size: 0.78rem; color: #8a8a8e; padding: 10px 18px 2px; font-weight: 600; }
.ios-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; }
.ios-row + .ios-row { border-top: 1px solid #ececf0; }
.ios-row b { display: block; font-size: 0.95rem; font-weight: 600; color: #111; }
.ios-row span { display: block; font-size: 0.78rem; color: #8a8a8e; line-height: 1.3; }
.ios-row .ico { font-size: 1.1rem; color: #8a8a8e; text-align: center; }
.toggle { width: 46px; height: 28px; border-radius: 99px; background: #e5e5ea; position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.15); transition: left .3s; }
.toggle.on { background: #34c759; } .toggle.on::after { left: 20px; }
@media (max-width: 900px) { .ios-card { left: 50%; margin-left: -165px; bottom: -36px; width: 330px; animation: none; } .rest-visual { padding-bottom: 70px; } }
@media (max-width: 380px) { .ios-card { width: 300px; margin-left: -150px; } }

/* privacy cards */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card { background: var(--card); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.p-card .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; font-size: 1.4rem; margin-bottom: 16px; }
.p-card p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* founder note */
.note { max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 36px; padding: 52px 52px 44px; box-shadow: var(--shadow); position: relative; }
.note::before { content: "“"; position: absolute; top: -6px; left: 34px; font-family: var(--display); font-size: 7rem; line-height: 1; color: var(--peach); }
.note p { font-size: clamp(1.1rem, 1.7vw, 1.25rem); color: #4a382c; }
.note .sig { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.note .sig img { width: 52px; height: 52px; border-radius: 16px; }
.note .sig b { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.note .sig span { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 600px) { .note { padding: 44px 26px 36px; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; }
.plan { background: var(--card); border-radius: var(--radius); padding: 34px 32px; position: relative; box-shadow: var(--shadow-sm); text-align: left; }
.plan.best { box-shadow: 0 0 0 3px var(--apricot-deep), var(--shadow); }
.plan .tag { position: absolute; top: -14px; left: 28px; background: var(--apricot-deep); color: #fff; font-size: 0.8rem; font-weight: 800; border-radius: 999px; padding: 5px 13px; }
.plan .price { font-family: var(--display); font-size: 2.7rem; margin: 6px 0 0; line-height: 1.1; }
.plan .price span { font-size: 1rem; color: var(--ink-soft); font-family: var(--body); }
.plan .per { color: var(--ink-soft); font-size: 0.95rem; }
.plan ul { padding: 0; margin: 20px 0 0; list-style: none; }
.plan li { padding-left: 28px; position: relative; margin: 10px 0; color: #4a382c; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 4px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--mint); color: #2c7d5f; font-size: 0.68rem; font-weight: 800; }
.fine { font-size: 0.86rem; color: var(--ink-soft); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 20px; padding: 2px 24px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; padding: 20px 40px 20px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus { outline: none; }
.faq summary:focus-visible { outline: 2px solid var(--apricot-deep); outline-offset: 4px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); color: var(--apricot-ink); font-size: 1.2rem; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); }

/* final CTA */
.final { padding: 30px 0 110px; }
.final .card { position: relative; overflow: hidden; background: linear-gradient(160deg, #fff7ee, #ffe6d2); border-radius: 48px; padding: 64px 28px; text-align: center; box-shadow: var(--shadow); }
.final .card > * { position: relative; z-index: 1; }
.final video { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; margin: 0 auto 24px; box-shadow: var(--shadow); background: #f6e6d6; }
.final .cta-row { justify-content: center; margin-top: 26px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 52px; font-size: 0.92rem; color: var(--ink-soft); }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 18px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer .links a { text-decoration: none; }
.site-footer .links a:hover { text-decoration: underline; }
.site-footer p { margin: 6px 0; }

/* scroll reveal (main.js); no-JS and reduced-motion visitors see everything */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .lock-card, .ios-card { animation: none; }
}

/* ---------- legal pages ---------- */
.doc { padding: 48px 0 80px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.doc .meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 28px; }
.doc h2 { font-size: 1.55rem; margin-top: 2em; }
.doc h3 { font-size: 1.12rem; margin-top: 1.6em; font-family: var(--body); font-weight: 700; }
.doc p, .doc li { color: #4a382c; font-size: 1.02rem; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.95rem; background: var(--card); border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--cream-2); font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.summary-box { background: var(--card); border-radius: 22px; padding: 20px 24px; margin: 8px 0 28px; box-shadow: var(--shadow-sm); }
.summary-box ul { margin: 8px 0 0; }
.toc { background: var(--card); border-radius: 18px; padding: 16px 22px; margin-bottom: 24px; font-size: 0.95rem; }
.toc ol { margin: 6px 0 0; }
.callout { border-left: 4px solid var(--apricot-deep); background: rgba(217, 165, 102, 0.1); padding: 12px 16px; border-radius: 0 12px 12px 0; }
.caps { text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.01em; }

/* Company details still to fill in before launch (see README). */
.todo { background: #fff3b0; color: #6b4e00; border-radius: 4px; padding: 0 4px; font-weight: 600; }
