/* Hallmark · theme: custom, the green system (David's references, 20 Nov 2026) over the v2 structure · shape: inner pages, Stage left · signature: the green dawn behind each page's first screen · genre: modern-minimal · nav: floating glass bar with day/night/auto · footer: columns and mast */
/* critique: P4 H4 E4 S4 R4 V4 · weakest: E, the inner pages carry no photograph by David's brief; type, light and glass carry them */
/* MYO·STAYS, the new public site (PRD v2, 20 Nov 2026: 4.1). One file for every page: tokens, type, layout and the
   shared parts. Day by default; night follows the phone unless the visitor picks (html[data-theme], myo_theme).
   Hallmark · theme: custom (PRD 4.1.2) · idea: a calm club letter · paper Ivory, accent Forest, gold only on the logo dot
   · faces: Newsreader (headlines) / Atkinson Hyperlegible Next (text) · fonts: Google link for now, self-hosted later (4.1.3) */

:root {
  --paper: #F8F7F2;       /* Ivory */
  --paper-2: #E8E5DA;     /* Stone */
  --ink: #252B27;         /* Charcoal */
  --ink-2: #5A615C;
  --head: #173C32;        /* headings in Forest by day */
  --forest: #173C32;
  --on-forest: #F8F7F2;
  --on-forest-2: #C9D2C1;
  --sage: #A5B39C;        /* hairlines only */
  --gold: #D4B48C;        /* the logo dot only */
  --line: rgba(37, 43, 39, .16);
  --line-band: rgba(165, 179, 156, .45);
  --error: #9A3324;
  --focus: #173C32;
  --focus-gap: #F8F7F2;
  --btn: #173C32;
  --btn-ink: #F8F7F2;
  --btn-hover: #0F2B23;
  --band: #173C32;        /* the one dark band (What MYO won't do) */
  --band-ink: #F8F7F2;
  --band-ink-2: #C9D2C1;
  --field: #E8E5DA;
  --bubble-myo: #FFFDF8;
  --bubble-you: #DCE3D3;
  --shadow: rgba(37, 43, 39, .12);
  --logo-dot: var(--gold);

  --f-head: "Newsreader", Georgia, "Times New Roman", serif;
  --f-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, sans-serif;
  --t-h1: 40px; --t-h2: 30px; --t-h3: 22px;
  --t-body: 18px; --t-long: 19px; --t-small: 18px;
  --wrap: 1200px; --gutter: 16px; --section: 64px;
  --r: 10px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) {
  :root { --t-h1: 72px; --t-h2: 48px; --t-h3: 26px; --t-body: 20px; --t-long: 21px; --t-small: 18px; --gutter: 48px; --section: 96px; }
}

/* Night (4.1.2): Forest paper, Ivory text, Ivory buttons with Forest words */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #173C32; --paper-2: #252B27; --ink: #F8F7F2; --ink-2: #B9C2BB; --head: #E8E5DA;
    --line: rgba(248, 247, 242, .22); --error: #F2A08F; --focus: #F8F7F2; --focus-gap: #173C32;
    --btn: #F8F7F2; --btn-ink: #173C32; --btn-hover: #E8E5DA; --band: #252B27; --band-ink: #F8F7F2; --band-ink-2: #B9C2BB;
    --field: #252B27; --bubble-myo: #2F3631; --bubble-you: #31473F; --shadow: rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #173C32; --paper-2: #252B27; --ink: #F8F7F2; --ink-2: #B9C2BB; --head: #E8E5DA;
  --line: rgba(248, 247, 242, .22); --error: #F2A08F; --focus: #F8F7F2; --focus-gap: #173C32;
  --btn: #F8F7F2; --btn-ink: #173C32; --btn-hover: #E8E5DA; --band: #252B27; --band-ink: #F8F7F2; --band-ink-2: #B9C2BB;
  --field: #252B27; --bubble-myo: #2F3631; --bubble-you: #31473F; --shadow: rgba(0, 0, 0, .35); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.6 var(--f-text); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); font-weight: 400; color: var(--head); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--t-h1); line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: var(--t-h2); line-height: 1.1; }
h3 { font-size: var(--t-h3); line-height: 1.25; text-wrap: pretty; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-gap); border-radius: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 64ch; }
.section { padding-block: var(--section); }
.stone { background: var(--paper-2); }
.band { background: var(--band); color: var(--band-ink); --head: var(--band-ink); --focus: var(--band-ink); --focus-gap: var(--band); --line: var(--line-band); }
.muted { color: var(--ink-2); }
.small { font-size: var(--t-small); }
.long { font-size: var(--t-long); }

/* One motion at most (4.1.10): a 240 ms fade, only for those who don't ask for less */
@media (prefers-reduced-motion: no-preference) { .fade { animation: fade .24s ease-out both; } @keyframes fade { from { opacity: 0; } } }

