/* ==========================================================================
   recharts.net — Design seed S04 "Editorial Software" (light theme)
   Big left-aligned typography, ruled rows instead of card grids,
   tinted full-width bands, figure captions, magazine-style guides.
   Font: Poppins (self-hosted, SIL OFL 1.1)
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: local("Poppins Regular"), local("Poppins-Regular"), url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: local("Poppins Medium"), local("Poppins-Medium"), url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: local("Poppins SemiBold"), local("Poppins-SemiBold"), url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: local("Poppins Bold"), local("Poppins-Bold"), url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --p: #800080;          /* primary   – editorial indigo */
  --p-d: #5E005F;
  --p-50: #FAEEFA;
  --p-100: #EED4EE;
  --ink: #171425;        /* secondary – ink            */
  --ink-2: #373043;
  --mut: #625D6C;
  --o: #9D5200;          /* accent    – warm orange (text-safe) */
  --o-fill: #FFA000;
  --o-50: #FFF3E3;
  --g: #058359;
  --g-50: #E6F8F3;
  --r: #BD1520;
  --r-50: #FFECED;
  --rule: #E8E1EA;
  --rule-2: #F2ECF3;
  --paper: #FDFBFE;
  --band-lav: #F8EFF9;
  --band-peach: #FFF6EB;
  --band-mint: #F0FBF9;
  --header-h: 72px;
  --shell: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
