/* NTTS components (project/DESIGN_EXTENSION_WEBSITE.md §4). Tokens only: no literal colours,
   shadows, radii or z-index values. */

/* ---------- header: brand pinned to the exact centre ---------- */
.hdr { position: sticky; top: 0; z-index: var(--z-sticky); height: var(--hdr-h); color: var(--ink); background: transparent; border-bottom: 1px solid transparent; transition: background var(--dur-slow) var(--ease-out), color var(--dur-slow) var(--ease-out), border-color var(--dur-slow), transform var(--dur-slow) var(--ease-out); }
.hdr.is-overlay { color: var(--on-night); }
.hdr.is-solid, .hdr.is-overlay:hover, .hdr.is-overlay:focus-within, .hdr.has-open { background: var(--surface); color: var(--ink); border-bottom-color: var(--line); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr-row { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-decoration: none; display: grid; justify-items: center; gap: var(--sp-1); white-space: nowrap; }
.brand-word { font: 700 24px/1 var(--font); letter-spacing: .1em; }
.brand-sub { font: 500 9.5px/1 var(--font); letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.side { display: flex; align-items: center; gap: 2px; max-width: calc(50% - var(--brand-half) - var(--sp-4)); }
.nav-link { white-space: nowrap; border: 0; background: none; cursor: pointer; text-decoration: none; padding: 10px; font: 500 var(--fs-label)/1 var(--font); letter-spacing: var(--label-track); text-transform: uppercase; position: relative; display: inline-flex; align-items: center; gap: var(--sp-2); }
.nav-link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: var(--sp-1); height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.nav-link:hover::after, .nav-link[aria-expanded="true"]::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link.icon-only::after { display: none; }
.nav-link svg { width: 17px; height: 17px; }
.menu-btn { display: none; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; padding: 10px var(--sp-1); min-height: 44px; font: 500 var(--fs-label)/1 var(--font); letter-spacing: var(--label-track); text-transform: uppercase; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1180px) {
  .side .collapse { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 600px) {
  .menu-txt { display: none; }
  .brand-word { font-size: 19px; }
  .brand-sub { font-size: 8px; letter-spacing: .14em; }
}

/* mega panels */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: var(--sh-md); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-in { display: grid; grid-template-columns: 1fr 1fr 360px; gap: 56px; padding-block: 44px 52px; }
.mega h2 { font-size: 30px; }
.mega .intro { margin-top: var(--sp-3); color: var(--ink-2); max-width: 32ch; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-1); align-content: start; }
.mega li a { display: block; padding: var(--sp-3) 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.mega li a b { display: block; font: 500 17px/1.3 var(--font); }
.mega li a span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.mega li a:hover b, .mega li a:focus-visible b { text-decoration: underline; text-underline-offset: 4px; }
.mega .art { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }

/* ---------- buttons and links ---------- */
.btn { --b-bg: var(--ink); --b-fg: var(--on-night); --b-bd: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: var(--r-sm); border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font: 500 var(--fs-btn)/1 var(--font); letter-spacing: var(--label-track); text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base), transform var(--dur-fast) var(--ease-out); }
.btn:hover { --b-bg: var(--accent); --b-bd: var(--accent); }
.btn:active { transform: scale(.985); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn-ghost:hover { --b-bg: var(--ink); --b-fg: var(--on-night); --b-bd: var(--ink); }
.on-dark .btn { --b-bg: var(--on-night); --b-fg: var(--ink); --b-bd: var(--on-night); }
.on-dark .btn:hover { --b-bg: transparent; --b-fg: var(--on-night); }
.on-dark .btn-ghost { --b-bg: transparent; --b-fg: var(--on-night); --b-bd: var(--on-night-ghost); }
.on-dark .btn-ghost:hover { --b-bg: var(--on-night); --b-fg: var(--ink); --b-bd: var(--on-night); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .spin { width: 15px; height: 15px; border-radius: var(--r-round); border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn svg { width: 16px; height: 16px; }
.tlink { display: inline-flex; align-items: center; gap: 10px; font: 500 var(--fs-btn)/1 var(--font); letter-spacing: var(--label-track); text-transform: uppercase; text-decoration: none; color: inherit; padding: 0 0 6px; border: 0; cursor: pointer; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat transparent; transition: background-size var(--dur-slow) var(--ease-out); }
.tlink:hover { background-size: 30% 1px; }

/* next-step link: one home per topic; elsewhere a short question and a link onward */
.hop { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: var(--sp-2) var(--sp-4); text-align: center; }
.hop p { color: var(--ink-2); font-size: var(--fs-body); }
.hop.left { justify-content: flex-start; text-align: left; margin-top: var(--sp-1); }
.on-dark .hop p { color: var(--on-night-2); }

/* ---------- art slots and the no-art fallback ---------- */
.art { position: relative; margin: 0; overflow: hidden; background: var(--mist); max-width: 100%; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art .fb { position: absolute; inset: 0; }
.art--light .fb { background: radial-gradient(60% 70% at 70% 30%, var(--art-light-1) 0%, var(--mist) 60%, var(--art-light-3) 100%); }
.art--light .fb::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: var(--r-round); left: 18%; bottom: 14%; border: 1px solid var(--art-ring); }
.art--dark { background: var(--night-2); }
.art--dark .fb { background: radial-gradient(55% 65% at 72% 28%, var(--night-3) 0%, var(--night-2) 55%, var(--night) 100%); }
.art--dark .fb::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; border-radius: var(--r-round); right: 8%; top: 12%; border: 1px solid var(--art-ring-dark); }
.art:has(img) .fb { display: none; }
.art--tile { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }

/* ---------- hero: full-bleed image, text overlay ---------- */
/* The hero fits the visible screen (owner, 2026-10-22): it is exactly one screen tall, capped at 1000px,
   and only grows if a very short screen cannot hold its text. Type and spacing scale with screen height. */
.hero { position: relative; margin-top: calc(-1 * var(--hdr-h)); min-height: min(100svh, 1000px); color: var(--on-night); display: grid; align-items: end; }
.hero--page { min-height: min(78svh, 820px); }
.hero > .art { position: absolute; inset: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--scrim-strong) 0%, var(--scrim-soft) 42%, var(--scrim-none) 62%), linear-gradient(to bottom, var(--scrim-top), var(--scrim-none) 22%); pointer-events: none; }
.hero-in { position: relative; z-index: var(--z-raised); text-align: center; padding-block: calc(var(--hdr-h) + clamp(16px, 4svh, 40px)) clamp(32px, 7svh, 72px); display: grid; justify-items: center; transition: padding var(--dur-slow) var(--ease-out); }
.hero h1 { font-size: min(var(--fs-h1), 11svh); color: var(--on-night); max-width: 14ch; }
.hero--page h1 { font-size: min(var(--fs-h1-page), 8.5svh); max-width: 16ch; }
.hero .kicker { color: var(--on-night-2); margin-bottom: 18px; }
.hero .people { margin-top: 22px; color: var(--on-night); }
.hero .sub { margin-top: 20px; max-width: 54ch; color: var(--on-night-2); font-size: var(--fs-lead); }
.hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: clamp(18px, 4svh, 34px); }
.hero .hours { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--on-night-2); }
@media (max-width: 1100px) { .consent-open .hero-in { padding-bottom: 150px; } }
@media (max-width: 600px) {
  .hero, .hero--page { min-height: min(100svh, 760px); }
  .hero-in { padding-bottom: 40px; }
  .hero .ctas { width: 100%; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .hero .ctas .call { order: -1; }
  .hero .sub { font-size: var(--fs-body); }
}

/* ---------- page intro (pages without a hero image) ---------- */
.page-intro { padding-block: 120px 96px; text-align: center; }
.page-intro .kicker { color: var(--ink-3); margin-bottom: 22px; }
.page-intro h1 { font-size: clamp(40px, 5.6vw, 80px); max-width: 15ch; margin-inline: auto; }
.page-intro p.lead { margin: 26px auto 0; max-width: 58ch; color: var(--ink-2); font-size: var(--fs-lead); }
.page-intro .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: 38px; }
.page-intro .hours { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-3); }
@media (max-width: 600px) { .page-intro { padding-block: 72px 64px; } .page-intro .ctas .btn { flex: 1 1 100%; } }

