/* spheresmethod.com — to the designer's brief (17 Oct 2026).
   Black and white like a well-made notebook. Fonts are self-hosted: no calls to Google Fonts. */

@font-face { font-family: "Hanken Grotesk"; font-weight: 300; font-display: swap; src: url(/fonts/hanken-grotesk-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url(/fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url(/fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url(/fonts/hanken-grotesk-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

/* 21 Nov 2026: paper and ink, like the app (src/theme.ts). Headlines in Newsreader Light, the app's book voice. */
@font-face { font-family: "Newsreader"; font-weight: 300; font-display: swap; src: url(/fonts/newsreader-300-normal.ttf) format("truetype"); }
@font-face { font-family: "Newsreader"; font-weight: 300; font-style: italic; font-display: swap; src: url(/fonts/newsreader-300-italic.ttf) format("truetype"); }
:root {
  --paper: #FAF8F4;
  --ink: #1C1B19;
  --grey: #6B6862;   /* muted text: 5.3:1 on paper */
  --rule: #E3DFD7;   /* hairlines */
  --panel: #F2EFE9;  /* surface */
  --accent: #56704F; /* sage: state only */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --measure: 680px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 300; font-size: 18px; line-height: 1.5;
}
@media (max-width: 600px) { body { font-size: 16px; } }
a { color: var(--ink); text-underline-offset: 3px; }
strong { font-weight: 500; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--paper); padding: 8px 12px; border: 1px solid var(--ink); z-index: 10; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Eyebrows and captions: grey mono, uppercase */
.eyebrow { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin: 0 0 10px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(38px, 8vw, 56px); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 5vw, 32px); font-weight: 500; }
h3 { font-size: 20px; font-weight: 500; }
p { margin: 12px 0 0; }
.grey { color: var(--grey); }

/* Header */
header.site { border-bottom: 1px solid var(--rule); background: var(--paper); }
header.site .bar { max-width: 1040px; margin: 0 auto; padding: 0 20px; min-height: 64px; display: flex; align-items: center; gap: 20px; }
.brand { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
nav.main { display: flex; gap: 18px; margin-left: auto; }
nav.main a { text-decoration: none; color: var(--grey); font-size: 15px; font-weight: 400; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--ink); }
@media (max-width: 760px) { nav.main { display: none; } header.site .bar { justify-content: space-between; } }

/* Buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; background: var(--paper); color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn:hover { opacity: 0.85; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--rule); }
.hero { text-align: center; padding: 48px 0 56px; }
.hero .actions { justify-content: center; }
.hero .line { font-size: clamp(19px, 3.4vw, 22px); color: var(--grey); max-width: 30em; margin: 16px auto 0; }
.rings { width: min(300px, 78vw); height: auto; display: block; margin: 0 auto 32px; }
@media (prefers-reduced-motion: no-preference) {
  .rings .breathe { animation: breathe 10s ease-in-out infinite; transform-origin: 150px 150px; }
  @keyframes breathe { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.012); } }
}

.blocks { display: grid; gap: 14px; margin-top: 28px; }
.card { border: 1px solid var(--rule); border-radius: 12px; padding: 22px 24px; background: var(--paper); }
.card.fill { background: var(--panel); border-color: var(--panel); }
.card p:first-of-type { margin-top: 0; }
.card .big { font-size: 21px; font-weight: 400; line-height: 1.35; margin: 0; }

/* Products: three across, stacking to one */
.products { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; max-width: 980px; }
.products-wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 820px) { .products { grid-template-columns: minmax(0, 1fr); } }
.product { display: flex; flex-direction: column; min-width: 0; }
.product .cover { position: relative; overflow: hidden; min-width: 0; aspect-ratio: 3 / 4; border-radius: 8px; background: var(--panel); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.product .cover svg { width: 58%; height: auto; }
/* Pictures are absolutely placed so they can never stretch the card (Safari sized the grid to the image's full width). Sized by width only (Safari ignores % heights inside an aspect-ratio box): 86% of the panel's height in each case. */
.product .cover img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 71.7%; height: auto; display: block; border-radius: 3px; box-shadow: 0 8px 20px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06); }
.product .cover video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54.6%; height: auto; display: block; border-radius: 15% / 7.14%; }
@media (prefers-reduced-motion: reduce) { .product .cover video { display: none; } .product .cover.app { background: var(--panel) url(/img/spheres-app-loop-phone-2026-11.jpg) center / auto 86% no-repeat; } }
.product .btn { margin-top: auto; align-self: flex-start; }
.product p { margin-bottom: 18px; }

/* Forms */
form.signup { margin-top: 22px; }
.field { display: flex; flex-wrap: wrap; gap: 10px; }
.field input[type="email"] { flex: 1 1 240px; min-height: 48px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; font: inherit; font-size: 16px; background: var(--paper); color: var(--ink); }
.field input[type="email"]:focus { border-color: var(--ink); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 14px; color: var(--grey); margin-top: 10px; }
.status { font-size: 15px; margin-top: 12px; min-height: 1.4em; }
.status.ok { color: var(--accent); font-weight: 500; }
.status.err { color: var(--ink); }

/* Footer */
footer.site { border-top: 1px solid var(--rule); padding: 32px 0 56px; font-size: 14px; color: var(--grey); }
footer.site nav a { color: var(--grey); margin-right: 16px; }
footer.site .disclaimer { max-width: 40em; }

/* Plain pages */
.page { padding: 48px 0 24px; }
.page h2 { font-size: 22px; margin-top: 36px; }
.page li { margin: 6px 0; }
.lines { list-style: none; padding: 0; margin: 16px 0 0; }
.lines li { border-top: 1px solid var(--rule); padding: 12px 0; }
.lines li:last-child { border-bottom: 1px solid var(--rule); }

/* Draft, 11 Nov 2026: four products in a row (guide, two diaries, app); the notebook is a note below. */
.products.four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.products.four .cover img { width: 71.7%; }
@media (max-width: 980px) { .products.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .products.four { grid-template-columns: minmax(0, 1fr); } }
.products.four .product .btn { margin-top: auto; align-self: flex-start; }
.notebook-note { margin-top: 22px; }
.products.four .cover img.diary { width: 76.4%; }  /* 2:3 diaries, 86% of the panel's height */
#products .products-wrap { max-width: 1180px; }
/* Draft 11 Nov (Sarah: "too much space between the text and the buttons"): each card's cover, date, title, words and button share rows with its neighbours, so every button sits just under the longest text and all four line up. */
@supports (grid-template-rows: subgrid) {
  .products.four { grid-template-rows: auto; }
  .products.four .product { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .products.four .product > * { min-width: 0; }
  .products.four .product .btn { margin-top: 0; align-self: start; justify-self: start; }
  .products.four .product p.grey { margin-bottom: 20px; }
}
.products.four form.signup { margin-top: 0; }
.products.four form.signup label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.products.four .field { flex-wrap: nowrap; gap: 8px; }
.products.four .field input[type="email"] { flex: 1 1 0; min-width: 0; min-height: 44px; }
.products.four .status:empty { display: none; }

/* App films (15 Nov 2026): three explainer films, tap to play; one App Store badge per page (Apple: official artwork, 40 px minimum, clear space a quarter of its height) */
.howit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); max-width: 920px; margin: 32px auto 0; padding: 0; list-style: none; }
.howit li { min-width: 0; }
.howit .ph { aspect-ratio: 886 / 1920; border-radius: 18px; overflow: hidden; background: #F5F3EF; box-shadow: 0 10px 28px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06); }
.howit video { width: 100%; height: 100%; display: block; object-fit: cover; }
.howit .cap { margin: 14px 2px 0; }
.howit .cap b { display: block; font: 500 11px "IBM Plex Mono", ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: #6b7a5a; margin-bottom: 6px; }
.howit .cap span { font-size: 15px; line-height: 1.45; color: #5f6061; }
.howit-foot { text-align: center; margin-top: 32px; }
.howit-foot small { display: block; margin-top: 16px; color: var(--grey); font-size: 14px; }
.asb { display: inline-block; padding: 12px; margin: -12px; } .asb img { height: 48px; width: auto; display: block; }
@media (max-width: 700px) {
  .howit { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -20px; padding: 0 20px 8px 0; }
  .howit li { scroll-snap-align: start; }
}

/* Roadmap page (15 Nov 2026) */
.rm-hero { padding: 64px 20px 8px; }
.rm-hero h1 { font-family: var(--serif); font-size: clamp(36px, 5.4vw, 54px); font-weight: 300; letter-spacing: -.02em; margin: 0 0 12px; }
.rm-hero p:not(.eyebrow) { color: var(--grey); font-size: 19px; max-width: 34em; margin: 0; }
.lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 36px auto 0; padding: 0 20px 56px; }
.lane h2 { font-size: 15px; font-weight: 500; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.lane .sub { color: var(--grey); font-size: 14px; margin: 0 0 14px; min-height: 2.6em; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-block; box-sizing: border-box; }
.lane.now .dot { background: var(--ink); }
.lane.building .dot { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.lane.later .dot { border-style: dashed; }
.item { border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; background: var(--paper); }
.lane.now .item { background: var(--panel); border-color: var(--panel); }
.item h3 { font-size: 17px; font-weight: 500; margin: 0 0 6px; line-height: 1.3; }
.item p { font-size: 15px; color: var(--grey); margin: 0; line-height: 1.45; }
.item .tag { display: inline-block; margin-top: 10px; font: 500 10.5px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.item .row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.item .row .tag { margin-top: 0; }
.heart { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; margin: -12px -10px -12px 0; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: inherit; transition: background .2s ease; }
.heart:hover { background: var(--panel); }
.heart .e { font-size: 15px; line-height: 1; filter: drop-shadow(0 0 .5px rgba(0,0,0,.45)); }
.heart[aria-pressed="true"] .e { filter: none; }
.heart .n { font-size: 13.5px; color: var(--grey); font-variant-numeric: tabular-nums; }
.heart .n:empty { display: none; }
.heart[aria-pressed="true"] .n { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .heart.beat .e { animation: beat .5s cubic-bezier(.3,1.6,.5,1) both; } }
@keyframes beat { from { transform: scale(.7); } to { transform: scale(1); } }
.rm-foot { border-top: 1px solid var(--rule); padding: 48px 0 64px; }
.rm-foot .badge-row { margin-top: 28px; }
@media (max-width: 960px) { .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lanes { grid-template-columns: minmax(0, 1fr); } .lane .sub { min-height: 0; } }

/* Amazon buy buttons (17 Nov 2026) */
.buy { display: flex; flex-wrap: wrap; gap: 10px; justify-content: inherit; }
.product .buy { margin-top: auto; align-self: flex-start; align-items: flex-start; align-content: flex-start; }
.buy .soon { flex-basis: 100%; }
section .wrap > .buy { margin-top: 22px; }
.products.four .product .buy { align-self: start; margin-top: 0; }
.products.four .product .buy .btn { margin: 0; }
.soon { font-size: 14px; color: var(--grey); }
.buy-label { margin: 22px 0 10px; font-weight: 600; }

/* Social links (17 Nov 2026): one quiet row at the top of the footer, grey ink, 44 pt tap areas. */
footer.site .social { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
footer.site .social p { margin: 0; color: var(--ink, #1c1b19); font-weight: 500; }
footer.site .social p span { color: var(--grey); font-weight: 400; margin-left: 6px; }
footer.site .social .icons { display: flex; gap: 4px; margin-right: -11px; }
footer.site .social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--grey); margin: 0; }
footer.site .social a:hover, footer.site .social a:focus-visible { color: var(--ink, #1c1b19); background: var(--panel); }
footer.site .social svg { fill: currentColor; display: block; }

/* Releases table under the roadmap board (17 Nov 2026) */
.releases { border-top: 1px solid var(--rule); padding: 48px 0 8px; }
.releases h2 { margin-bottom: 20px; }
.rel { width: 100%; border-collapse: collapse; font-size: 16px; }
.rel th, .rel td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.rel thead th { font: 500 12px "IBM Plex Mono", ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.rel tbody th { font-weight: 600; white-space: nowrap; }
.rel td:nth-child(2) { color: var(--grey); white-space: nowrap; }
.rel ul { margin: 0; padding-left: 18px; } .rel li + li { margin-top: 6px; }
.rel tbody tr:last-child th, .rel tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .rel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rel tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .rel th, .rel td { display: block; border: 0; padding: 2px 0; }
  .rel ul { margin-top: 8px; }
}

/* ============ Homepage story (21 Nov 2026, docs/design/website-story/PLAN.md) ============
   One idea per screen, each beside the real app. Films play silently once as they arrive, then rest on their last frame. */
header.site { position: sticky; top: 0; z-index: 5; background: rgba(250,248,244,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
header.site .bar { max-width: 1120px; padding: 0 24px; }
header.site .btn { white-space: nowrap; }
@media (max-width: 860px) { .home nav.main { display: none; } header.site .bar { justify-content: space-between; padding: 0 16px; min-height: 58px; } }
[id] { scroll-margin-top: 72px; }
.anchor { display: block; height: 0; }

.home main { overflow-x: clip; }
.home section { padding: 0; }
.home section + section { border-top: 1px solid var(--rule); }
.home .wrap { max-width: 1120px; padding: 0 24px; }
.home h1, .home h2, .home h3 { font-family: var(--serif); font-weight: 300; }
.home h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.04; letter-spacing: -0.02em; }
.home h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.015em; }
.home h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.005em; }
.home .eyebrow { margin-bottom: 14px; }
.home .eyebrow .new { color: var(--accent); }

/* 0 · Hello */
.home .hero { text-align: center; padding: 64px 0 80px; }
.home .rings { width: min(340px, 72vw); margin: 0 auto 36px; overflow: visible; }
.home .hero .line { font-size: clamp(19px, 2.4vw, 23px); color: var(--grey); max-width: 28em; margin: 20px auto 0; }
.home .cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }
.home .cta small { color: var(--grey); font-size: 14px; }
.home .asb img { height: 52px; }
.home .scroll { display: inline-block; margin-top: 30px; padding: 10px 6px; font-size: 15px; color: var(--grey); text-decoration: none; }
.home .scroll:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  /* The rings ripple out inner to outer once, as the app opens, then breathe. */
  .home .rings .r { transform-origin: 150px 150px; animation: ripple 1.1s cubic-bezier(.2,.9,.3,1.12) both; }
  .home .rings .r1 { animation-delay: .15s; } .home .rings .r2 { animation-delay: .27s; } .home .rings .r3 { animation-delay: .39s; } .home .rings .r4 { animation-delay: .51s; } .home .rings .r5 { animation-delay: .63s; }
  @keyframes ripple { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }
  .home .rings .breathe { animation: breathe 10s ease-in-out 2s infinite; }
}

/* Chapters */
.home .chapter { padding: 96px 0; }
.home .chapter .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.home .chapter.flip .text { order: 2; }
.home .chapter .text { max-width: 30em; }
.home .chapter .text > p:not(.num):not(.eyebrow), .home .lede { font-size: 20px; color: var(--grey); }
.home .chapter .text b { font-weight: 500; color: var(--ink); }
.home p.canon { font-family: var(--serif); font-style: italic; font-size: 24px !important; line-height: 1.3; color: var(--ink) !important; }
.home .num { font: 500 11px "IBM Plex Mono", ui-monospace, Menlo, monospace; letter-spacing: .15em; text-transform: uppercase; color: var(--grey); margin: 0 0 14px; }
.home .lede { max-width: 32em; }

/* Films: the real app, in its own phone outline on paper */
.home .film { margin: 0; text-align: center; }
.home .frame { margin: 0 auto; overflow: hidden; background: #F9F8F3; }
.home .frame.phone { width: min(330px, 76vw); aspect-ratio: 440 / 900; border-radius: 28px; }
.home .frame.wide { width: 100%; max-width: 520px; aspect-ratio: 704 / 864; border-radius: 22px; }
.home .frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.home .replay { margin-top: 12px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--grey); font: 500 11px "IBM Plex Mono", ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.home .replay:hover { background: var(--panel); color: var(--ink); }
.home .replay[hidden] { display: none; }

.home .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.home .pair div { background: var(--panel); border-radius: 14px; padding: 18px 18px 16px; }
.home .pair b { display: block; font-weight: 500; font-size: 16px; color: var(--ink); }
.home .pair span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--grey); }

/* 4 · Diary scan */
.home .scan .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.home .beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.home .beats div { border-top: 1px solid var(--ink); padding-top: 14px; }
.home .beats b { display: block; font-family: var(--serif); font-weight: 300; font-size: 23px; line-height: 1.25; }
.home .beats span { display: block; margin-top: 6px; font-size: 15px; color: var(--grey); }
.home .buyline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 44px; padding: 18px 22px; background: var(--panel); border-radius: 16px; }
.home .buyline img { width: 52px; height: auto; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,.14); }
.home .buyline p { flex: 1 1 260px; margin: 0; font-size: 16px; }
.home .buyline p b { font-weight: 500; }

/* 5 · Coming next */
.home .devices { margin-top: 36px; }
.home .devices img { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; }
.home .cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.home .cards3.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home .nc { border: 1px solid var(--rule); border-radius: 16px; padding: 22px; background: var(--paper); }
.home .nc .tag { font: 500 10.5px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.home .nc h3 { margin-top: 10px; }
.home .nc p { font-size: 16px; color: var(--grey); margin-top: 8px; }
.home .chip { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--grey); background: var(--panel); border-radius: 999px; padding: 6px 12px; }
.home .chip i { width: 8px; height: 8px; border-radius: 50%; background: #C97B57; display: inline-block; }
.home .week { margin-top: 14px; background: var(--panel); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; color: var(--grey); }
.home .week b { font-weight: 500; color: #24365C; }
.home .week em { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.home .morelink { display: inline-block; margin-top: 28px; font-size: 17px; }

/* 6 · The method, on paper */
.home .books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.home .book { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border-radius: 18px; padding: 26px 24px 24px; }
.home .book .cover { height: 240px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.home .book .cover img { height: 220px; width: auto; border-radius: 3px; box-shadow: 0 10px 22px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.05); }
.home .book h3 { margin-bottom: 2px; }
.home .book > p:not(.eyebrow):not(.buy-label) { font-size: 15px; color: var(--grey); margin: 6px 0 18px; }
.home .book .buy-label { margin: 6px 0 8px; font-size: 14px; font-weight: 500; }
.home .book .buy + .buy-label { margin-top: 14px; }
.home .book .buy { margin-top: 0; }
.home .book form.signup { margin-top: auto; }
.home .book form.signup label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home .book .field { gap: 8px; }
.home .book .field input[type="email"] { flex: 1 1 160px; min-width: 0; min-height: 44px; }
.home .book .consent { font-size: 13px; }
.home .book .status:empty { display: none; }
.home .notebook-note { margin-top: 24px; font-size: 16px; color: var(--grey); }

/* 7 · Sarah */
.home .sarah .grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.home .portrait { max-width: 400px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--panel); }
.home .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home .sarah .more { font-size: 18px !important; }
.home .sarah .more a { color: var(--ink); }

/* 8 · Close */
.home .close { text-align: center; padding: 112px 0 104px; }
.home .close h2 { font-size: clamp(46px, 6vw, 72px); }
.home .close .asb { margin-top: 34px; }
.home .close p { font-size: 15px; color: var(--grey); margin-top: 16px; }

/* Chapters fade up gently as they arrive (600 ms). Never with Reduce Motion, and never without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  .js .home .chapter > .wrap { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .home .chapter.in > .wrap { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .home .hero { padding: 40px 0 60px; }
  .home .chapter { padding: 64px 0; }
  .home .wrap { padding: 0 20px; }
  .home .chapter .grid, .home .scan .grid, .home .sarah .grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home .chapter.flip .text { order: 0; }
  .home .chapter .text > p:not(.num):not(.eyebrow), .home .lede { font-size: 18px; }
  .home p.canon { font-size: 22px !important; }
  .home .frame.phone { width: min(300px, 74vw); }
  .home .frame.wide { max-width: 440px; }
  .home .beats, .home .cards3, .home .cards3.four, .home .books { grid-template-columns: minmax(0, 1fr); }
  .home .beats { gap: 18px; margin-top: 36px; }
  .home .portrait { max-width: 360px; }
}
@media (max-width: 420px) { .home .pair { grid-template-columns: minmax(0, 1fr); } header.site .brand { font-size: 11px; letter-spacing: .12em; } }
footer.site nav a { white-space: nowrap; display: inline-block; margin-bottom: 4px; }

/* Diary chapter: the four ways to use it (paper, phone, both) */
.home .ways { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.home .ways li { padding-left: 18px; position: relative; color: var(--grey); line-height: 1.5; }
.home .ways li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink); }
.home .ways b { color: var(--ink); font-weight: 600; }

/* Diary chapter: both diaries side by side (stacked on phones) */
.home .buyline.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; align-items: start; }
.home .buyline.two .buyhead { grid-column: 1 / -1; margin: 0; }
.home .buyline.two .dia { display: grid; grid-template-columns: 72px 1fr; gap: 10px 16px; align-items: center; }
.home .buyline.two .dia img { width: 72px; height: auto; border-radius: 4px; box-shadow: 0 6px 16px rgba(28,27,25,.14); grid-row: span 2; }
.home .buyline.two .dia p { margin: 0; }
.home .buyline.two .dia .buy { grid-column: 2; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) { .home .buyline.two { grid-template-columns: 1fr; } }

/* Architectural minimal buy links (21 Nov 2026): quiet type and a hairline, never heavy filled buttons. */
.home .buy { gap: 22px; }
.home .buy .btn, .home .buy .btn.primary {
  min-height: 0; padding: 0 0 3px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
}
.home .buy .btn::after { content: " \2192"; letter-spacing: 0; }
.home .buy .btn:hover { opacity: 1; color: var(--grey); border-bottom-color: var(--grey); }
.home .buyline.two .dia img { grid-column: 1; grid-row: 1 / span 2; }
.home .buyline.two .dia p, .home .buyline.two .dia .buy { grid-column: 2; }

/* The one feature only Spheres has: week (then month, year) played back */
.home .beats .only b { font-size: 26px; }
.home .beats .onlytag { display: block; font-style: normal; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

.home .nc .req { margin: -4px 0 8px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }

/* Spheres for Claude page and links (21 Nov 2026, /claude) */
.home .nc .howlink, .item a[href="/claude"] { white-space: nowrap; }
.home .nc .howlink { margin-top: 16px; }
.home .nc .howlink a, .claude .copy { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.home .nc .howlink a::after, .item a[href="/claude"]::after { content: " \2192"; letter-spacing: 0; }
.home .nc .howlink a:hover { color: var(--grey); border-bottom-color: var(--grey); }
.claude .cl-hero { padding: 88px 0 80px; }
.claude .cl-hero .wrap { max-width: 820px; }
.claude .cl-hero .line { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.3; margin: 22px 0 0; max-width: 26em; }
.claude .cl-hero .sub { font-size: 19px; color: var(--grey); max-width: 32em; }
.claude .req { margin-top: 26px; font: 400 12px "IBM Plex Mono", ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); line-height: 1.8; }
.claude .buy { display: flex; flex-wrap: wrap; margin-top: 30px; }
.claude .fine { font-size: 14px; color: var(--grey); margin-top: 14px; }
.claude .cl-hero .chip { margin-top: 32px; }
.claude .cl-steps { list-style: none; padding: 0; }
.claude .cl-steps li em { display: block; font-family: var(--serif); font-style: normal; font-size: 44px; line-height: 1; color: var(--grey); margin-bottom: 14px; }
.claude .cl-know { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.claude .cl-know li { background: var(--panel); border-radius: 14px; padding: 20px 20px 18px; }
.claude .cl-know b { display: block; font-family: var(--serif); font-weight: 300; font-size: 23px; line-height: 1.25; }
.claude .cl-know span { display: block; margin-top: 6px; font-size: 15px; color: var(--grey); }
.claude .cl-setup { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; max-width: 40em; }
.claude .cl-setup > li { counter-increment: s; position: relative; padding: 0 0 34px 56px; border-left: 1px solid var(--rule); margin-left: 16px; }
.claude .cl-setup > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.claude .cl-setup > li::before { content: counter(s); position: absolute; left: -17px; top: -4px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; }
.claude .cl-setup p:not(.eyebrow):not(.fine) { margin: 0; font-size: 19px; }
.claude .cl-setup b { font-weight: 500; }
.claude .cl-setup .buy { margin-top: 18px; }
.claude .copyline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; background: var(--panel); border-radius: 12px; padding: 16px 18px; }
.claude .copyline code { flex: 1 1 260px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; user-select: all; -webkit-user-select: all; }
.claude .copy { background: transparent; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; min-height: 32px; padding: 0 0 3px; border-radius: 0; }
.claude .copy:hover { color: var(--grey); border-bottom-color: var(--grey); }
.claude .copy[hidden] { display: none; }
.claude .cl-next p.canon { margin: 0; }
.claude .close .marks { max-width: 34em; margin: 28px auto 0; font-size: 13px; }
@media (max-width: 860px) {
  .claude .cl-hero { padding: 56px 0 60px; }
  .claude .cl-know { grid-template-columns: minmax(0, 1fr); }
  .claude .cl-setup > li { padding-left: 40px; }
}
.claude .cl-steps li { border-top: 1px solid var(--ink); padding-top: 14px; }

/* Questions (Spheres for Claude) */
.faqs{max-width:760px;margin-top:24px;border-top:1px solid var(--line,#E4DFD6)}
.faq{border-bottom:1px solid var(--line,#E4DFD6)}
.faq summary{cursor:pointer;list-style:none;padding:18px 32px 18px 0;position:relative;font-size:1.05rem;line-height:1.45}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:16px;font-size:1.3rem;opacity:.6}
.faq[open] summary::after{content:"\2212"}
.faq p{margin:0 0 20px;max-width:680px;opacity:.85;line-height:1.6}
.faq summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}
