/* Feature pages — the body of the pages behind the home's top menu (period-planner first; habit-tracker ·
   google-calendar-period-tracker · about follow), in the home's visual grammar (2026-11-18, stage 2 — DRAFT).
   Grammar source = public/landing-e/home.css (type scale · bands · white shadowless cards · phone bezel · FAQ ·
   the four-colour horizon close). Values are copied, not imported: the home stylesheet is not loaded here.
   Header/footer are NOT styled here — they come from /site/chrome.css (scripts/site_chrome.py), id-scoped.

   Page markup contract (see public/period-planner.html):
     main.fp > .fp-hero (centred intro + device pair + sample calendar)
             > .fp-band[.paper|.night] > .fp-wrap > (.shot split | .fp-copy text | .phases | .steps | .fp-feats …)
             > .fp-band.fp-faq (details.faq)
             > .fp-close (horizon + .r-cta)
   Two left lines only (CLAUDE.md 「좌측 선은 둘이다」): the .fp-wrap edge, and the card inner edge.

   🚨 Tests read this file as the page's CSS (scripts/web-period-planner*-test.js [S]/[H]). They lock, verbatim:
      · the first :root block holds the app's light phase colours, the first dark block the dark ones (+ --bg);
      · `.demo.cycle-on .demo-day.ph-X{background:var(--ph-X-bg)}` · `.demo-toggle:focus-visible{outline:` ·
        `.demo-toggle[aria-pressed="true"]` · `.faq>summary::after` · the reduced-motion block turns .demo-day off;
      · no selector may START with a bare details/summary/button/section/input/form/table/span — the header's
        <details class="kc-more"> once picked up a page's FAQ `+` (real incident).
   The phase colours are the app's (utils/cycleResolver PHASE_COLORS) — the sample calendar sits above real
   screenshots painted with them. They are NOT the home's calendar washes; do not swap them. */
:root{
  color-scheme: light dark;
  --bg:#F2F2F4; --card:#FFFFFF; --ink:#25352F; --ink2:#565B55; --ink3:#6A6E68; --ink-press:#161F1B;
  --line:rgba(37,53,47,.12); --line-soft:rgba(37,53,47,.07); --tint:rgba(37,53,47,.06); --accent-ink:#106B54;
  --night:#18211D; --night-ink:#EEF1EF; --night-2:rgba(238,241,239,.72); --night-hair:rgba(255,255,255,.14);
  --apricot:#F9D3CA; --sky:#C0E0F5; --sage:#D1E0C6; --orchid:#EDD4EB;
  --ph-m-bg:#FBEAF0; --ph-m-ink:#993556;
  --ph-f-bg:#E1F5EE; --ph-f-ink:#085041;
  --ph-o-bg:#FAEEDA; --ph-o-ink:#854F0B;
  --ph-l-bg:#EEEDFE; --ph-l-ink:#3C3489;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter","Segoe UI",Roboto,"Helvetica Neue",sans-serif;
  --font-display:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter","Segoe UI",Roboto,"Helvetica Neue",sans-serif;
  --ease-out:cubic-bezier(.23,1,.32,1);
  --gutter:max(22px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --wrap:1120px; --r-card:28px;
  --card-x:28px; /* the one inner line of every card on these pages (page line + 28) */
}
/* The sub-pages keep a dark mode (the home has none) — same dark values the old inline pages used. */
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0f1512; --card:#161d1a; --ink:#e8efeb; --ink2:#a9b8b2; --ink3:#8d9c96; --ink-press:#ffffff;
    --line:rgba(255,255,255,.12); --line-soft:rgba(255,255,255,.07); --tint:rgba(255,255,255,.07); --accent-ink:#6FCFAA;
    --night:#0a0e0c; --night-ink:#e8efeb; --night-2:rgba(232,239,235,.72);
    --apricot:#3a2b27; --sky:#22313b; --sage:#28321f; --orchid:#352838;
    --ph-m-bg:rgba(205,75,115,.20); --ph-m-ink:#EA9DB6;
    --ph-f-bg:rgba(40,180,130,.18); --ph-f-ink:#79D9B5;
    --ph-o-bg:rgba(195,135,35,.20); --ph-o-ink:#E6B86F;
    --ph-l-bg:rgba(130,118,225,.20); --ph-l-ink:#C3BCF4;
  }
}
@media (prefers-contrast: more){ :root{ --ink2:#33403A; --ink3:#3F4A45; --line:rgba(37,53,47,.4); } }
html:lang(ko){
  --font:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","SF Pro Text","Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;
  --font-display:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","SF Pro Display","Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;
}
html:lang(ja){
  --font:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","SF Pro Text","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  --font-display:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","SF Pro Display","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
}

/* ── base ── */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-padding-top:72px}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:400 17px/1.5 var(--font); letter-spacing:-.011em;
  -webkit-font-smoothing:antialiased; overflow-x:clip; overflow-wrap:break-word;
}
/* Korean: break between words (keep-all) · Japanese: normal CJK breaking with strict kinsoku — never keep-all,
   these pages carry no BudouX <wbr> (the home's ja keep-all depends on them). No tracking on CJK text. */
