/* Hoot v2 base: tokens, fonts, scoped reset and shared components.
   Spec: v2-build/DESIGN.md. Every class starts with h-, page rules live under body.v2.
   No external requests. Owner: director. */

/* ---------- Fonts (self-hosted DM Sans) ---------- */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/dm-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* base */
  --h-bg: #101318;
  --h-bg-deep: #0c0f13;
  --h-panel: #141920;
  --h-panel-2: #1b212a;
  --h-panel-3: #232b36;
  --h-line: #303946;
  --h-line-soft: rgba(255, 255, 255, .07);
  --h-ink: #eef1f6;
  --h-ink-soft: #c7ced9;
  --h-muted: #a6b0bf;
  --h-faint: #8a95a6;
  --h-on-accent: #101318;

  /* accents */
  --h-blue: #94a9ff;
  --h-blue-fill: #4d64e6;
  --h-blue-deep: #435bd8;
  --h-mint: #82ddd1;
  --h-ember: #ff9473;
  --h-honey: #ffc65c;
  --h-leaf: #a6e08c;
  --h-sky: #7ccbf5;
  --h-rose: #f7a1b8;
  --h-apricot: #f6b98e;
  --h-moon: #cfd8ff;
  --h-star: #e8edff;

  /* dark tinted surfaces per accent (accent mixed 14% into the panel) */
  --h-blue-tint: #262d3f;
  --h-mint-tint: #233439;
  --h-ember-tint: #352a2c;
  --h-honey-tint: #353128;
  --h-leaf-tint: #28352f;
  --h-sky-tint: #23323e;
  --h-rose-tint: #342c35;
  --h-apricot-tint: #342f2f;

  /* the current accent (components read these; set with .h-accent--*) */
  --h-accent: var(--h-blue);
  --h-accent-rgb: 148 169 255;
  --h-accent-deep: #5c699e;
  --h-accent-tint: var(--h-blue-tint);
  --h-accent-line: rgb(var(--h-accent-rgb) / .35);

  /* sky bands */
  --h-sky-dusk: linear-gradient(180deg, #101318 0%, #1a2236 22%, #2a3350 45%, #4a4560 62%, #8a5a5e 76%, #d07a5c 88%, #eaa36c 100%);
  --h-sky-night: linear-gradient(180deg, #101318 0%, #111a2b 35%, #14233a 65%, #173244 100%);
  --h-sky-predawn: linear-gradient(180deg, #101318 0%, #13202f 45%, #1b3340 80%, #2c5552 100%);
  --h-sky-dawn: linear-gradient(180deg, #101318 0%, #142131 30%, #1d3a46 52%, #4d7d78 70%, #c9c08a 86%, #f3d98b 93%, #f6b98e 100%);

  /* land (far, mid, near, trees, rim) per band */
  --h-dusk-far: #33405e;   --h-dusk-mid: #232d44;   --h-dusk-near: #18202e;   --h-dusk-tree: #121822;   --h-dusk-rim: rgba(242, 178, 122, .55);
  --h-night-far: #1f2c40;  --h-night-mid: #18222f;  --h-night-near: #131a24;  --h-night-tree: #0f151d;  --h-night-rim: rgba(207, 216, 255, .22);
  --h-predawn-far: #22394a; --h-predawn-mid: #1a2b38; --h-predawn-near: #141d27; --h-predawn-tree: #0f161e; --h-predawn-rim: rgba(130, 221, 209, .30);
  --h-dawn-far: #3d5a66;   --h-dawn-mid: #27404a;   --h-dawn-near: #1a2b32;   --h-dawn-tree: #13202a;   --h-dawn-rim: rgba(243, 217, 139, .55);
  --h-window: #ffc65c;
  --h-doodle: #2f3947;

  /* type */
  --h-font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --h-fs-display: clamp(2.6rem, 1.4rem + 4.8vw, 5.25rem);
  --h-fs-h1: clamp(2.25rem, 1.45rem + 3.2vw, 3.75rem);
  --h-fs-h2: clamp(1.9rem, 1.35rem + 2.1vw, 3rem);
  --h-fs-h3: clamp(1.2rem, 1.08rem + .5vw, 1.5rem);
  --h-fs-lead: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  --h-fs-body: 1.0625rem;
  --h-fs-small: .9375rem;
  --h-fs-eyebrow: .8125rem;
  --h-fs-micro: .75rem;

  /* spacing */
  --h-s-1: 4px; --h-s-2: 8px; --h-s-3: 12px; --h-s-4: 16px; --h-s-5: 24px;
  --h-s-6: 32px; --h-s-7: 48px; --h-s-8: 64px; --h-s-9: 96px; --h-s-10: 128px;
  --h-section-y: clamp(72px, 9vw, 136px);
  --h-max: 1180px;
  --h-max-narrow: 760px;
  --h-max-wide: 1360px;
  --h-gutter: clamp(16px, 4vw, 32px);
  --h-band-h: clamp(180px, 24vw, 360px);
  --h-nav-h: 68px;

  /* shape */
  --h-r-xs: 8px; --h-r-sm: 12px; --h-r-md: 16px; --h-r-lg: 24px; --h-r-xl: 32px; --h-r-pill: 999px;

  /* depth */
  --h-shadow-1: inset 0 1px 0 rgba(255, 255, 255, .04), 0 2px 8px rgba(0, 0, 0, .28);
  --h-shadow-2: inset 0 1px 0 rgba(255, 255, 255, .05), 0 14px 34px -10px rgba(0, 0, 0, .6);
  --h-shadow-3: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 12px 28px -12px rgba(0, 0, 0, .5);
  --h-glow-text: 0 0 28px rgba(148, 169, 255, .28), 0 0 2px rgba(207, 216, 255, .15);
  --h-glow-blue: 0 0 0 1px rgba(148, 169, 255, .35), 0 10px 36px -8px rgba(77, 100, 230, .6);
  --h-glow-honey: 0 0 0 1px rgba(255, 198, 92, .45), 0 10px 36px -8px rgba(255, 198, 92, .5);
  --h-glow-accent: 0 0 0 1px rgb(var(--h-accent-rgb) / .3), 0 14px 40px -12px rgb(var(--h-accent-rgb) / .45);

  /* focus */
  --h-focus: #94a9ff;
  --h-focus-halo: 0 0 0 5px #101318;

  /* motion */
  --h-dur-1: 160ms;
  --h-dur-2: 280ms;
  --h-dur-3: 650ms;
  --h-dur-4: 950ms;
  --h-dur-draw: 1400ms;
  --h-ease-out: cubic-bezier(.22, 1, .36, 1);
  --h-ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --h-ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* layers */
  --h-z-scene: 0;
  --h-z-content: 2;
  --h-z-owl: 3;
  --h-z-nav: 50;
  --h-z-skip: 100;
}

/* accent switches */
.h-accent--blue    { --h-accent: var(--h-blue);    --h-accent-rgb: 148 169 255; --h-accent-deep: #5c699e; --h-accent-tint: var(--h-blue-tint); }
.h-accent--mint    { --h-accent: var(--h-mint);    --h-accent-rgb: 130 221 209; --h-accent-deep: #518982; --h-accent-tint: var(--h-mint-tint); }
.h-accent--ember   { --h-accent: var(--h-ember);   --h-accent-rgb: 255 148 115; --h-accent-deep: #9e5c47; --h-accent-tint: var(--h-ember-tint); }
.h-accent--honey   { --h-accent: var(--h-honey);   --h-accent-rgb: 255 198 92;  --h-accent-deep: #9e7b39; --h-accent-tint: var(--h-honey-tint); }
.h-accent--leaf    { --h-accent: var(--h-leaf);    --h-accent-rgb: 166 224 140; --h-accent-deep: #678b57; --h-accent-tint: var(--h-leaf-tint); }
.h-accent--sky     { --h-accent: var(--h-sky);     --h-accent-rgb: 124 203 245; --h-accent-deep: #4d7e98; --h-accent-tint: var(--h-sky-tint); }
.h-accent--rose    { --h-accent: var(--h-rose);    --h-accent-rgb: 247 161 184; --h-accent-deep: #996472; --h-accent-tint: var(--h-rose-tint); }
.h-accent--apricot { --h-accent: var(--h-apricot); --h-accent-rgb: 246 185 142; --h-accent-deep: #997358; --h-accent-tint: var(--h-apricot-tint); }
[class*="h-accent--"] { --h-accent-line: rgb(var(--h-accent-rgb) / .35); }

/* ---------- Scoped reset ---------- */
html { background: #101318; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off) { scroll-behavior: smooth; }
}

body.v2 {
  margin: 0;
  min-height: 100vh;
  background: var(--h-bg);
  color: var(--h-ink);
  font-family: var(--h-font);
  font-size: var(--h-fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.v2 *, body.v2 *::before, body.v2 *::after { box-sizing: border-box; }
:where(body.v2) :where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul) { margin: 0; }
:where(body.v2) :where(h1, h2, h3, h4, h5, h6) { font-weight: 700; line-height: 1.15; color: var(--h-ink); text-wrap: balance; }
:where(body.v2) :where(p, li) { text-wrap: pretty; }
:where(body.v2) :where(ul, ol)[role="list"], :where(body.v2) :where(ul, ol)[class^="h-"] { list-style: none; padding: 0; }
:where(body.v2) :where(img, picture, video, canvas, svg) { display: block; max-width: 100%; }
:where(body.v2) :where(img, video) { height: auto; }
:where(body.v2) :where(input, button, textarea, select) { font: inherit; color: inherit; letter-spacing: inherit; }
:where(body.v2) :where(button) { cursor: pointer; background: none; border: 0; padding: 0; }
:where(body.v2) :where(a) { color: inherit; text-decoration: none; }
:where(body.v2) :where(table) { border-collapse: collapse; }
:where(body.v2) :where(strong, b) { font-weight: 700; }
:where(body.v2) :where([hidden]) { display: none !important; }
:where(body.v2) ::selection { background: rgba(148, 169, 255, .32); color: #fff; }
:where(body.v2) [id] { scroll-margin-top: calc(var(--h-nav-h) + 20px); }

/* focus */
:where(body.v2) :focus { outline: none; }
:where(body.v2) :focus-visible { outline: 2px solid var(--h-focus); outline-offset: 3px; }
:where(body.v2) .h-on-light :focus-visible { outline-color: var(--h-focus); box-shadow: var(--h-focus-halo); }

/* the owl is brand art: never filtered, blended or recolored */
body.v2 :is(.hm-owl, .h-owl, .h-brand__mark, .owl-inline, img[src*="owl"]) {
  forced-color-adjust: none;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* ---------- Layout ---------- */
.h-container { width: 100%; max-width: calc(var(--h-max) + 2 * var(--h-gutter)); margin-inline: auto; padding-inline: var(--h-gutter); position: relative; z-index: var(--h-z-content); }
.h-container--narrow { max-width: calc(var(--h-max-narrow) + 2 * var(--h-gutter)); }
.h-container--wide { max-width: calc(var(--h-max-wide) + 2 * var(--h-gutter)); }

.h-section { position: relative; padding-block: var(--h-section-y); }
.h-section--tight { padding-block: calc(var(--h-section-y) / 2); }
.h-section--flush { padding-block: 0; }

.h-section-head { max-width: var(--h-max-narrow); margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--h-s-4); }
.h-section-head--left { margin-inline: 0; text-align: left; align-items: flex-start; }

.h-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .h-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .h-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .h-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.h-stack { display: flex; flex-direction: column; gap: var(--h-gap, var(--h-s-4)); }
.h-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--h-gap, var(--h-s-3)); }

/* scene band frame */
.h-band { position: relative; width: 100%; height: var(--h-band-h); overflow: clip; isolation: isolate; background: var(--h-bg); }
.h-band__sky { position: absolute; inset: 0; z-index: 0; background: var(--h-sky-night); }
.h-band__art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: 1; }
.h-band__art svg, svg.h-band__art { width: 100%; height: 100%; display: block; }
.h-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--h-bg); z-index: 3; }

/* paper grain (put on a band or scene wrapper; keep the owl above it with z-index var(--h-z-owl)) */
.h-grain { position: relative; }
.h-grain::before {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: .055;
  /* integrator: fade the grain out at the top and bottom edges so bands meet #101318 with no visible rectangle */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
}

/* ---------- Text ---------- */
.h-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--h-fs-eyebrow); font-weight: 600; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--h-muted); }
.h-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--h-accent); box-shadow: 0 0 10px rgb(var(--h-accent-rgb) / .7); flex: none; }
.h-display { font-size: var(--h-fs-display); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; max-width: 18ch; }
.h-h1 { font-size: var(--h-fs-h1); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; max-width: 20ch; }
.h-title { font-size: var(--h-fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; max-width: 22ch; }
.h-h3 { font-size: var(--h-fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.h-lead { font-size: var(--h-fs-lead); line-height: 1.6; color: var(--h-ink-soft); max-width: 46ch; }
.h-section-head .h-title, .h-section-head .h-lead { margin-inline: auto; }
.h-section-head--left .h-title, .h-section-head--left .h-lead { margin-inline: 0; }
.h-small { font-size: var(--h-fs-small); color: var(--h-muted); }
.h-micro { font-size: var(--h-fs-micro); font-weight: 500; letter-spacing: .02em; color: var(--h-faint); }
.h-two-tone { color: var(--h-ink); }
.h-two-tone__quiet { color: var(--h-muted); }
.h-glow-text { text-shadow: var(--h-glow-text); }
.h-accent-text { color: var(--h-accent); }
.h-link { color: var(--h-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(148, 169, 255, .5); transition: text-decoration-color var(--h-dur-1) var(--h-ease-out), text-decoration-thickness var(--h-dur-1); }
.h-link:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }

/* hand-drawn underline */
.h-underline { position: relative; display: inline-block; white-space: nowrap; }
.h-underline__svg { position: absolute; left: -2%; width: 104%; bottom: -.12em; height: .32em; overflow: visible; pointer-events: none; }
.h-underline__svg path { fill: none; stroke: var(--h-underline-color, var(--h-honey)); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } /* integrator: no non-scaling-stroke; Chrome cut the pathLength=1 dash short with it */

/* ink draw: drawn by default; hidden only while motion is ready and the owner is not revealed */
body.v2 .h-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.motion-ready body.v2 .h-draw { transition: stroke-dashoffset var(--h-dur-draw) var(--h-ease-in-out) var(--h-draw-delay, 250ms); }
html.motion-ready body.v2 :is([data-reveal], [data-stagger]):not(.is-in) .h-draw { stroke-dashoffset: 1; }

/* ---------- Buttons (also add the old class "btn") ---------- */
.h-btn {
  --h-btn-h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h-btn-h);
  padding: 0 22px;
  border-radius: var(--h-r-pill);
  border: 1px solid transparent;
  font-family: var(--h-font);
  font-size: 1rem; font-weight: 600; line-height: 1.1; letter-spacing: -.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--h-dur-1) var(--h-ease-out), box-shadow var(--h-dur-2) var(--h-ease-out), background-color var(--h-dur-2) var(--h-ease-out), border-color var(--h-dur-2) var(--h-ease-out), color var(--h-dur-2);
}
.h-btn:focus-visible { outline: 2px solid var(--h-focus); outline-offset: 3px; }
.h-btn:active { transform: translateY(1px) scale(.98); transition-duration: 90ms; }
.h-btn[disabled], .h-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.h-btn--sm { --h-btn-h: 38px; padding: 0 16px; font-size: .9375rem; }
.h-btn--lg { --h-btn-h: 56px; padding: 0 28px; font-size: 1.0625rem; }
.h-btn--block { display: flex; width: 100%; }
.h-btn__icon { width: 20px; height: 20px; flex: none; }
.h-btn__icon :is(path, circle, rect, line, polyline) { stroke: currentColor; }
.h-btn__arrow { display: inline-block; flex: none; transition: transform var(--h-dur-2) var(--h-ease-out); }

.h-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #5a72ee 0%, var(--h-blue-deep) 100%);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(16, 22, 42, .35), 0 6px 18px -8px rgba(67, 91, 216, .8);
}
.h-btn--ghost { color: var(--h-ink); background: rgba(255, 255, 255, .02); border-color: var(--h-line); }
/* ghost buttons sitting on an illustrated sky need a firmer edge to read as buttons */
body.v2 :is(.h-hero, .h-page-hero, .h-cta) .h-btn--ghost { background: rgba(16, 19, 24, .45); border-color: rgba(255, 255, 255, .22); }
.h-btn--quiet { color: var(--h-blue); padding-inline: 4px; min-height: 44px; background: none; }
.h-btn--premium {
  color: var(--h-on-accent);
  background: linear-gradient(135deg, #ffd27a 0%, var(--h-honey) 45%, var(--h-apricot) 100%);
  border-color: rgba(255, 236, 190, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(120, 70, 20, .25), 0 0 0 1px rgba(255, 198, 92, .25), 0 10px 32px -10px rgba(255, 198, 92, .7);
  overflow: hidden;
  isolation: isolate;
}
.h-btn--premium::after {
  content: "";
  position: absolute; inset: -2px auto -2px -40%;
  width: 34%;
  z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-18deg);
  opacity: 0;
  animation: h-sheen 6s var(--h-ease-in-out) 1.2s infinite;
}
@media (hover: hover) {
  .h-btn--primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(16, 22, 42, .35), var(--h-glow-blue); background: linear-gradient(180deg, #6a80f2 0%, #4a62de 100%); }
  .h-btn--ghost:hover { transform: translateY(-2px); background: var(--h-panel-2); border-color: rgba(148, 169, 255, .45); }
  .h-btn--premium:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(120, 70, 20, .25), var(--h-glow-honey), 0 16px 44px -12px rgba(246, 185, 142, .65); }
  .h-btn--quiet:hover { color: #b4c3ff; }
  .h-btn:hover .h-btn__arrow, .h-card__link:hover .h-btn__arrow { transform: translateX(3px); }
  .h-btn:active { transform: translateY(1px) scale(.98); }
}
@media (max-width: 479px) {
  .h-btn { --h-btn-h: 46px; padding: 0 18px; }
  .h-btn--lg { --h-btn-h: 52px; padding: 0 22px; }
}

/* ---------- Pills, chips, stickers ---------- */
.h-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; border-radius: var(--h-r-pill); background: var(--h-panel-2); border: 1px solid var(--h-line-soft); color: var(--h-ink-soft); font-size: .875rem; font-weight: 500; line-height: 1.2; }
.h-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--h-accent); flex: none; }
.h-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; border-radius: var(--h-r-pill); background: var(--h-accent-tint); border: 1px solid var(--h-accent-line); color: var(--h-accent); font-size: .875rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.h-chip--sticker {
  --h-tilt: 0deg;
  min-height: 34px; padding: 6px 14px;
  background: var(--h-accent); color: var(--h-on-accent); border-color: rgba(255, 255, 255, .35);
  font-weight: 700; font-size: .9375rem;
  transform: rotate(var(--h-tilt));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .12), 0 8px 20px -8px rgba(0, 0, 0, .7);
  transition: transform var(--h-dur-2) var(--h-ease-spring);
}
@media (hover: hover) { .h-chip--sticker:hover { transform: rotate(calc(var(--h-tilt) * -0.3)) translateY(-2px); } }

.h-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.h-check-list li { position: relative; padding-left: 34px; color: var(--h-ink-soft); line-height: 1.55; }
.h-check-list li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: var(--h-accent-tint); box-shadow: inset 0 0 0 1px var(--h-accent-line); }
.h-check-list li::after { content: ""; position: absolute; left: 8px; top: calc(.1em + 5px); width: 6px; height: 10px; border: solid var(--h-accent); border-width: 0 2px 2px 0; transform: rotate(42deg); border-radius: 1px; }