figure { margin: 0; }
a { color: var(--p); text-decoration: none; transition: color .2s; }
a:hover { color: var(--p-d); }
h1, h2, h3, h4 { font-family: "Poppins", Arial, sans-serif; color: var(--ink); line-height: 1.2; margin: 0 0 .55em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.85rem); font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: 1.14rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
p, li, h1, h2, h3, td, dd { overflow-wrap: break-word; }
button, input, code, pre { font-family: "Poppins", Arial, sans-serif; }
:focus-visible { outline: 3px solid var(--p); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 10px); }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: .98rem; line-height: 1.2; padding: 15px 24px; border-radius: 6px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; text-align: center; }
.btn .ico { width: 20px; height: 20px; }
.btn-primary { background: var(--p); color: #fff; }
.btn-primary:hover { background: var(--p-d); color: #fff; transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 18px 30px; font-size: 1.04rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--o-fill); padding-bottom: 2px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover { color: var(--p); }
.link-arrow:hover .ico { transform: translateX(4px); }
.code-inline { background: var(--p-50); color: var(--p-d); padding: 1px 7px; border-radius: 4px; font-size: .9em; font-weight: 500; }
.code-block { background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--p); border-radius: 4px; padding: 16px 18px; overflow-x: auto; font-size: .88rem; line-height: 1.75; color: var(--ink); margin: 0 0 1.2em; white-space: pre; }
.code-block .k { color: var(--p); font-weight: 600; }
.code-block .s { color: var(--g); }
.code-block .c { color: #8C90A0; }
.code-block .a { color: var(--o); }
.icon-mark { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .25s, background .25s, color .25s; }
.icon-mark .ico { width: 21px; height: 21px; }
.m-p { background: var(--p-50); color: var(--p); }
.m-o { background: var(--o-50); color: var(--o); }
.m-g { background: var(--g-50); color: var(--g); }
.m-i { background: #ECEDF1; color: var(--ink); }
.m-r { background: var(--r-50); color: var(--r); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   HEADER — two-tier masthead (utility strip + bar with underline nav)
   ========================================================================== */
#site-header { position: sticky; top: 0; z-index: 100; }
.masthead { background: rgba(252, 251, 248, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); transition: box-shadow .25s; }
.masthead.is-scrolled { box-shadow: 0 8px 26px rgba(20, 27, 45, .07); }
.strip { background: var(--ink); color: #D9DBE3; font-size: .78rem; max-height: 40px; overflow: hidden; transition: max-height .3s ease; }
.strip .shell { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 20px; }
.strip span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.strip i { width: 6px; height: 6px; border-radius: 50%; background: var(--o-fill); display: inline-block; }
.masthead.is-scrolled .strip { max-height: 0; }
.bar .shell { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.22rem; color: var(--ink); letter-spacing: -.02em; flex: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.brand b { color: var(--o); font-weight: 700; }
.brand:hover { color: var(--ink); }
.navline { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.navline a { position: relative; display: block; padding: 8px 11px; color: var(--ink-2); font-weight: 500; font-size: .93rem; white-space: nowrap; }
.navline a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--o-fill); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.navline a:hover { color: var(--ink); }
.navline a:hover::after, .navline a.is-active::after { transform: scaleX(1); }
.navline a.is-active { color: var(--ink); font-weight: 600; }
.header-cta { padding: 12px 20px; font-size: .92rem; flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 6px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .ico-close { display: none; }
.menu-toggle[aria-expanded="true"] .ico-open { display: none; }
.menu-toggle[aria-expanded="true"] .ico-close { display: block; }
.mobile-panel { display: none; }
@media (max-width: 1140px) { .navline a { padding: 8px 8px; font-size: .88rem; } .navline a::after { left: 8px; right: 8px; } .bar .shell { gap: 18px; } }
@media (max-width: 1020px) {
  .navline, .bar .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-panel { display: block; max-height: 0; overflow: hidden; transition: max-height .35s ease; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .mobile-panel.is-open { max-height: 720px; }
  .mobile-panel ol { list-style: none; margin: 0; padding: 6px 24px 0; counter-reset: m; }
  .mobile-panel li { border-bottom: 1px solid var(--rule); counter-increment: m; }
  .mobile-panel li a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; color: var(--ink); font-weight: 600; font-size: 1.12rem; }
  .mobile-panel li a::before { content: counter(m, decimal-leading-zero); font-size: .74rem; color: var(--o); font-weight: 600; }
  .mobile-panel li a.is-active { color: var(--p); }
  .mobile-panel .btn { margin: 16px 24px 22px; width: calc(100% - 48px); }
}
@media (max-width: 760px) { .strip { display: none; } :root { --header-h: 64px; } }

/* ==========================================================================
   SECTION HEADS — editorial split head with numbered label
   ========================================================================== */
.section { padding: 96px 0; }
.ed-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px 56px; align-items: end; padding-bottom: 30px; margin-bottom: 8px; border-bottom: 1px solid var(--ink); }
.ed-head h2 { margin: 0; }
.ed-head p { margin: 0; color: var(--mut); font-size: 1.04rem; }
.label { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--o); margin-bottom: 14px; }
.label b { color: var(--ink); font-weight: 700; }
.label::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--o-fill); }
@media (max-width: 860px) { .ed-head { grid-template-columns: 1fr; } .section { padding: 70px 0; } }

/* ==========================================================================
   1. HERO — oversized editorial heading, intro + CTA, large figure below
   ========================================================================== */
.hero { padding: 54px 0 0; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .84rem; color: var(--mut); font-weight: 500; margin-bottom: 18px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--rule); margin-right: 10px; background: #B9BCC6; }
.hero-meta .tag { background: var(--o-50); color: var(--o); padding: 3px 10px; border-radius: 4px; font-weight: 600; }
.hero-title { font-size: clamp(2.15rem, .9rem + 5.2vw, 5.6rem); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; max-width: 1100px; margin-bottom: 30px; }
.hero-title .u { position: relative; color: var(--p); white-space: nowrap; }
.hero-title .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--o-fill); border-radius: 2px; opacity: .85; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px 64px; align-items: start; padding-top: 26px; border-top: 1px solid var(--rule); }
.hero-intro p { font-size: clamp(1rem, .95rem + .35vw, 1.16rem); color: var(--ink-2); max-width: 600px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--rule); }
.hero-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rule-2); }
.hero-facts li:nth-last-child(-n+2) { border-bottom: 0; }
.hero-facts .ico { width: 20px; height: 20px; color: var(--o); margin-top: 4px; }
.hero-facts .k, .dl-specs .k { display: block; } .hero-facts .k { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.hero-facts .v { margin: 0; font-weight: 600; color: var(--ink); font-size: .98rem; }
.hero-figure { margin-top: 48px; position: relative; }
.hero-figure .frame { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(20, 27, 45, .25); }
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
figcaption.cap { display: flex; gap: 12px; font-size: .84rem; color: var(--mut); padding: 12px 2px 0; }
figcaption.cap b { color: var(--ink); font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) {
  .hero { padding-top: 26px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 18px; }
  .hero-facts { border-left: 0; border-top: 1px solid var(--rule); }
  .hero-facts li { padding-left: 0; }
  .hero-figure { margin-top: 30px; }
}
@media (max-width: 560px) {
  .hero-title { margin-bottom: 18px; }
  .hero-meta { font-size: .76rem; margin-bottom: 12px; }
  .hero-meta span:not(.tag):last-child { display: none; }
  .hero-intro p { margin-bottom: 18px; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li { padding-right: 8px; }
}

/* ==========================================================================
   2. ABOUT — two-column article with pull-quote & fact block
   ========================================================================== */
.about-article { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; padding-top: 40px; }
.about-text p { font-size: 1.04rem; }
.dropcap::first-letter { float: left; font-size: 4.2em; line-height: .85; font-weight: 700; color: var(--p); margin: .06em .12em 0 0; }
.inline-fig { margin-top: 30px; }
.inline-fig img { border-radius: 4px; width: 100%; border: 1px solid var(--rule); }
.pull { margin: 0 0 34px; padding: 4px 0 4px 26px; border-left: 4px solid var(--o-fill); }
.pull h3 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--o); margin-bottom: 14px; }
.pull ol { list-style: none; padding: 0; margin: 0 0 12px; }
.pull li { display: grid; grid-template-columns: 46px 1fr; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
.pull li:last-child { border-bottom: 0; }
.pull li span { font-size: 1.6rem; font-weight: 700; color: var(--p); line-height: 1.1; }
.pull li strong { display: block; color: var(--ink); font-size: 1.12rem; }
.pull li em { font-style: normal; color: var(--mut); font-size: .94rem; }
.pull cite { font-style: normal; font-size: .8rem; color: var(--mut); }
.fact-block { background: var(--band-lav); padding: 24px 26px; border-radius: 4px; }
.fact-block h3 { margin-bottom: 8px; }
.fact-block dl { margin: 0; }
.fact-block div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--p-100); font-size: .93rem; }
.fact-block div:last-child { border-bottom: 0; }
.fact-block dt { color: var(--mut); }
.fact-block dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
@media (max-width: 900px) { .about-article { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   3. FEATURES — numbered editorial rows (no card grid)
   ========================================================================== */
.feature-rows { list-style: none; margin: 0; padding: 0; }
.frow { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 40px; align-items: center; padding: 30px 18px 30px 0; border-bottom: 1px solid var(--rule); transition: background .3s, padding .3s; }
.frow:hover { background: linear-gradient(90deg, var(--band-lav), transparent 80%); padding-left: 18px; }
.frow:hover .icon-mark { background: var(--p); color: #fff; transform: rotate(-8deg); }
.fnum { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--p); line-height: 1; letter-spacing: -.04em; }
.fhead { display: flex; align-items: center; gap: 16px; }
.fhead h3 { margin: 0; font-size: 1.3rem; }
.frow p { margin: 0; color: var(--mut); }
@media (max-width: 860px) {
  .frow { grid-template-columns: 70px minmax(0, 1fr); padding: 24px 0; }
  .frow p { grid-column: 2; }
  .frow:hover { padding-left: 0; }
}

/* ==========================================================================
   4. HOW IT WORKS — numbered full-width sections, alternating text / image
   ========================================================================== */
.how-sec { background: var(--band-mint); }
.step-sec { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px 70px; align-items: center; padding: 50px 0; border-bottom: 1px solid #D9E9DF; }
.step-sec:last-child { border-bottom: 0; padding-bottom: 0; }
.step-sec:nth-child(even) .step-text { order: 2; }
.step-no { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.step-no span { font-size: clamp(3.4rem, 2.4rem + 3vw, 5.4rem); font-weight: 700; line-height: .9; color: var(--g); letter-spacing: -.05em; }
.step-no .icon-mark { background: #fff; color: var(--g); }
.step-text h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); }
.step-text p { color: var(--ink-2); max-width: 520px; }
.step-text .code-block { max-width: 520px; border-left-color: var(--g); }
.step-fig img { width: 100%; border-radius: 4px; border: 1px solid #D9E9DF; }
@media (max-width: 860px) { .step-sec { grid-template-columns: 1fr; padding: 36px 0; } .step-sec:nth-child(even) .step-text { order: 0; } }

/* ==========================================================================
   COMPATIBILITY — specification sheet table
   ========================================================================== */
.spec-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); font-weight: 600; padding: 16px 14px; border-bottom: 1px solid var(--rule); }
.spec td { padding: 20px 14px; border-bottom: 1px solid var(--rule); vertical-align: middle; font-size: .95rem; }
.spec tr { transition: background .2s; }
.spec tbody tr:hover { background: #fff; }
.spec .req { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); }
.spec .req .icon-mark { width: 40px; height: 40px; }
.badge { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 3px; white-space: nowrap; }
.b-req { background: var(--ink); color: #fff; }
.b-run { background: var(--g-50); color: var(--g); }
.b-opt { background: #ECEDF1; color: var(--ink-2); }
.b-note { background: var(--o-50); color: var(--o); }
.spec-note { font-size: .88rem; color: var(--mut); margin: 18px 0 0; }

/* ==========================================================================
   USE CASES — lettered index (ruled columns, no boxes)
   ========================================================================== */
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; padding-top: 12px; }
.index-item { padding: 30px 0 34px; border-bottom: 1px solid var(--rule); position: relative; transition: transform .25s; }
.index-item::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 3px; background: var(--o-fill); transition: width .35s; }
.index-item:hover { transform: translateY(-3px); }
.index-item:hover::before { width: 100%; }
.index-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.index-top .letter { font-size: 2.2rem; font-weight: 700; color: var(--rule); line-height: 1; transition: color .25s; }
.index-item:hover .letter { color: var(--o-fill); }
.index-item h3 { margin-bottom: 6px; }
.index-item p { margin: 0; color: var(--mut); font-size: .95rem; }
@media (max-width: 900px) { .index-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .index-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   BENEFITS — peach band, statement + ruled list
   ========================================================================== */
.band-peach { background: var(--band-peach); }
.benefit-band { display: grid; grid-template-columns: .9fr 1.4fr; gap: 40px 70px; align-items: start; }
.benefit-band .statement h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); }
.benefit-band .statement p { color: var(--mut); }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.benefit { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid #F0DCCB; transition: transform .25s; }
.benefit:hover { transform: translateX(4px); }
.benefit:hover .icon-mark { background: var(--o-fill); color: #fff; }
.benefit .icon-mark { background: #fff; color: var(--o); }
.benefit h3 { margin: 4px 0 4px; font-size: 1.05rem; }
.benefit p { margin: 0; color: var(--mut); font-size: .93rem; }
@media (max-width: 900px) { .benefit-band { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .benefit-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   INSTALLATION — recipe layout (what you need + method)
   ========================================================================== */
.recipe { display: grid; grid-template-columns: .8fr 1.5fr; gap: 40px 64px; padding-top: 40px; }
.needs { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.needs h3, .method-title { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--o); }
.needs ul { list-style: none; padding: 0; margin: 0; }
.needs li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.needs li .ico { color: var(--p); margin-top: 3px; }
.needs strong { display: block; color: var(--ink); }
.needs span { color: var(--mut); font-size: .92rem; }
.method { list-style: none; margin: 0; padding: 0; }
.method > li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 0 0 30px; }
.method .mno { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.method .mno b { font-size: .8rem; color: var(--mut); letter-spacing: .08em; }
.method .mno::after { content: ""; flex: 1; width: 1px; background: var(--rule); min-height: 30px; }
.method > li:last-child .mno::after { display: none; }
.method h3 { margin: 8px 0 6px; font-size: 1.2rem; }
.method p { color: var(--mut); margin-bottom: 12px; }
.source-note { margin-top: 10px; border: 1px solid var(--rule); border-left: 4px solid var(--o-fill); background: #fff; border-radius: 4px; padding: 22px 24px; }
.source-note h3 { display: flex; align-items: center; gap: 10px; }
.source-note ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.source-note li { display: flex; gap: 12px; font-size: .92rem; color: var(--ink-2); }
.source-note li .ico { color: var(--o); margin-top: 2px; width: 20px; height: 20px; }
@media (max-width: 900px) { .recipe { grid-template-columns: 1fr; } .needs { position: static; } }
@media (max-width: 560px) { .source-note ol { grid-template-columns: 1fr; } .method > li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; } }

/* ==========================================================================
   DOWNLOAD — lavender band, editorial split
   ========================================================================== */
.band-lav { background: var(--band-lav); }
.dl-ed { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 70px; align-items: center; }
.dl-ed h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); letter-spacing: -.04em; }
.dl-ed .lead { font-size: 1.08rem; color: var(--ink-2); max-width: 560px; }
.dl-specs { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 26px 0 30px; }
.dl-specs li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--p-100); }
.dl-specs .ico { color: var(--p); width: 20px; height: 20px; margin-top: 3px; }
.dl-specs .k { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.dl-specs .v { display: block;  margin: 0; font-weight: 600; color: var(--ink); font-size: .94rem; }
.dl-fine { font-size: .84rem; color: var(--mut); margin: 18px 0 0; max-width: 560px; }
.dl-fig img { width: 100%; border-radius: 4px; }
@media (max-width: 900px) { .dl-ed { grid-template-columns: 1fr; } .dl-ed .btn { width: 100%; } }
@media (max-width: 560px) { .dl-specs { grid-template-columns: 1fr; } }

/* ==========================================================================
   SAFETY — numbered field notes
   ========================================================================== */
.notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.notes li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.notes h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.notes h3 small { color: var(--o); font-weight: 600; margin-right: 8px; font-size: .8rem; }
.notes p { margin: 0; color: var(--mut); font-size: .94rem; }
@media (max-width: 800px) { .notes { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROS & CONS — two-column ledger
   ========================================================================== */
.ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ledger-col { padding: 30px 40px 26px 0; }
.ledger-col + .ledger-col { padding: 30px 0 26px 40px; border-left: 1px solid var(--rule); }
.ledger-col > h3 { display: flex; align-items: center; gap: 14px; font-size: 2rem; letter-spacing: -.03em; margin-bottom: 14px; }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger li { display: flex; gap: 14px; padding: 13px 8px; border-bottom: 1px dashed var(--rule); font-size: .97rem; transition: background .2s; border-radius: 4px; }
.ledger li:last-child { border-bottom: 0; }
.ledger li .ico { width: 20px; height: 20px; margin-top: 4px; }
.pros li .ico { color: var(--g); }
.cons li .ico { color: var(--r); }
.pros li:hover { background: var(--g-50); }
.cons li:hover { background: var(--r-50); }
@media (max-width: 800px) { .ledger { grid-template-columns: 1fr; } .ledger-col, .ledger-col + .ledger-col { padding: 26px 0; border-left: 0; } .ledger-col + .ledger-col { border-top: 1px solid var(--rule); } }

/* ==========================================================================
   RELEASE — horizontal channel timeline + note
   ========================================================================== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; padding-top: 44px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: repeating-linear-gradient(90deg, var(--p) 0 10px, transparent 10px 18px); }
.timeline li { position: relative; }
.timeline .node { position: absolute; top: -44px; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 2px solid var(--p); color: var(--p); display: flex; align-items: center; justify-content: center; }
.timeline .node .ico { width: 20px; height: 20px; }
.timeline h3 { margin: 18px 0 6px; }
.timeline p { color: var(--mut); font-size: .94rem; margin: 0; }
.r3 { margin-top: 44px; display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: start; padding: 26px 28px; background: #fff; border: 1px solid var(--rule); border-radius: 4px; }
.r3 .big { font-size: 3.4rem; font-weight: 700; color: var(--p); line-height: 1; letter-spacing: -.05em; }
.r3 ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--mut); font-size: .94rem; }
.r3 h3 { margin-bottom: 4px; }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 64px; gap: 28px; }
  .timeline::before { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--p) 0 10px, transparent 10px 18px); }
  .timeline .node { top: 0; left: -64px; }
  .timeline h3 { margin-top: 8px; }
  .r3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TROUBLESHOOTING — problem / fix rows
   ========================================================================== */
.problems { margin: 0; }
.prow .pa { margin: 0; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px 50px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.prow .pq { display: flex; gap: 16px; align-items: flex-start; }
.prow .pq h3 { margin: 4px 0 2px; font-size: 1.08rem; }
.prow .pq small { display: block; color: var(--o); font-size: .84rem; font-weight: 500; }
.prow .pa { margin: 0; color: var(--ink-2); font-size: .96rem; padding-top: 6px; }
.prow .pa b { color: var(--g); font-weight: 600; margin-right: 6px; }
.prow:hover .icon-mark { transform: scale(1.08); }
@media (max-width: 760px) { .prow { grid-template-columns: 1fr; } .prow .pa { padding-left: 60px; padding-top: 0; } }

/* ==========================================================================
   GUIDES — magazine layout
   ========================================================================== */
.magazine { display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px 44px; padding-top: 40px; }
.mag-lead img, .mag-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; border: 1px solid var(--rule); transition: transform .4s; }
.mag-media { overflow: hidden; border-radius: 4px; display: block; }
.mag-lead:hover img, .mag-item:hover img { transform: scale(1.03); }
.kick { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--o); margin: 18px 0 8px; }
.mag-lead h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); letter-spacing: -.03em; }
.mag-lead h3 a, .mag-item h3 a, .mag-row h3 a { color: var(--ink); }
.mag-lead h3 a:hover, .mag-item h3 a:hover, .mag-row h3 a:hover { color: var(--p); }
.mag-lead p { color: var(--mut); }
.mag-side { display: grid; gap: 28px; align-content: start; }
.mag-item { display: grid; grid-template-columns: 1fr; }
.mag-item .kick { margin-top: 12px; }
.mag-item h3 { font-size: 1.1rem; margin: 0; }
.mag-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; margin-top: 40px; border-top: 1px solid var(--ink); }
.mag-row article { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.mag-row .kick { margin-top: 0; }
.mag-row h3 { font-size: 1.04rem; margin-bottom: 10px; }
.mag-foot { margin-top: 34px; }
@media (max-width: 900px) { .magazine { grid-template-columns: 1fr; } .mag-side { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mag-side, .mag-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ — typography-focused accordion with thin separators
   ========================================================================== */
.faq-ed { display: grid; grid-template-columns: .8fr 1.6fr; gap: 40px 70px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); }
.faq-intro p { color: var(--mut); }
.faq-group + .faq-group { margin-top: 46px; }
.faq-group > h3 { display: flex; align-items: center; gap: 12px; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--o); padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin: 0; }
.faq-group > h3 .ico { width: 20px; height: 20px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { width: 100%; display: grid; grid-template-columns: 54px 1fr 30px; align-items: center; gap: 10px; text-align: left; background: none; border: 0; padding: 20px 0; font-size: 1.08rem; font-weight: 600; color: var(--ink); cursor: pointer; line-height: 1.4; letter-spacing: -.01em; }
.faq-q .qn { font-size: .8rem; color: var(--mut); font-weight: 600; letter-spacing: .04em; }
.faq-q:hover { color: var(--p); }
.faq-q .chev { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--rule); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s, background .3s, border-color .3s, color .3s; }
.faq-q .chev .ico { width: 16px; height: 16px; }
.faq-q[aria-expanded="true"] { color: var(--p); }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--p); border-color: var(--p); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear .35s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > div { visibility: visible; transition-delay: 0s; }
.faq-a p { margin: 0; padding: 0 40px 22px 64px; color: var(--mut); font-size: .98rem; }
@media (max-width: 900px) { .faq-ed { grid-template-columns: 1fr; } .faq-intro { position: static; } }
@media (max-width: 560px) { .faq-q { grid-template-columns: 38px 1fr 30px; font-size: 1rem; } .faq-a p { padding: 0 0 20px 48px; } }

/* ==========================================================================
   FOOTER — editorial columns with oversized wordmark
   ========================================================================== */
.footer { border-top: 1px solid var(--ink); background: var(--paper); padding: 64px 0 28px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 60px; align-items: end; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.footer .wordmark, .wordmark { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.4rem); font-weight: 700; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.wordmark img { width: clamp(46px, 5vw, 70px); height: auto; }
.wordmark b { color: var(--o); }
.wordmark:hover { color: var(--ink); }
.footer-top p { color: var(--mut); margin: 0; font-size: .95rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 36px 0; }
.footer h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--o); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); font-size: .93rem; text-decoration: none; }
.footer a:hover { color: var(--p); }
.footer-cta p { font-size: .9rem; color: var(--mut); margin-bottom: 14px; }
.footer-cta .btn { padding: 12px 18px; font-size: .9rem; color: #fff; }
.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--mut); }
.footer-bar p { margin: 0; }
.footer-bar a { font-size: .85rem; color: var(--ink); font-weight: 600; }
.footer-bar .disclaimer { text-align: right; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } .footer-bar { flex-direction: column; align-items: flex-start; } .footer-bar .disclaimer { text-align: left; } }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px rgba(20, 27, 45, .25); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--p); }