/* Buttons (4.1.7): 56 px, 10 px corners, one per section, full width on phones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: var(--r);
  border: 2px solid var(--btn); background: var(--btn); color: var(--btn-ink); font: 600 18px/1.2 var(--f-text);
  text-decoration: none; text-align: center; cursor: pointer; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn[disabled] { background: var(--paper-2); border-color: var(--paper-2); color: var(--ink-2); cursor: not-allowed; }
.band .btn { --btn: var(--band-ink); --btn-ink: var(--band); --btn-hover: var(--paper-2); }
.link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
@media (max-width: 767px) { .section .btn, .form .btn { width: 100%; } }

/* Skip link and header (WEB-HEAD) */
.skip { position: absolute; left: 8px; top: -100px; z-index: 30; padding: 12px 16px; background: var(--btn); color: var(--btn-ink); border-radius: var(--r); }
.skip:focus { top: 8px; }
.head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid transparent; }
.head.scrolled, .no-js .head { border-bottom-color: var(--line); }
.head { transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1); }
.head.tucked:not(:focus-within) { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .head { transition: none; } }
.head-row { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; color: var(--ink); flex: none; }
.brand svg { width: 124px; height: auto; display: block; }
.head-nav { display: none; }
.head-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.head .btn { min-height: 48px; padding: 0 16px; background: transparent; color: var(--ink); border-color: var(--ink); }
.head .btn:hover { background: var(--paper-2); }
.menu-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: var(--r); border: 2px solid var(--line);
  background: transparent; color: var(--ink); font: 600 18px/1 var(--f-text); text-decoration: none; cursor: pointer; }