/* ---------- sections ---------- */
.sec { padding-top: var(--sp-10); }
.sec-title { text-align: center; }
.sec-title h2 { font-size: var(--fs-h2); }
.sec-title p { margin: 18px auto 0; max-width: 56ch; color: var(--ink-2); font-size: var(--fs-lead); }
.statement { padding-block: var(--sp-10) var(--sp-9); text-align: center; }
.statement p.big { font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: var(--fs-statement); line-height: 1.18; text-wrap: balance; }
.statement p.small { margin: 26px auto 0; max-width: 54ch; color: var(--ink-2); font-size: var(--fs-lead); }
@media (max-width: 760px) { .statement { padding-block: 80px 64px; } .sec { padding-top: var(--sp-9); } }

/* tiles: whole-tile links */
.tiles3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile { position: relative; display: grid; gap: 18px; text-align: center; }
.tile .clip { border-radius: var(--r-lg); overflow: hidden; }
.tile .art { transition: transform var(--dur-slow) var(--ease-out); }
.tile h3 { font-size: var(--fs-h3); }
.tile h3 a { text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile h3 a:focus-visible { outline: none; }
.tile:has(a:focus-visible) .clip { outline: 2px solid var(--accent); outline-offset: var(--sp-1); }
.tile p { color: var(--ink-2); font-size: 16px; max-width: 34ch; margin-inline: auto; }
.tile .label { justify-self: center; padding-bottom: 5px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size var(--dur-slow) var(--ease-out); }
@media (hover: hover) { .tile:hover .art { transform: scale(1.035); } .tile:hover .label { background-size: 30% 1px; } }
@media (max-width: 860px) { .tiles3 { grid-template-columns: 1fr; gap: var(--sp-7); } }

/* split: half-bleed art and text */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; margin-top: var(--sp-10); }
.split > .art { min-height: 520px; }
.split-txt { display: grid; align-content: center; gap: 44px; padding: 80px clamp(28px, 6vw, 96px); background: var(--surface); }
.split-txt h2 { font-size: var(--fs-h2); }
.pair { display: grid; gap: var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.pair .label { color: var(--accent); }
.pair p { color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; min-height: 0; margin-top: var(--sp-9); } .split > .art { min-height: 0; aspect-ratio: 4 / 5; } .split-txt { padding: 56px 20px; gap: var(--sp-6); } }

