/* Saar CRM — Design System & Layout Styles
   Source of truth: PLAN_PART_WEB_DESIGN.md */

/* Fonts (self-hosted, OFL; latin + latin-ext so ₹ renders). Plus Jakarta Sans + Inter with metric-matched fallbacks. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/jakarta-latin.woff2") format("woff2"); font-weight: 500 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/jakarta-latin-ext.woff2") format("woff2"); font-weight: 500 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jakarta Fallback"; src: local("Segoe UI"), local("Arial");
  size-adjust: 109.8%; ascent-override: 83%; descent-override: 20%; line-gap-override: 0%; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Fallback"; src: local("Segoe UI"), local("Arial");
  size-adjust: 100.7%; ascent-override: 91%; descent-override: 21%; line-gap-override: 0%; }
:root {
  --sys: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Jakarta Fallback", var(--sys);
  --font-body: "Inter", "Inter Fallback", var(--sys);
}

:root {
  color-scheme: light;
  /* Light theme tokens */
  --ink: #0E1529;
  --ink-2: #3D465A;
  --muted: #6B7385;
  --paper: #FAFAF7;
  --surface: #FFFFFF;
  --line: #E6E4DE;
  --navy: #1E2A78;
  --navy-hover: #17205E;
  --navy-ink: #FFFFFF;
  --accent-fill: var(--navy);
  --accent-fill-hover: var(--navy-hover);
  --accent-fill-ink: var(--navy-ink);
  --field-bg: var(--surface);
  --field-border: var(--line);
  --band: #111A4A;
  --band-ink: #F4F5F8;
  --band-ink-2: #C3C9D6;
  --amber: #F5A524;
  --sky: #38BDF8;
  --green: #22C55E;
  --danger: #B91C1C;

  /* Type scale */
  --font: var(--font-body);
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --text-display: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  --text-h2: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  --text-h3: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --text-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --text-body: 1rem;
  --text-eyebrow: .8125rem;

  /* Spacing & shape */
  --section-pad: clamp(56px, 7vw, 104px);
  --r-btn: 10px;
  --r-card: 14px;
  --r-frame: 16px;
  --r-phone: 28px;
  --frame-shadow: 0 1px 2px rgba(14, 21, 41, .06), 0 12px 32px -12px rgba(14, 21, 41, .18);
  --card-hover-shadow: 0 6px 20px -8px rgba(14, 21, 41, .14);

  /* Grid defaults (XS: 320-359) */
  --container-w: calc(100% - 32px);
  --cols: 4;
  --gutter: 12px;
  --header-h: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #F4F5F8;
  --ink-2: #C3C9D6;
  --muted: #8E97AA;
  --paper: #0B1020;
  --surface: #121830;
  --line: #252C45;
  --navy: #8C9BFF;
  --navy-hover: #A5B1FF;
  --navy-ink: #0B1020;
  --accent-fill: #4C5BF0;
  --accent-fill-hover: #3D4CE0;
  --accent-fill-ink: #FFFFFF;
  --field-bg: #0B1020;
  --field-border: #616C8C;
  --band: #0E1430;
  --frame-shadow: none;
  --card-hover-shadow: 0 6px 20px -8px rgba(0, 0, 0, .45);
  --danger: #F87171;
}

/* Cross-document View Transitions (soft fade + lift) & Theme circle reveal */
@view-transition { navigation: auto; }

@keyframes saarVtOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes saarVtIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

::view-transition-old(root),
::view-transition-new(root) {
  mix-blend-mode: normal;
}
::view-transition-old(root) {
  z-index: 1;
  animation: saarVtOut 160ms ease both;
}
::view-transition-new(root) {
  z-index: 2;
  animation: saarVtIn 320ms cubic-bezier(.2,.7,.2,1) both;
}
::view-transition-group(site-header) {
  z-index: 10;
  animation: none;
}
::view-transition-old(site-header) { animation: none; opacity: 0; }
::view-transition-new(site-header) { animation: none; opacity: 1; }
::view-transition-group(nav-underline) {
  z-index: 11;
  animation-duration: 280ms;
  animation-timing-function: cubic-bezier(.2,.7,.2,1);
}

:root.is-theme-vt .site-header,
:root.is-theme-vt .nav-underline {
  view-transition-name: none !important;
}
:root.is-theme-vt::view-transition-old(root),
:root.is-theme-vt::view-transition-new(root) {
  animation: none;
}
html.theme-fade,
html.theme-fade * {
  transition: background-color 450ms ease, color 450ms ease, border-color 450ms ease !important;
}

/* Slow-navigation top progress line (shown only after 250ms) */
.nav-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 9999;
  pointer-events: none;
  background: linear-gradient(90deg, var(--amber) 0%, var(--sky) 50%, var(--green) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 1;
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1), opacity 180ms ease;
}
.nav-progress.is-running { transform: scaleX(0.84); }
.nav-progress.is-done {
  transition: transform 160ms ease, opacity 180ms ease 100ms;
  transform: scaleX(1);
  opacity: 0;
}

/* Breakpoints (§2) */
@media (min-width: 360px) {
  :root { --container-w: calc(100% - 40px); --gutter: 16px; }
}
@media (min-width: 480px) {
  :root { --container-w: calc(100% - 48px); --cols: 6; --gutter: 20px; }
}
@media (min-width: 768px) {
  :root { --container-w: calc(100% - 64px); --cols: 8; --gutter: 24px; }
}
@media (min-width: 1024px) {
  :root { --container-w: 960px; --cols: 12; --gutter: 24px; --header-h: 72px; }
}
@media (min-width: 1280px) {
  :root { --container-w: 1160px; --gutter: 32px; }
}
@media (min-width: 1600px) {
  :root { --container-w: 1240px; }
}

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-2);
  background-color: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 999;
  background: var(--accent-fill);
  color: var(--accent-fill-ink);
  padding: 10px 16px;
  border-radius: var(--r-btn);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: var(--container-w);
  margin-inline: auto;
}

.tnum { font-variant-numeric: tabular-nums; }

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  font-feature-settings: "kern" 1;
}
h1, .h1 {
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.018em;
}
h2, .h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.hd-dot { margin-left: -0.055em; }
h3, .h3 {
  font-size: var(--text-h3);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lead {
  font-size: var(--text-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0;
}
p { max-width: 62ch; margin: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-eyebrow);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Pipeline markers */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-amber { background: var(--amber); }
.dot-sky { background: var(--sky); }
.dot-green { background: var(--green); }

/* Buttons & Links */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--r-btn);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 180ms cubic-bezier(.3, 1.6, .6, 1);
}
.btn:not(:disabled):not([aria-disabled="true"]):active {
  transform: scale(0.97);
  transition-duration: 120ms;
  transition-timing-function: ease-out;
}
.btn[aria-disabled="true"],
.btn:disabled {
  cursor: not-allowed;
}
.btn-primary {
  background: var(--accent-fill);
  color: var(--accent-fill-ink);
}
.btn-primary:hover { background: var(--accent-fill-hover); }
.btn-primary:not([aria-disabled="true"]):not(:disabled):not([data-submit-btn]):not(.is-downloading):not(.is-downloaded) {
  padding-inline: 20px 14px;
}
.btn-primary:not([aria-disabled="true"]):not(:disabled):not([data-submit-btn]):not(.is-downloading):not(.is-downloaded)::after {
  content: "\2192";
  display: inline-block;
  width: 1em;
  text-align: center;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 200ms cubic-bezier(.2, .7, .2, 1);
}
.btn-primary:not([aria-disabled="true"]):not(:disabled):not([data-submit-btn]):not(.is-downloading):not(.is-downloaded):hover::after,
.btn-primary:not([aria-disabled="true"]):not(:disabled):not([data-submit-btn]):not(.is-downloading):not(.is-downloaded):focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--ink-2); }

.btn-text {
  background: transparent;
  color: var(--navy);
  font-weight: 500;
  padding-inline: 8px;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 8px calc(100% - 8px);
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  transition: background-size 200ms cubic-bezier(.2, .7, .2, 1), color 150ms ease, transform 180ms cubic-bezier(.3, 1.6, .6, 1);
}
.btn-text:hover,
.btn-text:focus-visible {
  background-size: calc(100% - 16px) 1.5px;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}
.btn-primary.btn-sm:not([aria-disabled="true"]):not(:disabled):not([data-submit-btn]):not(.is-downloading):not(.is-downloaded) {
  padding-inline: 16px 12px;
}

.text-link {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 1px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat;
  transition: background-size 200ms cubic-bezier(.2, .7, .2, 1), color 150ms ease;
}
.text-link:hover,
.text-link:focus-visible {
  background-size: 100% 1.5px;
}

/* Copy button check animation */
.copy-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.copy-check-path {
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
}
.is-copied .copy-check-path {
  animation: saarCheckDraw 240ms cubic-bezier(.2, .7, .2, 1) forwards;
}

/* Download button progress state */
.dl-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}
.dl-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 760ms cubic-bezier(.2, .7, .2, 1);
}
.btn.is-downloading .dl-progress-fill {
  transform: scaleX(1);
}
.dl-done-check {
  flex-shrink: 0;
}
.dl-done-check path {
  stroke-dasharray: 16;
  stroke-dashoffset: 0;
}
.btn.is-downloaded .dl-done-check path {
  animation: saarCheckDraw 240ms cubic-bezier(.2, .7, .2, 1) both;
}

