/* Gemini Carbon implementation of the approved editorial product pattern; real home operations stay in place. */
/* Legacy forest-band tokens are local to this now-light hero. */
body[data-home] .home-hero { --on-forest: var(--ink); --forest-muted: var(--muted); --forest-rule: var(--hair);
  --focus-on-dark: var(--accent); color: var(--ink); }
body[data-home] .home-hero::before { background: transparent; box-shadow: none; }
body[data-home] .topbar .topbar-cta.tucked { display: none; }
body[data-home] .home-hero .home-message { border: 0; border-radius: 0; background: transparent; padding: 0; }
body[data-home] {
  --paper: #f6f6f2;
  --sheet: #ffffff;
  --sheet-warm: #eeeee7;
  --ink: #141815;
  --muted: #585e59;
  --quiet: #6a706b;
  --hair: rgba(20, 24, 21, 0.1);
  --hair-strong: rgba(20, 24, 21, 0.2);
  --accent: #2c4c3b;
  --accent-ring: rgba(44, 76, 59, 0.24);
  --lime: #c8f46c;
  --lime-ink: #141815;
  --v1: #6c5ce7;
  --v2: #d63031;
  --dark: #080a09;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 8px;
  --control-radius: 8px;
  --radius: 8px;
  --hp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 24px 64px -12px rgba(20, 24, 21, 0.12), 0 4px 16px -2px rgba(20, 24, 21, 0.04);
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
}
body[data-home] .topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 246, 242, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
body[data-home] .topbar a:not(.brand):not(.btn):not(.nav-cta) { color: var(--muted); }
body[data-home] .topbar .nav a:not(.nav-product):not(.nav-cta):not(.btn) { color: var(--ink); transition: color .2s var(--hp-ease), background-color .25s var(--hp-ease), border-color .25s var(--hp-ease); }
body[data-home] .topbar .btn, body[data-home] .topbar .nav-cta {
  background: var(--accent); color: #fff; border: 0; border-radius: var(--r-pill);
  min-height: 44px; padding: 0 18px; align-items: center; font-weight: 600;
  box-shadow: 0 8px 22px var(--accent-ring); transition: background-color .25s var(--hp-ease), color .25s var(--hp-ease), border-color .25s var(--hp-ease);
}
body[data-home] .topbar > .topbar-cta { background: transparent; color: var(--accent); border: 1px solid var(--accent); box-shadow: none; }
body[data-home] .home-hero { position: relative; isolation: isolate; padding-top: clamp(28px, 4vw, 56px); }
body[data-home] .hp-topo {
  position: absolute; inset: 0 0 auto; height: 100%; max-height: 680px;
  pointer-events: none; z-index: -1; overflow: hidden; color: rgba(20, 24, 21, 0.055);
}
body[data-home] .hp-topo svg { width: 100%; height: 100%; }
@keyframes hp-topo-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3.5%, 2.5%, 0) scale(1.04); }
}
@keyframes hp-topo-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.02); }
  to { transform: translate3d(3%, -2.5%, 0) scale(.98); }
}
body[data-home]:not([data-hp-static-fx]) .hp-topo .topo-layer-1 { transform-origin: center; animation: hp-topo-drift-a 46s ease-in-out infinite alternate; }
body[data-home]:not([data-hp-static-fx]) .hp-topo .topo-layer-2 { transform-origin: center; animation: hp-topo-drift-b 58s ease-in-out infinite alternate; }
body[data-home] .home-hero[data-hp-paused] .hp-topo :is(.topo-layer-1, .topo-layer-2) { animation-play-state: paused; }
/* Keep the reading surface stable, including while a native navigation waits for its response. */
body[data-home] .hp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--sheet);
  border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 5px 12px;
  font: 500 12.5px/1.2 var(--mono); color: var(--muted); margin: 0 0 16px;
}
body[data-home] .hp-eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); transition: background-color .35s var(--hp-ease); }
body[data-home] #home-title {
  font-weight: 800; font-size: clamp(30px, 3.75vw, 54px); line-height: 1.03;
  letter-spacing: -0.036em; color: var(--ink);
}
body[data-home] .home-lead { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.58; color: var(--muted); max-width: 550px; }
body[data-home] .btn.lime.home-primary {
  background: var(--lime); color: var(--lime-ink); border: 1px solid rgba(20, 24, 21, 0.12);
  border-radius: var(--r-pill); min-height: 46px; font-weight: 700; box-shadow: none;
  transition: background-color .25s var(--hp-ease), color .25s var(--hp-ease), border-color .25s var(--hp-ease);
}
body[data-home] :is(a, button, summary) { min-height: 44px; }
body[data-home] .home-lead a, body[data-home] .home-price a, body[data-home] .home-proof a, body[data-home] .cp-context a { min-height: 0; }
body[data-home] .home-price, body[data-home] .home-trial, body[data-home] .home-proof { color: var(--muted); font-size: 13.5px; }
body[data-home] time, body[data-home] .home-appointment span:first-child, body[data-home] .home-appointment strong,
body[data-home] .cp-rows time, body[data-home] .cp-rows strong, body[data-home] .cp-tab-count, body[data-home] .ws-host {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
}
body[data-home] .home-day {
  background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: clamp(14px, 2vw, 22px); margin: 0;
}
body[data-home] #home-day-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--hair);
  font: 600 13px/1.3 "Manrope", sans-serif; color: var(--ink);
}
body[data-home] #home-day-caption small {
  font: 500 12px/1 var(--mono); color: var(--muted); text-transform: none;
  display: inline-flex; align-items: center; gap: 6px;
}
body[data-home] #home-day-caption small::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
body[data-home] .home-message, body[data-home] .home-window {
  background: transparent; border: 0; box-shadow: none; border-radius: var(--r-md);
}
body[data-home] .home-night > li {
  border-bottom: 1px solid var(--hair); padding: 10px 0; background: transparent; border-radius: 0;
}
body[data-home] .home-night-times b {
  background: var(--accent); color: #fff; padding: 2px 9px; border-radius: var(--r-pill); font-family: var(--mono);
}
body[data-home] .home-window { border-top: 1px solid var(--hair); padding-top: 12px; margin-top: 8px; }
body[data-home] .home-window-mark { background: var(--accent); color: #fff; border-radius: 8px; }
body[data-home] .home-appointment {
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-md); padding: 12px;
}
body[data-home] .hp-stepbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hair); font: 500 12px/1.2 var(--mono); color: var(--muted);
}
body[data-home] .hp-steps { display: inline-flex; gap: 4px; }
body[data-home] .hp-step-btn {
  min-width: 44px; min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--hair);
  background: var(--sheet); font: 600 12px/1 var(--mono); color: var(--muted); cursor: pointer;
  transition: background-color .25s var(--hp-ease), color .25s var(--hp-ease), border-color .25s var(--hp-ease);
}
body[data-home] .hp-step-btn[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
body[data-home] .hp-dim { opacity: 1; }
body[data-home] .home-spheres-label { margin: 12px auto 0; color: var(--muted); font: 600 13px/1.3 Manrope, sans-serif; }
body[data-home] .home-spheres {
  box-shadow: inset 0 -1px var(--hair); padding-block: 0; margin: 4px auto 0; gap: 0 22px;
}
body[data-home] .home-spheres a {
  display: inline-flex; align-items: center; padding: 0;
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
body[data-home] .hp-sec-label {
  display: block; font: 500 12.5px/1.3 var(--mono); color: var(--accent);
  text-transform: none; letter-spacing: 0; margin: 0 0 10px;
}
body[data-home] .hp-sec-label::before { content: none; }
body[data-home] .calc .hp-sec-label { color: var(--lime); }
body[data-home] main h2 {
  font-weight: 800; font-size: clamp(27px, 3.4vw, 44px); line-height: 1.05;
  letter-spacing: -0.032em; max-width: 20ch;
}
body[data-home] main > section, body[data-home] .home-details {
  border-top: 1px solid var(--hair);
}
/* Shared sections already carry their own inner .block spacing; do not pad both wrappers. */
body[data-home] main > section:not(.home-hero):not(.wrap) { padding-block: 0; }
body[data-home] #voice {
  background: var(--sheet); color: var(--ink); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px); margin-block: 28px; border: 1px solid var(--hair);
}
body[data-home] #voice .hp-sec-label { color: var(--accent); }
body[data-home] #voice h2, body[data-home] #voice b { color: var(--ink); }
body[data-home] #voice p, body[data-home] #voice .home-voice-demo-words > span { color: var(--muted); }
body[data-home] #voice .home-voice-demo {
  background: var(--paper); border: 1px solid var(--hair);
  border-radius: var(--r-md); padding: 16px;
}
body[data-home] .cabinet-preview, body[data-home] .ws-window {
  background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--r-lg); box-shadow: none;
}
body[data-home] .cp-top, body[data-home] .ws-browser { border-bottom: 1px solid var(--hair); background: var(--paper); }
body[data-home] .cp-navigation { border-right: 1px solid var(--hair); background: var(--sheet); }
body[data-home] .cp-tab:is([aria-current="page"], [aria-selected="true"]) {
  background: var(--sheet-warm); color: var(--ink); box-shadow: inset 2px 0 0 var(--accent);
}
body[data-home] .cp-card, body[data-home] .cp-night, body[data-home] .cp-rows > li, body[data-home] .cp-talks > li {
  background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; box-shadow: none;
}
body[data-home] .ws-tabs {
  display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; gap: 4px; background: var(--sheet);
  border: 1px solid var(--hair); border-radius: var(--r-pill); padding: 5px; margin-bottom: 14px;
}
body[data-home] .ws-tab {
  flex: 0 0 auto; border-radius: var(--r-pill); padding: 8px 14px; font-size: 13.5px; color: var(--muted); text-decoration: none;
}
body[data-home] .ws-tab:is([aria-current="page"], [aria-selected="true"]) { background: var(--sheet-warm); color: var(--ink); font-weight: 700; }
@media (max-width: 520px) {
  body[data-home] .home-day { padding: 12px; border-radius: var(--r-md); }
  body[data-home] .ws-tabs { border-radius: var(--r-md); width: 100%; }
}
@media (max-width: 760px) {
  body[data-home] { --block: 16px; --block-inner: 20px; }
  body[data-home] .block { padding-top: 16px; }
  body[data-home] main h2 { max-width: none; }
  body[data-home] .hp-sec-label { margin-bottom: 4px; }
  body[data-home] #voice { padding: 16px; margin-block: 20px; }
  body[data-home] .hero.home-hero { padding-top: 20px; gap: 0; }
  body[data-home] .hp-eyebrow, body[data-home] .hp-stepbar { display: none; }
  body[data-home] .home-spheres { margin-top: 4px; }
  body[data-home] .home-lead { margin-top: 16px; line-height: 1.5; font-size: 16px; }
  body[data-home] .home-hero .home-actions { margin-top: 16px; gap: 4px; }
  body[data-home] .home-actions .home-primary { margin-bottom: 0; }
  body[data-home] .home-actions .home-demo-link { margin-top: 0; padding-block: 8px; }
  body[data-home] .home-day { margin-top: 16px; }
  body[data-home] .home-night > li { padding-block: 3px; }
  body[data-home] #home-day-caption { padding-bottom: 8px; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-home] .hp-topo :is(.topo-layer-1, .topo-layer-2) { animation: none !important; }
  body[data-home] .hp-dim { opacity: 1 !important; }
}

