/* Streaks theme (sober-tracked.com), loaded after site.css; every rule is scoped under .theme-streaks.
   Night-green ground, light text, tabular numerals, the app's green band and a warm amber for highlights.
   Measured on the ground: ink 15.7:1, muted 10.3:1, dim 7.1:1, green-t 10.9:1, amber-t 11.8:1; dark text on amber 9.3:1.
   Raw band fills colour tiles and bars only, never small text. No webfonts, images or inline styles; works without JS. */

@property --n{syntax:"<integer>";inherits:false;initial-value:47}

body.theme-streaks{
  --ground:#0C1812;--ground-2:#0F1E16;--panel:#142A1F;--panel-2:#1B3427;
  --line:#2E4D3C;--line-2:#4E7360;
  --ink:#E9F1E3;--muted:#B4C8B9;--dim:#8FA897;
  --green-t:#B7D27E;--amber:#E3BC42;--amber-t:#F0CD6A;--on-amber:#14200F;
  --mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  /* Re-point the shared tokens so any shared rule that is not restyled below still reads on the dark ground. */
  --bg:var(--ground);--border:var(--line);--paper:var(--panel);--accent-soft:var(--panel-2);
  --coral:var(--amber);--coral-deep:var(--amber-t);
  background:var(--ground);color:var(--ink);color-scheme:dark;font-family:var(--sans);font-size:17px;line-height:1.6;
  background-image:radial-gradient(900px 420px at 78% -80px,rgba(143,174,88,.16),transparent 70%);
  background-repeat:no-repeat;
}
.theme-streaks ::selection{background:var(--amber);color:var(--on-amber)}
.theme-streaks a{color:var(--green-t)}
.theme-streaks :focus-visible{outline:3px solid var(--amber-t);outline-offset:3px;border-radius:4px}
.theme-streaks h1,.theme-streaks h2,.theme-streaks h3{font-family:var(--sans);font-weight:800;letter-spacing:-.025em;color:var(--ink)}
.theme-streaks .section{padding:64px 0}
.theme-streaks .section-kicker,.theme-streaks .eyebrow{font-family:var(--mono);font-size:.74rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--green-t);text-align:left;margin:0 0 16px}
.theme-streaks .section-title{text-align:left;max-width:none;margin:0 0 28px}
.theme-streaks .skip-link{background:var(--amber);color:var(--on-amber);font-weight:800}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- Bar ---------- */
.theme-streaks .site-header{background:rgba(12,24,18,.9);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.theme-streaks .nav{padding:10px 20px}
.theme-streaks .wordmark{color:var(--ink);font-weight:800;font-size:1.2rem;letter-spacing:-.02em;min-height:44px}
.theme-streaks .wordmark img{width:34px;height:34px;border-radius:9px}
.theme-streaks .nav-links{color:var(--muted);gap:22px;font-weight:600}
.theme-streaks .nav-links a:not(.btn){display:inline-flex;align-items:center;min-height:44px;color:var(--muted)}
.theme-streaks .nav-links a:not(.btn):hover{color:var(--ink)}
.theme-streaks .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:12px;border:2px solid transparent;padding:11px 22px;font-size:1rem;font-weight:800;line-height:1.2;text-align:center;text-decoration:none;transition:background-color .15s,border-color .15s}
.theme-streaks .btn-coral{background:var(--amber);border-color:var(--amber);color:var(--on-amber)}
.theme-streaks .btn-coral:hover{background:var(--amber-t);border-color:var(--amber-t);filter:none}
.theme-streaks .btn-ios{background:transparent;border-color:var(--line-2);color:var(--ink)}
.theme-streaks .btn-ios:hover{background:rgba(183,210,126,.1);border-color:var(--green-t)}
.theme-streaks .nav .btn,.theme-streaks .nav-links .btn-coral{min-height:44px;padding:8px 16px;font-size:.92rem}
.theme-streaks .nav-links .btn-coral{color:var(--on-amber)}
.theme-streaks .nav-links .btn-ios{color:var(--ink)}
@media(max-width:820px){
  .theme-streaks .site-header{position:static}
  .theme-streaks .nav{flex-wrap:nowrap;justify-content:space-between;padding:8px 20px}
  .theme-streaks .nav .nav-links{flex-wrap:nowrap;justify-content:flex-end;gap:10px}
  .theme-streaks .nav-links a[href="/blog"],.theme-streaks .nav.has-ios .nav-links a[href="/blog"]{display:inline-flex}
  .theme-streaks .nav-links a[href="/#how"],.theme-streaks .nav-links a[href="/#features"]{display:none}
}
@media(max-width:600px){
  /* Phones: the bar is two rows. Row one is the name and the Guides link, row two holds the store buttons. */
  .theme-streaks .nav{flex-wrap:wrap;row-gap:6px;padding:8px 20px 14px}
  .theme-streaks .nav .nav-links{display:contents}
  .theme-streaks .nav-links a[href="/blog"],.theme-streaks .nav.has-ios .nav-links a[href="/blog"]{margin-left:auto;order:2}
  .theme-streaks .nav-links .btn{order:3;flex:1 1 auto;white-space:normal;font-size:.9rem;padding:8px 12px}
  .theme-streaks .nav-links .btn+.btn{margin-left:6px}
}
@media(max-width:400px){.theme-streaks .nav-links .btn{font-size:.84rem;padding:8px 9px}}

