/* HERA, the PCOS guide (pcos-guide.html and pcos-guide-*.html): the method strip, article cards, the article hero and layout,
   the summary box, tables, the plate graphic, the checklist capture, references, and the compact plan band. Loaded with pcos.css. */

/* ---------- hub ---------- */
/* the eyebrow row with the language switch, same as on the checklist pages */
.ck-top{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.ck-langs{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:var(--white);box-shadow:inset 0 0 0 1px var(--line)}
.ck-langs a{display:inline-flex;align-items:center;height:29px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:500;color:var(--muted);transition:background-color .3s var(--ease),color .3s var(--ease)}
.ck-langs a.on{background:var(--ink);color:var(--pale)}
.ck-langs a:not(.on):hover{background:var(--tint);color:var(--ink)}

.gd-method{display:flex;gap:16px;align-items:flex-start;padding:22px 26px;border-radius:18px;background:var(--white);box-shadow:inset 0 0 0 1px var(--line);font-size:15px;line-height:1.6;color:var(--ink-3);max-width:900px;margin:0}
.gd-method svg{width:22px;height:22px;flex:none;color:var(--ink-hover);background:var(--accent);border-radius:50%;padding:5px;margin-top:2px}
.section--tint .gd-method{box-shadow:none}
.gd-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gd-card{display:flex;flex-direction:column;gap:10px;background:var(--white);border-radius:var(--r-card);padding:26px 26px 22px;box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
.section--tint .gd-card{box-shadow:none}
.gd-card:hover{transform:translateY(-3px);box-shadow:0 24px 50px -30px rgba(16,35,46,.35)}
.gd-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.gd-card-num{font-size:12px;color:var(--muted);letter-spacing:.3px;font-weight:500}
.gd-card .micro{color:var(--ink-hover)}
.gd-card h2,.gd-card h3{font-size:21px;line-height:1.2;letter-spacing:-.5px;font-weight:500}
.gd-card h2 em,.gd-card h3 em{font-weight:400}
.gd-card p{font-size:14.5px;line-height:1.55;color:var(--muted);margin:0;flex:1}
.gd-card-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:var(--muted);padding-top:12px;border-top:1px solid var(--line)}
.gd-card-meta b{font-weight:500;color:var(--ink)}
.gd-card-meta .i{width:14px;height:14px;color:var(--ink);transition:transform .35s var(--ease)}
.gd-card:hover .gd-card-meta .i{transform:translate(2px,-2px)}

/* ---------- article hero ---------- */
.gd-crumb{display:flex;gap:8px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.gd-crumb a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(21,35,43,.3)}
.gd-hero .phero-text{width:780px}
.gd-hero .h1{font-size:60px;letter-spacing:-2.6px;line-height:1.02;max-width:16ch}
.gd-hero .lead-text{max-width:620px}
.gd-meta{display:flex;gap:36px;flex-wrap:wrap;align-items:center;padding-top:6px}
.gd-author{display:flex;gap:12px;align-items:center}
.gd-avatar{width:44px;height:44px;border-radius:50%;background:var(--accent);color:var(--ink);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;letter-spacing:.5px;flex:none}
.gd-author div,.gd-dates{display:flex;flex-direction:column;gap:2px}
.gd-author b,.gd-dates b{font-size:15px;font-weight:500;color:var(--ink)}
.gd-author span,.gd-dates span{font-size:13px;color:var(--muted)}
.gd-dates .micro{font-size:11px}

/* ---------- article layout ---------- */
.gd-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:60px;align-items:flex-start}
.gd-side{position:sticky;top:calc(var(--nav-h) + 24px);display:flex;flex-direction:column;gap:22px}
.gd-side .toc{position:static}
.gd-side-note{font-size:13px;line-height:1.55;color:var(--muted);padding:16px 18px;border-radius:14px;background:var(--tint)}
.gd-side-note a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.gd-body{max-width:720px;display:flex;flex-direction:column;gap:16px;font-size:17px;line-height:1.65;color:var(--ink-3)}
.gd-body h2{font-size:30px;line-height:1.15;letter-spacing:-.9px;font-weight:400;color:var(--ink);padding-top:30px;scroll-margin-top:calc(var(--nav-h) + 20px)}
.gd-body h2 em{font-weight:400}
.gd-body h3{font-size:19px;font-weight:500;color:var(--ink);padding-top:8px}
.gd-body p{margin:0}
.gd-body ul,.gd-body ol{padding-left:20px;display:flex;flex-direction:column;gap:8px;margin:0}
.gd-body ul{list-style:disc}
.gd-body a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(21,35,43,.3)}
.gd-body a:hover{text-decoration-color:var(--ink)}
.gd-src{font-size:13.5px;color:var(--muted)}
.gd-sum{background:var(--tint);border-radius:18px;padding:24px 26px;display:flex;flex-direction:column;gap:12px;margin-bottom:8px}
.gd-sum .micro{color:var(--ink)}
.gd-sum ul{list-style:none;padding:0;gap:9px}
.gd-sum li{font-size:15.5px;line-height:1.55;color:var(--ink-3);padding-left:18px;position:relative}
.gd-sum li::before{content:"";position:absolute;left:0;top:9px;width:8px;height:8px;border-radius:50%;background:var(--accent-2)}
.gd-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:6px 0}
.gd-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.5}
.gd-table th{text-align:left;font-size:11px;letter-spacing:1px;text-transform:uppercase;font-weight:600;color:var(--muted);padding:0 12px 10px 0;border-bottom:1px solid var(--line)}
.gd-table td{padding:12px 12px 12px 0;border-bottom:1px solid var(--line);vertical-align:top;color:var(--ink-3)}
.gd-table td:first-child{font-weight:500;color:var(--ink);white-space:nowrap}
.gd-box{border-left:2px solid var(--accent-2);padding:4px 0 4px 20px;display:flex;flex-direction:column;gap:8px}
.gd-box .micro{color:var(--ink)}
.gd-box p{font-size:15.5px}
.gd-disclaimer{font-size:14px;line-height:1.55;color:var(--muted);padding:14px 18px;border:1px solid var(--line);border-radius:14px;margin-top:10px}
.gd-refs{font-size:14px;line-height:1.55;color:var(--muted);gap:10px}
.gd-refs li{padding-left:4px}
.gd-refs a{word-break:break-all}