/* ---------- Surfaces ---------- */
.h-card {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--h-panel);
  border: 1px solid var(--h-line-soft);
  border-radius: var(--h-r-lg);
  box-shadow: var(--h-shadow-1);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--h-dur-2) var(--h-ease-out), border-color var(--h-dur-2) var(--h-ease-out), box-shadow var(--h-dur-2) var(--h-ease-out);
}
.h-card__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--h-accent-tint); box-shadow: inset 0 0 0 1px var(--h-accent-line); color: var(--h-accent); flex: none; }
.h-card__icon svg { width: 22px; height: 22px; }
.h-card__icon svg :is(path, circle, rect, line, polyline, polygon) { stroke: currentColor; }
.h-card__title { font-size: var(--h-fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--h-ink); }
.h-card__text { color: var(--h-ink-soft); font-size: 1rem; line-height: 1.6; }
.h-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; min-height: 44px; color: var(--h-accent); font-weight: 600; font-size: .9375rem; width: fit-content; }
.h-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.h-card--tinted { background: radial-gradient(120% 90% at 0% 0%, var(--h-accent-tint) 0%, var(--h-panel) 62%); }
.h-card--tinted::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--h-accent), rgb(var(--h-accent-rgb) / 0)); z-index: 1; pointer-events: none; }