/* Header (§4.1) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  view-transition-name: site-header;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.site-header.is-scrolled {
  background: var(--surface);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 96px;
  padding: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 20px;
  height: 20px;
}
.brand-wordmark {
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.brand-wordmark span {
  font-weight: 400;
  color: var(--muted);
  margin-left: 2px;
}
@media (min-width: 1024px) {
  .brand-mark { width: 28px; height: 28px; }
  .brand-wordmark { font-size: 1.25rem; }
}

.header-nav {
  position: relative;
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-hover-pill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 34px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--line) 55%, transparent);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transform: translate3d(var(--pill-x, 0px), -50%, 0);
  width: var(--pill-w, 0px);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), width 220ms cubic-bezier(.2,.7,.2,1), opacity 160ms ease;
}
.nav-hover-pill.is-visible { opacity: 1; }
.header-nav a {
  position: relative;
  z-index: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 10px;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 150ms ease, border-color 150ms ease;
}
.header-nav a:hover { color: var(--ink); }
.header-nav a[aria-current="page"] {
  color: var(--ink);
}
.nav-underline {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -2px;
  height: 2px;
  background: var(--navy);
  view-transition-name: nav-underline;
  pointer-events: none;
}
.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}
.header-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
  flex-shrink: 0;
  margin-right: 2px;
}
.btn.header-demo {
  background-color: transparent;
  background-image: linear-gradient(var(--accent-fill), var(--accent-fill));
  background-position: 0 0;
  background-size: 0% 100%;
  background-repeat: no-repeat;
  border-color: var(--line);
  color: var(--ink);
  min-height: 40px;
  white-space: nowrap;
  transition: background-size 240ms cubic-bezier(.2,.7,.2,1), border-color 240ms ease, color 180ms ease, transform 180ms cubic-bezier(.3, 1.6, .6, 1);
}
.btn.header-demo:hover,
.btn.header-demo:focus-visible {
  background-size: 100% 100%;
  border-color: var(--accent-fill);
  color: var(--accent-fill-ink);
}
.header-cta {
  white-space: nowrap;
}
.btn.header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.26) 50%, transparent 75%);
  transform: translateX(-120%);
  pointer-events: none;
}
@keyframes saarBtnSweep {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%); }
}
.btn.header-cta:hover::before,
.btn.header-cta:focus-visible::before {
  animation: saarBtnSweep 600ms cubic-bezier(.2, .7, .2, 1) forwards;
}

.theme-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}
.theme-btn:hover,
.theme-btn:focus-visible {
  color: var(--ink);
  background: color-mix(in srgb, var(--line) 60%, transparent);
}
.theme-btn:active { transform: translateY(1px); }

.theme-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.theme-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 280ms ease;
}
.theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-icon-sun  { opacity: 0; transform: rotate(-90deg) scale(0.5); }
:root[data-theme="dark"] .theme-icon-moon { opacity: 0; transform: rotate(90deg) scale(0.5); }
:root[data-theme="dark"] .theme-icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .header-actions { display: inline-flex; }
  .header-cta { display: inline-flex; min-height: 40px; }
  .theme-btn { width: 36px; height: 36px; }
  .menu-btn { display: none; }
}
@media (min-width: 1280px) {
  .header-inner { gap: 24px; }
  .header-nav { gap: 14px; }
}

/* Mobile menu sheet (§4.1) */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 16px 20px 32px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), visibility 240ms;
}
.menu-sheet.is-open {
  transform: translateY(0);
  visibility: visible;
}
.menu-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 32px;
}
.menu-sheet-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu-sheet-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 1.5rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu-sheet-links a[aria-current="page"] { color: var(--navy); }
.menu-sheet-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.menu-sheet-foot .btn { width: 100%; min-height: 48px; }

.theme-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.theme-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.switch-track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 99px;
  background: var(--line);
  transition: background-color 200ms ease;
  flex-shrink: 0;
}
.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
:root[data-theme="dark"] .switch-track { background: var(--accent-fill); }
:root[data-theme="dark"] .switch-thumb { transform: translateX(20px); background: var(--accent-fill-ink); }

/* Sections */
.section,
.section-tight { padding-block: var(--section-pad); }
main > section:not(.band-section) + section:not(.band-section) {
  padding-top: 0;
}
main > section:nth-child(n+2),
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
#how {
  contain-intrinsic-size: auto 1800px;
}
@media (min-width: 1024px) {
  #how {
    contain-intrinsic-size: auto 2800px;
  }
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.section-head:last-child { margin-bottom: 0; }
#how .section-head h2 {
  position: relative;
  padding-bottom: 12px;
}
#how .section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(96px, 38%);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--sky) 50%, var(--green) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}
html:not(.has-js) #how .section-head h2::after,
#how .section-head.is-visible h2::after {
  transform: scaleX(1);
}

/* Screenshot & Phone frames (§1 + Windows bar + Phone status bar) */
.shot-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  overflow: hidden;
  box-shadow: var(--frame-shadow);
}
.shot-bar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 10px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.shot-win-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 3px;
}
.shot-title {
  font-size: 12px;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.shot-win-btns {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.shot-win-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  border-radius: 4px;
  color: var(--muted);
  transition: color 180ms ease, background-color 180ms ease;
}
.shot-win-min::before {
  content: "";
  width: 9px;
  height: 1.2px;
  background: currentColor;
  border-radius: 1px;
}
.shot-win-max::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.2px solid currentColor;
  border-radius: 1px;
}
.shot-win-close::before,
.shot-win-close::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 1.2px;
  background: currentColor;
  border-radius: 1px;
}
.shot-win-close::before { transform: rotate(45deg); }
.shot-win-close::after { transform: rotate(-45deg); }
.shot-frame:hover .shot-win-close {
  color: #DC2626;
  background: rgba(220, 38, 38, 0.1);
}
:root[data-theme="dark"] .shot-frame:hover .shot-win-close {
  color: #F87171;
  background: rgba(248, 113, 113, 0.14);
}
.shot-media {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: var(--paper);
}
.shot-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-swap-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 280ms ease;
}
.hero-swap-img.is-active { opacity: 1; }
.shot-1610 { aspect-ratio: 16 / 10; }
.shot-43 { aspect-ratio: 4 / 3; }
.shot-32 { aspect-ratio: 3 / 2; }
.shot-1610-win { aspect-ratio: 16 / 10; }

.phone-frame {
  background: #F9FBFC;
  border: 6px solid var(--ink);
  border-radius: var(--r-phone);
  overflow: hidden;
  box-shadow: var(--frame-shadow);
}
:root[data-theme="dark"] .phone-frame {
  background: #111317;
}
.phone-status-bar {
  position: relative;
  height: 24px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F9FBFC;
  color: #0E1529;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  user-select: none;
}
:root[data-theme="dark"] .phone-status-bar {
  background: #111317;
  color: #F4F5F8;
}
.phone-time {
  letter-spacing: 0.01em;
}
.phone-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0E1529;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}
.phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  overflow: hidden;
}
.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero (§4.2 H1) */
.hero {
  padding-block: clamp(32px, 5vw, 72px) clamp(36px, 5vw, 60px);
  overflow-x: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero-copy h1 { max-width: 18ch; }
.hero-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  margin-top: 4px;
}
.hero-actions .btn { width: 100%; }
.hero-sub-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.hero-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: color 150ms ease, background-size 200ms cubic-bezier(.2, .7, .2, 1);
}
.hero-sub-link:hover,
.hero-sub-link:focus-visible {
  color: var(--navy);
  background-size: 100% 1.5px;
}
.hero-sub-sep { color: var(--muted); }
@media (max-width: 1023px) {
  .hero-sub-link { min-height: 44px; }
}

/* Demo video dialog (pass 3 §3) */
.demo-dialog {
  margin: auto;
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--frame-shadow);
}
.demo-dialog::backdrop {
  background: rgba(14, 21, 41, 0.6);
}
.demo-dialog-inner {
  padding: clamp(16px, 3vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.demo-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.demo-dialog-head h2 {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  line-height: 1.25;
}
.demo-dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.demo-dialog-close:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}
@media (max-width: 1023px) {
  .demo-dialog-close { width: 44px; height: 44px; }
}
.demo-video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #0B1020;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
}
.demo-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.demo-dialog-foot {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.hero-media {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-desktop { display: none; }
.hero-phone { width: 230px; }

@media (min-width: 360px) {
  .hero-phone { width: 260px; }
}
@media (min-width: 768px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
  }
  .hero-actions .btn { width: auto; }
  .hero-copy {
    align-items: center;
    text-align: center;
    max-width: 620px;
    margin-inline: auto;
  }
  .hero-trust { justify-content: center; }
  .hero-sub-links { justify-content: center; }
  .hero-media { display: block; padding-bottom: 104px; }
  .hero-desktop { display: block; position: relative; z-index: 1; width: 100%; }
  .hero-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 190px;
    transform: translateX(0);
  }
  .hero-shot-43 { display: none; }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
  }
  .hero-copy {
    grid-column: 1 / span 6;
    align-items: flex-start;
    text-align: left;
    max-width: none;
    margin: 0;
  }
  .hero-trust { justify-content: flex-start; }
  .hero-sub-links { justify-content: flex-start; }
  .hero-media {
    grid-column: 7 / span 6;
    padding-bottom: 108px;
  }
  .hero-phone {
    width: 26%;
    max-width: 180px;
    left: auto;
    right: -2%;
    bottom: 0;
    z-index: 3;
  }
  .hero-copy { min-width: 0; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(2.5rem, 0.9rem + 3.4vw, 4.25rem); }
}
@media (min-width: 1280px) {
  .hero-copy { grid-column: 1 / span 5; }
  .hero-media {
    grid-column: 6 / span 7;
    margin-right: -64px;
  }
  .hero-phone {
    width: 23%;
    max-width: 196px;
    right: 7%;   /* inside the visible part of the bleeding screenshot */
  }
}

