/* Tide: the app's look from 1.1.0 (DESIGN.md in speak-easy-docs/design), approved
   for the website by Ash on 23 Nov 2026. Loaded last, over the older Notebook
   layers, so pages change look without changing their markup. Colour carries
   the meaning (green, amber and red only for the lights and scores), forest
   stages end in the app's wave, buttons are flat pills, cards have no border
   or offset shadow. Motion is progressive: everything here reads finished with
   no script and under reduced motion. Records: docs 32-website-redesign.md. */

:root {
  --cream: #FBF6EA;
  --tide-before: #3D5E49;
  --tide-green: #56775B;
  --tide-red: #A04B3D;
  --butter-hi: #EFD488;
  --light-green: var(--tide-green);
  --serif-settings: normal;
  --r-card: 24px;
  --r-input: 999px;
  --r-button: 999px;
  --r-panel: 16px;
  --shadow-press: none;
  --shadow-press-soft: none;
  --shadow-panel: none;
  --shadow-lift: 0 24px 48px -28px rgba(31, 42, 36, 0.38);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --inout: cubic-bezier(0.65, 0, 0.35, 1);
  --back: cubic-bezier(0.34, 1.4, 0.64, 1);
  --bar: 72px;
  /* The app's wave as tiles: one wave length each, the back one 1.45 times as
     long at half strength. Section edges use 1.6 times the app's size. */
  --wv-front-parchment: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 29' preserveAspectRatio='none'%3E%3Cpath fill='%23F4EBD8' d='M0 16Q45 6 90 16T180 16V29H0Z'/%3E%3C/svg%3E");
  --wv-back-parchment: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 261 29' preserveAspectRatio='none'%3E%3Cpath fill='%23F4EBD8' fill-opacity='.5' d='M0 11Q65.25 1 130.5 11T261 11V29H0Z'/%3E%3C/svg%3E");
  --wv-front-forest: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 29' preserveAspectRatio='none'%3E%3Cpath fill='%232D4738' d='M0 16Q45 6 90 16T180 16V29H0Z'/%3E%3C/svg%3E");
  --wv-back-forest: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 261 29' preserveAspectRatio='none'%3E%3Cpath fill='%232D4738' fill-opacity='.5' d='M0 11Q65.25 1 130.5 11T261 11V29H0Z'/%3E%3C/svg%3E");
  --wv-rim-butter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 29' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%23E8C566' stroke-width='4.6' d='M-90 16Q-45 26 0 16Q45 6 90 16T180 16T270 16'/%3E%3C/svg%3E");
  --wv-front-deep: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 29' preserveAspectRatio='none'%3E%3Cpath fill='%23223729' d='M0 16Q45 6 90 16T180 16V29H0Z'/%3E%3C/svg%3E");
  --wv-back-deep: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 261 29' preserveAspectRatio='none'%3E%3Cpath fill='%23223729' fill-opacity='.5' d='M0 11Q65.25 1 130.5 11T261 11V29H0Z'/%3E%3C/svg%3E");
}
@media (min-width: 900px) { :root { --bar: 88px; } }

/* While Fraunces loads, the stand-in serif is sized to take the same room
   (measured from the font files at the headline weight), so nothing moves
   when Fraunces arrives (24 Nov 2026: Home's headline wrapped onto an extra
   line in Georgia and the hero shifted). Liberation Serif has Times' metrics. */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 87.32%; ascent-override: 112.01%; descent-override: 29.2%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback Times"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("LiberationSerif"); size-adjust: 96.45%; ascent-override: 101.4%; descent-override: 26.44%; line-gap-override: 0%; }
:root { --serif: Fraunces, "Fraunces Fallback", "Fraunces Fallback Times", serif; }

/* Fraunces in its plain cuts, as the app's Tide screens use it. */
*, *::before, *::after { font-variation-settings: normal !important; }

