/* First Home with Grace: the one shared stylesheet. v2, Theme A "Front Door" (D153, 16 Nov 2026).
   Bricolage Grotesque is self-hosted from @fontsource/bricolage-grotesque 5.3.0 (SIL OFL 1.1), so the site makes no outside request.
   Colours and type are the Brand Book's (section 4). Extra tints are derived from a brand colour
   and listed in "01 Site plan and design direction.md", section 3. */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Brand Book, light */
  --cream: #FFF8EF;
  --linen: #FCEEDC;
  --mist: #E6EDFF;
  --blush: #FFE3CF;
  --ink: #0E1B3D;
  --ink-soft: #4A5672;
  --euc: #1E4FD6;
  --euc-deep: #163BA3;
  --leaf: #8FAEFF;
  --terra: #FF6B1A;
  --terra-ink: #A63C07;
  --gold: #FFC233;
  /* Brand Book, dark (the footer) */
  --night: #0B1430;
  --night-surface: #16224A;
  --moon: #FFF8EF;
  --moon-soft: #B8C2DC;
  --euc-night: #8FAEFF;
  --gold-night: #FFC233;
  /* Derived tints */
  --paper: #FFFDF9;
  --rule: rgba(255, 194, 51, 0.55);
  --line: rgba(14, 27, 61, 0.14);
  --shadow: rgba(14, 27, 61, 0.16);
  --cream-on-euc: #FFF8EF;
  /* Type */
  --serif: "Newsreader", Georgia, serif;
  --sans: "Figtree", Arial, sans-serif;
  /* Space, a 4 px step */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 96px;
  --text: 34rem;
  --page: 70rem;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--euc); margin: 0; text-wrap: balance; }
h1 { font-weight: 500; font-size: 32px; line-height: 40px; letter-spacing: -0.01em; }
h2 { font-weight: 500; font-size: 26px; line-height: 34px; }
h3 { font-weight: 400; font-size: 21px; line-height: 28px; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 24px; color: var(--ink); }
p, ul, ol, dl, table, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
a { color: var(--euc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--euc-deep); text-decoration-thickness: 2px; }
strong { font-weight: 600; }
em, cite { font-family: var(--serif); font-style: italic; font-size: 1.04em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blush); color: var(--ink); }

.skip { position: absolute; left: var(--s4); top: -100px; z-index: 20; background: var(--ink); color: var(--cream); padding: var(--s3) var(--s4); border-radius: var(--radius); }
.skip:focus { top: var(--s3); color: var(--cream); }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: 20px; }
.prose { max-width: var(--text); }
.prose > * + * { margin-top: var(--s4); }
.prose > h2 { margin-top: var(--s7); }
.prose > h3 { margin-top: var(--s6); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--s2); }
.prose li::marker { color: var(--leaf); }
.center { margin-inline: auto; }
.small { font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.lede { font-family: var(--serif); font-size: 21px; line-height: 30px; color: var(--ink); }
.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s6); }

/* The tag: the one place capitals are allowed (Brand Book, section 5) */
.tag {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 13px; line-height: 18px;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--euc); background: var(--mist);
  padding: 5px 10px; border-radius: 3px;
}
.tag-plain { background: none; padding: 0; }

/* Thin gold rule */
.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }
.rule-short { width: 72px; height: 1px; background: var(--gold); border: 0; margin: var(--s5) 0; }

/* Buttons: one main (filled), one quiet (outlined) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 20px; text-decoration: none; text-align: center;
  background: var(--euc); color: var(--cream); border: 1.5px solid var(--euc); cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { background: var(--euc-deep); border-color: var(--euc-deep); color: var(--cream); }
.btn-quiet { background: transparent; color: var(--euc); }
.btn-quiet:hover { background: var(--mist); color: var(--euc-deep); border-color: var(--euc-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.btn-wide { width: 100%; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--cream); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); padding-block: var(--s3); }
.logo { display: block; flex: 0 0 auto; }
.logo img { width: 200px; height: auto; }
.site-nav { order: 3; flex: 1 0 100%; border-top: 1px solid var(--line); margin-top: var(--s2); padding-top: var(--s1); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: var(--s1); }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px;
  font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--euc); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.site-head .btn { min-height: 44px; padding: 10px 12px; font-size: 15px; }
.site-head-bare .wrap { justify-content: center; }

/* Sections */
.section { padding-block: var(--s7); }
.section-linen { background: var(--linen); }
.section-mist { background: var(--mist); }
.section-paper { background: var(--paper); }
.section-euc { background: var(--euc); color: var(--cream); }
.section-euc h2, .section-euc h3, .section-euc h4 { color: var(--cream); }
.section-euc a { color: var(--cream); }
.section-euc .small { color: var(--cream-on-euc); font-size: 16px; line-height: 24px; }
.section-euc .tag { background: transparent; color: var(--cream); border: 1px solid var(--cream); }
.section-euc .btn { background: var(--cream); color: var(--euc-deep); border-color: var(--cream); }
.section-euc .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.section-euc .btn-quiet { background: transparent; color: var(--cream); border-color: var(--cream); }
.section-euc .btn-quiet:hover { background: rgba(255, 248, 239, 0.12); color: var(--cream); }
.section-euc :focus-visible { outline-color: var(--cream); }
.section-head { max-width: var(--text); margin-bottom: var(--s6); }
.section-head > * + * { margin-top: var(--s3); }