/* ==========================================================================
   INNER PAGES — blog index, articles, legal
   ========================================================================== */
.page-head { padding: 50px 0 36px; border-bottom: 1px solid var(--ink); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .84rem; color: var(--mut); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #B4B7C1; }
.crumbs a { color: var(--mut); }
.crumbs a:hover { color: var(--p); }
.page-head h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.8rem); letter-spacing: -.04em; line-height: 1.08; margin-bottom: 14px; max-width: 1000px; }
.page-head p { color: var(--mut); max-width: 760px; margin: 0; font-size: 1.05rem; }
.meta-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; color: var(--o); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.meta-tag .ico { width: 16px; height: 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--mut); margin-top: 18px; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .ico { width: 17px; height: 17px; color: var(--o); }

.blog-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; padding: 10px 0 80px; }
.blog-card { padding: 34px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; min-width: 0; }
.blog-card .media { overflow: hidden; border-radius: 4px; border: 1px solid var(--rule); display: block; }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.blog-card:hover img { transform: scale(1.04); }
.blog-card .body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.blog-card h2 { font-size: 1.16rem; letter-spacing: -.02em; margin-bottom: 8px; }
.blog-card h2 a { color: var(--ink); }
.blog-card h2 a:hover { color: var(--p); }
.blog-card p { font-size: .93rem; color: var(--mut); }
.blog-card .link-arrow { margin-top: auto; align-self: flex-start; }
.blog-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px 50px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--ink); }
.blog-card.featured .body { padding-top: 0; }
.blog-card.featured h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); letter-spacing: -.03em; }
@media (max-width: 960px) { .blog-index { grid-template-columns: 1fr 1fr; } .blog-card.featured { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .blog-index { grid-template-columns: 1fr; } }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; padding-top: 46px; padding-bottom: 80px; }
.article .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; border: 1px solid var(--rule); }
.prose { padding: 34px 0 10px; font-size: 1.04rem; max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); margin-top: 1.7em; padding-top: .9em; border-top: 1px solid var(--rule); }
.prose h3 { font-size: 1.16rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration: underline; text-decoration-color: var(--o-fill); text-underline-offset: 3px; }
.prose .lead { font-size: 1.16rem; color: var(--ink); }
.prose .lead::first-letter { float: left; font-size: 3.6em; line-height: .85; font-weight: 700; color: var(--p); margin: .06em .12em 0 0; }
.callout { display: flex; gap: 14px; padding: 16px 20px; border-left: 4px solid var(--o-fill); background: var(--band-peach); margin: 1.5em 0; border-radius: 0 4px 4px 0; }
.callout .ico { color: var(--o); margin-top: 3px; }
.callout p { margin: 0; font-size: .96rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border-top: 1px solid var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.related { border-top: 1px solid var(--ink); padding: 30px 0 0; margin-top: 30px; }
.related h2 { font-size: 1.3rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.related-grid a { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.related-grid a:hover { color: var(--p); }
.related-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; border: 1px solid var(--rule); margin-bottom: 10px; transition: transform .3s; }
.related-grid a:hover img { transform: translateY(-3px); }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 34px; }
.side-box h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--o); padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
.side-box li a:hover, .side-box li a[aria-current="page"] { color: var(--p); }
.side-box li a[aria-current="page"] { font-weight: 600; }
.side-cta { background: var(--band-lav); padding: 24px; border-radius: 4px; }
.side-cta h2 { border-bottom: 0; padding-bottom: 0; color: var(--ink); font-size: 1.1rem; letter-spacing: -.01em; text-transform: none; }
.side-cta p { font-size: .9rem; color: var(--mut); }
.side-cta .btn { width: 100%; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; gap: 40px; } .sidebar { position: static; } .prose { max-width: none; } }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }

.doc-layout { padding-top: 40px; padding-bottom: 80px; }
.doc { max-width: 820px; }
.doc .prose { padding-top: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; margin: 1em 0 1.8em; border-top: 1px solid var(--ink); }
.contact-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.contact-card h2 { font-size: 1rem; margin: 2px 0 4px; padding: 0; border: 0; }
.contact-card p { margin: 0; font-size: .96rem; }
.email-plain { font-weight: 600; color: var(--ink); word-break: break-all; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }

/* grid/flex children may shrink below content width */
.article-layout > *, .blog-index > *, .hero-grid > *, .about-article > *, .step-sec > *, .recipe > *, .dl-ed > *, .faq-ed > *, .magazine > *, .benefit-band > *, .ledger > *, .notes > *, .index-grid > *, .mag-row > *, .footer-cols > *, .benefit-list > *, .timeline > * { min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.fhead { min-width: 0; }
.fhead h3 { min-width: 0; }
@media (max-width: 420px) { .frow { grid-template-columns: 52px minmax(0, 1fr); gap: 14px 16px; } .fhead { gap: 12px; } .fhead h3 { font-size: 1.12rem; } .fhead .icon-mark { width: 38px; height: 38px; } }
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .hero-meta span:not(.tag) { display: none; }
  .hero-grid { padding-top: 16px; }
}

/* 2026 visual refresh: user-supplied rainbow mark and clear chart illustrations */
.header-cta, .header-cta:visited, .mobile-panel > .btn-primary, .mobile-panel > .btn-primary:visited { color: #FFF08A; }
.header-cta:hover, .mobile-panel > .btn-primary:hover { color: #FFFFFF; background: #5E005F; }
.brand b, .wordmark b { color: var(--p); }
.brand img, .wordmark img { object-fit: contain; }
.footer-top .wordmark img { width: 78px; height: 78px; }
.blog-card .media, .article .cover, .related-grid img { border-radius: 12px; }
.blog-card img, .related-grid img { object-position: center; }
.hero-figure .frame { border-radius: 16px; overflow: hidden; }
img { image-rendering: auto; }
@media (max-width: 760px) { .brand img { width: 42px; height: 42px; } .footer-top .wordmark img { width: 64px; height: 64px; } }