/* ---------- the plate ---------- */
.gd-plate{display:grid;grid-template-columns:230px 1fr;gap:28px;align-items:center;background:var(--white);border-radius:18px;padding:26px;box-shadow:inset 0 0 0 1px var(--line);margin:6px 0}
.section--tint .gd-plate{box-shadow:none}
.gd-plate svg{width:100%;height:auto;display:block}
.gd-plate ul{list-style:none;padding:0;gap:10px}
.gd-plate li{display:grid;grid-template-columns:14px 1fr;gap:12px;align-items:baseline;font-size:15px;line-height:1.5;color:var(--ink-3)}
.gd-plate li i{width:12px;height:12px;border-radius:50%;display:inline-block;transform:translateY(1px)}
.gd-plate li b{color:var(--ink);font-weight:500}

/* ---------- the checklist capture ---------- */
.gd-capture{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;background:var(--ink-deep);color:var(--pale);border-radius:var(--r-card);padding:32px 34px;margin:14px 0 8px;position:relative;overflow:hidden}
.gd-capture::before{content:"";position:absolute;inset:0;background:radial-gradient(120% 90% at 90% 0%,rgba(191,228,246,.16),transparent 55%);pointer-events:none}
.gd-capture>*{position:relative}
.gd-capture .micro{color:var(--pale-62)}
.gd-capture h3{font-size:24px;line-height:1.15;letter-spacing:-.6px;font-weight:300;color:var(--pale);margin:8px 0 10px;padding:0}
.gd-capture h3 em{font-weight:400}
.gd-capture p{font-size:14.5px;line-height:1.55;color:var(--pale-62);margin:0}
.gd-capture-form{gap:10px}
.gd-capture-row{display:flex;gap:10px;flex-wrap:wrap}
.gd-capture-row .field{flex:1;min-width:200px}
.gd-capture-row .input{background:rgba(255,255,255,.08);border-color:var(--line-dark);color:var(--pale)}
.gd-capture-row .input::placeholder{color:var(--pale-62)}
.gd-capture-row .input:focus{background:rgba(255,255,255,.12);border-color:var(--pale)}
.gd-capture-row .btn{background:var(--accent);color:var(--ink-hover)}
.gd-capture-row .btn:hover{background:var(--white)}
.gd-capture .field.err .input{box-shadow:inset 0 0 0 1.5px #E08A74}
.gd-capture .form-note{color:var(--pale-62);font-size:12.5px;line-height:1.5}
.gd-capture .form-note a{color:var(--pale)}
.gd-capture .form-done{background:rgba(255,255,255,.08);color:var(--pale);padding:18px 20px;font-size:15px;line-height:1.55}
.gd-capture .form-done a{color:var(--pale);text-decoration:underline;text-underline-offset:3px}
.gd-body .gd-capture{font-size:15px}

/* ---------- related and the plan band ---------- */
.gd-related .head{margin-bottom:0}
.gd-plan .cta-panel{padding:48px}
.gd-plan .cta-panel .h2{font-size:42px;letter-spacing:-1.6px;padding-top:20px}
.gd-plan .cta-panel .text{padding-bottom:26px}

/* ---------- responsive ---------- */
@media (max-width:1100px){.gd-cards{grid-template-columns:1fr 1fr}.gd-grid{grid-template-columns:1fr;gap:28px}.gd-side{position:static}.gd-side .toc{display:none}.gd-hero .h1{font-size:50px;letter-spacing:-2px}}
@media (max-width:809px){.gd-cards{grid-template-columns:1fr}.gd-capture{grid-template-columns:1fr;padding:26px 22px}.gd-plate{grid-template-columns:1fr}.gd-plate svg{max-width:220px}.gd-plan .cta-panel{padding:32px 24px}.gd-plan .cta-panel .h2{font-size:34px;letter-spacing:-1.3px}}
@media (max-width:600px){.gd-hero .h1{font-size:38px;letter-spacing:-1.5px}.gd-body{font-size:16px}.gd-body h2{font-size:26px;letter-spacing:-.7px}.gd-meta{gap:18px}.gd-table{font-size:13.5px}.gd-table td:first-child{white-space:normal}.gd-sum{padding:20px}}

/* ---- refinement pass (2026-11-10) ---- */
/* result pages: the free checklist is a light card so it does not stack on the dark plan band */
body[data-pattern-result] section#checklist .gd-capture{background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line);margin:0}
body[data-pattern-result] section#checklist .gd-capture::before{display:none}
body[data-pattern-result] section#checklist .gd-capture .micro,body[data-pattern-result] section#checklist .gd-capture p,body[data-pattern-result] section#checklist .gd-capture .form-note{color:var(--muted)}
body[data-pattern-result] section#checklist .gd-capture h3,body[data-pattern-result] section#checklist .gd-capture .form-note a{color:var(--ink)}
body[data-pattern-result] section#checklist .gd-capture-row .input{background:var(--bg);border-color:var(--line);color:var(--ink)}
body[data-pattern-result] section#checklist .gd-capture-row .input::placeholder{color:var(--muted)}
body[data-pattern-result] section#checklist .gd-capture-row .btn{background:var(--ink);color:var(--pale)}
body[data-pattern-result] section#checklist .gd-capture-row .btn:hover{background:var(--ink-hover)}
body[data-pattern-result] section#checklist .gd-capture .form-done{background:var(--tint);color:var(--ink)}
body[data-pattern-result] section#checklist .gd-capture .form-done a{color:var(--ink)}
body[data-pattern-result] section#checklist+#plan{padding-top:24px}
@media (max-width:600px){.gd-capture-row .btn{width:100%}}
/* guide hub, refinement pass (2026-11-10): references, measure, contents, table, hero */
.gd-refs{list-style:decimal;padding-left:24px}
.gd-refs li::marker{color:var(--ink);font-variant-numeric:tabular-nums}
.gd-refs a{word-break:normal;overflow-wrap:anywhere}
.gd-body h2{text-wrap:balance}
.gd-hero .h1{max-width:22ch;text-wrap:balance}
.gd-related .head-side>.btn{width:auto}
.gd-side-note a{white-space:nowrap}
.gd-method{max-width:none}
.gd-band .h2,.gd-plan .h2{text-wrap:balance}
.gd-toc>summary{list-style:none;margin-bottom:8px;pointer-events:none}
.gd-toc>summary::-webkit-details-marker{display:none}
@media (min-width:1101px){
  .gd-hero .phero-text{width:940px}
  .gd-hero .lead-text{max-width:640px}
  .gd-meta{flex-wrap:nowrap;gap:40px}
  .gd-body{font-size:18px;line-height:1.7}
}
@media (max-width:1100px){
  .gd-side-note{display:none}
  .gd-side .toc{display:flex;max-height:none;overflow:visible;padding-bottom:10px}
  .gd-toc{background:var(--white);border-radius:14px;box-shadow:inset 0 0 0 1px var(--line);padding:0 16px}
  .gd-toc>summary{pointer-events:auto;cursor:pointer;display:flex;justify-content:space-between;align-items:center;margin:0;padding:16px 0;color:var(--ink)}
  .gd-toc>summary::after{content:"+";font-size:18px;line-height:1;font-weight:300;letter-spacing:0}
  .gd-toc[open]>summary::after{content:"\2212"}
  .gd-toc .toc a{padding:9px 0}
}
@media (max-width:809px){
  .gd-plate svg{margin:0 auto}
  .ck-langs a{height:38px;padding:0 15px}
}
@media (max-width:600px){
  .gd-method{flex-direction:column;gap:10px;padding:20px}
  .gd-table-wrap{overflow:visible}
  .gd-table,.gd-table tbody{display:block}
  .gd-table thead{display:none}
  .gd-table tr{display:block;padding:12px 0;border-top:1px solid var(--line)}
  .gd-table tr:last-child{border-bottom:1px solid var(--line)}
  .gd-table td{display:block;padding:2px 0;border:0;font-size:14.5px}
  .gd-table td:empty{display:none}
  .gd-table td:first-child{font-size:11px;letter-spacing:1px;text-transform:uppercase;font-weight:600;color:var(--muted)}
  .gd-table td:nth-child(2){font-weight:500;color:var(--ink)}
  .gd-table td[data-l]::before{content:attr(data-l) ": ";color:var(--muted)}
}
.gd-hub-facts{gap:20px 32px}
@media (min-width:1000px){.gd-method{display:grid;grid-template-columns:auto 1fr 1fr;gap:16px 44px}.gd-method span+span{padding-left:44px;box-shadow:inset 1px 0 0 var(--line)}}
/* v263: the checklist card inside an article: the button is as wide as the field above it */
.gd-body .gd-capture .btn{width:100%;justify-content:center}