/* service rows: whole-row links */
.svc-list { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sp-8); border-top: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.svc-row h3 { font-size: var(--fs-h4); }
.svc-row h3 a { text-decoration: none; }
.svc-row h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-row h3 a:focus-visible { outline: none; }
.svc-row:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.svc-row p { grid-column: 1; color: var(--ink-2); font-size: 16px; }
.svc-row .arr { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 22px; height: 22px; transition: transform var(--dur-base) var(--ease-out); }
.svc-row:hover .arr { transform: translateX(5px); }
.svc-row:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
@media (max-width: 860px) { .svc-list { grid-template-columns: 1fr; } }

/* full-bleed band with overlay */
.band { position: relative; margin-top: var(--sp-10); min-height: 640px; display: grid; align-items: end; color: var(--on-night); }
.band > .art { position: absolute; inset: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--scrim-strong), var(--scrim-none) 60%); pointer-events: none; }
.band-in { position: relative; z-index: var(--z-raised); padding-block: 0 80px; max-width: 900px; }
.band .kicker { color: var(--on-night-2); margin-bottom: 18px; }
.band blockquote, .band .bq { margin: 0; font-weight: 500; letter-spacing: -.02em; font-size: clamp(28px, 3.3vw, 44px); line-height: 1.2; }
.band .sig { margin-top: 26px; color: var(--on-night-2); }
.band .tlink { margin-top: 28px; }
@media (max-width: 760px) { .band { min-height: 560px; } .band-in { padding-bottom: var(--sp-7); } }