html:lang(ko) body{word-break:keep-all; overflow-wrap:anywhere; line-height:1.65}
html:lang(ja) body{word-break:normal; line-break:strict; overflow-wrap:anywhere; line-height:1.75}
html:lang(ko) .fp, html:lang(ko) .fp *, html:lang(ja) .fp, html:lang(ja) .fp *{letter-spacing:0 !important}
:where(.fp) :is(h1,h2,h3,p,figure,ol,ul){margin:0}
:where(.fp) img{max-width:100%; height:auto; display:block}
:where(.fp) a{color:var(--accent-ink); text-underline-offset:.18em}
:where(.fp) strong{color:var(--ink); font-weight:600}
.fp :focus-visible{outline:2px solid var(--ink); outline-offset:3px; border-radius:6px}
.fp-wrap{width:min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline:auto}

/* ── type: home scale (h1 one step below the home's, which is the site's loudest) ── */
.fp h1{font:700 clamp(2.25rem, 3.4vw + 1.1rem, 4.25rem)/1.05 var(--font-display); letter-spacing:-.035em; text-wrap:balance; color:var(--ink)}
.fp h2{font:700 clamp(1.875rem, 2.2vw + 1.1rem, 2.875rem)/1.08 var(--font-display); letter-spacing:-.03em; text-wrap:balance; color:var(--ink)}
.fp h3{text-wrap:balance; font:600 clamp(1.1875rem, .5vw + 1.05rem, 1.375rem)/1.25 var(--font-display); letter-spacing:-.02em; color:var(--ink)}
:where(.fp) p{color:var(--ink2)}
html:lang(ko) .fp h1{line-height:1.2} html:lang(ja) .fp h1{line-height:1.25}
html:lang(ko) .fp :is(h2,h3), html:lang(ja) .fp :is(h2,h3){line-height:1.3}
html:lang(ko) .fp :is(p,li), html:lang(ja) .fp :is(p,li){text-wrap:pretty}
/* display lines stay balanced in every language (a lone last word reads as a mistake at this size) */
html .fp :is(h1,h2,h3,.lede,.proof-h,.proof-p,.r-cta p,.faq>summary){text-wrap:balance}
/* ja display lines: break at phrase boundaries where the browser can (Chrome's built-in BudouX); elsewhere normal */
html:lang(ja) .fp :is(h1,h2,h3,.proof-h,.r-cta p,.faq>summary,.steps b){word-break:auto-phrase}

/* ── 1 · hero: centred like the home's — eyebrow pill · h1 · lead · calculator line ── */
/* each feature page wears its tab's top colour, as the home's tiles do: .fp-cycle = Cycle orchid
   (habit-tracker → sage · google-calendar-period-tracker → sky · about → apricot when they follow) */
.fp{--tab:var(--sky)} .fp-cycle{--tab:var(--orchid)}
.fp-hero{padding:clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 104px);
  background:linear-gradient(180deg, color-mix(in srgb, var(--tab) 70%, var(--bg)) 0, color-mix(in srgb, var(--tab) 30%, var(--bg)) 260px, var(--bg) 620px)}
.fp-intro{text-align:center; max-width:880px}
.eyebrow{width:fit-content; margin:0 auto 18px; padding:7px 15px 8px; border-radius:999px; background:var(--card);
  font:600 14px/1.2 var(--font-display); color:var(--ink)}