/* ---------- Page ---------- */
.site { background: var(--parchment); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Wave tiles (CSS edges) ---------- */
.tide-edge, .pg-hero::after, .sc::before, .sf::before, .sh::after {
  background-repeat: repeat-x, repeat-x;
  animation: tide-drift 3.4s linear infinite;
  pointer-events: none;
}
@keyframes tide-drift { to { background-position: -288px 100%, 417.6px 100%; } }
@keyframes tide-drift-hem { to { background-position: -162px 100%, 234.9px 100%; } }

/* ---------- Server-drawn waves (inc/tide.php) ---------- */
.wave { position: absolute; left: 0; right: 0; height: var(--wh); overflow: hidden; pointer-events: none; }
.wave svg { position: absolute; left: 0; top: 0; fill: currentColor; }
.wave .back { opacity: 0.5; animation: wv-back 3.4s linear infinite; }
.wave .front { animation: wv-front 3.4s linear infinite; }
.wave.flip { transform: scaleY(-1); }
.wave.wave-top { top: calc(var(--wh) * -1 + 2px); }
.wave.wave-bottom { bottom: -2px; }
.wave.paused svg { animation-play-state: paused; }
@keyframes wv-front { to { transform: translateX(var(--d)); } }
@keyframes wv-back { from { transform: translateX(var(--d)); } to { transform: none; } }

/* ---------- Buttons: flat pills ---------- */
.btn { border-radius: 999px; border: 0; box-shadow: none; font-weight: 700; transition: transform 0.3s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.btn:hover, .btn.is-hover { transform: translateY(-3px); }
.btn:active, .btn.is-active { transform: translateY(1px) scale(0.97); transition-duration: 0.08s; }
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: none; }
.btn-primary:hover, .btn-primary.is-hover { background: var(--tide-before); box-shadow: none; }
.btn-primary:active, .btn-primary.is-active { box-shadow: none; }
.btn-secondary { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-secondary:hover, .btn-secondary.is-hover { background: var(--forest); color: var(--cream); box-shadow: none; }
.btn-secondary:active, .btn-secondary.is-active { box-shadow: none; }
.btn-light { background: var(--butter); color: var(--ink); box-shadow: none; }
.btn-light:hover, .btn-light.is-hover { background: var(--butter-hi); box-shadow: none; }
.btn-light:active, .btn-light.is-active { box-shadow: none; }
.btn-danger { background: var(--tide-red); box-shadow: none; }
.btn-danger:hover, .btn-danger:active { box-shadow: none; }
.btn-lg { min-height: 58px; padding: 0 32px; }
.btn-sm { min-height: 44px; padding: 0 18px; }
.btn:focus-visible::after, .btn.is-focus::after { inset: -6px; border-radius: 999px; border-color: var(--forest); }
.btn-text { text-decoration-color: currentColor; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: text-underline-offset 0.25s var(--ease); }
.btn-text:hover, .btn-text.is-hover { text-decoration-style: solid; text-decoration-color: currentColor; text-underline-offset: 8px; transform: none; }
.btn:disabled, .btn.is-disabled { border: 0; background: var(--stone); color: var(--ink); transform: none; }
.input { border-radius: 999px; border: 1.5px solid var(--stone); background: var(--cream); padding-inline: 20px; min-height: 52px; }
.input:focus-visible, .input.is-focus { outline-color: var(--forest); }
textarea.input { border-radius: 20px; }

/* Dark grounds: butter pill, cream outline, butter focus rings. */
.sh .btn-primary, .sc .btn-primary, .sf .btn-primary, .on-dark .btn-primary, .pg-hero .btn-primary { background: var(--butter); color: var(--ink); }
.sh .btn-primary:hover, .sc .btn-primary:hover, .sf .btn-primary:hover, .on-dark .btn-primary:hover, .pg-hero .btn-primary:hover { background: var(--butter-hi); }
.pg-hero .btn-secondary, .on-dark .btn-secondary, .sc .btn-secondary { color: var(--cream); }
.pg-hero .btn-secondary:hover, .on-dark .btn-secondary:hover, .sc .btn-secondary:hover { background: var(--cream); color: var(--ink); }
.sh :focus-visible, .sc :focus-visible, .sf :focus-visible, .pg-hero :focus-visible, .on-dark :focus-visible { outline-color: var(--butter); }
.sh .btn:focus-visible::after, .sc .btn:focus-visible::after, .sf .btn:focus-visible::after, .pg-hero .btn:focus-visible::after, .on-dark .btn:focus-visible::after { border-color: var(--butter); }

/* ---------- Chips ---------- */
.badge-pro { --cb: var(--butter); --cf: var(--ink); }
.badge-new svg { display: none; }
.badge-new { --cb: var(--butter); --cf: var(--ink); }

/* ---------- Header: solid forest with a wave hem ---------- */
.sh, .sh.is-scrolled { background: var(--forest); box-shadow: none; color: var(--cream); }
.sh::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 2px); height: 26px; background-image: var(--wv-front-forest), var(--wv-back-forest); background-size: 162px 26px, 234.9px 26px; background-position: 0 100%, 0 100%; transform: scaleY(-1); animation-name: tide-drift-hem; }
.sh-in { height: var(--bar); max-width: 1240px; }
.sl, .sh .sl { color: var(--cream); }
.sl svg { fill: var(--cream); }
.sh.is-scrolled .sl { transform: none; }
.sl-two { font-size: 22px; font-weight: 580; }
@container site (min-width: 900px) {
  .sh-in { height: var(--bar); }
  .sl-two { font-size: 25px; gap: 11px; }
  .sh .sl-two svg { width: 1.2em; height: 1.24em; }
  .sh .sl-two .sl-name { display: flex; gap: 0.26em; }
  .nav { gap: 10px; margin-left: auto; }
  .sh-cta { margin-left: 18px; }
}
.nl { color: var(--cream); font-size: 16px; font-weight: 600; border-radius: 999px; }
.nl span { text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nl:hover span, .nl[aria-expanded="true"] span { text-decoration-color: var(--butter); text-decoration-style: solid; }
.nl[aria-current] span { text-decoration-color: var(--butter); text-decoration-style: solid; }
.nl.is-focus { outline-color: var(--butter); }
.menu-btn { border-radius: 50%; background: rgba(251, 246, 234, 0.12); color: var(--cream); box-shadow: none; }
.menu-btn:hover { background: rgba(251, 246, 234, 0.2); }
.skip { top: -80px; }

/* Menus: cream panels that rise in */
.ddp { top: calc(100% + 14px); background: var(--cream); border: 0; border-radius: 24px; box-shadow: var(--shadow-lift); padding: 10px; color: var(--ink); }
.ddp:not([hidden]) { animation: menu-in 0.35s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } }
.ddp-h { color: var(--forest); font-size: 13px; }
.ddi { border-radius: 16px; transition: background-color 0.2s, transform 0.3s var(--ease); }
.ddi:hover { background: var(--parchment); transform: translateX(3px); }
.ddi-ic { border-radius: 50%; background: var(--clay); border: 0; }
.ddi-ic svg { color: var(--cream); }
.ddi:hover .ddi-ic { background: var(--forest); }
.ddi b { color: var(--ink); font-family: var(--serif); font-weight: 580; font-size: 17px; }
.ddi b + span { color: var(--ink); }
.ddp-more, .ddp-foot { color: var(--forest); }
.ddp-more:hover, .ddp-foot:hover { text-decoration: underline; text-underline-offset: 5px; }
.ddp-foot { border-top: 1px solid rgba(31, 42, 36, 0.12); }