/* Home live cards along the phone's left edge */
.hero-live-cards { display: none; }
@media (min-width: 768px) {
  .hero-live-cards {
    position: absolute;
    right: 204px;
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    pointer-events: auto;
  }
  .hero-live-card {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 2px 10px -2px rgba(14, 21, 41, 0.12);
    font-family: inherit;
    font-size: 0.78125rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--ink);
    white-space: nowrap;
    cursor: pointer;
    transition: transform 180ms cubic-bezier(.2,.7,.2,1), border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  }
  .hero-live-card > span:nth-child(2) {
    margin-right: auto;
  }
  .live-card-arrow {
    color: var(--muted);
    font-size: 0.75rem;
    transition: transform 180ms cubic-bezier(.2,.7,.2,1), color 160ms ease;
  }
  .hero-live-card:hover,
  .hero-live-card:focus-visible,
  .hero-live-card[aria-pressed="true"] {
    transform: translateY(-2px);
    border-color: var(--navy);
    box-shadow: var(--card-hover-shadow);
  }
  .hero-live-card:hover .live-card-arrow,
  .hero-live-card:focus-visible .live-card-arrow,
  .hero-live-card[aria-pressed="true"] .live-card-arrow {
    color: var(--navy);
    transform: translateX(2px);
  }
  .hero-live-card[aria-pressed="true"] {
    background: color-mix(in srgb, var(--navy) 7%, var(--surface));
  }
  :root[data-theme="dark"] .hero-live-card {
    box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.45);
  }
  :root[data-theme="dark"] .hero-live-card[aria-pressed="true"] {
    background: color-mix(in srgb, var(--accent-fill) 16%, var(--surface));
    border-color: var(--accent-fill);
  }
}
@media (min-width: 1024px) {
  .hero-live-cards {
    right: calc(min(26%, 180px) + 10px);
    bottom: 0;
  }
}
@media (min-width: 1280px) {
  .hero-live-cards {
    right: calc(7% + min(23%, 196px) + 14px);
    bottom: 0;
  }
}

/* Short-screen rule (§2: max-height: 720px and min-width: 1024px) */
@media (max-height: 720px) and (min-width: 1024px) {
  .hero { padding-block: 44px; }
  .hero h1 { font-size: clamp(2rem, 1.3rem + 2.2vw, 2.85rem); }
  .hero-copy { gap: 14px; }
  .hero-media { padding-bottom: 104px; }
  .hero-desktop .shot-media { max-height: calc(100vh - 240px); }
}

/* Square / 4:3 / 5:4 rule (§2: max-aspect-ratio: 4/3 and min-width: 1024px) */
@media (max-aspect-ratio: 4/3) and (min-width: 1024px) {
  .hero-shot-wide { display: none; }
  .hero-shot-43 { display: block; }
  .story-frame .shot-media { max-height: calc(70vh - 30px); }
}

/* H2 Problem -> Answer (§4.2) */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
@media (min-width: 1024px) {
  .problems-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}
.problem-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.problem-old {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  color: var(--muted);
  font-size: 0.9375rem;
}
.problem-old::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1.5px;
  background: var(--muted);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 560ms cubic-bezier(.2,.7,.2,1);
}
.problem-item.is-visible .problem-old::after {
  transform: scaleX(1);
}
.problem-new {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

/* H3 Sticky Feature Story (§4.2 + pass 7 pinned stage) */
.story-wrap {
  position: relative;
}
.story-pipeline {
  display: none;
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.story-left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.story-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}
.story-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.story-progress {
  display: none;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}
.story-bullets {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.story-inline-shot {
  margin-top: 12px;
}
.story-scroll-frame {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.story-swipe-hint {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.story-sticky-col { display: none; }

@media (max-width: 479px) {
  .story-scroll-frame .shot-media { aspect-ratio: 4 / 5; }
  .story-swipe-hint { display: none; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .story-scroll-frame .shot-media { min-width: 640px; aspect-ratio: 16 / 10; }
}
@media (min-width: 768px) {
  .story-steps { gap: 64px; }
  .story-scroll-frame .shot-media { aspect-ratio: 16 / 10; }
  .story-swipe-hint { display: none; }
}

@media (min-width: 1024px) {
  .story-wrap {
    height: 350vh;
  }
  .story-stage {
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    padding-left: 52px;
    display: flex;
    align-items: center;
  }
  .story-pipeline {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: min(60vh, 420px);
    pointer-events: none;
  }
  .pipeline-svg {
    width: 20px;
    height: 100%;
    overflow: visible;
  }
  .pipeline-track {
    stroke: var(--line);
    stroke-width: 2;
  }
  .pipeline-fill {
    stroke: var(--navy);
    stroke-width: 2;
    stroke-dasharray: 400;
    stroke-dashoffset: calc(400 * (1 - var(--story-p, 0)));
  }
  .pipeline-node {
    fill: var(--surface);
    stroke: var(--line);
    stroke-width: 2;
    transition: fill 200ms ease, stroke 200ms ease;
  }
  .pipeline-node[data-node="amber"].is-lit { fill: var(--amber); stroke: var(--amber); }
  .pipeline-node[data-node="sky"].is-lit { fill: var(--sky); stroke: var(--sky); }
  .pipeline-node[data-node="green"].is-lit { fill: var(--green); stroke: var(--green); }

  .story-grid {
    width: 100%;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
    align-items: center;
  }
  .story-left-col {
    grid-column: 1 / span 5;
    min-width: 0;
  }
  .story-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .story-step {
    grid-area: 1 / 1;
    justify-content: center;
    padding-block: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 16px, 0);
  }
  .story-step.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }
  .story-step.is-entering-step {
    animation: saarStoryIn 240ms cubic-bezier(.2,.7,.2,1) both;
  }
  .story-step.is-leaving-step {
    opacity: 0;
    visibility: visible;
    transform: translate3d(0, -16px, 0);
    transition: transform 240ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
  }
  .story-inline-shot { display: none; }

  .story-progress {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .story-progress-count {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
  }
  .story-progress-track {
    flex: 1;
    max-width: 160px;
    height: 3px;
    border-radius: 99px;
    background: var(--line);
    overflow: hidden;
  }
  .story-progress-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--navy);
    transform-origin: left center;
    transform: scaleX(calc(var(--story-step, 1) / 5));
    transition: transform 240ms cubic-bezier(.2,.7,.2,1);
  }

  .story-sticky-col {
    display: block;
    grid-column: 6 / span 7;
  }
  .story-frame {
    max-width: min(100%, calc((100vh - 140px) * 1.6));
    margin-inline: auto;
  }
  .story-frame .shot-media {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .story-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 320ms ease;
  }
  .story-layer.is-active { opacity: 1; }
  .story-highlight {
    position: absolute;
    left: 0;
    top: 0;
    width: 75%;
    height: 42%;
    transform-origin: 0 0;
    transform: translate3d(var(--hl-tx, 26.6667%), var(--hl-ty, 63.5714%), 0) scale(var(--hl-sx, 1.0373), var(--hl-sy, 1.0714));
    pointer-events: none;
    border: 2px solid var(--navy);
    border-radius: 10px;
    background: rgba(30, 42, 120, 0.12);
    transition: transform 320ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
  }
  :root[data-theme="dark"] .story-highlight {
    background: rgba(140, 155, 255, 0.14);
  }
}

@keyframes saarStoryIn {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* H4 Phone app dark band (§4.2 + pass 7 fan-out) */
.band-section {
  background: var(--band);
  color: var(--band-ink-2);
  overflow-x: clip;
}
.band-section h2,
.band-section h3 { color: var(--band-ink); }
.band-section .lead { color: var(--band-ink-2); }

.phones-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.phones-carousel::-webkit-scrollbar { display: none; }
.phone-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.phone-drift {
  width: 100%;
  display: flex;
  justify-content: center;
}
.phone-card .phone-frame {
  width: 100%;
  max-width: 260px;
  border-color: #252C45;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.phone-caption {
  font-size: 0.9375rem;
  color: var(--band-ink-2);
  transition: color 180ms ease;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
}
.carousel-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.carousel-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 245, 248, 0.3);
}
.carousel-dot[aria-current="true"]::before { background: var(--band-ink); }

@media (min-width: 768px) {
  .phones-carousel {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    overflow-x: visible;
    padding-block: 12px 18px;
  }
  .phone-card .phone-frame { max-width: 200px; }
  .carousel-dots { display: none; }
  .phone-card:nth-child(1) { transform: rotate(-6deg); }
  .phone-card:nth-child(3) { transform: rotate(6deg); }
  .phone-card-mid { z-index: 2; }
  @media (hover: hover) {
    .phone-card:hover .phone-frame {
      transform: translate3d(0, -6px, 0);
    }
    .phone-card:hover .phone-caption,
    .phone-card:focus-within .phone-caption {
      color: var(--band-ink);
    }
  }
}
@media (min-width: 1024px) {
  .phones-carousel {
    gap: 32px;
    padding-top: 28px;
  }
  .phone-card .phone-frame { max-width: 260px; }
  .phone-card-mid { margin-top: -24px; }
}

@keyframes saarFanLeft {
  from { opacity: 0.6; transform: translate3d(calc(100% + 28px), 0, 0) scale(0.94) rotate(0deg); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(-6deg); }
}
@keyframes saarFanMid {
  from { opacity: 0.85; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes saarFanRight {
  from { opacity: 0.6; transform: translate3d(calc(-100% - 28px), 0, 0) scale(0.94) rotate(0deg); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(6deg); }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  html.has-js.is-shown .phones-carousel.is-entering .phone-card:nth-child(1) {
    animation: saarFanLeft 600ms cubic-bezier(.22, 1.28, .36, 1) both;
  }
  html.has-js.is-shown .phones-carousel.is-entering .phone-card:nth-child(2) {
    animation: saarFanMid 600ms cubic-bezier(.22, 1.28, .36, 1) both;
  }
  html.has-js.is-shown .phones-carousel.is-entering .phone-card:nth-child(3) {
    animation: saarFanRight 600ms cubic-bezier(.22, 1.28, .36, 1) both;
  }
}

/* H5 Safety (§4.2 + pass 7 stroke draw, 7-dot week, backup boxes + lock badge) */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.safety-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.safety-fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 4px 0;
}
.safety-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--navy);
  margin-top: 3px;
}
.safety-icon :is(path, rect) {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.safety-fact h3 { margin-bottom: 4px; }
.safety-fact p { font-size: 0.9375rem; color: var(--ink-2); }

.backup-week {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.backup-day {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.backup-day-lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--muted);
}
.backup-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.backup-dot-fill {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--green);
  transform: scale(1);
  opacity: 1;
}
.safety-shot {
  position: relative;
}
.safety-highlight {
  position: absolute;
  pointer-events: none;
  border: 2px solid var(--navy);
  border-radius: 8px;
  background: rgba(30, 42, 120, 0.12);
  opacity: 0.92;
}
:root[data-theme="dark"] .safety-highlight {
  background: rgba(140, 155, 255, 0.14);
}
.safety-lock-badge {
  position: absolute;
  right: 12px;
  bottom: -12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: #15803D;
  box-shadow: var(--frame-shadow);
}
:root[data-theme="dark"] .safety-lock-badge {
  color: var(--green);
}

