/* A therapist's public one-page site (src/minisite-render.js). This file is what the ten themes share: the fonts, the accents, the reset, every part's plain shape, the enquiry form, and how motion is
   switched. A page links this file and its own theme's file (minisite-<theme>.css), nothing else.

   Colour: a theme's first rule ([data-theme=x] { ... }) holds its surfaces and inks as plain values or accent tokens,
   and test/minisite-render.test.js reads it to hold every pairing at WCAG AA for every accent: keep that shape.
   Motion: everything that moves is inside (prefers-reduced-motion: no-preference); what public/js/minisite-fx.js adds
   hangs on html.fx, which the script sets only when motion is welcome. Without the script the page is whole. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces Soft'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-soft-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces Soft'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-soft-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/bricolage-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Accents. --a carries white text; --a-deep is text on light surfaces; --a-soft a light surface; --a-lite text on
   dark surfaces; --a-field a bright surface that carries near-black text; --a-night a near-black of the accent's own
   hue that carries --a-lite and white; --a-2 a neighbouring hue, for gradients and ornaments only (never under text
   on its own). --a is the editor's swatch (ACCENT_COLORS). */
[data-accent=sage] { --a: #2f6b4f; --a-deep: #1d4a36; --a-soft: #e4efe8; --a-lite: #9ed6b8; --a-field: #b5e2c4; --a-night: #0c1a14; --a-2: #c9d98a; }
[data-accent=ocean] { --a: #0f6474; --a-deep: #0a4450; --a-soft: #e0eff2; --a-lite: #8fd3e0; --a-field: #a3dcea; --a-night: #07181d; --a-2: #a9c8f5; }
[data-accent=clay] { --a: #a3452a; --a-deep: #762e18; --a-soft: #f7e8e1; --a-lite: #f2b5a0; --a-field: #f6bfa5; --a-night: #1d0f0a; --a-2: #f3cf8e; }
[data-accent=plum] { --a: #7a3f78; --a-deep: #562a55; --a-soft: #f2e6f1; --a-lite: #dfb2de; --a-field: #e6bfe4; --a-night: #190d19; --a-2: #f4b8c4; }
[data-accent=ink] { --a: #2b4a7c; --a-deep: #1c3358; --a-soft: #e4ebf5; --a-lite: #a9c3ee; --a-field: #b9cdf0; --a-night: #0b1220; --a-2: #c3b8f2; }
[data-accent=honey] { --a: #855600; --a-deep: #5c3c00; --a-soft: #f7edd5; --a-lite: #efc869; --a-field: #f5cf6e; --a-night: #191204; --a-2: #f2b48a; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; color-scheme: light; interpolate-size: allow-keywords;
  --maxw: 1180px; --pad: clamp(20px, 4.5vw, 56px); --r: 22px; --rb: 999px; --err: #8c1d18; --input: #fff; --edge: var(--ink-2); --focus: var(--ink);
  --kick: var(--link); --under: var(--bg); --ff: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --fh: var(--ff);
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.3, 1.5, .5, 1); --gap: clamp(72px, 11vw, 150px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } @view-transition { navigation: auto; } }
.ms { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--ff); overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-optical-sizing: auto; }
.ms :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
.ms :where(ul, ol) { list-style: none; }
/* Long words (a German compound, an address, a link) wrap inside their box instead of leaving the screen: 'anywhere'
   also lets grid and flex boxes shrink below the longest word; headings and running text hyphenate first. */
.ms :where(h1, h2, h3) { font-family: var(--fh); line-height: 1.08; text-wrap: balance; hyphens: auto; }
.ms :where(.ms-prose, .ms-title, .ms-card > p, .ms-quals-list p, dd) { hyphens: auto; }
.ms :where(p) { text-wrap: pretty; }
.ms a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ms :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.ms ::selection { background: var(--btn); color: var(--btn-ink); }
.ms-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ms .ms-skip { position: absolute; left: 8px; top: -90px; z-index: 99; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); }
.ms .ms-skip:focus { top: 8px; }
.ms-i { width: 1.25em; height: 1.25em; flex: none; }
.ms-in { width: 100%; max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.ms-page { position: relative; z-index: 1; overflow-x: clip; }
.ms-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ms-bg i, .ms-figure > i { position: absolute; display: block; }
.ms-progress { display: none; }

/* The top line: the name, the page's own menu, the call to action. */
.ms-top { position: sticky; top: 0; z-index: 20; }
.ms-top .ms-in { display: flex; align-items: center; gap: 18px; min-height: 68px; padding-block: 10px; }
.ms-brand { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; font: 600 1rem/1.2 var(--fh); }
.ms-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-top nav { display: none; }
.ms-top ul { display: flex; gap: 4px; }
.ms .ms-top nav a { display: block; padding: 9px 13px; border-radius: var(--rb); color: inherit; font-size: .925rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s; }
.ms .ms-top nav a:hover, .ms .ms-top nav a.on { background: color-mix(in srgb, currentColor 9%, transparent); }
.ms .ms-top .ms-btn { display: none; }
@media (min-width: 560px) { .ms .ms-top .ms-btn { display: inline-flex; } }
@media (min-width: 1000px) { .ms-top nav { display: block; } }

/* Buttons. */
.ms .ms-btn, .ms-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border: 0; border-radius: var(--rb);
  background: var(--btn); color: var(--btn-ink); font: 600 1rem/1.2 var(--ff); letter-spacing: -.005em; text-decoration: none; text-align: center; cursor: pointer;
  translate: var(--tx, 0) var(--ty, 0); transition: translate .35s var(--ease), scale .25s var(--ease), background-color .25s, color .25s, box-shadow .3s; }
.ms .ms-btn:active, .ms-submit:active { scale: .97; }
.ms .ms-btn-2 { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.ms .ms-btn-s { min-height: 44px; padding: 10px 20px; font-size: .925rem; }
.ms .ms-top .ms-btn { flex: none; white-space: nowrap; }
.ms-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The first screen. */
.ms-hero { position: relative; }
.ms-hero-in { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(28px, 6vw, 88px); }
.ms-hero-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; justify-items: start; min-width: 0; }
.ms-hero-text > * { max-width: 100%; }
.ms-kicker { display: inline-flex; max-width: 100%; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--kick); font-size: .9rem; font-weight: 600; letter-spacing: .01em; }
/* The dot ends the profession, so a city that wraps starts its own line clean. */
.ms-kicker > span:has(+ .ms-kicker-city)::after { content: '·'; margin-left: 10px; opacity: .6; }
.ms h1 { font-size: clamp(2.75rem, 1.4rem + 6.2vw, 6rem); font-weight: 650; letter-spacing: -.035em; line-height: .98; hyphens: auto; }
.ms-title { max-width: 34ch; color: var(--ink-2); font-size: clamp(1.1rem, .95rem + .8vw, 1.45rem); line-height: 1.35; }
.ms-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-chips li { display: inline-flex; max-width: 100%; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: var(--rb); background: var(--chip, var(--tint)); color: var(--chip-ink, var(--ink)); font-size: .9rem; font-weight: 500; line-height: 1.3; }
.ms-figure { position: relative; order: -1; width: clamp(150px, 46vw, 230px); justify-self: start; }
.ms-portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--tint); }
.ms-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ms-mono { display: grid; place-items: center; background: linear-gradient(150deg, var(--a-field), var(--a-2)); color: #111; }
.ms-mono span { font: 600 clamp(4rem, 14vw, 8rem)/1 var(--fh); letter-spacing: -.04em; }
.ms-mono .ms-i { position: absolute; right: 8%; bottom: 7%; width: 34px; height: 34px; opacity: .7; }
.ms-stats { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.ms-stats li { display: flex; flex-direction: column-reverse; gap: 2px; }
.ms-stat-n { font: 600 clamp(2rem, 1.4rem + 2.4vw, 3.25rem)/1 var(--fh); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ms-stat-l { color: var(--ink-2); font-size: .85rem; font-weight: 500; }
.ms-band { overflow: hidden; }
.ms-band-run { display: flex; width: max-content; }
.ms-band ul { display: flex; flex: none; }
.ms-band li { display: flex; align-items: center; white-space: nowrap; }
@media (min-width: 900px) {
  .ms-hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .ms-figure { order: 0; width: min(100%, 440px); justify-self: center; }
  .ms-stats { grid-column: 1 / -1; }
}

/* The parts of the page. */
.ms-body { display: grid; gap: var(--gap); padding-block: var(--gap); }
.ms-sec { min-width: 0; }
.ms-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(24px, 4vw, 52px); }
.ms-num { color: var(--kick); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.ms h2 { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.4rem); font-weight: 620; letter-spacing: -.03em; }
.ms h3 { font-size: 1.2rem; font-weight: 620; letter-spacing: -.012em; line-height: 1.25; }
.ms-prose { max-width: 64ch; }
.ms-prose p + p { margin-top: 1.05em; }
.ms-about .ms-prose p:first-child { font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); line-height: 1.42; letter-spacing: -.012em; }
.ms-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.ms-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--card); }
.ms-card > p { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.ms-n { color: var(--kick); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.ms-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--link); }
.ms-card .ms-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: auto; padding-top: 14px; color: var(--ink); font-size: .95rem; font-weight: 600; }
.ms-time { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.ms-price { margin-left: auto; }
.ms-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.ms-dl > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--card); }
.ms-dl .ms-i { grid-row: span 2; width: 26px; height: 26px; margin-top: 2px; color: var(--link); }
.ms-dl dt { color: var(--ink-2); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ms-dl dd { font-weight: 500; line-height: 1.45; }
.ms-quals-list { display: grid; gap: 0; }
.ms-quals-list li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 6px 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.ms-quals-list li:last-child { border-bottom: 1px solid var(--line); }
.ms-year { color: var(--kick); font-weight: 600; font-variant-numeric: tabular-nums; }
.ms-year-none .ms-i { vertical-align: -4px; }
.ms-quals-list p { margin-top: 3px; color: var(--ink-2); font-size: .98rem; }
.ms-qa { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.ms-qa details { border-top: 1px solid var(--line); }
.ms-qa details:last-child { border-bottom: 1px solid var(--line); }
.ms-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; cursor: pointer; list-style: none; }
.ms-qa summary > h3 { min-width: 0; }
.ms-qa summary::-webkit-details-marker { display: none; }
.ms-qa summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat, var(--tint);
  transition: rotate .45s var(--ease), background-color .3s; }