/* Phone menu */
.mnav { inset: var(--bar) 0 0 0; background: var(--cream); border-top: 0; padding-top: 34px; clip-path: inset(0 0 100% 0); transition: clip-path 0.36s var(--inout); }
.mnav.is-open { clip-path: inset(0 0 0 0); transition: clip-path 0.55s var(--ease); }
.mnav > * { opacity: 0; transform: translateY(-12px); transition: opacity 0.2s, transform 0.3s var(--inout); }
.mnav.is-open > * { opacity: 1; transform: none; transition: opacity 0.45s ease-out var(--md, 0.1s), transform 0.6s var(--ease) var(--md, 0.1s); }
.mnav > :nth-child(1) { --md: 0.1s; } .mnav > :nth-child(2) { --md: 0.15s; } .mnav > :nth-child(3) { --md: 0.2s; } .mnav > :nth-child(4) { --md: 0.25s; } .mnav > :nth-child(5) { --md: 0.3s; }
/* The menu button: the three lines turn into the cross. */
.menu-btn { position: relative; }
.menu-btn .i-open, .menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-close, .menu-btn[aria-expanded="true"] .i-open { display: block; transition: opacity 0.25s, transform 0.45s var(--back); }
.menu-btn .i-close { position: absolute; inset: 0; margin: auto; opacity: 0; transform: rotate(-90deg) scale(0.6); }
.menu-btn[aria-expanded="true"] .i-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
.menu-btn[aria-expanded="true"] .i-close { opacity: 1; transform: none; }
.mg > button .chev { transition: transform 0.45s var(--back); }
@media (prefers-reduced-motion: reduce) {
  .mnav, .mnav.is-open, .mnav > *, .mnav.is-open > *, .menu-btn svg { transition: none !important; }
}
.mnav::before, html.menu-open .sh::before { display: none; }
html.menu-open .sh { background: var(--forest); }
/* Tool pages (Ash, 3 Dec 2026): the tools sit on a forest stage, so a forest header
   melted into it. There the header is parchment with forest words and a parchment
   hem drifting over the stage. With the phone menu open it goes back to forest,
   like every other page. */
:root:not(.menu-open) body:has(.t-stage) .sh, :root:not(.menu-open) body:has(.t-stage) .sh.is-scrolled { background: var(--parchment); color: var(--forest); }
:root:not(.menu-open) body:has(.t-stage) .sh::after { background-image: var(--wv-front-parchment), var(--wv-back-parchment); }
:root:not(.menu-open) body:has(.t-stage) .sh .sl, :root:not(.menu-open) body:has(.t-stage) .sh .nl { color: var(--forest); }
:root:not(.menu-open) body:has(.t-stage) .sh .sl svg { fill: var(--forest); }
:root:not(.menu-open) body:has(.t-stage) .sh .nl:is(:hover, [aria-expanded="true"], [aria-current]) span { text-decoration-color: var(--clay); }
:root:not(.menu-open) body:has(.t-stage) .sh .btn-primary { background: var(--forest); color: var(--cream); }
:root:not(.menu-open) body:has(.t-stage) .sh .btn-primary:hover { background: var(--ink); }
:root:not(.menu-open) body:has(.t-stage) .sh :focus-visible, :root:not(.menu-open) body:has(.t-stage) .sh .nl.is-focus { outline-color: var(--forest); }
:root:not(.menu-open) body:has(.t-stage) .sh .btn:focus-visible::after { border-color: var(--forest); }
:root:not(.menu-open) body:has(.t-stage) .sh .menu-btn { background: rgba(31, 42, 36, 0.08); color: var(--forest); }
:root:not(.menu-open) body:has(.t-stage) .sh .menu-btn:hover { background: rgba(31, 42, 36, 0.14); }
.mg, .mlink { border-bottom: 1px solid rgba(31, 42, 36, 0.12); }
.mg > button, .mlink { font-weight: 580; color: var(--ink); }
.mg li a svg { color: var(--clay); }
.mg .mg-sub, .mg li a.mg-more, .mg li a.mg-more svg { color: var(--forest); }

/* ---------- Page heroes: a forest stage ending in a wave ---------- */
.pg-hero, .pg-hero:where(*) { margin-top: 0; background: var(--forest); color: var(--cream); padding: clamp(44px, 6cqi, 80px) 0 clamp(96px, 10cqi, 140px); }
@container site (min-width: 900px) { .pg-hero { margin-top: 0; padding: clamp(56px, 5cqi, 88px) 0 clamp(110px, 10cqi, 150px); } }
.pg-hero::before { display: none; }
.pg-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; top: auto; width: auto; height: 46.4px; z-index: 0; opacity: 1; background-color: transparent; -webkit-mask-image: none; mask-image: none; background-image: var(--wv-front-parchment), var(--wv-back-parchment); background-size: 288px 46.4px, 417.6px 46.4px; background-position: 0 100%, 0 100%; }
.pg-hero h1, .pg h1 { color: inherit; }
.pg-hero h1 { color: var(--cream); font-size: clamp(2.6rem, 1.6rem + 3.6cqi, 4.75rem); line-height: 1.02; letter-spacing: -0.022em; }
.pg-lede, .pg-hero .pg-lede { color: var(--cream); }
.pg-hero a:not(.btn) { color: var(--cream); text-decoration-color: rgba(251, 246, 234, 0.6); }
.pg-hero a:not(.btn):hover { text-decoration-color: var(--butter); }
.crumbs, .pg-hero .crumbs { color: var(--cream); }
.crumbs a, .pg-hero .crumbs a { color: var(--cream); text-decoration-color: rgba(251, 246, 234, 0.55); }
.crumbs a:hover { text-decoration-color: var(--butter); }
.pg-card .icard { transform: none; box-shadow: none; }
.pg-body a { text-decoration-color: rgba(45, 71, 56, 0.45); text-decoration-thickness: 1.5px; }
.pg-body a:hover { text-decoration-style: solid; text-decoration-color: var(--forest); }

/* ---------- Question card (generator, guides): cream, no ruled paper ---------- */
.icard { background: var(--cream); border: 0; border-radius: 28px; box-shadow: none; }
.icard-head { border-bottom: 0; padding: 20px 22px 6px; }
.icard-body { background-image: none; padding: 10px 22px 24px; }

