/* =============================================================
   home.css — Marketing Homepage (HILYNK-MARKETING-HOMEPAGE-REDESIGN-IMPL-B1)
   -------------------------------------------------------------
   Loaded ONLY by index.html (user apex + bo shell). public.html (Public Landing)
   never links it. Every rule is scoped under .hm-root, and every token is declared
   on .hm-root (not :root) — the User App, Admin and Public Landing are untouched.
   Palette (Owner-locked): Hilynk Blue #3B82F6 · Hilynk Cyan #22D3EE ·
   Cyber Jade #2EE6FF (signature accent only) · dark navy ground.
   ============================================================= */

/* Geist Mono — official Vercel release v1.7.2 (github.com/vercel/geist-font), SIL OFL 1.1
   (notice: assets/home/fonts/geist-mono/OFL.txt). Self-hosted variable WOFF2, unmodified.
   Only referenced by the EN UI role below ⇒ TH visitors, the User App and Admin never
   download it (a browser fetches a face only when rendered text uses it). */
@font-face{
  font-family:'Geist Mono';
  src:url('assets/home/fonts/geist-mono/GeistMono-Variable-v1.7.2.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD;
}

.hm-root{
  --hm-bg:#060B18; --hm-bg-2:#0A1122; --hm-surface:#0D1528; --hm-surface-2:#131D35;
  --hm-line:rgba(148,172,220,.14); --hm-line-2:rgba(148,172,220,.26);
  --hm-text:#F2F6FC; --hm-text-2:#C6D0E1; --hm-muted:#9FACC3;
  --hm-blue:#3B82F6; --hm-blue-l:#6EA8FF; --hm-cyan:#22D3EE; --hm-jade:#2EE6FF;
  --hm-ink:#041022;
  --hm-grad:linear-gradient(120deg,#3B82F6 0%,#22D3EE 100%);
  --hm-glow:0 10px 36px -14px rgba(59,130,246,.55);
  --hm-r-sm:10px; --hm-r:14px; --hm-r-lg:20px; --hm-r-xl:28px;
  --hm-d-micro:150ms; --hm-d-comp:210ms; --hm-d-visual:380ms; --hm-d-section:600ms;
  --hm-ease:cubic-bezier(0.22,1,0.36,1);
  --hm-header-h:64px;
  --hm-font-th:'Anuphan','Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
  /* R2 typography (Owner 1B): EN headings/body = Plus Jakarta Sans (already loaded by
     index.html) · EN UI / technical labels = Geist Mono · TH = Anuphan everywhere. */
  --hm-font-en:'Plus Jakarta Sans','Anuphan',system-ui,-apple-system,sans-serif;
  --hm-font-ui:'Geist Mono',ui-monospace,'SFMono-Regular','Cascadia Mono',Consolas,monospace;
  --hm-mono:'JetBrains Mono',ui-monospace,monospace;

  position:relative; min-height:100vh; overflow-x:clip;
  background:var(--hm-bg); color:var(--hm-text);
  font-family:var(--hm-font-th); font-size:16px; line-height:1.6; letter-spacing:0;
  -webkit-font-smoothing:antialiased;
}
.hm-root:lang(en){ font-family:var(--hm-font-en); letter-spacing:-.005em }
.hm-root [lang="th"]{ font-family:var(--hm-font-th) }
.hm-root [lang="en"]{ font-family:var(--hm-font-en) }
:where(.hm-root) *,:where(.hm-root) *::before,:where(.hm-root) *::after{ box-sizing:border-box }
:where(.hm-root) a{ color:inherit; text-decoration:none }
:where(.hm-root) :where(ul,ol){ margin:0; padding:0; list-style:none }
:where(.hm-root) p{ margin:0 }
:where(.hm-root) :where(h1,h2,h3,h4){ margin:0; font-weight:700; letter-spacing:-.02em; line-height:1.2 }
.hm-root [tabindex="-1"]:focus{ outline:none }
.hm-root :focus-visible{ outline:2px solid var(--hm-cyan); outline-offset:3px; border-radius:6px }
.hm-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap }
.hm-mono{ font-family:var(--hm-mono) }
.hm-root .hm-mono:lang(en){ font-family:var(--hm-font-ui) }

/* ---- R2.2 · UI role → Geist Mono (English labels only · never Thai) ----
   An explicit list of interface / technical / compact-label classes — no blanket
   button or heading selectors. Headings and running text stay Plus Jakarta Sans (EN) or
   Anuphan (TH). Matching is on the element's own language, so on the TH page only the
   English compact labels (lang="en" in the JSX) switch — Thai copy never does. */
.hm-root :is(
  .hm-nav-top, .hm-nav-sub, .hm-link-login, .hm-btn, .hm-lang-trigger, .hm-text-link,
  .hm-drawer-link, .hm-drawer-top, .hm-drawer-label, .hm-drawer-lang > span,
  .hm-eyebrow, .hm-seg-btn, .hm-cycle-btn,
  .hm-rec-badge, .hm-draft-badge, .hm-illus-badge, .hm-mini-badge, .hm-sf-badge, .hm-sf-status, .hm-sf-n,
  .hm-stage-tag, .hm-live-chip, .hm-add-chip, .hm-chips li, .hm-lf-sample, .hm-lf-click, .hm-lf-count,
  .hm-kpi span, .hm-feed-title, .hm-feed time, .hm-plan-price span, .hm-foot-h, .hm-foot-lang > span,
  .hm-lang-code, .hm-url,
  .hm-hs-tab, .hm-hs-url, .hm-hs-live, .hm-hs-lines, .hm-hs-k, .hm-hs-ev, .hm-hs-deliv, .hm-hs-row em, .hm-hs-chip, .hm-hs-pbtn
):lang(en){ font-family:var(--hm-font-ui); letter-spacing:0 }
/* compact uppercase only where it reads as a label */
.hm-root :is(
  .hm-nav-top, .hm-link-login, .hm-btn, .hm-eyebrow, .hm-stage-tag, .hm-rec-badge, .hm-draft-badge,
  .hm-illus-badge, .hm-mini-badge, .hm-sf-badge, .hm-sf-status, .hm-foot-h, .hm-drawer-label,
  .hm-live-chip, .hm-add-chip, .hm-seg-btn, .hm-cycle-btn
):lang(en){ text-transform:uppercase; letter-spacing:.05em }
.hm-root .hm-nav-top:lang(en), .hm-root .hm-link-login:lang(en){ font-size:12.5px; font-weight:500 }
.hm-root .hm-nav-sub:lang(en){ font-size:14.5px }
.hm-root .hm-drawer-link:lang(en){ font-size:13.5px }
.hm-root .hm-drawer-label:lang(en){ font-size:11.5px; letter-spacing:.1em }
.hm-root .hm-btn:lang(en){ font-size:13px; font-weight:600 }
.hm-root .hm-btn--lg:lang(en){ font-size:13.5px }
.hm-root .hm-header .hm-btn:lang(en){ font-size:12.5px }
.hm-root :is(.hm-seg-btn, .hm-cycle-btn):lang(en){ font-size:12.5px; font-weight:500 }
.hm-root .hm-eyebrow:lang(en){ font-size:12px; font-weight:500 }
.hm-root :is(.hm-rec-badge, .hm-draft-badge, .hm-illus-badge, .hm-mini-badge, .hm-sf-badge, .hm-sf-status, .hm-stage-tag, .hm-live-chip, .hm-add-chip):lang(en){ font-size:10.5px; font-weight:600 }
.hm-root .hm-text-link:lang(en){ font-size:13.5px; font-weight:500 }

/* ---- Lordicon PRO slots — no layout of their own until an asset exists ---- */
.hm-lord-slot{ display:inline-flex; align-items:center; justify-content:center }

.hm-skip{ position:absolute; left:16px; top:-60px; z-index:80; padding:10px 14px; border-radius:var(--hm-r-sm);
  background:var(--hm-surface-2); color:var(--hm-text); border:1px solid var(--hm-line-2); transition:top var(--hm-d-micro) var(--hm-ease) }
.hm-skip:focus{ top:12px }

/* ---- R2.2c ambient background — dark glassmorphism ground ----
   Fixed layer under <main>: near-black navy · slow blooms · faint grid · film grain · vignette +
   a calmer zone behind the copy. The line motif is the dashed connection network defined in the
   ECOSYSTEM-LEGAL-FAQ-R1 block (the ribbon bundle that used to live here was removed). */
.hm-amb{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; contain:strict;
  background:
    radial-gradient(80% 58% at 80% 16%, rgba(24,48,104,.5) 0%, rgba(24,48,104,0) 62%),
    linear-gradient(180deg, #050914 0%, var(--hm-bg) 55%, #02040A 100%) }
.hm-amb-grid{ position:absolute; inset:0;
  background-image:linear-gradient(to right, var(--hm-amb-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hm-amb-grid) 1px, transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(ellipse 90% 75% at 50% 26%, #000 14%, transparent 78%);
  mask-image:radial-gradient(ellipse 90% 75% at 50% 26%, #000 14%, transparent 78%) }
.hm-amb-bloom{ position:absolute; border-radius:50% }
.hm-amb-bloom--a{ top:-30vh; left:-18vw; width:62vw; height:62vw; max-width:940px; max-height:940px;
  background:radial-gradient(circle, var(--hm-amb-bloom-a) 0%, transparent 64%) }
.hm-amb-bloom--b{ top:6vh; right:-16vw; width:64vw; height:64vw; max-width:980px; max-height:980px;
  background:radial-gradient(circle, var(--hm-amb-bloom-b) 0%, transparent 62%) }
.hm-amb-scrim{ position:absolute; inset:0; background:var(--hm-amb-scrim) }
.hm-amb-grain{ position:absolute; inset:0; background-image:var(--hm-amb-grain); background-size:200px 200px; opacity:var(--hm-amb-grain-o) }
@media (prefers-reduced-motion:no-preference){
  .hm-amb-bloom--a{ animation:hm-amb-drift-a 46s ease-in-out infinite alternate }
  .hm-amb-bloom--b{ animation:hm-amb-drift-b 58s ease-in-out infinite alternate }
}
@keyframes hm-amb-drift-a{ to{ transform:translate3d(6vw,5vh,0) scale(1.06) } }
@keyframes hm-amb-drift-b{ to{ transform:translate3d(-5vw,-4vh,0) scale(1.05) } }
@media (max-width:599px){
  .hm-amb-grid{ background-size:44px 44px }
}
.hm-root main{ position:relative; z-index:1; max-width:1180px; margin:0 auto; padding:0 24px }
.hm-root main:focus{ outline:none }

/* ---- Buttons / links ---- */
.hm-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 18px;
  border-radius:12px; font-weight:600; font-size:15px; line-height:1; cursor:pointer; white-space:nowrap;
  border:1px solid transparent; transition:transform var(--hm-d-micro) var(--hm-ease), box-shadow var(--hm-d-comp) var(--hm-ease), background-color var(--hm-d-comp) var(--hm-ease), border-color var(--hm-d-comp) var(--hm-ease) }
.hm-btn--lg{ min-height:52px; padding:0 24px; font-size:16px; border-radius:14px }
.hm-btn--block{ width:100% }
.hm-btn--primary{ background:var(--hm-grad); color:var(--hm-ink); box-shadow:var(--hm-glow) }
.hm-btn--primary:hover{ transform:translateY(-1px); box-shadow:0 14px 40px -14px rgba(34,211,238,.6) }
.hm-btn--primary:active{ transform:translateY(0) scale(.98) }
.hm-btn--ghost{ background:rgba(255,255,255,.04); color:var(--hm-text); border-color:var(--hm-line-2) }
.hm-btn--ghost:hover{ border-color:rgba(110,168,255,.55); background:rgba(59,130,246,.08) }
.hm-btn--ghost:active,.hm-btn--soft:active{ transform:scale(.98) }
.hm-btn--soft{ background:rgba(59,130,246,.1); color:var(--hm-text); border-color:rgba(110,168,255,.28) }
.hm-btn--soft:hover{ background:rgba(59,130,246,.16); border-color:rgba(110,168,255,.5) }
.hm-btn-arrow{ display:inline-flex; transition:transform var(--hm-d-micro) var(--hm-ease) }
.hm-btn:hover .hm-btn-arrow{ transform:translateX(3px) }
.hm-play{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%;
  background:rgba(34,211,238,.14); color:var(--hm-cyan) }
.hm-text-link{ display:inline-flex; align-items:center; gap:6px; color:var(--hm-cyan); font-weight:600; min-height:32px }
.hm-text-link span{ display:inline-flex; transition:transform var(--hm-d-micro) var(--hm-ease) }
.hm-text-link:hover span{ transform:translateX(3px) }
.hm-icon{ display:inline-flex; align-items:center; justify-content:center; flex-shrink:0 }
.hm-caret{ display:inline-flex; transition:transform var(--hm-d-comp) var(--hm-ease) }
.hm-live-dot{ display:inline-block; flex-shrink:0; width:7px; height:7px; border-radius:50%; background:var(--hm-jade); box-shadow:0 0 0 3px rgba(0,244,203,.14) }

/* =============================================================
   Header-H2 — floating glass navbar
   ============================================================= */
.hm-header{ position:sticky; top:0; z-index:60; padding:12px 16px 0 }
.hm-header-bar{ position:relative; max-width:1180px; margin:0 auto; height:var(--hm-header-h); display:flex; align-items:center; gap:12px;
  padding:0 10px 0 16px; border-radius:18px;
  background:rgba(9,16,33,.6); border:1px solid var(--hm-line);
  -webkit-backdrop-filter:blur(14px) saturate(140%); backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 8px 28px -18px rgba(0,0,0,.7);
  transition:background-color var(--hm-d-comp) var(--hm-ease), border-color var(--hm-d-comp) var(--hm-ease), box-shadow var(--hm-d-comp) var(--hm-ease) }
.hm-header.is-scrolled .hm-header-bar{ background:rgba(9,16,33,.84); border-color:var(--hm-line-2); box-shadow:0 14px 40px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(59,130,246,.06) }
.hm-logo{ display:flex; align-items:center; flex-shrink:0; border-radius:10px }
.hm-logo-img{ display:block; height:36px; width:auto; max-width:none; aspect-ratio:592 / 160 }
.hm-nav{ flex:1; display:flex; justify-content:center }
.hm-nav-list{ display:flex; align-items:center; gap:2px }
.hm-nav-item{ position:relative }
.hm-nav-top{ display:inline-flex; align-items:center; gap:4px; min-height:40px; padding:0 12px; border-radius:999px;
  font:inherit; font-size:14.5px; font-weight:500; color:var(--hm-text-2); background:none; border:0; cursor:pointer;
  transition:color var(--hm-d-micro) var(--hm-ease), background-color var(--hm-d-micro) var(--hm-ease) }
.hm-nav-top:hover,.hm-nav-item.is-open .hm-nav-top{ color:var(--hm-text); background:rgba(255,255,255,.05) }
.hm-nav-item.is-open .hm-caret{ transform:rotate(180deg) }
.hm-root .hm-nav-top:focus-visible{ border-radius:999px }
/* R3 (Owner 2026-11-29): roomy dropdown — 232 px navy panel (light: white), 16 px radius, plain 16 px rows of 46 px */
.hm-nav-panel{ position:absolute; top:calc(100% + 8px); left:50%; min-width:232px; width:max-content; max-width:320px; padding:6px; z-index:5;
  border:1px solid var(--hm-line); border-radius:16px;
  opacity:0; visibility:hidden; transform:translate(-50%,-6px) scale(.98); transform-origin:top center;
  transition:opacity var(--hm-d-comp) var(--hm-ease), transform var(--hm-d-comp) var(--hm-ease), visibility 0s linear var(--hm-d-comp) }
.hm-nav-item.is-open .hm-nav-panel{ opacity:1; visibility:visible; transform:translate(-50%,0) scale(1); transition-delay:0s }
.hm-nav-sub{ display:flex; align-items:center; gap:6px; min-height:46px; padding:0 18px; border-radius:10px;
  font-size:16px; font-weight:400; line-height:1.4; color:var(--hm-text-2);
  transition:color var(--hm-d-micro) var(--hm-ease), background-color var(--hm-d-micro) var(--hm-ease) }
.hm-nav-sub:hover,.hm-nav-sub:focus-visible{ color:var(--hm-text); background:var(--hm-menu-hover) }
.hm-nav-sub:focus-visible{ outline-offset:-2px; border-radius:10px }
.hm-nav-sub[aria-current="page"]{ color:var(--hm-text) }
/* R4 (Owner 2026-11-29): Product = a wide panel under the bar (reference: Linear's header). It spans the
   bar (positioned on .hm-header-bar, not the trigger), one column per item split by hairlines,
   each column a title + one-line description. Same fade as before; reduced motion = instant. */
.hm-nav-item--wide{ position:static }
.hm-nav-mega{ left:0; right:0; min-width:0; width:auto; max-width:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  padding:10px; border-radius:16px; transform:translateY(-6px); transform-origin:top center }
.hm-nav-item.is-open .hm-nav-mega{ transform:none }
/* Six items in a 3-column grid = two rows. Hairlines run between the columns of each row (never before a
   row's first item) and one full-width hairline separates the rows (drawn by the row's first item
   across all three columns). */
.hm-nav-mega > li{ position:relative; display:flex; padding:0 8px }
.hm-nav-mega > li:not(:nth-child(3n+1)){ border-left:1px solid var(--hm-line) }
.hm-nav-mega > li:nth-child(3n+1){ padding-left:0 }
.hm-nav-mega > li:nth-child(3n){ padding-right:0 }
.hm-nav-mega > li:nth-child(n+4){ margin-top:8px; padding-top:8px }
.hm-nav-mega > li:nth-child(3n+4)::before{ content:''; position:absolute; top:0; left:0; width:300%; height:1px; background:var(--hm-line) }
.hm-nav-card{ display:grid; grid-template-columns:18px minmax(0,1fr); column-gap:10px; row-gap:6px; align-content:start;
  width:100%; padding:16px 18px 18px; border-radius:10px;
  transition:background-color var(--hm-d-micro) var(--hm-ease) }
/* icon sits on the title's first line (its box = one title line high); the description indents to the title */
.hm-nav-card-i{ grid-column:1; grid-row:1; display:flex; align-items:center; height:1.35em; font-size:16px }
.hm-nav-card-i--blue{ color:var(--hm-blue-l) }
.hm-nav-card-i--amber{ color:var(--hm-amber) }
.hm-nav-card-i--jade{ color:var(--hm-jade) }
.hm-nav-card-i--azure{ color:#5AB8FF }   /* /ads-tracking (blue → cyan); light theme below */
.hm-nav-card-i--cyan{ color:var(--hm-cyan) }
.hm-root[data-hm-theme="light"] .hm-nav-card-i--azure{ color:#0B5C8A }
.hm-nav-card-t{ grid-column:2; grid-row:1; font-size:16px; font-weight:500; line-height:1.35; color:var(--hm-text) }
.hm-nav-card-d{ grid-column:2; grid-row:2; font-size:14px; line-height:1.55; color:var(--hm-muted); text-wrap:pretty;
  transition:color var(--hm-d-micro) var(--hm-ease) }
.hm-root .hm-nav-card-t:lang(en),.hm-root .hm-nav-card-i:lang(en){ font-size:15px }
.hm-root .hm-nav-card-t:lang(en){ letter-spacing:-.005em }
.hm-nav-card:hover,.hm-nav-card:focus-visible,.hm-nav-card[aria-current="page"]{ background:var(--hm-menu-hover) }
.hm-nav-card:hover .hm-nav-card-d,.hm-nav-card:focus-visible .hm-nav-card-d{ color:var(--hm-text-2) }
.hm-nav-card:focus-visible{ outline-offset:-2px; border-radius:10px }
/* R6 (Owner 2026-11-29): a feature that is not out yet — muted, not a link, with a badge */
.hm-nav-card.is-soon{ grid-template-columns:18px auto minmax(0,1fr); cursor:default }
.hm-nav-card.is-soon:hover{ background:none }
.hm-nav-card.is-soon:hover .hm-nav-card-d{ color:var(--hm-muted) }
.hm-nav-card.is-soon .hm-nav-card-t,.hm-nav-card-i--soon{ color:var(--hm-text-2) }
.hm-nav-card.is-soon .hm-nav-card-d{ grid-column:2 / -1 }
.hm-nav-card.is-soon .hm-nav-soon{ grid-column:3; grid-row:1; justify-self:start }
.hm-nav-soon{ align-self:center; padding:3px 8px; border-radius:999px; border:1px solid var(--hm-line-2); background:var(--hm-tint);
  font-size:11.5px; font-weight:500; line-height:1.3; color:var(--hm-text-2); white-space:nowrap }
.hm-ext{ display:inline-flex; color:var(--hm-muted) }
.hm-header-actions{ display:flex; align-items:center; gap:8px; margin-left:auto }
.hm-header-ctas{ display:flex; align-items:center; gap:6px }
.hm-link-login{ display:inline-flex; align-items:center; min-height:40px; padding:0 12px; border-radius:10px; font-size:14.5px; font-weight:500; color:var(--hm-text-2);
  transition:color var(--hm-d-micro) var(--hm-ease) }
.hm-link-login:hover{ color:var(--hm-text) }
.hm-header .hm-btn{ min-height:40px; font-size:14.5px; padding:0 16px; border-radius:11px }
.hm-burger,.hm-icon-btn{ display:none; width:44px; height:44px; align-items:center; justify-content:center; border-radius:12px;
  background:rgba(255,255,255,.05); border:1px solid var(--hm-line); color:var(--hm-text); cursor:pointer }
.hm-icon-btn{ display:inline-flex }
.hm-burger:active,.hm-icon-btn:active{ transform:scale(.96) }

/* ---- Language dropdown (LOCKED spec) ---- */
.hm-lang{ position:relative }
.hm-lang-trigger{ display:inline-flex; align-items:center; gap:4px; min-height:40px; min-width:62px; padding:0 10px 0 12px; border-radius:10px;
  font:inherit; font-size:14px; font-weight:600; letter-spacing:.02em; color:var(--hm-text); cursor:pointer;
  background:rgba(255,255,255,.04); border:1px solid var(--hm-line);
  transition:border-color var(--hm-d-micro) var(--hm-ease), background-color var(--hm-d-micro) var(--hm-ease) }
.hm-lang-trigger:hover,.hm-lang.is-open .hm-lang-trigger{ border-color:rgba(110,168,255,.55); background:rgba(59,130,246,.1) }
.hm-lang.is-open .hm-caret{ transform:rotate(180deg) }
.hm-lang-list{ position:absolute; top:calc(100% + 8px); right:0; min-width:168px; padding:6px; z-index:10;
  background:rgba(13,21,40,.98); border:1px solid rgba(110,168,255,.3); border-radius:var(--hm-r);
  box-shadow:0 18px 40px -16px rgba(0,0,0,.85);
  opacity:0; visibility:hidden; transform:translateY(-6px) scale(.98); transform-origin:top right;
  transition:opacity 200ms var(--hm-ease), transform 200ms var(--hm-ease), visibility 0s linear 200ms }
.hm-lang.is-open .hm-lang-list{ opacity:1; visibility:visible; transform:none; transition-delay:0s }
.hm-lang--up .hm-lang-list{ top:auto; bottom:calc(100% + 8px); transform:translateY(6px) scale(.98); transform-origin:bottom right }
.hm-lang--up.is-open .hm-lang-list{ transform:none }
.hm-lang-opt{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:0 12px; border-radius:10px;
  font-size:15px; color:var(--hm-text-2); cursor:pointer; outline:none;
  transition:background-color var(--hm-d-micro) var(--hm-ease), color var(--hm-d-micro) var(--hm-ease) }
.hm-lang-opt:hover,.hm-lang-opt:focus{ background:rgba(59,130,246,.14); color:var(--hm-text) }
.hm-lang-opt:focus-visible{ box-shadow:inset 0 0 0 2px var(--hm-cyan) }
.hm-lang-opt.is-selected{ color:var(--hm-text); font-weight:600 }
.hm-lang-check{ display:inline-flex; width:16px; color:var(--hm-jade) }

/* ---- Mobile drawer ---- */
.hm-scrim{ position:fixed; inset:0; z-index:70; background:rgba(2,6,16,.72); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
  opacity:0; pointer-events:none; transition:opacity var(--hm-d-comp) var(--hm-ease) }
.hm-scrim.is-open{ opacity:1; pointer-events:auto }
.hm-drawer{ position:fixed; top:0; right:0; z-index:75; width:min(360px,90vw); height:100vh; height:100svh;
  display:flex; flex-direction:column; background:var(--hm-surface); border-left:1px solid var(--hm-line-2);
  overscroll-behavior:contain; visibility:hidden; transform:translateX(100%);
  transition:transform 280ms var(--hm-ease), visibility 0s linear 280ms }
.hm-drawer.is-open{ visibility:visible; transform:none; transition:transform 280ms var(--hm-ease) }
.hm-drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid var(--hm-line) }
.hm-drawer-head .hm-logo-img{ height:32px }
.hm-drawer-nav{ flex:1; overflow-y:auto; padding:10px 16px 16px }
.hm-drawer-group{ padding:10px 0 6px; border-bottom:1px solid var(--hm-line) }
/* R4 (Owner 2026-11-29): the group heading reads as a label, not a row — leading rule, smaller, muted,
   a little tracking (Thai); the :lang(en) rule above makes it the uppercase mono label */
.hm-drawer-label{ display:flex; align-items:center; gap:8px; font-size:13px; font-weight:500; letter-spacing:.02em; line-height:1.4;
  color:var(--hm-muted); margin:2px 0 6px 10px }
.hm-drawer-label::before{ content:''; flex:none; width:12px; height:1px; background:currentColor }
/* Pricing / Contact = the same row as the product items (R4: no bold) */
.hm-drawer-link,.hm-drawer-top{ display:flex; align-items:center; gap:6px; min-height:46px; padding:0 10px; border-radius:10px; font-size:16px; color:var(--hm-text-2) }
.hm-drawer-top{ margin-top:6px }
.hm-drawer-link.is-soon,.hm-drawer-link.is-soon:active{ gap:10px; background:none; color:var(--hm-muted) }
.hm-drawer-social{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:8px }
.hm-drawer-sc{ display:flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:0 12px; border-radius:12px;
  border:1px solid var(--hm-line-2); background:var(--hm-tint); color:var(--hm-text); font-size:15px; font-weight:600; line-height:1;
  transition:background-color var(--hm-d-micro) var(--hm-ease), border-color var(--hm-d-micro) var(--hm-ease) }
.hm-drawer-sc--line:hover,.hm-drawer-sc--line:active{ border-color:rgba(0,195,0,.55); background:rgba(0,195,0,.08) }
.hm-drawer-sc--telegram:hover,.hm-drawer-sc--telegram:active{ border-color:rgba(38,165,228,.6); background:rgba(38,165,228,.09) }
.hm-root .hm-drawer-sc:focus-visible{ outline:2px solid var(--hm-cyan); outline-offset:2px; border-radius:12px }
.hm-drawer-link:active,.hm-drawer-top:active{ background:rgba(59,130,246,.14); color:var(--hm-text) }
.hm-drawer-foot{ padding:14px 16px 20px; border-top:1px solid var(--hm-line); display:grid; gap:12px }
/* V-7 — language sits at the top of the drawer and expands inline (in flow), so it can
   never cover the navigation links. interpolate-size = progressive enhancement: other
   engines jump to the open size instantly. */
.hm-drawer-lang{ display:grid; grid-template-columns:1fr auto; align-items:center; column-gap:12px; padding:10px 16px 12px;
  border-bottom:1px solid var(--hm-line); color:var(--hm-text-2); font-size:14.5px }
.hm-lang--inline{ display:contents }
.hm-lang--inline .hm-lang-trigger{ min-height:44px }
.hm-lang--inline .hm-lang-list{ position:static; grid-column:1 / -1; min-width:0; margin-top:0; padding:0 6px;
  box-shadow:none; background:rgba(255,255,255,.03); border-width:0; transform:none;
  interpolate-size:allow-keywords; block-size:0; overflow:hidden;
  transition:block-size var(--hm-d-comp) var(--hm-ease), opacity var(--hm-d-comp) var(--hm-ease), margin-top var(--hm-d-comp) var(--hm-ease), padding var(--hm-d-comp) var(--hm-ease), visibility 0s linear var(--hm-d-comp) }
.hm-lang--inline.is-open .hm-lang-list{ block-size:auto; margin-top:10px; padding:6px; border-width:1px; border-color:var(--hm-line-2); transform:none; transition-delay:0s }
.hm-drawer-ctas{ display:grid; gap:10px }
.hm-drawer-ctas .hm-btn{ width:100% }

/* =============================================================
   Shared section pieces
   ============================================================= */
.hm-section{ padding:104px 0 0; scroll-margin-top:96px }
.hm-eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; letter-spacing:.04em; color:var(--hm-cyan); margin-bottom:14px }
.hm-h1{ font-size:clamp(36px,4.6vw,60px); line-height:1.08; letter-spacing:-.035em; font-weight:700; text-wrap:balance }
.hm-root:lang(th) .hm-h1{ line-height:1.18; letter-spacing:-.02em }
/* V-2 — each headline phrase is its own balanced block (a <br> used to stop balancing
   across the break and left "place" alone on the last line). EN runs a size step smaller. */
.hm-h1-line{ display:block; text-wrap:balance }
.hm-h1-line.hm-grad-text{ width:fit-content; max-width:100% }
.hm-root:lang(en) .hm-h1{ font-size:clamp(34px,4.1vw,54px); letter-spacing:-.03em }
.hm-h2{ font-size:clamp(28px,3.6vw,44px); line-height:1.15; text-wrap:balance }
.hm-root:lang(th) .hm-h2{ line-height:1.28 }
.hm-h3{ font-size:20px }
.hm-h4{ font-size:16px; font-weight:600; letter-spacing:-.01em }
.hm-lead{ margin-top:14px; font-size:17px; line-height:1.7; color:var(--hm-text-2); max-width:560px; text-wrap:pretty }
.hm-head--center{ text-align:center; display:flex; flex-direction:column; align-items:center }
.hm-head--center .hm-lead{ max-width:620px }
.hm-grad-text{ background:var(--hm-grad); -webkit-background-clip:text; background-clip:text; color:transparent }
.hm-check{ display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; flex-shrink:0;
  background:rgba(0,244,203,.12); color:var(--hm-jade) }
.hm-points{ margin-top:24px; display:grid; gap:12px }
.hm-points li{ display:flex; align-items:center; gap:10px; color:var(--hm-text); font-size:15.5px }
.hm-footnote{ margin-top:18px; font-size:13.5px; color:var(--hm-muted) }
.hm-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px }
.hm-chips li{ padding:7px 12px; border-radius:999px; font-size:13.5px; color:var(--hm-text-2); background:rgba(59,130,246,.08); border:1px solid rgba(110,168,255,.22) }

/* ---- Visual frame ---- */
.hm-visual{ position:relative; border-radius:var(--hm-r-xl); border:1px solid var(--hm-line);
  background:linear-gradient(180deg, rgba(19,29,53,.92), rgba(10,17,34,.94)); box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 30px 70px -40px rgba(0,0,0,.95); overflow:hidden }
.hm-visual-inner{ position:relative; padding:28px }

/* =============================================================
   Hero
   ============================================================= */
.hm-hero{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr); align-items:center; gap:48px; padding:72px 0 24px }
.hm-hero-sub{ margin-top:20px; font-size:18px; line-height:1.7; color:var(--hm-text-2); max-width:560px; text-wrap:pretty }
.hm-hero-ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px }
.hm-hero-note{ margin-top:16px; font-size:14px; color:var(--hm-muted) }

/* hero entrance (above the fold only) */
@keyframes hm-in{ from{ opacity:0; transform:translateY(12px) } to{ opacity:1; transform:none } }
.hm-in{ animation:hm-in var(--hm-d-section) var(--hm-ease) both; animation-delay:var(--hm-d,0ms) }

/* =============================================================
   Workflow sections
   ============================================================= */
.hm-flow-section{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); align-items:center; gap:64px }
.hm-flow-section.is-flip .hm-flow-copy{ order:2 }
.hm-flow-section.is-flip .hm-flow-art{ order:1 }

/* Build */
.hm-stages{ display:flex; align-items:center; justify-content:space-between; gap:8px }
.hm-stage{ flex:1; display:flex; flex-direction:column; align-items:center; gap:10px; min-width:0 }
.hm-stage-arrow{ color:var(--hm-muted); display:flex }
.hm-stage-tag{ font-size:12.5px; font-weight:600; color:var(--hm-text-2); padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.05); border:1px solid var(--hm-line) }
.hm-stage-tag.is-jade{ color:var(--hm-jade); border-color:rgba(0,244,203,.3); background:rgba(0,244,203,.08) }
.hm-phone{ position:relative; width:100%; max-width:150px; aspect-ratio:9/15; border-radius:18px; padding:12px 10px; display:flex; flex-direction:column; gap:7px;
  background:#0A1224; border:1px solid var(--hm-line-2) }
.hm-phone--blank{ align-items:center; justify-content:center; border-style:dashed; gap:8px }
.hm-plus{ display:flex; width:34px; height:34px; align-items:center; justify-content:center; border-radius:10px; color:var(--hm-muted); border:1px dashed var(--hm-line-2) }
.hm-phone-caption{ font-size:11.5px; color:var(--hm-muted) }
.hm-blk{ display:flex; align-items:center; gap:5px; border-radius:7px; background:rgba(59,130,246,.1); border:1px solid rgba(110,168,255,.2); color:var(--hm-text-2); font-size:10.5px; padding:0 6px }
.hm-blk--img{ height:30%; justify-content:center; flex-direction:column; gap:2px }
.hm-blk--h{ height:18px }
.hm-blk--txt{ height:26px; background:repeating-linear-gradient(180deg, rgba(186,198,218,.18) 0 3px, transparent 3px 8px); border:0 }
.hm-blk--btn{ height:22px; justify-content:center; background:var(--hm-grad); color:var(--hm-ink); font-weight:600; border:0 }
.hm-blk.is-filled{ background:linear-gradient(135deg, rgba(59,130,246,.35), rgba(34,211,238,.2)) }
.hm-blk--btn.is-filled{ background:var(--hm-grad) }
.hm-add-chip,.hm-live-chip{ position:absolute; left:50%; bottom:-11px; transform:translateX(-50%); display:inline-flex; align-items:center; gap:4px; white-space:nowrap;
  font-size:10.5px; font-weight:600; padding:3px 8px; border-radius:999px }
.hm-add-chip{ color:var(--hm-cyan); background:#0D1B33; border:1px solid rgba(34,211,238,.4) }
.hm-live-chip{ color:var(--hm-ink); background:var(--hm-jade) }
.hm-url{ display:flex; align-items:center; gap:5px; font-family:var(--hm-mono); font-size:9.5px; color:var(--hm-text-2); overflow:hidden; white-space:nowrap; text-overflow:ellipsis }
.hm-phone--live{ border-color:rgba(0,244,203,.35); box-shadow:0 0 0 4px rgba(0,244,203,.05) }

/* Connect — links */
.hm-lflow{ display:flex; flex-direction:column; align-items:center; gap:10px }
.hm-lf-long{ width:100%; display:flex; align-items:center; gap:8px; padding:10px 12px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid var(--hm-line); color:var(--hm-muted); font-size:12px }
.hm-lf-long .hm-mono{ overflow:hidden; white-space:nowrap; text-overflow:ellipsis; min-width:0 }
/* connector wires with a travelling pulse (replaces the R1 chevrons) */
.hm-lf-wire{ position:relative; display:block; width:2px; height:26px; border-radius:2px; background:rgba(110,168,255,.3); overflow:visible }
.hm-lf-pulse{ position:absolute; left:-3px; top:0; width:8px; height:8px; border-radius:50%; background:var(--hm-cyan); box-shadow:0 0 10px rgba(34,211,238,.75); opacity:0 }
.hm-lf-hub{ padding:9px 22px; border-radius:12px; background:var(--hm-grad); color:var(--hm-ink); font-weight:700; font-size:15px; box-shadow:var(--hm-glow) }
.hm-lf-short{ position:relative; display:flex; align-items:center; gap:10px; padding:10px 12px 10px 16px; border-radius:12px; background:#0E1830; border:1px solid rgba(34,211,238,.4); color:var(--hm-text); font-size:15px; font-weight:600 }
.hm-lf-sample{ font-size:11px; font-weight:500; color:var(--hm-muted) }
.hm-lf-copy{ display:inline-flex; padding:6px; border-radius:8px; color:var(--hm-cyan); background:rgba(34,211,238,.1) }
.hm-lf-tap{ position:absolute; right:12px; top:50%; width:30px; height:30px; margin-top:-15px; border-radius:50%; border:2px solid var(--hm-cyan); opacity:0; pointer-events:none }
.hm-lf-row{ width:100%; display:flex; align-items:flex-end; gap:14px; margin-top:6px; padding:12px 14px; border-radius:12px; background:rgba(255,255,255,.02); border:1px solid var(--hm-line) }
.hm-lf-click{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--hm-text-2); align-self:center }
.hm-lf-bars{ flex:1; display:flex; align-items:flex-end; gap:5px; height:48px }
.hm-lf-bars span{ flex:1; border-radius:4px 4px 0 0; background:linear-gradient(180deg, var(--hm-cyan), rgba(59,130,246,.5)); transform-origin:bottom }
.hm-lf-count{ font-size:12.5px; color:var(--hm-muted); align-self:center; white-space:nowrap }
.hm-lf-count strong{ color:var(--hm-text); font-size:15px }
.hm-pixels{ margin-top:30px; padding-top:24px; border-top:1px solid var(--hm-line); scroll-margin-top:110px }
.hm-pixels p{ margin-top:8px; color:var(--hm-text-2); font-size:15px }

/* Track — illustrative dashboard */
.hm-dash{ display:grid; gap:16px }
.hm-dash-top{ display:flex; justify-content:flex-end }
.hm-illus-badge{ font-size:12px; font-weight:600; padding:4px 10px; border-radius:999px; color:var(--hm-text-2); background:rgba(255,255,255,.06); border:1px dashed var(--hm-line-2) }
.hm-kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px }
.hm-kpi{ padding:12px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid var(--hm-line); display:grid; gap:4px }
.hm-kpi span{ font-size:12px; color:var(--hm-muted) }
.hm-kpi strong{ font-size:22px; font-weight:700; letter-spacing:-.02em; font-variant-numeric:tabular-nums }
.hm-kpi.is-jade strong{ color:var(--hm-jade) }
.hm-chart-wrap{ position:relative }
.hm-chart{ width:100%; height:110px; display:block }
.hm-chart-point{ position:absolute; width:9px; height:9px; margin:-4.5px 0 0 -4.5px; border-radius:50%; background:var(--hm-cyan); box-shadow:0 0 0 3px rgba(34,211,238,.18) }
.hm-chart-point::after{ content:""; position:absolute; inset:-6px; border-radius:50%; border:1.5px solid var(--hm-cyan); opacity:0 }
.hm-chart-line{ fill:none; stroke:var(--hm-cyan); stroke-width:2.2; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke }
/* V-3 — one clip reveals line + area together; final state = full chart (also reduced motion) */
.hm-chart-clip{ transform-box:fill-box; transform-origin:left center }
.hm-feed{ padding:12px 14px; border-radius:12px; background:rgba(255,255,255,.02); border:1px solid var(--hm-line) }
.hm-feed-title{ display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; color:var(--hm-text-2); margin-bottom:6px }
.hm-feed li{ display:flex; justify-content:space-between; gap:10px; padding:6px 0; font-size:13px; color:var(--hm-text-2); border-top:1px solid var(--hm-line) }
.hm-feed li:first-child{ border-top:0 }
.hm-feed time{ color:var(--hm-muted); white-space:nowrap; font-size:12px }

/* Scale — ad flow */
/* V-6 — vertical flow: one row per step so every label stays on one line and the visual's
   height balances the copy column (no dead space, no 3-line "Hilynk Tracking · CAPI"). */
.hm-sflow{ display:grid; gap:10px; position:relative }
.hm-sf-step{ position:relative; display:flex; align-items:center; gap:14px; padding:12px 16px; border-radius:14px; min-width:0;
  background:rgba(255,255,255,.03); border:1px solid var(--hm-line); font-size:15px; font-weight:600; color:var(--hm-text) }
.hm-sf-step:not(:last-child)::after{ content:""; position:absolute; left:33px; bottom:-11px; width:2px; height:10px; background:rgba(34,211,238,.55); transform-origin:top }
.hm-sf-text{ flex:1; min-width:0; display:grid; gap:1px }
.hm-sf-label{ min-width:0; overflow-wrap:anywhere }
.hm-sf-sub{ font-size:12.5px; font-weight:500; color:var(--hm-muted); overflow-wrap:anywhere }
.hm-sf-status{ display:inline-flex; align-items:center; gap:4px; flex-shrink:0; font-size:11.5px; font-weight:700; padding:4px 9px; border-radius:999px;
  color:var(--hm-ink); background:var(--hm-jade) }
.hm-sf-step.is-last{ border-color:rgba(0,244,203,.35) }
.hm-sf-step.is-last .hm-sf-ic{ background:rgba(0,244,203,.12); color:var(--hm-jade) }
.hm-sf-n{ font-family:var(--hm-mono); font-size:12px; font-weight:500; color:var(--hm-muted) }
.hm-sf-ic{ display:inline-flex; flex-shrink:0; width:36px; height:36px; align-items:center; justify-content:center; border-radius:11px; background:rgba(59,130,246,.14); color:var(--hm-blue-l) }
.hm-sf-step.is-hub{ background:linear-gradient(160deg, rgba(59,130,246,.22), rgba(34,211,238,.12)); border-color:rgba(110,168,255,.45) }
.hm-sf-step.is-hub .hm-sf-ic{ background:var(--hm-grad); color:var(--hm-ink) }
.hm-sf-badge{ display:inline-block; margin-top:16px; font-size:12px; font-weight:600; padding:4px 10px; border-radius:999px; color:var(--hm-cyan); background:rgba(34,211,238,.08); border:1px solid rgba(34,211,238,.3) }
.hm-scale-items{ margin-top:26px; display:grid; gap:16px }
.hm-scale-items li{ padding-left:14px; border-left:2px solid rgba(110,168,255,.35) }
.hm-scale-items p{ margin-top:4px; font-size:14.5px; color:var(--hm-text-2) }
.hm-mini-badge{ margin-left:8px; font-size:11px; font-weight:600; padding:2px 8px; border-radius:999px; vertical-align:2px; color:var(--hm-cyan); border:1px solid rgba(34,211,238,.35) }

/* =============================================================
   Ecosystem
   ============================================================= */
.hm-eco-grid{ margin-top:44px; display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--hm-line); border-left:1px solid var(--hm-line); border-radius:var(--hm-r-lg); overflow:hidden; background:rgba(10,17,34,.82) }
.hm-eco-item{ display:flex; gap:12px; align-items:flex-start; padding:20px; border-right:1px solid var(--hm-line); border-bottom:1px solid var(--hm-line);
  transition:background-color var(--hm-d-comp) var(--hm-ease) }
.hm-eco-item:hover{ background:rgba(59,130,246,.05) }
.hm-eco-item .hm-icon{ width:36px; height:36px; border-radius:11px; background:rgba(59,130,246,.12); color:var(--hm-blue-l) }
.hm-eco-item p{ margin-top:3px; font-size:14px; color:var(--hm-muted) }
.hm-paths{ margin-top:48px }
.hm-paths-title{ text-align:center }
.hm-paths-grid{ margin-top:20px; display:grid; grid-template-columns:1fr 1fr; gap:16px }
.hm-path{ padding:24px; border-radius:var(--hm-r-lg); border:1px solid var(--hm-line); background:rgba(13,21,40,.86); display:grid; gap:8px; align-content:start }
.hm-path.is-ads{ border-color:rgba(34,211,238,.28); background:linear-gradient(160deg, rgba(34,211,238,.06), transparent) }
.hm-path p{ color:var(--hm-text-2); font-size:15px }

/* =============================================================
   Pricing (DRAFT presentation)
   ============================================================= */
.hm-price-controls{ margin-top:36px; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px 16px }
.hm-seg,.hm-cycle{ display:inline-flex; padding:4px; border-radius:14px; background:rgba(255,255,255,.04); border:1px solid var(--hm-line) }
.hm-seg-btn,.hm-cycle-btn{ min-height:40px; padding:0 16px; border-radius:10px; font:inherit; font-size:14.5px; font-weight:600; color:var(--hm-text-2); background:none; border:0; cursor:pointer;
  transition:background-color var(--hm-d-comp) var(--hm-ease), color var(--hm-d-comp) var(--hm-ease) }
.hm-seg-btn.is-on{ background:var(--hm-grad); color:var(--hm-ink) }
.hm-cycle-btn.is-on{ background:rgba(59,130,246,.2); color:var(--hm-text) }
.hm-price-hint{ margin-top:16px; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; font-size:14px; color:var(--hm-muted); text-align:center }
.hm-draft-badge{ font-size:12px; font-weight:700; padding:3px 10px; border-radius:999px; color:#FBBF24; background:rgba(251,191,36,.1); border:1px solid rgba(251,191,36,.35) }
.hm-price-grid{ margin-top:28px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; align-items:stretch }
.hm-plan{ position:relative; display:flex; flex-direction:column; gap:18px; padding:24px 20px; border-radius:var(--hm-r-lg);
  background:var(--hm-surface); border:1px solid var(--hm-line) }
/* V-5 — fixed-height header row: the Recommended badge can no longer push price/features down */
.hm-plan-top{ display:flex; align-items:center; justify-content:space-between; gap:8px; height:28px }
.hm-plan-name{ font-size:18px; font-weight:700; line-height:28px }
.hm-rec-badge{ font-size:11.5px; font-weight:700; line-height:18px; padding:2px 9px; border-radius:999px; color:var(--hm-ink); background:var(--hm-grad) }
.hm-plan-price{ display:flex; align-items:baseline; flex-wrap:wrap; gap:6px }
.hm-plan-price strong{ font-size:32px; font-weight:700; letter-spacing:-.03em; font-variant-numeric:tabular-nums }
.hm-plan-price span{ font-size:13px; color:var(--hm-muted) }
.hm-plan-feats{ flex:1; display:grid; gap:9px; align-content:start }
.hm-plan-feats li{ display:flex; align-items:flex-start; gap:8px; font-size:14px; color:var(--hm-text-2); line-height:1.45 }
.hm-plan-feats .hm-check{ width:18px; height:18px; margin-top:1px }
.hm-plan-feats li.is-ads{ color:var(--hm-text); font-weight:600 }
.hm-plan-feats li.is-off{ color:var(--hm-muted) }
.hm-dash-mark{ display:inline-flex; width:18px; justify-content:center; flex-shrink:0 }
.hm-draft-note{ margin-top:20px; text-align:center; font-size:13.5px; color:var(--hm-muted) }

/* ---- R2.2 pricing motion + card polish (presentation only — data / state / CTA unchanged) ---- */
@property --hm-ang{ syntax:'<angle>'; inherits:false; initial-value:200deg }
@property --hm-rc1{ syntax:'<color>'; inherits:false; initial-value:rgba(148,172,220,.16) }
@property --hm-rc2{ syntax:'<color>'; inherits:false; initial-value:rgba(148,172,220,.16) }
@property --hm-rc3{ syntax:'<color>'; inherits:false; initial-value:rgba(148,172,220,.16) }
/* segmented controls: equal columns + one pill that slides to the active option */
.hm-seg,.hm-cycle{ position:relative; isolation:isolate; display:inline-grid; grid-template-columns:1fr 1fr; background:rgba(10,17,34,.9) }
.hm-seg::before,.hm-cycle::before{ content:''; position:absolute; z-index:-1; top:4px; bottom:4px; left:4px; width:calc(50% - 4px); border-radius:10px;
  transition:transform 380ms cubic-bezier(.3,1.25,.5,1) }
.hm-seg::before{ background:var(--hm-grad); box-shadow:0 8px 22px -10px rgba(34,211,238,.7) }
.hm-cycle::before{ background:rgba(59,130,246,.22); box-shadow:inset 0 0 0 1px rgba(110,168,255,.4) }
.hm-seg[data-hm-on="1"]::before,.hm-cycle[data-hm-on="1"]::before{ transform:translateX(100%) }
.hm-seg-btn.is-on,.hm-cycle-btn.is-on{ background:none }
.hm-seg-btn,.hm-cycle-btn{ padding:0 18px; transition:color 260ms var(--hm-ease), transform var(--hm-d-micro) var(--hm-ease) }
.hm-seg-btn.is-on{ color:var(--hm-ink) }
.hm-cycle-btn.is-on{ color:var(--hm-text) }
.hm-seg-btn:not(.is-on):hover,.hm-cycle-btn:not(.is-on):hover{ color:var(--hm-text) }
.hm-seg-btn:active,.hm-cycle-btn:active{ transform:scale(.97) }
/* hint row — narrow: badge above, both notes share one cell ⇒ constant height · wide: one line, as wide as the
   note that shows (the hidden one takes no room), so the badge stays next to the text */
.hm-hint-swap{ display:inline-grid; text-align:center }
/* the old note goes at once, only the new one fades in: the two never show together */
.hm-hint-swap > span{ grid-area:1 / 1; opacity:0; transform:translateY(4px); visibility:hidden }
.hm-hint-swap > span.is-on{ opacity:1; transform:none; visibility:visible;
  transition:opacity 240ms var(--hm-ease), transform 240ms var(--hm-ease) }
@media (max-width:719.98px){ .hm-price-hint{ flex-direction:column } }
@media (min-width:720px){
  .hm-hint-swap{ position:relative; display:inline-block }
  .hm-hint-swap > span:not(.is-on){ position:absolute; top:0; left:0; white-space:nowrap }
}
/* cards: gradient ring (colours + angle are registered properties ⇒ they transition) */
.hm-plan{ border:1px solid transparent; gap:16px; padding:24px 20px 20px;
  background:linear-gradient(180deg, #111B33 0%, #0C1428 100%) padding-box,
    conic-gradient(from var(--hm-ang), var(--hm-rc1), var(--hm-rc2), var(--hm-rc3), var(--hm-rc1)) border-box;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 20px 44px -34px rgba(0,0,0,.95);
  transition:transform 340ms var(--hm-ease), box-shadow 340ms var(--hm-ease), --hm-rc1 340ms var(--hm-ease), --hm-rc2 340ms var(--hm-ease), --hm-rc3 340ms var(--hm-ease) }
.hm-plan.is-rec{ --hm-rc1:rgba(34,211,238,.9); --hm-rc2:rgba(59,130,246,.75); --hm-rc3:rgba(0,244,203,.8);
  background:linear-gradient(170deg, #14264D 0%, #0E1934 52%, #0C1428 100%) padding-box,
    conic-gradient(from var(--hm-ang), var(--hm-rc1), var(--hm-rc2), var(--hm-rc3), var(--hm-rc1)) border-box;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 4px rgba(34,211,238,.06), 0 28px 64px -34px rgba(34,211,238,.5) }
.hm-plan.is-rec::after{ content:''; position:absolute; top:-1px; left:22%; right:22%; height:2px; border-radius:2px; pointer-events:none;
  background:linear-gradient(90deg, rgba(34,211,238,0), #22D3EE 30%, #2EE6FF 70%, rgba(0,244,203,0)); box-shadow:0 0 16px rgba(34,211,238,.65) }
.hm-plan-name{ letter-spacing:-.01em }
.hm-plan-price strong{ font-size:34px; display:inline-block }
.hm-plan-price span{ display:inline-block }
.hm-plan-feats{ padding-top:16px; border-top:1px solid var(--hm-line) }
.hm-plan-cta{ min-height:46px; border-radius:12px }
.hm-plan-cta .hm-btn-arrow{ transition:transform 260ms var(--hm-ease) }
.hm-plan:focus-within{ --hm-rc1:rgba(34,211,238,.9); --hm-rc2:rgba(59,130,246,.7); --hm-rc3:rgba(0,244,203,.75) }
@media (hover:hover) and (pointer:fine){
  .hm-plan:hover{ transform:translateY(-4px); --hm-rc1:#22D3EE; --hm-rc2:#3B82F6; --hm-rc3:#2EE6FF;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -32px rgba(34,211,238,.45) }
  .hm-plan:hover .hm-btn-arrow{ transform:translateX(3px) }
  .hm-plan:hover .hm-btn--soft{ background:rgba(59,130,246,.2); border-color:rgba(110,168,255,.6) }
}
@media (prefers-reduced-motion:no-preference){
  /* new family ⇒ cards enter with a short stagger; new cycle ⇒ the price swaps in.
     fill-mode backwards: nothing is held after the entrance, so hover transforms still work. */
  .hm-plan-price strong,.hm-plan-price span{ animation:hm-price-in 340ms var(--hm-ease) backwards }
  @media (hover:hover) and (pointer:fine){ .hm-price-grid .hm-plan:hover{ animation-play-state:running, running } }
}
@keyframes hm-plan-in{ from{ opacity:0; transform:translateY(12px) scale(.985) } to{ opacity:1; transform:none } }
@keyframes hm-price-in{ from{ opacity:0; transform:translateY(.45em) } to{ opacity:1; transform:none } }
@keyframes hm-ring-spin{ from{ --hm-ang:200deg } to{ --hm-ang:560deg } }

/* =============================================================
   Trust + FAQ
   ============================================================= */
.hm-faq{ display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:56px; align-items:start }
.hm-trust{ padding:26px; border-radius:var(--hm-r-lg); border:1px solid var(--hm-line); background:rgba(13,21,40,.86) }
.hm-trust ul{ margin-top:18px; display:grid; gap:18px }
.hm-trust li{ display:flex; gap:12px }
.hm-trust .hm-icon{ width:34px; height:34px; border-radius:10px; background:rgba(0,244,203,.1); color:var(--hm-jade) }
.hm-trust p{ margin-top:3px; font-size:14px; color:var(--hm-muted) }
.hm-faq-list{ margin-top:24px; border-top:1px solid var(--hm-line) }
.hm-faq-item{ border-bottom:1px solid var(--hm-line) }
.hm-faq-q{ font-size:inherit }
.hm-faq-q button{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:60px; padding:14px 2px;
  font:inherit; font-size:16.5px; font-weight:600; text-align:left; color:var(--hm-text); background:none; border:0; cursor:pointer }
.hm-faq-q .hm-caret{ color:var(--hm-cyan) }
.hm-faq-item.is-open .hm-caret{ transform:rotate(180deg) }
.hm-faq-a p{ padding:0 32px 18px 2px; color:var(--hm-text-2); font-size:15px; line-height:1.75 }

/* =============================================================
   Final CTA + footer
   ============================================================= */
.hm-final{ margin:112px 0 0; padding:56px 28px; text-align:center; border-radius:var(--hm-r-xl); border:1px solid rgba(110,168,255,.28);
  background:radial-gradient(70% 90% at 50% 0%, rgba(59,130,246,.2), transparent 70%), var(--hm-bg-2);
  display:flex; flex-direction:column; align-items:center }
.hm-final .hm-hero-ctas{ justify-content:center }
.hm-footer{ position:relative; z-index:1; max-width:1180px; margin:0 auto; padding:72px 24px 32px }
.hm-foot-grid{ display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:32px; padding-bottom:32px; border-bottom:1px solid var(--hm-line) }
.hm-foot-brand .hm-logo-img{ height:36px }
.hm-foot-brand p{ margin-top:12px; font-size:14px; color:var(--hm-muted); max-width:300px }
.hm-foot-lang{ margin-top:18px; display:flex; align-items:center; gap:10px; font-size:14px; color:var(--hm-text-2) }
.hm-foot-lang .hm-lang-list{ right:auto; left:0; transform-origin:bottom left }
.hm-foot-h{ font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--hm-muted); margin-bottom:10px }
.hm-foot-h:lang(th){ font-size:14px; letter-spacing:0; text-transform:none }   /* Thai headings: no caps / tracking (EN keeps the uppercase mono label rule) */
.hm-foot-link{ display:inline-flex; align-items:center; gap:6px; min-height:36px; font-size:14.5px; color:var(--hm-text-2); transition:color var(--hm-d-micro) var(--hm-ease) }
.hm-foot-link:hover{ color:var(--hm-text) }
.hm-foot-bottom{ padding-top:22px; font-size:13px; color:var(--hm-muted) }

/* =============================================================
   Scroll reveal (set only when IntersectionObserver exists and
   motion is allowed — otherwise nothing is ever hidden)
   ============================================================= */
.hm-reveal-on [data-hm-reveal]:not(.is-in){ opacity:0; transform:translateY(16px) }
.hm-reveal-on [data-hm-reveal]{ transition:opacity var(--hm-d-section) var(--hm-ease), transform var(--hm-d-section) var(--hm-ease) }
.hm-reveal-on .hm-flow-art:not(.is-in) .hm-stage,
.hm-reveal-on .hm-flow-art:not(.is-in) .hm-sf-step{ opacity:0; transform:translateY(10px) }
.hm-reveal-on .hm-flow-art .hm-stage,
.hm-reveal-on .hm-flow-art .hm-sf-step{ transition:opacity var(--hm-d-visual) var(--hm-ease), transform var(--hm-d-visual) var(--hm-ease); transition-delay:calc(var(--hm-i,0) * 140ms + 120ms) }
/* R2 · Short Links sequence — URL enters → pulse → Hilynk responds → pulse → short link
   appears → tap → clicks grow (count-up is JS, same moment). Plays once, then rests on
   the final state. Without .hm-reveal-on (reduced motion / no IO) nothing here applies. */
.hm-reveal-on .hm-flow-art.is-in .hm-lf-long{ animation:hm-lf-enter 420ms var(--hm-ease) both }
.hm-reveal-on .hm-flow-art.is-in .hm-lf-wire--a .hm-lf-pulse{ animation:hm-lf-travel 420ms ease-in 380ms both }
.hm-reveal-on .hm-flow-art.is-in .hm-lf-hub{ animation:hm-lf-hub 560ms var(--hm-ease) 760ms both }
.hm-reveal-on .hm-flow-art.is-in .hm-lf-wire--b .hm-lf-pulse{ animation:hm-lf-travel 420ms ease-in 1200ms both }
.hm-reveal-on .hm-flow-art.is-in .hm-lf-short{ animation:hm-lf-pop 420ms var(--hm-ease) 1540ms both }
.hm-reveal-on .hm-flow-art.is-in .hm-lf-tap{ animation:hm-lf-tap 680ms ease-out 2060ms both }
.hm-reveal-on .hm-flow-art.is-in .hm-lf-bars span{ animation:hm-lf-bar 420ms var(--hm-ease) calc(2300ms + var(--hm-i,0) * 60ms) both }
@keyframes hm-lf-enter{ from{ opacity:0; transform:translateX(-14px) } to{ opacity:1; transform:none } }
@keyframes hm-lf-travel{ 0%{ opacity:0; transform:translateY(-6px) } 25%{ opacity:1 } 100%{ opacity:0; transform:translateY(26px) } }
@keyframes hm-lf-hub{ 0%{ transform:none } 45%{ transform:scale(1.05); box-shadow:0 0 0 6px rgba(34,211,238,.18), 0 14px 40px -12px rgba(34,211,238,.7) } 100%{ transform:none } }
@keyframes hm-lf-pop{ from{ opacity:0; transform:translateY(-6px) scale(.96) } to{ opacity:1; transform:none } }
@keyframes hm-lf-tap{ 0%{ opacity:0; transform:scale(.4) } 30%{ opacity:.9 } 100%{ opacity:0; transform:scale(1.7) } }
@keyframes hm-lf-bar{ from{ transform:scaleY(.08) } to{ transform:none } }

/* R2 · Analytics — graph reveal (R1 clip) → latest point pops + 2 soft rings → feed rows
   arrive → realtime dot pulses 3× then rests. KPI count-up is JS. */
.hm-reveal-on .hm-flow-art.is-in .hm-chart-point{ animation:hm-pop-in 320ms var(--hm-ease) 1080ms both }
.hm-reveal-on .hm-flow-art.is-in .hm-chart-point::after{ animation:hm-ring 1600ms ease-out 1400ms 2 }
.hm-reveal-on .hm-flow-art.is-in .hm-feed li{ animation:hm-feed-in 380ms var(--hm-ease) calc(900ms + var(--hm-i,0) * 160ms) both }
.hm-reveal-on .hm-flow-art.is-in .hm-feed li:first-child{ animation:hm-feed-in 380ms var(--hm-ease) 900ms both, hm-feed-flash 1400ms ease-out 1300ms 1 }
.hm-reveal-on .hm-flow-art.is-in .hm-feed-title .hm-live-dot{ animation:hm-live 2400ms ease-in-out 1200ms 3 }
@keyframes hm-pop-in{ from{ opacity:0; transform:scale(.3) } to{ opacity:1; transform:none } }
@keyframes hm-ring{ 0%{ opacity:.8; transform:scale(.6) } 100%{ opacity:0; transform:scale(1.8) } }
@keyframes hm-feed-in{ from{ opacity:0; transform:translateY(6px) } to{ opacity:1; transform:none } }
@keyframes hm-feed-flash{ 0%{ background:rgba(34,211,238,.12) } 100%{ background:transparent } }
@keyframes hm-live{ 0%,100%{ box-shadow:0 0 0 3px rgba(0,244,203,.14) } 50%{ box-shadow:0 0 0 6px rgba(0,244,203,.06) } }

/* R2 · Ads / CAPI — each step pings in turn, the connector fills, Hilynk processes,
   then the Meta CAPI row settles on a jade "Delivered" status. One pass only. */
.hm-reveal-on .hm-flow-art.is-in .hm-sf-step .hm-sf-ic{ animation:hm-sf-ping 700ms ease-out calc(var(--hm-i,0) * 380ms + 260ms) both }
.hm-reveal-on .hm-flow-art.is-in .hm-sf-step:not(:last-child)::after{ animation:hm-sf-link 260ms ease-out calc(var(--hm-i,0) * 380ms + 520ms) both }
.hm-reveal-on .hm-flow-art.is-in .hm-sf-step.is-last{ animation:hm-sf-done 900ms ease-out 1900ms both }
.hm-reveal-on .hm-flow-art.is-in .hm-sf-status{ animation:hm-pop-in 420ms var(--hm-ease) 2080ms both }
@keyframes hm-sf-ping{ 0%{ box-shadow:0 0 0 0 rgba(34,211,238,.55) } 100%{ box-shadow:0 0 0 10px rgba(34,211,238,0) } }
@keyframes hm-sf-link{ from{ transform:scaleY(0) } to{ transform:none } }
@keyframes hm-sf-done{ 0%{ border-color:var(--hm-line) } 45%{ border-color:rgba(0,244,203,.85); box-shadow:0 0 0 4px rgba(0,244,203,.08) } 100%{ border-color:rgba(0,244,203,.35) } }
.hm-reveal-on .hm-flow-art:not(.is-in) .hm-chart-clip{ transform:scaleX(0) }
.hm-reveal-on .hm-flow-art .hm-chart-clip{ transition:transform 900ms var(--hm-ease) 200ms }

/* =============================================================
   R2.2 consolidated — Dark glassmorphism + grain · light theme ·
   theme toggle · Lordicon PRO slots · pricing ring
   -------------------------------------------------------------
   Appended on top of the R2.2 rules above. Surface colours that were hard-coded for the
   dark ground are re-declared here through tokens (same selectors, so state variants such
   as .is-hub / .is-jade keep winning), which lets ONE token switch drive both themes.
   Theme scope: .hm-root carries the dark tokens. The light theme re-declares them on
   <main> and the ambient layer only — the header, drawer and footer stay dark "chrome" in
   both themes (the Owner's wordmark has a white "Hi", so it needs a dark surface).
   ============================================================= */
.hm-root{
  --hm-bg:#050912;
  --hm-tint:rgba(255,255,255,.045); --hm-tint-2:rgba(255,255,255,.075);
  --hm-glass-hi:linear-gradient(180deg, rgba(255,255,255,.085) 0%, rgba(255,255,255,.028) 100%);
  --hm-glass-base:rgba(9,15,31,.56);
  --hm-glass-line:rgba(190,210,255,.13);
  --hm-glass-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 30px 70px -42px rgba(0,0,0,.95);
  --hm-blur:blur(18px) saturate(150%);
  --hm-inset:rgba(3,7,17,.62); --hm-node:#0C1529; --hm-skel:rgba(186,198,218,.18);
  --hm-ctl:rgba(8,13,27,.72); --hm-plan-base:rgba(9,15,31,.8);
  --hm-cyan-fill:#22D3EE; --hm-jade-fill:#2EE6FF; --hm-amber:#FBBF24;
  --hm-grad-text:linear-gradient(120deg,#5B9BFF 0%,#22D3EE 62%,#3CF0D0 100%);
  --hm-plan-rec:linear-gradient(170deg, rgba(59,130,246,.26) 0%, rgba(34,211,238,.07) 52%, rgba(255,255,255,.025) 100%);
  --hm-plan-rec-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 4px rgba(34,211,238,.06), 0 28px 64px -34px rgba(34,211,238,.5);
  --hm-plan-hover-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 30px 60px -32px rgba(34,211,238,.45);
  --hm-final-tint:radial-gradient(70% 90% at 50% 0%, rgba(59,130,246,.24), transparent 70%);
  --hm-amb-grid:rgba(148,172,220,.042);
  --hm-amb-bloom-a:rgba(0,244,203,.075); --hm-amb-bloom-b:rgba(59,130,246,.17);
  --hm-amb-scrim:radial-gradient(ellipse 58% 56% at 27% 36%, rgba(4,7,15,.6) 0%, rgba(4,7,15,0) 76%),
    radial-gradient(ellipse 120% 92% at 50% 42%, rgba(2,4,10,0) 52%, rgba(2,4,10,.72) 100%);
  --hm-amb-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .9 0 0 0 -.36'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  --hm-amb-grain-o:.13;
}
@media (max-width:1023px){ .hm-root{ --hm-glass-base:rgba(9,15,31,.84) } }

/* ---- Light theme: tokens on the whole root (R2.2 final — header, drawer, footer too) ---- */
.hm-root[data-hm-theme="light"]{ background:#EAF0F9; color:var(--hm-text);
  --hm-bg:#EEF3FA; --hm-bg-2:#E6EDF7; --hm-surface:#FFFFFF; --hm-surface-2:#F4F7FC;
  --hm-line:rgba(20,45,95,.12); --hm-line-2:rgba(20,45,95,.22);
  --hm-text:#0A1428; --hm-text-2:#2F3D58; --hm-muted:#445169;
  --hm-blue:#2563EB; --hm-blue-l:#1D4ED8; --hm-cyan:#0A5C74; --hm-jade:#046C4E;
  --hm-glow:0 10px 30px -14px rgba(37,99,235,.5);
  --hm-tint:rgba(20,45,95,.04); --hm-tint-2:rgba(20,45,95,.07);
  --hm-glass-hi:linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.6) 100%);
  --hm-glass-base:rgba(255,255,255,.34);
  --hm-glass-line:rgba(20,45,95,.1);
  --hm-glass-shadow:inset 0 1px 0 rgba(255,255,255,.95), 0 26px 60px -38px rgba(20,45,95,.42);
  --hm-inset:rgba(255,255,255,.72); --hm-node:#FFFFFF; --hm-skel:rgba(20,45,95,.14);
  --hm-ctl:rgba(255,255,255,.7); --hm-plan-base:rgba(255,255,255,.72);
  --hm-amber:#92400E;
  --hm-grad-text:linear-gradient(120deg,#1D4ED8 0%,#0E7490 100%);
  --hm-plan-rec:linear-gradient(170deg, rgba(59,130,246,.2) 0%, rgba(255,255,255,.82) 55%, rgba(255,255,255,.7) 100%);
  --hm-plan-rec-shadow:inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 4px rgba(37,99,235,.07), 0 28px 60px -36px rgba(37,99,235,.5);
  --hm-plan-hover-shadow:inset 0 1px 0 rgba(255,255,255,.95), 0 30px 60px -34px rgba(37,99,235,.42);
  --hm-final-tint:radial-gradient(70% 90% at 50% 0%, rgba(59,130,246,.16), transparent 70%);
  --hm-amb-grid:rgba(20,45,95,.05);
  --hm-amb-bloom-a:rgba(34,211,238,.2); --hm-amb-bloom-b:rgba(96,165,250,.3);
  --hm-amb-scrim:radial-gradient(ellipse 58% 56% at 27% 36%, rgba(243,247,252,.74) 0%, rgba(243,247,252,0) 76%);
  --hm-amb-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .04 0 0 0 0 .1 0 0 0 0 .25 .9 0 0 0 -.36'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  --hm-amb-grain-o:.2;
}
.hm-root[data-hm-theme="light"] > .hm-amb{
  background:radial-gradient(80% 58% at 80% 14%, rgba(147,197,253,.6) 0%, rgba(147,197,253,0) 62%),
    linear-gradient(180deg, #F6F9FD 0%, #EBF1FA 55%, #E2EAF6 100%) }
@media (max-width:1023px){ .hm-root[data-hm-theme="light"]{ --hm-glass-base:rgba(255,255,255,.74) } }
/* page-level hooks — the attribute is on <html> only while the Homepage is mounted */
html[data-hm-theme="dark"]{ color-scheme:dark }
html[data-hm-theme="light"]{ color-scheme:light }
html[data-hm-theme="light"] body{ background:#EAF0F9 }

/* ---- Glass surfaces ---- */
.hm-visual,.hm-eco-grid,.hm-path,.hm-trust,.hm-final{
  background:var(--hm-glass-hi), var(--hm-glass-base); border-color:var(--hm-glass-line); box-shadow:var(--hm-glass-shadow) }
.hm-path.is-ads{ background:linear-gradient(160deg, rgba(34,211,238,.1), transparent 60%), var(--hm-glass-hi), var(--hm-glass-base) }
.hm-final{ background:var(--hm-final-tint), var(--hm-glass-hi), var(--hm-glass-base) }
.hm-eco-grid{ border-top-color:var(--hm-glass-line); border-left-color:var(--hm-glass-line) }
.hm-seg,.hm-cycle{ background:var(--hm-ctl); border-color:var(--hm-glass-line) }
/* real backdrop blur on desktop only — on touch / narrow layouts the glass is a denser fill
   instead (--hm-glass-base above), which keeps scrolling cheap */
@media (min-width:1024px){
  @supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
    .hm-visual,.hm-eco-grid,.hm-path,.hm-trust,.hm-final,.hm-seg,.hm-cycle{
      -webkit-backdrop-filter:var(--hm-blur); backdrop-filter:var(--hm-blur) }
  }
}
/* tokenised insets (were fixed dark values) */
.hm-btn--ghost{ background:var(--hm-tint) }
.hm-stage-tag{ background:var(--hm-tint) }
.hm-lf-long,.hm-lf-row,.hm-kpi,.hm-feed,.hm-sf-step{ background:var(--hm-tint) }
.hm-illus-badge{ background:var(--hm-tint-2) }
.hm-phone{ background:var(--hm-inset) }
.hm-add-chip,.hm-lf-short{ background:var(--hm-node) }
.hm-blk--txt{ background:repeating-linear-gradient(180deg, var(--hm-skel) 0 3px, transparent 3px 8px) }
.hm-live-dot,.hm-live-chip,.hm-sf-status{ background:var(--hm-jade-fill) }
.hm-grad-text{ background-image:var(--hm-grad-text) }
.hm-draft-badge{ color:var(--hm-amber) }
.hm-faq-q button:hover{ color:var(--hm-text) }

/* ---- Pricing cards: glass · plain edge · gradient ring only on recommended / hover ----
   The ring is a masked ::before, so resting cards paint no conic gradient at all (cheaper
   family switch than R2.2). Cards use a denser glass fill WITHOUT backdrop blur: four blurred
   cards re-mounting on a family switch cost ~12 ms/frame extra at CPU x4. */
.hm-plan{ border:1px solid var(--hm-glass-line); background:var(--hm-glass-hi), var(--hm-plan-base); box-shadow:var(--hm-glass-shadow);
  transition:transform 340ms var(--hm-ease), box-shadow 340ms var(--hm-ease), border-color 340ms var(--hm-ease) }
.hm-plan::before{ content:''; position:absolute; inset:-1px; padding:1px; border-radius:inherit; pointer-events:none; opacity:0;
  background:conic-gradient(from var(--hm-ang), #22D3EE, #3B82F6, #2EE6FF, #22D3EE);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude;
  transition:opacity 340ms var(--hm-ease) }
.hm-plan.is-rec{ border-color:transparent; background:var(--hm-plan-rec), var(--hm-plan-base); box-shadow:var(--hm-plan-rec-shadow) }
.hm-plan.is-rec::before{ opacity:1 }
.hm-plan:focus-within::before{ opacity:1 }
@media (hover:hover) and (pointer:fine){
  .hm-plan:hover{ box-shadow:var(--hm-plan-hover-shadow); border-color:transparent }
  .hm-plan:hover::before{ opacity:1 }
}
@media (prefers-reduced-motion:no-preference){
  .hm-price-grid .hm-plan{ animation:hm-plan-in 440ms var(--hm-ease) backwards; animation-delay:calc(var(--hm-i) * 55ms) }
  .hm-price-grid .hm-plan::before{ animation:hm-ring-spin 6s linear infinite paused }
  @media (hover:hover) and (pointer:fine){ .hm-price-grid .hm-plan:hover::before{ animation-play-state:running } }
}

/* ---- Theme toggle (day / night pill) ---- */
.hm-theme{ display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; min-height:40px; padding:0 2px;
  background:none; border:0; border-radius:999px; cursor:pointer; -webkit-tap-highlight-color:transparent }
.hm-theme-track{ position:relative; display:block; width:56px; height:30px; border-radius:999px; overflow:hidden; isolation:isolate;
  background-color:#0B1124; box-shadow:inset 0 0 0 1px rgba(148,172,220,.3), inset 0 2px 6px rgba(0,0,0,.55);
  transition:background-color 440ms var(--hm-ease), box-shadow 440ms var(--hm-ease) }
.hm-theme[data-hm-mode="light"] .hm-theme-track{ background-color:#8EDDF6; box-shadow:inset 0 0 0 1px rgba(14,116,144,.38), inset 0 2px 5px rgba(14,116,144,.22) }
.hm-theme:hover .hm-theme-track{ box-shadow:inset 0 0 0 1px rgba(110,168,255,.7), inset 0 2px 6px rgba(0,0,0,.4) }
.hm-theme-clouds{ position:absolute; inset:0; width:100%; height:100%; fill:#FFFFFF; opacity:0; transform:translateY(12px);
  transition:opacity 300ms var(--hm-ease), transform 460ms var(--hm-ease) }
.hm-theme[data-hm-mode="light"] .hm-theme-clouds{ opacity:1; transform:none }
.hm-theme-stars{ position:absolute; inset:0; transition:opacity 300ms var(--hm-ease), transform 460ms var(--hm-ease) }
.hm-theme-stars i{ position:absolute; border-radius:50%; background:#FFFFFF }
.hm-theme[data-hm-mode="light"] .hm-theme-stars{ opacity:0; transform:translateY(-10px) }
.hm-theme-knob{ position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%;
  transition:transform 480ms cubic-bezier(.3,1.3,.5,1) }
.hm-theme[data-hm-mode="light"] .hm-theme-knob{ transform:translateX(26px) }
.hm-theme-sun,.hm-theme-moon{ position:absolute; inset:0; border-radius:50%; transition:opacity 320ms var(--hm-ease), transform 480ms var(--hm-ease) }
.hm-theme-sun{ background:radial-gradient(circle at 36% 34%, #FFF4A8 0%, #FFE25C 34%, #FFD23F 62%, #FDB52E 100%);
  box-shadow:0 0 0 2px rgba(255,214,74,.28); opacity:0; transform:rotate(-80deg) scale(.6) }
.hm-theme-moon{ background:radial-gradient(circle at 64% 50%, #F1E9DD 0 58%, #CDC1B2 60%); box-shadow:0 0 8px rgba(241,233,221,.3) }
.hm-theme-moon i{ position:absolute; border-radius:50%; background:#CFC4B5; box-shadow:inset 0 0 0 1px rgba(160,148,134,.55) }
.hm-theme-moon i:nth-child(1){ width:6px; height:6px; left:12px; top:5px }
.hm-theme-moon i:nth-child(2){ width:4px; height:4px; left:15px; top:14px }
.hm-theme-moon i:nth-child(3){ width:3px; height:3px; left:9px; top:15px }
.hm-theme[data-hm-mode="light"] .hm-theme-sun{ opacity:1; transform:none }
.hm-theme[data-hm-mode="light"] .hm-theme-moon{ opacity:0; transform:rotate(80deg) scale(.6) }
.hm-theme:active .hm-theme-knob{ scale:.92 }
@media (prefers-reduced-motion:no-preference){
  .hm-theme[data-hm-mode="dark"] .hm-theme-stars i{ animation:hm-twinkle 3.2s ease-in-out infinite; animation-delay:calc(var(--hm-i) * -.7s) }
}
@keyframes hm-twinkle{ 0%,100%{ opacity:1 } 50%{ opacity:.35 } }
.hm-drawer-theme{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:4px 16px;
  border-bottom:1px solid var(--hm-line); color:var(--hm-text-2); font-size:14.5px }
.hm-drawer-theme .hm-theme{ min-height:44px; min-width:44px }
.hm-root .hm-drawer-theme > span:lang(en){ font-family:var(--hm-font-ui); letter-spacing:0 }
@media (max-width:1023px){ .hm-header .hm-theme{ min-height:44px; min-width:44px } }
/* theme switch = one cross-fade of the page (same-document view transition, progressive
   enhancement). On desktop the toggle is its own group so the knob slides live instead of
   ghosting; reduced motion never starts a transition (JS) */
html[data-hm-theme]::view-transition-old(root),html[data-hm-theme]::view-transition-new(root){ animation-duration:360ms }
@media (min-width:1024px){
  #hm-theme-head{ view-transition-name:hm-theme-toggle }
  html[data-hm-theme]::view-transition-group(hm-theme-toggle){ animation:none }
  html[data-hm-theme]::view-transition-old(hm-theme-toggle){ display:none }
  html[data-hm-theme]::view-transition-new(hm-theme-toggle){ animation:none }
}

/* ---- Lordicon PRO slots: the inline-SVG fallback keeps the box; the player fades in over it ---- */
.hm-lord-slot{ position:relative; display:inline-grid; place-items:center }
.hm-lord-slot:empty{ display:inline-grid }
.hm-lord-fallback{ display:inline-flex; transition:opacity 200ms var(--hm-ease) }
.hm-lord-fallback:empty{ display:none }
.hm-lord-box{ position:absolute; inset:-30%; opacity:0; pointer-events:none; transition:opacity 200ms var(--hm-ease) }
.hm-lord-box svg{ display:block; width:100% !important; height:100% !important }
.hm-lord-slot[data-hm-lordicon-ready="true"] .hm-lord-fallback{ opacity:0 }
.hm-lord-slot[data-hm-lordicon-ready="true"] .hm-lord-box{ opacity:1 }
.hm-lang-trigger .hm-lord-slot{ color:var(--hm-text-2); margin-right:2px }
.hm-root[data-hm-theme="light"] .hm-lord-box{ filter:brightness(.74) saturate(1.3) }

/* =============================================================
   R2.2 FINAL-OWNER-POLISH
   -------------------------------------------------------------
   · Light theme now covers the whole page: header, drawer, menus and footer are light
     surfaces (the Owner supplied a light-mode wordmark) — chrome colours are tokens.
   · Phone header = logo + menu trigger only; language + theme live in the drawer.
   · Scroll-linked depth layers for the ambient ground (compositor-only).
   · Pricing: cards stay mounted across a family switch (entrance = Web Animation in JS).
   ============================================================= */
.hm-root{
  --hm-bar:rgba(9,16,33,.6); --hm-bar-on:rgba(9,16,33,.84);
  --hm-bar-shadow:0 8px 28px -18px rgba(0,0,0,.7);
  --hm-bar-shadow-on:0 14px 40px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(59,130,246,.06);
  --hm-pop:rgba(13,21,40,.97); --hm-pop-shadow:0 18px 44px -18px rgba(0,0,0,.85);
  --hm-menu:rgba(12,19,38,.96); --hm-menu-hover:rgba(148,172,220,.1);
  --hm-menu-shadow:0 18px 40px -16px rgba(0,0,0,.75), 0 2px 8px -2px rgba(0,0,0,.35);
  --hm-scrim:rgba(2,6,16,.72);
  --hm-amb-bloom-c:rgba(0,244,203,.1);
}
.hm-root[data-hm-theme="light"]{
  --hm-bar:rgba(255,255,255,.64); --hm-bar-on:rgba(255,255,255,.86);
  --hm-bar-shadow:0 8px 28px -18px rgba(20,45,95,.4);
  --hm-bar-shadow-on:0 14px 36px -18px rgba(20,45,95,.5), 0 0 0 1px rgba(37,99,235,.05);
  --hm-pop:rgba(255,255,255,.98); --hm-pop-shadow:0 18px 44px -18px rgba(20,45,95,.4);
  --hm-menu:rgba(255,255,255,.97); --hm-menu-hover:rgba(20,45,95,.06);
  --hm-menu-shadow:0 18px 40px -18px rgba(20,45,95,.35), 0 2px 8px -2px rgba(20,45,95,.1);
  --hm-scrim:rgba(10,20,40,.4);
  --hm-amb-bloom-c:rgba(16,185,160,.2);
}
/* chrome surfaces through tokens (same selectors as the originals) */
.hm-header-bar{ background:var(--hm-bar); box-shadow:var(--hm-bar-shadow) }
.hm-header.is-scrolled .hm-header-bar{ background:var(--hm-bar-on); box-shadow:var(--hm-bar-shadow-on) }
.hm-nav-top:hover,.hm-nav-item.is-open .hm-nav-top{ background:var(--hm-tint-2) }
.hm-lang-list{ background:var(--hm-pop); box-shadow:var(--hm-pop-shadow) }
/* no backdrop-filter: the header bar's own blur makes it the backdrop root, so a nested blur would
   only see the bar — the panel is a near-opaque navy (light: white) surface instead */
.hm-nav-panel{ background:var(--hm-menu); box-shadow:var(--hm-menu-shadow) }
/* R4: the two-row Product panel sits over the page's H1 — solid, so the heading never ghosts through */
.hm-nav-panel.hm-nav-mega{ background:#0C1326 }
.hm-root[data-hm-theme="light"] .hm-nav-panel.hm-nav-mega{ background:#FFFFFF }
.hm-lang--inline .hm-lang-list{ background:var(--hm-tint); box-shadow:none }
.hm-burger,.hm-icon-btn{ background:var(--hm-tint-2) }
.hm-lang-trigger{ background:var(--hm-tint) }
.hm-scrim{ background:var(--hm-scrim) }
.hm-logo-img[data-hm-logo="light"]{ aspect-ratio:590 / 160 }

/* ---- Phone header: logo + menu trigger only (language + theme are in the drawer) ---- */
@media (max-width:599px){
  .hm-header .hm-lang,.hm-header .hm-theme{ display:none }
}

/* ---- Scroll-linked depth layers ----
   Each .hm-par layer is tied to the document scroll position (scroll-driven animation, runs
   on the compositor: transform + opacity only, no JS, no scroll listener). Far light fields
   barely move and the two dashed-network layers travel a little further (keyframes in the
   ECOSYSTEM-LEGAL-FAQ-R1 block) — the ground gains depth as the page moves.
   Progressive enhancement: without animation-timeline support, or with reduced motion,
   every layer rests in its base state (rules below are simply not applied). */
.hm-par{ position:absolute; inset:0 }
.hm-amb-bloom--c{ bottom:-34vh; left:8vw; width:58vw; height:58vw; max-width:880px; max-height:880px;
  background:radial-gradient(circle, var(--hm-amb-bloom-c) 0%, transparent 62%) }
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:scroll()){
    .hm-par{ animation-duration:1ms; animation-timing-function:linear; animation-fill-mode:both; animation-timeline:scroll(root block); will-change:transform, opacity }
    .hm-par--far{ animation-name:hm-par-far }
  }
}
@keyframes hm-par-far{ from{ transform:none } to{ transform:translate3d(0,-9vh,0) } }

/* ---- Pricing: no CSS entrance on the cards any more (they are not re-mounted) ---- */
@media (prefers-reduced-motion:no-preference){
  .hm-price-grid .hm-plan{ animation:none }
}

/* =============================================================
   HERO-VISUAL-REALIGN-R1
   -------------------------------------------------------------
   · One background system: blooms + two soft light bands (far) · ribbons (mid) · rising wave
     (near). The data-flow field and the pulsing dots are removed — nothing node / network-like.
   · Hero visual = one 2.5D product scene (HTML layers in a CSS 3D stage) instead of the
     hub-and-spoke diagram: code panel → published landing page → Short Links · Analytics ·
     Pixels & CAPI · Ads Tracking modules, each at its own depth.
   · Motion: slow float per layer, one entrance, the stage eases flatter while the hero scrolls
     away (scroll timeline), a few degrees of pointer lean on desktop. Transform / opacity only,
     except two one-shot reveals. Reduced motion ⇒ the same composition, static.
   ============================================================= */
.hm-root{
  --hm-amb-band:rgba(72,138,255,.075);
  --hm-hs-win:#101A33; --hm-hs-bar:#17223F; --hm-hs-page:#111C37; --hm-hs-card:#152142;
  --hm-hs-line:rgba(170,196,255,.26); --hm-hs-fill:rgba(170,196,255,.14);
  --hm-hs-shadow:0 34px 70px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.02);
  --hm-hs-lift:0 26px 50px -22px rgba(0,0,0,.9), 0 0 34px -14px rgba(34,211,238,.4);
  --hm-hs-code:#070C1A; --hm-hs-code-line:rgba(170,196,255,.16);
  --hm-hs-glow:radial-gradient(closest-side, rgba(59,130,246,.42) 0%, rgba(34,211,238,.13) 46%, rgba(34,211,238,0) 100%);
  --hm-hs-img:linear-gradient(135deg, #2F6FE4 0%, #22B8DC 58%, #19D8B8 100%);
}
.hm-root[data-hm-theme="light"]{
  --hm-amb-band:rgba(37,99,235,.085);
  --hm-hs-win:#FFFFFF; --hm-hs-bar:#EEF3FA; --hm-hs-page:#F6F9FD; --hm-hs-card:#FFFFFF;
  --hm-hs-line:rgba(20,45,95,.14); --hm-hs-fill:rgba(20,45,95,.1);
  --hm-hs-shadow:0 34px 70px -34px rgba(20,45,95,.55), 0 2px 6px -2px rgba(20,45,95,.12);
  --hm-hs-lift:0 26px 50px -24px rgba(20,45,95,.5), 0 2px 6px -2px rgba(20,45,95,.14);
  --hm-hs-code:#0E1830; --hm-hs-code-line:rgba(170,196,255,.2);
  --hm-hs-glow:radial-gradient(closest-side, rgba(59,130,246,.3) 0%, rgba(34,211,238,.14) 46%, rgba(34,211,238,0) 100%);
}

/* ---- Ambient: two soft light bands in the far layer ---- */
.hm-amb-band{ position:absolute; left:-20vw; width:140vw; transform:rotate(-17deg);
  background:linear-gradient(180deg, transparent 0%, var(--hm-amb-band) 50%, transparent 100%) }
.hm-amb-band--a{ top:14vh; height:30vh }
.hm-amb-band--b{ top:64vh; height:20vh; opacity:.7 }
@media (prefers-reduced-motion:no-preference){
  .hm-amb-band--a{ animation:hm-amb-band 44s ease-in-out infinite alternate }
  .hm-amb-band--b{ animation:hm-amb-band 56s ease-in-out -20s infinite alternate-reverse }
}
@keyframes hm-amb-band{ from{ translate:0 -3vh } to{ translate:0 7vh } }

/* ---- Hero composition ---- */
.hm-hero-art{ position:relative }
.hm-hero-scene{ position:relative; width:100%; aspect-ratio:1 / 1; container-type:inline-size }
.hm-hero-scene::before{ content:''; position:absolute; inset:-6% -10% -4% -6%; background:var(--hm-hs-glow); pointer-events:none }
.hm-hs-tilt{ position:absolute; inset:0; perspective:1500px; perspective-origin:42% 40% }
.hm-hs-stage{ position:absolute; inset:0; transform-style:preserve-3d; transform-origin:50% 50%;
  transform:rotateX(calc(9deg - var(--hm-ty,0) * 6deg)) rotateY(calc(-17deg + var(--hm-tx,0) * 9deg)) rotateZ(2deg);
  transition:transform 700ms var(--hm-ease) }
.hm-hs-layer{ position:absolute; transform:translateZ(var(--hm-z,0px)); border-radius:14px; border:1px solid var(--hm-hs-line) }

/* window chrome (code panel + browser) */
.hm-hs-bar{ display:flex; align-items:center; gap:5px; height:30px; padding:0 11px; border-bottom:1px solid var(--hm-hs-line) }
.hm-hs-bar > i{ flex-shrink:0; width:7px; height:7px; border-radius:50%; background:var(--hm-hs-fill) }
.hm-hs-tab,.hm-hs-url,.hm-hs-live{ display:inline-flex; align-items:center; gap:5px; white-space:nowrap; font-size:10.5px; font-size:clamp(9.5px,2.1cqw,11.5px) }

/* code panel — stays a dark editor in both themes */
.hm-hs-code{ --hm-z:-70px; --hm-f:4px; left:-4%; top:0; width:70%; height:58%; overflow:hidden;
  background:var(--hm-hs-code); border-color:var(--hm-hs-code-line); box-shadow:var(--hm-hs-shadow); color:#9FB2D4 }
.hm-hs-code .hm-hs-bar{ border-bottom-color:var(--hm-hs-code-line) }
.hm-hs-code .hm-hs-bar > i{ background:rgba(170,196,255,.2) }
.hm-hs-tab{ margin-left:8px; color:#C6D3EC }
.hm-hs-lines{ counter-reset:hmhs; padding:10px 0 0; font-size:11px; font-size:clamp(10px,2.4cqw,12.5px); line-height:1.8; white-space:nowrap; color:#DCE6F7 }
.hm-root .hm-hs-lines li{ counter-increment:hmhs; padding-left:3.2em; position:relative }
.hm-hs-lines li::before{ content:counter(hmhs); position:absolute; left:0; width:2.2em; text-align:right; color:#51607F }
.hm-root .hm-hs-lines li.is-in{ padding-left:4.4em }
.hm-root .hm-hs-lines li.is-in2{ padding-left:5.6em }
.hm-c-t{ color:#6EA8FF } .hm-c-a{ color:#5FE1F2 } .hm-c-s{ color:#5EEAD4 } .hm-hs-lines .hm-c-c{ color:#7A8AAB }

/* browser — the published landing page */
.hm-hs-browser{ --hm-z:0px; --hm-f:-4px; left:15%; top:25%; width:82%; overflow:hidden;
  background:var(--hm-hs-win); box-shadow:var(--hm-hs-shadow) }
.hm-hs-browser .hm-hs-bar{ background:var(--hm-hs-bar) }
.hm-hs-url{ flex:1; min-width:0; margin-left:8px; height:20px; padding:0 9px; border-radius:999px; overflow:hidden; text-overflow:ellipsis;
  background:var(--hm-tint-2); color:var(--hm-text-2) }
.hm-hs-url .hm-live-dot{ width:6px; height:6px; box-shadow:none }
.hm-hs-live{ flex-shrink:0; height:20px; padding:0 8px; border-radius:999px; font-weight:700; color:var(--hm-ink); background:var(--hm-jade-fill) }
.hm-hs-page{ padding:4.2% 4.6% 5%; background:var(--hm-hs-page) }
.hm-hs-pnav{ display:flex; align-items:center; gap:3%; margin-bottom:6% }
.hm-hs-pnav b{ width:11%; height:7px; border-radius:4px; background:var(--hm-text); opacity:.72 }
.hm-hs-pnav span{ width:8%; height:4px; border-radius:2px; background:var(--hm-hs-fill) }
.hm-hs-pnav b + span{ margin-left:auto }
.hm-hs-pnav em{ width:13%; height:13px; border-radius:999px; border:1px solid var(--hm-hs-line) }
.hm-hs-phero{ display:grid; grid-template-columns:minmax(0,1fr) 41%; align-items:center; gap:6% }
.hm-hs-pcopy{ display:grid; gap:7px; justify-items:start }
.hm-hs-pcopy strong{ font-size:20px; font-size:clamp(15px,4.5cqw,25px); line-height:1.12; letter-spacing:-.03em; font-weight:700; color:var(--hm-text) }
.hm-hs-ptxt{ width:100%; height:4px; border-radius:2px; background:var(--hm-hs-fill) }
.hm-hs-ptxt.is-short{ width:62% }
.hm-hs-pbtn{ margin-top:6px; display:inline-flex; align-items:center; height:24px; padding:0 12px; border-radius:8px; white-space:nowrap;
  font-size:10.5px; font-size:clamp(9.5px,2.15cqw,11.5px); font-weight:700; color:var(--hm-ink); background:var(--hm-grad); box-shadow:0 8px 18px -10px rgba(34,211,238,.9) }
.hm-hs-pimg{ aspect-ratio:1 / .92; border-radius:12px; display:grid; place-items:center; color:rgba(255,255,255,.9);
  background:var(--hm-hs-img); box-shadow:inset 0 1px 0 rgba(255,255,255,.28) }
.hm-hs-ptiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:3%; margin-top:7% }
.hm-hs-ptiles span{ height:28px; height:clamp(20px,6cqw,34px); border-radius:8px; background:var(--hm-tint); border:1px solid var(--hm-hs-line) }

/* floating product modules */
.hm-hs-card{ display:grid; gap:8px; padding:11px 12px 12px; background:var(--hm-hs-card); box-shadow:var(--hm-hs-lift) }
.hm-hs-k{ display:inline-flex; align-items:center; gap:6px; white-space:nowrap; font-size:11px; font-size:clamp(10px,2.2cqw,12px); font-weight:600; color:var(--hm-text-2) }
.hm-hs-k .hm-icon,.hm-hs-k svg{ color:var(--hm-cyan); flex-shrink:0 }
.hm-hs-events{ --hm-z:70px; --hm-f:-7px; right:-4%; top:-7%; width:38% }
.hm-hs-ev{ display:flex; align-items:center; gap:7px; height:26px; padding:0 8px; border-radius:8px; background:var(--hm-tint); white-space:nowrap;
  font-size:11px; font-size:clamp(10px,2.2cqw,12px); font-weight:600; color:var(--hm-text) }
.hm-hs-ev > i{ flex-shrink:0; width:6px; height:6px; border-radius:50%; background:var(--hm-blue-l) }
.hm-hs-ev > i.is-jade{ background:var(--hm-jade-fill) }
.hm-hs-ok,.hm-hs-deliv{ margin-left:auto; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0 }
.hm-hs-ok{ width:16px; height:16px; border-radius:50%; color:var(--hm-jade); background:rgba(0,244,203,.14) }
.hm-hs-deliv{ height:17px; padding:0 6px; border-radius:999px; font-size:9.5px; font-weight:700; color:var(--hm-ink); background:var(--hm-jade-fill) }
.hm-hs-link{ --hm-z:115px; --hm-f:-8px; left:3%; top:75%; width:45%; border-color:rgba(34,211,238,.42) }
.hm-hs-short{ display:flex; align-items:center; justify-content:space-between; gap:8px; white-space:nowrap;
  font-size:13px; font-size:clamp(11.5px,2.8cqw,15px); font-weight:600; color:var(--hm-text) }
.hm-hs-copy{ display:inline-flex; flex-shrink:0; padding:5px; border-radius:7px; color:var(--hm-cyan); background:rgba(34,211,238,.12) }
.hm-hs-stats{ --hm-z:150px; --hm-f:-9px; right:-5%; top:61%; width:41% }
.hm-hs-spark{ display:block; width:100%; height:44px; height:clamp(34px,9cqw,50px) }
.hm-hs-a0{ stop-color:#22D3EE; stop-opacity:.34 } .hm-hs-a1{ stop-color:#22D3EE; stop-opacity:0 }
.hm-hs-spark-line{ fill:none; stroke:var(--hm-cyan-fill); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke }
.hm-hs-rows{ display:grid; gap:6px }
.hm-hs-row{ display:grid; grid-template-columns:minmax(0,46%) minmax(0,1fr); align-items:center; gap:8px }
.hm-hs-row em{ font-style:normal; font-size:10px; font-size:clamp(9.5px,2cqw,11px); color:var(--hm-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.hm-hs-row > i{ position:relative; height:5px; border-radius:3px; background:var(--hm-hs-fill); overflow:hidden }
.hm-hs-row > i::after{ content:''; position:absolute; inset:0; border-radius:inherit; background:var(--hm-grad); transform-origin:left center; transform:scaleX(var(--hm-v,.5)) }
.hm-hs-row.is-jade > i::after{ background:var(--hm-jade-fill) }
.hm-hs-chip{ --hm-z:185px; --hm-f:-6px; left:44%; top:97%; display:inline-flex; align-items:center; gap:7px; height:32px; padding:0 13px; border-radius:999px; white-space:nowrap;
  font-size:11px; font-size:clamp(10px,2.25cqw,12px); font-weight:600; color:var(--hm-text); background:var(--hm-hs-card); box-shadow:var(--hm-hs-lift) }
.hm-hs-chip svg{ color:var(--hm-cyan) }

/* ---- Motion ---- */
@keyframes hm-hs-in{ from{ opacity:0; scale:.94 } to{ opacity:1; scale:1 } }
@keyframes hm-hs-float{ from{ translate:0 0 } to{ translate:0 var(--hm-f,-6px) } }
@keyframes hm-hs-reveal{ from{ clip-path:inset(0 100% 0 0) } to{ clip-path:inset(0 0 0 0) } }
@keyframes hm-hs-pop{ from{ opacity:0; scale:.5 } to{ opacity:1; scale:1 } }
@keyframes hm-hs-leave{ from{ translate:0 0; rotate:1 0 0 0deg } to{ translate:0 -5%; rotate:1 0 0 -8deg } }
@media (prefers-reduced-motion:no-preference){
  .hm-hs-layer{ animation:hm-hs-in 720ms var(--hm-ease) calc(240ms + var(--hm-i,0) * 90ms) backwards,
    hm-hs-float calc(7s + var(--hm-i,0) * .8s) ease-in-out calc(var(--hm-i,0) * -1.7s) infinite alternate }
  .hm-hs-spark{ animation:hm-hs-reveal 1100ms var(--hm-ease) 1050ms backwards }
  .hm-hs-deliv{ animation:hm-hs-pop 420ms var(--hm-ease) 1500ms backwards }
  @supports (animation-timeline:scroll()){
    .hm-hs-stage{ animation:hm-hs-leave 1ms linear both; animation-timeline:scroll(root block); animation-range:0px 720px }
  }
}

/* ---- Tablet: the scene is capped and centred (hero is one column) ---- */
@media (max-width:1023px){
  .hm-hero-scene{ margin-top:44px }
}
/* ---- Phone: page + two modules, shallower tilt, nothing outside the column ---- */
@media (max-width:599px){
  .hm-hero-scene{ aspect-ratio:100 / 77; margin-top:0 }
  .hm-hero-scene::before{ inset:-4% 0 }
  .hm-hs-code,.hm-hs-events,.hm-hs-chip{ display:none }
  .hm-hs-stage{ transform:rotateX(6deg) rotateY(-9deg) rotateZ(1deg) }
  .hm-hs-browser{ left:4%; top:1%; width:90% }
  .hm-hs-link{ --hm-z:60px; left:1%; top:70%; width:52% }
  .hm-hs-stats{ --hm-z:90px; right:1%; top:57%; width:44% }
  .hm-hs-rows{ display:none }
  .hm-hs-ptiles{ display:none }
}

/* =============================================================
   ECOSYSTEM-LEGAL-FAQ-R1
   -------------------------------------------------------------
   · Ambient: ONE line system — a sparse dashed connection network (adaptation of the Login
     backdrop motif; no shared class, Login itself is untouched). Ribbons, glow, shimmer and
     the rising wave are removed. Ground colours, blooms, bands, grid, scrim, grain unchanged.
   · Desktop header: Login · Start | Theme · Language (icon-only trigger at ≥1024px).
   · Ecosystem: nine Lordicon PRO icons in larger tiles.
   · FAQ: single-open accordion, height transition.
   · /terms + /privacy on the Homepage theme (.hm-legal).
   ============================================================= */
.hm-root{
  --hm-net-link:rgba(34,211,238,.22); --hm-net-link-far:rgba(110,168,255,.15);
  --hm-net-node:rgba(34,211,238,.6); --hm-net-node-alt:rgba(0,244,203,.55);
  --hm-net-pt:#C4F7FF; --hm-net-pt-glow:0 0 10px 2px rgba(34,211,238,.55);
  --hm-lord-ink:#C9D6EE;
}
.hm-root[data-hm-theme="light"]{
  --hm-net-link:rgba(37,99,235,.2); --hm-net-link-far:rgba(37,99,235,.12);
  --hm-net-node:rgba(37,99,235,.4); --hm-net-node-alt:rgba(13,148,136,.45);
  --hm-net-pt:#2563EB; --hm-net-pt-glow:0 0 8px 1px rgba(37,99,235,.35);
  --hm-lord-ink:#1B2A4A;
}

/* ---- Ambient: dashed connection network ----
   .hm-net is sized like an SVG "slice": it always covers the viewport and keeps 1440:900, so
   the network never stretches. The links + nodes are one static SVG per layer; the travelling
   points are HTML dots moved with transform only (container units resolve their path). */
.hm-net{ position:absolute; left:50%; top:50%; width:max(100vw, 160vh); aspect-ratio:1440 / 900; translate:-50% -50%; container-type:size }
.hm-net svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible }
.hm-net-link{ fill:none; stroke:var(--hm-net-link); stroke-width:1.1; stroke-dasharray:5 10; stroke-linecap:round; vector-effect:non-scaling-stroke }
.hm-net--far .hm-net-link{ stroke:var(--hm-net-link-far); stroke-dasharray:3 9 }
.hm-net-node{ fill:var(--hm-net-node) }
.hm-net-node.is-alt{ fill:var(--hm-net-node-alt) }
.hm-net--far .hm-net-node{ opacity:.45 }
.hm-net-pt{ display:none; position:absolute; left:0; top:0; width:5px; height:5px; margin:-2.5px 0 0 -2.5px; border-radius:50%;
  background:var(--hm-net-pt); box-shadow:var(--hm-net-pt-glow); opacity:0 }
@media (prefers-reduced-motion:no-preference){
  @supports (width:1cqw){
    .hm-net-pt{ display:block; animation:hm-net-pt 12s linear infinite; will-change:transform, opacity }
  }
  .hm-net{ animation:hm-net-drift 52s ease-in-out infinite alternate }
  .hm-net--far{ animation-duration:70s; animation-direction:alternate-reverse }
  @supports (animation-timeline:scroll()){
    .hm-par--netfar{ animation-name:hm-par-netfar }
    .hm-par--net{ animation-name:hm-par-net }
  }
}
@keyframes hm-net-pt{
  0%{ transform:translate(calc(var(--hm-x0) * 1cqw), calc(var(--hm-y0) * 1cqh)); opacity:0 }
  12%{ opacity:.9 }
  88%{ opacity:.9 }
  100%{ transform:translate(calc(var(--hm-x1) * 1cqw), calc(var(--hm-y1) * 1cqh)); opacity:0 } }
@keyframes hm-net-drift{ from{ transform:translate3d(-.6%,-.5%,0) } to{ transform:translate3d(.7%,.6%,0) } }
@keyframes hm-par-netfar{ from{ transform:translate3d(0,2vh,0) } to{ transform:translate3d(0,-4vh,0) } }
@keyframes hm-par-net{ from{ transform:translate3d(0,6vh,0) } to{ transform:translate3d(0,-9vh,0) } }

/* ---- Desktop header: Login · Start | Theme · Language (icon-only) ---- */
.hm-header-sep{ display:none }
@media (min-width:1024px){
  .hm-header-sep{ display:block; flex-shrink:0; width:1px; height:22px; margin:0 6px 0 8px; background:var(--hm-line-2) }
  .hm-header .hm-lang-trigger{ width:40px; min-width:40px; min-height:40px; padding:0; gap:0; justify-content:center; border:0; border-radius:999px; background:none }
  .hm-header .hm-lang-trigger:hover,.hm-header .hm-lang.is-open .hm-lang-trigger{ background:none }
  .hm-header .hm-lang-trigger .hm-lang-code,.hm-header .hm-lang-trigger .hm-caret{ display:none }
  .hm-header .hm-lang-trigger .hm-lord-slot{ width:30px; height:30px; margin:0; border-radius:50%; background:var(--hm-tint-2);
    box-shadow:inset 0 0 0 1px var(--hm-line-2); transition:box-shadow var(--hm-d-micro) var(--hm-ease), background-color var(--hm-d-micro) var(--hm-ease) }
  .hm-header .hm-lang-trigger:hover .hm-lord-slot,.hm-header .hm-lang.is-open .hm-lang-trigger .hm-lord-slot{ box-shadow:inset 0 0 0 1px rgba(110,168,255,.7); background:rgba(59,130,246,.14) }
  .hm-header .hm-lang-trigger .hm-lord-box{ inset:3px }
}

/* ---- Ecosystem: Lordicon PRO tiles ---- */
.hm-eco-item{ gap:14px; align-items:center }
.hm-eco-item .hm-icon{ width:46px; height:46px; border-radius:13px }
.hm-eco-item .hm-lord-slot{ width:46px; height:46px }
.hm-eco-item .hm-lord-box{ inset:5px }
/* the PRO files carry a near-black outline colour — map it to a theme ink so it reads on both grounds
   (CSS property beats the fill / stroke presentation attribute the SVG renderer writes) */
.hm-root .hm-lord-box :is([fill="rgb(18,19,49)"],[fill="rgb(19,19,43)"],[fill="rgb(57,51,70)"]){ fill:var(--hm-lord-ink) }
.hm-root .hm-lord-box :is([stroke="rgb(18,19,49)"],[stroke="rgb(19,19,43)"],[stroke="rgb(57,51,70)"]){ stroke:var(--hm-lord-ink) }

/* ---- FAQ: single-open accordion ---- */
.hm-faq-a{ display:grid; grid-template-rows:0fr; transition:grid-template-rows 260ms var(--hm-ease) }
.hm-faq-item.is-open .hm-faq-a{ grid-template-rows:1fr; animation:none }
.hm-faq-a-in{ min-height:0; overflow:hidden; visibility:hidden; opacity:0;
  transition:opacity 180ms var(--hm-ease), visibility 0s linear 260ms }
.hm-faq-item.is-open .hm-faq-a-in{ visibility:visible; opacity:1; transition:opacity 240ms var(--hm-ease) 50ms, visibility 0s }
.hm-faq-q .hm-caret{ transition:transform 260ms var(--hm-ease) }

/* ---- Legal pages (/terms · /privacy) ---- */
.hm-legal-hero{ max-width:760px; padding:64px 0 8px }
.hm-legal-h1{ font-size:clamp(32px,4.2vw,50px); line-height:1.12; letter-spacing:-.03em; font-weight:700; text-wrap:balance }
.hm-root:lang(th) .hm-legal-h1{ line-height:1.22; letter-spacing:-.015em }
.hm-legal-sub{ margin-top:8px; font-size:18px; font-weight:600; color:var(--hm-text-2) }
.hm-legal-meta{ margin-top:14px; font-size:13.5px; color:var(--hm-muted) }
.hm-legal-meta + .hm-legal-meta{ margin-top:4px }
.hm-legal-intro{ margin-top:22px; font-size:17.5px; line-height:1.8; color:var(--hm-text-2); text-wrap:pretty }
.hm-legal-note{ margin-top:22px; padding:14px 16px; border-radius:var(--hm-r); font-size:14px; line-height:1.7; color:var(--hm-text-2);
  background:var(--hm-tint); border:1px dashed var(--hm-line-2) }
.hm-legal-body{ display:grid; grid-template-columns:232px minmax(0,720px); gap:64px; align-items:start; padding:40px 0 24px }
.hm-legal-toc{ position:sticky; top:104px; max-height:calc(100vh - 128px); overflow-y:auto; padding-right:6px }
.hm-legal-toc-h{ font-size:12.5px; font-weight:600; letter-spacing:.04em; color:var(--hm-muted); margin-bottom:10px }
.hm-legal-toc-btn{ display:none }
.hm-legal-toc ol{ display:grid; gap:2px; border-left:1px solid var(--hm-line) }
.hm-legal-toc a{ display:flex; gap:10px; align-items:baseline; min-height:32px; padding:5px 0 5px 14px; margin-left:-1px; border-left:1px solid transparent;
  font-size:13.5px; line-height:1.45; color:var(--hm-muted); transition:color var(--hm-d-micro) var(--hm-ease), border-color var(--hm-d-micro) var(--hm-ease) }
.hm-legal-toc a:hover{ color:var(--hm-text) }
.hm-legal-toc a.is-active{ color:var(--hm-text); border-left-color:var(--hm-cyan) }
/* light theme: resting contents links one step darker than --hm-muted (contrast margin on the tinted panel) */
.hm-root[data-hm-theme="light"] .hm-legal-toc a:not(.is-active):not(:hover){ color:#3A4760 }
.hm-legal-n{ flex-shrink:0; font-family:var(--hm-font-ui); font-size:.82em; font-weight:500; color:var(--hm-cyan); font-variant-numeric:tabular-nums }
.hm-legal-sec{ scroll-margin-top:104px; padding-bottom:36px }
.hm-legal-sec + .hm-legal-sec{ padding-top:36px; border-top:1px solid var(--hm-line) }
.hm-legal-sec h2{ font-size:22px; line-height:1.35; letter-spacing:-.01em; margin-bottom:14px; text-wrap:balance }
.hm-legal-sec h2:focus{ outline:none }
.hm-legal-doc p{ font-size:16px; line-height:1.85; color:var(--hm-text-2); text-wrap:pretty }
.hm-legal-doc p + p,.hm-legal-doc ul + p,.hm-legal-doc p + ul{ margin-top:14px }
.hm-legal-list{ display:grid; gap:9px }
.hm-legal-list li{ position:relative; padding-left:22px; font-size:16px; line-height:1.75; color:var(--hm-text-2) }
.hm-legal-list li::before{ content:''; position:absolute; left:4px; top:.72em; width:6px; height:6px; border-radius:50%; background:var(--hm-cyan-fill); opacity:.85 }
.hm-root[data-hm-theme="light"] .hm-legal-list li::before{ background:var(--hm-blue) }
.hm-legal-facts{ display:grid; gap:0; border-top:1px solid var(--hm-line) }
.hm-legal-facts li{ display:flex; gap:12px; align-items:flex-start; padding:13px 0; border-bottom:1px solid var(--hm-line) }
.hm-legal-facts .hm-check{ margin-top:3px }
.hm-legal-facts li > span:last-child{ display:grid; gap:2px; min-width:0 }
.hm-legal-facts strong{ font-size:15.5px; font-weight:600; color:var(--hm-text) }
.hm-legal-facts li > span:last-child > span{ font-size:14.5px; line-height:1.6; color:var(--hm-muted) }
.hm-legal-link{ color:var(--hm-cyan); font-weight:600; text-decoration:underline; text-underline-offset:3px }
.hm-legal .hm-footer{ padding-top:56px }
/* ---- Contact page (/contact) — same shell as the legal pages, channel cards instead of sections ---- */
/* PC: 4 cards in one row · tablet: 2 × 2 · phone: 1 column. Card content is centred (Owner 11-20); the page heading stays left. */
.hm-contact{ padding:40px 0 24px }
.hm-contact::after{ content:''; display:block; margin-top:32px; border-top:1px solid var(--hm-line) }   /* divider kept after the back button was removed (Owner 11-20) */
.hm-contact-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px }
.hm-contact-card{ position:relative; display:flex; flex-direction:column; align-items:center; gap:14px; height:100%; padding:28px 20px 24px; text-align:center;
  border-radius:var(--hm-r-lg); background:var(--hm-tint); border:1px solid var(--hm-line); color:var(--hm-text);
  transition:border-color var(--hm-d-micro) var(--hm-ease), transform var(--hm-d-micro) var(--hm-ease) }
.hm-contact-card:hover{ border-color:var(--hm-line-2); transform:translateY(-2px) }
.hm-contact-text{ display:grid; gap:3px; justify-items:center; min-width:0 }
.hm-contact-name{ font-size:17px; font-weight:600 }
.hm-contact-handle{ font-family:var(--hm-font-ui); font-size:14px; color:var(--hm-cyan); overflow-wrap:anywhere }
.hm-root[data-hm-theme="light"] .hm-contact-handle{ color:var(--hm-blue) }
.hm-contact-desc{ margin-top:4px; font-size:14.5px; line-height:1.6; color:var(--hm-muted) }
.hm-contact-go{ position:absolute; top:14px; right:14px; color:var(--hm-muted) }
.hm-contact-card:hover .hm-contact-go{ color:var(--hm-text) }
@media (max-width:1023px){ .hm-contact-grid{ grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (max-width:599px){ .hm-contact-grid{ grid-template-columns:minmax(0,1fr) } .hm-contact-card{ padding:24px 18px 20px } }
@media (prefers-reduced-motion:reduce){ .hm-contact-card{ transition:none } .hm-contact-card:hover{ transform:none } }
@media (max-width:1023px){
  .hm-legal-hero{ padding-top:44px }
  .hm-legal-body{ grid-template-columns:minmax(0,1fr); gap:32px; padding-top:28px }
  .hm-legal-toc{ position:static; max-height:none; overflow:visible; padding:4px 18px; border-radius:var(--hm-r); background:var(--hm-tint); border:1px solid var(--hm-line) }
  .hm-legal-toc-h{ display:none }
  .hm-legal-toc-btn{ display:flex; align-items:center; justify-content:space-between; width:100%; min-height:48px; padding:0; background:none; border:0; cursor:pointer;
    font:inherit; font-size:15px; font-weight:600; color:var(--hm-text) }
  .hm-legal-toc-btn .hm-caret{ color:var(--hm-cyan) }
  .hm-legal-toc.is-open .hm-legal-toc-btn .hm-caret{ transform:rotate(180deg) }
  .hm-legal-toc:not(.is-open) ol{ display:none }
  .hm-legal-toc.is-open ol{ padding:4px 0 12px }
  .hm-legal-toc ol{ grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:20px; border-left:0 }
  .hm-legal-toc a{ padding-left:0; border-left:0; min-height:36px }
  .hm-legal-doc{ max-width:720px }
}
@media (max-width:599px){
  .hm-legal-hero{ padding-top:32px }
  .hm-legal-intro{ font-size:16.5px }
  .hm-legal-toc ol{ grid-template-columns:minmax(0,1fr) }
  .hm-legal-toc a{ min-height:44px; align-items:center }
  .hm-legal-sec h2{ font-size:20px }
  .hm-legal-sec{ scroll-margin-top:88px }
}

/* =============================================================
   AUTH-UX-R1 — User Login + Register (.hm-auth)
   -------------------------------------------------------------
   Same family as the Homepage: .hm-root tokens, ambient ground, logo, theme toggle, buttons.
   Everything here is scoped to .hm-auth, so the Homepage, the legal pages, Reset Password,
   the Google username step, Admin login and the app are not touched. The shared Google button
   (auth-google.jsx · .auth-or / .btn.google / .err) is only re-skinned inside this scope.
   ============================================================= */
.hm-root.hm-auth{ display:flex; flex-direction:column; min-height:100vh; min-height:100dvh;
  --hm-au-field:rgba(3,7,17,.55); --hm-au-field-line:rgba(170,196,255,.56);
  --hm-au-bad:#FCA5A5; --hm-au-bad-line:rgba(248,113,113,.6); --hm-au-bad-bg:rgba(248,113,113,.1);
  --hm-au-ok:#5EEAD4; --hm-au-ok-line:rgba(0,244,203,.5); --hm-au-ph:#8E9BB3 }
.hm-root.hm-auth[data-hm-theme="light"]{
  --hm-au-field:rgba(255,255,255,.86); --hm-au-field-line:rgba(20,45,95,.62);
  --hm-au-bad:#B42318; --hm-au-bad-line:rgba(180,35,24,.55); --hm-au-bad-bg:rgba(180,35,24,.07);
  --hm-au-ok:#046C4E; --hm-au-ok-line:rgba(4,108,78,.5); --hm-au-ph:#5B6880 }
.hm-auth-top{ position:relative; z-index:2; width:100%; max-width:1180px; margin:0 auto; padding:20px 24px 0;
  display:flex; align-items:center; justify-content:space-between; gap:16px }
.hm-root.hm-auth main.hm-auth-main{ flex:1; width:100%; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,460px);
  align-items:center; gap:72px; padding-top:32px; padding-bottom:64px }

/* brand side */
.hm-auth-aside{ max-width:520px }
.hm-auth-pitch{ font-size:clamp(30px,3.3vw,44px); line-height:1.2; letter-spacing:-.02em; font-weight:700; color:var(--hm-text); text-wrap:balance }
.hm-auth-pitch span{ display:block }
.hm-auth-pitch .hm-grad-text{ width:fit-content; max-width:100% }
.hm-auth-pitch-sub{ margin-top:18px; font-size:17px; line-height:1.7; color:var(--hm-text-2); max-width:460px; text-wrap:pretty }
.hm-auth-points{ margin-top:26px; display:grid; gap:12px }
.hm-auth-points li{ display:flex; align-items:center; gap:10px; font-size:15.5px; color:var(--hm-text) }
.hm-auth-path{ margin-top:34px; display:flex; align-items:center; gap:0; flex-wrap:wrap; row-gap:10px }
.hm-auth-path li{ position:relative; display:inline-flex; align-items:center; gap:7px; height:36px; padding:0 13px; border-radius:999px; white-space:nowrap;
  font-family:var(--hm-font-ui); font-size:12.5px; font-weight:500; color:var(--hm-text-2); background:var(--hm-tint); border:1px solid var(--hm-glass-line) }
.hm-auth-path li svg{ color:var(--hm-cyan) }
.hm-auth-path li + li{ margin-left:34px }
.hm-auth-path li + li::before{ content:""; position:absolute; right:100%; top:50%; width:34px; border-top:1px dashed var(--hm-net-link); margin-right:1px }

/* form panel */
.hm-auth-panel{ position:relative; padding:36px 36px 30px; border-radius:var(--hm-r-xl); border:1px solid var(--hm-glass-line);
  background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
@media (min-width:1024px){
  @supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
    .hm-auth-panel{ -webkit-backdrop-filter:var(--hm-blur); backdrop-filter:var(--hm-blur) }
  }
}
.hm-auth-h1{ font-size:28px; line-height:1.25; letter-spacing:-.02em }
.hm-auth-lead{ margin-top:8px; font-size:15px; line-height:1.65; color:var(--hm-text-2) }
.hm-auth-form{ margin-top:24px; display:grid; gap:16px }
.hm-field{ display:grid; gap:7px; min-width:0 }
.hm-field > label{ font-size:13.5px; font-weight:600; color:var(--hm-text-2) }
.hm-input-wrap{ position:relative }
.hm-root .hm-input{ display:block; width:100%; height:48px; padding:0 14px; border-radius:12px; font:inherit; font-size:16px; color:var(--hm-text);
  background:var(--hm-au-field); border:1px solid var(--hm-au-field-line); outline:none;
  transition:border-color var(--hm-d-micro) var(--hm-ease), box-shadow var(--hm-d-micro) var(--hm-ease) }
.hm-root .hm-input.has-suffix{ padding-right:50px }
.hm-input::placeholder{ color:var(--hm-au-ph); opacity:1 }
.hm-root .hm-input:hover{ border-color:rgba(110,168,255,.8) }
.hm-root .hm-input:focus-visible{ border-color:var(--hm-cyan); box-shadow:0 0 0 3px rgba(34,211,238,.22); outline:none; border-radius:12px }
.hm-field.is-ok .hm-input{ border-color:var(--hm-au-ok-line) }
.hm-field.is-err .hm-input{ border-color:var(--hm-au-bad-line) }
.hm-root .hm-input:-webkit-autofill,.hm-root .hm-input:-webkit-autofill:focus{ -webkit-text-fill-color:var(--hm-text); caret-color:var(--hm-text);
  -webkit-box-shadow:0 0 0 1000px var(--hm-surface) inset; box-shadow:0 0 0 1000px var(--hm-surface) inset }
.hm-eye{ position:absolute; top:2px; right:2px; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center;
  background:none; border:0; border-radius:10px; color:var(--hm-muted); cursor:pointer }
.hm-eye:hover{ color:var(--hm-text) }
.hm-field-msg{ min-height:18px; font-size:12.5px; line-height:1.45 }
.hm-field-msg:empty{ min-height:0 }
.hm-hint{ color:var(--hm-muted) }
.hm-ok{ display:inline-flex; align-items:center; gap:5px; color:var(--hm-au-ok) }
.hm-bad{ color:var(--hm-au-bad) }
.hm-auth-pair{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start }
.hm-auth-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap }
.hm-auth-check{ display:inline-flex; align-items:flex-start; gap:9px; font-size:14px; line-height:1.55; color:var(--hm-text-2); cursor:pointer }
.hm-auth-check input{ flex-shrink:0; width:18px; height:18px; margin:2px 0 0; accent-color:var(--hm-blue); cursor:pointer }
.hm-root .hm-auth-link{ display:inline; padding:0; background:none; border:0; font:inherit; font-size:inherit; font-weight:600; color:var(--hm-cyan); cursor:pointer;
  text-decoration:underline; text-decoration-color:transparent; text-underline-offset:3px; transition:text-decoration-color var(--hm-d-micro) var(--hm-ease) }
.hm-root .hm-auth-link:hover{ text-decoration-color:currentColor }
.hm-auth-row .hm-auth-link{ font-size:14px }
.hm-auth-err,.hm-auth .err{ padding:10px 12px; border-radius:10px; font-size:13.5px; line-height:1.5; color:var(--hm-au-bad); background:var(--hm-au-bad-bg); border:1px solid var(--hm-au-bad-line) }
.hm-auth .hm-btn:disabled{ opacity:.62; cursor:progress; transform:none; box-shadow:none }
.hm-auth-foot{ margin-top:22px; text-align:center; font-size:14.5px; color:var(--hm-text-2) }

/* shared Google button, re-skinned in this scope only */
.hm-auth .auth-or{ display:flex; align-items:center; gap:12px; margin:2px 0; font-size:12.5px; letter-spacing:.02em; text-transform:none; color:var(--hm-muted) }
.hm-auth .auth-or::before,.hm-auth .auth-or::after{ content:""; height:1px; flex:1; background:var(--hm-line-2) }
.hm-auth .btn.google{ display:inline-flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:48px; padding:0 18px; border-radius:12px;
  font:inherit; font-size:15px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--hm-text); cursor:pointer;
  background:var(--hm-tint); border:1px solid var(--hm-line-2); box-shadow:none;
  transition:border-color var(--hm-d-micro) var(--hm-ease), background-color var(--hm-d-micro) var(--hm-ease) }
.hm-auth .btn.google:hover{ border-color:rgba(110,168,255,.55); background:var(--hm-tint-2); transform:none; box-shadow:none }
.hm-auth .btn.google:disabled{ opacity:.62; cursor:progress }

@media (prefers-reduced-motion:no-preference){
  .hm-auth-panel{ animation:hm-in var(--hm-d-section) var(--hm-ease) both }
  .hm-auth-aside{ animation:hm-in var(--hm-d-section) var(--hm-ease) 80ms both }
}

/* narrow desktop: the three chips no longer fit on one line next to the form */
@media (max-width:1279px){ .hm-auth-path{ display:none } }
/* tablet: one column — short brand line above the form */
@media (max-width:1023px){
  .hm-root.hm-auth main.hm-auth-main{ grid-template-columns:minmax(0,1fr); justify-items:center; gap:28px; padding-top:28px; align-content:start }
  .hm-auth-aside{ max-width:520px; width:100%; text-align:center }
  .hm-auth-aside .hm-eyebrow{ margin-bottom:10px }
  .hm-auth-pitch{ font-size:clamp(24px,4vw,32px) }
  .hm-auth-pitch .hm-grad-text{ margin:0 auto }
  .hm-auth-pitch-sub,.hm-auth-points,.hm-auth-path{ display:none }
  .hm-auth-panel{ width:100%; max-width:520px }
}
/* phone: the form comes first, decoration is dropped */
@media (max-width:599px){
  .hm-auth-top{ padding:12px 16px 0 }
  .hm-root.hm-auth main.hm-auth-main{ padding-top:16px; padding-bottom:36px; gap:0 }
  .hm-auth-aside{ display:none }
  .hm-auth-panel{ padding:26px 20px 24px; border-radius:var(--hm-r-lg) }
  .hm-auth-h1{ font-size:25px }
  .hm-auth-pair{ grid-template-columns:minmax(0,1fr) }
  .hm-auth-check{ min-height:44px; align-items:center }
  .hm-auth-check input{ margin:0 }
  .hm-auth-row .hm-auth-link{ min-height:44px; display:inline-flex; align-items:center }
  .hm-auth-foot .hm-auth-link{ display:inline-block; padding:11px 0 }
  .hm-auth-top .hm-theme{ min-height:44px }
}

/* =============================================================
   AUTH-UX-R2 — additions to the .hm-auth family
   -------------------------------------------------------------
   Language control in the top bar, the single-panel layout used by Reset Password, Reset
   Confirm, Google username and the Back Office login, result states, and the Back Office badge.
   Everything stays scoped to .hm-auth.
   ============================================================= */
.hm-auth-tools{ display:flex; align-items:center; gap:10px }
.hm-root.hm-auth--solo main.hm-auth-main{ grid-template-columns:minmax(0,460px); justify-content:center; align-content:center; gap:0 }
.hm-auth-row--end{ justify-content:flex-end }
.hm-auth .hm-btn:disabled:not([aria-busy="true"]){ cursor:not-allowed }
.hm-auth .hm-btn--ghost{ margin-top:-4px }
.hm-auth-foot .hm-auth-link{ font-size:inherit }
.hm-auth-meta{ margin-top:8px; font-size:13px; line-height:1.55; color:var(--hm-muted) }

/* result state: link sent / password updated / link not usable / checking */
.hm-auth-status{ display:grid; justify-items:center; text-align:center }
.hm-auth-status-ic{ display:grid; place-items:center; width:56px; height:56px; margin-bottom:18px; border-radius:50%;
  color:var(--hm-au-ok); background:rgba(0,244,203,.1); border:1px solid var(--hm-au-ok-line) }
.hm-auth-status-ic.is-err{ color:var(--hm-au-bad); background:var(--hm-au-bad-bg); border-color:var(--hm-au-bad-line) }
.hm-root[data-hm-theme="light"] .hm-auth-status-ic:not(.is-err){ background:rgba(4,108,78,.08) }
.hm-auth-status .hm-auth-lead{ max-width:36ch; text-wrap:pretty }
.hm-auth-status .hm-btn{ margin-top:26px }

/* Google username: which Google account this step belongs to */
.hm-auth-acct{ display:inline-flex; align-items:center; gap:8px; max-width:100%; margin-top:16px; padding:8px 12px; border-radius:10px;
  font-size:13.5px; line-height:1.45; color:var(--hm-text-2); background:var(--hm-tint); border:1px solid var(--hm-line-2); overflow-wrap:anywhere }
.hm-auth-acct b{ font-weight:600; color:var(--hm-text) }

/* Back Office identity */
.hm-auth-badge{ display:inline-flex; align-items:center; gap:8px; max-width:100%; min-height:30px; margin-bottom:18px; padding:4px 12px; border-radius:999px;
  font-family:var(--hm-font-ui); font-size:12px; font-weight:600; letter-spacing:.01em; color:var(--hm-text);
  background:var(--hm-tint); border:1px solid var(--hm-line-2); flex-wrap:wrap }
.hm-auth-badge svg{ color:var(--hm-cyan); flex-shrink:0 }
.hm-auth-badge i{ width:1px; height:12px; background:var(--hm-line-2) }
.hm-auth-badge-tag{ font-weight:500; color:var(--hm-text-2) }

/* shared OTP boxes (admin-profile.jsx · .adm-otp), re-skinned in this scope only */
.hm-auth .adm-otp{ justify-content:space-between !important; gap:8px !important; padding:2px 0 !important }
.hm-auth .adm-otp-box{ flex:1 1 0; min-width:0; max-width:56px; width:auto; height:56px; border-radius:12px; font-family:var(--hm-font-ui); font-size:22px; font-weight:600;
  color:var(--hm-text); background:var(--hm-au-field); border:1px solid var(--hm-au-field-line); outline:none; box-shadow:none }
.hm-auth .adm-otp-box:hover{ background:var(--hm-au-field); border-color:rgba(110,168,255,.8) }
.hm-auth .adm-otp-box:focus{ border-color:var(--hm-cyan); background:var(--hm-au-field); box-shadow:0 0 0 3px rgba(34,211,238,.22) }
.hm-auth .adm-otp-box.err{ border-color:var(--hm-au-bad-line); box-shadow:none }

@media (max-width:599px){
  .hm-auth-tools{ gap:6px }
  .hm-auth-top .hm-lang-trigger{ min-height:44px }
  .hm-auth-foot button.hm-auth-link{ min-height:44px }
  .hm-auth-foot a.hm-auth-link{ padding:13px 0 }
  .hm-auth .adm-otp-box{ height:50px; font-size:20px }
}

/* =============================================================
   ADMIN-2FA-UI-R1 — OTP field of the Back Office login (.hm-otp)
   -------------------------------------------------------------
   Six cells; the input's own text is transparent and a keyed span shows the digit, so each new
   digit can roll in. States: focus (glow) · filled · ready (six digits typed — NOT verified) ·
   busy · err (shake) · ok (only after the code was really accepted).
   All motion sits inside prefers-reduced-motion:no-preference — otherwise states switch at once.
   ============================================================= */

.hm-otp-msg{ min-height:20px; margin-top:2px; font-size:12.5px; line-height:1.5 }

/* =============================================================
   HOMEPAGE-COOKIE-R1 / R1B / R1C — cookie notice (Marketing Homepage only)
   -------------------------------------------------------------
   A compact, non-modal card centred at the bottom: it never locks scroll, never takes focus and
   sits below the header, the drawer and its scrim. Rendered by PublicHome only.
   Centring uses inset + auto margins (not a transform), so the entrance translate stays free.
   ============================================================= */
.hm-cookie{ position:fixed; left:0; right:0; bottom:22px; z-index:55; margin-inline:auto; width:min(520px, calc(100vw - 32px)); padding:16px 20px 16px; border-radius:var(--hm-r-lg);
  color:var(--hm-text); background:rgba(11,18,36,.94); border:1px solid rgba(190,210,255,.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 24px 60px -28px rgba(0,0,0,.9) }
.hm-root[data-hm-theme="light"] .hm-cookie{ background:rgba(255,255,255,.96); border-color:rgba(20,45,95,.16);
  box-shadow:inset 0 1px 0 #fff, 0 22px 54px -30px rgba(20,45,95,.5) }
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .hm-cookie{ background:rgba(11,18,36,.86); -webkit-backdrop-filter:blur(16px) saturate(140%); backdrop-filter:blur(16px) saturate(140%) }
  .hm-root[data-hm-theme="light"] .hm-cookie{ background:rgba(255,255,255,.9) }
}
.hm-cookie::before{ content:""; position:absolute; top:-1px; left:22px; right:22px; height:1px; border-radius:1px; opacity:.75;
  background:linear-gradient(90deg, transparent, #3B82F6 22%, #22D3EE 55%, #2EE6FF 80%, transparent) }
/* R1C — phones: stacked (icon + heading, then text, then a centred button). From 600px up: one row. */
.hm-cookie-main{ display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; column-gap:8px }
.hm-cookie-txt{ display:contents }
.hm-cookie-ic{ display:inline-flex; flex-shrink:0; width:30px; height:30px; color:var(--hm-cyan) }
.hm-cookie-ic .hm-lord-slot{ width:100%; height:100% }
.hm-cookie-ic .hm-lord-fallback{ width:22px; height:22px }
.hm-cookie-ic .hm-lord-box{ inset:0 }
.hm-root[data-hm-theme="light"] .hm-cookie-ic .hm-lord-box{ filter:none }
.hm-cookie-h{ font-size:15.5px; font-weight:700; line-height:1.35; letter-spacing:-.005em; color:var(--hm-text) }
.hm-cookie-p{ grid-column:1 / -1; margin-top:6px; font-size:13.5px; line-height:1.6; color:var(--hm-text-2) }
.hm-root .hm-cookie-link{ font-weight:600; color:var(--hm-cyan); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px }
.hm-root .hm-cookie-link:hover{ text-decoration-thickness:2px }
.hm-cookie-foot{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:12px }   /* 2026-11-13: consent mode has 2 buttons */
/* visual height 38px; the ::after keeps the touch target at 44px without enlarging the button */
.hm-root .hm-cookie-btn{ position:relative; min-height:38px; min-width:128px; padding:0 20px; font-size:13.5px }
.hm-root .hm-cookie-btn::after{ content:""; position:absolute; inset:-4px 0 }
@media (prefers-reduced-motion:no-preference){
  .hm-cookie{ animation:hm-cookie-in 240ms var(--hm-ease) 200ms both }
}
@keyframes hm-cookie-in{ from{ opacity:0; transform:translateY(10px) } to{ opacity:1; transform:none } }
@media (max-width:599px){
  .hm-cookie{ bottom:calc(16px + env(safe-area-inset-bottom, 0px)); padding:14px 16px 14px }
}
@media (min-width:600px){
  .hm-cookie{ display:flex; align-items:center; gap:20px; width:min(740px, calc(100vw - 32px)); padding:20px 20px 20px 18px }
  .hm-cookie-main{ flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:12px }
  .hm-cookie-txt{ display:block; min-width:0 }
  .hm-cookie-ic{ width:38px; height:38px }
  .hm-cookie-ic .hm-lord-fallback{ width:26px; height:26px }
  .hm-cookie-h{ font-size:15.5px }
  .hm-cookie-p{ margin-top:2px; line-height:1.55 }
  .hm-cookie-foot{ flex:0 0 auto; margin-top:0 }
  .hm-root .hm-cookie-btn{ min-height:36px; min-width:0; padding:0 18px; font-size:13px }
  .hm-root .hm-cookie-btn::after{ inset:-4px }
}
@media print{ .hm-cookie{ display:none } }

/* =============================================================
   Responsive — desktop ≥1024 · tablet 600–1023 · mobile ≤599
   ============================================================= */
@media (max-width:1023px){
  .hm-nav,.hm-header-ctas{ display:none }
  .hm-burger{ display:inline-flex }
  .hm-header .hm-lang-trigger{ min-height:44px }
  .hm-hero{ grid-template-columns:minmax(0,1fr); gap:36px; padding-top:48px }
  .hm-hero-copy{ max-width:680px }
  /* V-4 — tablet composition: the diagram is capped instead of stretching edge to edge */
  .hm-hero-art{ width:100%; max-width:560px; justify-self:center }
  .hm-flow-section{ grid-template-columns:minmax(0,1fr); gap:36px }
  .hm-flow-section.is-flip .hm-flow-copy,.hm-flow-section.is-flip .hm-flow-art{ order:0 }
  .hm-section{ padding-top:88px }
  .hm-eco-grid{ grid-template-columns:repeat(2,1fr) }
  .hm-price-grid{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hm-faq{ grid-template-columns:minmax(0,1fr); gap:40px }
  .hm-faq-col{ order:-1 }
  .hm-foot-grid{ grid-template-columns:repeat(2,1fr) }
  .hm-foot-brand{ grid-column:1 / -1 }
}
@media (max-width:599px){
  .hm-root{ font-size:15.5px }
  .hm-root main{ padding:0 16px }
  .hm-header{ padding:8px 10px 0 }
  .hm-header-bar{ padding:0 8px 0 12px; border-radius:16px; gap:8px }
  .hm-logo .hm-logo-img{ height:30px }
  .hm-logo{ min-height:44px }
  .hm-lang-trigger{ min-height:44px }
  .hm-foot-link,.hm-text-link{ min-height:44px }
  .hm-foot-link{ min-width:44px }
  /* the Delivered chip moves under the label so "Meta Conversions API" stays on one line */
  .hm-sf-step.is-last{ flex-wrap:wrap; row-gap:8px }
  .hm-sf-step.is-last .hm-sf-text{ flex-basis:calc(100% - 50px) }
  .hm-sf-step.is-last .hm-sf-status{ margin-left:50px }
  .hm-hero{ padding-top:36px; gap:28px }
  .hm-hero-sub{ font-size:16.5px }
  .hm-hero-ctas{ flex-direction:column; align-items:stretch }
  .hm-hero-ctas .hm-btn{ width:100% }
  .hm-visual-inner{ padding:18px }
  .hm-stages{ gap:4px }
  .hm-stage-arrow{ display:none }
  .hm-phone{ max-width:none; border-radius:14px; padding:9px 7px; gap:5px }
  .hm-stage-tag{ font-size:11.5px; padding:3px 8px }
  .hm-blk{ font-size:9px }
  .hm-blk span{ overflow:hidden; white-space:nowrap; text-overflow:ellipsis }
  .hm-kpi strong{ font-size:18px }
  .hm-kpi{ padding:10px 8px }
  .hm-lf-short{ font-size:14px; padding-left:12px }
  .hm-lf-sample{ display:none }
  .hm-section{ padding-top:72px; scroll-margin-top:84px }
  .hm-eco-grid{ grid-template-columns:1fr }
  .hm-eco-item{ padding:16px }
  .hm-paths-grid{ grid-template-columns:1fr }
  .hm-price-controls{ flex-direction:column; align-items:stretch }
  .hm-seg,.hm-cycle{ width:100%; display:grid }
  .hm-seg-btn,.hm-cycle-btn{ flex:1; min-height:44px }
  .hm-price-grid{ grid-template-columns:1fr }
  .hm-faq-q button{ font-size:16px }
  .hm-final{ margin-top:88px; padding:40px 18px }
  .hm-footer{ padding:56px 16px 28px }
  .hm-foot-grid{ grid-template-columns:1fr 1fr; gap:24px }
}

/* =============================================================
   Reduced motion — no entrance, no reveal, no flowing lines,
   no drawer/menu travel (instant state change only)
   ============================================================= */
@media (prefers-reduced-motion:reduce){
  .hm-root *,.hm-root *::before,.hm-root *::after{ animation:none !important; transition:none !important }
  .hm-in{ opacity:1; transform:none }
}


/* =============================================================
   Homepage SEO — keyword pages (home-seo.jsx · /landing-page · /sale-page · /short-link)
   Same shell as the legal pages (.hm-root.hm-legal). Round 2 (Owner 2026-11-29): one accent per
   page, set on the root — .hm-seo--blue (/landing-page) · --amber (/sale-page) · --jade
   (/short-link) — and read through --sa-* only. --sa is the text / icon accent (≥4.5:1 on the
   ground in both themes: light theme maps to #1D4ED8 / #92400E / #046C4E); --sa-fill and --sa-grad
   only ever sit under dark ink text. .hm-seo-card-link is also used by the two Homepage
   Ecosystem cards that open these pages.
   ============================================================= */
.hm-seo-has-link{ position:relative }
.hm-seo-card-link{ color:inherit; text-decoration:underline; text-decoration-color:var(--hm-line-2); text-underline-offset:4px }
.hm-seo-card-link::after{ content:''; position:absolute; inset:0 }   /* the whole card is the hit area */
.hm-seo-has-link:hover .hm-seo-card-link{ color:var(--hm-cyan); text-decoration-color:currentColor }
.hm-root[data-hm-theme="light"] .hm-seo-has-link:hover .hm-seo-card-link{ color:var(--hm-blue) }
.hm-seo .hm-seo-has-link:hover .hm-seo-card-link{ color:var(--sa) }

/* ---- accent tokens ---- */
.hm-seo{ --sa:var(--hm-blue-l); --sa-fill:#3B82F6; --sa-grad:var(--hm-grad);
  --sa-soft:rgba(59,130,246,.11); --sa-soft-2:rgba(59,130,246,.2); --sa-line:rgba(110,168,255,.32); --sa-sel:rgba(59,130,246,.42);
  --sa-shadow:0 10px 36px -14px rgba(59,130,246,.55); --sa-shadow-hi:0 14px 40px -14px rgba(34,211,238,.6);
  --sa-err:#FCA5A5; --sa-err-line:rgba(248,113,113,.55) }
.hm-seo--amber{ --sa:var(--hm-amber); --sa-fill:#FBBF24; --sa-grad:linear-gradient(120deg,#FCD34D 0%,#F59E0B 100%);
  --sa-soft:rgba(251,191,36,.09); --sa-soft-2:rgba(251,191,36,.17); --sa-line:rgba(251,191,36,.34); --sa-sel:rgba(251,191,36,.36);
  --sa-shadow:0 10px 36px -14px rgba(245,158,11,.55); --sa-shadow-hi:0 14px 40px -14px rgba(251,191,36,.6) }
.hm-seo--jade{ --sa:var(--hm-jade); --sa-fill:#2EE6FF; --sa-grad:linear-gradient(120deg,#2EE6FF 0%,#22D3EE 100%);
  --sa-soft:rgba(0,244,203,.08); --sa-soft-2:rgba(0,244,203,.15); --sa-line:rgba(0,244,203,.3); --sa-sel:rgba(0,244,203,.3);
  --sa-shadow:0 10px 36px -14px rgba(0,244,203,.42); --sa-shadow-hi:0 14px 40px -14px rgba(0,244,203,.55) }
.hm-root[data-hm-theme="light"].hm-seo{ --sa-soft:rgba(37,99,235,.07); --sa-soft-2:rgba(37,99,235,.13); --sa-line:rgba(37,99,235,.3); --sa-sel:rgba(37,99,235,.22);
  --sa-err:#B91C1C; --sa-err-line:rgba(185,28,28,.5) }
.hm-root[data-hm-theme="light"].hm-seo--amber{ --sa-fill:#F59E0B; --sa-grad:linear-gradient(120deg,#FBBF24 0%,#F59E0B 100%);
  --sa-soft:rgba(217,119,6,.08); --sa-soft-2:rgba(217,119,6,.15); --sa-line:rgba(180,83,9,.32); --sa-sel:rgba(245,158,11,.3);
  --sa-shadow:0 10px 30px -14px rgba(217,119,6,.5); --sa-shadow-hi:0 14px 36px -14px rgba(217,119,6,.55) }
.hm-root[data-hm-theme="light"].hm-seo--jade{ --sa-fill:#2EE6C4; --sa-grad:linear-gradient(120deg,#2EE6C4 0%,#22D3EE 100%);
  --sa-soft:rgba(4,108,78,.07); --sa-soft-2:rgba(4,108,78,.13); --sa-line:rgba(4,108,78,.3); --sa-sel:rgba(0,201,167,.26);
  --sa-shadow:0 10px 30px -14px rgba(4,108,78,.45); --sa-shadow-hi:0 14px 36px -14px rgba(4,108,78,.5) }
.hm-seo ::selection{ background:var(--sa-sel); color:var(--hm-text) }

/* ---- shared: hero · heads · notes · tags · button · FAQ · final band ---- */
.hm-seo-hero{ padding:64px 0 8px }
.hm-seo-hero.is-split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:56px; align-items:center }
.hm-seo-hero.is-short{ grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr) }
.hm-seo-hero.is-center{ text-align:center }
.hm-seo-hero.is-center .hm-seo-hero-copy{ max-width:840px; margin:0 auto; display:flex; flex-direction:column; align-items:center }
.hm-seo-hero.is-center .hm-hero-ctas{ justify-content:center }
.hm-seo-hero.is-center .hm-seo-hero-art{ margin-top:52px }
.hm-seo-h1{ font-size:clamp(34px,4.3vw,54px); line-height:1.1; letter-spacing:-.03em; font-weight:700; text-wrap:balance }
.hm-root:lang(th) .hm-seo-h1, .hm-seo-h1:lang(th){ line-height:1.24; letter-spacing:-.015em }
@media (min-width:600px){ .hm-seo-h1 > span{ white-space:nowrap } }
.hm-seo-lead{ margin-top:20px; font-size:18px; line-height:1.75; color:var(--hm-text-2); max-width:600px; text-wrap:pretty }
.hm-seo-hero.is-center .hm-seo-lead{ max-width:700px }
.hm-seo-hero-note{ margin-top:14px; font-size:14px; color:var(--hm-muted) }
.hm-seo-head .hm-lead{ max-width:660px }
.hm-seo-head.is-center{ text-align:center; display:flex; flex-direction:column; align-items:center }
.hm-seo .hm-seo-btn{ background:var(--sa-grad); box-shadow:var(--sa-shadow) }
.hm-seo .hm-seo-btn:hover{ box-shadow:var(--sa-shadow-hi) }
.hm-seo-note{ margin-top:28px; display:flex; gap:12px; align-items:flex-start; padding:16px 18px; border-radius:var(--hm-r);
  background:var(--sa-soft); border:1px solid var(--sa-line); font-size:14.5px; line-height:1.7; color:var(--hm-text-2); text-align:left }
.hm-seo-note-ic,.hm-seo-tick{ flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; margin-top:1px; border-radius:50%; background:var(--sa-soft-2); color:var(--sa) }
.hm-seo-tick{ width:20px; height:20px; margin-top:3px }
.hm-seo-fine{ margin-top:16px; font-size:13.5px; line-height:1.7; color:var(--hm-muted); max-width:760px }
.hm-seo-tag{ display:inline-flex; align-items:center; padding:1px 8px; border-radius:999px; font-size:11.5px; font-weight:600; line-height:1.6; letter-spacing:0;
  white-space:nowrap; color:var(--hm-text-2); border:1px solid var(--hm-line-2) }
.hm-seo-tag.is-free{ color:var(--hm-jade); border-color:rgba(0,244,203,.32) }
.hm-seo-tag.is-paid{ color:var(--sa); border-color:var(--sa-line) }
.hm-seo-tag.is-ads{ color:var(--hm-cyan); border-color:rgba(34,211,238,.36) }
.hm-root[data-hm-theme="light"] .hm-seo-tag.is-free{ border-color:rgba(4,108,78,.32) }
.hm-root[data-hm-theme="light"] .hm-seo-tag.is-ads{ border-color:rgba(10,92,116,.34) }
.hm-seo-badge{ position:absolute; top:14px; right:14px; z-index:2 }
.hm-seo .hm-faq-q .hm-caret{ color:var(--sa) }
.hm-seo-faq.is-blue{ display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:56px; align-items:start }
.hm-seo-faq.is-blue .hm-faq-list{ margin-top:0 }
.hm-seo-faq.is-amber,.hm-seo-faq.is-brand{ max-width:860px; margin-left:auto; margin-right:auto }
.hm-seo-faq.is-amber .hm-faq-list,.hm-seo-faq.is-brand .hm-faq-list{ margin-top:32px }
.hm-seo-faq.is-jade{ max-width:860px }
.hm-seo .hm-final{ border-color:var(--sa-line); background:radial-gradient(70% 90% at 50% 0%, var(--sa-soft-2), transparent 70%), var(--hm-glass-hi), var(--hm-glass-base) }

/* ---- /landing-page · editor visual ---- */
.hm-seo-ed .hm-visual-inner{ padding:0 }
.hm-seo-ed-bar{ display:flex; align-items:center; gap:10px; padding:12px 16px; border-bottom:1px solid var(--hm-glass-line) }
.hm-seo-ed-name{ margin-right:auto; font-size:13.5px; font-weight:600; color:var(--hm-text) }
.hm-seo-ed-view{ display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:999px; font-size:12.5px; color:var(--hm-text-2); background:var(--hm-tint) }
.hm-seo-ed-pub{ padding:5px 12px; border-radius:8px; font-size:12.5px; font-weight:700; background:var(--sa-grad); color:var(--hm-ink) }
.hm-seo-ed-body{ display:grid; grid-template-columns:112px minmax(0,1fr) 116px; min-height:420px }
.hm-seo-ed-pal{ display:grid; gap:6px; align-content:start; padding:14px 10px; border-right:1px solid var(--hm-glass-line) }
.hm-seo-ed-pal li{ display:flex; align-items:center; gap:7px; padding:8px; border-radius:9px; font-size:12.5px; color:var(--hm-text-2); background:var(--hm-tint); border:1px solid transparent; white-space:nowrap }
.hm-seo-ed-pal svg{ flex-shrink:0; color:var(--sa) }
.hm-seo-ed-pal li.is-picked{ color:var(--hm-text); background:var(--sa-soft-2); border-color:var(--sa-line) }
.hm-seo-ed-canvas{ display:flex; justify-content:center; align-items:flex-start; padding:24px 16px;
  background-image:radial-gradient(var(--hm-line-2) 1px, transparent 1.2px); background-size:16px 16px }
.hm-seo-ed-phone{ width:100%; max-width:212px; display:grid; gap:9px; padding:14px 12px 16px; border-radius:24px; background:var(--hm-node); border:1px solid var(--hm-line-2);
  box-shadow:0 22px 44px -26px rgba(0,0,0,.7) }
.hm-root[data-hm-theme="light"] .hm-seo-ed-phone{ box-shadow:0 22px 44px -28px rgba(20,45,95,.45) }
.hm-seo-eb{ border-radius:9px }
.hm-seo-eb--img{ height:96px; display:flex; align-items:center; justify-content:center; color:var(--sa); background:linear-gradient(135deg, var(--sa-soft-2), var(--hm-tint)) }
.hm-seo-eb--h{ height:13px; width:76%; margin:4px auto 0; border-radius:5px; background:var(--hm-skel) }
.hm-seo-eb--lines{ display:grid; gap:5px; justify-items:center }
.hm-seo-eb--lines i{ display:block; width:100%; height:6px; border-radius:3px; background:var(--hm-skel); opacity:.75 }
.hm-seo-eb--lines i:nth-child(2){ width:90% } .hm-seo-eb--lines i:nth-child(3){ width:62% }
.hm-seo-eb--price{ display:flex; align-items:baseline; justify-content:center; gap:7px; padding:4px 0; font-variant-numeric:tabular-nums }
.hm-seo-eb--price strong{ font-size:18px; font-weight:700; color:var(--hm-text) }
.hm-seo-eb--price s{ font-size:12px; color:var(--hm-muted) }
.hm-seo-eb--price em{ font-style:normal; font-size:10.5px; font-weight:700; padding:1px 6px; border-radius:999px; background:var(--sa-soft-2); color:var(--sa) }
.hm-seo-eb--btn{ position:relative; height:40px; display:flex; align-items:center; justify-content:center; border-radius:11px; font-size:13px; font-weight:700;
  background:var(--sa-grad); color:var(--hm-ink); outline:2px solid var(--sa); outline-offset:3px }
.hm-seo-eb-grip{ position:absolute; right:8px; top:50%; transform:translateY(-50%); display:flex; opacity:.6 }
.hm-seo-eb--social{ display:flex; justify-content:center; gap:8px; padding-top:2px }
.hm-seo-eb--social i{ width:18px; height:18px; border-radius:50%; background:var(--hm-skel) }
.hm-seo-ed-panel{ display:grid; gap:14px; align-content:start; padding:14px 12px; border-left:1px solid var(--hm-glass-line); font-size:12px; color:var(--hm-text-2) }
.hm-seo-ed-ph{ font-size:12.5px; font-weight:700; color:var(--hm-text) }
.hm-seo-ed-row{ display:grid; gap:6px }
.hm-seo-ed-sw,.hm-seo-ed-seg{ display:flex; gap:6px }
.hm-seo-ed-sw i{ width:18px; height:18px; border-radius:50%; background:var(--sa-fill); box-shadow:inset 0 0 0 1px rgba(0,0,0,.15) }
.hm-seo-ed-sw i:nth-child(1){ outline:2px solid var(--sa); outline-offset:2px }
.hm-seo-ed-sw i:nth-child(2){ background:#22D3EE } .hm-seo-ed-sw i:nth-child(3){ background:var(--hm-skel) }
.hm-seo-ed-seg i{ flex:1; height:16px; border-radius:5px; background:var(--hm-tint-2) }
.hm-seo-ed-seg i.is-on{ background:var(--sa-soft-2); box-shadow:inset 0 0 0 1px var(--sa-line) }
.hm-seo-ed-slider{ position:relative; height:4px; margin-top:6px; border-radius:2px; background:var(--hm-tint-2) }
.hm-seo-ed-slider i{ position:absolute; left:38%; top:50%; width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:50%; background:var(--sa-fill) }

/* ---- /landing-page · block catalog · timeline · about · after-publish list ---- */
.hm-seo-blocks-rail{ margin-top:36px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); overflow:hidden;
  border-radius:var(--hm-r-lg); border:1px solid var(--hm-glass-line); background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-blocks-rail li{ display:grid; gap:6px; align-content:start; padding:20px; border-right:1px solid var(--hm-glass-line); border-bottom:1px solid var(--hm-glass-line) }
.hm-seo-blocks-rail li:nth-child(4n){ border-right:0 }
.hm-seo-blocks-rail li:nth-last-child(-n+4){ border-bottom:0 }
.hm-seo-blocks-rail h3{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px }
.hm-seo-blocks-rail p{ font-size:14px; line-height:1.6; color:var(--hm-muted) }
.hm-seo-bp{ display:flex; align-items:center; justify-content:center; gap:6px; height:68px; margin-bottom:8px; padding:0 16px; border-radius:12px;
  background:var(--hm-tint); border:1px dashed var(--hm-line-2); color:var(--sa) }
.hm-seo-bp i{ display:block }
.hm-seo-bp--text{ flex-direction:column; align-items:stretch; gap:5px }
.hm-seo-bp--text b{ display:block; width:62%; height:8px; border-radius:4px; background:var(--sa-line) }
.hm-seo-bp--text i{ height:5px; border-radius:3px; background:var(--hm-skel) } .hm-seo-bp--text i:last-child{ width:72% }
.hm-seo-bp--image{ display:grid; grid-template-columns:repeat(2,26px); gap:4px; align-content:center }
.hm-seo-bp--image i{ height:20px; border-radius:5px; background:var(--sa-soft-2) }
.hm-seo-bp--slide{ flex-direction:column; gap:6px }
.hm-seo-bp--slide em,.hm-seo-anat-b em{ display:flex; gap:4px }
.hm-seo-bp--slide em i,.hm-seo-anat-b em i{ width:5px; height:5px; border-radius:50%; background:var(--hm-skel) }
.hm-seo-bp--slide em i.is-on,.hm-seo-anat-b em i.is-on{ background:var(--sa) }
.hm-seo-bp--button i{ width:72%; height:22px; border-radius:8px; background:var(--sa-grad) }
.hm-seo-bp--price{ align-items:baseline; font-variant-numeric:tabular-nums }
.hm-seo-bp--price strong{ font-size:18px; color:var(--hm-text) }
.hm-seo-bp--price s{ font-size:12.5px; color:var(--hm-muted) }
.hm-seo-bp--social i{ width:18px; height:18px; border-radius:50%; background:var(--sa-soft-2); box-shadow:inset 0 0 0 1px var(--sa-line) }
.hm-seo-bp--divider i{ width:72%; height:2px; border-radius:1px; background:var(--sa-line) }
.hm-seo-tl{ position:relative; margin-top:48px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px }
.hm-seo-tl::before{ content:''; position:absolute; top:21px; left:calc((100% - 64px) / 6); right:calc((100% - 64px) / 6); height:2px;
  background:linear-gradient(90deg, var(--sa-line), var(--sa) 55%, var(--sa-line)) }
.hm-seo-tl li{ display:grid; align-content:start; justify-items:center; gap:8px; text-align:center }
.hm-seo-tl-n{ position:relative; z-index:1; display:flex; align-items:center; justify-content:center; width:44px; height:44px; margin-bottom:8px; border-radius:50%;
  font-family:var(--hm-font-en); font-size:16px; font-weight:700; color:var(--sa); background:var(--hm-bg); border:2px solid var(--sa-line) }
.hm-seo-tl li:last-child .hm-seo-tl-n{ background:var(--sa-grad); color:var(--hm-ink); border-color:transparent }
.hm-seo-tl p{ max-width:300px; font-size:15px; line-height:1.7; color:var(--hm-text-2) }
.hm-seo-about{ display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:56px; align-items:start }
.hm-seo-about > .hm-h2{ position:sticky; top:104px }
.hm-seo-about-body p{ max-width:66ch; font-size:17px; line-height:1.85; color:var(--hm-text-2); text-wrap:pretty }
.hm-seo-about-body p + p{ margin-top:16px }
.hm-seo-fit-h{ margin-top:30px }
.hm-seo-fit{ margin-top:12px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 28px }
.hm-seo-fit li{ display:flex; gap:10px; align-items:baseline; font-size:15.5px; line-height:1.6; color:var(--hm-text) }
.hm-seo-dot{ flex-shrink:0; width:7px; height:7px; border-radius:50%; background:var(--sa); transform:translateY(-2px) }
.hm-seo-after{ margin-top:36px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:48px; border-top:1px solid var(--hm-line) }
.hm-seo-after > li{ display:flex; gap:14px; align-items:flex-start; padding:20px 0; border-bottom:1px solid var(--hm-line) }
.hm-seo-after .hm-icon{ width:36px; height:36px; border-radius:11px; background:var(--sa-soft); color:var(--sa) }
.hm-seo-after h3{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px }
.hm-seo-after p{ margin-top:4px; font-size:14.5px; line-height:1.7; color:var(--hm-muted) }

/* ---- /sale-page · funnel visual ---- */
.hm-seo-funnel{ max-width:980px; margin:0 auto; text-align:left }
.hm-seo-funnel .hm-visual-inner{ padding:44px 32px 30px }
.hm-seo-fn{ position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:44px }
.hm-seo-fn-st{ display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center }
.hm-seo-fn-card{ width:100%; max-width:220px; height:200px; display:flex; flex-direction:column; gap:8px; margin-bottom:14px; padding:12px; border-radius:16px;
  background:var(--hm-node); border:1px solid var(--hm-line-2); box-shadow:0 18px 36px -26px rgba(0,0,0,.7); text-align:left }
.hm-root[data-hm-theme="light"] .hm-seo-fn-card{ box-shadow:0 18px 36px -28px rgba(20,45,95,.4) }
.hm-seo-fn-label{ font-size:16px; font-weight:700; color:var(--hm-text) }
.hm-seo-fn-sub{ font-size:13.5px; line-height:1.5; color:var(--hm-muted) }
.hm-seo-fn-ad-top{ display:flex; align-items:center; gap:7px; font-size:12px; font-weight:600; color:var(--hm-text) }
.hm-seo-fn-ad-top i{ width:22px; height:22px; border-radius:50%; background:var(--sa-soft-2) }
.hm-seo-fn-ad-top em{ margin-left:auto; font-style:normal; font-size:11px; font-weight:500; color:var(--hm-muted) }
.hm-seo-fn-ad-img,.hm-seo-fn-pg-img{ flex:1; display:flex; align-items:center; justify-content:center; border-radius:10px; color:var(--sa);
  background:linear-gradient(135deg, var(--sa-soft-2), var(--hm-tint)) }
.hm-seo-fn-ad-cta{ display:flex; align-items:center; justify-content:space-between; padding:7px 9px; border-radius:8px; font-size:12px; font-weight:600; color:var(--hm-text); background:var(--hm-tint-2) }
.hm-seo-fn-ad-cta svg{ color:var(--sa) }
.hm-seo-fn-pg-h{ height:10px; width:78%; border-radius:4px; background:var(--hm-skel) }
.hm-seo-fn-pg-l{ height:6px; width:100%; border-radius:3px; background:var(--hm-skel); opacity:.7 }
.hm-seo-fn-pg-btn{ display:flex; align-items:center; justify-content:center; height:30px; border-radius:8px; font-size:12px; font-weight:700; background:var(--sa-grad); color:var(--hm-ink) }
.hm-seo-fn-ev{ justify-content:center }
.hm-seo-fn-ev-row{ display:flex; align-items:center; gap:7px; padding:9px 10px; border-radius:9px; font-size:12.5px; font-weight:600; color:var(--hm-text); background:var(--hm-tint) }
.hm-seo-fn-ev-row[lang="en"],.hm-seo-fn-ev-row [lang="en"]{ font-family:var(--hm-font-ui) }
.hm-seo-fn-ev-row svg{ flex-shrink:0; color:var(--hm-jade) }
.hm-seo-fn-ev-row.is-capi{ flex-wrap:wrap; background:none; border:1px dashed var(--sa-line) }
.hm-seo-fn-ev-row.is-capi svg{ color:var(--sa) }
.hm-seo-fn-ev-row.is-capi em{ flex-basis:100%; padding-left:19px; font-style:normal; font-size:11px; font-weight:600; color:var(--sa) }
.hm-seo-fn-track{ position:absolute; z-index:0; left:16%; right:16%; top:144px; height:2px;
  background:repeating-linear-gradient(90deg, var(--sa-line) 0 6px, transparent 6px 12px) }
.hm-seo-fn-pulse{ position:absolute; left:0; right:0; top:-4px; height:10px; opacity:0 }
.hm-seo-fn-pulse::before{ content:''; position:absolute; left:-5px; top:0; width:10px; height:10px; border-radius:50%; background:var(--sa-fill); box-shadow:0 2px 10px -2px var(--sa-fill) }

/* ---- /sale-page · audiences · anatomy · numbered steps · plan tiers ---- */
.hm-seo-who-grid{ margin-top:40px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px }
.hm-seo-aud{ display:flex; flex-direction:column; padding:28px; border-radius:var(--hm-r-xl); border:1px solid var(--hm-glass-line);
  background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-aud.is-agency{ background:linear-gradient(160deg, var(--sa-soft-2), transparent 55%), var(--hm-glass-hi), var(--hm-glass-base) }
.hm-seo-aud-top{ position:relative; display:flex; align-items:center; justify-content:center; height:156px; margin-bottom:24px; overflow:hidden;
  border-radius:var(--hm-r-lg); background:var(--hm-inset); border:1px solid var(--hm-line) }
.hm-seo-aud-top .hm-seo-badge{ top:10px; right:10px }
.hm-seo-aud-art.is-seller{ display:flex; align-items:center; gap:14px }
.hm-seo-aud-prod{ display:flex; align-items:center; justify-content:center; width:92px; height:92px; border-radius:14px; color:var(--sa); background:linear-gradient(135deg, var(--sa-soft-2), var(--hm-tint)) }
.hm-seo-aud-meta{ display:grid; gap:6px; justify-items:start }
.hm-seo-aud-name{ font-size:13px; font-weight:600; color:var(--hm-text) }
.hm-seo-aud-price{ display:flex; align-items:baseline; gap:6px; font-variant-numeric:tabular-nums }
.hm-seo-aud-price strong{ font-size:18px; color:var(--hm-text) } .hm-seo-aud-price s{ font-size:12px; color:var(--hm-muted) }
.hm-seo-aud-btn{ padding:6px 12px; border-radius:8px; font-size:12px; font-weight:700; background:var(--sa-grad); color:var(--hm-ink) }
.hm-seo-aud-art.is-agency{ display:grid; gap:8px }
.hm-seo-aud-tab{ display:flex; align-items:center; justify-content:space-between; gap:16px; width:220px; padding:8px 12px; border-radius:10px;
  font-size:12.5px; font-weight:600; color:var(--hm-text); background:var(--hm-node); border:1px solid var(--hm-line-2);
  transform:translateX(calc((var(--hm-i,0) - 1) * 16px)) }
.hm-seo-aud-px{ display:inline-flex; align-items:center; gap:5px; font-family:var(--hm-font-ui); font-size:11px; font-weight:500; color:var(--hm-text-2) }
.hm-seo-aud-px i{ width:7px; height:7px; border-radius:50%; background:var(--hm-jade-fill) }
.hm-seo-aud-body{ margin-top:8px; font-size:15.5px; line-height:1.75; color:var(--hm-text-2) }
.hm-seo-aud-list,.hm-seo-rules{ margin-top:18px; display:grid; gap:10px }
.hm-seo-aud-list li,.hm-seo-rules li,.hm-seo-tier li{ display:flex; gap:10px; align-items:flex-start; font-size:15px; line-height:1.65; color:var(--hm-text) }
.hm-seo-anat{ display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:64px; align-items:center }
.hm-seo-anat-art{ display:flex; justify-content:center }
.hm-seo-anat-phone{ width:100%; max-width:300px; display:grid; gap:12px; margin-left:34px; padding:18px 16px; border-radius:30px;
  background:var(--hm-glass-hi), var(--hm-glass-base); border:1px solid var(--hm-glass-line); box-shadow:var(--hm-glass-shadow) }
.hm-seo-anat-b{ position:relative; display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 12px; border-radius:10px;
  font-size:13px; font-weight:600; color:var(--hm-text-2); background:var(--hm-inset); border:1px dashed var(--hm-line-2) }
.hm-seo-anat-b b{ position:absolute; left:-44px; top:50%; display:flex; align-items:center; justify-content:center; width:26px; height:26px; margin-top:-13px; border-radius:50%;
  font-family:var(--hm-font-en); font-size:12.5px; font-weight:700; background:var(--sa-grad); color:var(--hm-ink) }
.hm-seo-anat-b.is-h{ color:var(--hm-text); font-size:14px }
.hm-seo-anat-b.is-img{ flex-direction:column; height:124px; color:var(--sa); border-style:solid; border-color:transparent; background:linear-gradient(135deg, var(--sa-soft-2), var(--hm-tint)) }
.hm-seo-anat-b.is-price{ font-variant-numeric:tabular-nums } .hm-seo-anat-b.is-price strong{ font-size:18px; color:var(--hm-text) } .hm-seo-anat-b.is-price s{ font-size:12px; color:var(--hm-muted); font-weight:500 }
.hm-seo-anat-b.is-btn{ border:0; background:var(--sa-grad); color:var(--hm-ink); font-weight:700 }
.hm-seo-anat-b.is-social i{ width:20px; height:20px; border-radius:50%; background:var(--hm-skel) }
.hm-seo-anat-list{ margin-top:28px; border-top:1px solid var(--hm-line) }
.hm-seo-anat-list li{ display:flex; gap:16px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--hm-line) }
.hm-seo-anat-n{ flex-shrink:0; display:flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:50%;
  font-family:var(--hm-font-en); font-size:13px; font-weight:700; color:var(--sa); background:var(--sa-soft-2) }
.hm-seo-anat-t{ display:block; font-size:16px; line-height:1.6; color:var(--hm-text) }
.hm-seo-anat-blk{ display:block; margin-top:2px; font-size:13.5px; color:var(--hm-muted) }
.hm-seo-rows{ display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:56px; align-items:start }
.hm-seo-rows ol{ display:grid; gap:30px }
.hm-seo-rows li{ display:grid; grid-template-columns:76px minmax(0,1fr); gap:16px; align-items:start }
.hm-seo-rows-n{ font-family:var(--hm-font-en); font-size:46px; font-weight:700; line-height:1; letter-spacing:-.03em; color:var(--sa); font-variant-numeric:tabular-nums }
.hm-seo-rows p{ margin-top:6px; font-size:15.5px; line-height:1.75; color:var(--hm-text-2); max-width:62ch }
.hm-seo-tiers{ margin-top:36px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:hidden; border-radius:var(--hm-r-lg);
  border:1px solid var(--hm-glass-line); background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-tier{ padding:24px; border-right:1px solid var(--hm-glass-line) }
.hm-seo-tier:last-child{ border-right:0 }
.hm-seo-tier.is-1{ background:var(--sa-soft) }
.hm-seo-tier h3{ margin-bottom:16px; padding-bottom:14px; border-bottom:1px solid var(--hm-line) }
.hm-seo-tier.is-1 h3{ color:var(--sa) }
.hm-seo-tier ul{ display:grid; gap:12px }
.hm-seo-tier li{ font-size:14.5px; color:var(--hm-text-2) }

/* ---- /short-link · shortening demo ---- */
.hm-seo-short .hm-visual-inner{ display:grid; gap:12px; padding:24px }
.hm-seo-sh-k{ display:block; margin-bottom:6px; font-size:12.5px; font-weight:600; color:var(--hm-muted) }
.hm-seo-sh-long{ padding:14px 16px; border-radius:14px; background:var(--hm-tint); border:1px solid var(--hm-line) }
.hm-seo-sh-url{ display:block; font-family:var(--hm-font-ui); font-size:12.5px; line-height:1.65; color:var(--hm-text-2); overflow-wrap:anywhere }
.hm-seo-sh-arrow{ justify-self:center; display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%;
  color:var(--sa); background:var(--sa-soft); border:1px solid var(--sa-line); transform:rotate(90deg) }
.hm-seo-sh-short{ position:relative; padding:16px 64px 16px 18px; border-radius:16px; background:var(--hm-node); border:1.5px solid var(--sa-line);
  box-shadow:0 20px 40px -26px rgba(0,0,0,.75) }
.hm-root[data-hm-theme="light"] .hm-seo-sh-short{ box-shadow:0 20px 40px -28px rgba(20,45,95,.45) }
.hm-seo-sh-link{ display:block; font-family:var(--hm-font-ui); font-size:clamp(26px,3vw,34px); font-weight:600; line-height:1.2; letter-spacing:-.01em; color:var(--sa) }
.hm-seo-sh-copy{ position:absolute; right:14px; top:50%; display:flex; align-items:center; justify-content:center; width:38px; height:38px; margin-top:-19px; border-radius:10px;
  color:var(--hm-text-2); background:var(--hm-tint); border:1px solid var(--hm-line) }
.hm-seo-sh-stats{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:12px }
.hm-seo-sh-count,.hm-seo-sh-dest{ position:relative; padding:14px 16px; border-radius:14px; background:var(--hm-tint); border:1px solid var(--hm-line) }
.hm-seo-sh-count strong{ display:block; font-family:var(--hm-font-en); font-size:30px; font-weight:700; line-height:1.1; color:var(--hm-text); font-variant-numeric:tabular-nums }
.hm-seo-sh-count .hm-seo-badge{ top:10px; right:10px }
.hm-seo-sh-dest > span:last-child{ display:flex; gap:8px; align-items:flex-start; font-size:14px; line-height:1.5; color:var(--hm-text) }
.hm-seo-sh-dest svg{ flex-shrink:0; margin-top:3px; color:var(--sa) }

/* ---- /short-link · comparison · naming · steps strip · places ---- */
.hm-seo-cmp-wrap{ margin-top:36px; overflow:hidden; border-radius:var(--hm-r-lg); border:1px solid var(--hm-glass-line);
  background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-cmp-table{ width:100%; border-collapse:collapse; table-layout:fixed }
.hm-seo-cmp-table th,.hm-seo-cmp-table td{ padding:16px 20px; text-align:left; vertical-align:middle; border-bottom:1px solid var(--hm-line); font-size:15px; line-height:1.55 }
.hm-seo-cmp-table thead th{ font-size:13.5px; font-weight:600; color:var(--hm-muted); background:var(--hm-tint) }
.hm-seo-cmp-table thead th:first-child{ width:40% }
.hm-seo-cmp-table thead th.is-us{ font-size:15px; font-weight:700; color:var(--sa); background:var(--sa-soft-2) }
.hm-seo-cmp-table tbody th{ font-weight:600; color:var(--hm-text) }
.hm-seo-cmp-table tbody tr:last-child > *{ border-bottom:0 }
.hm-seo-cmp-table td{ color:var(--hm-text-2) }
.hm-seo-cmp-table td:last-child{ background:var(--sa-soft); color:var(--hm-text) }
.hm-seo-cmp-ic{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; margin-right:8px; border-radius:50%; vertical-align:-6px;
  background:var(--hm-tint-2); color:var(--hm-text-2) }
.hm-seo-cmp-table td:last-child.is-yes .hm-seo-cmp-ic{ background:var(--sa-soft-2); color:var(--sa) }
.hm-seo-cmp-table td.is-no .hm-seo-cmp-ic{ color:var(--hm-muted) }
.hm-seo-cmp-table td.is-maybe,.hm-seo-cmp-table td.is-none{ color:var(--hm-muted) }
.hm-seo-naming{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:56px; align-items:center }
.hm-seo-rules li{ font-size:15.5px }
.hm-seo-name-art > div{ display:grid; gap:8px; padding:28px; border-radius:var(--hm-r-xl); border:1px solid var(--hm-glass-line);
  background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-name-l{ font-size:13px; font-weight:600; color:var(--hm-text-2) }
.hm-seo-name-field{ display:flex; align-items:center; min-height:52px; padding:0 16px; border-radius:12px; font-family:var(--hm-font-ui); font-size:18px; color:var(--hm-text);
  background:var(--hm-inset); border:1.5px solid var(--hm-line-2) }
.hm-seo-name-field em{ margin-right:2px; font-style:normal; color:var(--hm-muted) }
.hm-seo-name-field.is-ok{ border-color:var(--sa) }
.hm-seo-name-field.is-bad{ margin-top:14px; border-color:var(--sa-err-line) }
.hm-seo-caret{ display:inline-block; width:2px; height:1.15em; margin-left:2px; border-radius:1px; background:var(--sa) }
.hm-seo-name-msg{ display:flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600 }
.hm-seo-name-msg.is-ok{ color:var(--sa) }
.hm-seo-name-msg.is-bad{ color:var(--sa-err) }
.hm-seo-strip ol{ margin-top:32px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px }
.hm-seo-strip li{ position:relative; padding:22px; border-radius:var(--hm-r-lg); border:1px solid var(--hm-line); background:var(--hm-tint) }
.hm-seo-strip-go{ position:absolute; right:-19px; top:50%; display:flex; margin-top:-9px; color:var(--sa) }
.hm-seo-strip-n{ display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; margin-bottom:12px; border-radius:9px;
  font-family:var(--hm-font-en); font-size:14px; font-weight:700; color:var(--sa); background:var(--sa-soft-2) }
.hm-seo-strip p{ margin-top:6px; font-size:14.5px; line-height:1.7; color:var(--hm-text-2) }
.hm-seo-places{ max-width:780px; margin:0 auto; text-align:center }
.hm-seo-places > div{ margin-top:18px }
.hm-seo-places p{ font-size:17px; line-height:1.85; color:var(--hm-text-2); text-wrap:pretty }
.hm-seo-places p + p{ margin-top:14px }
.hm-seo-chips{ margin-top:22px; display:flex; flex-wrap:wrap; justify-content:center; gap:8px }
.hm-seo-chips li{ padding:7px 14px; border-radius:999px; font-size:14px; color:var(--hm-text); background:var(--sa-soft); border:1px solid var(--sa-line) }

/* =============================================================
   R4 (Owner 2026-11-29) — /ads-tracking (azure: blue → cyan) · /analytics (cyan)
   --sa-a / --sa-b = the two ends of the azure line (stops are tinted between them).
   ============================================================= */
.hm-seo--azure{ --sa:#5AB8FF; --sa-fill:#38A8F8; --sa-grad:linear-gradient(120deg,#3B82F6 0%,#22D3EE 100%);
  --sa-soft:rgba(56,168,248,.09); --sa-soft-2:rgba(56,168,248,.17); --sa-line:rgba(90,184,255,.32); --sa-sel:rgba(56,168,248,.38);
  --sa-shadow:0 10px 36px -14px rgba(59,130,246,.55); --sa-shadow-hi:0 14px 40px -14px rgba(34,211,238,.6);
  --sa-a:#3B82F6; --sa-b:#22D3EE }
.hm-seo--cyan{ --sa:var(--hm-cyan); --sa-fill:#22D3EE; --sa-grad:linear-gradient(120deg,#22D3EE 0%,#7DE8F7 100%);
  --sa-soft:rgba(34,211,238,.07); --sa-soft-2:rgba(34,211,238,.15); --sa-line:rgba(34,211,238,.3); --sa-sel:rgba(34,211,238,.3);
  --sa-shadow:0 10px 36px -14px rgba(34,211,238,.42); --sa-shadow-hi:0 14px 40px -14px rgba(34,211,238,.58) }
.hm-root[data-hm-theme="light"].hm-seo--azure{ --sa:#0B5C8A; --sa-fill:#38A8F8;
  --sa-soft:rgba(11,92,138,.07); --sa-soft-2:rgba(11,92,138,.13); --sa-line:rgba(11,92,138,.3); --sa-sel:rgba(56,168,248,.26);
  --sa-shadow:0 10px 30px -14px rgba(37,99,235,.45); --sa-shadow-hi:0 14px 36px -14px rgba(14,116,144,.5);
  --sa-a:#1D4ED8; --sa-b:#0A6F8C }
.hm-root[data-hm-theme="light"].hm-seo--cyan{ --sa-fill:#22D3EE; --sa-grad:linear-gradient(120deg,#22D3EE 0%,#67E8F9 100%);
  --sa-soft:rgba(10,92,116,.07); --sa-soft-2:rgba(10,92,116,.13); --sa-line:rgba(10,92,116,.3); --sa-sel:rgba(34,211,238,.28);
  --sa-shadow:0 10px 30px -14px rgba(10,92,116,.45); --sa-shadow-hi:0 14px 36px -14px rgba(10,92,116,.5) }
.hm-seo-hero-note.is-pill{ display:inline-flex; padding:7px 14px; border-radius:999px; line-height:1.5; color:var(--hm-text-2);
  background:var(--sa-soft); border:1px solid var(--sa-line) }
.hm-seo-tag.is-opt{ color:var(--hm-text-2); border-style:dashed }
.hm-seo-inline-link{ display:inline-flex; align-items:center; gap:6px; color:var(--sa); font-weight:600; white-space:nowrap }
.hm-seo-faq.is-azure{ max-width:900px; margin-left:auto; margin-right:auto }
.hm-seo-faq.is-cyan{ display:grid; grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr); gap:56px; align-items:start }
.hm-seo-faq.is-cyan > .hm-seo-head{ order:2; position:sticky; top:104px }
.hm-seo-faq.is-cyan .hm-faq-list{ margin-top:0 }

/* ---- /ads-tracking · hero journey: five stops on one line ---- */
.hm-seo-hero.is-journey .hm-seo-hero-art{ width:100% }
.hm-seo-jr{ max-width:1080px; margin:0 auto; text-align:left }
.hm-seo-jr .hm-visual-inner{ padding:40px 28px 34px }
.hm-seo-jr-wrap{ position:relative }
.hm-seo-jr-track{ position:relative; z-index:1; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px }
.hm-seo-jr-stop{ display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center }
.hm-seo-jr-stop:nth-child(1){ --jr:var(--sa-a) }
.hm-seo-jr-stop:nth-child(2){ --jr:color-mix(in oklab, var(--sa-a) 75%, var(--sa-b)) }
.hm-seo-jr-stop:nth-child(3){ --jr:color-mix(in oklab, var(--sa-a) 50%, var(--sa-b)) }
.hm-seo-jr-stop:nth-child(4){ --jr:color-mix(in oklab, var(--sa-a) 25%, var(--sa-b)) }
.hm-seo-jr-stop:nth-child(5){ --jr:var(--sa-b) }
.hm-seo-jr-node{ display:flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius:50%;
  color:var(--jr); background:var(--hm-node); border:2px solid var(--jr);
  box-shadow:0 10px 24px -14px rgba(0,0,0,.8) }
.hm-root[data-hm-theme="light"] .hm-seo-jr-node{ box-shadow:0 10px 22px -14px rgba(20,45,95,.45) }
.hm-seo-jr-stop.is-opt .hm-seo-jr-node{ border-style:dashed }
.hm-seo-jr-text{ display:grid; justify-items:center; gap:4px }
.hm-seo-jr-name{ font-size:16px; font-weight:700; line-height:1.35; color:var(--hm-text) }
.hm-seo-jr-tech{ font-family:var(--hm-font-ui); font-size:12px; letter-spacing:0; color:var(--hm-muted) }
.hm-seo-jr-text .hm-seo-tag{ margin-top:2px; font-style:normal }
/* the line: node centre → node centre; solid blue → cyan for the first three legs, dashed for the last */
.hm-seo-jr-line{ position:absolute; z-index:0; top:27px; left:10%; right:10%; height:3px; border-radius:2px;
  background:linear-gradient(90deg, var(--sa-a), color-mix(in oklab, var(--sa-a) 25%, var(--sa-b))) 0 0 / 75% 100% no-repeat,
    repeating-linear-gradient(90deg, var(--sa-b) 0 7px, transparent 7px 13px) 100% 0 / 25% 100% no-repeat }
.hm-seo-jr-pulse{ position:absolute; inset:-5px 0 auto 0; height:13px; opacity:0 }
.hm-seo-jr-pulse::before{ content:''; position:absolute; left:-6px; top:0; width:13px; height:13px; border-radius:50%;
  background:#E0FBFF; box-shadow:0 2px 12px -2px var(--sa-b), 0 0 0 3px color-mix(in oklab, var(--sa-b) 35%, transparent) }

/* ---- /ads-tracking · journey detail (split: heading · route list) ---- */
.hm-seo-route{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:56px; align-items:start }
.hm-seo-route > .hm-seo-head{ position:sticky; top:104px }
.hm-seo-route-list{ position:relative; display:grid; gap:26px }
.hm-seo-route-list::before{ content:''; position:absolute; left:17px; top:18px; bottom:18px; width:2px;
  background:linear-gradient(180deg, var(--sa-a), var(--sa-b)) }
.hm-seo-route-list li{ position:relative; display:grid; grid-template-columns:36px minmax(0,1fr); gap:18px; align-items:start }
.hm-seo-route-list li:nth-child(1){ --jr:var(--sa-a) }
.hm-seo-route-list li:nth-child(2){ --jr:color-mix(in oklab, var(--sa-a) 75%, var(--sa-b)) }
.hm-seo-route-list li:nth-child(3){ --jr:color-mix(in oklab, var(--sa-a) 50%, var(--sa-b)) }
.hm-seo-route-list li:nth-child(4){ --jr:color-mix(in oklab, var(--sa-a) 25%, var(--sa-b)) }
.hm-seo-route-list li:nth-child(5){ --jr:var(--sa-b) }
.hm-seo-route-mk{ position:relative; z-index:1; display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%;
  color:var(--jr); background:var(--hm-bg); border:2px solid var(--jr) }
.hm-seo-route-list li.is-opt .hm-seo-route-mk{ border-style:dashed }
.hm-seo-route-list h3{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin-top:6px }
.hm-seo-route-list p{ margin-top:6px; max-width:62ch; font-size:15.5px; line-height:1.75; color:var(--hm-text-2) }

/* ---- /ads-tracking · three link slips (each marks its stop on a mini route) ---- */
.hm-seo-slips{ margin-top:36px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px }
.hm-seo-slips li{ display:flex; flex-direction:column; padding:22px; border-radius:var(--hm-r-lg); border:1px solid var(--hm-glass-line);
  background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-slip-field{ display:flex; align-items:center; justify-content:space-between; gap:10px; height:38px; padding:0 12px; margin-bottom:18px; border-radius:10px;
  font-family:var(--hm-font-ui); font-size:12.5px; color:var(--hm-muted); background:var(--hm-inset); border:1px dashed var(--hm-line-2) }
.hm-seo-slip-field svg{ color:var(--sa) }
.hm-seo-slip-name{ font-family:var(--hm-font-ui); font-size:19px; font-weight:600; letter-spacing:-.01em; color:var(--sa) }
.hm-seo-slip-route{ display:flex; align-items:center; gap:10px; margin-top:10px; font-size:13px; font-weight:600; color:var(--hm-text-2) }
.hm-seo-slip-dots{ position:relative; display:flex; gap:9px }
.hm-seo-slip-dots::before{ content:''; position:absolute; left:3px; right:3px; top:50%; height:2px; margin-top:-1px; background:var(--hm-line-2) }
.hm-seo-slip-dots i{ position:relative; width:8px; height:8px; border-radius:50%; background:var(--hm-bg); border:2px solid var(--hm-line-2) }
.hm-seo-slip-dots i.is-on{ background:var(--sa); border-color:var(--sa); box-shadow:0 0 0 3px var(--sa-soft-2) }
.hm-seo-slips p{ margin-top:14px; font-size:15px; line-height:1.7; color:var(--hm-text-2) }

/* ---- /ads-tracking · steps: rings on the journey's line ---- */
.hm-seo-rings ol{ position:relative; margin-top:40px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px }
.hm-seo-rings ol::before{ content:''; position:absolute; top:21px; left:22px; right:0; height:3px; border-radius:2px;
  background:linear-gradient(90deg, var(--sa-a), var(--sa-b) 80%, transparent) }
.hm-seo-rings li{ position:relative; display:grid; gap:8px; align-content:start }
.hm-seo-ring-n{ position:relative; z-index:1; display:flex; align-items:center; justify-content:center; width:44px; height:44px; margin-bottom:10px; border-radius:50%;
  font-family:var(--hm-font-en); font-size:16px; font-weight:700; color:var(--hm-text); background:var(--hm-bg); border:3px solid var(--sa-a) }
.hm-seo-rings li:nth-child(2) .hm-seo-ring-n{ border-color:color-mix(in oklab, var(--sa-a) 50%, var(--sa-b)) }
.hm-seo-rings li:nth-child(3) .hm-seo-ring-n{ border-color:var(--sa-b) }
.hm-seo-rings p{ max-width:34ch; font-size:15px; line-height:1.7; color:var(--hm-text-2) }

/* ---- /ads-tracking · sample report + what is in it ---- */
.hm-seo-report{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:56px; align-items:center }
.hm-seo-rp .hm-visual-inner{ display:grid; gap:14px; padding:20px }
.hm-seo-rp-bar{ display:flex; align-items:center; justify-content:space-between; gap:12px }
.hm-seo-rp-title{ font-size:14px; font-weight:700; color:var(--hm-text) }
.hm-seo-rp-ranges{ display:flex; flex-wrap:wrap; gap:6px }
.hm-seo-rp-ranges i{ font-style:normal; padding:4px 10px; border-radius:999px; font-size:12px; color:var(--hm-text-2); background:var(--hm-tint); border:1px solid var(--hm-line) }
.hm-seo-rp-ranges i.is-on{ color:var(--hm-text); background:var(--sa-soft-2); border-color:var(--sa-line) }
.hm-seo-rp-kpis{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px }
.hm-seo-rp-kpis span{ display:grid; gap:2px; padding:10px 12px; border-radius:12px; background:var(--hm-tint); border:1px solid var(--hm-line) }
.hm-seo-rp-kpis em{ font-style:normal; font-size:12px; color:var(--hm-muted) }
.hm-seo-rp-kpis strong{ font-size:22px; font-weight:700; line-height:1.2; color:var(--hm-text); font-variant-numeric:tabular-nums }
.hm-seo-rp-kpis .is-empty strong{ color:var(--hm-muted) }
.hm-seo-rp-chart{ position:relative; height:150px; padding:10px 12px 0; border-radius:12px; background:var(--hm-inset); border:1px solid var(--hm-line);
  background-image:linear-gradient(var(--hm-line) 1px, transparent 1px); background-size:100% 25% }
/* bars, line and dots share one plot box, so bar i and point i sit on the same centre ((i + .5) / 7) */
.hm-seo-rp-plot{ position:absolute; inset:10px 12px 0 }
.hm-seo-rp-bars{ position:absolute; inset:0; display:flex; align-items:flex-end }
.hm-seo-rp-bars i{ flex:1 1 0; height:var(--h); margin:0 6px; border-radius:6px 6px 0 0; background:linear-gradient(180deg, var(--sa-soft-2), var(--sa-soft)); border:1px solid var(--sa-line); border-bottom:0 }
.hm-seo-rp-line{ position:absolute; inset:0; width:100%; height:100%; overflow:visible }
.hm-seo-rp-line polyline{ stroke:var(--sa-b); stroke-width:2.5; stroke-linejoin:round; stroke-linecap:round }
.hm-seo-rp-dot{ position:absolute; width:9px; height:9px; margin:-4.5px 0 0 -4.5px; border-radius:50%; background:var(--hm-node); border:2px solid var(--sa-b) }
.hm-seo-report-list{ margin-top:24px; display:grid; gap:4px; border-top:1px solid var(--hm-line) }
.hm-seo-report-list li{ display:flex; gap:14px; align-items:flex-start; padding:14px 0; border-bottom:1px solid var(--hm-line) }
.hm-seo-report-list .hm-icon{ width:32px; height:32px; border-radius:10px; background:var(--sa-soft); color:var(--sa) }
.hm-seo-report-list p{ margin-top:3px; font-size:14.5px; line-height:1.7; color:var(--hm-muted) }

/* ---- /ads-tracking · what it does not do yet ---- */
.hm-seo-limits{ display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:40px; padding:32px; border-radius:var(--hm-r-xl);
  border:1.5px dashed var(--hm-line-2); background:var(--hm-tint) }
.hm-seo-limits-head p{ margin-top:10px; font-size:15.5px; line-height:1.7; color:var(--hm-text-2) }
.hm-seo-limits ul{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 28px }
.hm-seo-limits li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; line-height:1.7; color:var(--hm-text) }
.hm-seo-limits-ic{ flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; margin-top:2px; border-radius:50%;
  color:var(--hm-text-2); background:var(--hm-tint-2); border:1px solid var(--hm-line-2) }

/* ---- /ads-tracking · plans: one joined strip of four ---- */
.hm-seo-plan-grid{ margin-top:32px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); overflow:hidden; border-radius:var(--hm-r-lg);
  border:1px solid var(--hm-glass-line); background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-plan-grid li{ padding:22px 22px 24px; border-right:1px solid var(--hm-glass-line) }
.hm-seo-plan-grid li:last-child{ border-right:0 }
.hm-seo-plan-grid h3{ font-size:17px; color:var(--hm-text) }
.hm-seo-plan-grid dl{ margin:16px 0 0; display:grid; gap:12px }
.hm-seo-plan-grid dl > div{ display:grid; gap:2px }
.hm-seo-plan-grid dt{ font-size:13px; color:var(--hm-muted) }
.hm-seo-plan-grid dd{ margin:0; font-size:16px; font-weight:600; color:var(--hm-text) }
.hm-seo-plan-grid .is-camp dd{ font-family:var(--hm-font-en); font-size:40px; font-weight:700; line-height:1.05; letter-spacing:-.03em; color:var(--sa); font-variant-numeric:tabular-nums }
.hm-seo-plans .hm-seo-fine{ max-width:none }

/* ---- /analytics · hero live feed ---- */
.hm-seo-hero.is-live .hm-seo-hero-art{ width:100% }
.hm-seo-live{ max-width:820px; margin:0 auto; text-align:left }
.hm-seo-live .hm-visual-inner{ padding:0 }
.hm-seo-live-top{ display:flex; align-items:center; gap:12px; padding:14px 18px; border-bottom:1px solid var(--hm-glass-line) }
.hm-seo-live-chip{ display:inline-flex; align-items:center; gap:7px; padding:3px 10px 3px 8px; border-radius:999px; font-family:var(--hm-font-ui); font-size:11.5px; font-weight:600; letter-spacing:.06em;
  color:var(--hm-ink); background:var(--sa-fill) }
.hm-seo-live-chip i{ width:7px; height:7px; border-radius:50%; background:var(--hm-ink) }
.hm-seo-live-h{ margin-right:auto; font-size:14px; font-weight:700; color:var(--hm-text) }
.hm-seo-live-grid{ display:grid; padding:6px 8px 10px }
.hm-seo-live-row{ display:grid; grid-template-columns:96px minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.1fr); gap:14px; align-items:center; padding:12px 10px;
  border-radius:10px; font-size:14px; color:var(--hm-text) }
.hm-seo-live-row + .hm-seo-live-row{ border-top:1px solid var(--hm-line) }
.hm-seo-live-row.is-head{ padding-top:8px; padding-bottom:8px; font-size:12.5px; font-weight:600; color:var(--hm-muted) }
.hm-seo-live-t{ font-family:var(--hm-font-ui); font-size:13px; color:var(--hm-text-2); font-variant-numeric:tabular-nums }
.hm-seo-live-ev{ display:inline-flex; align-items:center; gap:8px; font-weight:600 }
.hm-seo-live-ev svg{ flex-shrink:0; color:var(--sa) }
.hm-seo-live-row.is-click .hm-seo-live-ev svg{ color:var(--hm-jade) }
.hm-seo-live-row.is-scroll .hm-seo-live-ev svg{ color:var(--hm-blue-l) }
.hm-seo-live-place{ color:var(--hm-text-2) }
.hm-seo-live-os{ display:inline-flex; flex-wrap:wrap; align-items:center; gap:6px; color:var(--hm-text-2) }
.hm-seo-live-os svg{ flex-shrink:0; color:var(--hm-text-2) }
.hm-seo-live-os em{ font-style:normal; padding:1px 8px; border-radius:999px; font-family:var(--hm-font-ui); font-size:11px; font-weight:600; color:var(--hm-text-2);
  background:var(--hm-tint-2); border:1px solid var(--hm-line-2) }
.hm-seo-live-row.is-bot{ color:var(--hm-muted) }
.hm-seo-live-row.is-bot .hm-seo-live-ev svg{ color:var(--hm-muted) }

/* ---- /analytics · live note · four numbers ---- */
.hm-seo-livenote{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:56px; align-items:start }
.hm-seo-livenote p{ max-width:66ch; font-size:17px; line-height:1.85; color:var(--hm-text-2); text-wrap:pretty }
.hm-seo-kpi-wrap{ position:relative; margin-top:36px; border-radius:var(--hm-r-lg); border:1px solid var(--hm-glass-line);
  background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-kpi-wrap > .hm-seo-badge{ top:auto; bottom:calc(100% + 6px); right:0 }   /* above the strip, clear of the cells */
.hm-seo-kpis{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) }
.hm-seo-kpis li{ display:flex; flex-direction:column; gap:6px; padding:24px 22px 26px; border-right:1px solid var(--hm-glass-line) }
.hm-seo-kpis li:last-child{ border-right:0 }
.hm-seo-kpis h3{ font-size:14.5px; color:var(--hm-text-2) }
.hm-seo-kpis strong{ font-family:var(--hm-font-en); font-size:38px; font-weight:700; line-height:1.1; letter-spacing:-.03em; color:var(--hm-text); font-variant-numeric:tabular-nums }
.hm-seo-kpis li:last-child strong{ color:var(--sa) }
.hm-seo-kpis p{ margin-top:6px; font-size:14px; line-height:1.65; color:var(--hm-muted) }

/* ---- /analytics · overview → hour → compare ---- */
.hm-seo-phrase{ white-space:nowrap }
.hm-seo-drill-list{ margin-top:40px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px }
.hm-seo-drill-list li{ position:relative; display:grid; gap:8px; align-content:start }
.hm-seo-drill-art{ position:relative; height:176px; margin-bottom:10px; padding:16px; border-radius:var(--hm-r-lg); border:1px solid var(--hm-glass-line);
  background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow); display:flex; flex-direction:column; gap:12px }
.hm-seo-drill-list p{ font-size:15px; line-height:1.7; color:var(--hm-text-2) }
.hm-seo-drill-go{ position:absolute; right:-23px; top:88px; display:flex; margin-top:-9px; color:var(--sa) }
.hm-seo-dr-seg{ display:flex; gap:5px }
.hm-seo-dr-seg i{ width:30px; height:14px; border-radius:999px; background:var(--hm-tint-2) }
.hm-seo-dr-seg i.is-on{ background:var(--sa-soft-2); box-shadow:inset 0 0 0 1px var(--sa-line) }
.hm-seo-dr-bars{ flex:1; display:flex; align-items:flex-end; gap:8px }
.hm-seo-dr-bars i{ flex:1; height:var(--h); border-radius:5px 5px 0 0; background:var(--hm-skel) }
.hm-seo-dr-bars i.is-on{ background:var(--sa-fill) }
.hm-seo-dr-bars.is-hours{ gap:3px }
.hm-seo-dr-bars.is-hours i{ border-radius:2px 2px 0 0; background:var(--sa-soft-2) }
.hm-seo-dr-bars.is-hours i.is-peak{ background:var(--sa-fill) }
.hm-seo-dr-bars.is-days i{ position:relative }
.hm-seo-dr-tap{ position:absolute; left:50%; bottom:100%; display:flex; margin-bottom:4px; color:var(--hm-text) }
.hm-seo-dr-nav{ display:flex; align-items:center; gap:8px; color:var(--hm-muted) }
.hm-seo-dr-nav i{ width:64px; height:10px; border-radius:5px; background:var(--hm-skel) }
.hm-seo-dr-legend{ display:flex; align-items:center; gap:6px; font-family:var(--hm-font-ui); font-size:12px; font-weight:600; color:var(--hm-text-2) }
.hm-seo-dr-legend i{ width:14px; height:3px; border-radius:2px; background:var(--sa-fill) }
.hm-seo-dr-legend i.is-b{ margin-left:8px; background:repeating-linear-gradient(90deg, var(--hm-muted) 0 4px, transparent 4px 7px) }
.hm-seo-dr-cmp{ flex:1; width:100%; overflow:visible }
.hm-seo-dr-cmp polyline{ stroke-width:2.5; stroke-linejoin:round; stroke-linecap:round }
.hm-seo-dr-cmp .is-a{ stroke:var(--sa-fill) }
.hm-seo-dr-cmp .is-b{ stroke:var(--hm-muted); stroke-dasharray:5 4 }
.hm-seo-drill-note{ display:flex; justify-content:center; align-items:center; gap:8px; margin:24px auto 0; text-align:center }
.hm-seo-drill-note > span{ display:flex; color:var(--sa) }

/* ---- /analytics · traffic sources ---- */
.hm-seo-src{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; align-items:center }
.hm-seo-tip{ margin-top:22px; display:flex; gap:12px; align-items:flex-start; font-size:15px; line-height:1.75; color:var(--hm-text-2) }
.hm-seo-code{ padding:1px 6px; border-radius:6px; font-family:var(--hm-font-ui); font-size:.9em; color:var(--hm-text); background:var(--hm-tint-2); border:1px solid var(--hm-line);
  white-space:nowrap }
.hm-seo-src-panel{ position:relative; padding:28px; border-radius:var(--hm-r-xl); border:1px solid var(--hm-glass-line);
  background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-src-bar{ display:flex; gap:3px; height:18px; margin-top:30px; overflow:hidden; border-radius:999px }
.hm-seo-src-bar i{ flex-basis:0; min-width:4px }
.hm-seo-src-bar .is-0,.hm-seo-src-list .is-0 .hm-seo-src-ic{ --src:var(--sa-fill) }
.hm-seo-src-bar .is-1,.hm-seo-src-list .is-1 .hm-seo-src-ic{ --src:#3B82F6 }
.hm-seo-src-bar .is-2,.hm-seo-src-list .is-2 .hm-seo-src-ic{ --src:#2EE6FF }
.hm-seo-src-bar .is-3,.hm-seo-src-list .is-3 .hm-seo-src-ic{ --src:#A78BFA }
.hm-seo-src-bar .is-4,.hm-seo-src-list .is-4 .hm-seo-src-ic{ --src:var(--hm-muted) }
.hm-seo-src-bar i{ background:var(--src) }
.hm-seo-src-list{ margin-top:20px; display:grid; gap:2px }
.hm-seo-src-list li{ display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:12px; align-items:center; padding:9px 0; border-bottom:1px solid var(--hm-line) }
.hm-seo-src-list li:last-child{ border-bottom:0 }
.hm-seo-src-ic{ position:relative; display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:10px; color:var(--hm-text); background:var(--hm-tint-2) }
.hm-seo-src-ic::after{ content:''; position:absolute; right:-2px; bottom:-2px; width:10px; height:10px; border-radius:50%; background:var(--src); box-shadow:0 0 0 2px var(--hm-node) }
.hm-seo-src-ic svg{ width:16px; height:16px }
.hm-seo-src-name{ font-size:15px; font-weight:600; color:var(--hm-text) }
.hm-seo-src-pct{ font-size:15px; font-weight:700; color:var(--hm-text); font-variant-numeric:tabular-nums }

/* ---- /analytics · feature sheet · steps · Free / paid ---- */
.hm-seo-spec{ margin-top:32px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:48px; border-top:1px solid var(--hm-line) }
.hm-seo-spec li{ display:grid; align-content:start; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; align-items:baseline; padding:18px 0; border-bottom:1px solid var(--hm-line) }
.hm-seo-spec p{ grid-column:1 / -1; font-size:14.5px; line-height:1.7; color:var(--hm-muted) }
.hm-seo-trio ol{ margin-top:32px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:hidden; border-radius:var(--hm-r-lg);
  border:1px solid var(--hm-glass-line); background:var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-trio li{ display:grid; gap:8px; align-content:start; padding:26px 24px 28px; border-right:1px solid var(--hm-glass-line) }
.hm-seo-trio li:last-child{ border-right:0 }
.hm-seo-trio-n{ font-family:var(--hm-font-en); font-size:54px; font-weight:700; line-height:1; letter-spacing:-.04em; color:transparent;
  -webkit-text-stroke:1.5px var(--sa); margin-bottom:8px }
.hm-seo-trio p{ font-size:15px; line-height:1.7; color:var(--hm-text-2) }
.hm-seo-duo{ margin-top:32px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px }
.hm-seo-duo-col{ padding:26px; border-radius:var(--hm-r-lg); border:1px solid var(--hm-line); background:var(--hm-tint) }
.hm-seo-duo-col.is-1{ border-color:var(--sa-line); background:linear-gradient(160deg, var(--sa-soft-2), transparent 60%), var(--hm-glass-hi), var(--hm-glass-base); box-shadow:var(--hm-glass-shadow) }
.hm-seo-duo-col h3{ padding-bottom:14px; margin-bottom:16px; border-bottom:1px solid var(--hm-line) }
.hm-seo-duo-col.is-1 h3{ color:var(--sa) }
.hm-seo-duo ul{ display:grid; gap:12px }
.hm-seo-duo li{ display:flex; gap:10px; align-items:flex-start; font-size:15px; line-height:1.65; color:var(--hm-text) }
.hm-seo-duo li.is-no{ color:var(--hm-muted) }
.hm-seo-duo li.is-no .hm-seo-tick{ background:var(--hm-tint-2); color:var(--hm-muted) }

/* ---- R7 /pricing (accent 'brand' = the default --sa-* tokens) · cards under the hero · price tables ----
   separate borders: a sticky cell in a collapsed table leaves its border behind */
.hm-seo-pr-cards > .hm-pricing{ padding-top:64px }
.hm-seo-pr-wrap{ overflow-x:auto; overscroll-behavior-x:contain }
.hm-seo-pr-wrap + .hm-seo-pr-wrap{ margin-top:28px }
.hm-root .hm-seo-pr-wrap:focus-visible{ border-radius:var(--hm-r-lg) }
.hm-seo-pr-table{ width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed }
.hm-seo-pr-table caption{ padding:20px 20px 14px; text-align:left; font-size:18px; font-weight:700; line-height:1.4; letter-spacing:-.01em; color:var(--sa) }
.hm-seo-pr-table caption span{ position:sticky; left:20px }
.hm-seo-pr-table :is(th,td){ padding:14px 16px; text-align:center; vertical-align:middle; border-top:1px solid var(--hm-line); font-size:15px; line-height:1.55; font-variant-numeric:tabular-nums }
.hm-seo-pr-table tr > :first-child{ width:28%; padding-left:20px; text-align:left }
.hm-seo-pr-table thead :is(th,td){ font-size:14.5px; font-weight:700; color:var(--hm-text); background:var(--hm-tint) }
.hm-seo-pr-table tbody th{ font-weight:600; color:var(--hm-text) }
.hm-seo-pr-table tbody td{ color:var(--hm-text-2) }
.hm-seo-pr-table .is-price td{ font-size:16px; font-weight:700; color:var(--hm-text) }
.hm-seo-pr-table td.is-text{ font-size:14px }
.hm-seo-pr-table tbody th[scope="row"]{ text-wrap:pretty }
.hm-seo-pr-keep{ white-space:nowrap }
.hm-seo-pr-wrap ~ .hm-seo-fine{ max-width:none; text-align:center; text-wrap:balance }
/* group heading row: its own cell from edge to edge; the words stay at the left of the box */
.hm-seo-pr-table .is-group > th{ position:relative; width:auto; padding:6px 20px; border-right:0; font-size:13.5px; line-height:1.5; font-weight:600; color:var(--hm-muted); background:var(--hm-tint) }
.hm-seo-pr-table .is-group span{ position:sticky; left:20px }
/* relative: keeps the screen-reader words inside the scroll box */
.hm-seo-pr-mark{ position:relative; display:inline-flex; vertical-align:middle }
.hm-seo-pr-mark.is-yes{ color:var(--hm-text) }
.hm-seo-pr-mark.is-no{ color:var(--hm-muted) }

/* ---- the one motion moment per page (from an already-visible state) ----
   off after a prerender handover (the visitor already saw the final state) and under reduced motion */
@media (prefers-reduced-motion:no-preference){
  .hm-seo-drop{ animation:hm-seo-drop 820ms var(--hm-ease) 420ms both }
  .hm-seo-fn-pulse{ animation:hm-seo-travel 2200ms cubic-bezier(.45,0,.2,1) 600ms 1 both }
  .hm-seo-sh-short{ animation:hm-seo-land 720ms var(--hm-ease) 380ms both }
  /* /ads-tracking: the dot runs the line once; each stop answers as it passes (2400 ms over 4 legs) */
  .hm-seo-jr-pulse{ animation:hm-seo-travel 2400ms cubic-bezier(.45,0,.2,1) 700ms 1 both }
  .hm-seo-jr-node{ animation:hm-seo-jr-hit 520ms var(--hm-ease) calc(700ms + var(--hm-i,0) * 560ms) 1 both }
  /* /analytics: the rows arrive oldest first, the newest (top) last; the LIVE dot breathes */
  .hm-seo-live-row:not(.is-head){ animation:hm-seo-feed 560ms var(--hm-ease) calc(380ms + var(--hm-i,0) * 260ms) both }
  .hm-seo-live-row.is-new{ animation-name:hm-seo-feed,hm-seo-feed-flash; animation-duration:560ms,1600ms }   /* (0,2,0): the handover rule below still wins */
  .hm-seo-live-chip i{ animation:hm-seo-breathe 1800ms ease-in-out 3 }   /* 3 pulses then still (WCAG 2.2.2) */
}
html.hm-prerendered .hm-seo-drop,html.hm-prerendered .hm-seo-fn-pulse,html.hm-prerendered .hm-seo-sh-short,
.hm-handover .hm-seo-drop,.hm-handover .hm-seo-fn-pulse,.hm-handover .hm-seo-sh-short,
html.hm-prerendered .hm-seo-jr-pulse,html.hm-prerendered .hm-seo-jr-node,html.hm-prerendered .hm-seo-live-row,
.hm-handover .hm-seo-jr-pulse,.hm-handover .hm-seo-jr-node,.hm-handover .hm-seo-live-row{ animation:none }
@keyframes hm-seo-jr-hit{ 0%{ transform:none } 45%{ transform:scale(1.12); box-shadow:0 10px 26px -10px var(--jr) } 100%{ transform:none } }
@keyframes hm-seo-feed{ from{ opacity:.4; transform:translateY(-10px) } to{ opacity:1; transform:none } }
@keyframes hm-seo-feed-flash{ 0%,40%{ background:var(--sa-soft-2) } 100%{ background:transparent } }
@keyframes hm-seo-breathe{ 0%,100%{ opacity:1 } 50%{ opacity:.35 } }
@keyframes hm-seo-drop{
  from{ transform:translate(-58px,-30px) rotate(-4deg) scale(1.05); box-shadow:0 24px 36px -16px rgba(0,0,0,.55) }
  to{ transform:none; box-shadow:0 0 0 0 transparent } }
@keyframes hm-seo-travel{ 0%{ opacity:0; transform:translateX(0) } 12%{ opacity:1 } 88%{ opacity:1 } 100%{ opacity:0; transform:translateX(100%) } }
@keyframes hm-seo-land{ from{ transform:translateY(-14px) scale(.96); border-color:var(--hm-line) } to{ transform:none } }

/* ---- responsive ---- */
@media (max-width:1023px){
  .hm-seo-hero.is-split,.hm-seo-hero.is-short{ grid-template-columns:minmax(0,1fr); gap:40px; padding-top:48px }
  .hm-seo-hero.is-split .hm-seo-hero-art{ width:100%; max-width:640px; justify-self:center }
  .hm-seo-hero.is-center{ padding-top:48px }
  .hm-seo-blocks-rail{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hm-seo-blocks-rail li:nth-child(4n){ border-right:1px solid var(--hm-glass-line) }
  .hm-seo-blocks-rail li:nth-child(2n){ border-right:0 }
  .hm-seo-blocks-rail li:nth-last-child(-n+4){ border-bottom:1px solid var(--hm-glass-line) }
  .hm-seo-blocks-rail li:nth-last-child(-n+2){ border-bottom:0 }
  .hm-seo-about,.hm-seo-rows,.hm-seo-faq.is-blue,.hm-seo-anat,.hm-seo-naming{ grid-template-columns:minmax(0,1fr); gap:32px }
  .hm-seo-about > .hm-h2{ position:static }
  .hm-seo-anat-art{ order:1 }
  .hm-seo-after{ grid-template-columns:minmax(0,1fr) }
  .hm-seo-who-grid{ grid-template-columns:minmax(0,1fr) }
  .hm-seo-tiers{ grid-template-columns:minmax(0,1fr) }
  .hm-seo-tier{ border-right:0; border-bottom:1px solid var(--hm-glass-line) }
  .hm-seo-tier:last-child{ border-bottom:0 }
  .hm-seo-fn{ gap:24px }
}
@media (max-width:759px){
  .hm-seo-ed-body{ grid-template-columns:minmax(0,1fr); min-height:0 }
  .hm-seo-ed-pal{ display:flex; gap:6px; overflow:hidden; padding:10px 12px; border-right:0; border-bottom:1px solid var(--hm-glass-line) }
  .hm-seo-ed-pal li{ flex-shrink:0 }
  .hm-seo-ed-panel{ display:none }
  .hm-seo-ed-canvas{ padding:20px 16px 22px }
  .hm-seo-fn{ grid-template-columns:minmax(0,1fr); gap:10px }
  .hm-seo-fn-card{ height:auto; min-height:0; max-width:300px }
  .hm-seo-fn-ad-img,.hm-seo-fn-pg-img{ flex:none; height:76px }
  .hm-seo-fn-st:not(:last-child)::after{ content:''; display:block; width:2px; height:22px; margin-top:12px;
    background:repeating-linear-gradient(180deg, var(--sa-line) 0 5px, transparent 5px 10px) }
  .hm-seo-fn-track{ display:none }
  .hm-seo-strip ol{ grid-template-columns:minmax(0,1fr); gap:24px }
  .hm-seo-strip-go{ right:auto; left:50%; top:auto; bottom:-22px; margin:0 0 0 -9px; transform:rotate(90deg) }
}
@media (max-width:599px){
  .hm-seo-hero.is-split,.hm-seo-hero.is-short,.hm-seo-hero.is-center{ padding-top:32px; gap:32px }
  .hm-seo-lead{ font-size:16.5px }
  .hm-seo-hero.is-center .hm-seo-hero-art{ margin-top:36px }
  .hm-seo-funnel .hm-visual-inner{ padding:44px 16px 22px }
  .hm-seo-blocks-rail li{ padding:16px 14px }
  .hm-seo-bp{ height:58px; padding:0 10px }
  .hm-seo-tl{ grid-template-columns:minmax(0,1fr); gap:26px; margin-top:36px }
  .hm-seo-tl::before{ top:22px; bottom:22px; left:21px; right:auto; width:2px; height:auto; background:linear-gradient(180deg, var(--sa-line), var(--sa) 55%, var(--sa-line)) }
  .hm-seo-tl li{ grid-template-columns:44px minmax(0,1fr); justify-items:start; column-gap:16px; row-gap:4px; text-align:left }
  .hm-seo-tl-n{ grid-row:span 2; margin-bottom:0 }
  .hm-seo-tl p{ max-width:none }
  .hm-seo-fit{ grid-template-columns:minmax(0,1fr) }
  .hm-seo-about-body p,.hm-seo-places p{ font-size:16px }
  .hm-seo-aud{ padding:20px 18px }
  .hm-seo-aud-top{ height:150px; padding-top:28px }   /* clears the corner badge */
  .hm-seo-aud-tab{ width:200px }
  .hm-seo-anat-phone{ max-width:260px }
  .hm-seo-rows li{ grid-template-columns:56px minmax(0,1fr); gap:12px }
  .hm-seo-rows-n{ font-size:36px }
  .hm-seo-short .hm-visual-inner{ padding:18px }
  .hm-seo-sh-stats{ grid-template-columns:minmax(0,1fr) }
  .hm-seo-cmp-table th,.hm-seo-cmp-table td{ padding:12px 10px; font-size:13.5px }
  .hm-seo-cmp-table thead th{ font-size:12.5px }
  .hm-seo-cmp-table thead th.is-us{ font-size:13.5px }
  .hm-seo-cmp-table thead th:first-child{ width:36% }
  .hm-seo-cmp-ic{ display:flex; margin:0 0 4px }
  .hm-seo-name-art > div{ padding:20px 18px }
  .hm-seo-name-field{ font-size:16px }
}

/* ---- R4 responsive · /ads-tracking · /analytics ---- */
@media (max-width:1023px){
  .hm-seo-route,.hm-seo-report,.hm-seo-livenote,.hm-seo-src,.hm-seo-faq.is-cyan{ grid-template-columns:minmax(0,1fr); gap:32px }
  .hm-seo-route > .hm-seo-head,.hm-seo-faq.is-cyan > .hm-seo-head{ position:static }
  .hm-seo-faq.is-cyan > .hm-seo-head{ order:0 }
  .hm-seo-report-art{ order:1 }
  .hm-seo-slips{ grid-template-columns:minmax(0,1fr) }
  .hm-seo-limits{ grid-template-columns:minmax(0,1fr); gap:24px }
  .hm-seo-plan-grid{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hm-seo-plan-grid li:nth-child(2n){ border-right:0 }
  .hm-seo-plan-grid li:nth-child(-n+2){ border-bottom:1px solid var(--hm-glass-line) }
  .hm-seo-kpis{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hm-seo-kpis li:nth-child(2n){ border-right:0 }
  .hm-seo-kpis li:nth-child(-n+2){ border-bottom:1px solid var(--hm-glass-line) }
  .hm-seo-drill-list{ grid-template-columns:minmax(0,1fr); gap:44px; max-width:560px; margin-left:auto; margin-right:auto }
  .hm-seo-drill-go{ right:auto; left:50%; top:auto; bottom:-34px; margin:0 0 0 -9px; transform:rotate(90deg) }
  .hm-seo-trio ol{ grid-template-columns:minmax(0,1fr) }
  .hm-seo-trio li{ border-right:0; border-bottom:1px solid var(--hm-glass-line) }
  .hm-seo-trio li:last-child{ border-bottom:0 }
}
@media (max-width:759px){
  /* journey: the five stops stack; the line turns vertical (same solid → dashed split) */
  .hm-seo-jr .hm-visual-inner{ padding:24px 20px }
  .hm-seo-jr-track{ grid-template-columns:minmax(0,1fr); gap:14px }
  .hm-seo-jr-stop{ flex-direction:row; align-items:center; gap:16px; text-align:left }
  .hm-seo-jr-node{ flex-shrink:0; width:52px; height:52px }
  .hm-seo-jr-text{ justify-items:start; grid-template-columns:auto auto; column-gap:8px; align-items:center }
  .hm-seo-jr-tech{ grid-column:1 / -1 }
  .hm-seo-jr-text .hm-seo-tag{ grid-row:1; grid-column:2; margin-top:0 }
  .hm-seo-jr-line{ top:26px; bottom:26px; left:25px; right:auto; width:3px; height:auto;
    background:linear-gradient(180deg, var(--sa-a), color-mix(in oklab, var(--sa-a) 25%, var(--sa-b))) 0 0 / 100% 75% no-repeat,
      repeating-linear-gradient(180deg, var(--sa-b) 0 7px, transparent 7px 13px) 0 100% / 100% 25% no-repeat }
  .hm-seo-jr-pulse{ inset:0 auto 0 -5px; width:13px; height:auto }
  .hm-seo-jr-pulse::before{ left:0; top:-6px }
  .hm-seo-rings ol{ grid-template-columns:minmax(0,1fr); gap:28px }
  .hm-seo-rings ol::before{ top:22px; bottom:22px; left:20px; right:auto; width:3px; height:auto; background:linear-gradient(180deg, var(--sa-a), var(--sa-b)) }
  .hm-seo-rings li{ grid-template-columns:44px minmax(0,1fr); column-gap:16px; row-gap:4px }
  .hm-seo-ring-n{ grid-row:span 2; margin-bottom:0 }
  .hm-seo-rings p{ max-width:none }
  .hm-seo-limits ul{ grid-template-columns:minmax(0,1fr) }
  .hm-seo-spec{ grid-template-columns:minmax(0,1fr) }
  .hm-seo-duo{ grid-template-columns:minmax(0,1fr) }
  /* live feed: each row = time · OS on top, event · place under it */
  .hm-seo-live-row{ grid-template-columns:minmax(0,1fr) auto; grid-template-areas:'t os' 'ev place'; gap:6px 12px; padding:12px 8px }
  .hm-seo-live-row.is-head{ display:none }
  .hm-seo-live-row:first-child + .hm-seo-live-row{ border-top:0 }
  .hm-seo-live-t{ grid-area:t } .hm-seo-live-os{ grid-area:os; justify-content:flex-end } .hm-seo-live-ev{ grid-area:ev } .hm-seo-live-place{ grid-area:place; text-align:right }
}
@media (prefers-reduced-motion:no-preference) and (max-width:759px){
  .hm-seo-jr-pulse{ animation-name:hm-seo-travel-y }
}
@keyframes hm-seo-travel-y{ 0%{ opacity:0; transform:translateY(0) } 12%{ opacity:1 } 88%{ opacity:1 } 100%{ opacity:0; transform:translateY(100%) } }
@media (max-width:599px){
  .hm-seo-hero-note.is-pill{ border-radius:14px }
  .hm-seo-rp .hm-visual-inner{ padding:14px }
  .hm-seo-rp-kpis strong{ font-size:18px }
  .hm-seo-rp-kpis span{ padding:8px 10px }
  .hm-seo-rp-bars i{ margin:0 3px }
  .hm-seo-limits{ padding:22px 18px }
  .hm-seo-plan-grid li{ padding:18px 16px 20px }
  .hm-seo-plan-grid .is-camp dd{ font-size:34px }
  .hm-seo-kpis li{ padding:18px 16px 20px }
  .hm-seo-kpis strong{ font-size:30px }
  .hm-seo-src-panel{ padding:22px 18px }
  .hm-seo-duo-col{ padding:20px 18px }
  .hm-seo-live-top{ padding:12px 14px }
  .hm-seo-live-grid{ padding:4px 6px 8px }
}

/* ---- R7 responsive · /pricing: the tables scroll inside their own box, the first column stays ----
   The box is opaque here: ::before repeats its exact background under the first column, so the column is
   the same glass as the cells and hides what scrolls under it (a grid, so it spans the whole table).
   Scroll cue = an edge shadow behind the cells (scroll) that a piece of the same background, attached to
   the content's end (local), covers once the last column is in view. Column width: --pr-see columns fit
   beside the first one, so the next plan is always cut mid-column (cqi = the box; 640px without it). */
.hm-seo-pr-wrap{ --pr-base:#080E1D; --pr-edge:rgba(0,0,0,.68) }
.hm-root[data-hm-theme="light"] .hm-seo-pr-wrap{ --pr-base:#FAFCFE; --pr-edge:rgba(20,45,95,.22) }
@media (max-width:759px){
  .hm-seo-pr-wrap{ --pr-cols:5; display:grid; container-type:inline-size; isolation:isolate;
    background:
      var(--hm-glass-hi) 100% 0 / 44px 100% no-repeat local,
      linear-gradient(var(--pr-base), var(--pr-base)) 100% 0 / 44px 100% no-repeat local,
      linear-gradient(to left, var(--pr-edge), transparent) 100% 0 / 44px 100% no-repeat padding-box,
      var(--hm-glass-hi), var(--pr-base) }
  .hm-seo-pr-wrap + .hm-seo-pr-wrap{ --pr-cols:4 }
  .hm-seo-pr-wrap::before{ content:''; grid-area:1/1; position:sticky; left:0; z-index:1; width:132px; margin-top:1px; background:var(--hm-glass-hi), var(--pr-base); box-shadow:-2px 0 var(--pr-base) }
  .hm-seo-pr-table{ grid-area:1/1; min-width:640px; min-width:calc(132px + var(--pr-cols) * max(80px, (100cqi - 132px) / var(--pr-see, 5.05))) }
  .hm-seo-pr-table caption{ padding:16px 14px 12px; font-size:16.5px }
  .hm-seo-pr-table caption span{ left:14px; z-index:2 }
  .hm-seo-pr-table :is(th,td){ padding:12px 6px; font-size:14px }
  .hm-seo-pr-table tr > :first-child{ position:sticky; left:0; z-index:2; width:132px; padding:12px 10px 12px 14px; border-right:1px solid var(--hm-line) }
  .hm-seo-pr-table .is-group > th{ position:relative; padding:6px 14px; border-right:0; font-size:13px }
  .hm-seo-pr-table .is-group span{ left:14px }
  .hm-seo-pr-table .is-price td{ font-size:15px }
  .hm-seo-pr-table td.is-text{ font-size:13px }
}
@media (max-width:599px){
  .hm-seo-pr-cards > .hm-pricing{ padding-top:56px }
  .hm-seo-pr-table{ --pr-see:3.45 }
  .hm-seo-pr-wrap + .hm-seo-pr-wrap .hm-seo-pr-table{ --pr-see:2.5 }
}
@media (max-width:479px){
  .hm-seo-pr-table{ --pr-see:2.45 }
  .hm-seo-pr-wrap + .hm-seo-pr-wrap .hm-seo-pr-table{ --pr-see:1.5 }
}
@media (max-width:349px){
  .hm-seo-pr-table{ --pr-see:1.5 }
}

/* hide leftover family tabs — only landing plans remain */
.hm-seg--single,#hm-tab-ads{display:none!important}

/* family tabs removed — only USDT landing plans remain */
.hm-price-controls .hm-seg{display:none!important}
#hm-tab-ads{display:none!important}

/* hide leftover Ads Plans compare table and ads-only path */
.hm-seo-pr-wrap[aria-labelledby$="-ads"]{display:none!important}
.hm-path.is-ads{display:none!important}
.hm-sf-badge{display:none!important}

/* ==== live plans view (sp-boot.js) — frontend follows admin data ==== */
#hm-price-panel > .hm-plan[hidden]{ display:none !important }
.sp-live-grid{ grid-column:1 / -1; display:grid; gap:16px; align-items:stretch; justify-content:center;
  grid-template-columns:repeat(auto-fit,minmax(230px,272px)) }
.sp-live-grid > .hm-plan{ display:flex }
.sp-live-grid > .hm-plan[hidden]{ display:none !important }
.sp-plans-empty{ grid-column:1 / -1; padding:34px 18px; text-align:center; font-size:14.5px; color:var(--hm-muted);
  border:1px dashed var(--hm-line); border-radius:var(--hm-r-lg); background:rgba(13,21,40,.55) }
@media (max-width:479.98px){ .sp-live-grid{ grid-template-columns:minmax(0,1fr) } }