html:lang(en) .eyebrow, html:lang(es) .eyebrow, html:lang(pt) .eyebrow{font-size:12.5px; letter-spacing:.06em; text-transform:uppercase}
.fp-intro .lede{max-width:34em; margin:22px auto 0; font-size:clamp(1.1875rem, .5vw + 1.05rem, 1.375rem); line-height:1.4; letter-spacing:-.015em; color:var(--ink2); text-wrap:balance}
.fp-intro .lede + p:not(.hero-alt){max-width:34em; margin:12px auto 0; font-size:clamp(1.0625rem, .3vw + 1rem, 1.1875rem); text-wrap:balance}
.hero-alt{margin-top:22px; font-size:15px; color:var(--ink2)}
.hero-alt a{display:inline-flex; align-items:center; min-height:44px; font-weight:500; text-decoration:underline; text-decoration-color:color-mix(in srgb, currentColor 35%, transparent)}
html:lang(ko) .fp-intro .lede, html:lang(ja) .fp-intro .lede{line-height:1.6}

/* ── device pair (hero + close): the home's .stage — web capture with the phone over its corner ── */
.proof-fig{container-type:inline-size; margin:0}
.fp-hero .proof-fig{margin-top:clamp(36px, 4.4vw, 56px)}
.proof-pair{position:relative; margin:0}
.proof-pair>.proof-wide{display:none}
.proof-pair>img:not(.proof-wide){display:block; width:min(280px, 74%); height:auto; margin:8px auto 0; border-radius:34px;
  box-shadow:0 0 0 1px rgba(0,0,0,.5), 0 0 0 6px #101312, 0 0 0 7px rgba(255,255,255,.28)}
.proof-cap{margin:22px 0 0; font-size:13px; line-height:1.45; letter-spacing:0; color:var(--ink3); text-align:center}
.proof-cap-wide{display:none}
@container (min-width:640px){
  .proof-pair{padding:0 0 clamp(20px, 4cqi, 48px)}
  .proof-pair>.proof-wide{display:block; width:min(88%, 980px); height:auto; border-radius:16px; box-shadow:0 0 0 1px var(--line)}
  .proof-pair>img:not(.proof-wide){position:absolute; right:clamp(0px, 3cqi, 40px); bottom:0; width:clamp(128px, 22%, 236px); margin:0; border-radius:clamp(22px, 3.4cqi, 36px)}
  .proof-cap{text-align:left}
  .proof-cap-wide{display:inline}
  .proof-cap-narrow{display:none}
}

/* ── sample calendar: a white card on the grey page, like the home's month card ── */
.demo{background:var(--card); border-radius:var(--r-card); padding:24px var(--card-x) 20px; margin-top:clamp(40px, 5vw, 64px)}
.demo-head{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:0 0 16px}
.demo-label{font:700 clamp(1.25rem, .6vw + 1.1rem, 1.625rem)/1.15 var(--font-display); letter-spacing:-.02em; color:var(--ink)}
.demo-toggle{-webkit-appearance:none; appearance:none; cursor:pointer; font:600 15px/1.2 var(--font);
  display:inline-flex; align-items:center; gap:9px; min-height:44px; padding:0 18px; border:0; border-radius:999px;
  background:var(--tint); color:var(--ink2); -webkit-tap-highlight-color:transparent;
  transition:background .18s ease, color .18s ease, transform .14s var(--ease-out)}
.demo-toggle:active{transform:scale(.97)}
.demo-toggle[aria-pressed="true"]{background:var(--ink); color:var(--card)}
.demo-toggle:focus-visible{outline:2px solid var(--ink); outline-offset:3px}
.demo-dot{width:9px; height:9px; border-radius:50%; background:currentColor; opacity:.32; flex-shrink:0; transition:opacity .18s ease}
.demo-toggle[aria-pressed="true"] .demo-dot{opacity:1}
.demo-grid{display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px}
.demo-wd{font-size:12px; font-weight:500; color:var(--ink3); text-align:left; letter-spacing:0; line-height:1.4; padding:0 8px 4px}
.demo-day{background:var(--bg); border-radius:12px; min-height:68px; padding:7px 8px 8px; overflow:hidden; transition:background .22s ease}
.demo-d{display:block; font-size:14px; font-weight:600; color:var(--ink); line-height:1.35; font-variant-numeric:tabular-nums; letter-spacing:0}
.demo-ev{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:5px; padding-left:6px;
  border-left:3px solid var(--accent-ink); font-size:11.5px; font-weight:500; line-height:1.25; letter-spacing:0; color:var(--ink); word-break:break-word}
.demo.cycle-on .demo-day.ph-m{background:var(--ph-m-bg)}
.demo.cycle-on .demo-day.ph-f{background:var(--ph-f-bg)}
.demo.cycle-on .demo-day.ph-o{background:var(--ph-o-bg)}
.demo.cycle-on .demo-day.ph-l{background:var(--ph-l-bg)}
.demo-note{margin:14px 0 0; font-size:13px; line-height:1.45; letter-spacing:0; color:var(--ink3)}

/* ── bands: the home's section rhythm — grey page, white paper, one dark band ── */
.fp-band{padding:clamp(72px, 8vw, 112px) 0}
.fp-band.paper{background:var(--card)}
.fp-band.night{background:var(--night); color:var(--night-ink)}
:where(.fp-band) p{font-size:clamp(1.0625rem, .3vw + 1rem, 1.1875rem); line-height:1.5}
:where(html:lang(ko) .fp-band) p{line-height:1.7} :where(html:lang(ja) .fp-band) p{line-height:1.8}
:where(.fp-band) p + p{margin-top:14px}
.fp-copy{max-width:44em}
.fp-copy h2 + p{margin-top:24px}

/* screenshot split: copy (with its h2) on the left, the phone on the right */
.shot{display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:clamp(40px, 7vw, 112px); align-items:center}
.shot-col{max-width:34em}
.shot-col h2{margin-bottom:24px}
.shot>img{width:clamp(240px, 24vw, 290px); height:auto; border-radius:40px; margin:8px 8px 8px 0;
  box-shadow:0 0 0 1px rgba(0,0,0,.5), 0 0 0 7px #101312, 0 0 0 8px rgba(255,255,255,.28)}
.shot>img.short{width:clamp(280px, 30vw, 390px); border-radius:var(--r-card); margin:0; box-shadow:none}

/* phase cards: white, shadowless, each wearing its phase colour at the top (the home's tab-gradient tiles) */
.phases{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:clamp(56px, 6vw, 80px)}
.phase{--ph:var(--ph-m-bg); background:linear-gradient(180deg, var(--ph) 0%, color-mix(in srgb, var(--ph) 40%, var(--card)) 34%, var(--card) 70%);
  border-radius:var(--r-card); padding:28px var(--card-x) 30px}
.phase.ph-f{--ph:var(--ph-f-bg)} .phase.ph-o{--ph:var(--ph-o-bg)} .phase.ph-l{--ph:var(--ph-l-bg)}
.phase h3{margin:16px 0 12px; font-size:clamp(1.375rem, .9vw + 1.1rem, 1.75rem); line-height:1.15; letter-spacing:-.025em; text-wrap:balance}
.phase p{font-size:16px; line-height:1.5}
html:lang(ko) .phase p{line-height:1.7} html:lang(ja) .phase p{line-height:1.8}
.phase p + p{margin-top:10px}
.ph-tag{display:inline-flex; align-items:center; min-height:28px; border-radius:999px; padding:0 12px; background:var(--card);
  font-size:13px; font-weight:600; line-height:1.2; letter-spacing:0}
.phase.ph-m .ph-tag{color:var(--ph-m-ink)} .phase.ph-f .ph-tag{color:var(--ph-f-ink)}
.phase.ph-o .ph-tag{color:var(--ph-o-ink)} .phase.ph-l .ph-tag{color:var(--ph-l-ink)}
/* the one note under the four cards — same weight as the cards' text, full width, never fine print */
.cards-note{margin-top:20px; background:var(--card); border-radius:22px; padding:20px var(--card-x)}
.cards-note p{color:var(--ink); font-size:16px}

/* three steps: numbered tiles in a row */
.steps{list-style:none; counter-reset:st; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin-top:clamp(40px, 5vw, 56px)}
.steps li{counter-increment:st; background:var(--bg); border-radius:var(--r-card); padding:28px var(--card-x) 30px}
.steps li::before{content:counter(st); display:block; margin-bottom:18px; font:700 34px/1 var(--font-display); letter-spacing:-.03em; color:var(--ink3); font-variant-numeric:tabular-nums}
.steps b{display:block; font:600 clamp(1.1875rem, .5vw + 1.05rem, 1.375rem)/1.25 var(--font-display); letter-spacing:-.02em; color:var(--ink)}
.steps span{display:block; margin-top:10px; color:var(--ink2); font-size:16px; line-height:1.5}
html:lang(ko) .steps span{line-height:1.7} html:lang(ja) .steps span{line-height:1.8}
/* the clinical note: kept as prominent as the copy around it — a titled note at body size, not footnote grey */
.disc{margin-top:20px; background:var(--bg); border-radius:22px; padding:20px var(--card-x); color:var(--ink); font-size:16px; line-height:1.55}
html:lang(ko) .disc{line-height:1.7} html:lang(ja) .disc{line-height:1.8}
.disc strong{font-weight:600}

/* text section with an illustration beside the copy */
.fp-split{display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:clamp(40px, 6vw, 96px); align-items:center}
.illust{margin:0}
.illust img{width:100%; max-width:560px; border-radius:var(--r-card)}

/* feature cards (planning examples) */
.fp-feats{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:clamp(48px, 5vw, 64px)}
.fp-feats .feat{background:var(--card); border-radius:var(--r-card); padding:28px var(--card-x) 30px}
.feat p{margin-top:10px; font-size:16px}

/* the dark band: optional · separate · discreet — the home's privacy-and-choice moment */
.night h2, .night h3, .night strong{color:var(--night-ink)}
.night p{color:var(--night-2)}
.night .feat{padding-top:24px; border-top:1px solid var(--night-hair)}
.night .feat + .feat{margin-top:24px}
.night ::selection{background:var(--night-ink); color:var(--night)}

/* "From the blog": rows like the home's FAQ — title link, then the summary */
.blog-links h2{margin-bottom:24px}
.blog-links ul{list-style:none; padding:0}
.blog-links li{border-top:1px solid var(--line); padding:18px 0 22px}
.blog-links li:last-child{border-bottom:1px solid var(--line)}
.blog-links li a{display:inline-flex; align-items:center; min-height:44px; font:600 clamp(1.125rem, .4vw + 1.05rem, 1.3125rem)/1.3 var(--font-display); letter-spacing:-.015em; color:var(--ink); text-decoration:underline; text-decoration-color:var(--line); text-decoration-thickness:1px}
.blog-links li p{margin-top:4px; font-size:16px; max-width:44em}

/* FAQ — the home's rows: big question, round plus that turns to a cross */
.fp-faq h2{margin-bottom:24px}
.faq{border-top:1px solid var(--line)}
.faq:last-of-type{border-bottom:1px solid var(--line)}
.faq>summary{display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:68px; padding:14px 0; cursor:pointer; list-style:none;
  font:600 clamp(1.0625rem, .4vw + 1rem, 1.25rem)/1.3 var(--font-display); letter-spacing:-.015em; color:var(--ink); text-wrap:balance; user-select:none; -webkit-tap-highlight-color:transparent}
html:lang(ko) .faq>summary, html:lang(ja) .faq>summary{line-height:1.45}
.faq>summary::-webkit-details-marker{display:none}
.faq>summary::after{content:""; flex:none; width:32px; height:32px; border-radius:50%;
  background:linear-gradient(var(--ink), var(--ink)) center/12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 12px no-repeat, var(--tint);
  transition:transform .28s var(--ease-out)}
.faq[open]>summary::after{transform:rotate(45deg)}
.faq>p{padding:0 52px 24px 0; max-width:40em; font-size:17px}
.faq a{text-decoration:underline}

/* proof (with Kiyo): centred headline, the device pair below — no links in it (it argues for the CTA under it) */
.proof{text-align:center}
.proof-eyebrow{font:600 15px/1.2 var(--font); color:var(--ink2); margin-bottom:14px}
html:lang(en) .proof-eyebrow, html:lang(es) .proof-eyebrow, html:lang(pt) .proof-eyebrow, html:lang(ko) .proof-eyebrow, html:lang(ja) .proof-eyebrow{font-size:12.5px; letter-spacing:.06em; text-transform:uppercase}
.proof-h{max-width:20em; margin:0 auto; font:700 clamp(2.125rem, 3vw + 1.2rem, 3.5rem)/1.05 var(--font-display); letter-spacing:-.035em; color:var(--ink); text-wrap:balance}
html:lang(ko) .proof-h, html:lang(ja) .proof-h{line-height:1.3}
.proof-p{max-width:34em; margin:22px auto 0; font-size:clamp(1.1875rem, .5vw + 1.05rem, 1.375rem); line-height:1.4; text-wrap:balance}
html:lang(ko) .proof-p, html:lang(ja) .proof-p{line-height:1.6}
.proof .proof-fig{margin-top:clamp(40px, 5vw, 64px); text-align:left}

/* close: the four tab colours meet on one horizon (home §7) */
.fp-close{position:relative; padding:clamp(96px, 12vw, 170px) 0; overflow:hidden; isolation:isolate}
.fp-horizon{position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, var(--apricot), var(--sky) 36%, var(--sage) 66%, var(--orchid));
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 55%, #000 100%); mask-image:linear-gradient(180deg, transparent 0%, #000 55%, #000 100%)}
.r-cta{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px 26px; max-width:820px; margin-inline:auto; text-align:center}
.r-cta p{flex:0 0 100%; font:700 clamp(2.125rem, 3vw + 1.2rem, 3.5rem)/1.05 var(--font-display); letter-spacing:-.035em; color:var(--ink); text-wrap:balance}
html:lang(ko) .r-cta p, html:lang(ja) .r-cta p{line-height:1.3}
.r-cta .r-cta-sub{margin:14px 0 28px; font:400 clamp(1.1875rem, .9vw + 1.05rem, 1.625rem)/1.35 var(--font); letter-spacing:-.02em; color:var(--ink2)}
html:lang(ko) .r-cta .r-cta-sub, html:lang(ja) .r-cta .r-cta-sub{line-height:1.6}
.btn{display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 26px; border:0; border-radius:999px;
  background:var(--ink); color:var(--card); font-weight:600; font-size:17px; letter-spacing:-.01em; text-decoration:none; user-select:none;
  -webkit-tap-highlight-color:transparent; transition:transform .14s var(--ease-out), background-color .2s ease}
.btn:active{transform:scale(.97); background:var(--ink-press)}
.r-cta-app{display:inline-flex; align-items:center; min-height:44px; color:var(--ink); font-weight:500; text-decoration:underline; text-decoration-color:color-mix(in srgb, currentColor 32%, transparent); text-decoration-thickness:1px}
@media (hover: hover) and (pointer: fine){
  .btn:hover{background:var(--ink-press)}
  .r-cta-app:hover, .blog-links li a:hover{text-decoration-color:currentColor}
}

/* ── responsive (wider first; one spacing scale 4·8·12·16·20·24·32·40·56·72·96) ── */
@media (max-width: 940px){
  .shot{gap:40px}
  .steps{grid-template-columns:1fr}
  .fp-split{grid-template-columns:1fr; gap:40px}
  .illust img{margin-inline:auto}
}
@media (max-width: 720px){
  :root{--gutter:max(18px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); --r-card:24px; --card-x:24px}
  .fp h2{font-size:1.875rem}
  .fp-hero{padding-top:32px}
  .shot{grid-template-columns:1fr; gap:40px; justify-items:center}
  .shot-col{justify-self:stretch}
  .shot>img{width:min(280px, 74%); margin:7px auto; border-radius:34px; box-shadow:0 0 0 1px rgba(0,0,0,.5), 0 0 0 6px #101312, 0 0 0 7px rgba(255,255,255,.28)}
  .shot>img.short{width:100%; max-width:390px; border-radius:var(--r-card); box-shadow:none; margin:0 auto}
  .phases, .fp-feats{grid-template-columns:1fr; gap:16px}
  .steps{gap:16px}
  .faq>summary{font-size:1.0625rem}
  .faq>p{padding-right:0}
  .r-cta .btn{width:100%}
  .fp-horizon{background-size:220% 100%; background-position:30% 0}
}
@media (max-width: 560px){
  .demo{padding:16px 8px 14px; border-radius:24px}
  .demo-head{padding:0 16px}
  .demo-grid{gap:2px}
  .demo-wd{font-size:11px; text-align:center; padding:4px 0 6px}
  .demo-day{min-height:56px; padding:4px 3px 5px; border-radius:8px}
  .demo-d{font-size:12.5px; text-align:center}
  .demo-ev{font-size:9.5px; line-height:1.2; margin-top:2px; padding-left:0; border-left:0}
  .demo-note{margin:12px 16px 0}
}
@media (max-width: 720px){ html:lang(ja) .fp h1{font-size:1.875rem} html:lang(ja) .fp h2{font-size:1.75rem} }
@media (max-width: 400px){ .fp h1{font-size:2.125rem} }

/* ── user preferences ── */
@media (prefers-reduced-motion: reduce){
  .demo-day, .demo-dot, .demo-toggle, .faq>summary::after, .btn{transition:none}
  .demo-toggle:active, .btn:active{transform:none}
}

/* column widths: reading rows (FAQ · blog) keep the home's narrow measure, but stand on the page line */
.fp-faqlist, .blog-links{max-width:820px}

/* ══ the other three pages (stage 2b, 2026-11-18) — habit-tracker · about · google-calendar-period-tracker ══════════
   Same grammar, no new look: only the pieces their content has and period-planner doesn't (lists, three cards, notes,
   two-column privacy pair, a closer that is a statement rather than a headline). */
.fp-habit{--tab:var(--sage)} .fp-about{--tab:var(--apricot)} .fp-gcal{--tab:var(--sky)}
/* ja habit-tracker's eyebrow is Latin (`Kiyo Habits`) — it stays the uppercase label it was (no tracking: ja rule) */
html:lang(ja) .fp-habit .eyebrow{font-size:12.5px; text-transform:uppercase}

/* lists inside bands: hairline rows like the home's FAQ (blog rows keep their own, more specific rules) */
:where(.fp-band, .fp-close) ul{list-style:none; padding:0; margin:20px 0 0}
:where(.fp-band, .fp-close) li{padding:12px 0; border-top:1px solid var(--line); font-size:16px; line-height:1.5; color:var(--ink2)}
:where(.fp-band, .fp-close) li:last-child{border-bottom:1px solid var(--line)}
:where(html:lang(ko) .fp-band) li{line-height:1.7} :where(html:lang(ja) .fp-band) li{line-height:1.8}
:where(.fp-band) ul + p, :where(.fp-band) .fineprint + p{margin-top:20px}
.night li{color:var(--night-2); border-color:var(--night-hair) !important}
.night a{color:var(--night-ink); text-decoration:underline; text-decoration-color:color-mix(in srgb, currentColor 45%, transparent)}
.shot-col > p + ul{margin-top:16px}

/* habit-tracker · the "not a notification" line and the ja one-line emphasis — kept at body size, never fine print */
.fineprint{margin-top:20px; background:var(--card); border-radius:22px; padding:16px var(--card-x); color:var(--ink) !important; font-size:16px !important}
.paper .fineprint{background:var(--bg)}
.punch{margin-top:20px !important; font:600 19px/1.5 var(--font-display); color:var(--ink) !important}
.night .punch{color:var(--night-ink) !important}
/* the close's one sentence when it has no sub-line (habit-tracker): a step below the period-planner headline */
.r-cta.solo p{max-width:26em; margin:0 auto 28px; font-size:clamp(1.625rem, 1.5vw + 1.15rem, 2.375rem); line-height:1.2; letter-spacing:-.025em}
html:lang(ko) .r-cta.solo p, html:lang(ja) .r-cta.solo p{line-height:1.45}

/* about · three things, three shapes — three white cards in a row (grey band), each with its own inner line */
.fp .cards{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin-top:clamp(40px, 5vw, 56px)}
.fp .card{background:var(--card); border-radius:var(--r-card); padding:28px var(--card-x) 30px}
.paper .card{background:var(--bg)}
.card h3{margin-bottom:10px}
.card p{font-size:16px}
.card-shot{width:100%; height:auto; border-radius:16px; margin:0 0 20px; background:var(--bg)}
/* about · also in Kiyo — the short list as three small cards */
.fp-list3 ul{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin-top:clamp(40px, 5vw, 56px)}
.fp-list3 li, .fp-list3 li:last-child{border:0; background:var(--card); border-radius:22px; padding:22px var(--card-x) 24px}
.paper .fp-list3 li{background:var(--bg)}
.fp-list3 li{font-size:17px}
/* about (ja) · the big Monthly figure, the two-up discreet-mode comparison, and the notes (same weight as the copy) */
.fp .fig{margin:clamp(40px, 5vw, 56px) 0 0}
.fp .fig img{width:100%; border-radius:var(--r-card); box-shadow:0 0 0 1px var(--line)}
.fp figcaption{margin-top:14px; font-size:14px; line-height:1.5; color:var(--ink3)}
.fp .compare{display:grid; grid-template-columns:repeat(2, minmax(0, 260px)); gap:24px; margin-top:32px}
.fp .compare figure{margin:0}
.fp .compare img{border-radius:22px; box-shadow:0 0 0 1px var(--line)}
.fp .note{margin-top:20px; background:var(--bg); border-radius:22px; padding:18px var(--card-x)}
.fp .note p{color:var(--ink); font-size:16px}
.fp-band:not(.paper) .note{background:var(--card)}
.night .note, .fp-band.night .note{background:rgba(255,255,255,.08)}
.night .note p{color:var(--night-ink)}
.fp .more-link{margin-top:20px}
:where(.fp-band) .note + p{margin-top:20px}
/* about (ja) · its one screen shot is a cropped top of Daily (780×1184), not a whole phone screen — no bezel, like .short */
.fp-about .shot>img{width:clamp(280px, 30vw, 390px); border-radius:var(--r-card); margin:0; box-shadow:0 0 0 1px var(--line)}
html:lang(ja) .fp-closer p{word-break:auto-phrase}

/* google-calendar · what goes to Google | what stays out — two equal columns on the dark band */
.fp-pair2{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:clamp(40px, 6vw, 96px)}
.fp-pair2 h2{font-size:clamp(1.625rem, 1.4vw + 1.1rem, 2.25rem); margin-bottom:20px}
.fp-copy > section > h2 + p, .fp-pair2 h2 + p{margin-top:0}
.fp-copy > section > h2{margin-bottom:24px}
/* the hero / close button of the ad landing = the .btn pill */
.fp .pt-cta{display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 26px; border-radius:999px;
  background:var(--ink); color:var(--card); font-weight:600; font-size:17px; letter-spacing:-.01em; text-decoration:none;
  -webkit-tap-highlight-color:transparent; transition:transform .14s var(--ease-out), background-color .2s ease}
.fp .pt-cta:active{transform:scale(.97); background:var(--ink-press)}
.fp-intro > p:has(> .pt-cta){margin-top:28px}

/* closer (about · google-calendar): a centred statement on the horizon, then its buttons and links */
.fp-closer{max-width:820px; text-align:center}
.fp-closer h2{margin-bottom:24px}
.fp-closer p{max-width:36em; margin-inline:auto; color:var(--ink2); font-size:clamp(1.0625rem, .3vw + 1rem, 1.1875rem); line-height:1.5; text-wrap:pretty}
html:lang(ko) .fp-closer p{line-height:1.7} html:lang(ja) .fp-closer p{line-height:1.8}
.fp-closer p + p, .fp-closer section + p{margin-top:14px}
.fp-closer p{text-wrap:balance}
.fp-closer .cta{display:flex; flex-wrap:wrap; justify-content:center; gap:12px 16px; margin-top:36px}
.fp .btn.ghost{background:transparent; color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--ink)}
.fp-closer > p:has(> .pt-cta){margin-top:32px}
.fp-closer .pt-links{display:flex; flex-wrap:wrap; justify-content:center; gap:0 24px; margin:28px 0 0}
.fp-closer .pt-links + .pt-links{margin-top:4px}
.fp-closer .pt-links a, .fp-closer .more-link a{display:inline-flex; align-items:center; min-height:44px; color:var(--ink); font-weight:500;
  text-decoration:underline; text-decoration-color:color-mix(in srgb, currentColor 32%, transparent); text-underline-offset:.18em}
.fp-closer a:not(.btn):not(.pt-cta){color:var(--ink)}
@media (hover: hover) and (pointer: fine){
  .fp .pt-cta:hover{background:var(--ink-press)}
  .fp .btn.ghost:hover{background:var(--tint)}
  .fp-closer .pt-links a:hover{text-decoration-color:currentColor}
}
@media (max-width: 940px){
  .fp .cards, .fp-list3 ul{grid-template-columns:1fr; gap:16px}
  .fp-pair2{grid-template-columns:1fr; gap:56px}
}
@media (max-width: 720px){
  .fineprint{border-radius:18px}
  .fp-about .shot>img{width:100%; max-width:390px; margin:0 auto}
  .fp .compare{grid-template-columns:1fr 1fr; gap:12px}
  .fp-closer .cta .btn{width:100%}
  .fp-intro .pt-cta, .fp-closer .pt-cta{width:100%}
  html .fp .fp-intro .lede{text-wrap:pretty} /* long ledes run past balance's line limit on a phone; pretty still keeps a word off the last line */
}
@media (prefers-reduced-motion: reduce){ .fp .pt-cta{transition:none} .fp .pt-cta:active{transform:none} }