@keyframes saarIconDraw {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}
@keyframes saarLockSettle {
  from { opacity: 0.001; transform: translateY(-10px) scale(0.84); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 768px) {
  .safety-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }
}
@media (min-width: 1024px) {
  .safety-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
  }
  .safety-facts { grid-column: 1 / span 7; }
  .safety-shot { grid-column: 8 / span 5; }
}

/* H6 Pricing preview & Pricing page (§4.2, §4.4) */
.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.segmented {
  display: inline-flex;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
}
.segmented button {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.segmented button[aria-pressed="true"] {
  background: var(--accent-fill);
  color: var(--accent-fill-ink);
}
.yearly-note {
  margin-left: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #15803D;
}
:root[data-theme="dark"] .yearly-note { color: var(--green); }

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.plan-card.is-popular { border-color: var(--accent-fill); border-width: 2px; padding: 23px; }
@media (min-width: 1024px) {
  .plan-card {
    --card-y: 0px;
    transform: translateY(var(--card-y));
  }
  .plan-card.is-popular { --card-y: -8px; }
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.plan-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--accent-fill);
  border: 1px solid var(--accent-fill);
  color: var(--accent-fill-ink);
  white-space: nowrap;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.plan-amount {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}
.plan-period { font-size: 0.875rem; color: var(--muted); }
.plan-saving {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #15803D;
  margin-top: -8px;
}
:root[data-theme="dark"] .plan-saving { color: var(--green); }
.plan-team-total {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  background: color-mix(in srgb, var(--navy) 7%, transparent);
  padding: 6px 10px;
  border-radius: 8px;
  margin-top: -4px;
}
.plan-team-total.is-included {
  color: #15803D;
  background: color-mix(in srgb, var(--green) 11%, transparent);
}
:root[data-theme="dark"] .plan-team-total.is-included {
  color: var(--green);
}
.plan-people { font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.plan-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.plan-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.plan-fact-icon {
  color: var(--navy);
  flex-shrink: 0;
}
.plan-fact.is-muted {
  color: var(--muted);
  font-weight: 400;
}
.plan-fact.is-muted .plan-fact-icon {
  color: var(--muted);
}
.plan-plus {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9375rem;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.plan-plus + .plan-list {
  border-top: 0;
  padding-top: 0;
}
.plan-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
}
.plan-list li.is-excluded { color: var(--muted); }
.plan-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.plan-mark-yes { color: var(--green); }
.plan-mark-no { color: var(--muted); font-weight: 500; }
.plan-check-path {
  stroke-dasharray: 16;
  stroke-dashoffset: 0;
}
.plan-foot { margin-top: auto; padding-top: 8px; }
.plan-foot .btn { width: 100%; }

/* Extra person + team-size picker row */
.team-picker-row {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  font-size: 1.0625rem;
  color: var(--ink);
}
.team-picker-info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.team-picker-icon {
  width: 20px;
  height: 20px;
  color: var(--navy);
  flex-shrink: 0;
}
.team-stepper {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.team-stepper-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-2);
}
.stepper-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--field-border);
  border-radius: var(--r-btn);
  background: var(--field-bg);
  padding: 3px;
  gap: 2px;
}
.stepper-control:focus-within {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 0.5px var(--navy), 0 0 0 3px color-mix(in srgb, var(--navy) 12%, transparent);
}
.stepper-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, transform 180ms cubic-bezier(.3, 1.6, .6, 1);
}
.stepper-step-btn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--line) 65%, transparent);
}
.stepper-step-btn:active:not(:disabled) {
  transform: scale(0.94);
  transition-duration: 120ms;
}
.stepper-step-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.stepper-input {
  width: 76px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  padding: 0 4px;
  -moz-appearance: textfield;
}
.stepper-input::placeholder {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 1;
}
.stepper-input:focus { outline: none; }
.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width: 1023px) {
  .stepper-step-btn,
  .stepper-input {
    height: 44px;
  }
  .stepper-step-btn { width: 44px; }
}

.pricing-meta {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* Comparison table (§4.4) */
.table-scroll {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.compare-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table th {
  color: var(--ink);
  font-weight: 600;
  background: var(--surface);
}
@media (max-width: 1023px) {
  .compare-table th:first-child,
  .compare-table td:first-child {
    position: sticky;
    left: 0;
    background: var(--surface);
    z-index: 1;
    border-right: 1px solid var(--line);
  }
}

/* FAQ (<details>) */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.faq-side { display: contents; }
.faq-head { order: 1; margin-bottom: 0; }
.faq-list {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
  border-top: 1px solid var(--line);
}
.faq-help-card {
  order: 3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-help-card h3 {
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
}
.faq-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
    align-items: start;
  }
  .faq-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
    grid-column: 1 / span 4;
    position: sticky;
    top: 112px;
  }
  .faq-list {
    grid-column: 5 / span 8;
    order: 0;
  }
  .faq-head,
  .faq-help-card { order: 0; }
}
.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), color 150ms ease;
}
.faq-item summary:hover .faq-plus { color: var(--ink); }
.faq-item[open]:not(.is-closing) .faq-plus {
  transform: rotate(45deg);
  color: var(--ink);
}
.faq-body {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: var(--ink-2);
  overflow: hidden;
}
.faq-body-inner {
  padding-bottom: 20px;
}

/* H7 Final CTA (§4.2 + pass 6 §6 split box) */
.cta-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  align-items: center;
}
.cta-split {
  text-align: left;
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 4vw, 40px) 0;
  overflow: hidden;
}
.cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 4px;
}
.cta-copy h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem);
  line-height: 1.12;
}
.cta-copy .lead {
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
}
.cta-split .cta-actions {
  justify-content: flex-start;
  gap: 10px 12px;
  margin-top: 2px;
}
.cta-quiet {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 2px;
}
.cta-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 0;
}
.cta-shot-frame {
  width: 100%;
  max-width: 300px;
  max-height: 168px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
  margin-bottom: -1px;
}
.cta-shot-frame .shot-media {
  aspect-ratio: 4 / 5;
}
@media (min-width: 768px) {
  .cta-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
    gap: 28px;
    padding: clamp(24px, 3vw, 34px) clamp(24px, 4vw, 44px);
    align-items: center;
  }
  .cta-copy {
    padding-bottom: 0;
  }
  .cta-visual {
    justify-content: flex-end;
    align-self: end;
    margin-bottom: -44px;
    margin-right: -44px;
  }
  .cta-shot-frame {
    max-width: 380px;
    max-height: 236px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}
@media (min-width: 1024px) {
  .cta-split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr);
    gap: 36px;
  }
  .cta-shot-frame {
    max-width: 420px;
    max-height: 256px;
  }
}

