/* Clara Voice
   Ink is the room, paper is the page: anything the person writes or reads sits on paper,
   everything around it is ink. Brass marks actions and focus, nothing else. */

:root {
    --ink: #10151f;
    --ink-2: #18202d;
    --ink-3: #222b3a;
    --ink-line: rgba(236, 230, 218, 0.14);
    --on-ink: #ece6da;
    --on-ink-muted: #a3a9b4;
    --paper: #ece3d0;
    --paper-2: #e3d8c1;
    --paper-bright: #f5efe2;
    --on-paper: #1f1b16;
    --on-paper-muted: #5b5246;
    --paper-line: #8a7f6c;
    --brass: #c9a35c;
    --brass-deep: #7a5b1e;
    --err-ink: #f0a597;
    --err-paper: #9b2c1f;
    --ok-ink: #9fd0a6;
    --ok-paper: #2f6b3a;

    --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --page: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --measure: 66ch;
    --section: clamp(56px, 7vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
    margin: 0;
    background-color: var(--ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
    color: var(--on-ink);
    font: 400 1.0625rem/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
html { background-color: var(--ink); }
/* Film grain is part of the page background (see body), so it scrolls with the page. */
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--brass-deep); }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--paper); color: var(--on-paper); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- Type --- */
.display {
    font-family: var(--serif);
    font-optical-sizing: auto;
    font-size: clamp(3rem, 1.6rem + 6.2vw, 7rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
}
.page-title { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); line-height: 1.06; letter-spacing: -0.015em; }
.section-title { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.625rem); line-height: 1.12; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem); line-height: 1.55; color: var(--on-ink-muted); max-width: 44ch; }
.muted { color: var(--on-ink-muted); }
.small { font-size: 0.9375rem; }

/* --- Layout --- */
.container { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 52ch; }
.section-head p { color: var(--on-ink-muted); }