/* steps that are a true sequence */
.journey { list-style: none; padding: 0; margin: var(--sp-8) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
.motion-ok .journey:not(.is-in)::before { transform: scaleX(0); }
.journey.is-in::before { transition: transform 1.2s var(--ease-out) .1s; }
.step { padding-top: 28px; }
.step .n { font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.step h3 { margin-top: 18px; font: 600 18px/1.35 var(--font); letter-spacing: -.01em; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr 1fr; row-gap: var(--sp-7); } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }

/* tinted band (plans teaser) */
.mist-band { margin-top: var(--sp-10); background: var(--mist); padding-block: var(--sp-9); text-align: center; }
.mist-band h2 { font-size: var(--fs-h2); }
.mist-band p { margin: 20px auto 0; max-width: 54ch; color: var(--ink-2); font-size: var(--fs-lead); }
.ctas-c { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; align-items: center; margin-top: 40px; }

/* full-bleed image with a floating card */
.where { position: relative; min-height: 600px; display: grid; align-items: end; }
.where > .art { position: absolute; inset: 0; }
.where-card { position: relative; z-index: var(--z-raised); margin: 0 0 var(--sp-7) var(--sp-7); max-width: 520px; padding: 40px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.where-card h2 { font-size: clamp(28px, 3vw, 40px); }
.where-card p { margin-top: var(--sp-4); color: var(--ink-2); }
@media (max-width: 760px) { .where { min-height: 0; display: block; } .where > .art { position: relative; aspect-ratio: 4 / 3; } .where-card { margin: -40px var(--sp-4) 0; padding: 28px 22px; } }

/* questions */
.qa { margin-top: var(--sp-7); border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: var(--sp-5) 0; font: 400 19px/1.4 var(--font); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { width: 16px; height: 16px; flex: none; transition: transform var(--dur-slow) var(--ease-out); }
.qa details[open] summary .pm { transform: rotate(45deg); }
.qa .ans { padding: 0 40px 26px 0; color: var(--ink-2); }
.qa details[open] .ans { animation: fadeUp var(--dur-slow) var(--ease-out); }

/* closing band */
.final { margin-top: var(--sp-10); background: var(--night); color: var(--on-night); text-align: center; padding-block: var(--sp-10); }
.final h2 { font-size: var(--fs-h2); color: var(--on-night); }
.final p { margin: 20px auto 0; max-width: 52ch; color: var(--on-night-2); font-size: var(--fs-lead); }
.final .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: 40px; }
.final .client { margin-top: 26px; font-size: var(--fs-sm); }
.final .client a { color: var(--on-night); }

/* service page parts */
.symptoms { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sp-8); border-top: 1px solid var(--line); }
.symptoms li { padding: 26px 0; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.45; display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.symptoms li::before { content: ""; width: 18px; height: 1px; background: var(--ink); margin-top: 14px; }
@media (max-width: 860px) { .symptoms { grid-template-columns: 1fr; } .symptoms li { font-size: var(--fs-body); } }
.does { margin-top: var(--sp-8); border-top: 1px solid var(--line); }
.does-row { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--sp-7); padding-block: 36px; border-bottom: 1px solid var(--line); }
.does-row h3 { font-size: var(--fs-h3); }
.does-row p { color: var(--ink-2); }
.does-row .note { display: block; margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-3); }
@media (max-width: 760px) { .does-row { grid-template-columns: 1fr; gap: 10px; padding-block: 26px; } }
.help3 { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.help { padding: var(--sp-6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: var(--sp-3); align-content: start; }
.help .label { color: var(--accent); }
.help b { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.02em; }
.help p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .help3 { grid-template-columns: 1fr; } }

/* plans page parts */
.how4 { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how4 > div { padding: var(--sp-6) 28px 36px; border-left: 1px solid var(--line); display: grid; gap: var(--sp-3); align-content: start; }
.how4 > div:first-child { border-left: 0; padding-left: 0; }
.how4 b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.how4 p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .how4 { grid-template-columns: 1fr 1fr; } .how4 > div:nth-child(3) { border-left: 0; padding-left: 0; } .how4 > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .how4 { grid-template-columns: 1fr; } .how4 > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .how4 > div:first-child { border-top: 0; } }
.why-line { margin-top: 40px; text-align: center; color: var(--ink-2); font-size: var(--fs-lead); }
.plans4 { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.plan { padding: var(--sp-6) 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); display: grid; gap: var(--sp-4); align-content: start; }
.plan .label { color: var(--accent); }
.plan h3 { font-size: 34px; }
.plan .for { color: var(--ink-2); font-size: 16px; min-height: 5.2em; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15.5px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 11px; height: 1px; background: var(--ink); }
.plan li.inh { color: var(--ink-3); }
@media (max-width: 1100px) { .plans4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans4 { grid-template-columns: 1fr; } .plan .for { min-height: 0; } }
.compare { margin-top: 40px; }
.compare > summary { list-style: none; cursor: pointer; display: flex; justify-content: center; }
.compare > summary::-webkit-details-marker { display: none; }
.compare .scroller { margin-top: var(--sp-6); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 600 12px/1.2 var(--font); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--ink-3); background: var(--mist); }
.compare tbody th { font-weight: 500; width: 30%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.mark { display: inline-flex; align-items: center; gap: var(--sp-2); }
.mark i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: var(--r-round); flex: none; }
.mark.in i { background: var(--ink); color: var(--on-night); }
.mark.in i svg { width: 10px; height: 10px; }
.mark.add { color: var(--ink-3); }
.mark.add i { border: 1px solid var(--ink-3); }
.plain-note { margin-top: var(--sp-8); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plain-note > div { padding: var(--sp-6); border-radius: var(--r-lg); background: var(--mist); display: grid; gap: var(--sp-3); }
.plain-note b { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.02em; }
.plain-note p { color: var(--ink-2); }
@media (max-width: 760px) { .plain-note { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { margin-top: var(--sp-10); background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--on-night-rule); padding-block: 72px 40px; font-size: var(--fs-sm); }
.final + .ftr, .final ~ .ftr, main:has(> .final:last-child) + .ftr { margin-top: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--sp-6); }
.ftr h2 { margin: 0 0 18px; color: var(--on-night); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; }
.ftr .brand-word { color: var(--on-night); font-size: 22px; display: block; }
.ftr .brand-sub { display: block; margin-top: var(--sp-2); }
.ftr .contact p { margin-top: 22px; }
.ftr .contact b { display: block; color: var(--on-night); font-weight: 500; font-size: 18px; letter-spacing: .02em; }
.ftr .base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--on-night-rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); font-size: 13px; }
.ftr .base button { border: 0; background: none; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.ftr .base button:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr .contact { grid-column: 1 / -1; } }