/* Hero */
.hero { padding-block: var(--s7) var(--s7); }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
.hero-copy > * + * { margin-top: var(--s4); }
.hero-copy .lede { max-width: 30rem; }
.hero-art { display: flex; justify-content: center; padding-block: var(--s3) var(--s5); }

/* The book as an object, made in CSS from our own cover file */
.book {
  position: relative; width: min(64vw, 300px); aspect-ratio: 1600 / 2265; margin: 0;
  border-radius: 2px 4px 4px 2px; background: var(--euc);
  box-shadow:
    3px 0 0 -1px var(--paper), 4px 0 0 -1px rgba(14, 27, 61, 0.22),
    6px 1px 0 -1px var(--paper), 7px 1px 0 -1px rgba(14, 27, 61, 0.22),
    0 2px 3px rgba(14, 27, 61, 0.25),
    0 26px 44px -18px rgba(14, 27, 61, 0.5),
    0 48px 70px -40px rgba(14, 27, 61, 0.38);
}
.book img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.book::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4.5%; border-radius: 2px 0 0 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.04) 45%, rgba(255, 255, 255, 0.14) 60%, rgba(255, 255, 255, 0) 100%);
}
.book-sm { width: min(46vw, 200px); }
.book-tilt { transform: rotate(-2.5deg); }

/* Decision line: terracotta means "your decision" (Brand Book colour rule 3) */
.decide {
  background: var(--blush); border-left: 4px solid var(--terra); border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--s5) var(--s5); max-width: var(--text);
}
.decide-label { display: block; font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--terra-ink); margin-bottom: var(--s2); }
.decide p { font-family: var(--serif); font-size: 22px; line-height: 31px; color: var(--ink); }
.decide .small { font-family: var(--sans); margin-top: var(--s3); }

/* Cards */
.cards { display: grid; gap: var(--s5); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.card > * + * { margin-top: var(--s3); }
.card .draw { width: 84px; height: 84px; margin-bottom: var(--s2); }
.section-linen .card, .section-mist .card { background: var(--cream); }

/* The contents list: the site's signature, set like the book's own contents page */
.toc { list-style: none; margin: 0; padding: 0; }
.toc-stage { padding-block: var(--s5); border-top: 1px solid var(--rule); display: grid; gap: var(--s4); }
.toc-stage:last-child { border-bottom: 1px solid var(--rule); }
.toc-stage-head { display: flex; gap: var(--s4); align-items: flex-start; }
.toc-stage-head img { width: 56px; height: 56px; flex: 0 0 auto; }
.toc-stage-head h3 { font-weight: 500; font-size: 23px; line-height: 30px; }
.toc-stage-head p { color: var(--ink-soft); font-size: 16px; line-height: 24px; }
.toc-steps { list-style: none; margin: 0; padding: 0; }
.toc-steps li { display: grid; grid-template-columns: 2.1rem 1fr; column-gap: var(--s2); padding-block: 10px; border-top: 1px dotted rgba(14, 27, 61, 0.28); }
.toc-steps li:first-child { border-top: 0; }
.toc-num { font-family: var(--serif); font-size: 21px; line-height: 28px; color: var(--euc); font-variant-numeric: lining-nums; }
.toc-title { font-family: var(--serif); font-size: 20px; line-height: 28px; color: var(--ink); }
.toc-tool { grid-column: 2; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.toc-kt { grid-column: 1 / -1; margin-top: var(--s2); font-size: 15px; line-height: 22px; color: var(--terra-ink); font-weight: 600; padding-left: 2.1rem; }
.toc-kt::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--terra); vertical-align: middle; margin-right: var(--s2); }