/* Footer (§4.2 H8) */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 32px;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-col h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink-2);
  display: inline-block;
  padding-block: 4px;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 2px) / 0% 1.5px no-repeat;
  transition: color 150ms ease, background-size 200ms cubic-bezier(.2,.7,.2,1);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  background-size: 100% 1.5px;
}
.footer-brand-note {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-address {
  margin-top: 6px;
  font-size: 0.8125rem;
  max-width: 30ch;
}
.contact-address {
  font-style: normal;
  line-height: 1.5;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Features Page (§4.3) */
.feature-blocks {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7vw, 96px);
}
.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.feature-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.feature-media {
  min-width: 0;
}
.feature-copy ul {
  margin: 4px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (min-width: 1024px) {
  .feature-block {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
  }
  .feature-copy { grid-column: 1 / span 5; }
  .feature-media { grid-column: 7 / span 6; }
  .feature-block.is-mirrored .feature-copy { grid-column: 8 / span 5; order: 2; }
  .feature-block.is-mirrored .feature-media { grid-column: 1 / span 6; order: 1; }
}
.feature-phone-wrap {
  display: flex;
  justify-content: center;
}
.feature-phone-wrap .phone-frame { width: 260px; }
.feature-media .shot-media {
  position: relative;
}
.feature-highlight {
  position: absolute;
  pointer-events: none;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: rgba(30, 42, 120, 0.12);
  opacity: 0.9;
}
:root[data-theme="dark"] .feature-highlight {
  background: rgba(140, 155, 255, 0.14);
}

/* Download Page (§4.5 + pass 7 clean .exe card + text-only rail) */
.download-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 10px 0 20px;
}
.download-pending-note {
  font-size: 1rem;
  color: var(--ink-2);
  margin: 10px 0 20px;
}

/* Windows install walkthrough (pass 6 §3 + pass 7 text-only rail) */
.install-stepper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.walkthrough-rail-wrap {
  position: relative;
  padding-top: 2px;
}
.walkthrough-rail-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 15px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
}
.walkthrough-rail-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--sky) 50%, var(--green) 100%);
  transform-origin: left center;
  transform: scaleX(var(--rail-p, 0));
  transition: transform 320ms cubic-bezier(.2, .7, .2, 1);
}
.walkthrough-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  position: relative;
  z-index: 1;
}
.walkthrough-rail-item {
  display: flex;
  justify-content: center;
}
.stepper-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 2px 4px 6px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease;
}
.stepper-btn:hover { color: var(--ink); }
.stepper-btn.is-active {
  color: var(--ink);
  font-weight: 600;
}
.step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0E1529;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--paper);
  transition: transform 200ms cubic-bezier(.2, .7, .2, 1), opacity 180ms ease;
}
.step-dot-amber { background: var(--amber); }
.step-dot-sky   { background: var(--sky); }
.step-dot-green { background: var(--green); }
.stepper-btn:not(.is-active):not(.is-passed) .step-dot {
  opacity: 0.55;
}
.stepper-btn.is-active .step-dot {
  transform: scale(1.1);
}
.step-short {
  display: block;
  overflow-wrap: anywhere;
}
@media (max-width: 479px) {
  .step-short { font-size: 0.72rem; }
}

.walkthrough-caption {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  text-align: center;
  margin-inline: auto;
  max-width: 56ch;
}
.install-stepper.has-real-shots .walkthrough-caption {
  display: none;
  text-align: left;
  margin-inline: 0;
}
.stepper-stage,
.walkthrough-mobile-cards {
  display: none;
}

@media (min-width: 768px) {
  .install-stepper.has-real-shots .walkthrough-caption {
    display: block;
  }
  .install-stepper.has-real-shots .stepper-stage {
    display: block;
  }
  .stepper-stage .shot-frame {
    max-width: 768px;
  }
  .stepper-stage .shot-media {
    position: relative;
    aspect-ratio: 16 / 10;
    max-height: 480px;
  }
  .stepper-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 320ms ease;
  }
  .stepper-layer.is-active { opacity: 1; }
}

@media (max-width: 767px) {
  .install-stepper.has-real-shots .walkthrough-mobile-cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 90%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .walkthrough-mobile-cards::-webkit-scrollbar { display: none; }
  .walkthrough-mobile-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .walkthrough-mobile-card-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
  }
  .walkthrough-mobile-card .shot-media {
    aspect-ratio: 16 / 10;
  }
}

/* Animated mouse pointer & click ring inside stage */
.walkthrough-pointer {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 24px;
  height: 24px;
  margin: -2px 0 0 -2px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 6px rgba(14, 21, 41, 0.38));
  transition: left 620ms cubic-bezier(.22, .7, .2, 1), top 620ms cubic-bezier(.22, .7, .2, 1), opacity 180ms ease, transform 180ms ease;
}
.walkthrough-pointer.is-visible { opacity: 1; }
.walkthrough-pointer.is-clicking {
  transform: scale(0.9);
}
.walkthrough-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: rgba(30, 42, 120, 0.14);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.35);
}
.walkthrough-ring.is-popping {
  animation: saarClickRing 460ms cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes saarClickRing {
  0%   { opacity: 0.95; transform: scale(0.35); }
  100% { opacity: 0; transform: scale(1.45); }
}

.stepper-help {
  margin-top: 24px;
}

/* Why Windows warns + Advanced check (pass 6 §4) */
.download-info-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.warn-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.warn-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--amber) 14%, transparent);
  color: #B45309;
  flex-shrink: 0;
}
:root[data-theme="dark"] .warn-icon-tile {
  color: var(--amber);
}
.warn-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 768px) {
  .warn-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
.warn-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.warn-points .dot { margin-top: 8px; }
.warn-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.adv-verify-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding-inline: 24px;
}
.adv-verify-wrap .faq-item {
  border-bottom: 0;
}
.adv-verify-wrap .faq-body-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 22px;
}
.terminal-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #F4F5F8;
  border: 1px solid var(--line);
}
:root[data-theme="dark"] .terminal-box {
  background: #070B16;
  color: #F4F5F8;
}
.terminal-code {
  font-family: var(--mono);
  font-size: 0.84375rem;
  line-height: 1.5;
  word-break: break-all;
  color: inherit;
}
.terminal-copy-btn {
  flex-shrink: 0;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #F4F5F8;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 180ms cubic-bezier(.3, 1.6, .6, 1);
}
.terminal-copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}
.terminal-copy-btn:active {
  transform: scale(0.97);
  transition-duration: 120ms;
}
@media (max-width: 1023px) {
  .terminal-copy-btn { min-height: 44px; padding: 8px 14px; }
}
.adv-howto {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* Contact Page (§4.6 + pass 3 §4 & §5) */
.contact-section {
  padding-top: clamp(12px, 1.8vw, 20px);
}
.contact-section .section-head {
  gap: 4px;
  margin-bottom: 14px;
}
.contact-section .section-head h1 {
  font-size: clamp(1.625rem, 1.15rem + 1.8vw, 2.25rem);
  line-height: 1.08;
}
.contact-section .section-head .lead {
  max-width: none;
  font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
}
.contact-wa-fast {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-wa-fast-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-wa-btn {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border-color: transparent;
}
.contact-wa-btn:hover { background: #1DA851; }
.contact-wa-btn:active { transform: translateY(1px); }

@media (min-width: 1024px) {
  .contact-wa-fast { display: none; }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
    align-items: start;
  }
  .contact-form-card { grid-column: 1 / span 7; scroll-margin-top: 96px; }
  .contact-info-card {
    grid-column: 8 / span 5;
    position: sticky;
    top: 96px;
  }
}
@media (max-width: 1023px) {
  .contact-form-card { scroll-margin-top: 84px; }
  .contact-info-wa { display: none; }
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  padding: 20px clamp(18px, 2.6vw, 24px);
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-form-title,
.contact-info-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.contact-form-title { margin-bottom: 4px; }
.download-card h2,
.info-card h2 {
  font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fields-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .fields-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label,
.chip-legend {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0;
}
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  flex-shrink: 0;
  transition: color 150ms ease;
}
.input-icon-textarea {
  top: 15px;
}
.input-icon-wrap:focus-within .input-icon {
  color: var(--navy);
}
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 42px;
  border: 1px solid var(--field-border);
  border-radius: var(--r-btn);
  background: var(--field-bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field textarea {
  min-height: 88px;
  padding-top: 12px;
  resize: vertical;
  line-height: 1.45;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: inset 0 0 0 0.5px var(--navy), 0 0 0 3px color-mix(in srgb, var(--navy) 12%, transparent);
}
@media (max-width: 1023px) {
  .field input,
  .field textarea { font-size: 1rem; }
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.phone-input-wrap.is-invalid {
  border-color: var(--danger);
}
.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus,
.phone-input-wrap.is-invalid:focus-within {
  border-color: var(--danger);
  box-shadow: inset 0 0 0 0.5px var(--danger), 0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}

.chip-group {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.segmented-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--r-btn);
  width: 100%;
}
.seg-radio {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  cursor: pointer;
}
.seg-radio input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.seg-radio-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background-color 150ms ease, color 150ms ease;
}
.seg-radio:hover .seg-radio-label {
  color: var(--ink);
}
.seg-radio input:checked + .seg-radio-label {
  background: var(--accent-fill);
  color: var(--accent-fill-ink);
}
.seg-radio input:focus-visible + .seg-radio-label {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.seg-radio.is-disabled { cursor: not-allowed; }
.seg-radio.is-disabled .seg-radio-label,
.seg-radio input:disabled + .seg-radio-label {
  opacity: 0.48;
  cursor: not-allowed;
  color: var(--muted);
  background: transparent;
}
.seg-radio.is-disabled:hover .seg-radio-label {
  color: var(--muted);
}
@media (max-width: 1023px) {
  .seg-radio-label { min-height: 44px; padding: 8px 12px; }
}

.demo-extra {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  margin-top: -16px;
  pointer-events: none;
  transition: grid-template-rows 200ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease, margin-top 200ms ease;
}
.demo-extra.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0;
  pointer-events: auto;
}
.demo-extra-inner {
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--r-card);
  background: var(--paper);
  transition: padding-block 200ms ease, border-color 200ms ease;
}
.demo-extra:not(.is-open) .demo-extra-inner {
  overflow: hidden;
  padding-block: 0;
  border-color: transparent;
  border-top-width: 0;
  border-bottom-width: 0;
}
.demo-when-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.demo-when-row .chip-group { flex: 1 1 auto; }
.demo-date-group {
  position: relative;
}
.date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.date-chip {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.84375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.date-chip:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}
.date-chip[aria-checked="true"] {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: var(--accent-fill-ink);
}
@media (max-width: 1023px) {
  .date-chip { min-height: 44px; padding: 8px 12px; }
}
.date-cal-popover {
  margin-top: 8px;
  width: min(300px, 100%);
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--field-border);
  border-radius: var(--r-card);
  box-shadow: var(--frame-shadow);
}
:root[data-theme="dark"] .date-cal-popover {
  background: var(--field-bg);
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.65);
}
.date-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.date-cal-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.date-cal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.date-cal-close:hover { color: var(--ink); border-color: var(--ink-2); }
.date-cal-weekdays,
.date-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
.date-cal-weekdays {
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}
.date-cal-day {
  min-height: 34px;
  padding: 4px 2px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.date-cal-day:hover:not(:disabled) {
  background: color-mix(in srgb, var(--line) 55%, transparent);
}
.date-cal-day.is-selected {
  background: var(--accent-fill);
  color: var(--accent-fill-ink);
  font-weight: 600;
}
.date-cal-day:disabled {
  color: var(--muted);
  opacity: 0.35;
  cursor: not-allowed;
}
.date-cal-day-mon {
  font-size: 0.65rem;
  display: block;
  line-height: 1;
  opacity: 0.8;
}
.demo-visit-note {
  font-size: 0.8125rem;
  color: var(--ink-2);
  margin-top: 2px;
}

.email-toggle-row {
  margin-top: -8px;
  margin-bottom: -6px;
}
.add-email-btn {
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  transition: background-size 200ms cubic-bezier(.2, .7, .2, 1), color 150ms ease;
}
.add-email-btn:hover,
.add-email-btn:focus-visible { background-size: 100% 1.5px; }
@media (max-width: 1023px) {
  .add-email-btn { min-height: 44px; }
}

.phone-input-wrap {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  border: 1px solid var(--field-border);
  border-radius: var(--r-btn);
  background: var(--field-bg);
  overflow: hidden;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.phone-input-wrap:focus-within {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 0.5px var(--navy), 0 0 0 3px color-mix(in srgb, var(--navy) 12%, transparent);
}
.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  flex-shrink: 0;
}
.phone-prefix svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}
.phone-input-wrap:focus-within .phone-prefix svg {
  color: var(--navy);
}
.phone-input-wrap input {
  border: 0;
  border-radius: 0;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  background: transparent;
  flex: 1;
}
.phone-input-wrap input:focus {
  outline: none;
  box-shadow: none;
}