/* ---------- mobile call bar ---------- */
.callbar { position: fixed; z-index: var(--z-callbar); left: 0; right: 0; bottom: 0; padding: 10px var(--sp-4) calc(10px + env(safe-area-inset-bottom, 0px)); display: none; gap: 10px; background: var(--surface-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform var(--dur-slow) var(--ease-out); }
.callbar .btn { flex: 1; min-height: 46px; padding: 0 10px; }
.callbar.is-on { transform: none; }
@media (max-width: 760px) { .callbar { display: flex; } }

/* ---------- full-screen menu ---------- */
.sheet { position: fixed; z-index: var(--z-sheet); inset: 0; background: var(--surface); transform: translateY(-2%); opacity: 0; visibility: hidden; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); display: flex; flex-direction: column; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--sp-5) calc(18px + env(safe-area-inset-bottom, 0px)); }
.sheet.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.sheet-top { position: relative; height: 56px; display: flex; align-items: center; }
.sheet-top .menu-btn { display: inline-flex; }
.sheet-nav { flex: 1; overflow-y: auto; margin-top: 28px; }
.sheet-nav details, .sheet-nav > a { display: block; border-bottom: 1px solid var(--line); }
.sheet-nav summary, .sheet-nav > a { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.sheet-nav summary::-webkit-details-marker { display: none; }
.sheet-nav .chev { width: 14px; height: 14px; transition: transform var(--dur-base); }
.sheet-nav details[open] .chev { transform: rotate(180deg); }
.sheet-nav details > div { padding-bottom: 14px; display: grid; }
.sheet-nav details a { padding: 9px 0; text-decoration: none; }
.sheet-nav details a b { display: block; font-weight: 500; }
.sheet-nav details a span { display: block; font-size: 14px; color: var(--ink-3); }
.sheet-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 18px; }
.sheet-foot .tlink { grid-column: 1 / -1; justify-self: center; margin-top: var(--sp-2); }