/* What is inside: a plain definition list */
.inside { display: grid; gap: 0; }
.inside > div { padding-block: var(--s4); border-top: 1px solid rgba(255, 248, 239, 0.28); }
.inside > div:last-child { border-bottom: 1px solid rgba(255, 248, 239, 0.28); }
.inside dt { font-family: var(--serif); font-size: 21px; line-height: 28px; font-weight: 500; }
.inside dd { margin: var(--s1) 0 0; color: var(--cream-on-euc); }
.inside-light > div { border-color: var(--rule) !important; }
.inside-light dt { color: var(--euc); }
.inside-light dd { color: var(--ink); }

/* Numbered tool list */
.tools { list-style: none; margin: 0; padding: 0; counter-reset: tool; display: grid; gap: 0; }
.tools li { counter-increment: tool; display: grid; grid-template-columns: 2.4rem 1fr; padding-block: var(--s3); border-top: 1px dotted rgba(14, 27, 61, 0.28); }
.tools li::before { content: counter(tool); font-family: var(--serif); font-size: 21px; line-height: 28px; color: var(--euc); }
.tools li:last-child { border-bottom: 1px dotted rgba(14, 27, 61, 0.28); }
.tools strong { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--ink); }

/* Sample pages */
.pages { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.pages figure { margin: 0; }
.pages a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 10px 24px -14px var(--shadow); transition: transform 180ms ease, box-shadow 180ms ease; }
.pages a:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -16px rgba(14, 27, 61, 0.3); }
.pages img { width: 100%; border-radius: 3px; }
.pages figcaption { margin-top: var(--s2); font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.pages-lg { grid-template-columns: 1fr; gap: var(--s6); }

/* Two lists side by side: for, and not for */
.fit { display: grid; gap: var(--s5); }
.fit ul { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.fit li { position: relative; padding-left: 28px; }
.fit li + li { margin-top: var(--s3); }
.fit li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 2px solid var(--euc); border-bottom: 2px solid var(--euc); transform: rotate(-45deg); }
.fit .fit-not li::before { width: 14px; height: 0; border-left: 0; border-bottom: 2px solid var(--ink-soft); transform: none; top: 13px; }

/* Grace */
.grace { display: grid; gap: var(--s6); align-items: center; }
.grace-pic { margin: 0; max-width: 360px; }
.grace-pic img { border-radius: var(--radius); box-shadow: 0 24px 40px -24px var(--shadow); }
.grace-pic figcaption { margin-top: var(--s2); font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.quote { font-family: var(--serif); font-size: 26px; line-height: 35px; color: var(--euc); font-weight: 500; }
.quote-by { font-size: 15px; color: var(--ink-soft); margin-top: var(--s2); }

/* Social links: plain line icons in the brand colours, never a feed */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.social a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3) 0 var(--s2); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink); background: var(--paper); }
.social a:hover { border-color: var(--euc); color: var(--euc-deep); }
.social svg { width: 22px; height: 22px; flex: 0 0 auto; stroke: var(--euc); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Questions */
.faq { border-top: 1px solid var(--rule); max-width: 44rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s4); align-items: flex-start; padding-block: var(--s4); min-height: 44px; font-family: var(--serif); font-size: 21px; line-height: 28px; color: var(--euc); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 24px; line-height: 28px; color: var(--euc); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 var(--s5); max-width: var(--text); }
.faq .answer > * + * { margin-top: var(--s3); }

/* Price box */
.buy { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); max-width: 30rem; }
.buy > * + * { margin-top: var(--s3); }
.price { font-family: var(--serif); font-size: 40px; line-height: 44px; font-weight: 500; color: var(--ink); }
.price small { font-family: var(--sans); font-size: 15px; line-height: 22px; font-weight: 400; color: var(--ink-soft); display: block; margin-top: var(--s1); }
.section-euc .buy { background: transparent; border-color: rgba(255, 248, 239, 0.3); }
.section-euc .price { color: var(--cream); }
.section-euc .price small { color: var(--cream-on-euc); font-size: 16px; }

/* Forms */
.form { max-width: 30rem; }
.form > * + * { margin-top: var(--s4); }
.field label { display: block; font-weight: 600; font-size: 16px; line-height: 20px; margin-bottom: var(--s2); }
.field input[type="email"], .field input[type="text"], .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--ink-soft); border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--euc); }
.check { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); align-items: start; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--euc); }
.check label { font-size: 16px; line-height: 24px; }
.note { background: var(--mist); border-left: 4px solid var(--euc); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s4) var(--s5); max-width: var(--text); }
.note > * + * { margin-top: var(--s2); }
.only-target { display: none; }
.only-target:target { display: block; }