/* Submit button arrow -> spinner -> check */
.btn-submit {
  min-height: 48px;
}
.btn-submit-arrow {
  display: inline-flex;
  transition: transform 180ms cubic-bezier(.2, .7, .2, 1);
}
.btn-submit:hover:not(:disabled) .btn-submit-arrow {
  transform: translateX(3px);
}
.btn-submit-spin {
  width: 18px;
  height: 18px;
  animation: saarSpin 700ms linear infinite;
}
@keyframes saarSpin {
  to { transform: rotate(360deg); }
}
.btn-submit-check path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
}
.btn-submit.is-sent .btn-submit-check path {
  animation: saarCheckDraw 240ms cubic-bezier(.2, .7, .2, 1) forwards;
}

/* Direct contact tidy rows */
.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  min-width: 0;
}
.contact-row-link {
  padding: 0 10px 0 0;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.contact-row-link:hover {
  border-color: var(--ink-2);
}
.contact-row-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px 10px 12px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-card);
}
.contact-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-tile-wa {
  background: rgba(34, 197, 94, 0.14);
  color: #15803D;
}
:root[data-theme="dark"] .contact-tile-wa { color: var(--green); }
.contact-tile-mail {
  background: color-mix(in srgb, var(--navy) 10%, transparent);
  color: var(--navy);
}
.contact-tile-hours {
  background: color-mix(in srgb, var(--muted) 12%, transparent);
  color: var(--ink-2);
}
.contact-row-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.contact-row-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}
.contact-row-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.contact-email-val {
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(0.9375rem, 0.85rem + 0.35vw, 1rem);
}
.contact-wa-num {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact-row-arrow {
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  flex-shrink: 0;
  transition: opacity 160ms ease, transform 160ms cubic-bezier(.2, .7, .2, 1), color 160ms ease;
}
.contact-row-main:hover .contact-row-arrow,
.contact-row-main:focus-visible .contact-row-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--navy);
}
.contact-copy-btn {
  flex-shrink: 0;
  min-height: 34px;
  padding: 5px 10px;
  font-size: 0.8125rem;
}
@media (max-width: 1023px) {
  .contact-copy-btn { min-height: 44px; padding: 8px 12px; }
}
.contact-quick-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-quick-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.contact-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Site-wide WhatsApp green & Email red tints on hover / focus (pass 7 §10) */
.btn:not(.contact-wa-btn)[href*="wa.me/"] {
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 180ms cubic-bezier(.3, 1.6, .6, 1);
}
.btn-secondary[href*="wa.me/"]:hover,
.btn-secondary[href*="wa.me/"]:focus-visible {
  background-color: rgba(37, 211, 102, 0.12);
  border-color: rgba(21, 128, 61, 0.4);
  color: #15803D;
}
.btn-primary[href*="wa.me/"]:hover,
.btn-primary[href*="wa.me/"]:focus-visible {
  background-color: #15803D;
  border-color: #15803D;
  color: #FFFFFF;
}
:root[data-theme="dark"] .btn-secondary[href*="wa.me/"]:hover,
:root[data-theme="dark"] .btn-secondary[href*="wa.me/"]:focus-visible {
  background-color: rgba(37, 211, 102, 0.14);
  border-color: rgba(74, 222, 128, 0.45);
  color: #4ADE80;
}
:root[data-theme="dark"] .btn-primary[href*="wa.me/"]:hover,
:root[data-theme="dark"] .btn-primary[href*="wa.me/"]:focus-visible {
  background-color: #16A34A;
  border-color: #16A34A;
  color: #FFFFFF;
}
.text-link[href*="wa.me/"],
.footer-links a[href*="wa.me/"] {
  padding: 2px 6px;
  margin: -2px -6px;
  border-radius: 6px;
  transition: background-color 160ms ease, color 160ms ease, background-size 200ms cubic-bezier(.2, .7, .2, 1);
}
.text-link[href*="wa.me/"]:hover,
.text-link[href*="wa.me/"]:focus-visible,
.footer-links a[href*="wa.me/"]:hover,
.footer-links a[href*="wa.me/"]:focus-visible {
  background-color: rgba(37, 211, 102, 0.12);
  background-size: 0% 1.5px;
  color: #15803D;
}
:root[data-theme="dark"] .text-link[href*="wa.me/"]:hover,
:root[data-theme="dark"] .text-link[href*="wa.me/"]:focus-visible,
:root[data-theme="dark"] .footer-links a[href*="wa.me/"]:hover,
:root[data-theme="dark"] .footer-links a[href*="wa.me/"]:focus-visible {
  background-color: rgba(37, 211, 102, 0.14);
  color: #4ADE80;
}
.contact-info-wa:has(.contact-row-main:hover),
.contact-info-wa:has(.contact-row-main:focus-visible) {
  background-color: rgba(37, 211, 102, 0.11);
  border-color: rgba(37, 211, 102, 0.45);
}
.contact-info-wa .contact-row-main:hover .contact-wa-num,
.contact-info-wa .contact-row-main:focus-visible .contact-wa-num,
.contact-info-wa .contact-row-main:hover .contact-row-arrow,
.contact-info-wa .contact-row-main:focus-visible .contact-row-arrow {
  color: #15803D;
}
:root[data-theme="dark"] .contact-info-wa:has(.contact-row-main:hover),
:root[data-theme="dark"] .contact-info-wa:has(.contact-row-main:focus-visible) {
  background-color: rgba(37, 211, 102, 0.14);
}
:root[data-theme="dark"] .contact-info-wa .contact-row-main:hover .contact-wa-num,
:root[data-theme="dark"] .contact-info-wa .contact-row-main:focus-visible .contact-wa-num,
:root[data-theme="dark"] .contact-info-wa .contact-row-main:hover .contact-row-arrow,
:root[data-theme="dark"] .contact-info-wa .contact-row-main:focus-visible .contact-row-arrow {
  color: #4ADE80;
}

