/* Corner on Main · one stylesheet for every page
   Light throughout: ink on white and mist grey, the red dot of the logo, the window yellow for highlights.
   Industry pages keep the order pad (white top sheet, pink and canary copies, red printed rules, blue ballpoint). */

:root {
  --ink: #1b2230;
  --ink-deep: #0d1118;
  --mist: #f5f5f7;
  --muted: #4f5866;
  --red: #b9372d;
  --hl: #fbeaa5;
  --day: oklch(97.1% 0.002 286);
  --night: oklch(21% 0.035 258);
  --ink-day: oklch(23% 0.02 255);
  --ink-night: oklch(94% 0.01 240);
  --soft-day: oklch(42% 0.02 255);
  --soft-night: oklch(76% 0.02 250);
  --sheet: oklch(99% 0.003 95);
  --sheet-ink: oklch(23% 0.02 255);
  --sheet-soft: oklch(42% 0.02 255);
  --copy-pink: oklch(90% 0.045 0);
  --copy-canary: oklch(94% 0.08 98);
  --rule-red: oklch(54% 0.17 25);
  --pen: oklch(42% 0.17 262);
  --pen-deep: oklch(34% 0.16 262);
  --lamp: oklch(86% 0.13 85);
  --font-print: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-hand: "Kalam", cursive;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --d: 0;
  --bg: color-mix(in oklab, var(--night) calc(var(--d) * 100%), var(--day));
  --fg: color-mix(in oklab, var(--ink-night) calc(var(--d) * 100%), var(--ink-day));
  --soft: color-mix(in oklab, var(--soft-night) calc(var(--d) * 100%), var(--soft-day));
  --line: color-mix(in oklab, var(--fg) 16%, transparent);
  --accent-text: color-mix(in oklab, var(--lamp) calc(var(--d) * 100%), var(--rule-red));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: var(--soft) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.55 var(--font-body); caret-color: var(--pen); }
::selection { background: var(--copy-canary); color: var(--sheet-ink); }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-print); font-weight: 600; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 72rem; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw); padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw); }
@media (min-width: 72rem) { .wrap { padding-left: 2.5rem; padding-right: 2.5rem; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--sheet); color: var(--sheet-ink); padding: 0.5rem 1rem; z-index: 30; }
.skip:focus { left: 1rem; top: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font: 600 1.0625rem/1 var(--font-body); background: var(--ink); color: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 1.5rem; text-decoration: none; cursor: pointer; transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out); }
.btn:hover { background: var(--ink-deep); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(27, 34, 48, 0.06); }

/* the logo: two corners of a frame around the name, and the red dot on the open corner */
.logo { position: relative; display: inline-block; padding: 0.28em 0.5em 0.26em 0.4em; font: 700 1.1875rem/1 var(--font-body); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.logo b { font-weight: 700; }
.logo i { position: absolute; font-style: normal; }
.logo .tl, .logo .br { width: 0.42em; height: 0.42em; border: 0 solid currentColor; }
.logo .tl { left: 0; top: 0; border-left-width: 0.085em; border-top-width: 0.085em; }
.logo .br { right: 0; bottom: 0; border-right-width: 0.085em; border-bottom-width: 0.085em; }
.logo .dot { right: 0.02em; top: 0.02em; width: 0.19em; height: 0.19em; border-radius: 50%; background: var(--red); }
.logo--sm { font-size: 1.0625rem; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: progress; }

/* header, business tabs and the slim bar */
.brand { text-decoration: none; color: var(--ink); display: inline-flex; }

/* shared sheet parts */
.perf { height: 10px; margin: -1.4rem -1.4rem 0.9rem; background: radial-gradient(circle at 6px 0, var(--bg) 3px, transparent 3.5px) 0 0 / 12px 10px repeat-x; }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--rule-red); padding-bottom: 0.55rem; }
.sheet__head b { font: 600 1.5rem/1 var(--font-print); }
.sheet__head span { font: 600 0.9375rem/1 var(--font-print); color: var(--rule-red); white-space: nowrap; }
.line { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 0.75rem; align-items: end; border-bottom: 1px solid var(--rule-red); padding-block: 0.6rem 0.2rem; min-height: 2.9rem; }
.line i { font: 600 0.9375rem/1.2 var(--font-print); font-style: normal; color: var(--rule-red); padding-bottom: 0.3rem; }
.line em { font: 400 1.3rem/1.4 var(--font-hand); font-style: normal; color: var(--pen); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; clip-path: inset(0 calc((1 - var(--w, 1)) * 100%) 0 0); }