/* Tables (the article and the legal pages) */
.table-scroll { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 24px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--gold); }

/* Article */
.article-head > * + * { margin-top: var(--s4); }
.byline { font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.short-answer { background: var(--mist); border-radius: var(--radius); padding: var(--s5); max-width: var(--text); }
.short-answer > * + * { margin-top: var(--s2); }
.sources { font-size: 16px; line-height: 24px; }
.sources li + li { margin-top: var(--s3); }

/* Link-in-bio page */
.start { max-width: 28rem; margin-inline: auto; text-align: center; padding-block: var(--s6) var(--s7); }
.start > * + * { margin-top: var(--s5); }
.start .round { width: 112px; height: 112px; border-radius: 50%; margin-inline: auto; border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line); object-fit: cover; }
.start-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); text-align: left; }
.start-links a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s3); min-height: 76px; padding: var(--s4) var(--s5); border-radius: var(--radius); text-decoration: none; background: var(--paper); border: 1.5px solid var(--euc); color: var(--ink); }
.start-links a:hover { background: var(--mist); }
.start-links .main { background: var(--euc); color: var(--cream); }
.start-links .main:hover { background: var(--euc-deep); }
.start-links strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 28px; }
.start-links span { display: block; font-size: 15px; line-height: 22px; opacity: 0.92; }
.start-links .arrow { font-size: 22px; opacity: 1; }
.start .social { justify-content: center; }

/* Footer */
.site-foot { background: var(--night); color: var(--moon); padding-block: var(--s7) var(--s6); font-size: 16px; line-height: 24px; }
.site-foot a { color: var(--euc-night); }
.site-foot a:hover { color: var(--moon); }
.site-foot :focus-visible { outline-color: var(--moon); }
.foot-grid { display: grid; gap: var(--s6); }
.foot-logo img { width: 210px; }
.foot-grid h2 { font-family: var(--sans); font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--moon-soft); margin-bottom: var(--s2); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-foot .social a { background: transparent; border-color: var(--night-surface); color: var(--moon); min-height: 44px; }
.site-foot .social a:hover { border-color: var(--euc-night); color: var(--moon); }
.site-foot .social svg { stroke: var(--euc-night); }
.foot-lines { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--night-surface); color: var(--moon-soft); font-size: 15px; line-height: 23px; max-width: 52rem; }
.foot-lines > * + * { margin-top: var(--s3); }
.foot-lines strong { color: var(--moon); font-weight: 600; }