/* ---------- Cover band: forest, rising out of the page on a wave ---------- */
.sc { overflow: visible; background: var(--forest); color: var(--cream); text-align: center; }
.sc::before { content: ""; position: absolute; left: 0; right: 0; top: -44px; height: 46.4px; background-image: var(--wv-front-forest), var(--wv-back-forest); background-size: 288px 46.4px, 417.6px 46.4px; background-position: 0 100%, 0 100%; }
.sc-stamp { display: none; }
.sc-in { justify-items: center; padding-block: clamp(88px, 10cqi, 150px) clamp(80px, 9cqi, 130px); }
.sc h2 { font-size: clamp(2.6rem, 1.4rem + 4.4cqi, 5.5rem); line-height: 1; letter-spacing: -0.022em; max-width: 14ch; }
.sc p { color: var(--cream); font-size: clamp(1.125rem, 1rem + 0.4cqi, 1.375rem); }
.sc .btn { min-height: 58px; padding: 0 32px; font-size: 17px; margin-top: 10px; }

/* ---------- Footer: forest deep, links in columns, the big name ---------- */
.sf { position: relative; background: var(--forest-deep); border-top: 0; color: var(--cream); overflow: hidden; }
.sf::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 46.4px; transform: scaleY(-1); background-image: var(--wv-front-parchment), var(--wv-back-parchment); background-size: 288px 46.4px, 417.6px 46.4px; background-position: 0 100%, 0 100%; }
.sc + .sf::before { display: none; }
.sf-in { max-width: 1240px; padding-top: clamp(80px, 8cqi, 112px); padding-bottom: clamp(40px, 5cqi, 64px); grid-template-columns: minmax(0, 1fr); container: sfin / inline-size; }
.sf .sl, .sf .sl svg { color: var(--cream); fill: var(--cream); }
.sf .sl { font-size: 28px; gap: 12px; }
.sf .sl svg { width: 1.15em; height: 1.2em; }
.sf-line { color: var(--cream); font: 420 21px/1.4 var(--serif); max-width: 28ch; }
/* Brand on the left, the newsletter on the right, the link columns under them. */
.sf-head { display: grid; gap: 40px 80px; align-items: start; }
.sf-head .sf-brand { grid-column: auto; max-width: none; padding-right: 0; gap: 18px; }
@container site (min-width: 900px) { .sf-head { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); } }
.sf-mail .nf { gap: 12px; }
.sf-mail .nf .label { font: 580 clamp(1.375rem, 1rem + 0.8cqi, 1.75rem)/1.2 var(--serif); color: var(--cream); }
.sf-mail .input { min-height: 54px; background: var(--cream); color: var(--ink); }
.sf-mail .nf .hint { opacity: 0.85; }
.sf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin-top: clamp(36px, 4cqi, 56px); padding-top: clamp(28px, 3cqi, 40px); border-top: 1px solid rgba(251, 246, 234, 0.14); }
@container site (max-width: 640px) { .sf-cols { grid-template-columns: 1fr 1fr; } .sf-cols .sf-col:last-child { grid-column: 1 / -1; } }
.sf-base { margin-top: clamp(28px, 3cqi, 40px); }
.sf-col h2 { color: var(--butter); font-size: 14px; letter-spacing: 0.02em; }
.sf-col a { color: var(--cream); }
.sf-col a:hover { text-decoration: underline; text-decoration-color: var(--butter); text-underline-offset: 5px; }
.sf-base { border-top: 1px solid rgba(251, 246, 234, 0.16); color: var(--cream); }
.sf-legal a, .sf-legal button { color: var(--cream); text-decoration-color: rgba(251, 246, 234, 0.5); }
.sf-legal a:hover, .sf-legal button:hover { text-decoration-color: var(--butter); text-decoration-style: solid; }
.sf-social { gap: 8px; margin: 0; }
.sf-social a { border-radius: 50%; color: var(--cream); background: rgba(251, 246, 234, 0.08); transition: transform 0.45s var(--back), background-color 0.3s, color 0.3s; }
.sf-social a:hover { color: var(--ink); background: var(--butter); transform: translateY(-5px) rotate(-8deg); }
.sf .input { border-color: transparent; }
.sf .nf .hint, .sf .nf p { color: var(--cream); }
.wm { margin-top: clamp(36px, 5cqi, 64px); color: var(--cream); }
.wm-pre { display: block; font: 600 clamp(20px, 1rem + 1.4cqi, 38px)/1 var(--serif); }
.wm-big { display: block; font: 600 clamp(44px, 23cqi, 330px)/0.82 var(--serif); letter-spacing: -0.035em; white-space: nowrap; padding-bottom: 0; margin-bottom: -0.02em; }
.wm-big .ch { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0 0.14em; margin: -0.06em 0 -0.14em; }
.wm-big .ch > span { display: inline-block; }
.js .wm:not(.in) .wm-big .ch > span { transform: translateY(105%); }
.js .wm.in .wm-big .ch > span { transform: none; transition: transform 1.1s var(--ease) calc(var(--i) * 55ms + 250ms); }

/* ---------- FAQs: cream questions, one open at a time ---------- */
.faq { display: grid; gap: 10px; border-top: 0; }
.faq details { background: var(--cream); border: 0; border-radius: 22px; overflow: hidden; transition: background-color 0.4s, color 0.4s, transform 0.45s var(--back); }
.faq details + details { border-top: 0; }
.faq details[open] { background: var(--forest); color: var(--cream); }
.faq details:not([open]):hover { transform: translateY(-3px); }
.faq summary { padding: 20px 24px; gap: 20px; cursor: pointer; }
.faq summary > :is(h2, h3, h4) { font-family: var(--serif); font-weight: 540; font-size: clamp(1.1875rem, 1rem + 0.4cqi, 1.4375rem); line-height: 1.3; color: inherit; }
.faq summary .chev { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(31, 42, 36, 0.08); color: inherit; transition: transform 0.45s var(--back), background-color 0.3s, color 0.3s; flex: none; }
.faq details:not([open]) summary:hover .chev { background: var(--forest); color: var(--cream); transform: rotate(90deg); }
.faq details[open] summary .chev { background: var(--butter); color: var(--ink); transform: rotate(180deg); }
.faq details[open] :focus-visible { outline-color: var(--butter); }
.faq-a { padding: 0 24px 24px; color: inherit; }
.faq-a p, .faq details[open] .faq-a a { color: inherit; }