.h-card--interactive::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--h-mx, 50%) var(--h-my, 0%), rgb(var(--h-accent-rgb) / .14), transparent 60%);
  opacity: 0;
  transition: opacity var(--h-dur-2) var(--h-ease-out);
}
@media (hover: hover) {
  .h-card--interactive:hover { transform: translateY(-4px); border-color: var(--h-accent-line); box-shadow: var(--h-shadow-2), var(--h-glow-accent); }
  .h-card--interactive:hover::before { opacity: 1; }
}
.h-card--interactive:focus-within { border-color: var(--h-accent-line); }

.h-glass {
  position: relative;
  background: rgba(16, 19, 24, .62);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--h-r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px -24px rgba(0, 0, 0, .7);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .h-glass { background: rgba(16, 19, 24, .9); }
}

.h-frame {
  position: relative;
  padding: clamp(6px, 1vw, 10px);
  border-radius: var(--h-r-lg);
  background: linear-gradient(145deg, var(--h-accent) 0%, var(--h-accent-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), var(--h-shadow-3), 0 30px 80px -30px rgb(var(--h-accent-rgb) / .45);
}
.h-frame > :is(img, picture, .h-frame__inner) { display: block; width: 100%; border-radius: var(--h-r-md); overflow: hidden; background: var(--h-panel); }
.h-frame img { width: 100%; height: auto; border-radius: var(--h-r-md); }

.h-browser { position: relative; border-radius: var(--h-r-lg); background: var(--h-panel); border: 1px solid rgba(255, 255, 255, .09); box-shadow: var(--h-shadow-3); overflow: hidden; }
.h-browser__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--h-panel-2); border-bottom: 1px solid var(--h-line-soft); color: var(--h-muted); font-size: .8125rem; font-weight: 500; }
.h-browser__dots { display: flex; gap: 6px; flex: none; }
.h-browser__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--h-line); display: block; }
.h-browser__title { flex: 1; min-width: 0; height: 24px; display: flex; align-items: center; padding: 0 12px; border-radius: var(--h-r-pill); background: var(--h-bg); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.h-browser__body { position: relative; }
.h-browser__body :is(img, picture) { display: block; width: 100%; height: auto; }

.h-divider { position: relative; height: 1px; border: 0; margin: var(--h-s-7) 0; background: linear-gradient(90deg, transparent, var(--h-line) 20%, var(--h-line) 80%, transparent); }
.h-divider::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; transform: translate(-50%, -50%); background: var(--h-honey); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }

