/* Musso night. One shared look for every page (owner direction, 10 Nov 2026;
   recoloured 12 Nov to the app's leaf green): one sans family, the app's dark
   canvas, the watercolors kept as daylight postcards.
   Home pages load only this file. Inner pages load legal.css (and compare.css)
   first for layout, then this file, so rules here win at equal specificity. */
:root {
  /* The app's night, Leaf ink (owner, 12 Nov 2026; tokens from clients design/finish-101 6f42ed6):
     green button with #141c17 label (6.64:1), no terracotta outside the mascot. */
  --m-bg:#141c17; --m-frame:#0f1612; --m-surface:#1a231d; --m-surface-raised:#222d26;
  --m-border:#2b362f; --m-border-strong:#36403a;
  --m-text:#f3f1eb; --m-secondary:#bcb6ad; --m-muted:#8e968c; --m-dim:#5f6d63;
  --m-accent:#8fa784; --m-accent-hover:#a3b898; --m-accent-ink:#141c17; --m-accent-soft:rgba(143,167,132,.16);
  --m-caution:#e2b46b;
  --m-sage:#8fa784; --m-sage-soft:rgba(143,167,132,.14);
  --m-paper:#f3f1eb; --m-ink:#1c211e;
  --r-md:16px; --r-lg:22px; --r-xl:28px;
  /* Names the older sheets read. */
  --paper:var(--m-bg); --ink:var(--m-text); --muted:var(--m-muted); --line:var(--m-border-strong); --signal:var(--m-accent);
  --gutter:clamp(20px,4vw,48px);
  --sans:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --serif:Georgia,"Times New Roman",serif;
  --mono:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:24px; background:var(--m-bg); color-scheme:dark; -webkit-text-size-adjust:100%; }
html.product-legal { color-scheme:dark; }
body { margin:0; overflow-x:clip; color:var(--m-text); background:var(--m-bg); font-family:var(--sans); font-size:16px; line-height:1.5; -webkit-font-smoothing:antialiased; }
h1,h2,h3,p,figure { margin:0; }
ul { margin:0; padding:0; }
a { color:inherit; }
img { max-width:100%; }
button { font:inherit; color:inherit; }
button,a,summary { -webkit-tap-highlight-color:transparent; }
::selection { background:rgba(143,167,132,.4); color:var(--m-text); }
[hidden] { display:none !important; }
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible { outline:2px solid var(--m-accent); outline-offset:4px; border-radius:4px; }
.skip { position:fixed; z-index:100; top:16px; left:16px; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; background:var(--m-paper); color:var(--m-ink); }
.skip:focus { width:auto; height:auto; overflow:visible; clip-path:none; padding:12px 18px; border-radius:8px; }
.wrap { width:calc(100% - var(--gutter) * 2); max-width:1180px; margin-inline:auto; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* Buttons. The packager turns App Store links into spans until the listing is
   live; a span is a status, so it never looks like something to press. */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid transparent; border-radius:999px; font-weight:600; line-height:1.1; white-space:nowrap; text-decoration:none; transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .12s cubic-bezier(.23,1,.32,1); }
.btn-sm { min-height:44px; padding:0 18px; font-size:13.5px; }
.btn-md { min-height:46px; padding:0 22px; font-size:14.5px; }
.btn-lg { min-height:52px; padding:0 28px; font-size:16px; }
a.btn:active { transform:scale(.98); }
a.btn-primary { background:var(--m-accent); color:var(--m-accent-ink); }
a.btn-primary:hover { background:var(--m-accent-hover); }
a.btn-primary:focus-visible { outline-color:var(--m-text); border-radius:999px; }
.btn-secondary { border-color:var(--m-border-strong); color:var(--m-secondary); font-weight:500; }
a.btn-secondary:hover { color:var(--m-text); border-color:rgba(243,241,235,.3); }
/* Before launch the packager turns each App Store link into a span: a status, so it is drawn as text, not as a button. */
span.btn { min-height:0; padding:0; border-color:transparent; background:transparent; color:var(--m-muted); font-weight:500; cursor:default; }
.m-foot-actions span.btn { display:none; }