/* ---------- privacy choices (UI; behaviour wired in P7) ---------- */
.consent { position: fixed; z-index: var(--z-consent); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 18px; width: min(440px, calc(100vw - 36px)); padding: 22px var(--sp-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); display: grid; gap: var(--sp-4); overflow: hidden; transition: width var(--dur-slow) var(--ease-in-out), padding var(--dur-slow) var(--ease-in-out), border-radius var(--dur-slow) var(--ease-in-out), transform var(--dur-fast); }
.consent[hidden] { display: none; }
.consent p { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }
.consent .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent .row .btn { min-height: 44px; padding: 0 var(--sp-3); }
.consent .details { justify-self: start; }
.consent .icon { display: none; }
.consent.is-icon { width: 50px; height: 50px; padding: 0; border-radius: var(--r-round); place-items: center; }
.consent.is-icon > :not(.icon) { display: none; }
.consent.is-icon .icon { display: grid; place-items: center; width: 50px; height: 50px; border: 0; background: none; cursor: pointer; }
.consent.is-icon .icon svg { width: 24px; height: 24px; }
.consent.is-icon:hover { transform: scale(1.06); }
@media (max-width: 1100px) {
  .consent:not(.is-icon) { left: 0; width: 100%; bottom: 0; border-radius: var(--r-lg) var(--r-lg) var(--r-0) var(--r-0); padding: var(--sp-4) 20px calc(var(--sp-4) + env(safe-area-inset-bottom, 0px)); gap: var(--sp-3); }
  .consent.is-icon { left: var(--sp-4); bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px)); }
  .callbar-on .consent.is-icon { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- full-screen dialog shell (the inquiry flow fills it in P6) ---------- */
.dialog { position: fixed; z-index: var(--z-dialog); inset: 0; background: var(--surface); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
.dialog.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ---------- component specimen page ---------- */
.spec { padding-block: var(--sp-9) 0; }
.spec h1 { font-size: clamp(38px, 5vw, 68px); }
.spec .intro { margin-top: 14px; color: var(--ink-2); max-width: 72ch; font-size: var(--fs-lead); }
.spec-sec { padding-block: 56px; border-bottom: 1px solid var(--line); }
.spec-sec h2 { font-size: clamp(26px, 3vw, 38px); }
.spec-sec .why { margin-top: 10px; color: var(--ink-2); max-width: 72ch; }
.spec-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; align-items: center; }
.spec-row figure { margin: 0; display: grid; gap: 10px; justify-items: start; font-size: 13.5px; color: var(--ink-3); }
.spec-grid { display: grid; gap: var(--sp-4); margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.spec-sw { border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.spec-sw i { display: block; height: 72px; }
.spec-sw div { padding: 10px 14px; font-size: 14px; }
.sw-ink { background: var(--ink); } .sw-night { background: var(--night); } .sw-accent { background: var(--accent); } .sw-mist { background: var(--mist); } .sw-canvas { background: var(--canvas); } .sw-line { background: var(--line); }
.spec-type { display: grid; gap: 20px; margin-top: 28px; }
.spec-type .r { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; align-items: baseline; }
.spec-type code, .spec code { font: 500 12.5px/1.4 var(--font-mono); color: var(--ink-3); }
.t-h1 { font-size: var(--fs-h1); } .t-h2 { font-size: var(--fs-h2); } .t-h3 { font-size: var(--fs-h3); } .t-lead { font-size: var(--fs-lead); color: var(--ink-2); }
@media (max-width: 760px) { .spec-type .r { grid-template-columns: 1fr; gap: var(--sp-1); } }
.state-hover { --b-bg: var(--accent); --b-bd: var(--accent); }
.state-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.state-pressed { transform: scale(.985); }

/* ---------- launch-page parts (P4, P5) ---------- */
.tiles3.tiles2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
@media (max-width: 860px) { .tiles3.tiles2 { grid-template-columns: 1fr; } }
.help3.help4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .help3.help4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .help3.help4 { grid-template-columns: 1fr; } }
.does-row h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; padding-bottom: 3px; }
.does-row h3 a:hover { background-size: 30% 1px; }
.does-row p a, .lead a, .fine a, .prose a { color: inherit; text-underline-offset: 3px; }
.where-card p + p { margin-top: var(--sp-3); }
.where-card p b { color: var(--ink); font-weight: 600; }

/* two ways in (contact, client support) */
.ways > div { align-content: start; }
.ways .label { color: var(--accent); }
.ways .btn { justify-self: start; margin-top: var(--sp-2); }
.ways b { font-size: var(--fs-h3); }
.fine { margin-top: var(--sp-6); text-align: center; color: var(--ink-3); font-size: var(--fs-sm); }

/* lists with a short rule marker */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: var(--fs-lead); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .8em; width: 18px; height: 1px; background: var(--ink); }
.ticks-c { margin-top: var(--sp-6); justify-items: center; }
.ticks-c li { padding-left: 0; }
.ticks-c li::before { display: none; }

/* founders' letter */
.letter { max-width: 64ch; margin-inline: auto; }
.letter h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-6); }
.letter p { font-size: var(--fs-lead); line-height: 1.7; color: var(--ink-2); }
.letter p + p { margin-top: var(--sp-4); }
.founders { margin-top: var(--sp-8); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.founder { margin: 0; display: grid; gap: var(--sp-3); }
.art--portrait { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.founder figcaption b { display: block; font-weight: 600; }
.founder figcaption span { color: var(--ink-3); font-size: var(--fs-sm); }

/* long-form text (accessibility, legal) */
.prose { max-width: 70ch; margin-inline: auto; padding-bottom: var(--sp-9); }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--sp-8); scroll-margin-top: calc(var(--hdr-h) + var(--sp-4)); }
.prose h2 + p, .prose h2 + ul { margin-top: var(--sp-4); }
.prose ul { padding-left: 1.2em; display: grid; gap: var(--sp-2); }
.prose b { color: var(--ink); font-weight: 600; }
.legal { font-size: 16px; }
.plain-note > div { min-width: 0; }
.ways p, .does-row p { overflow-wrap: anywhere; }
/* the side navigation collapses into the menu sheet, so its panels never open here */
@media (max-width: 1180px) { .mega { display: none; } }
.prose { overflow-wrap: anywhere; }