.text-link[href^="mailto:"],
.footer-links a[href^="mailto:"] {
  padding: 2px 6px;
  margin: -2px -6px;
  border-radius: 6px;
  transition: background-color 160ms ease, color 160ms ease, background-size 200ms cubic-bezier(.2, .7, .2, 1);
}
.text-link[href^="mailto:"]:hover,
.text-link[href^="mailto:"]:focus-visible,
.footer-links a[href^="mailto:"]:hover,
.footer-links a[href^="mailto:"]:focus-visible {
  background-color: rgba(234, 67, 53, 0.10);
  background-size: 0% 1.5px;
  color: #C5221F;
}
:root[data-theme="dark"] .text-link[href^="mailto:"]:hover,
:root[data-theme="dark"] .text-link[href^="mailto:"]:focus-visible,
:root[data-theme="dark"] .footer-links a[href^="mailto:"]:hover,
:root[data-theme="dark"] .footer-links a[href^="mailto:"]:focus-visible {
  background-color: rgba(234, 67, 53, 0.12);
  color: #FCA5A5;
}
.contact-info-mail:has(.contact-row-main:hover),
.contact-info-mail:has(.contact-row-main:focus-visible) {
  background-color: rgba(234, 67, 53, 0.09);
  border-color: rgba(234, 67, 53, 0.38);
}
.contact-info-mail .contact-row-main:hover .contact-tile-mail,
.contact-info-mail .contact-row-main:focus-visible .contact-tile-mail {
  background: rgba(234, 67, 53, 0.14);
  color: #EA4335;
}
.contact-info-mail .contact-row-main:hover .contact-row-arrow,
.contact-info-mail .contact-row-main:focus-visible .contact-row-arrow,
.contact-info-mail .contact-row-main:hover .contact-row-value,
.contact-info-mail .contact-row-main:focus-visible .contact-row-value {
  color: #C5221F;
}
:root[data-theme="dark"] .contact-info-mail:has(.contact-row-main:hover),
:root[data-theme="dark"] .contact-info-mail:has(.contact-row-main:focus-visible) {
  background-color: rgba(234, 67, 53, 0.12);
}
:root[data-theme="dark"] .contact-info-mail .contact-row-main:hover .contact-tile-mail,
:root[data-theme="dark"] .contact-info-mail .contact-row-main:focus-visible .contact-tile-mail,
:root[data-theme="dark"] .contact-info-mail .contact-row-main:hover .contact-row-arrow,
:root[data-theme="dark"] .contact-info-mail .contact-row-main:focus-visible .contact-row-arrow {
  color: #F87171;
}
:root[data-theme="dark"] .contact-info-mail .contact-row-main:hover .contact-row-value,
:root[data-theme="dark"] .contact-info-mail .contact-row-main:focus-visible .contact-row-value {
  color: #FCA5A5;
}
.field-error {
  font-size: 0.8125rem;
  color: var(--danger);
}
.field-error:empty { display: none; }
.btn-full { width: 100%; }
.form-note {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  max-width: none;
  margin-top: -8px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-success {
  padding: 24px;
  border: 1px solid var(--green);
  border-radius: var(--r-card);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-success h2:focus { outline: none; }
@keyframes saarFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.contact-success.is-visible {
  animation: saarFadeIn 240ms cubic-bezier(.2,.7,.2,1) both;
}

/* Floating WhatsApp button — Contact page only (pass 3 §5 + pass 5 §3) */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  opacity: 1;
  transform: translate3d(0, calc(-1 * var(--wa-lift, 0px)), 0);
  pointer-events: auto;
}
.wa-float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 16px -4px rgba(14, 21, 41, 0.28);
  flex-shrink: 0;
  transition: background-color 150ms ease, transform 150ms ease;
}
.wa-float-btn svg {
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.wa-float:hover .wa-float-btn,
.wa-float:focus-visible .wa-float-btn {
  background: #1DA851;
}
.wa-float:hover .wa-float-btn svg,
.wa-float:focus-visible .wa-float-btn svg {
  transform: rotate(8deg);
}
.wa-float:active .wa-float-btn {
  transform: translateY(1px);
}
.wa-float-label {
  display: none;
  padding: 8px 0;
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink);
  border: 0 solid var(--line);
  box-shadow: var(--frame-shadow);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .wa-float-label {
    display: inline-flex;
    align-items: center;
    max-width: 0;
    opacity: 0;
    margin-right: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-width 220ms cubic-bezier(.2,.7,.2,1), opacity 220ms ease, padding 220ms cubic-bezier(.2,.7,.2,1), margin-right 220ms cubic-bezier(.2,.7,.2,1), border-width 220ms ease;
  }
  .wa-float:hover .wa-float-label,
  .wa-float:focus-visible .wa-float-label {
    max-width: 200px;
    opacity: 1;
    padding: 8px 14px;
    margin-right: 10px;
    border-width: 1px;
    background: color-mix(in srgb, #25D366 13%, var(--surface));
    border-color: rgba(37, 211, 102, 0.45);
    color: #15803D;
  }
  :root[data-theme="dark"] .wa-float:hover .wa-float-label,
  :root[data-theme="dark"] .wa-float:focus-visible .wa-float-label {
    background: color-mix(in srgb, #25D366 14%, var(--surface));
    color: #4ADE80;
  }
}

/* Legal pages (§4.7) */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.legal-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px;
}
.legal-toc h2 {
  font-size: 0.875rem;
  margin-bottom: 10px;
}
.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-toc a {
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--ink-2);
  display: inline-block;
  padding: 4px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 2px) / 0% 1.5px no-repeat;
  transition: color 150ms ease, background-size 200ms cubic-bezier(.2,.7,.2,1);
}
.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--navy);
  background-size: 100% 1.5px;
}
.legal-body {
  max-width: 720px;
  font-size: 1.0625rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.legal-body section {
  scroll-margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Claude 3 Dec: reading-size headings on legal pages (the section-title size was too loud here) */
.legal-body h2 {
  font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-top: 8px;
}
@media (min-width: 1024px) {
  .legal-grid {
    grid-template-columns: 260px minmax(0, 720px);
    gap: 48px;
    align-items: start;
  }
  .legal-toc {
    position: sticky;
    top: 96px;
  }
}

/* Back to top (pass 2 §4) */
.btt-btn {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 0;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--frame-shadow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, calc(8px - var(--btt-lift, 0px)), 0);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms cubic-bezier(.2,.7,.2,1), visibility 220ms;
}
.btt-btn.is-visible {
  opacity: 1;
  transform: translate3d(0, calc(-1 * var(--btt-lift, 0px)), 0);
  pointer-events: auto;
  visibility: visible;
}
.has-wa-float .btt-btn {
  right: calc(max(16px, env(safe-area-inset-right, 0px)) + 4px);
}
.btt-btn.is-visible:active {
  transform: translate3d(0, calc(-1 * var(--btt-lift, 0px)), 0) scale(0.95);
  transition-duration: 120ms;
}
.btt-svg {
  width: 48px;
  height: 48px;
  display: block;
}
.btt-track { stroke: var(--line); }
.btt-ring {
  stroke: var(--navy);
  transition: stroke-dashoffset 80ms linear;
}

/* Card hover lift (pass 2 §6) */
@media (hover: hover) {
  .plan-card,
  .download-card,
  .info-card {
    transition: transform 180ms cubic-bezier(.2,.7,.2,1), box-shadow 180ms cubic-bezier(.2,.7,.2,1), border-color 180ms ease;
  }
  .plan-card:hover {
    transform: translateY(calc(var(--card-y, 0px) - 2px));
    box-shadow: var(--card-hover-shadow);
  }
  .download-card:hover,
  .info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
  }
}