/* Header, shared by every page. */
.site-head.m-head { position:relative; inset:auto; z-index:40; display:flex; align-items:center; justify-content:space-between; flex-wrap:nowrap; gap:16px 24px; height:auto; min-height:76px; padding-block:16px; border-bottom:0; }
.m-brand { display:inline-flex; align-items:center; gap:11px; min-height:44px; font-size:17px; font-weight:600; letter-spacing:-.02em; text-decoration:none; }
.m-brand svg { width:32px; height:32px; border-radius:10px; background:var(--m-surface); box-shadow:inset 0 0 0 1px var(--m-border-strong); }
.m-nav { display:flex; gap:2px; padding:3px; border:1px solid var(--m-border-strong); border-radius:999px; background:rgba(243,241,235,.035); }
.m-nav a { display:inline-flex; align-items:center; min-height:44px; padding:0 17px; border-radius:999px; color:var(--m-muted); font-size:14px; font-weight:500; letter-spacing:-.01em; text-decoration:none; transition:color .16s ease,background-color .16s ease; }
.m-nav a:hover { color:var(--m-text); background:rgba(243,241,235,.07); }
.m-nav a:focus-visible { outline-offset:-2px; border-radius:999px; }
.m-head-actions { display:flex; align-items:center; gap:14px; }
.m-head-actions .quiet { display:inline-flex; align-items:center; min-height:44px; color:var(--m-muted); font-size:13px; text-decoration:none; white-space:nowrap; }
.m-head-actions .quiet:hover { color:var(--m-text); }

/* Hero: one centered message, then the app itself. */
.m-hero { position:relative; padding-top:clamp(28px,4.4vw,64px); text-align:center; }
.m-hero-field { position:absolute; left:0; right:0; top:-92px; height:1100px; overflow:hidden; pointer-events:none; }
.m-hero-field .glow { position:absolute; left:50%; top:-120px; width:1100px; height:760px; transform:translateX(-50%); background:radial-gradient(closest-side,rgba(143,167,132,.14),rgba(143,167,132,.04) 60%,transparent); }
.m-hero-inner { position:relative; z-index:1; }
.m-hero h1 { font-size:clamp(2.3rem,6.2vw,5.25rem); font-weight:500; line-height:.98; letter-spacing:-.062em; text-wrap:balance; }
.m-hero h1 em { display:block; font-style:normal; color:var(--m-muted); }
.hero-mascot { display:inline-block; width:.92em; height:.92em; margin:0 -.04em 0 -.1em; vertical-align:-.17em; }
.hero-mascot svg { display:block; width:100%; height:100%; }
.m-hero-dek { max-width:620px; margin:24px auto 0; color:var(--m-secondary); font-size:clamp(17px,1.6vw,19px); line-height:1.55; letter-spacing:-.01em; text-wrap:balance; }
.m-hero-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:30px; }
.m-hero-actions span.btn { display:none; }
.m-hero-actions span.btn + a.btn-secondary { background:var(--m-accent); border-color:transparent; color:var(--m-accent-ink); font-weight:600; }
.m-hero-actions span.btn + a.btn-secondary:hover { background:var(--m-accent-hover); }
.m-hero-note { margin-top:18px; color:var(--m-muted); font-size:13.5px; line-height:1.6; text-wrap:balance; }
.m-hero-note strong { color:var(--m-secondary); font-weight:500; }
.m-hero-note a { text-underline-offset:4px; }

/* The app, right under the hero: six real screens side by side, the chosen one
   in the middle. Radio buttons do the choosing, so it works without scripts;
   home.js adds a slow tour and lets a side phone be clicked. */