/* the pinned ticket scene (industry pages) */
.scene { position: relative; height: 420vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); max-width: 72rem; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw); padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw); }
.words { position: relative; min-height: 22rem; display: grid; align-items: center; }
.words > * { grid-area: 1 / 1; }
.hero-copy h1 { font-size: clamp(2.75rem, 6vw, 5.25rem); max-width: 12ch; }
.hero-copy .sub { font-size: 1.25rem; color: var(--soft); margin-top: 1.25rem; max-width: 34ch; }
.hero-copy .btn { margin-top: 1.75rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 1.75rem 0 0; padding: 0; list-style: none; font: 600 1.125rem/1.2 var(--font-print); }
.facts span { display: block; font: 500 0.875rem/1.3 var(--font-body); color: var(--soft); }
.cap { opacity: 0; }
.cap .time { font: 600 1.125rem/1 var(--font-print); color: var(--red); font-variant-numeric: tabular-nums; }
.cap h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); margin-top: 0.75rem; max-width: 13ch; }
.cap p { font-size: 1.1875rem; color: var(--soft); margin-top: 1rem; max-width: 32ch; }
.objects { position: relative; height: min(34rem, 78vh); }
.pad-s { position: absolute; left: 0; top: 50%; width: min(26rem, 100%); transform: translateY(-50%); }
.pad-s::before, .pad-s::after { content: ""; position: absolute; inset: 0; border-radius: 4px; opacity: var(--copies, 1); }
.pad-s::before { background: var(--copy-canary); transform: translate(10px, 12px) rotate(1.6deg); }
.pad-s::after { background: var(--copy-pink); transform: translate(5px, 6px) rotate(0.8deg); }
.sheet { position: relative; z-index: 1; background: var(--sheet); color: var(--sheet-ink); border-radius: 4px; padding: 1.4rem 1.4rem 1.2rem; box-shadow: 0 2px 4px oklch(20% 0.02 255 / 0.10), 0 16px 36px oklch(20% 0.02 255 / 0.16); transform-origin: 50% 50%; will-change: transform; }
.phone { position: absolute; right: 0; top: 50%; width: 15.5rem; aspect-ratio: 9 / 19; transform: translateY(-50%); border-radius: 2.4rem; background: oklch(17% 0.02 260); padding: 0.6rem; box-shadow: 0 0 0 1px oklch(40% 0.02 260 / 0.6), 0 24px 60px oklch(10% 0.02 260 / 0.35); }
.screen { position: relative; height: 100%; border-radius: 1.9rem; overflow: hidden; background: oklch(28% 0.04 262); color: oklch(96% 0.01 240); display: grid; align-content: start; padding: 2.4rem 0.8rem 1rem; }
.screen .clock { text-align: center; font: 500 3.25rem/1 var(--font-body); letter-spacing: -0.02em; }
.screen .date { text-align: center; font-size: 0.8125rem; opacity: 0.75; margin-top: 0.3rem; }
.note { margin-top: 1.6rem; background: oklch(96% 0.01 240 / 0.92); color: oklch(22% 0.02 255); border-radius: 1rem; padding: 0.7rem 0.8rem; font-size: 0.8125rem; line-height: 1.35; opacity: 0; transform: translateY(10px) scale(0.96); }
.note b { display: flex; justify-content: space-between; gap: 0.5rem; font-weight: 600; font-size: 0.75rem; color: oklch(45% 0.02 255); margin-bottom: 0.2rem; }

/* home: Apple-style light layout. Hero line, a slideshow of six business types, the time-wasters, what I do,
   business types, prices and the check-up form */