/* --- Header and footer --- */
.site-head {
    width: min(100% - 2 * var(--gutter), var(--page));
    margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding-block: 20px;
    position: relative; z-index: 20;
}
.wordmark {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--serif); font-size: 1.375rem; text-decoration: none; letter-spacing: -0.01em;
}
.wordmark img { border-radius: 7px; }
.nav-links { list-style: none; display: none; gap: 26px; }
.nav-links a, .nav-menu a { text-decoration: none; color: var(--on-ink-muted); font-size: 0.9375rem; }
.nav-links a:hover, .nav-links a[aria-current], .nav-menu a:hover { color: var(--on-ink); }
.nav-links a[aria-current] { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 6px; }
.nav-menu { position: relative; }
.nav-menu summary {
    list-style: none; cursor: pointer; padding: 8px 14px; min-height: 44px; display: flex; align-items: center;
    border: 1px solid var(--ink-line); border-radius: 6px; font-size: 0.9375rem;
    background: rgba(16, 21, 31, 0.7);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu ul {
    list-style: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px;
    background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 6px; padding: 8px;
}
.nav-menu li a { display: block; padding: 12px 12px; border-radius: 4px; }
.nav-menu li a:hover { background: var(--ink-3); }
@media (min-width: 980px) {
    .nav-links { display: flex; }
    .nav-menu { display: none; }
}

.site-foot { background: var(--ink-2); border-top: 1px solid var(--ink-line); margin-top: var(--section); }
.foot-inner {
    width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto;
    display: grid; gap: 32px; padding-block: 48px 32px;
}
.foot-brand p { color: var(--on-ink-muted); margin-top: 10px; font-size: 0.9375rem; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.foot-links ul { list-style: none; display: grid; gap: 4px; align-content: start; }
.foot-links a, .link-button {
    color: var(--on-ink-muted); font-size: 0.9375rem; text-decoration: none;
    display: inline-block; padding: 8px 0; background: none; border: 0; cursor: pointer; text-align: left;
}
.foot-links a:hover, .link-button:hover { color: var(--on-ink); text-decoration: underline; }
.foot-disclaimer {
    width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; padding-block: 0 16px;
    color: var(--on-ink-muted); font-size: 0.8125rem; line-height: 1.55;
}
.foot-legal {
    width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto;
    padding-block: 20px 32px; border-top: 1px solid var(--ink-line); color: var(--on-ink-muted); font-size: 0.875rem;
}
@media (min-width: 760px) {
    .foot-inner { grid-template-columns: 1fr auto; }
    .foot-links { grid-template-columns: repeat(2, minmax(180px, auto)); }
}

/* --- Buttons and links --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 26px; border-radius: 6px; border: 1px solid transparent;
    font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
}
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #d6b26c; }
.btn-ink { background: var(--ink); color: var(--paper-bright); }
.btn-ink:hover { background: var(--ink-3); }
.btn-quiet { background: transparent; border-color: var(--ink-line); color: var(--on-ink); }
.paper .btn-quiet { border-color: var(--paper-line); color: var(--on-paper); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.text-link { color: var(--on-ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.paper .text-link { color: var(--on-paper); text-decoration-color: var(--brass-deep); }
.crumbs { font-size: 0.9375rem; color: var(--on-ink-muted); margin-bottom: 18px; }
.crumbs a { color: var(--on-ink-muted); text-underline-offset: 4px; }
.crumbs a:hover { color: var(--on-ink); }

/* --- Paper --- */
.paper {
    background: var(--paper); color: var(--on-paper);
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 24px 60px -30px rgba(0, 0, 0, 0.7);
}
.paper .muted, .paper .lede { color: var(--on-paper-muted); }

/* --- Art: fixed aspect boxes, with a CSS candlelight when the image isn't there --- */
.art { position: relative; overflow: hidden; background-color: var(--ink-2); isolation: isolate; }
.art-hero { aspect-ratio: 16 / 9; }
.art-card { aspect-ratio: 4 / 3; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art:not(:has(img))::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(var(--glow-size, 38%) var(--glow-size, 38%) at var(--glow-x, 62%) var(--glow-y, 58%),
            rgba(232, 178, 98, 0.55), rgba(201, 140, 70, 0.18) 45%, transparent 70%),
        radial-gradient(70% 60% at var(--glow-x, 62%) 100%, rgba(120, 72, 32, 0.35), transparent 70%),
        linear-gradient(170deg, #1b2230, #0d1119 70%);
}
.art:not(:has(img))::after {
    content: ''; position: absolute; left: var(--glow-x, 62%); top: var(--glow-y, 58%);
    width: 6px; height: 18px; margin: -14px 0 0 -3px; border-radius: 50% 50% 45% 45%;
    background: radial-gradient(circle at 50% 70%, #fff4d6, #f2c46d 55%, transparent 75%);
    filter: blur(0.6px);
}
.art--home { --glow-x: 74%; --glow-y: 46%; --glow-size: 34%; }
.art--speeches { --glow-x: 30%; --glow-y: 50%; }
.art--letters { --glow-x: 70%; --glow-y: 36%; --glow-size: 44%; }
.art--career { --glow-x: 82%; --glow-y: 30%; --glow-size: 52%; }
.art--business { --glow-x: 20%; --glow-y: 32%; --glow-size: 48%; }
.art--study { --glow-x: 50%; --glow-y: 26%; --glow-size: 40%; }
.art--prompts { --glow-x: 56%; --glow-y: 62%; --glow-size: 56%; }
.art--result { --glow-x: 50%; --glow-y: 40%; --glow-size: 60%; }

/* --- Home: hero --- */
.hero { position: relative; margin-top: -84px; display: grid; min-height: clamp(600px, 94svh, 940px); align-items: end; }
.hero-art { position: absolute; inset: 0; aspect-ratio: auto; }
.hero-art::before { opacity: 0.9; }
.hero-shade {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(16, 21, 31, 0.8), transparent 22%),
        linear-gradient(to top, var(--ink) 4%, rgba(16, 21, 31, 0.86) 34%, rgba(16, 21, 31, 0.2) 72%, rgba(16, 21, 31, 0.55)),
        linear-gradient(to right, rgba(16, 21, 31, 0.75), transparent 60%);
}
.hero-inner {
    position: relative; width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto;
    padding-block: 140px clamp(56px, 9vw, 112px);
    display: grid; gap: 28px;
}
.hero .display { max-width: 8.6ch; }
.hero-art img { object-position: 30% 50%; }
@media (max-width: 760px) { .hero-art img { object-position: 62% 50%; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
@media (prefers-reduced-motion: no-preference) {
    .hero .display, .hero .lede, .hero-actions { animation: rise 900ms cubic-bezier(.2, .7, .2, 1) both; }
    .hero .lede { animation-delay: 140ms; }
    .hero-actions { animation-delay: 260ms; }
    .hero-art img { animation: settle 2400ms ease-out both; }
}
/* Phones: the headline, the promise and the button all on the first screen (it took the whole screen before) */
@media (max-width: 760px) {
    .hero { min-height: 0; }
    .hero-inner { padding-block: 112px 40px; gap: 20px; }
    .hero .display { font-size: clamp(2.5rem, 1.6rem + 6vw, 3.25rem); max-width: 10ch; }
    .hero .lede { font-size: 1.0625rem; }
}
.hero .lede strong { color: var(--on-ink); font-weight: 600; }
.start-more { margin-top: 24px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }

/* --- Home: categories --- */
.cat-grid { list-style: none; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.cat-card {
    display: grid; grid-template-rows: auto 1fr; height: 100%;
    padding: 10px 10px 0; text-decoration: none;
    transition: transform 200ms ease;
}
.cat-card .art { border-radius: 2px; }
.cat-card-body { display: grid; gap: 8px; align-content: start; padding: 20px 14px 22px; }
.cat-card h3 { font-size: 1.75rem; line-height: 1.15; }
.cat-card p { color: var(--on-paper-muted); }
.cat-card .cat-meta { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; color: var(--on-paper); }
.cat-card .cat-meta span:last-child { color: var(--on-paper-muted); }
a.cat-card:hover { transform: translateY(-3px); }
a.cat-card:hover h3 { text-decoration: underline; text-decoration-color: var(--brass-deep); text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* --- Home: steps, trust, featured, FAQ --- */
.steps { list-style: none; display: grid; gap: 40px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.steps li { counter-increment: step; display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--ink-line); padding-top: 24px; }
.steps li::before {
    content: counter(step); font-family: var(--serif); font-size: 3.5rem; line-height: 1; color: var(--brass);
}
.steps h3 { font-size: 1.5rem; }
.steps p { color: var(--on-ink-muted); max-width: 36ch; }

.trust { background: var(--ink-2); border-block: 1px solid var(--ink-line); }
.trust-list { list-style: none; display: grid; gap: 0; }
.trust-list li { padding: 28px 0; display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--ink-line); }
.trust-list li:first-child { border-top: 0; }
.trust-list h3 { font-size: 1.5rem; }
.trust-list p { color: var(--on-ink-muted); max-width: 40ch; }
@media (min-width: 900px) {
    .trust-list { grid-template-columns: repeat(3, 1fr); }
    .trust-list li { border-top: 0; border-left: 1px solid var(--ink-line); padding: 8px 32px; }
    .trust-list li:first-child { border-left: 0; padding-left: 0; }
}

.featured { list-style: none; display: grid; column-gap: 48px; }
@media (min-width: 860px) { .featured { grid-template-columns: 1fr 1fr; } }
.featured a {
    display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: baseline;
    padding: 20px 0; border-bottom: 1px solid var(--ink-line); text-decoration: none;
}
.featured .f-title { font-family: var(--serif); font-size: 1.375rem; }
.featured .f-price { font-size: 0.9375rem; color: var(--on-ink-muted); }
.featured .f-benefit { grid-column: 1 / -1; color: var(--on-ink-muted); font-size: 0.9375rem; }
.featured a:hover .f-title { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 5px; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--ink-line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
    font-family: var(--serif); font-size: 1.3125rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
    border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(45deg);
    transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 24px; color: var(--on-ink-muted); max-width: var(--measure); }
.faq a { color: var(--on-ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }

/* --- Category page --- */
.cat-hero { position: relative; margin-top: -84px; display: grid; align-items: end; min-height: clamp(460px, 64svh, 640px); }
.cat-hero .art { position: absolute; inset: 0; aspect-ratio: auto; }
.cat-hero-inner { position: relative; width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; padding-block: 120px 56px; display: grid; gap: 16px; }
.notice-band {
    margin-top: 8px; padding: 14px 18px; border-left: 3px solid var(--brass); background: rgba(16, 21, 31, 0.72);
    max-width: 52ch; font-weight: 600;
}
.item-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .item-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .item-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.item-card { height: 100%; display: grid; gap: 10px; align-content: start; padding: 24px 22px; text-decoration: none; }
.item-card h2 { font-size: 1.5rem; line-height: 1.2; }
.item-card p { color: var(--on-paper-muted); }
.item-card .item-price { color: var(--on-paper); font-weight: 600; margin-top: 6px; }
a.item-card:hover h2 { text-decoration: underline; text-decoration-color: var(--brass-deep); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.item-card.is-soon { background: transparent; box-shadow: none; border: 1px dashed var(--ink-line); color: var(--on-ink); }
.item-card.is-soon p { color: var(--on-ink-muted); }
.item-card.is-soon .item-price { color: var(--on-ink-muted); font-weight: 400; }
.group-title { font-size: 1.5rem; margin: 56px 0 20px; }
.group-title:first-child { margin-top: 0; }

/* --- Item page --- */
.write-layout {
    width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; padding-top: clamp(16px, 4vw, 48px);
    display: grid; gap: 32px; grid-template-areas: "head" "form" "example" "aside";
}
.write-start { justify-self: start; }
.write-example { grid-area: example; display: grid; gap: 12px; align-content: start; }
.write-example h2 { font-size: 1.375rem; }
.example-note { font-size: 0.875rem; color: var(--on-ink-muted); max-width: 52ch; }
.example-text {
    margin: 0; padding: 18px 20px; border-left: 3px solid var(--brass); background: var(--ink-2);
    font-family: var(--serif); font-size: 1.0625rem; line-height: 1.6; display: grid; gap: 12px;
    max-height: 22em; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
    mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
@media (max-width: 760px) { .write-layout .page-title { font-size: clamp(1.9rem, 1.4rem + 3vw, 2.4rem); } }
.write-head { grid-area: head; display: grid; gap: 14px; }
.write-head .price-tag { font-size: 0.9375rem; color: var(--on-ink-muted); }
.write-head .price-tag strong { color: var(--on-ink); font-weight: 600; }
.write-form { grid-area: form; padding: clamp(22px, 4vw, 48px); min-width: 0; }
.write-aside { grid-area: aside; display: grid; gap: 16px; align-content: start; }
.write-aside h2 { font-size: 1.5rem; }
.get-list { list-style: none; display: grid; gap: 12px; }
.get-list li { padding-left: 22px; position: relative; color: var(--on-ink-muted); }
.get-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.write-notice { padding: 14px 18px; border-left: 3px solid var(--brass); background: var(--ink-2); font-weight: 600; }
.intro { display: grid; gap: 14px; color: var(--on-ink-muted); max-width: var(--measure); }
@media (min-width: 980px) {
    .write-layout {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px;
        grid-template-areas: "head form" "example form" "aside form";
        grid-template-rows: auto auto 1fr;
    }
    .write-aside { position: sticky; top: 24px; }
}

/* --- Result page --- */
.result-head { position: relative; margin-top: -84px; padding-top: 84px; }
.result-head .art { position: absolute; inset: 0; aspect-ratio: auto; opacity: 0.55; }
.result-head .art::after { display: none; }
.result-head-inner { position: relative; width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; padding-block: 56px 40px; display: grid; gap: 12px; }
.result-head .shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(16, 21, 31, 0.3), var(--ink)); }
.result-body { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; display: grid; gap: 28px; }
.sheet { padding: clamp(28px, 6vw, 72px) clamp(22px, 7vw, 88px); }
.sheet-text {
    font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
    line-height: 1.72; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 62ch;
}
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.panel { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 6px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.panel h2 { font-size: 1.625rem; }

/* --- Forms on ink (email, recover) --- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; }
.input {
    width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 6px;
    background: var(--ink); border: 1px solid #4a5262; color: var(--on-ink); font: inherit;
}
.paper .input { background: var(--paper-bright); border-color: var(--paper-line); color: var(--on-paper); }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--on-ink-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brass); flex-shrink: 0; }
.notice { padding: 14px 16px; border-radius: 6px; border-left: 3px solid; }
.notice[hidden] { display: none; }
.notice.ok { border-color: var(--ok-ink); background: rgba(159, 208, 166, 0.08); color: var(--ok-ink); }
.notice.err { border-color: var(--err-ink); background: rgba(240, 165, 151, 0.08); color: var(--err-ink); }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Simple pages (recover, error) and prose (legal, blog, about) --- */
.narrow { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; padding-top: clamp(24px, 6vw, 72px); display: grid; gap: 24px; }
.prose { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; padding-top: clamp(24px, 6vw, 72px); }
.prose h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -0.015em; margin-bottom: 20px; }
.prose h2 { font-size: 1.75rem; line-height: 1.2; margin: 48px 0 14px; }
.prose h3 { font-size: 1.375rem; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--on-ink-muted); max-width: var(--measure); }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; display: grid; gap: 8px; }
.prose a { color: var(--on-ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
.prose strong { color: var(--on-ink); }
.prose .meta { font-size: 0.9375rem; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--ink-line); }
.prose blockquote, .prose .highlight {
    margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brass);
    font-family: var(--serif); font-size: 1.3125rem; line-height: 1.5; color: var(--on-ink);
}
.prose .highlight p { color: var(--on-ink); margin: 0; }
.prose .cta { margin-top: 56px; padding: 32px; display: grid; gap: 14px; }
.prose .cta h2 { margin: 0; font-size: 1.75rem; }
.prose .cta p { color: var(--on-paper-muted); margin: 0; }
.prose .cta .btn { justify-self: start; }
.post-list { list-style: none; padding: 0 !important; display: grid; gap: 0 !important; }
.post-list a { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--ink-line); text-decoration: none; }
.post-list .p-title { font-family: var(--serif); font-size: 1.5rem; color: var(--on-ink); }
.post-list .p-meta { font-size: 0.875rem; color: var(--on-ink-muted); }
.post-list a:hover .p-title { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 5px; }

/* --- Cookie banner --- */
.cv-consent {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 620px; margin: 0 auto;
    background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 6px; padding: 18px 20px;
    display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.cv-consent[hidden] { display: none; }
.cv-consent p { flex: 1 1 280px; font-size: 0.9375rem; color: var(--on-ink-muted); }
.cv-consent a { color: var(--on-ink); text-underline-offset: 3px; }
.cv-consent-btns { display: flex; gap: 10px; }
.cv-consent button {
    min-height: 44px; padding: 10px 18px; border-radius: 6px; cursor: pointer; font-weight: 600;
    border: 1px solid var(--ink-line); background: transparent; color: var(--on-ink);
}
.cv-consent button.cv-accept { background: var(--brass); border-color: var(--brass); color: var(--ink); }
/* Phones: a slim bar, so it never covers the form's first questions */
@media (max-width: 760px) {
    .cv-consent { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; gap: 8px; flex-wrap: nowrap; }
    .cv-consent p { flex: 1 1 auto; font-size: 0.8125rem; line-height: 1.35; }
    .cv-consent button { min-height: 40px; padding: 8px 12px; }
    .cv-consent-btns { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --- Prompt packs --- */
.pack-layout .write-head { grid-area: auto; }
.pack-layout { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; padding-top: clamp(16px, 4vw, 48px); display: grid; gap: 32px; }
.prompt-list { list-style: none; display: grid; gap: 20px; counter-reset: prompt; }
.prompt-card { padding: clamp(22px, 4vw, 36px); display: grid; gap: 10px; justify-items: start; }
.prompt-card h2 { font-size: 1.5rem; line-height: 1.2; }
.prompt-text {
    width: 100%; margin: 6px 0 6px; padding: 18px 20px; white-space: pre-wrap; overflow-wrap: anywhere;
    background: var(--paper-bright); border: 1px solid var(--paper-line); border-radius: 4px;
    font: 400 0.9688rem/1.6 var(--sans); color: var(--on-paper);
}
.pack-note { max-width: var(--measure); }
.sheet-rich { white-space: normal; }
.sheet-rich h3 { font-size: 1.375rem; margin: 1.4em 0 0.5em; font-family: var(--serif); }
.sheet-rich h3:first-child { margin-top: 0; }
.sheet-rich p { margin: 0 0 1em; }
.sheet-rich ul { margin: 0 0 1em; padding-left: 1.2em; display: grid; gap: 0.35em; }
.inline-form { display: inline; }
.sheet-rich ol { margin: 0 0 1em; padding-left: 1.4em; display: grid; gap: 0.35em; }

/* --- The guide under item pages: intro, FAQ, related --- */
.guide { width: min(100% - 2 * var(--gutter), var(--page)); margin: var(--section) auto 0; display: grid; gap: clamp(48px, 7vw, 88px); }
.guide-intro { display: grid; gap: 16px; max-width: var(--measure); }
.guide-intro p { color: var(--on-ink-muted); }
.guide-intro .section-title { margin-bottom: 8px; }
.guide .faq .section-title { margin-bottom: 12px; }
.guide > div > .section-title { margin-bottom: 20px; }