.m-show { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; margin:clamp(44px,5vw,64px) auto 0; }
.m-show-in { position:absolute; top:0; left:50%; width:1px; height:1px; margin:0; opacity:0; pointer-events:none; }
.m-show-stage { --pw:clamp(232px,21vw,296px); position:relative; align-self:stretch; height:calc(var(--pw) * 1.86 + clamp(40px,4vw,56px)); margin-bottom:28px; border:1px solid var(--m-border-strong); border-radius:var(--r-xl); background:radial-gradient(52% 60% at 50% 30%,rgba(143,167,132,.2),transparent 72%),linear-gradient(180deg,#1a231d,#111814 78%); box-shadow:inset 0 1px rgba(255,255,255,.06),0 50px 120px -50px rgba(0,0,0,.9); overflow:hidden; }
.m-show-stage::after { content:""; position:absolute; left:0; right:0; bottom:0; z-index:20; height:110px; background:linear-gradient(transparent,#111814); pointer-events:none; }
.m-ph { --o:0; --a:0; position:absolute; left:50%; top:clamp(40px,4vw,56px); z-index:calc(10 - var(--a)); width:var(--pw); margin-left:calc(var(--pw) / -2); padding:7px; border-radius:calc(var(--pw) * .15); background:#0b100d; box-shadow:inset 0 0 0 1px rgba(243,241,235,.14),0 40px 80px -30px rgba(0,0,0,.75); opacity:calc(1 - var(--a) * .5); filter:brightness(calc(1 - var(--a) * .18)); transform:translateX(calc(var(--o) * 112%)) scale(calc(1 - var(--a) * .1)); transform-origin:50% 0; transition:transform .7s cubic-bezier(.23,1,.32,1),opacity .5s ease,filter .5s ease; }
.m-ph img { display:block; width:100%; height:auto; border-radius:calc(var(--pw) * .13); }
.js .m-ph { cursor:pointer; }
/* One card per screen, under the stage: the whole card picks its screen. */
.m-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-self:stretch; text-align:left; }
.m-card { position:relative; display:flex; flex-direction:column; gap:10px; padding:26px 28px 22px; border:1px solid var(--m-border-strong); border-radius:var(--r-lg); background:var(--m-surface); transition:border-color .2s ease,background-color .2s ease; overflow:hidden; }
.m-card-hit { position:absolute; inset:0; z-index:1; border-radius:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.m-card:hover { border-color:#4a5650; }
.m-card-tag { color:var(--m-muted); font-size:13px; font-weight:500; letter-spacing:-.005em; transition:color .2s ease; }
.m-card h3 { font-size:21px; font-weight:600; line-height:1.2; letter-spacing:-.03em; text-wrap:balance; }
.m-card p:not(.m-card-tag) { color:var(--m-secondary); font-size:14.5px; line-height:1.6; text-wrap:pretty; }
.m-tile-link { display:inline-flex; align-items:center; gap:6px; min-height:44px; font-size:13.5px; font-weight:500; text-decoration:underline; text-decoration-color:var(--m-accent); text-decoration-thickness:1px; text-underline-offset:5px; }
.m-tile-link:hover { text-decoration-color:currentColor; }
.m-card .m-tile-link { position:relative; z-index:2; align-self:flex-start; margin-top:auto; }
.m-card::after { content:""; position:absolute; left:0; right:0; top:0; height:2px; background:var(--m-accent); transform:scaleX(0); transform-origin:0 50%; }
#screen-today:checked ~ .m-cards .k-today,
#screen-plan:checked ~ .m-cards .k-plan,
#screen-dinners:checked ~ .m-cards .k-dinners,
#screen-school:checked ~ .m-cards .k-school,
#screen-math:checked ~ .m-cards .k-math,
#screen-memory:checked ~ .m-cards .k-memory { border-color:rgba(143,167,132,.55); background:var(--m-surface-raised); }
#screen-today:checked ~ .m-cards .k-today .m-card-tag,
#screen-plan:checked ~ .m-cards .k-plan .m-card-tag,
#screen-dinners:checked ~ .m-cards .k-dinners .m-card-tag,
#screen-school:checked ~ .m-cards .k-school .m-card-tag,
#screen-math:checked ~ .m-cards .k-math .m-card-tag,
#screen-memory:checked ~ .m-cards .k-memory .m-card-tag { color:var(--m-accent); }
#screen-today:focus-visible ~ .m-cards .k-today,
#screen-plan:focus-visible ~ .m-cards .k-plan,
#screen-dinners:focus-visible ~ .m-cards .k-dinners,
#screen-school:focus-visible ~ .m-cards .k-school,
#screen-math:focus-visible ~ .m-cards .k-math,
#screen-memory:focus-visible ~ .m-cards .k-memory { outline:2px solid var(--m-accent); outline-offset:3px; }
.m-show.auto #screen-today:checked ~ .m-cards .k-today::after,
.m-show.auto #screen-plan:checked ~ .m-cards .k-plan::after,
.m-show.auto #screen-dinners:checked ~ .m-cards .k-dinners::after,
.m-show.auto #screen-school:checked ~ .m-cards .k-school::after,
.m-show.auto #screen-math:checked ~ .m-cards .k-math::after,
.m-show.auto #screen-memory:checked ~ .m-cards .k-memory::after { animation:m-tour 6s linear forwards; }
.m-show.auto:hover .m-card::after,.m-show.auto.away .m-card::after { animation-play-state:paused; }
@keyframes m-tour { to { transform:scaleX(1); } }
/* Where each phone stands for each chosen screen: --o is its place from the middle, --a how far. */
#screen-today:checked ~ .m-show-stage .m-ph.k-today { --o:0; --a:0; }
#screen-today:checked ~ .m-show-stage .m-ph.k-plan { --o:1; --a:1; }
#screen-today:checked ~ .m-show-stage .m-ph.k-dinners { --o:2; --a:2; pointer-events:none; }
#screen-today:checked ~ .m-show-stage .m-ph.k-school { --o:-3; --a:3; pointer-events:none; }
#screen-today:checked ~ .m-show-stage .m-ph.k-math { --o:-2; --a:2; pointer-events:none; }
#screen-today:checked ~ .m-show-stage .m-ph.k-memory { --o:-1; --a:1; }
#screen-plan:checked ~ .m-show-stage .m-ph.k-today { --o:-1; --a:1; }
#screen-plan:checked ~ .m-show-stage .m-ph.k-plan { --o:0; --a:0; }
#screen-plan:checked ~ .m-show-stage .m-ph.k-dinners { --o:1; --a:1; }
#screen-plan:checked ~ .m-show-stage .m-ph.k-school { --o:2; --a:2; pointer-events:none; }
#screen-plan:checked ~ .m-show-stage .m-ph.k-math { --o:-3; --a:3; pointer-events:none; }
#screen-plan:checked ~ .m-show-stage .m-ph.k-memory { --o:-2; --a:2; pointer-events:none; }
#screen-dinners:checked ~ .m-show-stage .m-ph.k-today { --o:-2; --a:2; pointer-events:none; }
#screen-dinners:checked ~ .m-show-stage .m-ph.k-plan { --o:-1; --a:1; }
#screen-dinners:checked ~ .m-show-stage .m-ph.k-dinners { --o:0; --a:0; }
#screen-dinners:checked ~ .m-show-stage .m-ph.k-school { --o:1; --a:1; }
#screen-dinners:checked ~ .m-show-stage .m-ph.k-math { --o:2; --a:2; pointer-events:none; }
#screen-dinners:checked ~ .m-show-stage .m-ph.k-memory { --o:-3; --a:3; pointer-events:none; }
#screen-school:checked ~ .m-show-stage .m-ph.k-today { --o:-3; --a:3; pointer-events:none; }
#screen-school:checked ~ .m-show-stage .m-ph.k-plan { --o:-2; --a:2; pointer-events:none; }
#screen-school:checked ~ .m-show-stage .m-ph.k-dinners { --o:-1; --a:1; }
#screen-school:checked ~ .m-show-stage .m-ph.k-school { --o:0; --a:0; }
#screen-school:checked ~ .m-show-stage .m-ph.k-math { --o:1; --a:1; }
#screen-school:checked ~ .m-show-stage .m-ph.k-memory { --o:2; --a:2; pointer-events:none; }
#screen-math:checked ~ .m-show-stage .m-ph.k-today { --o:2; --a:2; pointer-events:none; }
#screen-math:checked ~ .m-show-stage .m-ph.k-plan { --o:-3; --a:3; pointer-events:none; }
#screen-math:checked ~ .m-show-stage .m-ph.k-dinners { --o:-2; --a:2; pointer-events:none; }
#screen-math:checked ~ .m-show-stage .m-ph.k-school { --o:-1; --a:1; }
#screen-math:checked ~ .m-show-stage .m-ph.k-math { --o:0; --a:0; }
#screen-math:checked ~ .m-show-stage .m-ph.k-memory { --o:1; --a:1; }
#screen-memory:checked ~ .m-show-stage .m-ph.k-today { --o:1; --a:1; }
#screen-memory:checked ~ .m-show-stage .m-ph.k-plan { --o:2; --a:2; pointer-events:none; }
#screen-memory:checked ~ .m-show-stage .m-ph.k-dinners { --o:-3; --a:3; pointer-events:none; }
#screen-memory:checked ~ .m-show-stage .m-ph.k-school { --o:-2; --a:2; pointer-events:none; }
#screen-memory:checked ~ .m-show-stage .m-ph.k-math { --o:-1; --a:1; }
#screen-memory:checked ~ .m-show-stage .m-ph.k-memory { --o:0; --a:0; }

/* One sentence between the screens and the rest of the page. */
.m-statement { padding-top:clamp(96px,11vw,160px); }
.m-statement p { max-width:980px; margin-inline:auto; font-size:clamp(30px,4.6vw,60px); font-weight:500; line-height:1.06; letter-spacing:-.055em; text-align:center; text-wrap:balance; }
.m-statement span { color:var(--m-dim); }
.m-statement em { font-style:normal; color:var(--m-text); }

/* Sections */
.m-section { padding-top:clamp(84px,9vw,124px); }
.m-section-head { max-width:720px; margin-inline:auto; text-align:center; }
.m-eyebrow { font-size:14px; font-weight:500; letter-spacing:-.01em; color:var(--m-accent); }
.m-section-head h2,.m-faq-head h2 { margin-top:12px; font-size:clamp(36px,4.6vw,64px); font-weight:500; line-height:1; letter-spacing:-.058em; text-wrap:balance; }
.m-section-head > p:not(.m-eyebrow),.m-faq-head > p:not(.m-eyebrow) { margin-top:16px; color:var(--m-secondary); font-size:16.5px; line-height:1.6; text-wrap:pretty; }

/* Scroll reveal, added by home.js to things below the first screen. Without
   scripts, or with reduced motion, nothing is ever hidden. */
.pre { opacity:0; transform:translateY(18px); }
.pre.in { opacity:1; transform:none; transition:opacity .7s ease var(--wait,0s),transform .8s cubic-bezier(.23,1,.32,1) var(--wait,0s); }
/* Plans */
.m-pricing { text-align:center; }
.m-price-note { max-width:620px; margin:18px auto 0; color:var(--m-secondary); font-size:clamp(17px,1.6vw,19px); line-height:1.55; letter-spacing:-.01em; text-wrap:balance; }
.m-price-sub { margin-top:6px; color:var(--m-muted); font-size:14px; }
.m-plans { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; max-width:820px; margin:clamp(40px,5vw,60px) auto 0; text-align:left; }
.m-plan { position:relative; display:flex; flex-direction:column; gap:12px; padding:clamp(24px,2.4vw,30px); border:1px solid var(--m-border-strong); border-radius:24px 24px 20px 20px; background:var(--m-surface); overflow:hidden; }
.m-plan-tag { font-size:13.5px; font-weight:600; letter-spacing:-.005em; color:var(--m-muted); }
.m-plan h3 { font-size:21px; font-weight:600; line-height:1.2; letter-spacing:-.03em; }
.m-plan p:not(.m-plan-tag) { color:var(--m-secondary); font-size:14px; line-height:1.6; }
.m-plan small { margin-top:auto; padding-top:6px; color:var(--m-muted); font-size:12.5px; line-height:1.5; }
.m-plan.hi { border-color:rgba(143,167,132,.42); background:radial-gradient(120% 90% at 50% 0%,rgba(143,167,132,.14),transparent 62%),var(--m-surface); }
.m-plan.hi .m-plan-tag { color:var(--m-accent); }
.m-plans-pay { max-width:60ch; margin:22px auto 0; color:var(--m-muted); font-size:14px; line-height:1.6; text-wrap:pretty; }

/* Questions */
.m-faq-grid { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(40px,6vw,88px); align-items:start; }
.m-faq-head a { text-underline-offset:4px; text-decoration-color:var(--m-accent); }
.m-faq { border-top:1px solid var(--m-border-strong); }
.m-faq details { border-bottom:1px solid var(--m-border-strong); }
.m-faq summary { display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:64px; padding:16px 0; cursor:pointer; list-style:none; }
.m-faq summary::-webkit-details-marker { display:none; }
.m-faq summary h3 { font-size:17px; font-weight:500; line-height:1.35; letter-spacing:-.015em; }
.m-faq summary::after { content:""; flex:none; width:9px; height:9px; margin:0 6px 4px 0; border-right:1.5px solid var(--m-muted); border-bottom:1.5px solid var(--m-muted); transform:rotate(45deg); transition:transform .2s ease; }
.m-faq details[open] summary::after { margin-bottom:-4px; transform:rotate(-135deg); }
.m-faq summary:hover h3 { color:#fff; }
.m-faq details p { padding:0 40px 22px 0; color:var(--m-secondary); font-size:15px; line-height:1.65; }
.m-faq details p a { color:var(--m-text); text-underline-offset:4px; text-decoration-color:var(--m-accent); }

/* Footer, shared by every page. */
.site-footer.m-foot { margin-top:clamp(68px,8vw,110px); border-top:1px solid var(--m-border-strong); padding-bottom:max(8px,env(safe-area-inset-bottom,0px)); }
.m-foot-cta { position:relative; display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(32px,6vw,88px); align-items:center; padding:clamp(48px,7vw,84px) 0; }
.m-foot-cta::before { content:""; position:absolute; inset:0 calc(50% - 50vw) 0 30%; background:url("/motif-closing.webp?v=passage-46") right center / cover no-repeat; opacity:.34; -webkit-mask-image:linear-gradient(90deg,transparent,#000 70%),linear-gradient(transparent,#000 30%,#000 70%,transparent); -webkit-mask-composite:source-in; mask-image:linear-gradient(90deg,transparent,#000 70%),linear-gradient(transparent,#000 30%,#000 70%,transparent); mask-composite:intersect; pointer-events:none; }
.m-foot-cta > * { position:relative; }
.m-foot-brand { display:flex; align-items:flex-start; }
.m-foot-line { font-size:clamp(22px,2.8vw,32px); font-weight:400; line-height:1.2; letter-spacing:-.035em; text-wrap:balance; }
.m-foot-line em { font-style:normal; color:var(--m-muted); }
.m-foot-cta p:not(.m-foot-line) { max-width:52ch; margin-top:12px; color:var(--m-secondary); font-size:14.5px; line-height:1.6; }
.m-foot-cta p.m-foot-actions { max-width:none; display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin-top:22px; }
.m-foot-actions .quiet { display:inline-flex; align-items:center; min-height:44px; color:var(--m-secondary); font-size:14px; text-underline-offset:4px; text-decoration-color:var(--m-accent); }
.m-foot-cols { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:28px clamp(20px,3vw,40px); padding:34px 0 30px; border-top:1px solid var(--m-border); }
.m-foot-h { font-size:13px; font-weight:600; letter-spacing:-.005em; color:var(--m-muted); }
.m-foot-cols ul { display:flex; flex-direction:column; margin-top:8px; list-style:none; }
.m-foot-cols a { display:inline-flex; align-items:center; min-height:40px; color:var(--m-secondary); font-size:13.5px; line-height:1.3; text-decoration:none; }
.m-foot-cols a:hover { color:var(--m-text); text-decoration:underline; text-underline-offset:4px; }
.m-foot-cols a[aria-current="page"] { color:var(--m-text); }
.m-foot-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px 24px; padding:20px 0 26px; border-top:1px solid var(--m-border); color:var(--m-muted); font-size:12.5px; }
.m-foot-social { display:inline-flex; gap:20px; }
.m-foot-social a { display:inline-flex; align-items:center; min-height:44px; color:inherit; text-decoration:none; }
.m-foot-social a:hover { color:var(--m-text); text-decoration:underline; text-underline-offset:4px; }
.m-foot-made { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; }
.m-foot-made:hover { color:var(--m-text); text-decoration:underline; text-underline-offset:4px; }

/* Inner pages (legal, guides, comparisons, blog, the study-schedule tool):
   the same canvas, with the reading column unchanged. */
.product-legal .legal-main { position:relative; }
.product-legal .legal-content { color:var(--m-secondary); }
.product-legal .legal-content :is(h1,h2,h3,h4,strong,th,caption,label,legend,dt) { color:var(--m-text); }
.product-legal .legal-content a { color:var(--m-text); text-decoration-color:var(--m-accent); }
.product-legal .legal-content a:hover { text-decoration-color:var(--m-text); }
.product-legal .legal-content .legal-meta,
.product-legal .legal-content .guide-facts,
.product-legal .compare-checked,
.product-legal .compare-draft,
.product-legal .tool-hint,
.product-legal .tool-field,
.product-legal .compare-table td::before { color:var(--m-muted); }
.product-legal .compare-table td:last-child { color:var(--m-muted); }
.product-legal .compare-table-wide td:last-child { color:inherit; }
.product-legal .compare-table thead th { border-bottom-color:rgba(243,241,235,.4); }
.product-legal .legal-scope,.product-legal .tool-note { border-left-color:var(--m-accent); }
.product-legal .tool-item { border-top-color:var(--m-border-strong); }
.product-legal .tool-past { color:var(--m-caution); }
.product-legal .tool-form textarea,.product-legal .tool-form input[type="date"],.product-legal .tool-form select,.product-legal .tool-plan input[type="text"],.product-legal .tool-plan input[type="date"] { color:var(--m-text); background:var(--m-frame); border-color:rgba(243,241,235,.3); }
.product-legal .tool-btn { border-color:rgba(243,241,235,.3); background:transparent; color:var(--m-text); }
.product-legal .tool-btn.primary { border-color:transparent; background:var(--m-accent); color:var(--m-accent-ink); font-weight:600; }
.product-legal .legal-content code { color:var(--m-text); }
.product-legal .legal-content pre { padding:14px 16px; border:1px solid var(--m-border-strong); border-radius:10px; background:var(--m-frame); }
/* Guide and comparison pages: answer-first lede, one App Store action, related guides. */
.product-legal .legal-content .guide-lede { margin:0 0 24px; color:var(--m-text); font-size:1.1875rem; line-height:1.6; }
.product-legal .legal-content .guide-action { margin:24px 0 8px; }
.product-legal .legal-content :is(.guide-cta,.action-link,a.download) { display:inline-flex; align-items:center; min-height:48px; padding:12px 24px; border:1px solid transparent; border-radius:999px; font-weight:600; line-height:1.3; text-decoration:none; }
.product-legal .legal-content :is(a.guide-cta,a.action-link,a.download) { background:var(--m-accent); color:var(--m-accent-ink); }
.product-legal .legal-content :is(a.guide-cta,a.action-link,a.download):hover { background:var(--m-accent-hover); }
.product-legal .legal-content :is(a.guide-cta,a.action-link,a.download):focus-visible { outline-color:var(--m-text); border-radius:999px; }
.product-legal .legal-content :is(span.guide-cta,span.action-link) { display:inline; min-height:0; padding:0; border:0; color:var(--m-text); font-weight:600; }
.product-legal .legal-content :is(.guide-action,.compare-cta) a:not([class]) { margin-left:8px; text-underline-offset:4px; }
/* Comparison pages: text keeps the guides' line length while the table uses the full column; list links are 44px tall. */
.product-legal .compare > :is(p:not(.compare-answer),ul,ol,section:not(.tool-plan),aside) { max-width:76ch; }
.product-legal .legal-content :is(.compare-sources,.compare-more) li+li { margin-top:0; }
.product-legal :is(.compare-sources,.compare-more) a { display:inline-flex; align-items:center; min-height:44px; padding-block:0; }
.product-legal .legal-content .guide-facts { margin:8px 0 0; font-size:.875rem; }
.product-legal .legal-content .guide-related ul { display:flex; flex-wrap:wrap; gap:0 24px; padding:0; margin:0; list-style:none; }
.product-legal .legal-content .guide-related li+li { margin-top:0; }
.product-legal .guide-related a { display:inline-flex; align-items:center; min-height:44px; }
/* Facts pages: a plain list of label and value a person or a model can quote. */
.product-legal .legal-content .facts { margin:24px 0; border-top:1px solid var(--m-border-strong); }
.product-legal .legal-content .facts > div { display:grid; grid-template-columns:minmax(0,13rem) minmax(0,1fr); gap:4px 24px; padding:14px 0; border-bottom:1px solid var(--m-border-strong); }
.product-legal .legal-content .facts dt { font-weight:500; }
.product-legal .legal-content .facts dd { margin:0; }

@media (max-width:1100px) {
  .m-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .m-faq-grid { grid-template-columns:1fr; }
  .m-foot-cols { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .m-nav { display:none; }
  .m-plans { grid-template-columns:1fr; max-width:560px; }
  .m-foot-cta { grid-template-columns:1fr; }
  .m-foot-cta::before { inset:0 calc(50% - 50vw); opacity:.2; }
}
@media (max-width:720px) {
  .m-foot-cols { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .m-faq details p { padding-right:8px; }
  .product-legal .legal-content .facts > div { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .m-cards { grid-template-columns:1fr; gap:10px; }
  .m-card { padding:22px 22px 16px; }
  .m-foot-bottom { flex-direction:column; align-items:flex-start; gap:0; padding-top:8px; }
  .m-foot-bottom > span:first-child { display:flex; align-items:center; min-height:44px; }
  .site-head.m-head span.btn,.m-head-actions:has(a.btn) .quiet { display:none; }
  .site-head.m-head .btn-sm { padding:0 15px; font-size:13px; }
  .m-hero-actions .btn { width:100%; max-width:340px; }
  .m-show-stage { --pw:min(62vw,250px); border-radius:var(--r-lg); }
}
@media (prefers-contrast:more) {
  :root { --m-secondary:#e6ece2; --m-muted:#cfd8cb; --m-border-strong:rgba(243,241,235,.5); --muted:#cfd8cb; --line:rgba(243,241,235,.5); }
  .m-statement span { color:var(--m-muted); }
}
@media (forced-colors:active) {
  a.btn,.m-card,.m-plan,.product-legal .legal-content :is(a.guide-cta,a.action-link) { border:1px solid ButtonText; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none !important; transition:none !important; }
}
@media print {
  :root { --m-bg:#fff; --m-text:#000; --m-secondary:#000; --m-muted:#333; --m-border-strong:#999; --m-border:#ccc; --m-surface:#fff; }
  html,body { background:#fff; color:#000; }
  .m-hero-field,.m-foot-cta::before,.m-show-in { display:none; }
  .pre { opacity:1 !important; transform:none !important; }
}