.ms-qa details[open] summary::after { rotate: 135deg; }
.ms-qa .ms-prose { padding: 0 48px 24px 2px; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .ms-qa details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .5s var(--ease), opacity .4s, content-visibility .5s allow-discrete; }
    .ms-qa details[open]::details-content { block-size: auto; opacity: 1; }
  }
}
.ms-linklist { display: flex; flex-wrap: wrap; gap: 12px; }
.ms .ms-linklist a { display: inline-flex; max-width: 100%; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: var(--rb); background: var(--card); color: var(--ink); font-weight: 500; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s, color .25s; }
.ms-linklist .ms-i { transition: translate .3s var(--ease); }
.ms-linklist a:hover .ms-i { translate: 4px 0; }

/* The bar that follows a phone's screen until the form arrives. */
.ms-bar { position: sticky; bottom: 0; z-index: 15; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bar, var(--bg)); box-shadow: 0 -1px 0 var(--line); }
.ms-bar .ms-btn { flex: 1; min-height: 50px; padding-inline: 14px; }
@media (min-width: 720px) { .ms-bar { display: none; } }

/* The way to the therapist: the words on one side, the form on the other. */
.ms-contact { position: relative; background: var(--panel); color: var(--panel-ink); }
.ms-contact-in { display: grid; gap: clamp(28px, 5vw, 72px); padding-block: var(--gap); }
.ms-contact-text { display: grid; gap: 20px; align-content: start; justify-items: start; }
.ms-contact-text > p { max-width: 44ch; font-size: 1.1rem; }
.ms-contact .ms-chips li { background: color-mix(in srgb, var(--panel-ink) 10%, transparent); color: inherit; }
.ms-contact .ms-btn { background: var(--pbtn, var(--btn)); color: var(--pbtn-ink, var(--btn-ink)); }
.ms-book { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ms-urgent { font-size: .92rem; opacity: .92; }
.ms-formbox { padding: clamp(22px, 3.5vw, 44px); border-radius: calc(var(--r) + 6px); background: var(--card); color: var(--ink); }
.ms-form { display: grid; gap: 20px; }
.ms-field { display: grid; gap: 7px; }
.ms-field label { font-size: .92rem; font-weight: 600; }
.ms-optional, .ms-hint { color: var(--ink-2); font-size: .86rem; font-weight: 400; }
.ms-field input, .ms-field textarea { width: 100%; min-height: 54px; padding: 15px 16px; border: 1px solid var(--edge); border-radius: 14px; background: var(--input); color: var(--ink); font: inherit; line-height: 1.4;
  transition: border-color .2s, box-shadow .25s, background-color .2s; }
.ms-field textarea { min-height: 132px; resize: vertical; }
.ms-field input:hover, .ms-field textarea:hover { border-color: var(--ink); }
.ms .ms-field input:focus-visible, .ms .ms-field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); border-radius: 14px; }
.ms-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); font-size: .92rem; line-height: 1.5; cursor: pointer; }
.ms-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--check, var(--btn)); cursor: pointer; }
.ms-submit { width: 100%; min-height: 56px; background: var(--btn); color: var(--btn-ink); }
.ms-error { padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--err) 8%, var(--card)); color: var(--err); font-weight: 600; box-shadow: inset 3px 0 0 var(--err); }
.ms-thanks { display: grid; gap: 14px; padding: 12px 0; font: 500 clamp(1.2rem, 1rem + 1vw, 1.5rem)/1.4 var(--fh); letter-spacing: -.01em; }
.ms-thanks::before { content: ''; width: 20px; height: 38px; margin: 0 0 8px 12px; border: solid var(--ok, var(--link)); border-width: 0 4px 4px 0; rotate: 40deg; }
@media (min-width: 900px) { .ms-contact-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } .ms-contact-text { position: sticky; top: 110px; } }