/* Initial Final Carbon, selected after the independent comparison on 17 November. */
body[data-home] .hero.home-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 32px 52px;
  padding-top: 48px;
}
body[data-home] #home-title { font-size: clamp(30px, 4.35vw, 58px); line-height: 1.02; }
body[data-home] .hp-stage { min-width: 0; width: 100%; max-width: 590px; margin-inline: auto; container-type: inline-size; }
body[data-home] .hp-stage-frame { position: relative; isolation: isolate; padding: 0; }
body[data-home] .hp-stage .home-day {
  position: relative; padding: 0; overflow: hidden; border-radius: var(--r-lg); margin: 0;
  box-shadow: var(--shadow-lg);
}
body[data-home] .hp-stage #home-day-caption {
  padding: 14px 16px; margin: 0; background: var(--sheet-warm); gap: 10px; min-height: 54px;
}
body[data-home] .hp-device-company { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font-size: 13px; font-weight: 700; }
body[data-home] .hp-device-avatar { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 10px; transition: background-color .35s var(--hp-ease); }
body[data-home] .home-hero .hp-stage .home-message { padding: 16px; border: 0; border-radius: 0; }
body[data-home] .hp-stage .home-night { display: flex; flex-direction: column; gap: 10px; }
body[data-home] .hp-stage .home-night > li {
  position: relative; isolation: isolate; display: block; max-width: 94%; width: fit-content; padding: 10px 12px;
  border: 1px solid transparent; border-radius: var(--r-md) var(--r-md) var(--r-md) 4px; background: transparent;
  opacity: 1; transform: translateY(0);
  transition: opacity .42s var(--hp-ease), transform .42s var(--hp-ease), background-color .35s var(--hp-ease), border-color .35s var(--hp-ease);
}
body[data-home] .hp-stage .home-night > li:is(.said, .out) { align-self: flex-end; border-radius: var(--r-md) var(--r-md) 4px var(--r-md); }
/* Fade the material, not readable text or the real demo links. */
body[data-home] .hp-stage .home-night > li::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  border: 1px solid var(--hair); border-radius: inherit; background: color-mix(in srgb, var(--accent) 8%, white);
  opacity: 1; transition: opacity .42s var(--hp-ease), background-color .35s var(--hp-ease), border-color .35s var(--hp-ease);
}
body[data-home] .hp-stage .home-night > li:is(.said, .out)::before { background: var(--sheet-warm); }
body[data-home] .hp-stage .home-night time { position: absolute; right: 12px; top: 10px; font-size: 11px; }
body[data-home] .hp-stage .home-night p { font-size: 13.5px; line-height: 1.44; color: var(--ink); }
body[data-home] .hp-stage .home-night .who { display: block; padding-right: 46px; margin-bottom: 5px; color: var(--muted); font-size: 11.5px; font-weight: 500; }
body[data-home] .hp-stage .home-night-times { display: block; margin-top: 9px; }
body[data-home] .hp-stage .home-night-times > * { display: inline-block; padding: 4px 9px; border: 1px solid var(--hair); border-radius: var(--r-sm); background: white; font: 500 11px/1.3 var(--mono); transition: background-color .28s var(--hp-ease), color .28s var(--hp-ease), border-color .28s var(--hp-ease); }
body[data-home] .hp-stage .home-night-times b { color: white; background: var(--accent); border-color: var(--accent); }
body[data-home]:not([data-hp-static-fx]) .hp-stage .home-day:is([data-hp-step="1"], [data-hp-step="2"]) .home-night-times b { color: var(--ink); background: white; border-color: var(--hair); }
body[data-home] .hp-stage .home-window { isolation: isolate; margin: 0 16px 16px; padding: 0; border: 1px solid transparent; border-radius: var(--r-md); background: transparent; }
body[data-home] .hp-stage .home-window::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 1px solid var(--accent-ring); border-radius: inherit; background: var(--paper);
  opacity: 1; transition: opacity .42s var(--hp-ease), border-color .35s var(--hp-ease);
}
body[data-home] .hp-stage .home-window-bar { flex-wrap: wrap; gap: 4px 8px; padding: 10px 12px; border: 0; background: transparent; font-size: 11.5px; line-height: 1.4; }
body[data-home] .hp-stage .home-window-bar b { font-weight: 700; color: var(--accent); }
body[data-home] .hp-example { color: var(--muted); }
body[data-home] .hp-stage .home-window-date { font-size: 11.5px; }
body[data-home] .hp-stage .home-agenda { padding: 0 10px; }
body[data-home] .hp-stage .home-appointment { border: 0; border-radius: 0; background: transparent; padding: 8px 0; }
body[data-home] .hp-stage .home-appointment b { margin: 5px 0; font-size: 14.5px; font-weight: 800; }
body[data-home] .hp-stage .home-appointment :is(small, .home-booked-by) { font-size: 12.5px; }
body[data-home] .hp-stage .home-appointment strong { position: static; display: block; margin-top: 7px; font-size: 14px; color: var(--accent); }
body[data-home] .hp-stage .home-window-footer { display: block; padding: 9px 10px 12px; font-size: 10.5px; border: 0; }
body[data-home] .hp-stage .hp-stepbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 10px 14px; margin: 0; font-size: 10.5px; }
body[data-home] .hp-stage .hp-stepbar > span { min-block-size: 2.4em; display: flex; align-items: center; }
body[data-home] .hp-stage .hp-steps { gap: 4px; }
body[data-home] .hp-stage .hp-step-btn { min-width: 44px; border: 1px solid var(--hair-strong); background: var(--sheet-warm); }
body[data-home] .hp-stage .hp-step-btn[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: var(--accent); }
body[data-home] .hp-stage .home-night > li.hp-dim { transform: translateY(6px); }
body[data-home] .hp-stage .home-night > li.hp-dim::before { opacity: .2; }
body[data-home] .hp-stage .home-window.hp-dim::before { opacity: .24; }
body[data-home][data-hp-static-fx] .hp-stage :is(.home-night > li, .home-window) { opacity: 1; transform: none; transition: none; }
body[data-home][data-hp-static-fx] .hp-stage :is(.home-night > li, .home-window)::before { transition: none; }
@container (max-width: 420px) {
  body[data-home] .hp-stage .hp-stepbar { grid-template-columns: minmax(0, 1fr); }
  body[data-home] .hp-stage .hp-steps { justify-self: end; }
}
body[data-home] .hp-sphere-switch {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 12px; padding: 4px 0;
  border: 0; background: transparent; box-shadow: none;
}
body[data-home] .hp-sphere-switch[hidden] { display: none; }
body[data-home] .hp-sphere-switch button {
  display: inline-flex; justify-content: center; align-items: center; gap: 5px; min-width: 0; min-height: 44px; padding: 8px 4px;
  border: 1px solid transparent; border-radius: var(--r-pill); background: transparent; color: var(--ink); font: 600 11.5px/1.3 Manrope, sans-serif; cursor: pointer;
  transition: background-color .25s var(--hp-ease), color .25s var(--hp-ease), border-color .25s var(--hp-ease);
}
@container (max-width: 500px) {
  body[data-home] .hp-sphere-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-home] .hp-sphere-switch button:last-child { grid-column: 1 / -1; }
}
body[data-home] .hp-sphere-switch button[aria-pressed="true"] { border-color: var(--ink); background: var(--sheet); }
body[data-home] .hp-sphere-switch i { flex: none; width: 6px; height: 6px; background: var(--sphere-colour, #2f5440); }
body[data-home] [data-hp-sphere-pick="beauty"] { --sphere-colour: #7a3b55; }
body[data-home] [data-hp-sphere-pick="dental"] { --sphere-colour: #245870; }
body[data-home] [data-hp-sphere-pick="sport"] { --sphere-colour: #9a4a17; }
body[data-home] [data-hp-sphere-pick="stay"] { --sphere-colour: #314b5c; }
@media (max-width: 1080px) {
  body[data-home] .hero.home-hero { grid-template-columns: minmax(0, 1fr); }
  body[data-home] .hp-stage { margin-top: 20px; }
}
@media (max-width: 640px) {
  body[data-home] .hero.home-hero { padding-top: 28px; gap: 24px; }
  body[data-home] .hp-stage { margin-top: 0; }
  body[data-home] .hp-stage-frame { padding: 0; }
  body[data-home] .hp-stage .hp-stepbar { padding: 8px 10px; }
  body[data-home] .hp-stage .home-window { margin-inline: 12px; }
  body[data-home] .home-hero .hp-stage .home-message { padding: 12px; }
}
body[data-home] .home-hero #hero-join { background: #2f5440; color: #fff; border-color: #2f5440; min-height: 46px; padding: 12px 22px; font-size: 15px; box-shadow: 0 8px 22px rgb(47 84 64 / .2); }
body[data-home] .home-hero #hero-join:hover { background: #244232; border-color: #244232; }
body[data-home] .home-hero #hero-join .btn-terms { display: none; }
body[data-home] .home-hero .home-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
body[data-home] .home-actions > p, body[data-home] .home-actions > .home-demo-link { flex-basis: 100%; }
body[data-home] .home-actions .note-terms { display: inline; }
body[data-home] .hp-modules-link { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 20px; min-height: 46px; border: 1px solid var(--hair-strong); border-radius: var(--r-pill); background: white; color: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none; }
body[data-home] .hp-modules-band { position: relative; isolation: isolate; margin-top: 48px; padding-block: 60px; color: #f5f7f5; }
body[data-home] .hp-modules-band::before { content: ''; position: absolute; z-index: -1; inset: 0; background: #080a09; box-shadow: 0 0 0 100vmax #080a09; clip-path: inset(0 -100vmax); }
body[data-home] .hp-modules-band .hp-module-label { margin: 0 0 12px; font: 500 12px/1.4 var(--mono); color: #c8f46c; }
body[data-home] .hp-modules-band h2 { max-width: 23ch; margin: 0 0 16px; color: #f5f7f5; }
body[data-home] .hp-modules-lead { margin: 0 0 28px; color: #c9d0ca; font-size: 16px; }
body[data-home] .hp-module-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; border: 0; }
body[data-home] .hp-module-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: var(--r-md); background: #161b18; color: #080a09; cursor: pointer; transition: border-color .25s var(--hp-ease), box-shadow .32s var(--hp-ease); }
body[data-home] .hp-module-card:has(input:checked) { border-color: #ffffff; }
body[data-home] .hp-module-card:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 4px; }
body[data-home] .hp-module-card input { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); }
body[data-home] .hp-module-art { display: block; width: 100%; aspect-ratio: 240 / 188; flex: none; overflow: hidden; }
body[data-home] .hp-module-art svg { display: block; width: 100%; height: 100%; }
body[data-home] .hp-module-body { display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-height: 158px; padding: 18px 18px 16px; }
body[data-home] .hp-module-card[data-module="booking"] .hp-module-body { background: #ff8ad4; }
body[data-home] .hp-module-card[data-module="cabinet"] .hp-module-body { background: #00d285; }
body[data-home] .hp-module-card[data-module="money"] .hp-module-body { background: #ffb800; }
body[data-home] .hp-module-card[data-module="growth"] .hp-module-body { background: #9f85ff; }
body[data-home] .hp-module-number { display: inline-flex; align-self: flex-start; width: fit-content; margin-bottom: 8px; padding: 3px 6px; border-radius: var(--r-sm); background: #080a09; color: #fff; font: 600 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
body[data-home] .hp-module-body b { display: block; margin: 0 0 6px; font-size: clamp(22px, 2vw, 27px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
body[data-home] .hp-module-copy { display: block; font-size: 13.5px; line-height: 1.38; font-weight: 600; opacity: .88; }
body[data-home] .hp-module-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(8, 10, 9, .18); font: 600 12px/1.4 var(--mono); }
body[data-home] .hp-module-inspector { margin-top: 18px; padding: 24px; border: 1px solid #343d36; border-radius: var(--r-md); background: #111513; }
body[data-home] .hp-module-panel { display: none; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
body[data-home] .hp-modules-band:has(#hp-module-booking:checked) .hp-module-panel[data-module="booking"],
body[data-home] .hp-modules-band:has(#hp-module-cabinet:checked) .hp-module-panel[data-module="cabinet"],
body[data-home] .hp-modules-band:has(#hp-module-money:checked) .hp-module-panel[data-module="money"],
body[data-home] .hp-modules-band:has(#hp-module-growth:checked) .hp-module-panel[data-module="growth"] { display: grid; }
body[data-home] .hp-module-panel h3 { margin: 0 0 8px; font-size: 20px; color: #f5f7f5; }
body[data-home] .hp-module-panel p { margin: 0; color: #c9d0ca; font-size: 14px; line-height: 1.6; }
body[data-home] .hp-module-panel > a { display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid #536254; border-radius: var(--r-pill); color: #f5f7f5; font-size: 13px; text-decoration: none; white-space: nowrap; }
@media (max-width: 1080px) { body[data-home] .hp-module-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  body[data-home] .hp-modules-band { margin-top: 32px; padding-block: 40px; }
  body[data-home] .hp-module-choices { gap: 10px; }
  body[data-home] .hp-module-body { min-height: 134px; padding: 13px 12px 12px; }
  body[data-home] .hp-module-body b { font-size: 19px; }
  body[data-home] .hp-module-copy { font-size: 12px; }
  body[data-home] .hp-module-inspector { padding: 18px; }
  body[data-home] .hp-module-panel { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body[data-home] .hp-module-panel > a { justify-content: space-between; white-space: normal; }
}

/* Native CSS cursors keep the browser's hit testing and never trail the pointer. */
@media (hover: hover) and (pointer: fine) {
  body[data-home] { cursor: url('/assets/cursor-pixel-arrow.svg') 2 2, auto; }
  body[data-home] :is(a, button, summary, label, input[type="radio"], input[type="checkbox"], input[type="range"]) { cursor: url('/assets/cursor-pixel-hand.svg') 14 3, pointer; }
  body[data-home] :is(input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, [contenteditable="true"]) { cursor: text; }
  body[data-home] :is(button:disabled, input:disabled) { cursor: not-allowed; }
}
body[data-home] .hp-stage .home-night .who-full { display: inline; }
body[data-home] .home-actions > a { min-width: 0; max-width: 100%; white-space: normal; }
body[data-home] .hp-stage #home-day-caption small { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 10px; min-width: 40px; }
body[data-home] .hp-stage #home-day-caption small::before { display: none; }
body[data-home] .hp-device-time::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: var(--accent); }
body[data-home] .hp-stage .home-appointment { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 3px 8px; }
body[data-home] .hp-stage .home-appointment > :is(span, small) { grid-column: 1 / -1; }
body[data-home] .hp-stage .home-appointment > b { grid-column: 1; grid-row: 2; margin: 0; }
body[data-home] .hp-stage .home-appointment > strong { grid-column: 2; grid-row: 2; margin: 0; white-space: nowrap; }
body[data-home] .hp-owner-notice { margin: 0; padding: 6px 10px; font-size: 10.5px; line-height: 1.5; color: var(--muted); }

/* Effects suggested by Gemini Carbon: decoration moves; reading and hit testing stay fixed. */
/* The two-tone focus stays visible on white, colored buttons and the dark module band. */
body[data-home] :is(a, button, summary):focus-visible {
  outline: 2px solid #080a09; outline-offset: 3px; box-shadow: 0 0 0 3px #fff;
}
body[data-home] :is(#hero-join, .hp-modules-link, .hp-sphere-switch button, .hp-step-btn):active {
  box-shadow: inset 0 0 0 1px currentColor;
}
@media (hover: hover) and (pointer: fine) {
  body[data-home] :is(.btn, .ws-tab, .cp-tab, .menu-button, .home-demo-link, .home-spheres a):hover { transform: none; }
  body[data-home] :is(.hp-modules-link, .hp-sphere-switch button, .hp-step-btn):hover { border-color: var(--accent); background: var(--sheet-warm); }
  body[data-home] .hp-stage .hp-step-btn[aria-pressed="true"]:hover { border-color: var(--accent); background: var(--accent); }
  body[data-home] .hp-module-card:hover { border-color: #ffffff; }
  body[data-home] .hp-module-panel > a:hover { border-color: var(--lime); background: #26372b; }
  body[data-home] :is(.home-demo-link, .home-spheres a, .topbar .nav a:not(.btn)):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
}
@media (prefers-reduced-motion: no-preference) {
  body[data-home]:not([data-hp-static-fx]) .hp-module-art svg { transition: transform .5s var(--hp-ease); }
  @media (hover: hover) and (pointer: fine) {
    body[data-home]:not([data-hp-static-fx]) .hp-module-card:hover .hp-module-art svg { transform: scale(1.05); }
  }
}
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  body[data-home] .topbar .nav a:not(.nav-product):not(.nav-cta):not(.btn):hover {
    text-decoration: none;
    background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px) left bottom / 100% 2px no-repeat;
  }
}
body[data-home] :is(#hero-join, .hp-modules-link) { position: relative; }
body[data-home] :is(#hero-join, .hp-modules-link)::after {
  content: ''; position: absolute; inset: -5px; pointer-events: none; opacity: 0;
  background:
    linear-gradient(#080a09 0 0) left top / 8px 2px no-repeat,
    linear-gradient(#080a09 0 0) left top / 2px 8px no-repeat,
    linear-gradient(#080a09 0 0) right top / 8px 2px no-repeat,
    linear-gradient(#080a09 0 0) right top / 2px 8px no-repeat,
    linear-gradient(#080a09 0 0) left bottom / 8px 2px no-repeat,
    linear-gradient(#080a09 0 0) left bottom / 2px 8px no-repeat,
    linear-gradient(#080a09 0 0) right bottom / 8px 2px no-repeat,
    linear-gradient(#080a09 0 0) right bottom / 2px 8px no-repeat;
}
@media (hover: hover) and (pointer: fine) {
  body[data-home] :is(#hero-join, .hp-modules-link):hover::after { opacity: 1; }
}
@media (max-width: 360px) {
  body[data-home] .hp-module-body { padding-inline: 10px; }
  body[data-home] .hp-module-body b { font-size: 16px; }
}
body[data-home][data-kind="stay"] .hp-modules-link { display: none; }
html:not(.forest) body[data-home] .mobile-cta { background: #2f5440; color: #fff; border-color: #2f5440; }
html:not(.forest) body[data-home] .mobile-cta:hover { background: #244232; color: #fff; border-color: #244232; }

/* The original light product card stays above the fold; night media remains on company websites. */
body[data-home] .wrap { max-width: 1224px; }
body[data-home] .topbar { min-height: 68px; padding-block: 8px; gap: 18px; }
body[data-home] .topbar .brand { font-size: 18px; font-weight: 800; }
body[data-home] .topbar .brandmark { width: 28px; height: 28px; }
body[data-home] .topbar > .nav { gap: 18px; }
body[data-home] .topbar > .nav a { font-size: 13px; }
body[data-home] .topbar > .nav .nav-product { padding-left: 18px; }
body[data-home] .hp-stage .home-day { max-width: 520px; margin-inline: auto; box-shadow: var(--shadow-lg); }
body[data-home] .hp-stage .home-appointment > span:first-child { display: none; }
body[data-home] .hp-stage .home-window-footer { display: flex; gap: 5px; flex-wrap: wrap; }
body[data-home] .hp-sync { display: inline-block; border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 3px 7px; background: white; font-size: 11.5px; line-height: 1.4; }
body[data-home] .hp-owner-notice { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
body[data-home] .hp-topo { inset: 0; max-height: none; }
@media (min-width: 1101px) {
  body[data-home] .topbar .topbar-cta.tucked { display: inline-flex; opacity: 1; visibility: visible; pointer-events: auto; }
  body[data-home] .topbar > .topbar-cta { background: #2f5440; border-color: #2f5440; color: white; font-size: 13px; }
}
@media (max-width: 760px) {
  body[data-home] { --gutter: 18px; }
  body[data-home] .topbar { min-height: 60px; }
  body[data-home] .topbar .brand { font-size: 20px; }
  body[data-home] .hp-eyebrow { display: inline-flex; max-width: 100%; font-size: 11px; margin-bottom: 14px; }
  body[data-home] .topbar > .nav .nav-product { padding-left: 0; }
}
body[data-home] .hp-owner-notice { white-space: nowrap; }
@media (max-width: 760px) { body[data-home] .home-hero #hero-join { width: auto; flex: 0 0 auto; } }
body[data-home][data-kind="stay"] .topbar .nav a:is([href="#hp-modules"], [href="#ai"], [href="#cabinet"], [href="#calc"]) { display: none; }
@media (min-width: 1101px) { body[data-home] .topbar > .topbar-cta:hover { background: #244232; color: #fff; } }

/* The native enhancement markup reserves its own layout before initialization. */
@media (scripting: enabled) {
  body[data-home] .hp-eyebrow[hidden] {
    display: inline-flex !important;
    visibility: hidden;
  }
  body[data-home] .hp-stage :is(.hp-stepbar, .hp-sphere-switch)[hidden] {
    display: grid !important;
    visibility: hidden;
  }
}
