/* moodstash.app — editorial moodboard. Self-hosted fonts, no scripts. */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f3eee4;
  --paper-2: #ebe4d6;
  --card: #fbf8f2;
  --ink: #1a1916;
  --ink-2: #2b2925;
  --muted: #6b675e;
  --line: #d9d0bf;
  --accent: #2b44ff;
  --accent-ink: #ffffff;
  --accent-text: #2b44ff;
  --pro-accent: #9aa6ff; /* accent on the inverted Pro card */
  --focus: #2b44ff;
  --terracotta: #c8643b;
  --sage: #8fa58a;
  --butter: #e9c66b;
  --blush: #e7b8b0;
  --sky: #a9c1dc;
  --todo: #ffe58a;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(26, 25, 22, .04), 0 12px 32px -12px rgba(26, 25, 22, .28);
  --grain: 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%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16140f;
    --paper-2: #1e1b15;
    --card: #221f18;
    --ink: #f1ece2;
    --ink-2: #e4ddd0;
    --muted: #a8a196;
    --line: #36322a;
    --accent-text: #9aa6ff;
    --pro-accent: #2b44ff;
    --focus: #9aa6ff;
    --todo: #6b5400;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 14px 36px -12px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper) var(--grain);
  font: 400 17px/1.6 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 400; margin: 0; color: var(--ink); }
.serif, h1, h2 { font-family: var(--serif); letter-spacing: -0.015em; }
h1 { font-size: clamp(3.1rem, 7.4vw, 6.4rem); line-height: .95; }
h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1; }
h3 { font: 600 1.06rem/1.3 var(--sans); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--accent-text); }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .86em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
mark.todo { background: var(--todo); color: inherit; padding: 0 4px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--card); padding: 8px 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* Links: an underline that draws itself */
a { color: inherit; text-decoration: none; }
.link, .prose a {
  color: var(--accent-text);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.link:hover, .prose a:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Buttons */
.button {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 26px;
  border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--sans);
  letter-spacing: -0.01em; white-space: nowrap; border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.button .arrow { display: inline-block; transition: transform .3s var(--ease); }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.button:hover .arrow { transform: translateX(4px); }
.button:active { transform: translateY(0) scale(.98); }
.button.primary { --bg: var(--accent); --fg: var(--accent-ink); }
.button.secondary { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.button.small { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.button.disabled { cursor: default; --bg: transparent; --fg: var(--ink); border-color: var(--ink); box-shadow: none; transform: none; }
.button.disabled::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.button.small.disabled::before { width: 6px; height: 6px; }
.button.disabled .arrow { display: none; }

/* Labels */
.kicker { font: 500 .78rem/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.index { font: 500 .8rem/1 var(--mono); color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: transparent; border-bottom: 1px solid transparent; }
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-line linear both; animation-timeline: scroll(); animation-range: 0 120px; }
  @keyframes header-line { to { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(12px); } }
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 1.6rem/1 var(--serif); letter-spacing: -0.01em; }
.brand .logo-mark { width: 26px; height: 26px; transition: transform .4s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.nav { display: flex; gap: 26px; list-style: none; margin: 0 0 0 12px; padding: 0; }
.nav a { font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header-cta { margin-left: auto; }
@media (max-width: 820px) { .nav { display: none; } .header-cta .button.disabled { display: none; } }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 72px); align-items: end; }
.section-head p { max-width: 34em; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 120px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 22px 0 28px; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 34px 0 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 0; list-style: none; font: 500 .8rem/1.5 var(--mono); color: var(--muted); }
.facts li::before { content: "＋ "; color: var(--accent-text); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Collage: a moodboard built from design materials */
.collage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 560px; margin-left: auto; }
.piece {
  position: absolute; background: var(--card); box-shadow: var(--shadow); border-radius: 4px;
  transform: rotate(var(--r, 0deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  animation: drop .9s var(--ease) backwards; animation-delay: var(--d, 0s);
}
.piece:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); z-index: 5; }
@keyframes drop { from { opacity: 0; transform: translateY(-28px) rotate(calc(var(--r, 0deg) * 3)); } }
.tape { position: absolute; width: 70px; height: 22px; background: rgba(233, 198, 107, .55); top: -10px; left: 50%; transform: translateX(-50%) rotate(-4deg); mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .tape { mix-blend-mode: normal; background: rgba(233, 198, 107, .35); } }

.photo { left: 3%; top: 1%; width: 44%; padding: 12px 12px 44px; --r: -4deg; --d: .05s; }
.piece img { display: block; width: 100%; height: auto; border-radius: 2px; }
.photo .shot { aspect-ratio: 4 / 5; object-fit: cover; }
.photo figcaption { position: absolute; left: 14px; bottom: 12px; font: italic 400 1.2rem/1 var(--serif); color: var(--ink); }
.specimen { right: 6%; top: 3%; width: 38%; aspect-ratio: 1; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; --r: 5deg; --d: .18s; }
.specimen b { font: 400 clamp(3.2rem, 7vw, 5.4rem)/.9 var(--serif); }
.specimen span { font: 500 .68rem/1.3 var(--mono); color: var(--muted); }
.samples { right: 0; top: 38%; width: 39%; padding: 10px 10px 34px; --r: -3deg; --d: .3s; }
.samples img { aspect-ratio: 1; object-fit: cover; }
.samples figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 5px; font: 500 .6rem/1 var(--mono); color: var(--muted); white-space: nowrap; }
.chip { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-left: 4px; }
.chip.c1 { background: #d4926c; margin-left: 0; } .chip.c2 { background: #848874; } .chip.c3 { background: #ead4a2; }
.fabric { left: 1%; bottom: 3%; width: 29%; --r: 6deg; --d: .42s; }
.fabric img { aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px; }
.fabric::after { content: "linen, slate"; position: absolute; left: 10px; bottom: -26px; font: italic 400 1.05rem/1 var(--serif); color: var(--muted); }
.zipchip { left: 34%; bottom: 1%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 12px; --r: -2deg; --d: .6s; font-size: .85rem; }
.zipchip .folder { width: 38px; height: 30px; border-radius: 4px; background: var(--accent); position: relative; }
.zipchip .folder::before { content: ""; position: absolute; left: 0; top: -5px; width: 16px; height: 8px; border-radius: 3px 3px 0 0; background: var(--accent); }
.zipchip strong { display: block; font: 500 .82rem/1.3 var(--mono); }
.zipchip span { font: 400 .75rem/1.3 var(--mono); color: var(--muted); }
.scribble { position: absolute; left: 27%; bottom: 12%; width: 13%; color: var(--accent-text); animation: drop .9s var(--ease) .75s backwards; }
.scribble path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s var(--ease) 1.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 600px) {
  .specimen span { display: none; }
  .samples { top: 33%; }
  .samples figcaption { font-size: .5rem; gap: 3px; }
  .zipchip { left: 30%; bottom: -2%; padding: 8px 12px 8px 8px; gap: 8px; }
  .zipchip .folder { width: 28px; height: 22px; }
  .zipchip strong { font-size: .7rem; }
  .zipchip span { font-size: .64rem; }
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps .num { font: 400 3rem/1 var(--serif); color: var(--accent-text); }
.steps h3 { font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--serif); }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps li { grid-template-columns: 56px 1fr; } .steps p { grid-column: 2; } .steps .num { font-size: 2.2rem; } }