/* The last lines. */
.ms-foot { background: var(--foot, var(--panel)); color: var(--foot-ink, var(--panel-ink)); font-size: .88rem; }
.ms-foot .ms-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 26px calc(26px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 color-mix(in srgb, currentColor 16%, transparent); }
.ms .ms-foot a { color: inherit; }
.ms-report { flex-basis: 100%; font-size: .8rem; opacity: .75; }

/* Motion. The first screen arrives by itself; what is further down arrives as it is reached (the script marks what
   starts below the screen with .rv and what has been reached with .in); the line at the top follows the reading. */
@keyframes ms-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes ms-fade { from { opacity: 0; } }
@keyframes ms-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ms-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .ms-hero-text > * { animation: ms-rise .9s var(--ease) both; }
  .ms-hero-text > :nth-child(2) { animation-delay: .07s; }
  .ms-hero-text > :nth-child(3) { animation-delay: .14s; }
  .ms-hero-text > :nth-child(4) { animation-delay: .21s; }
  .ms-hero-text > :nth-child(5) { animation-delay: .28s; }
  .ms-figure { animation: ms-fade 1.1s .1s both; }
  .ms-stats { animation: ms-rise .9s .35s var(--ease) both; }
  .ms-band-run { animation: ms-run 38s linear infinite; }
  .fx .rv:not(.in) { opacity: 0; transform: translateY(30px); }
  .fx .rv, .fx .in { transition: opacity .8s var(--ease) calc(var(--i, 0) * 80ms), transform .95s var(--ease) calc(var(--i, 0) * 80ms), clip-path 1s var(--ease) calc(var(--i, 0) * 80ms), filter .8s calc(var(--i, 0) * 80ms); }
  .fx .rv.in { opacity: 1; transform: none; }
  /* The phone's bar arrives once the first screen's own buttons have gone up past the top, so the two never sit together. */
  @keyframes ms-bar-in { from { translate: 0 100%; visibility: hidden; } to { translate: 0 0; visibility: visible; } }
  @supports (animation-timeline: view()) and (timeline-scope: --a) {
    .ms-flow { timeline-scope: --ms-cta; }
    .ms-hero .ms-actions { view-timeline: --ms-cta; }
    .ms-bar { animation: ms-bar-in linear both; animation-timeline: --ms-cta; animation-range: exit 40% exit 100%; }
  }
  @supports (animation-timeline: scroll()) {
    .ms-progress { display: block; position: fixed; inset: 0 0 auto; z-index: 40; height: 3px; background: var(--prog, var(--btn)); transform-origin: 0 50%; animation: ms-grow linear both; animation-timeline: scroll(root); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .ms *, .ms *::before, .ms *::after { animation: none !important; transition: none !important; }
}
@media print { .ms-bar, .ms-bg, .ms-progress, .ms-band, .ms-top nav, .ms-top .ms-btn { display: none !important; } }