/* ---------- Feature row ---------- */
.h-feature-row { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.h-feature-row__media { position: relative; min-width: 0; }
.h-feature-row__copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--h-s-4); }
.h-feature-row__copy .h-lead, .h-feature-row__copy .h-card__text { max-width: 46ch; }
@media (min-width: 900px) {
  .h-feature-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .h-feature-row--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .h-feature-row--flip .h-feature-row__media { order: 2; }
}
.h-feature-row + .h-feature-row { margin-top: clamp(64px, 9vw, 128px); }

/* ---------- Steps ---------- */
.h-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: 1fr; position: relative; }
@media (min-width: 900px) { .h-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h-step {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 14px 26px;
  border-radius: var(--h-r-lg);
  background: linear-gradient(180deg, var(--h-accent-tint) 0%, var(--h-panel) 58%);
  border: 1px solid var(--h-line-soft);
  box-shadow: var(--h-shadow-1);
  overflow: hidden;
  transition: transform var(--h-dur-2) var(--h-ease-out), border-color var(--h-dur-2) var(--h-ease-out), box-shadow var(--h-dur-2);
}
.h-step__art { position: relative; aspect-ratio: 4 / 3; border-radius: var(--h-r-md); overflow: hidden; background: var(--h-bg); margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgb(var(--h-accent-rgb) / .18); }
.h-step__art svg { width: 100%; height: 100%; }
.h-step__num { padding-inline: 10px; font-size: .875rem; font-weight: 700; letter-spacing: .14em; color: var(--h-accent); font-variant-numeric: tabular-nums; }
.h-step__title { padding-inline: 10px; font-size: var(--h-fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.h-step__text { padding-inline: 10px; color: var(--h-ink-soft); line-height: 1.6; }
@media (hover: hover) { .h-step:hover { transform: translateY(-4px); border-color: var(--h-accent-line); box-shadow: var(--h-shadow-2), var(--h-glow-accent); } }

/* ---------- FAQ (wrapper also gets the old class "faq") ---------- */
.h-faq { display: grid; gap: 12px; }
.h-faq__item {
  position: relative;
  border-radius: var(--h-r-md);
  background: var(--h-panel);
  border: 1px solid var(--h-line-soft);
  transition: border-color var(--h-dur-2) var(--h-ease-out), background-color var(--h-dur-2);
}
.h-faq__item::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--h-accent); opacity: 0; transition: opacity var(--h-dur-2) var(--h-ease-out); }
.h-faq__item[open] { background: var(--h-panel-2); border-color: var(--h-accent-line); }
.h-faq__item[open]::before { opacity: 1; }
.h-faq__q {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 18px 16px 22px;
  font-size: 1.0625rem; font-weight: 600; line-height: 1.4; color: var(--h-ink);
  cursor: pointer;
  border-radius: inherit;
}
.h-faq__q::-webkit-details-marker { display: none; }
.h-faq__q::marker { content: ""; }
.h-faq__toggle { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--h-panel-3); box-shadow: inset 0 0 0 1px var(--h-line); transition: transform var(--h-dur-2) var(--h-ease-spring), background-color var(--h-dur-2), box-shadow var(--h-dur-2); }
.h-faq__toggle::before, .h-faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--h-ink); transform: translate(-50%, -50%); }
.h-faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.h-faq__item[open] .h-faq__toggle { transform: rotate(45deg); background: var(--h-accent); box-shadow: none; }
.h-faq__item[open] .h-faq__toggle::before, .h-faq__item[open] .h-faq__toggle::after { background: var(--h-on-accent); }
@media (hover: hover) { .h-faq__q:hover .h-faq__toggle { box-shadow: inset 0 0 0 1px var(--h-accent-line); } }
.h-faq__a { padding: 0 22px 20px; color: var(--h-ink-soft); line-height: 1.65; max-width: 68ch; }
.h-faq__a p + p { margin-top: 10px; }
.h-faq__a a { color: var(--h-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.h-field { display: flex; flex-direction: column; gap: 8px; }
.h-label { font-size: .9375rem; font-weight: 600; color: var(--h-ink); }
.h-hint { font-size: .875rem; color: var(--h-muted); }
.h-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--h-r-sm);
  background: var(--h-bg);
  border: 1px solid var(--h-line);
  color: var(--h-ink);
  font-size: 1rem; line-height: 1.5;
  transition: border-color var(--h-dur-1), box-shadow var(--h-dur-1);
}
textarea.h-input { min-height: 132px; resize: vertical; }
.h-input::placeholder { color: var(--h-faint); opacity: 1; }
.h-input:hover { border-color: #3d4756; }
.h-input:focus-visible { outline: none; border-color: var(--h-focus); box-shadow: 0 0 0 3px rgba(148, 169, 255, .3); }
:where(body.v2) :where(input[type="checkbox"], input[type="radio"]) { accent-color: var(--h-blue-fill); width: 18px; height: 18px; }

/* ---------- Long text (Guide, Privacy) ---------- */
.h-prose { max-width: 72ch; color: var(--h-ink-soft); font-size: var(--h-fs-body); line-height: 1.75; }
.h-prose > * + * { margin-top: 1.05em; }
.h-prose :is(h2, h3, h4) { color: var(--h-ink); text-wrap: balance; }
.h-prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -.025em; margin-top: 2.4em; padding-top: .2em; }
.h-prose h3 { font-size: clamp(1.15rem, 1.08rem + .35vw, 1.3rem); line-height: 1.3; letter-spacing: -.01em; margin-top: 1.9em; }
.h-prose h4 { font-size: 1.0625rem; margin-top: 1.6em; }
.h-prose :is(h2, h3, h4) + * { margin-top: .6em; }
.h-prose > :first-child { margin-top: 0; }
.h-prose a { color: var(--h-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(148, 169, 255, .55); }
.h-prose a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
.h-prose strong { color: var(--h-ink); }
.h-prose :is(ul, ol) { padding-left: 1.4em; }
.h-prose li + li { margin-top: .45em; }
.h-prose li::marker { color: var(--h-faint); }
.h-prose ol > li::marker { color: var(--h-blue); font-weight: 600; }
.h-prose :is(code, kbd, .h-kbd) { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
.h-prose code { padding: .12em .4em; border-radius: 6px; background: var(--h-panel-2); border: 1px solid var(--h-line-soft); color: var(--h-ink); overflow-wrap: anywhere; }
.h-kbd, .h-prose kbd { display: inline-block; min-width: 1.8em; padding: .1em .45em; border-radius: 6px; background: var(--h-panel-3); border: 1px solid var(--h-line); border-bottom-width: 2px; color: var(--h-ink); font-family: var(--h-font); font-size: .85em; font-weight: 600; text-align: center; line-height: 1.5; }
.h-prose blockquote, .h-prose .note { padding: 14px 18px; border-radius: var(--h-r-sm); background: var(--h-panel); border: 1px solid var(--h-line-soft); border-left: 3px solid var(--h-accent); color: var(--h-ink-soft); }
.h-prose hr { border: 0; height: 1px; background: var(--h-line); margin: 2.4em 0; }
.h-prose :is(img, picture) { border-radius: var(--h-r-md); }
.h-prose figure, .h-prose .readme-shot { margin-block: 1.8em; }
.h-prose .readme-shot img { border-radius: var(--h-r-md); border: 1px solid var(--h-line-soft); box-shadow: var(--h-shadow-2); }
.h-prose .readme-shot--narrow img { max-width: 320px; margin-inline: auto; }
.h-prose figcaption { margin-top: 10px; font-size: .875rem; color: var(--h-muted); text-align: center; }
.h-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--h-r-md); border: 1px solid var(--h-line-soft); }
.h-prose table { width: 100%; min-width: 520px; font-size: .9375rem; line-height: 1.55; }
.h-prose :is(th, td) { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--h-line-soft); }
.h-prose th { color: var(--h-ink); font-weight: 600; background: var(--h-panel-2); }
.h-prose tr:last-child td { border-bottom: 0; }
@media (max-width: 719px) {
  .h-prose { font-size: 1rem; line-height: 1.7; }
  .h-prose table { display: block; overflow-x: auto; }
}