/* The unpacked ZIP */
.unzip { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.finder { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.finder-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 .8rem/1 var(--mono); color: var(--muted); }
.finder-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.finder-bar span { margin-left: 8px; }
.tree { list-style: none; margin: 0; padding: 8px 0; font: 400 .86rem/1.4 var(--mono); }
.tree li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 7px 18px; min-height: 42px; transition: background-color .2s; }
.tree li:hover { background: var(--paper-2); }
.tree .indent { padding-left: 42px; }
.tree .name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tree .name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree .dim, .tree .tag { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.tree .tag.orig { color: var(--accent-text); }
.ico { flex: none; width: 18px; height: 14px; border-radius: 2px; }
.ico.dir { background: var(--accent); position: relative; }
.ico.dir::before { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 4px; background: var(--accent); border-radius: 2px 2px 0 0; }
.thumb { flex: none; width: 28px; height: 28px; border-radius: 4px; object-fit: cover; }
.ico.csv { background: transparent; border: 1.5px solid var(--muted); }
.pin { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 .72rem/1 var(--sans); flex: none; }
.tree .pin { width: 18px; height: 18px; font-size: .65rem; }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; padding: 0 0 26px; }
.notes h3 { margin-bottom: 4px; }
.notes p { color: var(--muted); margin: 0; }
.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--ink); }
.extras div { padding: 24px 24px 0 0; }
.extras p { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.badge { font: 500 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; border: 1px solid currentColor; color: var(--accent-text); border-radius: 99px; padding: 3px 7px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 960px) { .unzip { grid-template-columns: 1fr; } .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tree .dim { display: none; } .extras { grid-template-columns: 1fr; } }

/* Size note */
.sizes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ruler { display: flex; align-items: flex-end; gap: clamp(14px, 3vw, 28px); padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.ruler figure { margin: 0; }
.ruler .frame { display: block; border-radius: 3px; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4 / 5; height: auto; }
.ruler .f1 { width: 56px; } .ruler .f2 { width: 112px; } .ruler .f3 { width: clamp(150px, 20vw, 220px); }
.ruler figcaption { font: 500 .74rem/1.4 var(--mono); color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .sizes { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; }
.plan { border-radius: 18px; padding: clamp(26px, 3.5vw, 40px); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.pro { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan.pro .muted, .plan.pro .feature-list li { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.plan-name { font: 400 2.4rem/1 var(--serif); margin-bottom: 8px; }
.plan .price-big { font: 400 4.2rem/1 var(--serif); margin: 18px 0 4px; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.feature-list li { padding-left: 24px; position: relative; color: var(--muted); }
.feature-list li::before { content: "＋"; position: absolute; left: 0; color: var(--accent-text); font-weight: 600; }
.plan.pro .feature-list li::before { color: var(--pro-accent); }
.plan .button { align-self: flex-start; margin-top: auto; }
.options { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.options li { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.options .opt-price { font: 400 2.3rem/1 var(--serif); }
.options .opt-price small { font: 500 .8rem/1 var(--mono); opacity: .7; margin-left: 4px; }
.options .opt-label { font: 500 .78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.options .save { color: var(--pro-accent); }
.plan.pro .button.primary { --bg: var(--accent); }
.plan.pro .button.disabled { --bg: transparent; --fg: color-mix(in srgb, var(--paper) 70%, transparent); border-color: color-mix(in srgb, var(--paper) 25%, transparent); }
.price-note { margin-top: 22px; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .options li { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; }
.faq-aside p { color: var(--muted); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 500 1.08rem/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 1.7rem/1 var(--sans); color: var(--accent-text); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-text); }
.faq details p { color: var(--muted); padding: 0 48px 22px 0; margin: 0; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Closing */
.closing { padding: clamp(96px, 14vw, 180px) 0; border-top: 1px solid var(--line); text-align: center; }
.closing h2 { font-size: clamp(2.8rem, 7vw, 6rem); max-width: 14ch; margin: 0 auto 36px; }

/* Articles (legal pages and guides) */
.article { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.article h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 18px 0 18px; }
.article h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 2em 0 .5em; }
.article h3 { margin: 1.6em 0 .4em; }
.article .meta { font: 500 .8rem/1.5 var(--mono); color: var(--muted); margin-bottom: 2.4em; }
.article .lead { font-size: 1.2rem; color: var(--muted); }
.article li { margin-bottom: .45em; }
.article ul, .article ol { padding-left: 1.3em; }
.article table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .94rem; }
.article th, .article td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 10px; vertical-align: top; }
.article th { font: 500 .76rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom-color: var(--ink); }
.table-scroll { overflow-x: auto; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 16px 20px; margin: 1.6em 0; }
.note p:last-child { margin: 0; }
ol.howto > li { margin-bottom: 1em; padding-left: 4px; }
pre { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; overflow-x: auto; font: 400 .86rem/1.55 var(--mono); }
:not(pre) > code { background: var(--paper-2); border-radius: 4px; padding: 1px 6px; overflow-wrap: anywhere; }
.guide-list { list-style: none; padding: 0; margin: 2em 0 0; border-top: 1px solid var(--ink); }
.guide-list li { margin: 0; }
.guide-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.guide-list a::after { content: "→"; grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--accent-text); transition: transform .3s var(--ease); }
.guide-list a:hover { padding-left: 10px; }
.guide-list a:hover::after { transform: translateX(6px); }
.guide-list strong { font: 400 1.6rem/1.15 var(--serif); }
.guide-list span { color: var(--muted); }
.cta-band { margin-top: 4em; padding: clamp(36px, 6vw, 56px); border-radius: 18px; background: var(--ink); color: var(--paper); }
.cta-band h2 { color: var(--paper); margin: 0 0 12px; font-size: clamp(2rem, 4vw, 2.8rem); }
.cta-band p { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.cta-band .button.disabled { --bg: transparent; --fg: color-mix(in srgb, var(--paper) 70%, transparent); border-color: color-mix(in srgb, var(--paper) 25%, transparent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 32px; }
.footer-word { font: 400 clamp(3rem, 8vw, 6.5rem)/.9 var(--serif); letter-spacing: -0.02em; margin: 0 0 14px; }
.footer-heading { font: 500 .74rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer li a { font-size: .95rem; overflow-wrap: anywhere; transition: color .2s; }
.site-footer li a:hover { color: var(--accent-text); }
.fineprint { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 .78rem/1.6 var(--mono); color: var(--muted); }
.fineprint p { margin: 0; max-width: 90ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Scroll-linked reveal (progressive enhancement) */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  @keyframes rise { from { opacity: 0; transform: translateY(36px); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scribble path { stroke-dashoffset: 0; }
}