/* ---------- Motion: headings rise word by word, groups rise once ---------- */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.1em 0 0.14em; margin: -0.1em 0 -0.14em; }
.words .w > span { display: inline-block; }
.js .words:not(.in) .w > span { transform: translateY(104%); }
.js .words.in .w > span { transform: none; transition: transform 1.05s cubic-bezier(0.25, 1, 0.5, 1) calc(var(--i) * 45ms); }
.js [data-reveal]:not(.settled) [data-r] { transition: transform 0.9s var(--ease), opacity 0.8s var(--ease); transition-delay: calc(var(--k, 0) * 90ms); }
.js [data-reveal]:not(.in) [data-r] { transform: translateY(30px); opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .tide-edge, .pg-hero::after, .sc::before, .sf::before, .sh::after, .wave svg { animation: none !important; }
  .js .words:not(.in) .w > span, .js [data-reveal]:not(.in) [data-r], .js .wm:not(.in) .wm-big .ch > span { transform: none !important; opacity: 1 !important; }
  .btn, .faq details, .sf-social a, .ddi { transition: none; }
  .ddp:not([hidden]) { animation: none; }
}

/* ---------- Every page hero, as Home's (Ash, 24 Nov 2026) ---------- */
/* Lined up with the logo: the same 1240px column as the header and Home. */
.pg-in, .h-sec, .ql, .bl, .fq, .ct, .ab-story, .ab-quote, .ab-in2 { max-width: 1240px; }
/* Home's headline size wherever the title is short (guides keep theirs). */
.pg-hero:not(.gd-hero) h1 { font-size: clamp(2.875rem, 1.4rem + 5cqi, 6rem); line-height: 1; letter-spacing: -0.022em; max-width: 10em; }
.pg-hero .pg-lede { font-size: clamp(1.125rem, 1rem + 0.45cqi, 1.375rem); line-height: 1.45; max-width: 36ch; }
.pg-hero .pg-copy { gap: 18px; }
/* Section headings at Home's size. */
.h-sec > h2 { font-family: var(--serif); font-weight: 580; font-size: clamp(2.25rem, 1.2rem + 3cqi, 4rem); line-height: 1.04; letter-spacing: -0.012em; color: var(--ink); max-width: 16ch; }
.h-sec > .sub { color: var(--ink); opacity: 0.8; font-size: clamp(1.125rem, 1rem + 0.3cqi, 1.3125rem); max-width: 46ch; margin-top: 16px; }
/* The entrance: the crumbs, then the headline word by word behind a mask,
   then the words under it and whatever stands beside it. Transform-only on
   the headline, so it paints at once (no wait for the largest paint). */
@keyframes pg-word { from { transform: translateY(62%); opacity: 0.2; } }
@keyframes pg-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes pg-card { from { opacity: 0; transform: translateY(34px) scale(0.97); } }
:is(.pg-hero, .t-stage) h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.1em 0 0.14em; margin: -0.1em 0 -0.14em; }
:is(.pg-hero, .t-stage) h1 .w > span { display: inline-block; animation: pg-word 1.1s cubic-bezier(0.25, 1, 0.5, 1) calc(30ms + var(--i) * 45ms) both; }
.pg-hero .pg-copy > .crumbs { animation: pg-rise 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0ms both; }
.pg-hero .pg-copy > h1 ~ * { animation: pg-rise 1s cubic-bezier(0.25, 1, 0.5, 1) 380ms both; }
.pg-hero .pg-copy > h1 ~ * ~ * { animation-delay: 470ms; }
.pg-hero .pg-copy > h1 ~ * ~ * ~ * { animation-delay: 560ms; }
.pg-hero .pg-in > :not(.pg-copy) { animation: pg-card 1.2s cubic-bezier(0.25, 1, 0.5, 1) 220ms both; }
@media (prefers-reduced-motion: reduce) {
  :is(.pg-hero, .t-stage) h1 .w > span, .pg-hero .pg-copy > *, .pg-hero .pg-in > :not(.pg-copy) { animation: none !important; }
}

/* ---------- The envelope (list band and footer sign-up, Ash 24 Nov 2026) ----------
   A question card rises out of it when its panel arrives, and a little more on
   hover. The panel keeps room for it (--env-w + --env-r) so it never touches the form. */
