
/* Phasly blog. Generated by build_blog.py — edit the script, not this file.
   Tokens below are copied from index.html at build time. */
:root {
    /* Canvas + ink. same values the Home tab uses for P.bg / P.ink. */
    --bg:#FCFAF9; --bg-card:#FCFAF9; --card:#EDE9E2; --card-dark:#DFD8CC;
    --text:#2C2218; --text-sec:#817769; --text-ter:#9A8F84;
    --border:#E6DED5; --line:#E6DED5;
    /* Brand pink. Adelina 2026-08: brand-d is the muted rose #C4909A the
       headlines have always used, not the app's deeper chip pink. */
    --brand:#EBBFC7; --brand-d:#C4909A; --brand-press:#45372A;
    /* Phase tints, straight from theme.ts. */
    --mens:#EBBFC7; --mens-bg:#FCEEF1; --mens-line:#F0C4D2;
    --foll:#AEBDE0; --foll-bg:#EBF0F9; --foll-d:#3E5C99;
    --ovul:#FFEDA8; --ovul-bg:#FFF6DC; --ovul-d:#8A6A15;
    --lute:#C4BBAE; --lute-bg:#F3F0EC;
    --preg:#9F8DC4; --preg-bg:#E7DFEE;
    --taupe:#C4BBAE;
    /* Radii. sharp is the default now. */
    --r20:0px; --r12:0px; --r-photo:14px; --r-pill:999px;
    --gutter:5%;
  }

*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; background:var(--bg); -webkit-text-size-adjust:100%; overflow-x:hidden; }
body {
  /* isolate + transparent so the two wash layers below (z-index:-1) paint
     above the page base instead of being covered by body's own background
     box. html carries the base colour — same arrangement as index.html. */
  position:relative; isolation:isolate; margin:0;
  /* Column layout so a short page (the index with one post) is still a full
     viewport tall. Without it the top and bottom washes overlap and tint
     the whole page instead of bracketing it. */
  display:flex; flex-direction:column; min-height:100vh;
  font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:transparent; color:var(--text);
  overflow-x:hidden; font-synthesis:none; -webkit-font-smoothing:antialiased;
}
main { flex:1 0 auto; min-width:0; }

/* The same Phoebe-icon wash the landing page opens and closes with. Top
   layer is the hero band, fading out before the body copy starts; bottom
   layer is its mirror, so the footer sits on colour exactly as it does on
   the home page. */