/* Reveals & Motion (pass 2 §2 & §6, pass 5 §2 & §5: visible at rest, never stuck at opacity 0) */
.hero-line { display: block; }
.brand-mark-intro .logo-s-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.brand-mark-intro .logo-dot {
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes saarLogoDraw {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}
@keyframes saarDotPop {
  0%   { opacity: 0.001; transform: scale(0.2); }
  70%  { opacity: 1; transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes saarHeroRise {
  from { opacity: 0.001; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes saarShotRise {
  from { opacity: 0.001; transform: translateY(14px) scale(.988); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes saarPhoneFloat {
  0%   { opacity: 0.001; transform: translateY(22px); }
  72%  { opacity: 1; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes saarLiveCardIn {
  from { opacity: 0.001; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes saarRevealEnter {
  from { opacity: 0.001; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes saarCardRise {
  from { opacity: 0.001; transform: translateY(calc(var(--card-y, 0px) + 16px)); }
  to   { opacity: 1; transform: translateY(var(--card-y, 0px)); }
}
@keyframes saarCheckDraw {
  from { stroke-dashoffset: 16; }
  to   { stroke-dashoffset: 0; }
}
@keyframes saarWaIn {
  from { opacity: 0.001; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes saarSlideLeft {
  from { opacity: 0.001; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes saarSlideRight {
  from { opacity: 0.001; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes saarBadgeSlide {
  from { opacity: 0.001; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes saarHighlightDraw {
  from { opacity: 0.001; transform: scale(0.92); }
  to   { opacity: 0.92; transform: scale(1); }
}
@keyframes saarCtaShotUp {
  from { opacity: 0.001; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  html.has-js.is-shown.is-first-visit .brand-mark-intro .logo-s-path {
    animation: saarLogoDraw 500ms cubic-bezier(.2,.7,.2,1) 0ms both;
  }
  html.has-js.is-shown.is-first-visit .brand-mark-intro .logo-dot-1 {
    animation: saarDotPop 220ms cubic-bezier(.2,.7,.2,1) 480ms both;
  }
  html.has-js.is-shown.is-first-visit .brand-mark-intro .logo-dot-2 {
    animation: saarDotPop 220ms cubic-bezier(.2,.7,.2,1) 540ms both;
  }
  html.has-js.is-shown.is-first-visit .brand-mark-intro .logo-dot-3 {
    animation: saarDotPop 220ms cubic-bezier(.2,.7,.2,1) 600ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-copy .eyebrow {
    animation: saarHeroRise 420ms cubic-bezier(.2,.7,.2,1) 120ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-copy .hero-line:nth-child(1) {
    animation: saarHeroRise 460ms cubic-bezier(.2,.7,.2,1) 180ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-copy .hero-line:nth-child(2) {
    animation: saarHeroRise 460ms cubic-bezier(.2,.7,.2,1) 240ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-copy .lead {
    animation: saarHeroRise 460ms cubic-bezier(.2,.7,.2,1) 320ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-copy .hero-actions {
    animation: saarHeroRise 460ms cubic-bezier(.2,.7,.2,1) 400ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-copy .hero-sub-links {
    animation: saarHeroRise 460ms cubic-bezier(.2,.7,.2,1) 440ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-copy .hero-trust {
    animation: saarHeroRise 460ms cubic-bezier(.2,.7,.2,1) 480ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-desktop {
    animation: saarShotRise 520ms cubic-bezier(.2,.7,.2,1) 340ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-phone {
    animation: saarPhoneFloat 580ms cubic-bezier(.2,.7,.2,1) 520ms both;
  }
  html.has-js.is-shown.is-first-visit .hero-live-card {
    animation: saarLiveCardIn 320ms cubic-bezier(.2,.7,.2,1) calc(880ms + var(--live-i, 0) * 180ms) both;
  }
  html.has-js.is-shown main > section:first-child .section-head .eyebrow,
  html.has-js.is-shown main > section:first-child .cta-card .eyebrow {
    animation: saarHeroRise 460ms cubic-bezier(.2,.7,.2,1) 0ms both;
  }
  html.has-js.is-shown main > section:first-child .section-head h1,
  html.has-js.is-shown main > section:first-child .cta-card h1 {
    animation: saarHeroRise 500ms cubic-bezier(.2,.7,.2,1) 60ms both;
  }
  html.has-js.is-shown main > section:first-child .section-head .lead,
  html.has-js.is-shown main > section:first-child .cta-card .lead {
    animation: saarHeroRise 500ms cubic-bezier(.2,.7,.2,1) 120ms both;
  }
  html.has-js.is-shown .wa-float-btn {
    animation: saarWaIn 240ms cubic-bezier(.2,.7,.2,1) both;
  }
  html.has-js.is-shown .plans-grid.is-entering .plan-card {
    animation: saarCardRise 460ms cubic-bezier(.2,.7,.2,1) calc(var(--card-i, 0) * 80ms) both;
  }
  html.has-js.is-shown .plans-grid.is-entering .plan-check-path {
    animation: saarCheckDraw 260ms cubic-bezier(.2,.7,.2,1) calc(var(--card-i, 0) * 80ms + 160ms + var(--check-i, 0) * 30ms) both;
  }

  /* Features scroll motion (pass 6 §7) */
  html.has-js.is-shown .feature-block:not(.is-mirrored).is-entering .feature-media {
    animation: saarSlideLeft 520ms cubic-bezier(.2,.7,.2,1) both;
  }
  html.has-js.is-shown .feature-block.is-mirrored.is-entering .feature-media {
    animation: saarSlideRight 520ms cubic-bezier(.2,.7,.2,1) both;
  }
  html.has-js.is-shown .feature-block.is-entering .feature-highlight {
    animation: saarHighlightDraw 360ms cubic-bezier(.2,.7,.2,1) 300ms both;
  }
  html.has-js.is-shown .feature-block.is-entering .step-badge {
    animation: saarBadgeSlide 400ms cubic-bezier(.2,.7,.2,1) both;
  }
  html.has-js.is-shown .feature-block.is-entering .feature-copy li:nth-child(1) { --li-i: 0; }
  html.has-js.is-shown .feature-block.is-entering .feature-copy li:nth-child(2) { --li-i: 1; }
  html.has-js.is-shown .feature-block.is-entering .feature-copy li:nth-child(3) { --li-i: 2; }
  html.has-js.is-shown .feature-block.is-entering .feature-copy li:nth-child(4) { --li-i: 3; }
  html.has-js.is-shown .feature-block.is-entering .feature-copy li {
    animation: saarHeroRise 360ms cubic-bezier(.2,.7,.2,1) calc(80ms + var(--li-i, 0) * 40ms) both;
  }

  /* Pricing comparison table rows stagger (30 ms) */
  html.has-js.is-shown .table-scroll.is-entering tbody tr > * {
    animation: saarHeroRise 360ms cubic-bezier(.2,.7,.2,1) calc(var(--row-i, 0) * 30ms) both;
  }

  /* Final split CTA screenshot slides up 16px on enter */
  html.has-js.is-shown .cta-split.is-entering .cta-visual {
    animation: saarCtaShotUp 520ms cubic-bezier(.2,.7,.2,1) 100ms both;
  }

  /* Contact form fields fade-rise in sequence (40 ms) on arrival */
  html.has-js.is-shown [data-contact-form] > .contact-form-title { --f-i: 0; }
  html.has-js.is-shown [data-contact-form] > fieldset { --f-i: 1; }
  html.has-js.is-shown [data-contact-form] > .fields-row:nth-of-type(1) { --f-i: 2; }
  html.has-js.is-shown [data-contact-form] > .fields-row:nth-of-type(2) { --f-i: 3; }
  html.has-js.is-shown [data-contact-form] > .email-toggle-row { --f-i: 4; }
  html.has-js.is-shown [data-contact-form] > .field { --f-i: 5; }
  html.has-js.is-shown [data-contact-form] > [type="submit"] { --f-i: 6; }
  html.has-js.is-shown [data-contact-form] > :is(.contact-form-title, fieldset, .fields-row, .email-toggle-row, .field, [type="submit"]) {
    animation: saarHeroRise 420ms cubic-bezier(.2,.7,.2,1) calc(var(--f-i, 0) * 40ms) both;
  }

  html.has-js.is-shown [data-reveal]:not(.feature-block):not(.table-scroll):not(.install-stepper).is-entering {
    animation: saarRevealEnter 520ms cubic-bezier(.2,.7,.2,1) both;
    animation-delay: calc(var(--stagger, 0) * 60ms);
  }

  /* Safety section stroke draw, 7-dot fill, backup boxes & lock settle (pass 7 §3) */
  html.has-js.is-shown .safety-fact.is-entering {
    animation-delay: calc(var(--stagger, 0) * 80ms);
  }
  html.has-js.is-shown .safety-fact.is-entering .safety-icon :is(path, rect) {
    animation: saarIconDraw 520ms cubic-bezier(.2,.7,.2,1) calc(var(--stagger, 0) * 80ms) both;
  }
  html.has-js.is-shown .safety-fact.is-entering .backup-dot-fill {
    animation: saarDotPop 240ms cubic-bezier(.2,.7,.2,1) calc(160ms + var(--day-i, 0) * 80ms) both;
  }
  html.has-js.is-shown .safety-shot.is-entering .safety-highlight {
    animation: saarHighlightDraw 360ms cubic-bezier(.2,.7,.2,1) calc(220ms + var(--hl-i, 0) * 180ms) both;
  }
  html.has-js.is-shown .safety-shot.is-entering .safety-lock-badge {
    animation: saarLockSettle 360ms cubic-bezier(.22, 1.28, .36, 1) 600ms both;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
  .nav-progress { display: none !important; }
  .problem-old::after,
  #how .section-head h2::after { transform: scaleX(1); }
  .pipeline-fill { stroke-dashoffset: 0 !important; }
  .walkthrough-rail-fill { transform: scaleX(var(--rail-p, 1)) !important; }
  .walkthrough-pointer { display: none !important; }
  .btt-btn { transition: none; }
  .wa-float { opacity: 1; transform: translate3d(0, calc(-1 * var(--wa-lift, 0px)), 0); pointer-events: auto; transition: none; }
  .wa-float:hover .wa-float-btn svg,
  .wa-float:focus-visible .wa-float-btn svg { transform: none; }
  .plan-check-path,
  .copy-check-path,
  .btn-submit-check path,
  .safety-icon :is(path, rect) { stroke-dashoffset: 0 !important; }
  .story-step.is-active { opacity: 1; transform: none; }
  .phone-card { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .phone-card:nth-child(1) { transform: rotate(-6deg); }
  .phone-card:nth-child(3) { transform: rotate(6deg); }
}

@media (max-width: 1023px) {
  .btn-sm,
  .segmented button,
  .faq-item summary {
    min-height: 44px;
  }
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
  }
  .legal-toc a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

/* headings-style display text uses the display face */
.brand-wordmark, .plan-amount, .eyebrow { font-family: var(--font-display); }