.env-host { --env-w: clamp(118px, 11cqi, 160px); --env-r: clamp(24px, 3.4cqi, 48px); position: relative; }
.env { position: absolute; right: var(--env-r); top: 50%; width: var(--env-w); aspect-ratio: 1.45; transform: translateY(-30%) rotate(-6deg); pointer-events: none; }
.env::before { content: ""; position: absolute; inset: 0; border-radius: 14px; background: #C9A24A; }
.env-card { position: absolute; left: 9%; right: 9%; top: 6%; height: 92%; border-radius: 12px; background: var(--cream); padding: 12% 10%; display: flex; flex-direction: column; gap: 8%; transform: translateY(-34%); transition: transform 0.9s var(--ease) 0.25s; }
.env-card i { width: 38%; height: 12%; border-radius: 999px; background: var(--forest); }
.env-card b { height: 9%; border-radius: 999px; background: rgba(31, 42, 36, 0.3); }
.env-card b + b { width: 70%; }
.env-front { position: absolute; left: 0; right: 0; bottom: 0; height: 66%; border-radius: 0 0 14px 14px; background: var(--butter); clip-path: polygon(0 0, 50% 46%, 100% 0, 100% 100%, 0 100%); }
.js [data-reveal]:not(.in) .env-card, .js [data-reveal]:not(.in) > .env-host .env-card { transform: translateY(46%); }
.env-host:hover .env-card { transform: translateY(-48%); transition-delay: 0s; }
@container site (max-width: 640px) {
  .env-host { padding-top: 150px !important; padding-right: clamp(24px, 3.4cqi, 48px) !important; }
  .env { top: 30px; right: auto; left: 28px; width: 118px; transform: rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) { .env-card { transition: none; transform: translateY(-34%) !important; } }
/* Sent (Ash, 25 Nov 2026): the card drops into the envelope, the envelope gives
   a little nod and a clay tick stamps on. The newsletter sign-ups once they're
   sent, and the contact page's note when its tick box was ticked (.is-sent). */
.env::after { content: ""; position: absolute; right: -10%; bottom: -16%; width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--clay) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF6EA' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 58% no-repeat; box-shadow: 0 0 0 3px var(--forest); scale: 0; }
:is(.env-host.is-sent, .env-host:has(> .nf-done:not([hidden]))) .env-card { animation: env-post 0.8s var(--ease) 0.1s both; }
:is(.env-host.is-sent, .env-host:has(> .nf-done:not([hidden]))) .env { animation: env-nod 0.8s var(--back) 0.65s both; }
:is(.env-host.is-sent, .env-host:has(> .nf-done:not([hidden]))) .env::after { animation: env-stamp 0.55s var(--back) 1.05s both; }
@keyframes env-post { from { transform: translateY(-34%); } to { transform: translateY(0); } }
@keyframes env-nod { 0%, 100% { translate: 0 0; rotate: 0deg; } 35% { translate: 0 -10px; rotate: -5deg; } 70% { translate: 0 0; rotate: 3deg; } }
@keyframes env-stamp { from { scale: 0; rotate: -45deg; } to { scale: 1; rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) {
  :is(.env-host.is-sent, .env-host:has(> .nf-done:not([hidden]))) .env-card { animation: none; transform: translateY(0) !important; }
  :is(.env-host.is-sent, .env-host:has(> .nf-done:not([hidden]))) .env, :is(.env-host.is-sent, .env-host:has(> .nf-done:not([hidden]))) .env::after { animation: none; }
  :is(.env-host.is-sent, .env-host:has(> .nf-done:not([hidden]))) .env::after { scale: 1; }
}
/* The newsletter's sent message, in the panel's own colours. */
.nf-sent { display: grid; gap: 10px; justify-items: start; }
.nf-sent-h { font: 580 clamp(1.375rem, 1rem + 0.8cqi, 1.75rem)/1.2 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.nf-sent-h:focus { outline: none; }
.nf-sent-p { font-size: 16px; line-height: 1.55; max-width: 46ch; }
.nf-sent-p b { font-weight: 700; overflow-wrap: anywhere; text-decoration: underline wavy var(--nf-wave, var(--butter)); text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-skip-ink: none; }
.nf-sent-x { font-size: 14px; line-height: 1.5; opacity: 0.85; }
.nf-sent-x a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--nf-wave, var(--butter)); text-underline-offset: 4px; }
.nf-sent-x a:hover { text-decoration-thickness: 2px; }
.nf-sent a:focus-visible { outline-color: var(--nf-wave, var(--butter)); }
.nf-done:not([hidden]) .nf-sent > * { animation: nf-rise 0.6s var(--ease) both; }
.nf-done:not([hidden]) .nf-sent > :nth-child(2) { animation-delay: 0.08s; }
.nf-done:not([hidden]) .nf-sent > :nth-child(3) { animation-delay: 0.16s; }
@keyframes nf-rise { from { opacity: 0; translate: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .nf-done:not([hidden]) .nf-sent > * { animation: none; } }
/* On the cream card a wavy line reads like a spelling mark, so the address gets a butter highlight. */
.nw-form .nf-sent-p b { text-decoration: none; padding-inline: 2px; background: linear-gradient(transparent 56%, rgba(232, 197, 102, 0.7) 56%); }
.nw-form .nf-sent-h { color: var(--forest); }
/* The footer's sign-up as a panel, as on the lists. */
.sf-mail { padding: clamp(26px, 3cqi, 40px); padding-right: calc(var(--env-w) + var(--env-r) + 32px); border-radius: 28px; background: var(--forest); }
@container site (min-width: 900px) { .sf-head { grid-template-columns: minmax(0, 1fr) minmax(0, 680px); } }


/* ---------- Tiles whose coloured copy rises on hover (tide.js [data-fl]) ----------
   Home's free tools pattern (Ash, 23 Nov 2026), shared from 25 Nov. Each tile
   sets --fl (the colour that rises) and --flon (its text). */
[data-fl] { position: relative; isolation: isolate; overflow: hidden; }
.fl-copy { position: absolute; inset: 0; z-index: 2; display: inherit; flex-direction: inherit; flex-wrap: inherit; align-items: inherit; justify-content: inherit; gap: inherit; grid-template-columns: inherit; grid-template-rows: inherit; padding: inherit; border-radius: inherit; background: var(--fl, var(--forest)); color: var(--flon, var(--cream)); clip-path: inset(100% 0 0 0); transition: clip-path 0.55s var(--inout); pointer-events: none; }
[data-fl]:hover > .fl-copy, [data-fl]:focus-visible > .fl-copy { clip-path: inset(0); }

/* ---------- FAQ, smoother and roomier (Ash, 25 Nov 2026) ----------
   site.js eases the whole item; here the colour leaves as it starts to close,
   answers are larger with more line height, and links stay visible on green. */
.faq details { transition: background-color 0.5s var(--inout), color 0.5s var(--inout), transform 0.45s var(--back); }
.faq details.is-closing { background: var(--cream); color: var(--ink); }
.faq details.is-closing summary .chev { background: rgba(31, 42, 36, 0.08); color: inherit; transform: none; }
.faq summary { padding: 22px 26px; }
.faq summary > :is(h2, h3, h4) { font-size: clamp(1.25rem, 1.05rem + 0.45cqi, 1.5rem); line-height: 1.3; }
.faq-a { padding: 0 26px 28px; }
.faq details .faq-a p { font-size: 17.5px; line-height: 1.72; max-width: 66ch; padding-bottom: 0; }
.faq details .faq-a p + p { margin-top: 12px; }
.faq details[open] .faq-a a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(232, 197, 102, 0.75); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.faq details[open] .faq-a a:hover { color: var(--butter); text-decoration-color: var(--butter); text-decoration-style: wavy; }
.faq details.is-closing .faq-a a { color: inherit; }
@container site (max-width: 640px) { .faq summary { padding: 18px 20px; } .faq-a { padding: 0 20px 22px; } .faq details .faq-a p { font-size: 16.5px; } }

/* Share buttons: no new-tab arrow inside the round buttons (it pushed the logo
   off centre); the links still say they open in a new tab. */
.gd-share a.gd-sh.ext::after { content: none; display: none; }
@media (prefers-reduced-motion: reduce) { .fl-copy { transition: none; } }

/* Read next cards (Ash, 25 Nov 2026: a plain link in the middle of a page should
   be a section of its own). inc/tide.php speakeasy_read_next(); the whole card
   is the link and floods with colour (tide.js [data-fl]). */
.hs-next { --fl: var(--forest); --flon: var(--cream); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: clamp(24px, 4cqi, 64px); row-gap: 10px; align-items: end; margin-top: clamp(56px, 6cqi, 96px); padding: clamp(28px, 3.6cqi, 52px); border-radius: 36px; background: var(--butter); color: var(--ink); text-decoration: none; transition: transform 0.5s var(--back); }
.hs-next:hover { transform: translateY(-6px); }
.hs-next :is(.hs-next-k, .hs-next-t, .hs-next-d) { grid-column: 1; }
.hs-next-k { justify-self: start; display: inline-flex; padding: 9px 13px; border-radius: 999px; background: var(--forest); color: var(--cream); font: 700 13.5px/1 var(--sans); }
.hs-next .fl-copy .hs-next-k { background: var(--butter); color: var(--ink); }
.hs-next-t { margin-top: 8px; font: 580 clamp(2rem, 1.2rem + 2.4cqi, 3.5rem)/1.04 var(--serif); letter-spacing: -0.016em; max-width: 18ch; text-wrap: balance; }
.hs-next-d { font-size: clamp(1rem, 0.95rem + 0.2cqi, 1.125rem); line-height: 1.5; max-width: 56ch; opacity: 0.9; }
.hs-next-go { grid-column: 2; grid-row: 1 / -1; align-self: end; display: grid; justify-items: center; gap: 12px; font: 600 14.5px/1 var(--sans); }
.hs-next-ar { order: -1; width: clamp(68px, 6cqi, 88px); height: clamp(68px, 6cqi, 88px); border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--cream); transition: transform 0.5s var(--back); }
.hs-next .fl-copy .hs-next-ar { background: var(--butter); color: var(--ink); }
.hs-next-ar svg { width: 30px; height: 30px; transition: transform 0.4s var(--ease); }
.hs-next:hover .hs-next-ar { transform: rotate(-12deg) scale(1.06); }
.hs-next:hover .hs-next-ar svg { transform: translateX(4px); }
@container site (max-width: 640px) { .hs-next { grid-template-columns: minmax(0, 1fr); } .hs-next-go { grid-column: 1; grid-row: auto; justify-items: start; grid-auto-flow: column; align-items: center; margin-top: 10px; } }

@media (prefers-reduced-motion: reduce) { .hs-next, .hs-next-ar { transition: none; } .hs-next:hover { transform: none !important; } }

/* Page not found (Ash, 25 Nov 2026: every page on brand): the ways on as
   rows that nudge, on the forest. */
.nf-links { display: grid; gap: 4px; max-width: 440px; margin-top: 18px; border: 0 !important; }
.nf-links li { border: 0 !important; }
.nf-links a { min-height: 52px; padding: 10px 16px; border-radius: 16px; background: rgba(251, 246, 234, 0.08); color: var(--cream); font: 560 19px/1.2 var(--serif); transition: background-color 0.25s, transform 0.35s var(--ease); }
.nf-links a:hover { background: rgba(251, 246, 234, 0.16); transform: translateX(4px); }
.nf-links a:hover span { text-decoration: none; }
.nf-links a svg { color: var(--butter); transition: transform 0.35s var(--ease); }
.nf-links a:hover svg { transform: translateX(4px); }
.nf-code { display: inline-flex; justify-self: start; width: max-content; max-width: max-content; padding: 8px 12px; border-radius: 999px; background: var(--butter); color: var(--ink) !important; font: 700 13px/1 var(--sans) !important; }
@media (prefers-reduced-motion: reduce) { .nf-links a { transition: none; } .nf-links a:hover { transform: none; } }
/* A page that ends with its dark hero and no band (page not found; Ash, 25 Nov
   2026: a double wave with a thin cream line): one wave from the hero straight
   into the footer, and no cream wave on the footer. */
.error404 .pg-hero::after, body:not(:has(.sc)) main > .pg-hero:last-child::after { background-image: var(--wv-front-deep); background-size: 288px 48px; }
.error404 .sf::before, body:has(main > .pg-hero:last-child):not(:has(.sc)) .sf::before { display: none; }
/* Wave strips a whole number of pixels tall (Ash, 25 Nov 2026: a fractional
   46.4px left a thin light line along the edge of the footer's wave). */
.pg-hero::after, .sf::before { height: 48px; background-size: 288px 48px, 417.6px 48px; }
.sc::before { top: -46px; height: 48px; background-size: 288px 48px, 417.6px 48px; }

/* ---------- The weekly newsletter on guides (Ash, 1 Dec 2026) ---------- */
/* In the author's card at the end of a guide. */
.au-nl { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(251, 246, 234, 0.18); display: grid; gap: 10px; }
.au-nl-k { font: 600 1rem/1.45 var(--sans); color: var(--cream); margin: 0; text-wrap: pretty; }
:is(.au-nl, .nl-slide) .nf { gap: 8px; }
:is(.au-nl, .nl-slide) .nf .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:is(.au-nl, .nl-slide) .input { min-height: 48px; background: var(--cream); color: var(--ink); }
:is(.au-nl, .nl-slide) .btn-primary { background: var(--butter); color: var(--ink); }
:is(.au-nl, .nl-slide) .btn-primary:hover { background: #f0d27e; }
:is(.au-nl, .nl-slide) .nf .hint { color: var(--cream); opacity: 0.8; font-size: 0.8125rem; }
/* The slide-in: a small card in the corner, a strip along the bottom on phones.
   Coming in (Ash, 1 Dec 2026: "a bit more subtle, more interesting"): the card
   rises from below the window with a slight tilt and settles, then what's on it
   follows one line after another, and the envelope lands with a small wobble.
   Going (closed, signed up, or stepping aside for another sign-up form on
   screen): it tips and sinks away, quicker than it came. .is-in is the card;
   .is-shown, added once, is its contents, so they stay put while it leaves. */
.nl-slide { --nl-off: translateY(calc(100% + 40px)) rotate(3deg); --nl-go: transform 0.42s cubic-bezier(0.55, 0, 0.8, 0.3), opacity 0.3s ease 0.12s; position: fixed; z-index: 60; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); width: min(372px, calc(100vw - 32px)); padding: 20px 20px 16px; border-radius: 24px; background: var(--forest); color: var(--cream); box-shadow: 0 1px 2px rgba(9, 20, 14, 0.22), 0 22px 44px -16px rgba(9, 20, 14, 0.6); display: grid; gap: 8px; opacity: 0; transform: var(--nl-off); transform-origin: 100% 100%; transition: var(--nl-go); }
.nl-slide.is-in { opacity: 1; transform: none; transition: transform 0.95s cubic-bezier(0.18, 1.28, 0.4, 1), opacity 0.4s ease; }
.nl-slide.is-in.is-tucked { opacity: 0; transform: var(--nl-off); pointer-events: none; transition: var(--nl-go); }
.nl-slide > :not(.nl-slide-x) { opacity: 0; transform: translateY(12px); }
.nl-slide.is-shown > :not(.nl-slide-x) { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.7s var(--ease); }
.nl-slide.is-shown > .nl-slide-top { transition-delay: 0.2s; }
.nl-slide.is-shown > .nl-slide-h { transition-delay: 0.28s; }
.nl-slide.is-shown > .nl-slide-p { transition-delay: 0.36s; }
.nl-slide.is-shown > :nth-child(n+5) { transition-delay: 0.44s; }
.nl-slide.is-shown .nl-slide-ic { animation: nl-mail 0.9s var(--ease) 0.28s both; }
@keyframes nl-mail {
  0% { transform: scale(0.4) rotate(-18deg); }
  45% { transform: scale(1.1) rotate(9deg); }
  70% { transform: scale(0.97) rotate(-4deg); }
  100% { transform: none; }
}
.nl-slide-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 246, 234, 0.12); color: var(--cream); cursor: pointer; opacity: 0; transition: opacity 0.3s ease, background-color 0.2s, transform 0.3s var(--ease); }
.nl-slide.is-shown .nl-slide-x { opacity: 1; transition-delay: 0.55s, 0s, 0s; }
.nl-slide-x:hover { background: rgba(251, 246, 234, 0.22); transform: rotate(90deg); }
.nl-slide-x .ico { width: 18px; height: 18px; }
.nl-slide-top { display: flex; align-items: center; gap: 10px; margin-right: 40px; }
.nl-slide-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--butter); color: var(--ink); }
.nl-slide-ic .ico { width: 20px; height: 20px; }
.nl-slide-k { margin: 0; font: 600 0.875rem/1.3 var(--sans); color: var(--butter); }
.nl-slide-h { margin: 2px 40px 0 0; font: 580 1.25rem/1.2 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--cream); text-wrap: balance; }
.nl-slide-top + .nl-slide-h { margin-right: 0; }
.nl-slide-p { margin: 0; font-size: 0.9375rem; line-height: 1.45; opacity: 0.88; text-wrap: pretty; }
.nl-slide.is-shown > .nl-slide-p { opacity: 0.88; }
.nl-slide .nf-sent-h { font-size: 1.25rem; }
@media (max-width: 640px) {
  .nl-slide { --nl-off: translateY(calc(100% + 24px)); left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: auto; padding: 16px 16px 12px; grid-template-columns: 1fr; }
  .nl-slide-ic { display: none; }
  .nl-slide-h { font-size: 1.125rem; }
  .nl-slide-p { font-size: 0.875rem; }
}
/* Less motion: it fades in and out where it sits, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  .nl-slide, .nl-slide.is-in, .nl-slide.is-in.is-tucked { --nl-off: none; transition: opacity 0.2s ease; }
  .nl-slide > :not(.nl-slide-x), .nl-slide.is-shown > :not(.nl-slide-x) { transform: none; transition: none; }
  .nl-slide > :not(.nl-slide-x):not(.nl-slide-p), .nl-slide-x { opacity: 1; }
  .nl-slide > .nl-slide-p { opacity: 0.88; }
  .nl-slide-ic, .nl-slide.is-shown .nl-slide-ic { animation: none; }
  .nl-slide-x:hover { transform: none; }
}
/* Errors on the dark panels, readable on forest. */
:is(.au-nl, .nl-slide, .sf-mail) .err { color: #f4b9a4; }
:is(.au-nl, .nl-slide, .sf-mail) .input[aria-invalid="true"] { border-color: #f4b9a4; }