/* The prototype's checkout note. Removed in 8.2, when the real checkout is wired. */
.proto { display: none; position: fixed; inset: auto 0 0 0; z-index: 30; background: var(--ink); color: var(--cream); padding: var(--s5) 20px; box-shadow: 0 -12px 30px rgba(14, 27, 61, 0.3); }
.proto:target { display: block; }
.proto .wrap { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; padding: 0; }
.proto p { max-width: 44rem; font-size: 16px; line-height: 24px; }
.proto a { color: var(--cream); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* Wider screens */
@media (min-width: 700px) {
  .wrap { padding-inline: 40px; }
  .section { padding-block: var(--s8); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .pages { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .pages-lg { grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
  .fit { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .grace { grid-template-columns: minmax(240px, 340px) 1fr; gap: var(--s7); }
  .toc-steps li { grid-template-columns: 2.1rem minmax(0, 1.25fr) minmax(0, 1fr); align-items: baseline; }
  .toc-tool { grid-column: 3; text-align: right; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .inside { grid-template-columns: 1fr 1fr; column-gap: var(--s7); }
  .inside > div:nth-last-child(2) { border-bottom: 1px solid rgba(255, 248, 239, 0.28); }
}
@media (min-width: 960px) {
  h1 { font-size: 44px; line-height: 52px; }
  .site-head .wrap { flex-wrap: nowrap; padding-block: var(--s4); }
  .site-nav { order: 0; flex: 1 1 auto; border-top: 0; margin: 0; padding: 0; }
  .site-nav ul { justify-content: flex-end; gap: var(--s5); padding-right: var(--s5); }
  .site-head .btn { min-height: 48px; padding: 12px 20px; font-size: 16px; }
  .logo img { width: 232px; }
  .hero { padding-block: var(--s8) var(--s9); }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s8); }
  .hero-art { padding: 0; }
  .book { width: 340px; }
  .book-sm { width: 220px; }
  .toc-stage { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: var(--s7); }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
  .split-book { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s8); align-items: center; }
  .sticky { position: sticky; top: var(--s5); }
}
@media (max-width: 959px) {
  .split > * + *, .split-book > * + * { margin-top: var(--s6); }
  .split-book .book { margin-inline: auto; }
}

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

@media print {
  .site-head, .site-foot, .proto, .btn { display: none !important; }
  body { background: #fff; }
}

/* ---------- Added for the pages after the home page ---------- */

/* A placeholder that must be filled before go-live */
.todo { background: var(--blush); color: var(--terra-ink); padding: 1px 6px; border-radius: 3px; font-size: 0.92em; }

/* Legal pages: a narrower, quieter column */
.legal h1 { margin-bottom: var(--s5); }
.legal h2 { font-size: 23px; line-height: 30px; }
.legal table { margin-block: var(--s3); }

/* Tick list on the free sheet page */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li + li { margin-top: var(--s2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 2px solid var(--euc); border-bottom: 2px solid var(--euc); transform: rotate(-45deg); }

/* Free sheet: the form card and the small picture of the sheet */
.hero-grid-form { align-items: start; }
.signup { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); max-width: 30rem; width: 100%; }
.signup .form { max-width: none; }
.sheet { margin: 0 auto var(--s5); width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 14px 26px -16px rgba(14, 27, 61, 0.4); transform: rotate(-1.5deg); }
.sheet img { width: 100%; border-radius: 2px; }
.sheet-lg { width: min(70vw, 300px); margin: 0 auto; transform: rotate(1.5deg); }

/* Books: the shelf */
.shelf-book { display: grid; gap: var(--s6); align-items: center; padding-block: var(--s6); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.shelf-cover { display: flex; justify-content: center; text-decoration: none; padding-block: var(--s3) var(--s5); }
.shelf-book h2 { font-size: 30px; line-height: 38px; }
.shelf-book h2 a { text-decoration: none; }
.shelf-book h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.shelf-book .stack { max-width: var(--text); }

/* Questions hub */
.q-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); max-width: 46rem; }
.q-list li { border-bottom: 1px solid var(--rule); }
.q-list a { display: block; padding-block: var(--s5); text-decoration: none; color: var(--ink); }
.q-list a > * + * { margin-top: var(--s3); }
.q-list h2 { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color 160ms ease; }
.q-list a:hover h2 { text-decoration-color: var(--euc); }
.q-meta { display: block; font-size: 15px; line-height: 22px; color: var(--ink-soft); }

/* Link-in-bio page: the book card with its cover, and the small heading */
.start h1 { font-size: 28px; line-height: 34px; }
.start-links .with-cover { grid-template-columns: 54px 1fr auto; }
.start-links .with-cover img { width: 54px; height: auto; border-radius: 2px; box-shadow: 0 6px 12px -6px rgba(14, 27, 61, 0.5); }
.start-links em { font-size: 1em; }
.start-h { font-family: var(--sans); font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--s3); }

/* Landing template: the note that says what the page is */
.template-note { background: var(--mist); border-bottom: 1px solid var(--line); padding-block: var(--s3); font-size: 15px; line-height: 22px; }

/* Price inside a hero buy box sits a little smaller on phones */
.hero .buy { margin-top: var(--s5); }
.hero h1 em { font-size: 1em; font-style: normal; }
.section-euc h2 em, .shelf-book h2 em, .buy h3 em { font-size: 1em; }

@media (min-width: 700px) {
  .shelf-book { grid-template-columns: auto minmax(0, 1fr); gap: var(--s8); padding-block: var(--s7); }
  .shelf-cover { padding: 0 var(--s5); }
}
@media (min-width: 960px) {
  .hero-grid-form { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .signup { justify-self: end; position: sticky; top: var(--s5); }
}

/* Round of fixes after the first look at 375 px and 1440 px */
.decide .small { font-size: 15px; line-height: 22px; }
.foot-grid { grid-template-columns: 1fr 1fr; }
.foot-grid > :first-child, .foot-grid > :last-child { grid-column: 1 / -1; }
.site-foot-slim { padding-block: var(--s6); }
.site-foot-slim .foot-lines { margin-top: var(--s4); padding-top: var(--s4); }
.foot-inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.foot-inline a { display: inline-flex; align-items: center; min-height: 44px; }
.free-form { margin-inline: auto; }
@media (min-width: 700px) {
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .foot-grid > :first-child, .foot-grid > :last-child { grid-column: auto; }
}
@media (min-width: 960px) {
  .hero-grid-form { grid-template-areas: "head form" "detail form"; row-gap: var(--s4); }
  .free-head { grid-area: head; }
  .free-detail { grid-area: detail; }
  .free-form { grid-area: form; margin: 0; }
}
main article > .section > .wrap > .prose, .legal { margin-inline: auto; }
.start-links .arrow { width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-right: 4px; }

/* Fix round after the six reviewers and Lighthouse */
.proto :focus-visible { outline-color: var(--cream); }
.buy .small, .hero-copy > .small, .split-book .small { font-size: 16px; line-height: 24px; }
.site-nav a[aria-current="page"] { font-weight: 600; }
.faq summary:hover { color: var(--euc-deep); }
.start-links .main span { opacity: 1; }
.start-links span { font-size: 16px; line-height: 23px; }
.byline, .q-meta { font-size: 16px; line-height: 24px; }
.h1-rest { display: block; font-size: 0.62em; line-height: 1.35; font-weight: 400; letter-spacing: 0; margin-top: var(--s2); color: var(--ink); }
.h1-colon { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sheet-lg { margin-top: var(--s6); }
.template-note { border-top: 1px solid var(--line); }
@media (max-width: 699px) {
  .hero .btn-row .btn, .buy .btn, .split-book .btn-row .btn { width: 100%; }
  .legal .table-scroll { border-right: 1px solid var(--line); }
  .legal .table-scroll table { min-width: 560px; }
  .legal .table-scroll::before { content: "Swipe the table sideways to read it."; display: block; font-size: 15px; line-height: 22px; color: var(--ink-soft); margin-bottom: var(--s2); position: sticky; left: 0; }
}
@media (max-width: 359px) {
  .site-nav ul { flex-wrap: wrap; justify-content: flex-start; }
  .site-nav a { padding: 0 4px; }
}
@media (max-width: 959px) {
  .free-head { order: 1; } .free-form { order: 2; } .free-detail { order: 3; }
  .hero-grid-form { gap: var(--s6); }
}


/* ================= Theme A, "Front Door" (D153, 16 Nov 2026) =================
   Token names are kept from v1 so the rules above still read; their values are now:
   --euc Cobalt, --cream Warm white, --terra Tangerine, --gold Sunbeam, --ink Navy ink,
   --linen Sand, --mist Sky tint, --blush Peach. Brand Book section 4 has the table. */
:root {
  --tang: #FF6B1A; --tang-ink: #A63C07; --sun: #FFC233; --white: #FFFFFF;
  --display: "Bricolage Grotesque", "Arial Black", Arial, sans-serif;
  --cream-on-euc: #FFFFFF;
}
h1, h2, h3, .quote, .faq summary, .toc-stage-head h3, .inside dt, .price, .start-links strong, .shelf-book h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.015em; }
h3, .faq summary, .toc-stage-head h3, .inside dt { font-weight: 700; }
.lede, .decide p, .toc-title, .tools strong, .toc-num, .tools li::before { font-family: var(--sans); }
.decide p { font-weight: 600; }

/* The main button: Tangerine with Navy ink words, never white (colour rule 3) */
.btn { background: var(--tang); border-color: var(--tang); color: var(--ink); font-weight: 600; border-radius: 999px; }
.btn:hover { background: #FF8A4C; border-color: #FF8A4C; color: var(--ink); }
.btn-quiet { background: transparent; color: var(--euc); border-color: var(--euc); }
.btn-quiet:hover { background: var(--mist); color: var(--euc-deep); border-color: var(--euc-deep); }

/* The bold moment: the home hero is a Cobalt band with a Sunbeam sun and a Tangerine circle */
.hero { background: var(--euc); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: var(--sun); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 46%; bottom: -110px; width: 200px; height: 200px; border-radius: 50%; background: var(--tang); }
.hero h1, .hero h2, .hero h3, .hero .lede, .hero .h1-rest, .hero p { color: var(--white); }
.hero .small { color: var(--white); }
.hero a:not(.btn) { color: var(--white); }
.hero .tag { background: var(--sun); color: var(--ink); }
.hero .btn-quiet { color: var(--white); border-color: var(--white); }
.hero .btn-quiet:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.hero :focus-visible { outline-color: var(--white); }
.hero .buy, .hero .signup { background: var(--paper); color: var(--ink); }
.hero .buy p, .hero .buy .small, .hero .signup p, .hero .signup .small, .hero .signup label { color: var(--ink); }
.hero .buy .price { color: var(--ink); }
.hero .buy h3, .hero .signup h2, .hero .signup h3 { color: var(--euc); }
.hero .buy a:not(.btn), .hero .signup a:not(.btn) { color: var(--euc); }
@media (max-width: 959px) { .hero::before { width: 260px; height: 260px; right: -90px; top: -110px; } .hero::after { display: none; } }

/* Cobalt sections */
.section-euc { background: var(--euc); color: var(--white); }
.section-euc h2, .section-euc h3, .section-euc h4, .section-euc a, .section-euc .price { color: var(--white); }
.section-euc .btn { background: var(--tang); border-color: var(--tang); color: var(--ink); }
.section-euc .btn:hover { background: #FF8A4C; border-color: #FF8A4C; color: var(--ink); }
.section-euc .btn-quiet { background: transparent; color: var(--white); border-color: var(--white); }
.section-euc .btn-quiet:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); border-color: var(--white); }
.section-euc .tag { background: var(--sun); color: var(--ink); border: 0; }

/* Tags, rules and small marks */
.tag { background: var(--mist); color: var(--euc-deep); }
.rule-short { height: 4px; width: 56px; border-radius: 2px; background: var(--sun); }
th { border-bottom: 2px solid var(--euc); }
.prose li::marker { color: var(--tang); }
.toc-num, .tools li::before { color: var(--tang-ink); font-weight: 700; }
.decide { border-left-width: 6px; }
.start-links .main { background: var(--tang); color: var(--ink); border-color: var(--tang); }
.start-links .main:hover { background: #FF8A4C; }
.site-foot { border-top: 6px solid var(--sun); }
::selection { background: var(--sun); color: var(--ink); }

/* Hero fix after the first look: the sun sits behind the book so a Cobalt cover stands out on the Cobalt band */
.hero::before { right: -40px; top: 50%; transform: translateY(-50%); width: 560px; height: 560px; }
@media (max-width: 959px) { .hero::before { width: 300px; height: 300px; right: -60px; top: auto; bottom: 40px; transform: none; } }

/* ================= 10.1: one bold moment on every page (Brand Book colour rule 1) =================
   The home, book, free sheet and landing pages have the Cobalt hero. The other pages get one of three:
   .band       the first section in Cobalt (About, Contact, the thank-you page, the not-found page)
   .page-head  a full-width Cobalt title band (Books, Questions, the article, and the legal pages' h1)
   .start-page the link-in-bio page on Cobalt, its main link in Tangerine */
main { overflow-x: clip; }
.band { background: var(--euc); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; background: var(--sun); }
.band h1, .band h2, .band h3, .band p, .band li, .band .lede, .band .small { color: var(--white); }
.band a:not(.btn) { color: var(--white); }
.band li::marker { color: var(--sun); }
.band .tag { background: var(--sun); color: var(--ink); }
.band .btn-quiet { color: var(--white); border-color: var(--white); }
.band .btn-quiet:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.band :focus-visible { outline-color: var(--white); }
.band .decide p, .band .decide .small { color: var(--ink); }
.band .signup { background: var(--paper); color: var(--ink); }
.band .signup h2, .band .signup h3 { color: var(--euc); }
.band .signup p, .band .signup .small, .band .signup label { color: var(--ink); }
.band .signup .small { color: var(--ink-soft); }
.band .signup a:not(.btn) { color: var(--euc); }
.band .signup :focus-visible { outline-color: var(--ink); }
.band img[src*="draw-"] { background: var(--paper); border-radius: 50%; padding: 14px; width: 112px; height: 112px; }
.band .sheet { border-color: transparent; box-shadow: 0 18px 34px -16px rgba(14, 27, 61, 0.6); }

.page-head, .legal > h1:first-child { position: relative; isolation: isolate; clip-path: inset(0 -100vmax); background: var(--euc); color: var(--white); margin-top: calc(-1 * var(--s7)); padding-block: var(--s7) var(--s6); }
.page-head::before, .legal > h1:first-child::before { content: ""; position: absolute; z-index: -1; inset: 0 -100vmax; background: var(--euc); }
.page-head::after { content: ""; position: absolute; z-index: -1; right: -40vw; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: var(--sun); }
.page-head h1, .page-head .lede, .page-head p, .page-head .byline, .page-head .small, .page-head a:not(.btn) { color: var(--white); }
.page-head .tag { background: var(--sun); color: var(--ink); }
.page-head :focus-visible { outline-color: var(--white); }
.page-head .short-answer { color: var(--ink); background: var(--paper); }
.page-head .short-answer h2 { color: var(--euc); }
.page-head .short-answer p { color: var(--ink); }
.section-head.page-head { margin-bottom: var(--s6); max-width: none; }
.section-head.page-head > * { max-width: var(--text); }
.legal > h1:first-child { margin-bottom: var(--s5); }
.legal > h1:first-child + * { margin-top: 0; }

.start-page { background: var(--euc); position: relative; isolation: isolate; overflow: hidden; }
.start-page::before { content: ""; position: absolute; z-index: -1; right: -110px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: var(--sun); }
.start-page h1, .start-page p, .start-page .start-h { color: var(--white); }
.start-page .round { border-color: var(--sun); box-shadow: none; }
.start-page .start-links a { border-color: var(--paper); }
.start-page .start-links .main { border-color: var(--tang); }
.start-page .social a { border-color: transparent; }
.start-page :focus-visible { outline-color: var(--white); }

@media (min-width: 700px) {
  .page-head, .legal > h1:first-child { margin-top: calc(-1 * var(--s8)); padding-block: var(--s8) var(--s7); }
  .page-head::after { right: -24vw; width: 300px; height: 300px; }
}
/* Phones: the circles shrink into the corners so no white words sit on Sunbeam (checked at 375 px) */
@media (max-width: 699px) {
  .band::before { width: 180px; height: 180px; right: -110px; bottom: -120px; }
  .page-head::after { width: 150px; height: 150px; right: -95px; top: -95px; }
  .start-page::before { width: 170px; height: 170px; right: -110px; top: -110px; }
}

/* ---------- Added in 8.2, the real site (17 Nov 2026). No new design: helpers and three small parts. ---------- */

/* The prototype's few inline styles, as classes, so the Content Security Policy can forbid inline styles.
   !important keeps the weight an inline style had. */
.u-bg-cream { background: var(--cream) !important; }
.u-cols-1 { grid-template-columns: 1fr !important; }
.u-justify-center { justify-content: center !important; }
.u-mx-auto { margin-inline: auto !important; }
.u-mt-8 { margin-top: 8px !important; }
.u-mt-16 { margin-top: 16px !important; }
.u-mt-24 { margin-top: 24px !important; }
.u-mt-32 { margin-top: 32px !important; }
.u-mt-48 { margin-top: 48px !important; }
.u-mw-26 { max-width: 26rem !important; }
.u-list-in { padding-left: 1.2em !important; margin-top: 12px !important; }
.u-center { text-align: center !important; }

/* The questions hub: show one kind of article. Radio buttons and CSS only, no script. */
.q-filter { display: none; }
@supports selector(:has(*)) {
  .q-filter { border: 0; padding: 0; margin: 0 0 var(--s5); display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; max-width: 60rem; }
}
.q-filter legend { float: left; margin-right: var(--s2); padding: 0; font-weight: 600; font-size: 16px; line-height: 44px; color: var(--ink-soft); }
.q-filter input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.q-filter label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 16px; line-height: 20px; cursor: pointer; white-space: nowrap; }
@media (max-width: 699px) { .q-filter label { padding: 0 var(--s3); font-size: 15px; } .q-filter legend { width: 100%; line-height: 24px; } }
.q-filter label:hover { border-color: var(--euc); }
.q-filter input:checked + label { background: var(--mist); border-color: var(--euc); color: var(--euc-deep); }
.q-filter input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.q-filter:has(#g-get-ready:checked) ~ .q-list li:not([data-group="get-ready"]),
.q-filter:has(#g-check-it:checked) ~ .q-list li:not([data-group="check-it"]),
.q-filter:has(#g-win-it:checked) ~ .q-list li:not([data-group="win-it"]),
.q-filter:has(#g-get-the-keys:checked) ~ .q-list li:not([data-group="get-the-keys"]),
.q-filter:has(#g-inside-the-book:checked) ~ .q-list li:not([data-group="inside-the-book"]) { display: none; }

/* "Watch Grace answer it": one upright video, loaded only when it scrolls into view. */
.watch-frame { max-width: 320px; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.watch-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* The line a form shows when sending fails. Calm: Sky tint, no red. */
.form-error { background: var(--mist); border-left: 4px solid var(--euc); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s3) var(--s4); font-size: 16px; line-height: 24px; }
.form-error[hidden] { display: none; }

/* A row heading in an article table looks like any other cell. */
tbody th[scope="row"] { font-weight: 400; border-bottom: 1px solid var(--line); }