/* ---------- Home: counter hero ---------- */
.theme-streaks .st-hero{padding:56px 0 60px}
.theme-streaks .st-hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:56px;align-items:center}
.theme-streaks .st-hero h1{font-size:clamp(2.3rem,5.2vw,4rem);line-height:1.03;letter-spacing:-.035em;max-width:15ch;margin:0 0 .42em}
.theme-streaks .hero-sub{color:var(--muted);font-size:1.15rem;max-width:46ch}
.theme-streaks .cta-row{display:flex;flex-wrap:wrap;gap:12px 14px;align-items:center}
.theme-streaks .text-link{display:inline-flex;align-items:center;min-height:44px;padding:0;font-weight:800;color:var(--green-t);border:0;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
.theme-streaks .text-link:hover{color:var(--ink)}
.theme-streaks .store-note{font-family:var(--mono);font-size:.8rem;line-height:1.5;color:var(--muted);font-weight:500;margin:18px 0 0;max-width:52ch}

.theme-streaks .st-console{position:relative;width:100%;max-width:470px;justify-self:end;margin:0;padding:22px 26px 18px;transform:none;
  background:linear-gradient(180deg,var(--panel),#10231A);border:1px solid var(--line);border-radius:22px;
  box-shadow:0 28px 70px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.06)}
.theme-streaks .st-console-top,.theme-streaks .st-upnext-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.theme-streaks .st-mono{font-family:var(--mono);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.theme-streaks .st-strong{color:var(--ink);font-weight:700}
.theme-streaks .st-tag{display:inline-block;font-family:var(--mono);font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--amber-t);border:1px solid var(--amber);border-radius:6px;padding:3px 9px;line-height:1.4}
.theme-streaks .st-counter{display:flex;align-items:flex-end;gap:16px;margin:20px 0 22px}
.theme-streaks .st-day{font-family:var(--mono);font-size:1.05rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);padding-bottom:.2rem}
.theme-streaks .st-num{font-family:var(--sans);font-size:clamp(6.2rem,16vw,9.6rem);font-weight:900;line-height:.8;letter-spacing:-.055em;font-variant-numeric:tabular-nums;color:var(--amber-t)}
.theme-streaks .st-num-v{position:relative;top:.2em}
.theme-streaks .st-upnext{border-top:1px dashed var(--line-2);padding-top:16px}
.theme-streaks .st-upnext-row{font-family:var(--mono);font-size:.78rem;color:var(--muted)}
.theme-streaks .st-dim{color:var(--muted)}
.theme-streaks .st-track{height:12px;border-radius:99px;background:var(--ground);border:1px solid var(--line);margin:10px 0 2px;overflow:hidden}
.theme-streaks .st-track-fill{display:block;height:100%;width:78%;border-radius:99px;background:linear-gradient(90deg,#8FAE58,#E3BC42)}
.theme-streaks .st-console-foot{margin-top:16px;font-family:var(--mono);font-size:.72rem;line-height:1.5;color:var(--dim)}

/* Count-up: only where scroll-driven animation exists (so the static number is what everyone else sees) and motion is welcome. */
@supports (animation-timeline:scroll()){
  @media(prefers-reduced-motion:no-preference){
    .theme-streaks .st-num-v{color:transparent}
    .theme-streaks .st-num-v::after{content:counter(stn);counter-reset:stn var(--n);position:absolute;left:0;top:0;color:var(--amber-t);animation:st-count 1.5s cubic-bezier(.2,.7,.2,1) .2s both}
    @keyframes st-count{from{--n:0}}
  }
}

.theme-streaks .st-status{background:var(--ground-2);border-block:1px solid var(--line)}
.theme-streaks .st-status p{display:flex;align-items:center;gap:12px;margin:0;padding:15px 0;font-family:var(--mono);font-size:.88rem;line-height:1.45;color:var(--muted)}
.theme-streaks .st-status p::before{content:"";flex:none;width:10px;height:10px;border-radius:3px;background:#8FAE58}

/* ---------- Home: calendars ---------- */
.theme-streaks .st-cal{padding:64px 0 24px}
.theme-streaks .st-cal-grid{display:grid;grid-template-columns:minmax(0,460px) minmax(0,1fr);gap:20px;align-items:stretch}
.theme-streaks .st-panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:22px}
.theme-streaks .hero-calendar-head,.theme-streaks .st-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:0 0 16px}
.theme-streaks .st-over{display:block;font-family:var(--mono);font-size:.66rem;letter-spacing:.14em;color:var(--muted);line-height:1.3;margin-bottom:4px}
.theme-streaks .st-title{display:block;font-size:1.08rem;font-weight:900;letter-spacing:-.01em;line-height:1.1;color:var(--ink)}
.theme-streaks .st-chip{flex:none;font-family:var(--mono);font-size:.68rem;font-weight:700;letter-spacing:.08em;line-height:1;color:var(--amber-t);background:var(--panel-2);border:1px solid var(--line-2);border-radius:99px;padding:7px 10px}
.theme-streaks .st-month .calendar-weekdays,.theme-streaks .st-month .hero-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.theme-streaks .st-month .calendar-weekdays{margin-bottom:6px;font-family:var(--mono);font-size:.68rem;color:var(--muted);text-align:center}
.theme-streaks .st-month .cal-tile{aspect-ratio:1;display:grid;place-items:center;border:0;border-radius:8px;background:var(--fill,transparent);font-family:var(--mono);font-size:.8rem;font-weight:700;line-height:1;color:#0C1812}
.theme-streaks .st-month .hero-calendar .tone-dry{color:#0C1812}
.theme-streaks .st-month .cal-future{background:transparent;color:var(--dim);box-shadow:inset 0 0 0 1px var(--line-2)}
.theme-streaks .st-month .cal-spacer{visibility:hidden}
.theme-streaks .st-month .cal-today{outline:3px solid var(--amber-t);outline-offset:2px}
.theme-streaks .st-month{display:flex;flex-direction:column}
.theme-streaks .st-note{margin-top:auto;padding-top:16px;font-family:var(--mono);font-size:.72rem;line-height:1.5;color:var(--dim)}
.theme-streaks .st-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 22px;margin:6px 0 18px}
.theme-streaks .st-mn{display:block;margin-bottom:5px;font-family:var(--mono);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.theme-streaks .st-md{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.theme-streaks .st-md i,.theme-streaks .st-legend i,.theme-streaks .st-nf-week i{display:block;aspect-ratio:1;border-radius:2px;background:var(--fill,transparent)}
.theme-streaks .st-md i.o1{grid-column-start:2}.theme-streaks .st-md i.o2{grid-column-start:3}.theme-streaks .st-md i.o3{grid-column-start:4}
.theme-streaks .st-md i.o4{grid-column-start:5}.theme-streaks .st-md i.o5{grid-column-start:6}.theme-streaks .st-md i.o6{grid-column-start:7}
.theme-streaks i.g{--fill:#8FAE58}.theme-streaks i.y{--fill:#E3BC42}.theme-streaks i.o{--fill:#DE8A3C}.theme-streaks i.c{--fill:#DB513D}
.theme-streaks i.r{--fill:#7E2A22;box-shadow:inset 0 0 0 1px #C9695C}
.theme-streaks i.f{background:transparent;box-shadow:inset 0 0 0 1px var(--line-2)}
.theme-streaks .st-md i.t{outline:2px solid var(--amber-t);outline-offset:1px;position:relative;z-index:1}
.theme-streaks .st-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-family:var(--mono);font-size:.7rem;color:var(--muted)}
.theme-streaks .st-legend span{display:inline-flex;align-items:center;gap:7px}
.theme-streaks .st-legend i{width:11px;height:11px;flex:none}

/* ---------- Home: milestone ladder (horizontal on wide screens, vertical on phones) ---------- */
.theme-streaks .st-ladder-sec{padding:40px 0 64px}
.theme-streaks .st-ladder{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding-top:40px}
.theme-streaks .st-ladder::before,.theme-streaks .st-ladder::after{content:"";position:absolute;top:58px;left:8.333%;height:4px;border-radius:4px}
.theme-streaks .st-ladder::before{right:8.333%;background:var(--line)}
.theme-streaks .st-ladder::after{width:59.44%;background:linear-gradient(90deg,#8FAE58,#E3BC42)}
.theme-streaks .st-here{position:absolute;top:0;left:67.78%;transform:translateX(-50%);font-family:var(--mono);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;color:var(--on-amber);background:var(--amber);border-radius:6px;padding:4px 9px}
.theme-streaks .st-here::after{content:"";position:absolute;left:50%;top:100%;width:2px;height:20px;margin-left:-1px;background:var(--amber)}
.theme-streaks .st-rung{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:42px;color:var(--ink)}
.theme-streaks .st-rung::before{content:"";position:absolute;top:8px;left:50%;width:22px;height:22px;margin-left:-11px;border-radius:50%;background:var(--ground);border:4px solid var(--line-2);box-sizing:border-box}
.theme-streaks .st-rung.is-done::before{background:#8FAE58;border-color:#8FAE58}
.theme-streaks .st-rung.is-next::before{border-color:var(--amber)}
.theme-streaks .st-rung-n{font-size:clamp(2.2rem,5vw,3.4rem);font-weight:900;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.theme-streaks .st-rung.is-next .st-rung-n{color:var(--amber-t)}
.theme-streaks .st-rung.is-far .st-rung-n{color:var(--dim)}
.theme-streaks .st-rung-u{margin:2px 0 10px;font-family:var(--mono);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.theme-streaks .st-rung-k{display:inline-block;font-family:var(--mono);font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.3;padding:4px 9px;border-radius:6px}
.theme-streaks .st-rung.is-stamp .st-rung-k{color:var(--green-t);background:var(--panel);border:1px dashed var(--green-t)}
.theme-streaks .st-rung.is-point .st-rung-k{color:var(--muted);border:1px solid transparent;padding-left:0;padding-right:0}

/* ---------- Home: steps and features ---------- */
.theme-streaks .st-how{padding:56px 0 24px}
.theme-streaks .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.theme-streaks .step-card,.theme-streaks .feature-card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:none;min-height:0}
.theme-streaks .step-card h3,.theme-streaks .feature-card h3{font-size:1.2rem;margin:0 0 .4em}
.theme-streaks .step-card p,.theme-streaks .feature-card p{color:var(--muted);margin:0}
.theme-streaks .step-num{display:block;font-family:var(--mono);font-size:1.7rem;font-weight:700;line-height:1;color:var(--amber-t);opacity:1;margin-bottom:18px;font-variant-numeric:tabular-nums}
.theme-streaks .st-features{padding:40px 0 64px}
.theme-streaks .features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.theme-streaks .feature-mark{display:block;width:16px;height:16px;margin:0 0 20px;border-radius:5px;background:#8FAE58}
.theme-streaks .feature-card:nth-child(2) .feature-mark{background:#E3BC42}

/* ---------- Timelines: home guides, author guides ---------- */
.theme-streaks .st-guides{padding:24px 0 56px}
.theme-streaks .section-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}
.theme-streaks .section-head-row h2{margin:0}
.theme-streaks .section-head-row .text-link{white-space:nowrap}
.theme-streaks .latest-list{--dc:6rem;list-style:none;margin:0;padding:0;border:0;max-width:820px}
.theme-streaks .author-guides{--dc:8.4rem}
.theme-streaks .latest-list li{position:relative;display:grid;grid-template-columns:var(--dc) 26px minmax(0,1fr);align-items:start;gap:0;padding:0;border:0}
.theme-streaks .latest-list li::before{content:"";position:absolute;left:calc(var(--dc) + 12px);top:0;bottom:0;width:2px;background:var(--line)}
.theme-streaks .latest-list li:first-child::before{top:1.55rem}
.theme-streaks .latest-list li:last-child::before{bottom:auto;height:1.55rem}
.theme-streaks .latest-list li:only-child::before{display:none}
.theme-streaks .latest-list li::after{content:"";position:absolute;left:calc(var(--dc) + 6px);top:1.2rem;width:14px;height:14px;box-sizing:border-box;border-radius:50%;background:var(--ground);border:3px solid #8FAE58}
.theme-streaks .latest-list li:first-child::after{border-color:var(--amber);background:var(--amber)}
.theme-streaks .latest-list time{grid-column:1;grid-row:1;padding-top:.7rem;text-align:right;font-family:var(--mono);font-size:.84rem;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
.theme-streaks .latest-list a{grid-column:3;grid-row:1;display:block;padding:.68rem 0 .68rem 6px;font-weight:700;line-height:1.35;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.theme-streaks .latest-list a:hover,.theme-streaks .legal .latest-list a:hover{color:var(--amber-t);text-decoration:underline;text-underline-offset:4px}
.theme-streaks .legal .latest-list a{color:var(--ink);text-decoration:none}

/* ---------- FAQ, closing call ---------- */
.theme-streaks .st-faq{padding:56px 0}
.theme-streaks .faq-layout>div:first-child{text-align:left}
.theme-streaks .faq-layout{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:56px;align-items:start}
.theme-streaks .faq{max-width:none;margin:0}
.theme-streaks .faq-item{margin:0 0 10px;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden}
.theme-streaks .faq-item:last-child{border-bottom:1px solid var(--line)}
.theme-streaks .faq-q{all:unset;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:56px;padding:14px 20px;cursor:pointer;font-weight:800;color:var(--ink);text-align:left}
.theme-streaks .faq-q:focus-visible{outline:3px solid var(--amber-t);outline-offset:-3px;border-radius:14px}
.theme-streaks .faq-q span{flex:none;font-family:var(--mono);font-size:1.4rem;line-height:1;color:var(--amber-t);transition:transform .15s}
.theme-streaks .js .faq-item.open .faq-q span{transform:rotate(45deg)}
.theme-streaks .faq-a{padding:0 20px 18px;color:var(--muted)}
.theme-streaks .faq-a p{margin:0}
.theme-streaks .st-final{padding:24px 0 72px;background:none;color:var(--ink)}
.theme-streaks .final-cta{text-align:center;background:var(--panel);border:1px solid var(--line);border-radius:26px;padding:52px 24px 56px}
.theme-streaks .final-cta::before{content:"";display:block;width:min(100%,264px);height:14px;margin:0 auto 28px;border-radius:3px;background:repeating-linear-gradient(90deg,#8FAE58 0 18px,transparent 18px 24px)}
.theme-streaks .final-cta .section-kicker{text-align:center;color:var(--amber-t)}
.theme-streaks .final-cta h2{font-size:clamp(1.8rem,4.4vw,2.8rem)}
.theme-streaks .final-cta p{max-width:52ch;margin:0 auto 24px;color:var(--muted)}
.theme-streaks .final-cta .cta-row{justify-content:center}

/* ---------- Footer ---------- */
.theme-streaks .site-footer{margin-top:0;padding:44px 0 36px;background:#09120D;border-top:1px solid var(--line);color:var(--muted)}
.theme-streaks .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:48px}
.theme-streaks .footer-grid h2{margin:0 0 10px;font-family:var(--mono);font-size:.74rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--green-t)}
.theme-streaks .footer-grid a,.theme-streaks .site-footer a{color:var(--muted)}
.theme-streaks .footer-grid li{margin:0}
.theme-streaks .footer-grid li a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;padding:4px 0;text-decoration:none}
.theme-streaks .site-footer a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.theme-streaks .footer-wordmark{margin-bottom:12px}
.theme-streaks .footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:.84rem;color:var(--dim)}
.theme-streaks .footer-bottom p{margin:0}

/* ---------- Guides index: timeline ---------- */
.theme-streaks .st-index-head{padding:56px 0 8px}
.theme-streaks .narrow-intro{max-width:820px}
.theme-streaks .narrow-intro h1{font-size:clamp(2.4rem,6vw,4.2rem);line-height:1.04;letter-spacing:-.035em}
.theme-streaks .blog-intro{color:var(--muted);font-size:1.15rem;max-width:58ch;margin-bottom:22px}
.theme-streaks .review-note{display:inline-block;margin:0;padding:10px 14px;border:1px dashed var(--line-2);border-radius:10px;background:transparent;color:var(--muted);font-size:.9rem}
.theme-streaks .st-index{padding:24px 0 72px}
.theme-streaks .st-tl{list-style:none;margin:0;padding:0;max-width:880px}
.theme-streaks .st-tl>li{position:relative}
.theme-streaks .st-tl>li::before{content:"";position:absolute;left:calc(5rem + 18px);top:0;bottom:0;width:2px;background:var(--line)}
.theme-streaks .st-tl>li:first-child::before{top:50%}
.theme-streaks .st-tl>li:last-child::before{bottom:50%}
.theme-streaks .st-tl-month{padding:30px 0 6px calc(5rem + 52px);font-family:var(--mono);font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--amber-t)}
.theme-streaks .st-tl-month::after{content:"";position:absolute;left:calc(5rem + 11px);top:calc(50% + 12px);width:16px;height:16px;margin-top:-8px;background:var(--amber);transform:rotate(45deg);border-radius:3px}
.theme-streaks .st-tl-item::after{content:"";position:absolute;left:calc(5rem + 11px);top:2.2rem;width:16px;height:16px;box-sizing:border-box;border-radius:50%;background:var(--ground);border:4px solid #8FAE58}
.theme-streaks .st-tl-card{display:grid;grid-template-columns:5rem 36px minmax(0,1fr);color:var(--ink);text-decoration:none}
.theme-streaks .st-tl-date{grid-column:1;padding-top:1.35rem;text-align:right;line-height:1;font-family:var(--mono);color:var(--muted)}
.theme-streaks .st-tl-day{display:block;font-family:var(--sans);font-size:2rem;font-weight:900;letter-spacing:-.04em;color:var(--ink);font-variant-numeric:tabular-nums}
.theme-streaks .st-tl-mon{display:block;margin-top:5px;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase}
.theme-streaks .st-tl-body{grid-column:3;margin:6px 0;padding:16px 20px 14px;border:1px solid transparent;border-radius:16px;transition:background-color .15s,border-color .15s}
.theme-streaks .st-tl-card:hover .st-tl-body{background:var(--panel);border-color:var(--line)}
.theme-streaks .st-tl-card:focus-visible{outline-offset:2px;border-radius:16px}
.theme-streaks .blog-card-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0 0 6px;font-family:var(--mono);font-size:.7rem;font-weight:700;letter-spacing:.1em;color:var(--muted)}
.theme-streaks .blog-card-meta span{border:0;padding:0}
.theme-streaks .blog-card-meta span+span::before{content:"·";margin-right:12px;color:var(--dim)}
.theme-streaks .st-tl-body h2{font-size:clamp(1.15rem,2.6vw,1.45rem);line-height:1.2;margin:0 0 .35em}
.theme-streaks .st-tl-card:hover h2{color:var(--amber-t)}
.theme-streaks .blog-card-desc{margin:0 0 .6em;color:var(--muted);font-size:.97rem}
.theme-streaks .blog-card-more{margin:0;font-family:var(--mono);font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--green-t)}
.theme-streaks .blog-empty{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:40px;text-align:left;color:var(--muted)}
.theme-streaks .blog-empty h2{color:var(--ink)}

/* ---------- Article: one column, progress rail in the margin, side note, next-guide strip ---------- */
.theme-streaks .st-article{padding:36px 0 72px}
.theme-streaks .article-wrap.st-wrap{max-width:680px}
.theme-streaks .breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;margin:0 0 22px;font-family:var(--mono);font-size:.74rem;font-weight:500;color:var(--muted)}
.theme-streaks .breadcrumb a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--muted);text-underline-offset:3px}
.theme-streaks .breadcrumb a:hover{color:var(--ink)}
.theme-streaks .breadcrumb span[aria-current]{overflow-wrap:anywhere}
.theme-streaks .article-wrap h1{font-size:clamp(2.1rem,5.4vw,3.2rem);line-height:1.05;letter-spacing:-.035em;margin:0 0 .4em}
.theme-streaks .article-dek{font-size:1.22rem;line-height:1.5;color:var(--muted);margin:0 0 22px}
.theme-streaks .article-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;font-family:var(--mono);font-size:.74rem;font-weight:500;color:var(--muted)}
.theme-streaks .article-meta>span{display:inline-block;padding:6px 11px;border:1px solid var(--line);border-radius:99px;background:var(--ground-2);line-height:1.3}
.theme-streaks .article-meta a{color:var(--ink);font-weight:700}
.theme-streaks .medical-boundary{margin:0 0 40px;padding:14px 18px;border:1px solid var(--line);border-left:4px solid var(--amber);border-radius:0 12px 12px 0;background:var(--panel);color:var(--muted);font-size:.95rem}
.theme-streaks .medical-boundary strong{color:var(--amber-t);font-family:var(--mono);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}
.theme-streaks .st-body{position:relative;padding-left:44px;font-size:1.06rem;line-height:1.72}
.theme-streaks .st-body::before{content:"";position:absolute;left:11px;top:10px;bottom:10px;width:2px;border-radius:2px;background:var(--line)}
.theme-streaks .st-body p{margin:0 0 1.15em}
.theme-streaks .st-body h2{position:relative;font-size:clamp(1.45rem,3.4vw,1.85rem);line-height:1.18;margin:2.1em 0 .55em}
.theme-streaks .st-body h3{font-size:1.18rem;line-height:1.3;margin:1.7em 0 .4em}
.theme-streaks .st-body h2::before,.theme-streaks .article-lead::before{content:"";position:absolute;left:-39px;top:.36em;width:14px;height:14px;box-sizing:border-box;border-radius:50%;background:var(--ground);border:3px solid #8FAE58}
.theme-streaks .st-body .article-lead{position:relative;margin:0 0 1.2em;font-size:1.2rem;line-height:1.6;font-weight:600;color:var(--ink)}
.theme-streaks .st-body .article-lead::before{top:.55em;background:var(--amber);border-color:var(--amber)}
.theme-streaks .st-body ul,.theme-streaks .st-body ol{margin:0 0 1.2em;padding-left:1.2em}
.theme-streaks .st-body li{margin:0 0 .5em;padding-left:.2em}
.theme-streaks .st-body li::marker{color:var(--green-t)}
.theme-streaks .st-body a{color:var(--green-t);text-underline-offset:3px}
.theme-streaks .st-body a:hover{color:var(--amber-t)}
.theme-streaks .article-callout{margin:2em 0;padding:18px 22px;border:1px solid var(--line);border-left:4px solid var(--amber);border-radius:0 14px 14px 0;background:var(--panel)}
.theme-streaks .article-callout h3{margin:0 0 .35em;font-size:1.08rem}
.theme-streaks .article-callout p{margin:0;color:var(--muted)}
.theme-streaks .safety-callout{background:#2A1512;border-color:#7A3A2F;border-left-color:#DB513D}
.theme-streaks .safety-callout p{color:#E8D2CC}
.theme-streaks .article-table-wrap{overflow-x:auto;margin:1.6em 0;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.theme-streaks .st-body table{width:100%;min-width:520px;margin:0;border-collapse:collapse;font-size:.95rem;font-variant-numeric:tabular-nums}
.theme-streaks .st-body caption{caption-side:top;padding:12px 16px;text-align:left;font-family:var(--mono);font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.theme-streaks .st-body th,.theme-streaks .st-body td{border:0;border-top:1px solid var(--line);padding:11px 16px;text-align:left;vertical-align:top}
.theme-streaks .st-body th{background:var(--panel-2);font-weight:800;color:var(--ink)}
.theme-streaks .st-body tbody tr:nth-child(even) td{background:rgba(255,255,255,.025)}
.theme-streaks .article-faq{margin-top:2.4em}
.theme-streaks .article-faq h3{margin:1.4em 0 .3em;font-size:1.1rem}
.theme-streaks .article-sources{margin-top:2.4em;padding-top:0;border:0}
.theme-streaks .article-sources ul{list-style:none;padding:0}
.theme-streaks .article-sources li{padding:4px 0;border-top:1px solid var(--line)}
.theme-streaks .article-sources a{overflow-wrap:anywhere}
/* Key takeaways (the h2 straight after the lead, followed by a list) as a milestone note: a flag and an amber rule. */
.theme-streaks .st-body .article-lead+h2:has(+ul){margin:2em 0 0;padding:16px 20px 4px 40px;border:1px solid var(--line);border-bottom:0;border-left:4px solid var(--amber);border-radius:0 14px 0 0;background:var(--panel);font-family:var(--mono);font-size:.76rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-t)}
.theme-streaks .st-body .article-lead+h2:has(+ul)::before{left:20px;top:19px;width:10px;height:14px;border:0;border-radius:0;background:var(--amber);clip-path:polygon(0 0,100% 50%,0 100%)}
.theme-streaks .st-body .article-lead+h2+ul{margin:0 0 2em;padding:8px 20px 14px 40px;border:1px solid var(--line);border-top:0;border-left:4px solid var(--amber);border-radius:0 0 14px 0;background:var(--panel);font-size:.98rem;line-height:1.6}
.theme-streaks .st-body .article-lead+h2+ul li::marker{color:var(--amber-t)}
.theme-streaks .share-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:40px 0 0;padding:20px 0 0;border-top:1px solid var(--line)}
.theme-streaks .share-label{font-family:var(--mono);font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.theme-streaks .share-btn{min-height:44px;padding:8px 18px;border:1px solid var(--line-2);border-radius:10px;background:var(--panel);color:var(--ink);font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
.theme-streaks .share-btn:hover{border-color:var(--green-t)}
.theme-streaks .post-cta{margin-top:40px;padding:30px 28px;border:1px solid var(--line);border-radius:20px;background:var(--panel);text-align:left}
.theme-streaks .post-cta h2{font-size:1.5rem;margin:0 0 .3em}
.theme-streaks .post-cta p{max-width:48ch;margin:0 0 20px;color:var(--muted)}
.theme-streaks .post-cta .cta-row{justify-content:flex-start}
.theme-streaks .st-next{margin-top:48px}
.theme-streaks .st-next>h2{margin:0 0 14px;font-family:var(--mono);font-size:.76rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--green-t)}
.theme-streaks .st-next-main,.theme-streaks .st-next-sub{color:var(--ink);text-decoration:none}
.theme-streaks .st-next-main{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center;padding:26px 28px;border:1px solid var(--line-2);border-radius:20px;background:linear-gradient(135deg,var(--panel-2),var(--panel))}
.theme-streaks .st-next-main:hover,.theme-streaks .st-next-sub:hover{border-color:var(--amber)}
.theme-streaks .st-next-k{display:block;grid-column:1;margin-bottom:6px;font-family:var(--mono);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-t)}
.theme-streaks .st-next-main h3{grid-column:1;margin:0 0 .3em;font-size:clamp(1.3rem,3vw,1.8rem);line-height:1.15}
.theme-streaks .st-next-main:hover h3,.theme-streaks .st-next-sub:hover h3{color:var(--amber-t)}
.theme-streaks .st-next-main .blog-card-desc{grid-column:1;margin:0;color:var(--muted)}
.theme-streaks .st-next-go{grid-column:2;grid-row:1/4;font-size:2.6rem;line-height:1;color:var(--amber-t)}
.theme-streaks .st-next-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:12px}
.theme-streaks .st-next-sub{display:block;padding:16px 20px;border:1px solid var(--line);border-radius:16px;background:var(--ground-2)}
.theme-streaks .st-next-sub h3{margin:0;font-size:1.02rem;line-height:1.3}
/* Scroll-driven fill of the rail where supported (Chromium, Safari 26); everywhere else the rail and its nodes still show. */
@supports (animation-timeline:view()){
  @media(prefers-reduced-motion:no-preference){
    .theme-streaks .st-body::after{content:"";position:absolute;left:11px;top:10px;bottom:10px;width:2px;border-radius:2px;background:linear-gradient(#8FAE58,#E3BC42);transform-origin:top;transform:scaleY(0);animation:st-read linear both;animation-timeline:view();animation-range:cover 60vh cover calc(100% - 40vh)}
    @keyframes st-read{to{transform:scaleY(1)}}
  }
}

/* ---------- Legal pages, author page, 404 ---------- */
.theme-streaks .legal{max-width:720px;margin:0 auto}
.theme-streaks .legal h1{font-size:clamp(2.1rem,5vw,3rem);letter-spacing:-.035em}
.theme-streaks .legal h2{font-size:1.3rem;margin:2.2em 0 .6em}
.theme-streaks .legal p,.theme-streaks .legal li{color:var(--ink)}
.theme-streaks .legal .updated{font-family:var(--mono);font-size:.8rem;font-weight:500;letter-spacing:.06em;color:var(--muted)}
.theme-streaks .legal a:not(.btn){color:var(--green-t);text-underline-offset:3px}
.theme-streaks .legal a:not(.btn):hover{color:var(--amber-t)}
.theme-streaks .author-page .author-photo{display:block;width:96px;height:96px;margin:0 0 18px;border:1px solid var(--line-2);border-radius:20px;object-fit:cover}
.theme-streaks .author-role{font-family:var(--mono);font-size:.82rem;letter-spacing:.06em;color:var(--amber-t)}
.theme-streaks .author-links{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 1em;padding:0}
.theme-streaks .author-links li{margin:0}
.theme-streaks .author-links a{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px;border:1px solid var(--line-2);border-radius:99px;font-family:var(--mono);font-size:.8rem;text-decoration:none}
.theme-streaks .author-guides{margin-top:12px}
.theme-streaks .not-found{display:grid;align-items:center;min-height:62vh;text-align:center}
.theme-streaks .not-found .legal{text-align:center}
.theme-streaks .not-found .section-kicker{text-align:center;color:var(--amber-t)}
.theme-streaks .not-found h1{font-size:clamp(2.2rem,6vw,3.6rem)}
.theme-streaks .not-found p{color:var(--muted)}
.theme-streaks .st-nf-week{display:flex;justify-content:center;gap:8px;margin:0 0 30px}
.theme-streaks .st-nf-week i{flex:1 1 0;max-width:44px;width:auto;aspect-ratio:1;border-radius:10px}
.theme-streaks .st-nf-week i.gap{background:transparent;border:2px dashed var(--amber)}

/* ---------- Narrow screens ---------- */
@media(min-width:1000px){
  .theme-streaks .article-wrap.st-wrap{max-width:900px}
  .theme-streaks .st-wrap>.breadcrumb,.theme-streaks .st-head,.theme-streaks .st-body,.theme-streaks .share-row,.theme-streaks .post-cta{max-width:640px}
  /* No side note in this guide: centre the column. (Without :has() support the column simply stays on the left.) */
  .theme-streaks .st-wrap:not(:has(.st-body .article-lead+h2+ul))>*{margin-left:auto;margin-right:auto}
  .theme-streaks .st-body .article-lead+h2:has(+ul),.theme-streaks .st-body .article-lead+h2+ul{float:right;clear:right;width:228px;margin-right:-260px;margin-left:0;box-sizing:border-box}
  .theme-streaks .st-body .article-lead+h2:has(+ul){margin-top:4px;margin-bottom:0}
  .theme-streaks .st-body .article-lead+h2:has(+ul)::before{left:20px}
  .theme-streaks .st-body .article-lead+h2+ul{margin-top:0;margin-bottom:24px;padding-left:34px;padding-right:16px;font-size:.92rem}
}
@media(max-width:900px){
  .theme-streaks .st-hero-grid{grid-template-columns:1fr;gap:40px}
  .theme-streaks .st-console{justify-self:stretch;max-width:520px}
  .theme-streaks .st-cal-grid{grid-template-columns:1fr}
  .theme-streaks .st-month{max-width:440px}
  .theme-streaks .st-months{grid-template-columns:repeat(4,minmax(0,1fr))}
  .theme-streaks .steps,.theme-streaks .features{grid-template-columns:1fr}
  .theme-streaks .faq-layout{grid-template-columns:1fr;gap:28px}
  .theme-streaks .footer-grid{grid-template-columns:1fr;gap:24px}
  .theme-streaks .footer-bottom,.theme-streaks .section-head-row{flex-direction:column;align-items:flex-start;gap:12px}
}
@media(max-width:760px){
  /* The ladder stands up: one rung per row, the line on the left. Rows are equal, so the percentages still land between 30 and 60. */
  .theme-streaks .st-ladder{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:4.5rem;padding-top:0;padding-left:0;height:27rem;max-width:460px}
  .theme-streaks .st-ladder::before,.theme-streaks .st-ladder::after{top:8.333%;left:12px;width:4px;right:auto}
  .theme-streaks .st-ladder::before{height:83.333%}
  .theme-streaks .st-ladder::after{height:59.44%;width:4px;background:linear-gradient(180deg,#8FAE58,#E3BC42)}
  .theme-streaks .st-here{top:67.78%;left:44px;transform:translateY(-50%)}
  .theme-streaks .st-here::after{left:auto;right:100%;top:50%;width:14px;height:2px;margin:-1px 0 0}
  .theme-streaks .st-rung{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;text-align:left;gap:0 12px;padding:0 0 0 44px}
  .theme-streaks .st-rung::before{top:50%;left:14px;margin:-11px 0 0 -11px}
  .theme-streaks .st-rung-n{font-size:2rem}
  .theme-streaks .st-rung-u{margin:0}
  .theme-streaks .st-rung-k{margin-left:auto}
}
@media(max-width:680px){
  .theme-streaks .cta-row .btn{flex:1 1 100%}
  .theme-streaks .step-card,.theme-streaks .feature-card{padding:18px 20px}
  .theme-streaks .feature-mark{margin-bottom:12px}
  .theme-streaks .step-num{margin-bottom:12px}
  .theme-streaks .latest-list time{padding-right:6px}
  .theme-streaks .section{padding:48px 0}
  .theme-streaks .st-hero{padding:36px 0 44px}
  .theme-streaks .st-months{grid-template-columns:repeat(3,minmax(0,1fr))}
  .theme-streaks .st-panel{padding:18px}
  .theme-streaks .st-tl>li::before{left:calc(3.1rem + 14px)}
  .theme-streaks .st-tl-item::after,.theme-streaks .st-tl-month::after{left:calc(3.1rem + 7px)}
  .theme-streaks .st-tl-card{grid-template-columns:3.1rem 28px minmax(0,1fr)}
  .theme-streaks .st-tl-month{padding-left:calc(3.1rem + 40px)}
  .theme-streaks .st-tl-day{font-size:1.5rem}
  .theme-streaks .st-tl-body{padding:12px 12px 10px 8px}
  .theme-streaks .latest-list{--dc:4.4rem}
  .theme-streaks .author-guides{--dc:6.9rem}
  .theme-streaks .latest-list li{grid-template-columns:var(--dc) 22px minmax(0,1fr)}
  .theme-streaks .latest-list li::before{left:calc(var(--dc) + 10px)}
  .theme-streaks .latest-list li::after{left:calc(var(--dc) + 4px)}
  .theme-streaks .latest-list time{font-size:.78rem}
  .theme-streaks .st-body{padding-left:30px;font-size:1.02rem}
  .theme-streaks .st-body::before,.theme-streaks .st-body::after{left:6px}
  .theme-streaks .st-body h2::before,.theme-streaks .article-lead::before{left:-30px}
  .theme-streaks .st-next-main{padding:20px}
  .theme-streaks .st-next-go{font-size:2rem}
  .theme-streaks .post-cta{padding:24px 20px}
  .theme-streaks .final-cta{padding:40px 18px 44px}
}
@media(max-width:380px){
  .theme-streaks .container{padding-left:16px;padding-right:16px}
  .theme-streaks .st-console{padding:18px 18px 16px}
  .theme-streaks .st-months{gap:14px 10px}
  .theme-streaks .btn{padding-left:16px;padding-right:16px}
}