/* ---------- guided inquiry flow (P6; design extension §4, §11) ---------- */
.flow { position: fixed; z-index: var(--z-dialog); inset: 0; background: var(--surface); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
.flow.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.flow-top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: env(safe-area-inset-top, 0px) var(--sp-5) 0; }
.flow-top .brand { color: var(--ink); }
.flow-back, .flow-x { border: 0; background: none; cursor: pointer; display: inline-flex; gap: var(--sp-2); align-items: center; padding: 10px 0; min-height: 44px; color: var(--ink); }
.flow-x { margin-left: auto; }
.flow-back[hidden] { display: none; }
.flow-back svg, .flow-x svg { width: 18px; height: 18px; }
.flow-meta { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--sp-5) 10px; color: var(--ink-3); min-height: 22px; }
.flow-bar { height: 1px; background: var(--line); }
.flow-bar i { display: block; height: 2px; margin-top: -.5px; width: 0; background: var(--ink); transition: width var(--dur-slow) var(--ease-out); }
.flow-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 64px 20px 48px; }
.flow-stage { width: min(780px, 100%); margin-inline: auto; position: relative; }
.flow-step { text-align: center; }
.flow-step.enter-f { animation: slideInF var(--dur-slow) var(--ease-out); }
.flow-step.enter-b { animation: slideInB var(--dur-slow) var(--ease-out); }
@keyframes slideInF { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes slideInB { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.flow-step h2 { font-size: clamp(30px, 4.2vw, 50px); outline: none; }
.flow-step .help-line { margin: 14px auto 0; max-width: 56ch; color: var(--ink-2); }
.echo { margin: 0 auto 26px; min-height: 24px; color: var(--accent); font-size: 15px; }
.forks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: 44px; text-align: left; }
.fork { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); cursor: pointer; display: grid; gap: 10px; font: inherit; text-align: left; transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-fast) var(--ease-out); }
.fork:hover { border-color: var(--ink); box-shadow: var(--sh-md); }
.fork:active { transform: scale(.985); }
.fork b { font: 600 19px/1.35 var(--font); letter-spacing: -.01em; }
.fork span { color: var(--ink-3); font-size: 15px; }
.fork svg { width: 26px; height: 26px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--sp-3); margin-top: 40px; text-align: left; }
.opts.sm { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.opt { position: relative; padding: 20px; min-height: 108px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font: inherit; text-align: left; cursor: pointer; display: grid; align-content: space-between; gap: var(--sp-4); transition: border-color var(--dur-fast), background var(--dur-base), transform var(--dur-fast) var(--ease-out); }
.opts.sm .opt { min-height: 72px; align-content: center; text-align: center; }
.opt:hover { border-color: var(--ink); }
.opt:active { transform: scale(.985); }
.opt svg.ico { width: 26px; height: 26px; }
.opt b { font: 500 16.5px/1.3 var(--font); }
.opt .chk { position: absolute; top: var(--sp-3); right: var(--sp-3); width: 22px; height: 22px; border-radius: var(--r-round); background: var(--ink); color: var(--on-night); display: grid; place-items: center; transform: scale(0); transition: transform var(--dur-base) var(--ease-out); }
.opt .chk svg { width: 13px; height: 13px; }
.opt[aria-checked="true"] { border-color: var(--ink); background: var(--mist); }
.opt[aria-checked="true"] .chk { transform: scale(1); }
.step-note { margin: 22px auto 0; max-width: 60ch; padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); color: var(--ink); font-size: 15.5px; text-align: left; animation: fadeUp var(--dur-slow) var(--ease-out); }
.step-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: 34px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px var(--sp-4); margin-top: 40px; text-align: left; }
.fields.one { margin-top: var(--sp-5); grid-template-columns: 1fr; }
.fields .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .lbl { font-weight: 500; font-size: var(--fs-sm); }
.field .opt-l { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: var(--sp-3) 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); font: 400 16px/1.4 var(--font); color: var(--ink); transition: border-color var(--dur-fast), box-shadow var(--dur-base); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: var(--ring); }
.field.is-err input, .field.is-err textarea { border-color: var(--err); background: var(--err-bg); }
.field .msg { font-size: 14px; color: var(--err); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; border-radius: var(--r-sm); padding: 10px 14px; min-height: 44px; cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-base); }
.chip:hover { border-color: var(--ink); }
.chip[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: var(--on-night); }
.errsum { margin-top: var(--sp-5); padding: var(--sp-4) 18px; border-radius: var(--r-md); background: var(--err-bg); color: var(--err); text-align: left; font-size: 15px; }
.review-list { margin-top: 36px; text-align: left; border-top: 1px solid var(--line); }
.review-list .r { display: grid; grid-template-columns: 200px 1fr auto; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.review-list .r span:first-child { color: var(--ink-3); font-size: var(--fs-sm); }
.review-list .r span:nth-child(2) { overflow-wrap: anywhere; }
.privacy-line { margin-top: var(--sp-4); font-size: 14px; color: var(--ink-3); }
.privacy-line a { color: var(--ink-2); }
.done-mark { width: 64px; height: 64px; border-radius: var(--r-round); background: var(--ink); color: var(--on-night); display: grid; place-items: center; margin: 0 auto 28px; animation: pop .5s var(--ease-out); }
.done-mark svg { width: 28px; height: 28px; }
.next-list { margin: var(--sp-6) auto 0; max-width: 520px; text-align: left; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.next-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.next-list li b { position: absolute; left: 0; top: 14px; color: var(--ink); font-weight: 600; }
.leave { position: absolute; inset: 0; z-index: var(--z-raised); background: var(--surface-glass); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity var(--dur-base), visibility 0s linear var(--dur-base); }
.leave.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.leave-box { width: min(440px, 100%); padding: var(--sp-6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-lg); text-align: center; display: grid; gap: 14px; }
.leave-box b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.leave-box p { color: var(--ink-2); }
.leave-box .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--sp-2); }
@media (max-width: 600px) {
  .forks, .fields { grid-template-columns: 1fr; }
  .flow-body { padding: 36px 18px 40px; }
  .opts { grid-template-columns: 1fr 1fr; }
  .step-actions .btn { flex: 1 1 140px; }
  .review-list .r { grid-template-columns: 1fr auto; }
  .review-list .r span:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .flow-step.enter-f, .flow-step.enter-b, .done-mark, .step-note { animation: none; } }