body::before {
  content:''; position:absolute; left:0; right:0; top:0;
  height:560px; z-index:-1; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(252,250,249,0) 52%, #FCFAF9 100%),
    radial-gradient(88% 150% at 0% 0%,   #F9D8E2 0%, rgba(249,216,226,0) 72%),
    radial-gradient(88% 150% at 100% 2%, #DCE0F7 0%, rgba(220,224,247,0) 72%),
    radial-gradient(115% 125% at 50% 0%, #FDF1D6 0%, rgba(253,241,214,0) 70%),
    #FCFAF9;
}
body::after {
  content:''; position:absolute; left:0; right:0; bottom:0;
  height:420px; z-index:-1; pointer-events:none;
  background:
    linear-gradient(180deg, #FCFAF9 0%, rgba(252,250,249,0) 26%),
    radial-gradient(80% 80% at 4% 100%,   #DCE0F7 0%, rgba(220,224,247,0) 64%),
    radial-gradient(80% 80% at 100% 96%,  #F9D8E2 0%, rgba(249,216,226,0) 64%),
    radial-gradient(90% 90% at 50% 100%,  #FDF1D6 0%, rgba(253,241,214,0) 62%),
    #FCFAF9;
}

a { color:var(--foll-d); }
.answer a { color:var(--foll-d); text-decoration-color:var(--foll); text-underline-offset:3px; }
::selection { background:var(--mens-bg); color:var(--text); }
img { max-width:100%; height:auto; }

@keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }

/* ── nav ──────────────────────────────────────────────────────────────── */
/* Invisible at the top so the wash runs edge to edge, filling in on scroll —
   the landing page's behaviour, not a second one.
   Scoped to .topbar: the breadcrumb and the table of contents are <nav>
   landmarks too, and a bare `nav` selector laid them out as flex rows. */
nav.topbar {
  position:sticky; top:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 var(--gutter); height:64px;
  background:transparent; border-bottom:1px solid transparent;
  transition:background .3s ease, border-color .3s ease;
}
nav.topbar.scrolled {
  background:rgba(252,250,249,.92);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom-color:var(--line);
}
.nav-logo {
  font-family:'Playfair Display',Georgia,serif; font-size:15px; font-weight:400;
  letter-spacing:.34em; text-transform:uppercase; color:var(--text-ter);
  text-decoration:none; transition:color .2s;
}
.nav-logo:hover { color:var(--text); }
.nav-links { display:flex; gap:30px; align-items:center; }
.nav-links a { font-size:13px; font-weight:400; color:var(--text-sec); text-decoration:none; transition:color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color:var(--text); }
.nav-cta {
  background:var(--text); color:#fff; border:1px solid var(--text); border-radius:0;
  padding:11px 22px; font-family:inherit; font-size:12.5px; font-weight:500;
  letter-spacing:.02em; cursor:pointer; text-decoration:none; display:inline-block;
  transition:background .2s;
}
.nav-cta:hover { background:var(--brand-press); border-color:var(--brand-press); }
@media (max-width:760px) { .nav-links { display:none; } }

/* ── article shell ────────────────────────────────────────────────────── */
.wrap { width:100%; max-width:1080px; margin:0 auto; padding:0 var(--gutter); min-width:0; }
.article-head { max-width:720px; margin:0 auto; padding:56px 0 0; }
.breadcrumb { font-size:12px; color:var(--text-ter); margin-bottom:24px; animation:fadeUp .7s .04s ease both; }
.breadcrumb a { color:var(--text-sec); text-decoration:none; }
.breadcrumb a:hover { color:var(--text); }
.kicker {
  font-size:11px; font-weight:500; letter-spacing:.09em; text-transform:uppercase;
  color:var(--text-sec); margin-bottom:14px; animation:fadeUp .7s .08s ease both;
}
/* Display type, matching the hero: Playfair 600, tight leading, negative
   tracking, and an italic pink emphasis where a word is marked *like this*
   in the front matter. */
h1.title {
  font-family:'Playfair Display',Georgia,serif; font-weight:600;
  font-size:clamp(34px,4.6vw,58px); line-height:1.02; letter-spacing:-.04em;
  color:var(--text); margin:0 0 20px; animation:fadeUp .7s .12s ease both;
}
h1.title em { font-style:italic; color:var(--brand-d); }
.dek { font-size:17px; line-height:1.7; color:var(--text-sec); margin:0 0 28px; animation:fadeUp .7s .2s ease both; }
.meta {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 0;
  font-size:12.5px; color:var(--text-ter);
  padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  animation:fadeUp .7s .26s ease both;
}
.meta > * + *::before { content:'·'; margin:0 10px; color:var(--border); }
.meta strong { color:var(--text-sec); font-weight:500; }

/* ── the answer box. First thing a reader — or a model — reads. ────────── */
.answer {
  max-width:720px; margin:36px auto 0; padding:28px 30px;
  background:var(--mens-bg); border-left:2px solid var(--brand);
}
.answer h2 {
  font-family:inherit; font-size:11px; font-weight:500; letter-spacing:.09em;
  text-transform:uppercase; color:var(--text-sec); margin:0 0 14px;
}
.answer p { margin:0 0 12px; font-size:16px; line-height:1.68; }
.answer p:last-child { margin-bottom:0; }

/* ── table of contents ────────────────────────────────────────────────── */
.toc { max-width:720px; margin:34px auto 0; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.toc-label { font-size:11px; font-weight:500; letter-spacing:.09em; text-transform:uppercase; color:var(--text-ter); margin-bottom:13px; }
.toc ol { margin:0; padding-left:18px; }
.toc li { font-size:14.5px; line-height:1.55; margin-bottom:7px; }
.toc a { color:var(--text-sec); text-decoration:none; }
.toc a:hover { color:var(--text); text-decoration:underline; }

/* ── body ─────────────────────────────────────────────────────────────── */
.body { max-width:720px; margin:0 auto; padding:8px 0 0; }
.body h2 {
  font-family:'Playfair Display',Georgia,serif; font-weight:600;
  font-size:clamp(24px,2.9vw,32px); line-height:1.14; letter-spacing:-.025em;
  margin:56px 0 18px; scroll-margin-top:84px;
}
.body h3 { font-size:17.5px; font-weight:500; margin:34px 0 12px; scroll-margin-top:84px; }
.body p { font-size:17px; line-height:1.72; margin:0 0 20px; }
.body ul, .body ol { font-size:17px; line-height:1.72; padding-left:22px; margin:0 0 22px; }
.body li { margin-bottom:10px; }
.body a { color:var(--text); text-decoration:underline; text-decoration-color:var(--brand); text-underline-offset:3px; }
.body a:hover { text-decoration-color:var(--text); }
.body strong { font-weight:500; color:var(--text); }
.body em { font-style:italic; }
.body blockquote {
  margin:32px 0; padding:2px 0 2px 24px; border-left:2px solid var(--brand);
  font-family:'Playfair Display',Georgia,serif; font-size:21px; line-height:1.45;
  letter-spacing:-.015em; font-style:italic; color:var(--text-sec);
}
.body blockquote p { font-size:inherit; line-height:inherit; margin:0; }
.body hr { border:0; border-top:1px solid var(--line); margin:44px 0; }
.body code { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.9em; background:var(--card); padding:2px 5px; }
.table-scroll { overflow-x:auto; margin:28px 0; }
.body table { border-collapse:collapse; width:100%; font-size:15px; min-width:520px; }
.body th, .body td { text-align:left; padding:13px 14px; border-bottom:1px solid var(--line); vertical-align:top; }
.body th { font-weight:500; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-sec); background:var(--mens-bg); }
.body sup a, .answer sup a { text-decoration:none; color:var(--brand-d); font-size:12px; font-weight:500; padding:0 1px; }
/* Two citations in a row otherwise read as one number: "12" for refs 1 and 2. */
sup + sup::before { content:','; color:var(--brand-d); font-size:12px; font-weight:500; }

/* One number worth stopping on. Phase tint, same family as the app's cards. */
.stat { margin:36px 0; padding:28px 30px; background:var(--lute-bg); border-left:2px solid var(--taupe); }
.stat .n { font-family:'Playfair Display',Georgia,serif; font-size:44px; line-height:1; font-weight:600; letter-spacing:-.03em; }
.stat .t { font-size:14.5px; line-height:1.6; color:var(--text-sec); margin-top:12px; }

/* ── share ────────────────────────────────────────────────────────────── */
.share { max-width:720px; margin:0 auto; display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.share.top { padding:22px 0 0; animation:fadeUp .7s .32s ease both; }
.share.bottom { padding:36px 0; margin-top:44px; border-top:1px solid var(--line); }
.share-label { font-size:11px; font-weight:500; letter-spacing:.09em; text-transform:uppercase; color:var(--text-ter); margin-right:6px; }
.share-btn {
  width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border); background:transparent; color:var(--text-sec);
  cursor:pointer; text-decoration:none; padding:0; transition:all .2s;
}
.share-btn:hover { background:var(--text); border-color:var(--text); color:#fff; }
.share-btn svg { width:16px; height:16px; fill:currentColor; }
.share-btn.copied { background:var(--brand); border-color:var(--brand); color:var(--text); }

/* ── likes and views ──────────────────────────────────────────────────── */
/* The button is always there; the numbers appear only once they clear the
   threshold set in PHASLY_BLOG. A brand-new article showing "3 views" argues
   against itself. */
.engage { max-width:720px; margin:44px auto 0; padding-top:30px; border-top:1px solid var(--line); display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.like-btn {
  display:inline-flex; align-items:center; gap:9px; padding:10px 18px;
  border:1px solid var(--border); background:transparent; border-radius:0;
  font-family:inherit; font-size:13.5px; font-weight:500; color:var(--text-sec);
  cursor:pointer; transition:all .2s;
}
.like-btn:hover { border-color:var(--text); color:var(--text); }
.like-btn svg { width:17px; height:17px; fill:currentColor; transition:transform .2s; }
.like-btn[aria-pressed="true"] { border-color:var(--brand); background:var(--mens-bg); color:var(--brand-d); }
.like-btn[aria-pressed="true"] svg { transform:scale(1.08); }
.like-btn[disabled] { opacity:.55; cursor:default; }
.like-n:empty { display:none; }
.view-n { font-size:12.5px; color:var(--text-ter); }
.view-n:empty { display:none; }
/* The same controls sit in the top rail, pushed to the far edge and a size
   down so the share row stays the dominant thing there. */
.engage-inline { margin-left:auto; display:flex; align-items:center; gap:14px; }
.share .like-btn { padding:8px 15px; font-size:13px; }
.share .like-btn svg { width:15px; height:15px; }
@media (max-width:760px) {
  .engage-inline { margin-left:0; width:100%; margin-top:14px; }
  /* Seven icons at 36px plus gaps come to 300px; the label was what pushed
     the row over 351px of usable width on a 390px screen and wrapped it. */
  .share-label { display:none; }
  .share { gap:7px; }
}
.meta .view-n:empty { display:none; }
/* The form is one 56px bordered box with the button flush inside it, as on
   the landing page — not an input and a button with a gap between them. */
.signup { max-width:720px; margin:52px auto; padding:38px 34px; background:var(--lute-bg); }
.signup h3 {
  font-family:'Playfair Display',Georgia,serif; font-weight:600; font-size:clamp(24px,2.6vw,30px);
  line-height:1.1; letter-spacing:-.03em; margin:0 0 12px;
}
.signup h3 em { font-style:italic; color:var(--brand-d); }
.signup p { font-size:15px; line-height:1.7; color:var(--text-sec); margin:0 0 24px; max-width:460px; }
.signup form { display:flex; width:100%; max-width:460px; height:56px; border:1px solid var(--line); background:#fff; }
.signup input[type=email] {
  flex:1; min-width:0; border:none; border-radius:0; background:transparent;
  padding:0 18px; font-family:inherit; font-size:14px; color:var(--text); outline:none;
}
.signup input[type=email]::placeholder { color:var(--text-ter); }
.signup input[type=email]:focus-visible { box-shadow:inset 0 0 0 2px #AEB5E9; }
.signup button {
  border:none; border-radius:0; padding:0 22px; background:var(--text); color:#fff;
  font-family:inherit; font-size:14px; font-weight:500; letter-spacing:.02em;
  cursor:pointer; white-space:nowrap; transition:background .2s;
}
.signup button:hover { background:var(--brand-press); }
.signup .fine { font-size:12px; color:var(--text-ter); margin:16px 0 0; max-width:460px; }
.hp { position:absolute; left:-9999px; }

/* ── a note from the founder ──────────────────────────────────────────── */
/* First-hand experience is the part of a health article no literature review
   can supply, so it gets its own frame rather than blending into the body. */
.note { max-width:720px; margin:52px auto; padding:34px 34px 30px; background:var(--mens-bg); scroll-margin-top:84px; }
.note-head { display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.note-photo { flex:0 0 auto; width:52px; height:52px; border-radius:50%; overflow:hidden; background:var(--bg); }
.note-photo img { width:100%; height:100%; object-fit:cover; object-position:50% 16%; display:block; }
.note-label { font-size:11px; font-weight:500; letter-spacing:.09em; text-transform:uppercase; color:var(--text-sec); }
.note-name { font-family:'Playfair Display',Georgia,serif; font-size:19px; font-weight:600; letter-spacing:-.02em; margin-top:3px; }
.note-role { font-size:12.5px; color:var(--text-sec); margin-top:3px; }
.note p { font-size:16.5px; line-height:1.75; margin:0 0 16px; }
.note p:last-child { margin-bottom:0; }
.note p em { font-style:italic; color:var(--text); }

/* ── references ───────────────────────────────────────────────────────── */
.refs { max-width:720px; margin:52px auto 0; padding-top:30px; border-top:1px solid var(--line); }
.refs h2 { font-size:11px; font-weight:500; letter-spacing:.09em; text-transform:uppercase; color:var(--text-sec); margin:0 0 18px; font-family:inherit; }
.refs ol { padding-left:20px; margin:0; }
.refs li { font-size:13.5px; line-height:1.65; color:var(--text-sec); margin-bottom:13px; }
.refs a { color:var(--text-sec); }

/* ── author ───────────────────────────────────────────────────────────── */
.author { max-width:720px; margin:44px auto 0; padding:26px 0; border-top:1px solid var(--line); display:flex; gap:18px; align-items:flex-start; }
.author-dot { flex:0 0 auto; width:56px; height:56px; background:var(--brand); display:flex; align-items:center; justify-content:center; font-family:'Playfair Display',Georgia,serif; font-size:21px; color:var(--text); border-radius:50%; }
/* Same crop as the founder card on the landing page — the face sits high in
   the frame, so a centred cover crop would cut the top of her head. */
.author-photo { flex:0 0 auto; width:56px; height:56px; border-radius:50%; overflow:hidden; background:var(--mens-bg); }
.author-photo img { width:100%; height:100%; object-fit:cover; object-position:50% 16%; display:block; }
.author-name { font-size:14.5px; font-weight:500; margin:0 0 5px; }
.author-bio { font-size:13.5px; line-height:1.65; color:var(--text-sec); margin:0; }

/* ── related / index cards ────────────────────────────────────────────── */
.related { max-width:720px; margin:0 auto; padding:40px 0 0; }
.related-label { font-size:11px; font-weight:500; letter-spacing:.09em; text-transform:uppercase; color:var(--text-ter); margin-bottom:18px; }
.card-list { display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
.card { background:var(--bg); padding:26px 28px; text-decoration:none; display:block; transition:background .2s; }
.card:hover { background:var(--mens-bg); }
.card-kicker { font-size:10.5px; font-weight:500; letter-spacing:.09em; text-transform:uppercase; color:var(--text-ter); margin-bottom:10px; }
.card-title { font-family:'Playfair Display',Georgia,serif; font-weight:600; font-size:22px; line-height:1.16; letter-spacing:-.025em; color:var(--text); margin:0 0 9px; }
.card-title em { font-style:italic; color:var(--brand-d); }
.card-dek { font-size:14.5px; line-height:1.6; color:var(--text-sec); margin:0; }
.card-meta { font-size:12px; color:var(--text-ter); margin-top:13px; }

/* ── blog index ───────────────────────────────────────────────────────── */
.index-head { max-width:640px; margin:0 auto; padding:76px 0 48px; text-align:center; }
.index-head h1 {
  font-family:'Playfair Display',Georgia,serif; font-weight:600;
  font-size:clamp(36px,5vw,64px); line-height:1.0; letter-spacing:-.045em;
  margin:0 0 20px; animation:fadeUp .7s .1s ease both;
}
.index-head h1 em { font-style:italic; color:var(--brand-d); }
.index-head p { font-size:16px; line-height:1.75; color:var(--text-sec); margin:0; animation:fadeUp .7s .2s ease both; }
.index-list { max-width:720px; margin:0 auto 72px; animation:fadeUp .7s .3s ease both; }

/* ── footer ───────────────────────────────────────────────────────────── */
footer { flex:0 0 auto; margin-top:96px; padding:44px var(--gutter); background:transparent; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; }
.footer-logo { font-family:'Playfair Display',Georgia,serif; font-size:14px; font-weight:400; letter-spacing:.34em; text-transform:uppercase; color:var(--text-ter); text-decoration:none; transition:color .2s; }
.footer-logo:hover { color:var(--text); }
.socials { display:flex; gap:8px; }
.social-btn { width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--border); color:var(--text-sec); text-decoration:none; transition:all .2s; }
.social-btn:hover { background:var(--text); color:#fff; border-color:var(--text); }
.social-btn svg { width:16px; height:16px; fill:currentColor; }
.footer-links { display:flex; gap:24px; flex-wrap:wrap; }
.footer-links a { font-size:12.5px; color:var(--text-sec); text-decoration:none; }
.footer-links a:hover { color:var(--text); }
.footer-copy { font-size:11.5px; color:var(--text-ter); }

@media (max-width:760px) {
  .article-head { padding-top:36px; }
  .answer, .signup { padding:24px 22px; }
  .stat { padding:24px 22px; }
  .body p, .body ul, .body ol { font-size:16.5px; }
  .signup form { height:52px; }
  footer { flex-direction:column; align-items:flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; }
}