.lite { background: #fff; color: var(--ink); }
.h-nav { position: sticky; top: 0; z-index: 10; background: rgba(245, 245, 247, 0.9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid #e3e6ea; }
.h-nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; }
.h-nav nav { display: flex; gap: 1.6rem; font-size: 0.875rem; white-space: nowrap; }
.h-nav nav a { text-decoration: none; color: var(--ink); }
.h-nav nav a:hover { text-decoration: underline; }
.lite .wrap { max-width: 70rem; }
.lite h1, .lite h2, .lite h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; }

.h-hero { background: var(--mist); text-align: center; padding-top: clamp(3rem, 7vw, 4.5rem); overflow: hidden; }
.h-eyebrow { font-weight: 600; color: var(--red); font-size: 1.0625rem; }
.h-hero h1 { font-size: clamp(3rem, 8.5vw, 5.5rem); line-height: 1.02; letter-spacing: -0.035em; margin-top: 0.6rem; text-wrap: balance; }
.h-lede { margin: 1.1rem auto 0; max-width: 40ch; font-size: clamp(1.1875rem, 2.2vw, 1.4375rem); line-height: 1.4; color: var(--muted); }
/* headline reveal: each word slides up from behind its own mask, 80 ms apart; the rest fades in after */
.hw { display: inline-block; }
.motion .hw { overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.motion .hw > span { display: inline-block; animation: h-rise 0.9s cubic-bezier(.2, .7, .2, 1) var(--i) both; }
.motion .h-eyebrow { animation: h-fade 0.7s ease both; }
.motion .h-lede, .motion .h-actions { animation: h-fade 0.8s ease 0.5s both; }
.motion .h-show { animation: h-fade 0.9s ease 0.75s both; }
@keyframes h-rise { from { transform: translateY(110%); } }
@keyframes h-fade { from { opacity: 0; transform: translateY(14px); } }
/* the ticket chip inside the headline: a small order-pad ticket that changes every 3 seconds
   (a menu update, a schedule change, a trial class request) to show the range of work */
.h-chip { position: relative; display: inline-block; vertical-align: middle; font-size: max(0.2em, 11.5px); width: 16.5em; height: 4.2em; margin: 0 0.15em; top: -0.12em; letter-spacing: 0; line-height: 1; text-align: left; }
.h-chip__tk { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 0.85em; background: #fdfcf8; border-radius: 4px; box-shadow: 0 10px 22px rgba(27, 34, 48, 0.18); transform: rotate(-3deg); }
.h-chip__hd { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5em; border-bottom: 2px solid var(--red); padding-bottom: 0.2em; font: 600 0.85em/1 var(--font-print); color: var(--ink); }
/* the chip's words come from data attributes, so they stay out of the headline's text for search engines */
.h-chip__hd::before { content: attr(data-a); }
.h-chip__hd::after { content: attr(data-b); color: var(--red); white-space: nowrap; }
.h-chip__ln { margin-top: 0.15em; font: 400 1.15em/1.35 var(--font-hand); color: var(--pen); white-space: nowrap; }
.h-chip__ln::before { content: attr(data-a); }
.h-chip__tk + .h-chip__tk { opacity: 0; }
.motion .h-chip__tk { opacity: 0; animation: h-cycle 9s ease 0.4s infinite; }
.motion .h-chip__tk:nth-child(2) { animation-delay: 3.4s; }
.motion .h-chip__tk:nth-child(3) { animation-delay: 6.4s; }
@keyframes h-cycle {
  0% { opacity: 0; transform: translateY(-24px) rotate(-12deg); }
  4% { opacity: 1; transform: translateY(0) rotate(-3deg); }
  30% { opacity: 1; transform: translateY(0) rotate(-3deg); }
  34% { opacity: 0; transform: translateY(16px) rotate(2deg); }
  100% { opacity: 0; }
}
.h-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; margin-top: 1.6rem; }

.h-tabs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem; margin-top: 2.5rem; }
.h-tabs__lead { font-size: 0.9375rem; color: var(--muted); margin-right: 0.25rem; }
.h-tab { position: relative; overflow: hidden; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid #d5d9df; background: #fff; color: var(--ink); font: 600 0.9375rem/1 var(--font-body); cursor: pointer; }
.h-tab:hover { border-color: var(--ink); }
.h-tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.h-tab .bar-fill { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--hl); }
.h-show.is-playing .h-tab.is-on .bar-fill { animation: h-fill var(--slide-ms, 4500ms) linear forwards; }
@keyframes h-fill { to { width: 100%; } }
.h-pause { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d5d9df; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.h-pause path { fill: var(--ink); }
.h-pause .i-play { display: none; }
.h-show:not(.is-playing) .h-pause .i-play { display: block; }
.h-show:not(.is-playing) .h-pause .i-pause { display: none; }
html:not(.js) .h-tabs { display: none; }

.h-stage { display: flex; justify-content: center; align-items: flex-end; margin-top: 2.1rem; }
.h-photo { margin: 0 -2.5rem 0 0; width: 18.75rem; flex: none; background: #fff; padding: 0.75rem 0.75rem 1rem; border-radius: 6px; box-shadow: 0 20px 50px rgba(27, 34, 48, 0.16); transform: rotate(-2deg) translateY(-1.25rem); position: relative; z-index: 1; text-align: left; }
.h-photo img { display: block; width: 100%; height: auto; border-radius: 3px; }
.h-photo figcaption { margin-top: 0.6rem; font: 400 1.3125rem/1.2 var(--font-hand); color: var(--ink); }
.h-phone { width: 15.625rem; height: 29.375rem; flex: none; background: var(--ink); border-radius: 2.5rem 2.5rem 0 0; padding: 0.7rem 0.7rem 0; position: relative; z-index: 2; }
.h-screen { position: relative; height: 100%; overflow: hidden; border-radius: 1.9rem 1.9rem 0 0; background: #fdfcf8; text-align: left; }
.h-slide { position: absolute; inset: 0; padding: 1.6rem 1rem 0; display: flex; flex-direction: column; gap: 0.55rem; opacity: 0; transform: translateX(40px); transition: opacity 450ms ease, transform 600ms var(--ease-out); }
.h-slide.is-on { opacity: 1; transform: none; }
.h-url { font-size: 0.6875rem; color: var(--muted); }
.h-sample { align-self: flex-start; font: 600 0.625rem/1 var(--font-body); color: #fff; background: var(--red); padding: 0.2rem 0.4rem; border-radius: 3px; letter-spacing: 0.04em; text-transform: uppercase; }
.h-name { font: 600 1.75rem/1 var(--font-print); }
.h-block { background: #fff; border-radius: 6px; padding: 0.6rem 0.75rem; box-shadow: 0 3px 10px rgba(27, 34, 48, 0.1); }
.h-label { display: flex; justify-content: space-between; font: 600 0.9375rem/1 var(--font-print); border-bottom: 2px solid var(--red); padding-bottom: 0.25rem; margin-bottom: 0.25rem; }
.h-label span:last-child { color: var(--red); font-size: 0.75rem; }
.h-row { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.875rem; padding: 0.2rem 0.25rem; margin: 0 -0.25rem; border-radius: 3px; }
.h-row.is-hl { background: var(--hl); font-weight: 600; }
.h-cta, .h-alt { border-radius: 999px; text-align: center; font-weight: 600; font-size: 0.875rem; padding: 0.65rem 0; }
.h-cta { background: var(--ink); color: #fff; }
.h-alt { border: 1.5px solid var(--ink); color: var(--ink); }
.h-notes { position: relative; width: 18.125rem; height: 18.75rem; flex: none; margin: 0 0 5.6rem -1.9rem; z-index: 3; }
.h-note { position: absolute; inset: 0; background: var(--hl); padding: 1.25rem 1.4rem; box-shadow: 0 14px 30px rgba(27, 34, 48, 0.16); text-align: left; opacity: 0; transform: translateY(16px) rotate(4deg); transition: opacity 450ms ease 100ms, transform 600ms cubic-bezier(.3, 1.3, .5, 1) 100ms; }
.h-note.is-on { opacity: 1; transform: rotate(2deg); }
.h-note__k { font: 600 0.8125rem/1 var(--font-body); color: var(--red); letter-spacing: 0.04em; text-transform: uppercase; }
.h-note__pain { margin-top: 0.5rem; font: 400 1.375rem/1.3 var(--font-hand); color: var(--ink); }
.h-note__fix { margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px dashed rgba(27, 34, 48, 0.25); font-size: 0.9375rem; line-height: 1.4; }
.h-note__fix b { color: var(--ink); }

.h-sec { padding-block: clamp(4.5rem, 9vw, 6rem); }
.h-sec--mist { background: var(--mist); }
.h-h2 { font-size: clamp(2.25rem, 5vw, 3rem); line-height: 1.05; }
.h-center { text-align: center; }
.h-sub { margin-top: 0.6rem; font-size: clamp(1.0625rem, 2vw, 1.3125rem); color: var(--muted); max-width: 46ch; }

.h-pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.h-pain { background: #fff; border-radius: 22px; padding: 1.75rem 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; box-shadow: 0 2px 10px rgba(27, 34, 48, 0.05); }
.h-pain .k { font-weight: 600; font-size: 0.875rem; color: var(--red); }
.h-pain h3 { font-size: 1.625rem; line-height: 1.12; letter-spacing: -0.01em; }
.h-pain p { color: var(--muted); }
.h-pain .fix { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid #e3e6ea; color: var(--ink); font-size: 0.9375rem; }

.h-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.h-tile { background: var(--mist); border-radius: 22px; padding: 2.5rem 2.25rem; text-align: center; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.h-tile h3 { font-size: clamp(1.75rem, 3vw, 2.125rem); line-height: 1.1; }
.h-tile p { margin-top: 0.5rem; font-size: 1.125rem; color: var(--muted); max-width: 34ch; }
.h-tile a { margin-top: 1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.h-tile a:hover { text-decoration: underline; }
.h-tile__art { display: flex; gap: 0.75rem; margin: 2rem 0 -3.75rem; }
.h-tk { width: 13.75rem; background: #fdfcf8; border-radius: 6px; padding: 0.75rem 0.9rem; box-shadow: 0 10px 26px rgba(27, 34, 48, 0.12); text-align: left; transform: rotate(-2deg); }
.h-tk + .h-tk { transform: rotate(2deg); }
.h-tk div { display: flex; justify-content: space-between; border-bottom: 2px solid var(--red); padding-bottom: 0.25rem; font: 600 1rem/1 var(--font-print); }
.h-tk div span { color: var(--red); }
.h-tk i { display: block; font: 400 1.125rem/1.55 var(--font-hand); font-style: normal; color: var(--pen); border-bottom: 1px solid #e7c4c0; }

/* the 3D carousel: six sample sites on an arc that spins in once the section scrolls into view */
.h-carousel { margin-top: 2.25rem; position: relative; height: 31.5rem; perspective: 1500px; perspective-origin: 50% 40%; pointer-events: none; }
.h-ring { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.h-c a { pointer-events: auto; }
/* after the spin-in, the whole arc sways gently; it holds still while a visitor points at it */
.motion .h-carousel.is-in .h-ring { animation: h-sway 9s ease-in-out 1.8s infinite alternate; }
.motion .h-carousel:hover .h-ring, .motion .h-carousel:focus-within .h-ring { animation-play-state: paused; }
@keyframes h-sway { from { transform: rotateY(-7deg); } to { transform: rotateY(7deg); } }
.h-c { position: absolute; left: 50%; top: 0.6rem; width: 12.75rem; margin-left: -6.375rem; transform: translateX(var(--x)) rotateY(var(--r)) translateZ(var(--z)); }
.motion .h-c { transition: transform 1.6s cubic-bezier(.16, .84, .3, 1) var(--d), opacity 0.6s ease var(--d); }
.motion .h-carousel:not(.is-in) .h-c { transform: translateX(calc(var(--x) + 900px)) rotateY(-95deg) translateZ(-500px); opacity: 0; }
.h-c a { display: block; text-decoration: none; color: var(--ink); transition: transform 250ms ease; }
.h-c a:hover { transform: translateY(-8px); }
.h-c a:hover .h-c__cap { text-decoration: underline; }
.h-c__bez { display: block; background: var(--ink); border-radius: 30px; padding: 9px; box-shadow: 0 24px 50px rgba(27, 34, 48, 0.22); }
.h-c__scr { height: 24.5rem; background: #fdfcf8; border-radius: 22px; padding: 1.5rem 0.75rem 0.75rem; display: flex; flex-direction: column; gap: 0.55rem; }
.h-c__ttl { font: 600 1.5rem/1 var(--font-print); }
.h-c__blk { background: #fff; border-radius: 4px; padding: 0.5rem 0.55rem; box-shadow: 0 3px 10px rgba(27, 34, 48, 0.1); display: flex; flex-direction: column; }
.h-c__lab { display: flex; justify-content: space-between; align-items: baseline; gap: 0.4rem; border-bottom: 2px solid var(--red); padding-bottom: 0.2rem; margin-bottom: 0.15rem; font: 600 0.875rem/1.1 var(--font-print); }
.h-c__lab span { font-size: 0.6875rem; color: var(--red); white-space: nowrap; }
.h-c__ln { font: 400 0.9375rem/1.45 var(--font-hand); color: var(--pen); white-space: pre; }
.h-c__cta { margin-top: auto; text-align: center; font: 600 0.875rem/1 var(--font-body); color: #fff; background: var(--ink); border-radius: 999px; padding: 0.75rem 0; }
.h-c__cap { display: block; margin-top: 0.9rem; text-align: center; font-weight: 700; font-size: 1.0625rem; }
.h-c__sub { display: block; text-align: center; font-size: 0.8125rem; color: var(--muted); }
.h-carousel-sec { overflow: hidden; }

.h-prices { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.875rem; }
.h-prices li { background: var(--mist); border-radius: 18px; padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 0.35rem; }
.h-prices h3 { font-size: 1.25rem; }
.h-prices b { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.h-prices p { font-size: 0.9375rem; color: var(--muted); }
.h-prices .is-plan { background: #fff7da; }

.h-check { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.h-form { background: #fff; border-radius: 22px; padding: 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; box-shadow: 0 2px 10px rgba(27, 34, 48, 0.05); }
.h-form label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; font-size: 0.9375rem; }
.h-form label small { font-weight: 400; color: var(--muted); }
.h-form :is(input, select, textarea) { font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: var(--mist); border: 1px solid #d5d9df; border-radius: 10px; padding: 0.7rem 0.8rem; min-height: 46px; width: 100%; }
.h-form textarea { min-height: 6rem; resize: vertical; }
.h-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; background: #fff; }
.h-form__wide, .h-form__foot, .h-form .status { grid-column: 1 / -1; }
.h-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.h-form__foot p { font-size: 0.9375rem; color: var(--muted); }

.lite footer { background: var(--mist); border-top: 1px solid #e3e6ea; color: var(--muted); }
.lite .foot strong { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .h-slide, .h-note { transition: none; } }
@media (max-width: 60rem) {
  .h-carousel { height: auto; perspective: none; pointer-events: auto; }
  .h-ring, .motion .h-carousel.is-in .h-ring { position: static; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.75rem max(16px, 4vw) 1rem; scrollbar-width: none; transform: none; animation: none; pointer-events: auto; }
  .h-c, .motion .h-c, .motion .h-carousel:not(.is-in) .h-c { position: static; flex: 0 0 12.75rem; margin: 0; transform: none; opacity: 1; transition: none; scroll-snap-align: center; }
  .h-photo { display: none; }
}
@media (max-width: 52rem) {
  .h-nav nav a:not(:last-child) { display: none; }
  .h-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .h-tab, .h-pause, .h-tabs__lead { flex: none; }
  .h-stage { flex-direction: column; align-items: center; }
  .h-notes { order: -1; width: min(20rem, 100%); height: 13.5rem; margin: 0 0 1.25rem; }
  .h-note__pain { font-size: 1.1875rem; }
  .h-phone { height: 26rem; }
  .h-tiles, .h-check { grid-template-columns: minmax(0, 1fr); }
  .h-form { grid-template-columns: minmax(0, 1fr); }
}

/* home: the two-track scroll scene. Track 1, a customer's order lands on your phone as a text.
   Track 2, your text to Hao becomes a ticket and goes live on your site. site.js drives it by scroll. */
.hs { position: relative; height: 640vh; background: var(--mist); }
.hs-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); max-width: 70rem; margin-inline: auto; padding: 56px max(16px, 4vw) 0; }
@media (min-width: 72rem) { .hs-stage { padding-inline: 2.5rem; } }
.hs-h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); line-height: 1.05; letter-spacing: -0.03em; margin-top: 0.5rem; }
.hs-caps { list-style: none; margin: 2.25rem 0 0; padding: 0; position: relative; min-height: 13rem; }
.hs-cap { position: absolute; inset: 0 0 auto; }
.motion .hs-cap { opacity: 0; }
.hs-track { display: inline-block; font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: #fff; border: 1px solid #d5d9df; border-radius: 999px; padding: 0.4rem 0.7rem; }
.hs-track--2 { background: var(--hl); border-color: var(--hl); }
.hs-cap b { display: block; margin-top: 1rem; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.hs-cap h3 { margin-top: 0.35rem; font-size: clamp(1.625rem, 2.6vw, 2.125rem); line-height: 1.1; }
.hs-cap p { margin-top: 0.6rem; color: var(--muted); font-size: 1.125rem; max-width: 34ch; }
.hs-objects { position: relative; height: min(34rem, 76vh); }
.hs-order { z-index: 3; }
.hs-phone .screen { padding: 0; }
.hs-lock { position: absolute; inset: 0; padding: 2.4rem 0.8rem 1rem; display: grid; align-content: start; }
.hs-thread { position: absolute; inset: 0; background: #f2f3f5; color: var(--ink); padding: 1.75rem 0.75rem 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.motion .hs-thread { opacity: 0; }
.hs-thread__who { text-align: center; font-size: 0.8125rem; padding-bottom: 0.5rem; border-bottom: 1px solid #d5d9df; }
.hs-bub { max-width: 84%; font-size: 0.8125rem; line-height: 1.35; padding: 0.5rem 0.65rem; border-radius: 14px; }
.hs-bub--me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 3px; }
.hs-bub--hao { align-self: flex-start; background: #fff; border-bottom-left-radius: 3px; }
.hs-thread__time { margin-top: auto; text-align: center; font-size: 0.6875rem; color: var(--muted); }
.hs-update { position: absolute; left: 0; top: 50%; width: min(21rem, 100%); transform: translateY(-50%); }
.hs-check { position: relative; font: 400 1.25rem/1.4 var(--font-hand); color: var(--pen); border-bottom: 1px solid var(--rule-red); padding: 0.55rem 2rem 0.2rem 0; }
.hs-check s { color: #8a93a3; }
.hs-check i { position: absolute; right: 0.2rem; bottom: 0.3rem; font-style: normal; font-size: 1.25rem; color: var(--red); opacity: var(--c, 1); }
.hs-stamp { display: inline-block; margin: 1rem 0 0 auto; float: right; font: 700 1rem/1 var(--font-print); letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); border: 2.5px solid var(--red); border-radius: 4px; padding: 0.35rem 0.6rem; transform: rotate(-7deg); }
.hs-update::after { content: ""; display: block; clear: both; }
.hs-browser { position: absolute; right: 0; top: 50%; width: min(21.5rem, 100%); transform: translateY(-50%); background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 4px rgba(27, 34, 48, 0.08), 0 20px 46px rgba(27, 34, 48, 0.18); }
.motion .hs-update, .motion .hs-browser { opacity: 0; }
.hs-browser__bar { background: #e9ebee; padding: 0.5rem 0.75rem; font-size: 0.75rem; color: var(--muted); }
.hs-browser__body { padding: 1rem 1.1rem 1.25rem; }
.hs-browser__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; }
.hs-browser__head b { font: 600 1.625rem/1 var(--font-print); }
.hs-browser__head span { font: 600 0.75rem/1 var(--font-body); color: #fff; background: var(--red); padding: 0.25rem 0.45rem; border-radius: 3px; }
.hs-item { display: flex; justify-content: space-between; padding: 0.45rem 0.4rem; margin-inline: -0.4rem; border-bottom: 1px solid #eceef1; border-radius: 4px; background: rgba(251, 234, 165, var(--g, 0)); }
.hs-glow { --g: 1; }
.hs-item em { font-style: normal; font-size: 0.6875rem; font-weight: 700; color: var(--red); margin-left: 0.3rem; }
html:not(.motion) .hs { height: auto; }
html:not(.motion) .hs-stage { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); padding-block: 4.5rem; }
html:not(.motion) .hs-caps { min-height: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; }
html:not(.motion) .hs-cap { position: static; }
html:not(.motion) .hs-objects { height: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem; }
html:not(.motion) .hs-objects > * { position: relative; inset: auto; left: auto; right: auto; top: auto; transform: none; }
html:not(.motion) .hs-thread { display: none; }
html:not(.motion) .hs-words > .h-eyebrow { display: none; }
@media (max-width: 52rem) {
  .hs-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; padding-top: 4.75rem; gap: 0.75rem; }
  .hs-h2 { font-size: 1.625rem; }
  .hs-words > .h-eyebrow { display: none; }
  .hs-caps { margin-top: 0.9rem; min-height: 10.5rem; }
  .hs-cap b { margin-top: 0.6rem; }
  .hs-cap h3 { font-size: 1.375rem; }
  .hs-cap p { font-size: 0.9375rem; margin-top: 0.35rem; }
  .hs-objects { height: 100%; }
  .hs-update { left: 50%; width: min(20rem, 92%); transform: translate(-50%, -50%); }
  .hs-browser { right: 50%; width: min(20rem, 92%); transform: translate(50%, -50%); }
  html:not(.motion) .hs-stage { padding-top: 3rem; }
}

/* business-type pages: sub-bar, steps, and the ticket scene set in the light style */
.btn--sm { min-height: 36px; font-size: 0.875rem; padding: 0 1rem; white-space: nowrap; flex: none; }
.h-subnav { position: sticky; top: 56px; z-index: 9; background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid #e3e6ea; }
.h-subnav__in { display: flex; align-items: center; gap: 1.5rem; min-height: 52px; }
.h-subnav__in > b { font-size: 1.1875rem; white-space: nowrap; }
.h-subnav__links { display: flex; gap: 1.25rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; font-size: 0.8125rem; white-space: nowrap; }
.h-subnav__links a { color: var(--muted); text-decoration: none; padding-block: 0.4rem; }
.h-subnav__links a:hover { color: var(--ink); }
.h-subnav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.lite .stage { padding-top: 108px; }
.lite .hero-copy h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; }
.lite .hero-copy .sub { color: var(--muted); }
.lite .cap h2 { letter-spacing: -0.03em; }
.lite .facts { font-family: var(--font-body); font-weight: 700; }
.lite .statement { padding-block: clamp(5rem, 14vh, 9rem); }
.lite .statement p { font: 700 clamp(2rem, 4.6vw, 3.5rem)/1.1 var(--font-body); letter-spacing: -0.03em; max-width: 24ch; }
.h-sub a { color: var(--ink); font-weight: 600; text-decoration: none; }
.h-sub a:hover { text-decoration: underline; }
.h-steps { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.h-steps li { background: var(--mist); border-radius: 22px; padding: 1.75rem 1.6rem; }
.h-steps span { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.h-steps h3 { margin-top: 1rem; font-size: 1.5rem; }
.h-steps p { margin-top: 0.4rem; color: var(--muted); }
@media (max-width: 52rem) {
  .h-subnav__in > b { display: none; }
  .h-subnav__links { margin-left: 0; }
  .h-subnav .btn { display: none; }
  .lite .stage { padding-top: 7.5rem; }
  .foot { grid-template-columns: minmax(0, 1fr); }
}

/* statement, lit word by word */
.statement { padding-block: clamp(6rem, 18vh, 12rem); }
.statement p { font: 600 clamp(2rem, 5vw, 4rem)/1.08 var(--font-print); max-width: 22ch; letter-spacing: -0.01em; }
.statement .w { opacity: var(--o, 1); }


.status { margin-top: 0.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
/* spam trap: kept off screen so only bots fill it in */
.h-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status:empty { display: none; }

footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; color: var(--soft); font-size: 0.9375rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.foot strong { display: block; color: var(--fg); font: 600 1.125rem/1.2 var(--font-print); margin-bottom: 0.5rem; }

/* still layout: no script, or reduced motion */
html:not(.motion) .scene { height: auto; }
html:not(.motion) .stage { position: relative; height: auto; padding-block: 2rem 4rem; }
html:not(.motion) .cap { display: none; }
html:not(.motion) .lite .stage { padding-top: 2rem; }
html:not(.motion) .note { opacity: 1; transform: none; }
html:not(.motion) .objects { height: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem; }
html:not(.motion) .pad-s, html:not(.motion) .phone { position: relative; inset: auto; transform: none; }

@media (max-width: 52rem) {
  .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; padding-top: 4.5rem; gap: 0.5rem; }
  .words { min-height: 15.5rem; align-items: start; }
  .hero-copy .sub { font-size: 1.0625rem; margin-top: 0.9rem; }
  .hero-copy .btn { margin-top: 1.1rem; }
  .facts { display: none; }
  .objects { height: 100%; }
  .pad-s { left: 50%; width: min(21rem, 92%); transform: translate(-50%, -50%); }
  .phone { right: 50%; width: 11.5rem; transform: translate(50%, -50%); }
  .screen .clock { font-size: 2.5rem; }
  .line { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .line em { font-size: 1.1rem; }
  html:not(.motion) .stage { padding-top: 1rem; }
  html:not(.motion) .pad-s, html:not(.motion) .phone { left: auto; right: auto; top: auto; }
}