/* the no-script inquiry form on /contact/ steps aside once the flow is available */
.has-flow .nojs-only { display: none; }
.plain-form { margin: var(--sp-8) auto 0; max-width: 780px; display: grid; gap: var(--sp-5); }
.plain-form h2 { font-size: var(--fs-h3); text-align: center; }
.plain-form .fields { margin-top: 0; }
.plain-form .btn { justify-self: center; }

/* privacy choices states (P7) */
.consent .status { font-size: var(--fs-sm); color: var(--ink); font-weight: 500; }
.consent .more a { color: var(--ink); }
.consent .gpc { display: grid; gap: var(--sp-3); }
.consent .gpc[hidden], .consent .row[hidden], .consent .txt[hidden], .consent .details[hidden] { display: none; }
.consent .gpc p { font-size: var(--fs-sm); color: var(--ink-2); }
.consent .gpc .btn { justify-self: start; min-height: 44px; }
.consent.morph { animation: consentMorph var(--dur-slow) var(--ease-out); }
@keyframes consentMorph { from { opacity: .4; transform: scale(.9); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .consent.morph { animation: none; } }
.mist-band p + p { margin-top: var(--sp-3); }
.mist-band .fine { margin-top: var(--sp-4); }

/* Footnote tooltips (design extension §4): a superscript button whose note shows on hover, focus or tap.
   The note stays while hovered, and Escape dismisses it (WCAG 1.4.13). */
.fn { position: relative; display: inline-block; vertical-align: super; line-height: 0; }
.fn-ref { font: inherit; font-size: 0.72em; line-height: 1; color: var(--accent); background: none; border: 0; padding: 2px 3px; cursor: help; text-decoration: underline dotted; text-underline-offset: 2px; }
.fn-ref:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-xs); }
.fn-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(calc(-50% + var(--fn-shift, 0px))); width: max-content; max-width: min(280px, 80vw); padding: var(--sp-3) var(--sp-4); background: var(--ink); color: var(--on-night); font-size: var(--fs-sm); font-weight: 400; line-height: 1.45; letter-spacing: normal; text-transform: none; text-align: left; white-space: normal; border-radius: var(--r-sm); box-shadow: var(--sh-md); z-index: var(--z-raised); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--dur-fast) var(--ease-out), visibility var(--dur-fast); }
.fn-tip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.fn:hover > .fn-tip, .fn:focus-within > .fn-tip, .fn.fn-on > .fn-tip { opacity: 1; visibility: visible; pointer-events: auto; }
.fn.fn-off > .fn-tip { opacity: 0; visibility: hidden; pointer-events: none; }