/* ---------- Brand lockup ---------- */
.h-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--h-ink); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.h-brand__mark { width: 36px; height: 36px; flex: none; }
.h-brand__name { display: inline-flex; align-items: baseline; }
.h-brand__sub { color: var(--h-ink-soft); font-weight: 600; white-space: pre; }
@media (max-width: 379px) { .h-brand__sub { display: none; } }

/* ---------- Utilities ---------- */
.h-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.h-skip { position: fixed; left: 16px; top: 12px; z-index: var(--h-z-skip); padding: 10px 16px; border-radius: var(--h-r-pill); background: var(--h-ink); color: var(--h-bg); font-weight: 600; transform: translateY(-160%); transition: transform var(--h-dur-2) var(--h-ease-out); }
.h-skip:focus, .h-skip:focus-visible { transform: none; outline: 2px solid var(--h-focus); outline-offset: 3px; }
.h-center { text-align: center; }
.h-nowrap { white-space: nowrap; }

/* ---------- Ambient keyframes (signature loops; use the matching .h-anim-* class or your own selector) ---------- */
@keyframes h-twinkle { 0%, 100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
@keyframes h-float   { 0%, 100% { transform: translateY(0) rotate(var(--h-tilt, 0deg)); } 50% { transform: translateY(-4px) rotate(calc(var(--h-tilt, 0deg) + 1.5deg)); } }
@keyframes h-sway    { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes h-drift   { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-60px); } }
@keyframes h-lamp    { 0%, 62%, 100% { opacity: 1; } 66%, 88% { opacity: .15; } }
@keyframes h-firefly { 0% { transform: translate(0, 0); opacity: .2; } 25% { transform: translate(14px, -10px); opacity: 1; } 50% { transform: translate(26px, 2px); opacity: .5; } 75% { transform: translate(10px, 12px); opacity: 1; } 100% { transform: translate(0, 0); opacity: .2; } }
@keyframes h-sheen   { 0%, 72% { transform: translateX(-120%) skewX(-18deg); opacity: 0; } 76% { opacity: 1; } 96% { transform: translateX(520%) skewX(-18deg); opacity: 1; } 100% { transform: translateX(520%) skewX(-18deg); opacity: 0; } }
@keyframes h-glow-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.h-anim-twinkle { transform-box: fill-box; transform-origin: center; animation: h-twinkle var(--h-dur, 3.2s) var(--h-ease-in-out) var(--h-delay, 0s) infinite; }
.h-anim-float   { animation: h-float var(--h-dur, 6s) var(--h-ease-in-out) var(--h-delay, 0s) infinite; }
.h-anim-sway    { transform-box: fill-box; transform-origin: 50% 100%; animation: h-sway var(--h-dur, 6s) var(--h-ease-in-out) var(--h-delay, 0s) infinite; }
.h-anim-drift   { animation: h-drift var(--h-dur, 75s) var(--h-ease-in-out) var(--h-delay, 0s) infinite; }
.h-anim-lamp    { animation: h-lamp var(--h-dur, 11s) linear var(--h-delay, 0s) infinite; }
.h-anim-firefly { animation: h-firefly var(--h-dur, 11s) var(--h-ease-in-out) var(--h-delay, 0s) infinite; }
.h-anim-glow    { animation: h-glow-pulse var(--h-dur, 4s) var(--h-ease-in-out) var(--h-delay, 0s) infinite; }

/* Pause loops when the tab is hidden (owl-motion.js sets html.owl-sleep) */
html.owl-sleep body.v2 [class*="h-anim-"], html.owl-sleep body.v2 .h-btn--premium::after { animation-play-state: paused; }

/* ---------- Motion off: ?motion=off (html.motion-off) and reduced motion ---------- */
html.motion-off body.v2 *, html.motion-off body.v2 *::before, html.motion-off body.v2 *::after {
  animation: none !important;
  transition: none !important;
}
html.motion-off body.v2 .h-draw { stroke-dashoffset: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  body.v2 *, body.v2 *::before, body.v2 *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  body.v2 .h-draw { stroke-dashoffset: 0 !important; }
}

/* ---------- Print ---------- */
@media print {
  body.v2 { background: #fff; color: #000; }
  body.v2 .h-band, body.v2 .h-grain::before { display: none; }
}

/* app.js swaps a broken img[data-screenshot] for div.browser-fallback; old styles.css is not loaded on v2 pages */
body.v2 .browser-fallback {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--h-panel);
  color: var(--h-muted);
  border-radius: inherit;
  text-align: center;
}
