/* Second Take website. Colors and type follow the app (night ink, warm paper, coral record button, DM Serif Display). */
@font-face { font-family: "DM Serif Display"; src: url("/assets/fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("/assets/fonts/dm-serif-display-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #15171F;
  --ink-2: #1F2230;
  --ink-3: #2A2E3F;
  --line: #2C3042;
  --paper: #F8F4EC;
  --paper-2: #EFE9DD;
  --coral: #FF5A36;
  --coral-hover: #FF7352;
  --coral-soft: #FFE2D9;
  --coral-text: #B3391B;
  --amber: #E89A10;
  --amber-soft: #FFEFC9;
  --mint: #DDF3E6;
  --green: #1E9E62;
  --green-text: #16754A;
  --peach: #F6B39C;
  --muted: #6F6A62;
  --dim: #ABA69D;
  --soft: #D6D1C7;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--peach); text-underline-offset: 3px; }
a:hover { color: #FFD0BF; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: italic; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.kicker { font: 700 12px/1.3 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--peach); margin-bottom: 16px; }
.on-paper .kicker { color: var(--coral-text); }

/* "Take" in the wordmark is italic peach */
.brand-word em { color: var(--peach); }

/* Waveform: the row of bars from the cover art. Heights by class, no inline styles (the CSP forbids them). */
.wave { display: flex; align-items: center; gap: 3px; height: 40px; max-width: 100%; overflow: hidden; }
.wave i { flex: none; width: 4px; height: 4px; border-radius: 2px; background: #F0967D; transform-origin: center; }
.wave .b2 { height: 9px; } .wave .b3 { height: 15px; } .wave .b4 { height: 22px; } .wave .b5 { height: 30px; } .wave .b6 { height: 38px; }
.wave .b1 { background: var(--peach); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: talk 1.6s ease-in-out infinite; }
  .wave i:nth-child(3n) { animation-delay: -.4s; }
  .wave i:nth-child(4n) { animation-delay: -.9s; animation-duration: 1.9s; }
  .wave i:nth-child(5n) { animation-delay: -1.3s; animation-duration: 1.3s; }
  .wave i.b1 { animation: none; }
}
@keyframes talk { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--body); text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover { color: var(--ink); background: var(--coral-hover); transform: translateY(-1px); }
.btn-ghost { color: var(--paper); box-shadow: inset 0 0 0 2px var(--ink-3); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--peach); }
.btn-store { min-height: 58px; padding: 0 24px 0 20px; gap: 12px; }
.store-text { display: grid; text-align: left; font: 700 18px/1.1 var(--body); letter-spacing: -.01em; }
.store-text small { font: 600 11px/1.2 var(--body); letter-spacing: .02em; }
.btn-soon { cursor: default; }
.btn-soon:hover { transform: none; background: var(--coral); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--ink); border-bottom: 1px solid #23263A; }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-word { font: 400 25px/1 var(--display); letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { color: var(--soft); text-decoration: none; font-size: 15px; font-weight: 600; }
.site-nav a:hover { color: #fff; }
.header-cta .btn-store { min-height: 44px; padding: 0 16px 0 14px; gap: 8px; }
.header-cta .store-icon { width: 12px; height: 18px; }
.header-cta .store-text { font-size: 14px; }
.header-cta .store-text small { font-size: 9.5px; }
@media (max-width: 920px) { .site-nav { display: none; } .header-cta { margin-left: auto; } }
@media (max-width: 480px) {
  .header-cta .store-icon, .header-cta .store-text small { display: none; }
  .header-cta .btn-soon .store-text { font-size: 0; }
  .header-cta .btn-soon .store-text::after { content: "Coming soon"; font-size: 13px; }
  .brand-word { font-size: 23px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 150px 0 clamp(64px, 9vw, 112px); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; left: -260px; bottom: -300px; width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 82, 190, .42) 0, rgba(52, 82, 190, .14) 38%, rgba(52, 82, 190, 0) 68%); }
.orb { position: absolute; z-index: -1; top: -190px; right: -170px; width: 640px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 34% 30%, #FF9C7A 0, #FF6A45 24%, var(--coral) 42%, #D9411F 66%, #8E2A16 88%, #5C1D14 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, rgba(0, 0, 0, .35) 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 52%, rgba(0, 0, 0, .35) 82%, transparent 100%); }
.orb-glow { position: absolute; z-index: -2; top: -300px; right: -300px; width: 900px; height: 900px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 90, 54, .28) 0, rgba(255, 90, 54, .08) 45%, rgba(255, 90, 54, 0) 68%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero .wave { margin: 4px 0 26px; }
.hero-title { font: 400 clamp(44px, 6.2vw, 82px)/1.02 var(--display); letter-spacing: -.02em; max-width: 11em; color: #fff; }
.hero-title em { color: var(--peach); }
.hero-sub { margin-top: 22px; max-width: 30em; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.trust { margin-top: 20px; font-size: 14px; font-weight: 600; line-height: 1.7; color: var(--dim); }
.trust span { white-space: nowrap; color: var(--soft); }
.trust-center { text-align: center; }
.hero-phone { justify-self: center; }

@media (min-width: 861px) { .hero { padding-top: clamp(64px, 7vw, 96px); } }
@media (max-width: 860px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .orb { width: 340px; top: -150px; right: -110px; }
  .orb-glow { width: 560px; height: 560px; top: -260px; right: -250px; }
  .hero-phone { margin-top: 8px; }
}

/* Real app screenshots in a CSS phone frame. Image files come from make_assets.py (600 x 1304 and 1200 x 2607). */
.phone-fig { margin: 0; display: grid; justify-items: center; gap: 14px; }
.phone { width: 300px; padding: 10px; border-radius: 52px; background: linear-gradient(160deg, #3A3F55, #1A1D28 45%, #2B2F40);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px #0C0E14; }
.phone img { width: 100%; height: auto; aspect-ratio: 600 / 1304; border-radius: 42px; background: var(--paper); }
.phone-fig figcaption { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--dim); }
@media (max-width: 860px) { .phone { width: 260px; border-radius: 46px; } .phone img { border-radius: 37px; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 124px) 0; position: relative; }
.section-title { font: 400 clamp(34px, 5vw, 58px)/1.04 var(--display); letter-spacing: -.015em; max-width: 17em; }
.section-title em { color: var(--peach); }
.section-sub { margin-top: 18px; max-width: 40em; color: var(--soft); font-size: 18px; }
.on-paper { background: var(--paper); color: var(--ink); }
.on-paper .section-title em { color: var(--coral-text); }
.on-paper .section-sub { color: #4A463F; }
.on-raised { background: var(--ink-2); }

/* How it works */
.steps { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); }
.step-num { display: block; font: 400 italic 46px/1 var(--display); color: var(--coral); }
.step h3 { font: 400 26px/1.1 var(--display); margin: 14px 0 10px; color: #fff; }
.step p { font-size: 16px; line-height: 1.55; color: var(--soft); }
.step-rec::after { content: ""; position: absolute; top: 30px; right: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 90, 54, .2); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }


/* Benefit sections: one per App Store screenshot, alternating sides on desktop, stacked on phones */
.feature { padding: clamp(64px, 8vw, 104px) 0; }
.feature + .feature { border-top: 1px solid #23263A; }
.feature-flip { background: linear-gradient(180deg, rgba(31, 34, 48, .55), rgba(31, 34, 48, 0)); }
.feature-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.feature-grid > .phone-fig { order: -1; }
.feature-flip .feature-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.feature-flip .feature-grid > .phone-fig { order: 0; }
.feature-copy { max-width: 34em; }
.feature-title { font: 400 clamp(34px, 4.6vw, 56px)/1.05 var(--display); letter-spacing: -.015em; color: #fff; }
.feature-title em { color: var(--peach); }
.feature-sub { margin-top: 18px; font-size: 18px; color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.5; color: var(--paper); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: rgba(221, 243, 230, .14); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(.15em + 4px); width: 5px; height: 9px; border: solid #7BE0A8; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.proof { margin-top: 28px; display: inline-grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 12px; padding: 14px 20px; border-radius: 18px;
  background: var(--ink-2); border: 1px solid var(--line); }
.proof-num { font: 400 40px/1 var(--display); color: var(--peach); font-variant-numeric: tabular-nums; }
.proof-text { font-size: 15px; font-weight: 600; color: #fff; }
.proof-label { grid-column: 1 / -1; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.mini-transcript { margin-top: 24px; padding: 16px 18px; border-radius: 16px; background: var(--paper); color: var(--ink); font: 400 18px/1.7 var(--display); }
mark { color: inherit; }
.f, .h { border-radius: 5px; padding: 1px 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.f { background: var(--coral-soft); box-shadow: inset 0 -2px 0 var(--coral); }
.h { background: var(--amber-soft); box-shadow: inset 0 -2px 0 var(--amber); }
@media (max-width: 860px) {
  .feature-grid, .feature-flip .feature-grid { grid-template-columns: 1fr; }
  .feature-grid > .phone-fig, .feature-flip .feature-grid > .phone-fig { order: 0; }
}

/* Call to action after the benefit sections */
.cta-band { margin: 8px 0 clamp(72px, 9vw, 112px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: clamp(28px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(circle at 92% 0, rgba(255, 90, 54, .28) 0, rgba(255, 90, 54, 0) 55%), var(--ink-2); }
.cta-band-title { font: 400 clamp(30px, 4vw, 44px)/1.08 var(--display); color: #fff; }
.cta-band-title em { color: var(--peach); }
.cta-band-sub { margin-top: 8px; color: var(--soft); }

/* Who it's for */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.person { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.person h3 { font: 400 25px/1.12 var(--display); color: #fff; }
.person p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--soft); }
.person .pack { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--peach); }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } }

/* Privacy */
.section-privacy { background: radial-gradient(circle at 88% 12%, rgba(30, 158, 98, .16) 0, transparent 42%), var(--ink-2); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.label-card { margin-top: 30px; display: inline-grid; gap: 4px; padding: 16px 20px; border-radius: 16px; background: var(--ink); border: 1px solid var(--line); }
.label-card span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.label-card strong { font: 400 26px/1.1 var(--display); color: #fff; }
.text-link { display: inline-block; margin-top: 22px; font-weight: 700; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.fact { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
.fact h3 { font: 700 18px/1.35 var(--body); color: #fff; }
.fact p { margin-top: 4px; color: var(--soft); font-size: 16px; line-height: 1.6; }
.tick { width: 32px; height: 32px; border-radius: 50%; background: var(--mint); position: relative; }
.tick::after { content: ""; position: absolute; left: 11px; top: 7px; width: 8px; height: 14px; border: solid var(--green); border-width: 0 3px 3px 0; transform: rotate(45deg); }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }

/* Pricing: Free, Pro Yearly (best value), Pro Monthly */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); background: #fff; box-shadow: inset 0 0 0 1px #E4DCCD; display: flex; flex-direction: column; }
.plan-name { font: 400 30px/1 var(--display); }
.plan-name em { color: var(--coral-text); }
.plan-price { margin-top: 14px; font-size: 16px; color: #4A463F; }
.plan-price strong { font: 400 40px/1.05 var(--display); color: var(--ink); }
.plan-per { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; font-size: 16px; line-height: 1.5; }
.plan li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 0 0 5px var(--paper-2), inset 0 0 0 16px var(--muted); }
.plan-pro { background: var(--ink); color: var(--paper); box-shadow: 0 0 0 3px var(--coral), 0 30px 60px -36px rgba(21, 23, 31, .6); position: relative; overflow: hidden; }
.plan-pro::before { content: ""; position: absolute; top: -120px; right: -120px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FF9C7A 0, var(--coral) 45%, #8E2A16 100%); opacity: .75; }
.plan-pro > * { position: relative; }
.plan-badge { align-self: flex-start; margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.plan-pro .plan-name em { color: var(--peach); }
.plan-pro .plan-price, .plan-pro .plan-per { color: var(--soft); }
.plan-pro .plan-price strong { color: #fff; }
.plan-pro li::before { background: var(--coral); box-shadow: inset 0 0 0 5px var(--coral), inset 0 0 0 16px var(--ink); }
.trial { align-self: flex-start; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 90, 54, .14); color: var(--coral-text); font-size: 14px; font-weight: 600; }
.plan-pro .trial { background: rgba(255, 90, 54, .18); color: var(--peach); }
.pricing-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pricing-cta p { font-size: 15px; color: #4A463F; max-width: 30em; }
.pricing-fine { margin-top: 28px; max-width: 920px; font-size: 13px; line-height: 1.6; color: #4A463F; }
.pricing-fine p + p { margin-top: 8px; }
.pricing-fine a { color: var(--coral-text); font-weight: 600; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan-free { grid-column: 1 / -1; order: 3; } }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } .plan-free { grid-column: auto; } }

/* FAQ */
.faq-wrap { max-width: calc(880px + 2 * var(--gutter)); }
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 600 19px/1.4 var(--body); color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 17px; font: 400 30px/1 var(--display); color: var(--coral); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--soft); font-size: 17px; line-height: 1.65; max-width: 44em; }
.faq details p + p { margin-top: -10px; }

/* Final call to action */
.final-cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(80px, 11vw, 132px) 0; border-top: 1px solid #23263A; }
.final-cta::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 58%; width: 760px; height: 760px; margin-left: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 54, .22) 0, rgba(255, 90, 54, 0) 62%); }
.final-inner { display: grid; justify-items: center; gap: 20px; }
.final-title { font: 400 clamp(46px, 9vw, 104px)/.98 var(--display); letter-spacing: -.02em; }
.final-title em { color: var(--peach); }
.final-sub { font-size: 18px; color: var(--soft); max-width: 30em; }

/* Footer */
.site-footer { background: #101219; border-top: 1px solid #23263A; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); gap: 40px; padding-top: 60px; padding-bottom: 56px; }
.footer-tag { margin-top: 16px; color: var(--dim); font-size: 14px; max-width: 22em; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { color: var(--paper); text-decoration: none; font-size: 15px; font-weight: 600; overflow-wrap: break-word; }
.footer-links a:hover { color: var(--peach); }
.footer-legal p { font-size: 13px; color: var(--dim); line-height: 1.7; }
.footer-legal p + p { margin-top: 12px; }
.footer-legal .fine { font-size: 12px; color: #8C877E; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Legal and support documents */
.doc-wrap { padding-top: clamp(36px, 7vw, 84px); padding-bottom: clamp(72px, 9vw, 120px); position: relative; }
@media (max-width: 640px) { .doc-wrap { padding-left: 12px; padding-right: 12px; } }
.doc { max-width: 860px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) clamp(22px, 6vw, 64px); background: var(--paper); color: var(--ink); border-radius: 28px; }
.doc h1 { font: 400 clamp(38px, 6vw, 60px)/1.02 var(--display); letter-spacing: -.015em; }
.doc .doc-meta { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.doc .summary { margin-top: 28px; padding: 20px 22px; background: var(--mint); border-radius: 16px; }
.doc .summary p { margin: 0; }
.doc .summary p + p { margin-top: 10px; }
.doc .summary strong { font-weight: 700; }
.doc h2 { font: 400 28px/1.15 var(--display); margin-top: 46px; scroll-margin-top: 92px; }
.doc h3 { font: 700 17px/1.4 var(--body); margin-top: 26px; scroll-margin-top: 92px; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; color: #26252A; }
.doc p { margin-top: 14px; }
.doc ul, .doc ol { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--coral-text); font-weight: 600; overflow-wrap: anywhere; }
.doc a:hover { color: var(--ink); }
.doc .toc { margin-top: 28px; padding: 18px 22px; border: 1px solid #DDD4C3; border-radius: 16px; }
.doc .toc p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.doc .toc ol { columns: 2; column-gap: 32px; margin-top: 12px; }
.doc .toc li { font-size: 15px; margin: 0 0 6px; break-inside: avoid; }
@media (max-width: 640px) { .doc .toc ol { columns: 1; } }
.doc .address { font-style: normal; font-size: 17px; line-height: 1.7; margin-top: 12px; }
.contact-card { margin-top: 18px; display: grid; gap: 6px; padding: 18px 22px; background: var(--paper-2); border-radius: 16px; }
.contact-card p { margin: 0; }
.doc .callout { margin-top: 18px; padding: 16px 20px; border-left: 4px solid var(--coral); background: #fff; border-radius: 0 12px 12px 0; }
.doc .callout p:first-child { margin-top: 0; }

/* 404 */
.notfound { position: relative; overflow: hidden; isolation: isolate; min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 90px var(--gutter); }
.notfound .orb { width: 380px; top: -200px; right: -120px; }
.notfound h1 { font: 400 clamp(44px, 8vw, 92px)/1 var(--display); }
.notfound h1 em { color: var(--peach); }
.notfound p { margin-top: 18px; color: var(--soft); }
.notfound .btn { margin-top: 28px; }

/* Sticky call to action on phones. site.js adds .is-visible once the hero buttons scroll away,
   and removes it while the final call to action or the footer is on screen. Hidden without JS. */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; visibility: hidden; transform: translateY(110%);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 23, 31, .96); border-top: 1px solid var(--line);
    box-shadow: 0 -18px 40px -20px rgba(0, 0, 0, .8); transition: transform .28s ease, visibility 0s linear .28s; }
  .sticky-cta.is-visible { visibility: visible; transform: none; transition: transform .28s ease, visibility 0s; }
  .sticky-inner { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto; }
  .sticky-inner img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
  .sticky-text { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
  .sticky-text strong { font: 400 18px/1.15 var(--display); color: #fff; }
  .sticky-text span { font-size: 12px; font-weight: 600; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta .btn-store { min-height: 44px; padding: 0 16px 0 14px; gap: 8px; flex: none; }
  .sticky-cta .store-icon { width: 12px; height: 18px; }
  .sticky-cta .store-text { font-size: 14px; }
  .sticky-cta .store-text small { font-size: 9.5px; }
}

/* Scroll reveal (only when JS runs) */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary::after, .sticky-cta, .sticky-cta.is-visible { transition: none; }
  .btn-primary:hover { transform: none; }
}