@media (max-width: 359px) { .head .btn { display: none; } }
@media (min-width: 1100px) {
  .head-row { min-height: 84px; gap: 28px; }
  .brand svg { width: 150px; }
  .head-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
  .head-nav a { font-size: 18px; text-decoration: none; padding-block: 12px; }
  .head-nav a:hover, .head-nav a[aria-current] { text-decoration: underline; }
  .head .lang { padding-left: 28px; border-left: 1px solid var(--line); }
  .head-end { margin-left: 0; }
  .head .btn { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); min-height: 52px; padding: 0 24px; }
  .head .btn:hover { background: var(--btn-hover); }
  .menu-btn { display: none; }
}
.lang { display: flex; gap: 16px; }
.lang a { text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.lang a[aria-current] { font-weight: 600; text-decoration: underline; }

/* The phone menu (WEB-MENU): a full panel, rows 56 px, 20 px words; works with JS off through :target */
.menu { display: none; position: fixed; inset: 0; z-index: 40; background: var(--paper); overflow-y: auto; }
.menu:target, .menu.open { display: block; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.menu ul { list-style: none; margin: 8px 0 0; padding: 0; }
.menu li a { display: flex; align-items: center; min-height: 56px; font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu li a[aria-current] { text-decoration: underline; }
.menu-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 64px; border-bottom: 1px solid var(--line); font-size: 18px; }
.menu-row .label { color: var(--ink-2); min-width: 96px; }
.theme { display: inline-flex; gap: 8px; }
.theme button { min-height: 48px; padding: 0 16px; border-radius: var(--r); border: 2px solid var(--line); background: transparent; color: var(--ink); font: 400 18px/1 var(--f-text); cursor: pointer; }
.theme button[aria-pressed="true"] { border-color: var(--ink); font-weight: 600; }
.menu .btn { width: 100%; margin: 24px 0 40px; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* The Example conversation (4.1.6): real text, the MYO mark, the one shadow on the site */
.convo { margin: 0; width: 100%; max-width: 480px; justify-self: center; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--paper); box-shadow: 0 1px 2px var(--shadow), 0 18px 40px -24px var(--shadow); }
.convo-label { display: flex; align-items: center; gap: 12px; padding: 16px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.convo-mark { width: 40px; height: 40px; flex: none; }
.convo-mark svg { width: 40px; height: 40px; display: block; }
.convo-label b { display: block; font-weight: 600; line-height: 1.3; }
.convo-label span { display: block; font-size: var(--t-small); color: var(--ink-2); line-height: 1.3; }
.convo-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 24px; }
.convo-day { align-self: center; font-size: var(--t-small); color: var(--ink-2); }
.msg { max-width: 88%; padding: 8px 16px 8px; border-radius: 14px; font-size: 18px; line-height: 1.45; }
.msg time { display: block; text-align: right; font-size: 16px; color: var(--ink-2); }
.msg-myo { align-self: flex-start; background: var(--bubble-myo); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-you { align-self: flex-end; background: var(--bubble-you); border-bottom-right-radius: 4px; }
.msg .att { display: block; margin-bottom: 8px; padding: 16px 12px; border-radius: 8px; background: var(--paper-2); color: var(--ink-2); font-size: 16px; text-align: center; }
.msg b { font-weight: 600; }

/* Photos and their placeholders (4.1.5): sizes always set, Stone until they load, never darkened at night */
.photo { width: 100%; border-radius: var(--r); background: var(--paper-2); object-fit: cover; }
.ph { display: grid; place-content: center; gap: 8px; width: 100%; border-radius: var(--r); background: var(--paper-2);
  border: 2px dashed var(--line); color: var(--ink-2); text-align: center; padding: 24px; font-size: var(--t-small); }
.ph b { font-weight: 600; color: var(--ink); }
.ratio-4x5 { aspect-ratio: 4 / 5; } .ratio-3x2 { aspect-ratio: 3 / 2; } .ratio-4x3 { aspect-ratio: 4 / 3; }

/* FAQ rows (4.1.8): details/summary, the whole row tappable, plus and minus */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding-block: 12px;
  list-style: none; cursor: pointer; font: 400 20px/1.35 var(--f-head); color: var(--head); }
@media (min-width: 1100px) { .faq summary { font-size: 24px; min-height: 64px; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 28px/1 var(--f-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; max-width: 64ch; }

/* The notice panel (4.1.9): Stone with a Forest rule on the left. The safety panel uses it (WEB-SAFE). */
.notice { background: var(--paper-2); border-left: 4px solid var(--forest); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; }
:root[data-theme="dark"] .notice { border-left-color: var(--sage); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notice { border-left-color: var(--sage); } }
.notice p { max-width: 68ch; }
.notice .link { margin-top: 4px; }
.safety-wrap { padding-block: 48px var(--section); }

/* The one sign-up form (WEB-FORM) */
.form { display: grid; gap: 20px; max-width: 560px; }
.form h2 { margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; }
.field input { min-height: 56px; width: 100%; padding: 0 16px; border-radius: var(--r); border: 2px solid transparent; background: var(--field);
  color: var(--ink); font: 400 18px/1.2 var(--f-text); box-shadow: inset 0 0 0 1px var(--line); }
.field input:focus { outline: none; border-color: var(--focus); box-shadow: none; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.f-err { color: var(--error); font-weight: 600; font-size: var(--t-small); }
.f-err:empty { display: none; }
.check { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: start; min-height: 48px; cursor: pointer; line-height: 1.45; }
.check input { width: 32px; height: 32px; margin: 0; accent-color: var(--forest); }
:root[data-theme="dark"] .check input { accent-color: var(--paper-2); }
.check small { display: block; color: var(--ink-2); font-size: var(--t-small); }
.f-summary { padding: 16px 16px; border: 2px solid var(--error); border-radius: var(--r); }
.f-summary ul { margin: 8px 0 0; padding-left: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { display: grid; gap: 16px; }
.done h3 { font-size: var(--t-h2); }

/* The footer (WEB-FOOT) */
.foot { background: var(--paper-2); padding-block: 56px 32px; }
.foot-top { display: grid; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot .brand svg { width: 150px; }
.foot-line { font-family: var(--f-head); font-size: var(--t-h3); color: var(--head); }
.foot-say { display: grid; gap: 8px; max-width: 64ch; }
.social { display: flex; gap: 8px 24px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; min-height: 48px; align-items: center; }
.foot-cols { display: grid; gap: 28px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.foot-cols h2 { font: 600 18px/1.3 var(--f-text); color: var(--ink); margin-bottom: 8px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-base { padding-top: 24px; font-size: var(--t-small); color: var(--ink-2); max-width: 80ch; }
.foot-mark { margin-top: 40px; color: var(--ink); opacity: .9; }
.foot-mark svg { width: 100%; height: auto; display: block; }
@media (min-width: 768px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; } }

/* Home (WEB-HOME): seven sections, A and B share every rule but the hero's right side */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.hero { padding-block: 24px var(--section); }
@media (min-width: 1100px) { .hero { padding-block: 56px var(--section); } }
.hero-text { display: grid; gap: 20px; justify-items: start; }
.hero-text h1 { max-width: 15ch; }
.hero-text .lede { font-size: var(--t-long); max-width: 34ch; }
.hero-text .btn { margin-top: 4px; }
@media (max-width: 767px) { .hero-text .btn { width: 100%; } }
.hero .photo, .hero .ph { aspect-ratio: 4 / 3; }
@media (min-width: 1100px) { .hero .photo, .hero .ph { aspect-ratio: 4 / 5; max-height: 640px; } }
.sec-head { display: grid; gap: 12px; margin-bottom: 32px; }
@media (min-width: 1100px) { .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 48px; } }
.sec-head p { max-width: 40ch; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-n { grid-row: span 2; font: 400 36px/1 var(--f-head); color: var(--head); }
@media (min-width: 1100px) { .steps li { grid-template-columns: 56px minmax(0, 1fr); } .step-n { font-size: 44px; } }
.how-text { display: grid; gap: 24px; align-content: start; }
.after { display: grid; gap: 16px; justify-items: start; margin-top: 32px; }
@media (min-width: 1100px) { .after { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-top: 32px; border-top: 1px solid var(--line); margin-top: 48px; } }
.trio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.trio li { display: grid; gap: 8px; align-content: start; min-width: 0; }
.trio .ph, .trio .photo { aspect-ratio: 3 / 2; margin-bottom: 8px; }
@media (min-width: 768px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.wont { list-style: none; margin: 0; padding: 0; display: grid; }
.wont li { padding-block: 16px; border-top: 1px solid var(--line); font-size: var(--t-long); }
.wont li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .wont { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; grid-auto-flow: column; grid-template-rows: repeat(3, auto); }
  .wont li:nth-child(3), .wont li:last-child { border-bottom: 1px solid var(--line); } }
.covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.covers a { display: grid; gap: 8px; text-decoration: none; }
.covers a:hover h3 { text-decoration: underline; }
.covers img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 4px; background: var(--paper-2); }
.covers .meta { font-size: var(--t-small); color: var(--ink-2); }
@media (max-width: 767px) { .covers a { grid-template-columns: 104px minmax(0, 1fr); align-items: start; gap: 4px 16px; } .covers img { grid-row: span 2; } }
@media (min-width: 768px) { .covers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.signup { align-items: stretch; }
.signup .ph, .signup .photo { min-height: 320px; height: 100%; }
@media (max-width: 1099px) { .signup .ph, .signup .photo { min-height: 0; height: auto; aspect-ratio: 3 / 2; order: 2; } }
.faq-col { max-width: 800px; margin-inline: auto; display: grid; gap: 24px; }

/* Page not found (WEB-404) */
.nf { padding-block: var(--section); display: grid; gap: 20px; justify-items: start; }
.nf .pt { font-family: var(--f-head); font-size: var(--t-h3); color: var(--ink-2); }
.nf ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }

/* The type sheet (WEB-BUILD-1): internal, noindex */
.sw { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.sw li { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: var(--t-small); }
.sw span { display: block; height: 64px; }
.sw b, .sw code { display: block; padding: 4px 8px; }

/* Inner pages (WEB-BUILD-3) */
.hero-plain { padding-block: 32px var(--section); }
@media (min-width: 1100px) { .hero-plain { padding-block: 72px var(--section); } }
.hero-plain h1 { max-width: 18ch; }
.narrow { max-width: calc(800px + 2 * var(--gutter)); display: grid; gap: 20px; justify-items: start; }
.narrow > * { max-width: 100%; }
.cols3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.cols3 li { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.after-line { margin-top: 24px; max-width: 64ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; }
.ticks li { padding: 16px 0 16px 32px; border-top: 1px solid var(--line); position: relative; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 12px; height: 7px; border-left: 2px solid var(--head);
  border-bottom: 2px solid var(--head); transform: rotate(-45deg); }
.label-tag { font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--line); display: grid; gap: 24px; width: 100%; }
.timeline li { display: grid; gap: 8px; }
.timeline .when { font-weight: 600; }
.timeline .msg { max-width: 560px; }
.two { display: grid; gap: 32px; }
.two h3 { margin-bottom: 8px; }
@media (min-width: 768px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.wont.wont-1 { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
.wont.wont-1 li:nth-child(3) { border-bottom: 0; }
.wont.wont-1 li:last-child { border-bottom: 1px solid var(--line); }
.close { justify-items: start; }
.timeline .when .muted { font-weight: 400; }
.tiers { display: grid; gap: 24px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.tier { display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.tier h3 { font-size: var(--t-h2); }
.tier-price { font-family: var(--f-head); font-size: var(--t-h3); color: var(--head); }
.rules { margin: 0; padding-left: 28px; display: grid; gap: 16px; }
.rules li { padding-left: 8px; }
.rules li::marker { font-family: var(--f-head); color: var(--head); font-weight: 500; }
.ticks-plain li::before { display: none; }
.ticks-plain li { padding-left: 0; }
#free .form { max-width: 640px; }
.tier-end { margin-top: auto; display: grid; gap: 16px; padding-top: 8px; }
.jumps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.faq-group { display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 48px; }
/* Home A: the Example conversation right under the section title on phones (ChatGPT check, 20 Nov: proof straight
   after the first screen); on computers it sits beside the steps */
.how-h { margin-bottom: 24px; }
@media (min-width: 1100px) { .how-h { margin-bottom: 40px; } }
@media (max-width: 1099px) { .how-a .convo { order: -1; } }

/* The green system (20 Nov 2026), laid over src/v2.css for every inner page: the same structure, David's chosen look.
   Green-black by night, misty green by day, Host Grotesk, lime/sage glow, glass header with Day / Night / Auto. */
:root {
  --paper: oklch(97.5% 0.01 140); --paper-2: oklch(94.5% 0.016 140); --ink: oklch(22% 0.03 155); --ink-2: oklch(33% 0.03 155);
  --head: oklch(22% 0.03 155); --forest: oklch(40% 0.09 150); --on-forest: oklch(99% 0.005 140); --sage: oklch(52% 0.14 140);
  --line: oklch(22% 0.03 155 / 0.14); --error: oklch(48% 0.16 28); --focus: oklch(40% 0.09 150); --focus-gap: oklch(97.5% 0.01 140);
  --btn: oklch(40% 0.09 150); --btn-ink: oklch(99% 0.005 140); --btn-hover: oklch(35% 0.09 150);
  --band: oklch(16% 0.022 155); --band-ink: oklch(96% 0.012 135); --band-ink-2: oklch(84% 0.02 140);
  --field: oklch(99.5% 0.004 140); --bubble-myo: oklch(99.5% 0.004 140); --bubble-you: oklch(90% 0.08 130);
  --shadow: oklch(35% 0.08 150 / 0.25);
  --glow-1: oklch(90% 0.12 128 / 0.7); --glow-2: oklch(86% 0.08 168 / 0.55);
  --glass: oklch(100% 0 0 / 0.62); --glass-edge: oklch(22% 0.03 155 / 0.1); --glass-hi: oklch(100% 0 0 / 0.9);
  --f-head: "Host Grotesk", ui-sans-serif, system-ui, sans-serif; --f-text: "Host Grotesk", ui-sans-serif, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: oklch(14% 0.02 155); --paper-2: oklch(18% 0.025 155); --ink: oklch(96% 0.012 135); --ink-2: oklch(84% 0.02 140);
  --head: oklch(96% 0.012 135); --forest: oklch(88% 0.15 125); --on-forest: oklch(20% 0.04 140); --sage: oklch(88% 0.15 125);
  --line: oklch(100% 0 0 / 0.12); --error: oklch(76% 0.15 30); --focus: oklch(88% 0.15 125); --focus-gap: oklch(14% 0.02 155);
  --btn: oklch(88% 0.15 125); --btn-ink: oklch(20% 0.04 140); --btn-hover: oklch(92% 0.14 125);
  --band: oklch(18% 0.025 155); --band-ink: oklch(96% 0.012 135); --band-ink-2: oklch(84% 0.02 140);
  --field: oklch(11% 0.016 155); --bubble-myo: oklch(20% 0.025 155); --bubble-you: oklch(32% 0.07 135);
  --shadow: oklch(0% 0 0 / 0.4); --glow-1: oklch(72% 0.16 132 / 0.42); --glow-2: oklch(55% 0.11 168 / 0.32);
  --glass: oklch(100% 0 0 / 0.05); --glass-edge: oklch(100% 0 0 / 0.12); --glass-hi: oklch(100% 0 0 / 0.14); } }
:root[data-theme="dark"] {
  --paper: oklch(14% 0.02 155); --paper-2: oklch(18% 0.025 155); --ink: oklch(96% 0.012 135); --ink-2: oklch(84% 0.02 140);
  --head: oklch(96% 0.012 135); --forest: oklch(88% 0.15 125); --on-forest: oklch(20% 0.04 140); --sage: oklch(88% 0.15 125);
  --line: oklch(100% 0 0 / 0.12); --error: oklch(76% 0.15 30); --focus: oklch(88% 0.15 125); --focus-gap: oklch(14% 0.02 155);
  --btn: oklch(88% 0.15 125); --btn-ink: oklch(20% 0.04 140); --btn-hover: oklch(92% 0.14 125);
  --band: oklch(18% 0.025 155); --band-ink: oklch(96% 0.012 135); --band-ink-2: oklch(84% 0.02 140);
  --field: oklch(11% 0.016 155); --bubble-myo: oklch(20% 0.025 155); --bubble-you: oklch(32% 0.07 135);
  --shadow: oklch(0% 0 0 / 0.4); --glow-1: oklch(72% 0.16 132 / 0.42); --glow-2: oklch(55% 0.11 168 / 0.32);
  --glass: oklch(100% 0 0 / 0.05); --glass-edge: oklch(100% 0 0 / 0.12); --glass-hi: oklch(100% 0 0 / 0.14); }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; }
h1 { line-height: 1.02; } .faq summary { font-weight: 500; letter-spacing: -0.015em; }
.btn { border-radius: 999px; box-shadow: 0 12px 36px -14px var(--glow-1); }
.band .btn { --btn: var(--forest); --btn-ink: var(--on-forest); }
/* The floating glass header */
.head { top: 12px; background: transparent; border: 0; padding-inline: 12px; }
.head-row { max-width: 1240px; border-radius: 999px; padding: 0 8px 0 20px; min-height: 64px;
  background: color-mix(in oklch, var(--paper) 74%, transparent); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-hi);
  backdrop-filter: saturate(1.2) blur(14px); }
.head.scrolled, .no-js .head { border-bottom-color: transparent; }
.head .btn { border-radius: 999px; box-shadow: none; }
.menu-btn { border-radius: 999px; }
.head-nav .theme { margin-left: 4px; }
.theme { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; border: 1px solid var(--line); }
.theme button { min-height: 48px; min-width: 64px; border: 0; border-radius: 999px; font-size: 18px; font-weight: 500; color: var(--ink-2); }
.theme button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font-weight: 500; }
.no-js .theme { display: none; }
@media (max-width: 1099px) { .head-nav .theme { display: none; } }
/* Light behind the first screen of every page */
.hero-plain { position: relative; overflow: clip; }
.hero-plain::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 120%, var(--glow-1), transparent 70%), radial-gradient(80% 60% at 80% -10%, var(--glow-2), transparent 70%); }
.hero-plain > * { position: relative; }
/* Glass surfaces instead of flat boxes */
.tier, .notice, .f-summary { border-radius: 24px; }
.tier { background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-hi); }
.notice { background: var(--glass); border: 1px solid var(--glass-edge); border-left: 4px solid var(--sage); }
.stone { background: var(--paper-2); }
.ticks li::before { border-color: var(--sage); }
.step-n, .rules li::marker { color: var(--sage); }
.timeline { border-left-color: var(--sage); }
.field input { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.convo, .msg { border-radius: 18px; }
.foot { background: var(--paper); border-top: 1px solid var(--line); }
::selection { background: var(--btn); color: var(--btn-ink); }
.head .btn { white-space: nowrap; }
/* the back and forward arrows (pagenav.py, computers only), inside the bar before the logo (WEB-NAV-02) */
.head > .pnav { top: 32px !important; left: max(32px, calc((100% - 1264px) / 2 + 32px)) !important; }
html.pnav-on .head .brand { margin-left: 76px; }
@media (max-width: 420px) { .brand svg { width: 108px; } .head .btn, .menu-btn { padding: 0 16px; } .head-row { gap: 8px; padding-left: 16px; } }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--paper-2); border-color: var(--paper-2); color: var(--ink-2); cursor: not-allowed; }

/* Safety (/safety): the numbers first, large and tappable (WEB-SAFETY-02) */
.sf-col { display: grid; gap: 16px; }  /* left, in line with the title above */
.sf-col > * { max-width: 760px; }
.sf-hero { padding-bottom: 16px; } .sf-help { padding-top: 16px; }  /* the numbers within the first screen on a phone */
.sf-col h2 { margin-top: 24px; }
.sos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sos a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; min-height: 64px; padding: 16px 20px; border: 1px solid var(--line);
  border-radius: 20px; color: var(--ink); text-decoration: none; background: var(--glass); }
.sos b { font: 700 40px/1.05 var(--f-head); letter-spacing: -0.02em; }
.sos span { font-size: 18px; color: var(--ink-2); }
.sos li:first-child a { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.sos li:first-child span { color: var(--btn-ink); }
.sos a:hover { border-color: var(--ink-2); }
.sf-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
@media (min-width: 860px) { .sos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The inner pages the Instinct way (David, 22 Nov 2026): one column of plain sentences, the examples as links */
.plain { display: grid; gap: 24px; justify-items: start; max-width: 760px; }
.plain h1 { margin-bottom: 8px; }
.plain p { font-size: var(--t-long); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.plain .plain-lead { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; color: var(--ink); max-width: 30ch; }
.plain .plain-soon { font-size: var(--t-body); }
.plain .btn { margin-top: 8px; }
.ex-link, .in-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 1px;
  text-underline-offset: 5px; border-radius: 4px; padding-inline: 2px; margin-inline: -2px; }
.ex-link:hover, .ex-link[aria-expanded="true"], .in-link:hover { text-decoration-color: var(--ink); background: color-mix(in oklch, var(--sage) 14%, transparent); }
.ex-link:active, .in-link:active { background: color-mix(in oklch, var(--sage) 24%, transparent); }
.plain-list { margin: -8px 0 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: var(--t-long); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
/* Rows (DL-37, 23 Nov 2026): the tools hub, Start and the ebooks in one column, a hairline between, each row one link of 72 px or more */
.hero-plain:has(+ .rows-page) { padding-bottom: 40px; }
.rows-page { padding-top: 0; }
.plain .rows-h { margin: 24px 0 -8px; font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.02em; }
.plain .rows-h:first-child { margin-top: 0; }
.rows { list-style: none; margin: 0; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 72px;
  padding: 16px 8px; margin-inline: -8px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.rows a:has(img) { grid-template-columns: 52px minmax(0, 1fr) auto; }
.rows img { width: 52px; height: 72px; object-fit: cover; border-radius: 4px; }
.rows b { display: block; font-weight: 600; font-size: var(--t-body); line-height: 1.3; }
.rows small { display: block; margin-top: 4px; font-size: var(--t-small); line-height: 1.4; color: var(--ink-2); }
.rows .go { font-size: var(--t-small); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rows a:hover { background: color-mix(in oklch, var(--sage) 10%, transparent); }
.rows a:hover b { text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 4px; }
.rows-faq { width: 100%; }

/* One grid with the bar (David, 26 Nov 2026: «a coluna não alinha com o logo»): the text starts at the logo's edge with a reading
   measure; a page with a photograph puts it in the right column on computers, where it stays while you read */
.wrap.plain, .wrap.faq-col, .wrap.narrow, .wrap.plain-grid { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; }
.wrap.plain > *, .wrap.faq-col > *, .wrap.narrow > *, .plain-grid > .plain > * { max-width: 760px; }
.plain-grid > .plain { max-width: none; }
.plain-photo { position: relative; margin: 0; width: 100%; max-width: 560px; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--paper-2); }
.plain-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plain-photo.d { display: none; }
@media (min-width: 1000px) {
  .plain-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(48px, 6vw, 112px); }
  .plain-photo.m { display: none; }
  .plain-aside { align-self: stretch; }
  .plain-photo.d { display: block; position: sticky; top: 112px; margin-left: auto; }
}
/* the founder's signature under his story on About */
.plain .sign { margin-top: -8px; font-family: var(--f-head); font-weight: 500; color: var(--ink); }
/* the product moment: MYO's chat on the phone's screen in the photograph, in its own small type */
.shot-screen { position: absolute; left: 19.4%; top: 11.4%; width: 43.6%; height: 69.4%; border-radius: 6.5% / 3.4%; overflow: hidden;
  container-type: inline-size; background: oklch(100% 0 0); }
.shot-in { display: flex; flex-direction: column; gap: 3.5cqw; padding: 16cqw 6cqw 6cqw; }
.plain-photo .shot-screen p { margin: 0; max-width: 84%; font: 400 6.4cqw/1.32 var(--f-text); color: oklch(15% 0 0); }
.plain-photo .shot-screen .shot-head { max-width: none; margin-bottom: 2cqw; padding-bottom: 4cqw; border-bottom: 1px solid oklch(15% 0 0 / 0.1); font-weight: 600; text-align: center; }
.plain-photo .shot-screen .sb { padding: 3cqw 4.5cqw; border-radius: 5cqw; }
.plain-photo .shot-screen .sb.myo { align-self: flex-start; background: oklch(95% 0.002 260); }
.plain-photo .shot-screen .sb.you { align-self: flex-end; background: oklch(15% 0 0); color: oklch(98% 0 0); }
.ex-cards { display: grid; width: 100%; max-width: 480px; }
.ex-card { display: grid; gap: 8px; padding: 16px; border-radius: 20px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.js .ex-card:not(.on) { display: none; }
.ex-card + .ex-card { margin-top: 12px; }
.js .ex-card + .ex-card { margin-top: 0; }
.ex-card .ex-cap { font-size: var(--t-small); color: var(--ink-2); margin: 0; }
.exm { margin: 0; max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: var(--t-body); line-height: 1.4; color: var(--ink); }
.exm-myo { justify-self: start; background: var(--paper-2); }
.exm-you { justify-self: end; background: color-mix(in oklch, var(--sage) 22%, var(--paper)); }
.js .ex-cards:not(:has(.on)) { display: none; }
/* Membership with Pro on sale: the two ways to join side by side, the yearly one quieter (27 Nov 2026) */
.join-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.btn-ghost:hover { background: var(--paper-2); }
/* the live count of founding places in the pre-sale (v2_site.PLACES_SCRIPT), quiet but clear */
.places { font-weight: 600; margin: 4px 0 0; }

/* The «neutro» look on the inner pages (src/looks.py, from src/directions/make_options.py) */
:root { --paper: oklch(98.5% 0.001 260); --paper-2: oklch(96% 0.002 260); --ink: oklch(15% 0 0); --ink-2: oklch(29% 0 0); --head: oklch(15% 0 0); --forest: oklch(15% 0 0); --on-forest: oklch(98.5% 0 0); --sage: oklch(15% 0 0); --line: oklch(15% 0 0 / 0.12); --error: oklch(47% 0.15 28); --focus: oklch(46% 0.12 68); --focus-gap: oklch(98.5% 0.001 260); --btn: oklch(15% 0 0); --btn-ink: oklch(98.5% 0 0); --btn-hover: oklch(0% 0 0); --band: oklch(11% 0 0); --band-ink: oklch(96.5% 0 0); --band-ink-2: oklch(85% 0 0); --field: oklch(98.5% 0.001 260); --bubble-myo: oklch(100% 0 0); --bubble-you: oklch(96% 0.002 260); --shadow: oklch(15% 0 0 / 0.12); --glow-1: transparent; --glow-2: transparent; --glass: oklch(98.5% 0.001 260); --glass-edge: oklch(15% 0 0 / 0.12); --glass-hi: transparent; --f-head: "Figtree", "Helvetica Neue", Arial, sans-serif; --f-text: "Atkinson Hyperlegible Next", "Helvetica Neue", Arial, sans-serif; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper: oklch(0% 0 0); --paper-2: oklch(11% 0 0); --ink: oklch(96.5% 0 0); --ink-2: oklch(85% 0 0); --head: oklch(96.5% 0 0); --forest: oklch(96.5% 0 0); --on-forest: oklch(9% 0 0); --sage: oklch(96.5% 0 0); --line: oklch(96.5% 0 0 / 0.14); --error: oklch(76% 0.13 30); --focus: oklch(85% 0.1 78); --focus-gap: oklch(0% 0 0); --btn: oklch(96.5% 0 0); --btn-ink: oklch(9% 0 0); --btn-hover: oklch(100% 0 0); --band: oklch(11% 0 0); --band-ink: oklch(96.5% 0 0); --band-ink-2: oklch(85% 0 0); --field: oklch(0% 0 0); --bubble-myo: oklch(14% 0 0); --bubble-you: oklch(11% 0 0); --shadow: oklch(96.5% 0 0 / 0.14); --glow-1: transparent; --glow-2: transparent; --glass: oklch(0% 0 0); --glass-edge: oklch(96.5% 0 0 / 0.14); --glass-hi: transparent; } }
:root[data-theme="dark"] { --paper: oklch(0% 0 0); --paper-2: oklch(11% 0 0); --ink: oklch(96.5% 0 0); --ink-2: oklch(85% 0 0); --head: oklch(96.5% 0 0); --forest: oklch(96.5% 0 0); --on-forest: oklch(9% 0 0); --sage: oklch(96.5% 0 0); --line: oklch(96.5% 0 0 / 0.14); --error: oklch(76% 0.13 30); --focus: oklch(85% 0.1 78); --focus-gap: oklch(0% 0 0); --btn: oklch(96.5% 0 0); --btn-ink: oklch(9% 0 0); --btn-hover: oklch(100% 0 0); --band: oklch(11% 0 0); --band-ink: oklch(96.5% 0 0); --band-ink-2: oklch(85% 0 0); --field: oklch(0% 0 0); --bubble-myo: oklch(14% 0 0); --bubble-you: oklch(11% 0 0); --shadow: oklch(96.5% 0 0 / 0.14); --glow-1: transparent; --glow-2: transparent; --glass: oklch(0% 0 0); --glass-edge: oklch(96.5% 0 0 / 0.14); --glass-hi: transparent; }
.btn { border-radius: 999px; box-shadow: none; }
.hero-plain::before { display: none; }
.head-row { border-radius: 12px; box-shadow: none; }
.head-row a.btn, .head-row button, .head-row .theme, .head .btn, .nav-menu .btn { border-radius: 999px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.02em; }

.head-row, .nh-row { border-radius: 0; box-shadow: none; border-color: transparent; }
.head .head-nav > a, .nh .nh-links a, .head-login, .nh .nh-login { font: 400 16px/1 "Atkinson Hyperlegible Next", "Helvetica Neue", Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.05em; opacity: 1; }
.head .btn, .nh .nh-btn { min-height: 52px; padding: 0 28px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.callout, .notice, .safety-box { border-left-width: 1px; }
/* the wordmark's dot and the dot after a title: silver-grey on every page, whatever an older page sets on its own elements */
:root { --dot-n: oklch(52% 0.004 260); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --dot-n: oklch(80% 0.004 260); } }
:root[data-theme="dark"] { --dot-n: oklch(80% 0.004 260); }
*, *::before, *::after { --logo-dot: var(--dot-n) !important; --c-sand: var(--dot-n) !important; }
.dot { background: var(--dot-n) !important; }
.book-box { border-color: var(--line, var(--color-rule, currentColor)) !important; }
.brand-banner span { color: oklch(80% 0.004 260) !important; }
/* phones: the bar's capitals take more room, so its two buttons slim down to fit 375 px with the gutter (27 Nov 2026) */
@media (max-width: 479px) {
  .head-row, .nh-row { gap: 8px; }
  .head .btn { padding: 0 16px; letter-spacing: 0.02em; }
  .nh-row .nh-btn { padding: 0 12px; letter-spacing: 0.01em; }
  .head-row > :last-child [href="#menu"], .head-row [aria-controls="menu"] { padding: 0 14px; }
  .nh-row .nh-menu-btn { padding: 0 10px; }
}  /* the Journal's black banner: its small line in the light silver-grey, by day too */
/* One bar on every page, the home's (David, 27 Nov 2026): the wordmark left, How it works, Free tools and Journal in the
   middle, Log in, the pill and Menu on the right (Instinct keeps Log in in its bar too); below 1200 px the pill and Menu.
   No floating frame: a full-width bar, frosted, with a hairline once the page scrolls, on the page's own left line. */
.head, header.nh { position: sticky; top: 0; padding: 0; border: 0 !important; border-bottom: 1px solid transparent !important;
  background: color-mix(in oklch, var(--paper, var(--bg)) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
.head.scrolled, header.nh.scrolled { border-bottom-color: var(--line) !important; }
.head .head-row, .nh .nh-row { min-height: 80px; margin: 0 auto; gap: 24px; border: 0; border-radius: 0; box-shadow: none; background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.head .head-row { max-width: calc(var(--wrap) + 2 * var(--gutter)); padding: 0 var(--gutter); }
.nh .nh-row { max-width: calc(1200px + 2 * clamp(16px, 4vw, 40px)); padding: 0 clamp(16px, 4vw, 40px); }
.head .btn { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.head .btn:hover { background: var(--btn-hover); }
.head-login, .nh .nh-login { display: none; align-items: center; min-height: 48px; padding: 0 8px; color: var(--ink); text-decoration: none; }
.head .head-nav a, .nh .nh-links a { display: inline-flex; align-items: center; min-height: 48px; padding-block: 0; color: var(--ink); text-decoration: none; }
.head .head-nav a:hover, .head .head-nav a[aria-current], .nh .nh-links a:hover, .nh .nh-links a[aria-current], .head-login:hover, .nh-login:hover {
  text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 421px) { .head .brand svg { width: 132px; } .nh .nh-brand { width: 132px; } }
/* The home's floating island on phones, on every page (David, 27 Nov 2026: «sim, põe»): Home, Tools, Journal and Menu;
   the bar keeps the wordmark and the pill, Menu moves down to the island, as on the home */
.island { display: none; }
@media (max-width: 859px) {
  body { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .island { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 300;
    justify-content: center; pointer-events: none; }
  .isl { pointer-events: auto; flex: 1 1 auto; max-width: 400px; min-width: 0; display: flex; justify-content: space-around; padding: 4px;
    border-radius: 999px; background: color-mix(in oklch, var(--paper, var(--bg)) 70%, transparent); color: var(--ink); border: 1px solid var(--line);
    box-shadow: 0 16px 40px -18px oklch(0% 0 0 / 0.45); -webkit-backdrop-filter: saturate(1.8) blur(22px); backdrop-filter: saturate(1.8) blur(22px); }
  .isl a { display: grid; justify-items: center; align-content: center; gap: 4px; flex: 1 1 0; min-width: 0; min-height: 56px;
    color: color-mix(in oklch, var(--ink) 80%, var(--paper, var(--bg))); text-decoration: none; border-radius: 999px; }
  .isl a[aria-current="page"] { color: var(--ink); }
  .isl svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .isl span { font: 600 16px/1 "Atkinson Hyperlegible Next", "Helvetica Neue", Arial, sans-serif; white-space: nowrap; }
  .head .menu-btn, .nh .nh-menu-btn { display: none; }
}
/* the back and forward arrows (pagenav.py) on the bar's own left line, the wordmark moved over for them */
header.head > .pnav { top: 50% !important; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)) !important; }
header.nh > .pnav { top: 50% !important; left: max(clamp(16px, 4vw, 40px), calc((100% - 1200px) / 2)) !important; }
html.pnav-on .head .head-row .brand, html.pnav-on .nh .nh-row .nh-brand { margin-left: 0; }  /* phones swipe: no arrows, no gap */
@media (hover: hover) and (pointer: fine) and (min-width: 600px) { html.pnav-on .head .head-row .brand, html.pnav-on .nh .nh-row .nh-brand { margin-left: 82px; } }
@media (max-width: 599px) { header > .pnav { display: none !important; } }  /* a narrow window: the arrows would cover the wordmark */
@media (min-width: 860px) {
  .head .menu-btn, .nh .nh-menu-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; border: 0; background: transparent;
    color: var(--ink); text-decoration: none; font: 400 16px/1 "Atkinson Hyperlegible Next", "Helvetica Neue", Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.05em; }
  .head .menu-btn:hover, .nh .nh-menu-btn:hover { text-decoration: underline; text-underline-offset: 6px; }
}
@media (min-width: 1200px) {
  .head .head-row, .nh .nh-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .head .head-nav, .nh .nh-links { display: flex; justify-self: center; align-items: center; gap: 40px; margin: 0; }
  .head .head-end, .nh .nh-end { justify-self: end; gap: 24px; margin: 0; }
  .head-login, .nh .nh-login { display: inline-flex; }
}

