/* Preview only: approved A composition with C's illuminated course chapter. */
:root{--jelly-radius:32px;--jelly-gap:88px;--jelly-heading:60px}
.homepage main{padding-bottom:40px}
.homepage>header{border:0}
.homepage .hero{padding-bottom:0}
.homepage .newsletter-hero{align-items:start;gap:64px}
.homepage .newsletter-hero h1{font-size:76px;line-height:1.02}
.homepage .newsletter-specimen{padding-top:20px}
.homepage .issue-paper{border-radius:24px;max-height:780px}
.homepage .hero-tools{border:0;padding:36px 0;margin-top:36px}
.homepage main>.section{width:calc(100% - 80px);max-width:1280px;margin:var(--jelly-gap) auto 0;border-radius:var(--jelly-radius);overflow:hidden;padding:64px}
.homepage main>.section h2{font-size:var(--jelly-heading);line-height:1.04;letter-spacing:-.03em;margin:0 0 24px}
.homepage main>.section p{font-size:16px;line-height:1.7}
.homepage main>.course-intro{display:block;background:#241c2c;color:#fff7ed;position:relative;padding-top:64px}
.homepage main>.course-intro::before{content:"";position:absolute;inset:0 0 auto;aspect-ratio:3/2;background:url('media/jelly-review/course-atmosphere.webp') center/cover;mask-image:linear-gradient(#000 65%,transparent)}
.homepage .course-heading,.homepage .course-days{position:relative}
.homepage .course-heading{width:48%;min-height:420px;max-width:560px;text-align:left}
.homepage .course-heading>.eyebrow{color:#ffd9bb;font-size:11px;margin-bottom:24px}
.homepage .course-heading>p:not(.eyebrow){color:#fff0e5;max-width:48ch}
.homepage .course-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px;padding:36px 0 0;margin:20px 0 0;list-style:none}
.homepage .course-days li{display:block;border:0;padding:0;margin:0;background:none}
.homepage .course-days li>span{display:block;color:#ffd9bb;font-size:12px;letter-spacing:.06em;margin-bottom:18px}
.homepage .course-days h3{font-family:var(--editorial-serif);font-size:30px;line-height:1.12;margin:0 0 14px;font-weight:400;color:#fff7ed}
.homepage .course-days p{font-size:15px;line-height:1.65;color:#eadce9}
.homepage main>.workflow-ideas{background:transparent;text-align:left;padding-block:24px;color:var(--ink);overflow:visible}
.homepage .workflow-ideas h2{max-width:650px;margin-left:0}
.homepage .workflow-pills{justify-content:flex-start;max-width:100%;gap:12px}
.homepage .workflow-pills li{background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:11px 16px;font-size:14px;border-radius:999px}
.homepage .more-workflow-ideas{margin:24px 0 0;max-width:none}
.homepage .more-workflow-ideas summary{margin:0;padding-left:0}
.homepage main>.stack{padding:0;background:transparent}
.homepage .stack-stage{padding:64px;background:#d6e5cc url('media/jelly-review/mint-atmosphere.webp') center/cover;color:#1d3028;border-radius:var(--jelly-radius);overflow:hidden}
.homepage .stack-stage>.eyebrow{color:#344a3d;font-size:11px}
.homepage .stack-stage>h2{max-width:800px}
.homepage .stack-stage>.stack-intro{color:#2b4032;max-width:65ch}
.homepage .stack-tools{gap:10px;flex-wrap:wrap}
.homepage .stack-tools button{color:#1d3028;background:#f9fcf0d9;border:1px solid #687662;border-radius:12px}
.homepage .stack-tools button[aria-pressed=true]{background:#233b2c;color:#fff;border-color:#233b2c}
.homepage .stack-job{border:0;background:#292928;color:#f4f0e8;border-radius:24px;margin-top:36px;overflow:hidden}
.homepage .stack-job>div{padding:36px}
.homepage .stack-job h3{font-size:36px;color:#fff7ed}
.homepage .stack-job .eyebrow{color:#c6ddbc;font-size:11px}
.homepage .stack-job p{font-size:16px;color:#eee8df}
.homepage .stack-result{background:#343731}
.homepage .stack-pill{background:#44483d;color:#e7efd9;border:0}
.homepage .stack-directory{padding:24px 64px 48px}
.homepage .integration-grid{margin-top:0;gap:12px 36px}
.homepage .integration-grid article{border:0;padding:24px 0}
.homepage .integration-grid p{font-size:14px}
.homepage .stack-directory .stack-note{font-size:12px}
.homepage main>.product-gallery{padding:64px;background-image:var(--paper-grain),radial-gradient(ellipse at 10% 20%,#f3a87e99,transparent 60%),linear-gradient(135deg,#eacbb8,#c8bee5);background-size:180px 180px,auto,auto}
.homepage .product-screens{gap:32px;max-width:1050px;margin:auto}
.homepage .product-screens img{border-radius:24px}
.homepage main>.letter{padding:64px;max-width:1100px;background:var(--wash)}
.homepage #letter .letter-description{max-width:70ch;margin-inline:auto}
[data-theme=dark] .homepage .stack-directory{background:#2c2926}
[data-theme=dark] .homepage .product-gallery{background-image:var(--paper-grain),radial-gradient(ellipse at 10% 20%,#b9756666,transparent 60%),linear-gradient(135deg,#58404d,#48405c)}
@media(max-width:1050px) and (min-width:761px){.homepage .newsletter-hero h1{font-size:60px}.homepage .newsletter-hero{gap:36px}.homepage main>.section{padding:44px}.homepage main>.stack{padding:0}.homepage .stack-stage,.homepage .stack-directory{padding:44px}.homepage .course-days{grid-template-columns:repeat(3,minmax(0,1fr))}.homepage .course-heading{width:52%}}
@media(max-width:760px){
 :root{--jelly-radius:24px;--jelly-gap:48px;--jelly-heading:40px}
 .homepage .newsletter-hero h1{font-size:48px}
 .homepage .newsletter-hero{gap:32px}
 .homepage .newsletter-specimen{padding-top:0}
 .homepage .issue-paper{max-height:620px;border-radius:20px}
 .homepage main>.section{width:calc(100% - 32px);padding:28px;margin-top:var(--jelly-gap)}
 .homepage main>.course-intro{padding-top:310px}
 .homepage main>.course-intro::before{height:390px;aspect-ratio:auto;background-size:auto 390px;background-position:right top}
 .homepage .course-heading{width:100%;min-height:0}
 .homepage .course-heading>p:not(.eyebrow){font-size:16px}
 .homepage .course-days{grid-template-columns:1fr;gap:28px;padding-top:24px;margin-top:20px}
 .homepage .course-days li{display:grid;grid-template-columns:50px 1fr;gap:14px}
 .homepage .course-days li>span{margin:5px 0 0}
 .homepage .course-days h3{font-size:28px}
 .homepage .course-days p{font-size:15px}
 .homepage main>.workflow-ideas{padding:16px 6px}
 .homepage .workflow-pills{gap:9px}
 .homepage .workflow-pills li{padding:9px 12px;font-size:13px}
 .homepage main>.stack{padding:0}
 .homepage .stack-stage{padding:30px 24px;background-position:35% center}
 .homepage .stack-stage>h2{font-size:40px}
 .homepage .stack-tools button{font-size:13px;padding:9px 11px}
 .homepage .stack-job{grid-template-columns:1fr;border-radius:20px}
 .homepage .stack-job>div{padding:24px}
 .homepage .stack-job h3{font-size:30px}
 .homepage .stack-directory{padding:12px 24px 28px}
 .homepage .integration-grid{grid-template-columns:1fr;gap:0}
 .homepage main>.product-gallery{padding:28px 18px}
 .homepage .product-screens{gap:18px;padding:0;grid-auto-columns:85%;scroll-padding:0}
 .homepage main>.letter{padding:30px 24px}
 .homepage .hero-tools{padding-bottom:0}
}

/* A’s actual composition: compact opening, editorial strips and asymmetric spreads. */
:root{--jelly-heading:52px;--jelly-gap:72px}
.homepage .newsletter-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:76px;align-items:center;padding-bottom:0}
.homepage .newsletter-pitch{padding-top:0}
.homepage .newsletter-hero h1{font-size:72px;max-width:620px}
.homepage .newsletter-specimen{padding-top:0}
.homepage .issue-paper{max-height:730px;padding:30px 32px 20px}
.homepage .newsletter-bonus{margin-top:20px;max-width:430px;justify-content:flex-start}
.homepage .newsletter-promise{gap:10px;margin-bottom:0;max-width:450px}
.homepage .newsletter-promise li{font-size:14px}
.homepage .hero-tools{margin-top:42px;padding-block:25px 0;gap:22px;justify-content:center}
.homepage .jelly-cta{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:52px;padding:14px 24px;border-radius:999px;background:var(--cta-primary);color:#fffdf4;font-family:'DM Sans',Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;box-shadow:0 6px 14px #6c1d3424;transition:background .18s ease}
.homepage .jelly-cta:hover{background:var(--cta-primary-hover)}
.homepage .jelly-cta:active{background:var(--cta-primary-active)}
.homepage .jelly-cta:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.homepage .jelly-cta span{font-size:21px;line-height:1}
.homepage .newsletter-pitch>.jelly-cta{margin-top:26px}
.homepage .course-heading{min-height:375px}
.homepage .course-days{gap:26px;padding-top:26px}
.homepage main>.workflow-ideas{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.65fr) 150px;gap:28px;align-items:center;padding:18px 30px}
.homepage .workflow-ideas h2{margin:0;max-width:320px}
.homepage .ideas-list{min-width:0}
.homepage .workflow-pills{gap:9px}
.homepage .workflow-pills li{font-size:12px;padding:8px 12px;background:transparent}
.homepage .more-workflow-ideas{margin-top:12px}
.homepage .more-workflow-ideas summary{font-size:13px;padding:8px 0}
.homepage .ideas-bot{display:block;width:100%;height:auto;max-width:170px;object-fit:contain}
.homepage .stack-stage{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.5fr);gap:40px;padding:52px 0 0 48px;align-items:center;background-position:center}
.homepage .stack-copy{padding-bottom:52px;align-self:center}
.homepage .stack-copy>.eyebrow{font-size:10px;color:#344a3d;letter-spacing:.08em;max-width:24ch;margin-bottom:22px}
.homepage .stack-copy h2{max-width:360px}
.homepage .stack-copy>.stack-intro{font-size:15px;color:#2b4032;max-width:34ch;margin-bottom:28px}
.homepage .stack-copy .jelly-cta{padding-inline:18px;font-size:13px;gap:12px}
.homepage .stack-visual{align-self:end;min-width:0;padding:0 28px 0 0}
.homepage .stack-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch;justify-content:center;margin:0 0 0;padding:0 12px}
.homepage .stack-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:76px;padding:12px 6px;background:#fbfff2e8;border:1px solid #657961;color:#1d3028;font-size:11px;border-radius:15px;box-shadow:none}
.homepage .stack-tools button img{width:30px;height:30px;object-fit:contain}
.homepage .stack-tools button[aria-pressed=true]{background:#233b2c;color:#fff}
.homepage .stack-convergence{display:flex;flex-direction:column;align-items:center;gap:0;height:88px}
.homepage .stack-convergence span{display:block;width:1px;flex:1;background:#54724c}
.homepage .stack-convergence img{width:44px;height:44px;padding:8px;border-radius:50%;background:#eff3df;border:1px solid #6f8565}
.homepage .stack-workspace{border-radius:22px 22px 0 0;background:#292928;color:#f3f0e8;overflow:hidden;padding:0 30px 32px;min-height:360px}
.homepage .workspace-bar{display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid #55534c;padding:21px 0;margin-bottom:26px;color:#d7d4c8;font-size:12px}
.homepage .workspace-bar span:last-child{font-size:9px;letter-spacing:.08em;white-space:nowrap}
.homepage .stack-job{display:block;margin:0;border-radius:0;background:none;overflow:visible}
.homepage .stack-job>div{padding:0}
.homepage .stack-job h3{font-size:34px;margin-bottom:16px;line-height:1.08}
.homepage .stack-job .eyebrow{margin-bottom:12px;color:#c6ddbc;font-size:10px}
.homepage .stack-job #stack-task{font-size:14px;line-height:1.65;color:#e7e4db}
.homepage .stack-job .stack-pill{display:none}
.homepage .stack-job .stack-result{padding:20px;margin-top:26px;background:#383b34;border-radius:14px}
.homepage .stack-job #stack-result{font-size:15px;line-height:1.65}
.homepage .stack-result .stack-boundary{padding-top:14px;margin-top:16px;font-size:12px;border-top:1px solid #5e6555;color:#dbdfd0}
.homepage .stack-directory{padding:0 28px;background:transparent!important}
.homepage .stack-directory>summary{display:flex;justify-content:space-between;gap:20px;align-items:center;cursor:pointer;list-style:none;font-size:14px;padding:24px 0;color:var(--ink)}
.homepage .stack-directory>summary::-webkit-details-marker{display:none}
.homepage .stack-directory>summary span{font-size:24px;line-height:1}
.homepage .stack-directory[open]>summary span{transform:rotate(45deg)}
.homepage .stack-directory:focus-within>summary{outline-offset:3px}
.homepage .stack-directory .stack-note:last-child{margin-bottom:24px}
.homepage main>.product-gallery{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,2fr);gap:36px;align-items:center;padding:52px 28px 0 48px;background:#d7c8e5 url('media/jelly-review/lavender-atmosphere.webp') center/cover;color:#2b2132}
.homepage .product-copy{padding-bottom:52px}
.homepage .product-copy h2{font-size:var(--jelly-heading);max-width:300px}
.homepage .product-copy .jelly-cta{font-size:13px;gap:12px;padding-inline:17px}
.homepage .product-screens{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;overflow:visible;max-width:none;padding:0;align-self:end;align-items:start}
.homepage .product-screens img{display:block;width:100%;height:auto;min-width:0;border-radius:20px 20px 0 0;box-shadow:0 12px 24px #362b4224}
.homepage main>.letter{max-width:1280px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:72px;padding:52px 48px;background:transparent;border-radius:0;overflow:visible;text-align:left;align-items:start}
.homepage #letter .letter-copy>h2{text-align:left}
.homepage #letter .letter-description{font-size:16px;max-width:56ch;color:var(--muted)}
.homepage #letter .letter-bottom{justify-content:flex-start;margin-top:28px}
.homepage #letter .author{flex-direction:row;text-align:left;gap:15px}
.homepage #letter .author .avatar{width:64px;height:64px}
.homepage .closing-signup{background:var(--wash);padding:32px;border-radius:28px}
.homepage .closing-label{font-size:11px!important;color:var(--accent);letter-spacing:.08em;margin-bottom:18px}
.homepage .closing-signup h3{font-size:38px;line-height:1.1;margin:0 0 24px}
.homepage #letter #subscribe{display:block;background:none;padding:0;margin:0;max-width:none;border-radius:0;width:100%;scroll-margin-top:160px}
.homepage #letter #course-signup-form{padding:14px 12px 12px;margin:0;width:100%;max-width:none;border-radius:18px;background:white;box-shadow:none}
.homepage .closing-bonus{font-size:13px!important;line-height:1.6;margin:18px 0 0;text-align:center;color:var(--ink)}
.homepage #subscribe:target .newsletter-form{outline:2px solid var(--accent);outline-offset:6px}
[data-theme=dark] .homepage .product-gallery{background-image:linear-gradient(#21132b44,#21132b44),url('media/jelly-review/lavender-atmosphere.webp');color:#221b28}
@media(min-width:761px) and (max-width:1050px){.homepage .newsletter-hero{gap:32px}.homepage .newsletter-hero h1{font-size:60px}.homepage main>.workflow-ideas{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:24px}.homepage .ideas-bot{display:none}.homepage .stack-stage{grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:24px;padding:40px 0 0 32px}.homepage .stack-visual{padding-right:20px}.homepage .stack-tools{gap:8px;padding:0}.homepage .stack-workspace{padding:0 22px 28px}.homepage main>.product-gallery{padding:40px 20px 0 32px;gap:24px}.homepage main>.letter{gap:36px;padding:40px 32px}.homepage .closing-signup{padding:24px}}
@media(max-width:760px){
:root{--jelly-heading:40px;--jelly-gap:48px}
.homepage .newsletter-hero{display:flex;gap:30px;align-items:stretch}
.homepage .newsletter-hero h1{font-size:48px}
.homepage .newsletter-promise{gap:8px}
.homepage .newsletter-promise li{font-size:13px}
.homepage .newsletter-pitch>.jelly-cta{width:100%;font-size:14px;margin-top:22px}
.homepage .newsletter-bonus{font-size:12px}
.homepage .hero-tools{margin-top:28px;padding-top:8px}
.homepage .issue-paper{max-height:590px;padding:22px 24px 0}
.homepage main>.workflow-ideas{grid-template-columns:minmax(0,1fr) 88px;gap:24px 14px;padding:12px 8px;align-items:center}
.homepage .ideas-heading{grid-column:1;grid-row:1}
.homepage .ideas-bot{grid-column:2;grid-row:1;display:block;width:88px}
.homepage .ideas-list{grid-column:1/-1;grid-row:2}
.homepage .workflow-pills li{font-size:12px;padding:9px 11px}
.homepage .course-heading{min-height:0}
.homepage .stack-stage{display:block;padding:30px 24px 0}
.homepage .stack-copy{padding:0 0 30px}
.homepage .stack-copy h2{font-size:40px;max-width:none}
.homepage .stack-copy>.stack-intro{max-width:none;font-size:15px}
.homepage .stack-copy .jelly-cta{font-size:13px}
.homepage .stack-visual{padding:0}
.homepage .stack-tools{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:0}
.homepage .stack-tools button{font-size:9px;min-height:67px;padding:8px 2px;gap:5px;border-radius:12px}
.homepage .stack-tools button img{width:24px;height:24px}
.homepage .stack-convergence{height:70px}
.homepage .stack-workspace{padding:0 20px 24px;border-radius:18px 18px 0 0;min-height:0}
.homepage .workspace-bar{font-size:10px;gap:8px;padding-block:18px;margin-bottom:22px}
.homepage .workspace-bar span:last-child{font-size:8px}
.homepage .stack-job>div{padding:0}
.homepage .stack-job h3{font-size:30px}
.homepage .stack-job .stack-result{padding:18px;margin-top:24px}
.homepage .stack-directory{padding-inline:12px}
.homepage main>.product-gallery{display:block;padding:30px 24px 0}
.homepage .product-copy{padding-bottom:30px}
.homepage .product-copy h2{font-size:40px;max-width:290px}
.homepage .product-screens{display:flex;gap:16px;overflow-x:auto;padding:0;scroll-snap-type:x mandatory;align-items:flex-start;scrollbar-width:thin}
.homepage .product-screens img{flex:0 0 78%;width:78%;max-width:none;border-radius:18px 18px 0 0;scroll-snap-align:start}
.homepage main>.letter{display:block;padding:24px 8px}
.homepage .letter-copy{margin-bottom:36px}
.homepage .closing-signup{padding:26px 18px;border-radius:24px}
.homepage .closing-signup h3{font-size:34px}
.homepage #letter #course-signup-form{padding:10px 8px}

}

/* The primary opt-in is visible in the opening; the closing form is secondary. */
.homepage .hero{padding-top:20px}
.homepage .newsletter-hero{align-items:start}
.homepage .newsletter-hero h1{font-size:60px}
.homepage .newsletter-specimen{padding-top:16px}
.homepage .newsletter-pitch #subscribe{max-width:480px;margin:18px 0 0;padding:0;background:none;scroll-margin-top:130px}
.homepage .newsletter-pitch #subscribe #course-signup-form{padding:10px 12px 8px;border-radius:18px}
.homepage #letter #closing-subscribe{max-width:none;width:100%;margin:0;padding:0;background:none;border-radius:0}
.homepage #letter #closing-signup-form{padding:14px 12px 12px;margin:0;width:100%;max-width:none;border-radius:18px;background:white;box-shadow:none}
@media(max-width:760px){.homepage .hero{padding-top:20px}.homepage .newsletter-hero h1{font-size:44px;margin-bottom:18px}.homepage .newsletter-kicker{margin-bottom:16px}.homepage .newsletter-pitch #subscribe{margin-top:16px}.homepage .newsletter-pitch #subscribe #course-signup-form{padding:8px}.homepage .newsletter-specimen{padding-top:0}.homepage #letter #closing-signup-form{padding:10px 8px}}
/* The shared hosted form now renders email-only. */

/* Focus the opening on one action, with the same material world as the chapters. */
.homepage .hero{position:relative;isolation:isolate;padding-top:32px;padding-bottom:32px}
.homepage .hero::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#fffaf0ed 10%,#fffaf08c 55%,#fffaf030),url('media/jelly-review/lavender-atmosphere.webp') center/cover;border-radius:0 0 32px 32px}
[data-theme=dark] .homepage .hero::before{background:linear-gradient(90deg,#231e28f5 10%,#231e28c9 55%,#231e2880),url('media/jelly-review/lavender-atmosphere.webp') center/cover}
.homepage .newsletter-pitch #subscribe #course-signup-form,.homepage #letter #closing-signup-form{padding:0;margin:0;background:transparent;border:0;box-shadow:none;border-radius:0}
.homepage .newsletter-form iframe,.homepage .newsletter-pitch .newsletter-form iframe{background:transparent;color-scheme:normal}
.homepage .newsletter-pitch #subscribe{scroll-margin-top:calc(var(--homepage-header-height,104px) + 20px)}
.homepage .newsletter-bonus{max-width:480px;display:block;text-align:center;margin:8px 0 0}
.homepage .newsletter-bonus p{margin:0;font-size:14px;line-height:1.5}
.homepage .newsletter-bonus strong{display:block;font-weight:500;color:var(--ink)}
.homepage .newsletter-bonus span{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.homepage .hero>.newsletter-promise{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:740px;margin:38px auto 0;gap:32px;text-align:center}
.homepage .newsletter-promise li{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:14px;line-height:1.4}
.homepage .newsletter-promise strong{font-size:36px}
.homepage .hero-tools{margin-top:26px;padding-top:0}
.homepage .stack-directory summary{justify-content:flex-start;gap:9px;text-decoration:underline;text-underline-offset:4px}
.homepage .stack-directory summary span{margin-left:0;text-decoration:none}
.homepage .newsletter-kicker,.homepage .course-heading>.eyebrow,.homepage .stack-copy>.eyebrow,.homepage .gallery-copy>.eyebrow,.homepage .letter-copy>.eyebrow,.homepage .closing-label{font-size:11px!important;line-height:1.4;letter-spacing:.08em}
.homepage .audience-strip[hidden]{display:none}
.homepage>header nav{display:flex;align-items:center;gap:16px}
.homepage>header .nav-subscribe{font-size:13px;min-height:44px;padding:11px 20px;white-space:nowrap}
@media(max-width:760px){
.homepage>header{row-gap:10px;padding-block:12px}
.homepage>header nav{display:contents}
.homepage>header .nav-subscribe{grid-column:1/-1;grid-row:2;justify-self:stretch;min-height:42px;padding:10px 16px}
.homepage .hero{padding-top:24px}
.homepage .hero::before{background:linear-gradient(#fffaf0c9,#fffaf057),url('media/jelly-review/lavender-atmosphere.webp') center/cover}
[data-theme=dark] .homepage .hero::before{background:linear-gradient(#231e28ed,#231e28b5),url('media/jelly-review/lavender-atmosphere.webp') center/cover}
.homepage .hero>.newsletter-promise{gap:14px;margin-top:28px}
.homepage .newsletter-promise li{font-size:12px}
.homepage .newsletter-promise strong{font-size:30px}
.homepage .hero-tools{margin-top:28px}
}

/* Match the hero panel to the chapter gutters; logos remain on the page canvas. */
.homepage main>.hero{width:calc(100% - 80px);max-width:1280px;margin:24px auto 0;padding:40px 48px;border-radius:32px;overflow:hidden}
.homepage .hero::before{border-radius:inherit}
.homepage .newsletter-hero{column-gap:48px;row-gap:26px;grid-template-rows:auto 1fr}
.homepage .newsletter-pitch{grid-column:1;grid-row:1}
.homepage .newsletter-specimen{grid-column:2;grid-row:1 / span 2}
.homepage .newsletter-hero>.newsletter-promise{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:480px;width:100%;margin:0;align-self:start;text-align:center}
.homepage main>.hero-tools{max-width:1184px;margin:30px auto 0;padding:0 32px;gap:22px}
.homepage main>.letter{display:block;max-width:850px;padding:40px 32px}
.homepage #letter .letter-description{max-width:70ch}
.homepage main>.back-issues{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px;background:#f0e4d7;color:#30261f}
.homepage main>.back-issues[hidden]{display:none}
.homepage .archive-heading p{margin-bottom:0;color:#655245}
.homepage .archive-content{align-self:center;min-width:0}
.homepage #issue-status{color:#655245;margin:0 0 22px}
.homepage .archive-feed{font-size:13px;color:inherit;text-underline-offset:4px}
.homepage .issue-archive-item{padding:20px 0;border-bottom:1px solid #bfae9e}
.homepage .issue-archive-item:first-child{padding-top:0}
.homepage .issue-archive-item:last-child{margin-bottom:24px}
.homepage .issue-archive-item h3{font-family:var(--editorial-serif);font-size:30px;line-height:1.15;margin:6px 0 10px}
.homepage .issue-archive-item a{color:inherit;text-underline-offset:4px}
.homepage .issue-archive-item time{font-size:12px;color:#655245}
.homepage .issue-archive-item p{font-size:14px;line-height:1.6;margin:0;color:#655245}
[data-theme=dark] .homepage main>.back-issues{background:#3b3029;color:#f7eee4}
[data-theme=dark] .homepage .archive-heading p,[data-theme=dark] .homepage #issue-status,[data-theme=dark] .homepage .issue-archive-item p,[data-theme=dark] .homepage .issue-archive-item time{color:#ddc9b7}
@media(max-width:1050px) and (min-width:761px){.homepage main>.hero{padding:32px}.homepage .newsletter-hero{column-gap:30px}.homepage .newsletter-hero h1{font-size:52px}}
@media(max-width:760px){
.homepage main>.hero{width:calc(100% - 32px);margin-top:16px;padding:24px 22px;border-radius:24px}
.homepage .newsletter-hero{gap:30px}
.homepage .newsletter-hero>.newsletter-promise{gap:12px;margin:0;max-width:none}
.homepage main>.hero-tools{padding:0 24px;margin-top:26px;gap:18px}
.homepage main>.back-issues{grid-template-columns:1fr;gap:28px;padding:30px 24px}
.homepage main>.letter{padding:30px 24px}
}

/* User-authored definitions and a more personal editorial close. */
.homepage .hero-extras{grid-column:1;grid-row:2;align-self:start;max-width:480px;width:100%;min-width:0}
.homepage .hero-extras>.newsletter-promise{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;max-width:none;margin:0;text-align:center}
.homepage .grok-definition{margin-top:30px;padding-top:22px;border-top:1px solid #8e716d55;text-align:left}
.homepage .grok-definition h3{font-family:var(--editorial-serif);font-size:29px;line-height:1.15;margin:0 0 10px;letter-spacing:-.02em}
.homepage .grok-definition p{font-size:14px;line-height:1.6;margin:0;max-width:49ch;color:var(--muted)}
.homepage .grok-definition .dictionary-word{font-size:13px;margin-bottom:10px;color:var(--ink);display:flex;flex-wrap:wrap;gap:9px;align-items:baseline}
.homepage .dictionary-word span{color:var(--muted)}
.homepage .course-prework{position:relative;max-width:62ch;color:#ffead9;font-size:14px!important;line-height:1.6;margin:24px 0 0}
.homepage #workflow-ideas-title em{font-style:italic;font-weight:400}
.homepage main>.back-issues{background-image:linear-gradient(#fff8ed8c,#fff8ed75),url('media/jelly-review/archive-atmosphere.webp');background-size:cover;background-position:center}
[data-theme=dark] .homepage main>.back-issues{background-image:linear-gradient(#263735ed,#263735d9),url('media/jelly-review/archive-atmosphere.webp')}
.homepage main>.letter{position:relative;background-color:#fff7e9;background-image:var(--paper-grain);background-size:180px 180px;border-radius:24px;padding:56px;box-shadow:0 12px 30px #4b382b12;color:#392e27}
.homepage #letter .letter-description{color:#64554a}
.homepage #letter .letter-signoff{font-family:var(--editorial-serif);font-size:27px;line-height:1.3;color:#392e27;margin:30px 0 0}
.homepage #letter .letter-copy>.eyebrow{color:#943843}
[data-theme=dark] .homepage main>.letter{background-color:#332e29;color:#fff0df;box-shadow:0 12px 30px #0002}
[data-theme=dark] .homepage #letter .letter-description{color:#d4c4b4}
[data-theme=dark] .homepage #letter .letter-signoff{color:#fff0df}
[data-theme=dark] .homepage #letter .letter-copy>.eyebrow{color:#f0a2aa}
@media(max-width:760px){.homepage .hero-extras{max-width:none}.homepage .hero-extras>.newsletter-promise{gap:12px}.homepage .grok-definition{margin-top:24px}.homepage main>.letter{padding:32px 24px}.homepage #letter .letter-signoff{font-size:25px}}

.homepage>header .nav-subscribe[hidden]{display:none}

/* Optional character asides: quiet until invited. */
.homepage .whimsy-character{position:relative;display:inline-flex;flex-shrink:0;vertical-align:middle}
.homepage .whimsy-trigger{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:3px;border:0;border-radius:12px;background:transparent;color:inherit;cursor:pointer;font:inherit;touch-action:manipulation}
.homepage .whimsy-trigger img{display:block;width:38px;height:38px;object-fit:contain}
.homepage .whimsy-trigger:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.homepage .whimsy-trigger:hover,.homepage .whimsy-trigger[aria-expanded=true]{background:var(--wash)}
.homepage .issue-heading .whimsy-trigger:hover,.homepage .issue-heading .whimsy-trigger[aria-expanded=true]{background:#f0eeea}
.homepage .whimsy-hint{position:absolute;right:-2px;bottom:0;border:1px solid var(--line);border-radius:999px;padding:0 4px;background:var(--surface);color:var(--ink);font-size:12px;line-height:12px;letter-spacing:1px}
.homepage .whimsy-bubble{position:absolute;z-index:5;bottom:calc(100% + 10px);left:0;width:max-content;max-width:min(250px,calc(100vw - 100px));padding:12px 15px;border:1px solid var(--line);border-radius:15px 15px 15px 3px;background:var(--surface);color:var(--ink);box-shadow:0 5px 16px #19181714;font-size:13px;font-weight:400;line-height:1.5;letter-spacing:normal;text-align:left}
.homepage .whimsy-bubble[hidden],.homepage .whimsy-ideas-caption[hidden]{display:none}
.homepage .whimsy-ideas{position:relative;min-width:0}
.homepage .whimsy-ideas .ideas-bot{transform-origin:50% 85%}
.homepage main>.section .whimsy-ideas-caption{font-size:13px;line-height:1.45;text-align:center;margin:8px 0 0;color:var(--muted)}
.homepage .whimsy-ideas.is-awake .ideas-bot{animation:whimsy-ideas-lean 750ms ease-in-out both}
.homepage .whimsy-footer{grid-column:1/-1;display:flex;justify-content:flex-end}
.homepage .whimsy-footer-character .whimsy-trigger{width:64px;height:64px}
.homepage .whimsy-footer-character img{width:58px;height:58px}
.homepage .whimsy-footer-character .whimsy-bubble{left:auto;right:0;border-radius:15px 15px 3px 15px}
@keyframes whimsy-ideas-lean{0%,100%{transform:rotate(0)}45%{transform:rotate(-10deg)}72%{transform:rotate(3deg)}}
@media(min-width:761px) and (max-width:1050px){.homepage .whimsy-ideas{grid-column:1/-1;justify-self:end;width:110px}.homepage .whimsy-ideas .ideas-bot{display:block}}
@media(max-width:760px){.homepage .whimsy-ideas{grid-column:2;grid-row:1;align-self:center}.homepage main>.section .whimsy-ideas-caption{font-size:11px;line-height:1.4}.homepage .whimsy-footer{justify-content:flex-start}.homepage .whimsy-footer-character .whimsy-bubble{left:0;right:auto;border-radius:15px 15px 15px 3px}}
@media(prefers-reduced-motion:reduce){.homepage .whimsy-ideas.is-awake .ideas-bot{animation:none}}
