/* ================================================================
   Menuro.io — Premium marketing site
   Tesla/Apple inspired. Mono-family Inter. Ink + amber.
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--fg-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber-200); color: var(--ink-800); }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }

/* ---------- Typography ---------- */
.display-hero {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  font-variation-settings: "opsz" 32;
  margin: 0;
  text-wrap: balance;
}
.display-lg {
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  font-variation-settings: "opsz" 32;
  margin: 0;
  text-wrap: balance;
}
.display-md {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
h3, .h3 {
  font-size: var(--fs-24);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 var(--s-3);
}
h4, .h4 {
  font-size: var(--fs-20);
  line-height: 1.3;
  letter-spacing: -0.006em;
  font-weight: 600;
  margin: 0 0 var(--s-3);
}
p, .body { margin: 0 0 var(--s-4); text-wrap: pretty; }
.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-2);
  font-weight: 400;
  text-wrap: balance;
}
.eyebrow {
  font-size: var(--fs-12);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-500);
}
.eyebrow--dark { color: var(--amber-400); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.container--wide { max-width: var(--container-wide); }
section { padding-block: clamp(80px, 12vh, 144px); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--s-16); }
.section-head .lede { margin-top: var(--s-4); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled="true"] {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border-subtle);
}
.nav__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 700;
  letter-spacing: -0.028em;
  font-size: 22px;
  color: var(--ink-800);
}
.brand__dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--amber-400);
  display: inline-block;
  margin-left: 2px;
  transform: translateY(-1px);
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--fg-2);
  font-weight: 500;
}
.nav__links a { transition: color var(--dur-fast) var(--ease); }
.nav__links a:hover { color: var(--ink-800); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ---------- Solutions dropdown ---------- */
.nav-group { position: relative; display: inline-flex; align-items: center; }
.nav-group > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-group > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-base) var(--ease);
  opacity: 0.55;
}
.nav-group:hover > a::after,
.nav-group:focus-within > a::after,
.nav-group[data-open="true"] > a::after {
  transform: rotate(225deg) translateY(-1px);
  opacity: 0.85;
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: -16px;
  min-width: 360px;
  padding: 8px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease),
    visibility var(--dur-base);
  pointer-events: none;
  z-index: 110;
}
/* Invisible bridge so the hover doesn't drop between anchor and menu */
.nav__submenu::before {
  content: "";
  position: absolute;
  inset: -10px 0 auto 0;
  height: 14px;
}
.nav-group:hover .nav__submenu,
.nav-group:focus-within .nav__submenu,
.nav-group[data-open="true"] .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__submenu-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--ink-800);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
.nav__submenu-item:hover { background: var(--bg-muted); color: var(--ink-800); }
.nav__submenu-item[aria-current="page"] { background: var(--amber-50); }
.nav__submenu-item[aria-current="page"] .nav__submenu-ic {
  background: var(--amber-400);
  color: var(--ink-800);
  border-color: var(--amber-400);
}

.nav__submenu-ic {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-50));
  border: 1px solid var(--amber-200);
  color: var(--amber-600);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.nav__submenu-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav__submenu-text .t { font-weight: 600; font-size: 14px; letter-spacing: -0.005em; color: var(--ink-800); }
.nav__submenu-text .d { font-size: 12.5px; color: var(--fg-2); line-height: 1.35; }

.nav__submenu-divider {
  height: 1px;
  margin: 6px 4px;
  background: var(--border-subtle);
}

.nav__submenu-item--all {
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.nav__submenu-item--all .nav__submenu-text .t { color: var(--amber-600); }
.nav__submenu-arrow {
  color: var(--amber-500);
  font-weight: 700;
  transition: transform var(--dur-base) var(--ease);
}
.nav__submenu-item--all:hover .nav__submenu-arrow { transform: translateX(4px); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__submenu { display: none; }
}

/* ---------- Mobile hamburger + drawer ---------- */
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.nav__toggle:hover { background: var(--n-50); border-color: var(--border-strong); }
.nav__toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.75px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: background var(--dur-fast) var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.75px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease), top var(--dur-base) var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav[data-menu-open="true"] .nav__toggle span { background: transparent; }
.nav[data-menu-open="true"] .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav[data-menu-open="true"] .nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

.nav__drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease),
    visibility var(--dur-base);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.nav__drawer-inner {
  padding: var(--s-8) var(--pad-x) var(--s-12);
  max-width: 520px;
  margin: 0 auto;
}
.nav__drawer-section { margin-bottom: var(--s-8); }
.nav__drawer-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-600);
  font-weight: 700;
  margin-bottom: var(--s-3);
}
.nav__drawer-links { display: flex; flex-direction: column; }
.nav__drawer-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: -0.016em;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.nav__drawer-links a:hover { color: var(--amber-600); }
.nav__drawer-links a span {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-3);
  letter-spacing: 0;
}
.nav__drawer-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nav__drawer-sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px;
  background: var(--n-25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.nav__drawer-sub a:hover { background: var(--amber-50); border-color: var(--amber-200); }
.nav__drawer-sub a .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-50));
  border: 1px solid var(--amber-200);
  color: var(--amber-600);
  font-size: 14px;
  flex-shrink: 0;
}
.nav__drawer-foot {
  display: flex; flex-direction: column;
  padding-top: var(--s-6);
  border-top: 1px solid var(--border-subtle);
}
.nav__drawer-reassure {
  font-size: 12.5px;
  color: var(--fg-2);
  text-align: center;
  margin: var(--s-5) 0 0;
  letter-spacing: 0.02em;
}
.nav__drawer-reassure a { color: var(--amber-600); font-weight: 600; text-decoration: none; }

body[data-menu="true"] .nav__drawer {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body[data-menu="true"] {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .nav__drawer { transition: opacity var(--dur-fast) linear, visibility var(--dur-fast) linear; transform: none; }
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { gap: 8px; }
  .nav__cta .btn { height: 40px; padding: 0 14px; font-size: 13px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--lg { height: 54px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn--xl { height: 60px; padding: 0 30px; font-size: 16px; border-radius: 14px; }

.btn--primary {
  background: var(--ink-700);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 8px 20px -8px rgba(15,24,41,0.5);
}
.btn--primary:hover { background: var(--ink-600); box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 12px 28px -8px rgba(15,24,41,0.55); }
.btn--primary:active { background: var(--ink-800); }

.btn--ghost {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--n-50); }

.btn--amber {
  background: var(--amber-400);
  color: var(--ink-800);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 10px 24px -10px rgba(245,166,35,0.65);
}
.btn--amber:hover { background: var(--amber-300); }

.btn--inverse {
  background: #fff;
  color: var(--ink-800);
}
.btn--inverse:hover { background: var(--n-50); }

.btn--ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.btn--ghost-dark:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-700); font-weight: 600; font-size: 15px;
  transition: gap var(--dur-base) var(--ease), color var(--dur-fast) var(--ease);
}
.link-arrow:hover { gap: 10px; color: var(--amber-500); }
.link-arrow--dark { color: var(--amber-400); }
.link-arrow--dark:hover { color: var(--amber-300); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--amber-50);
  color: var(--amber-600);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--amber-200);
}
.chip__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--amber-400); }

.chip--dark {
  background: rgba(245,166,35,0.1);
  color: var(--amber-300);
  border-color: rgba(245,166,35,0.3);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(64px, 10vh, 112px));
  padding-bottom: clamp(48px, 8vh, 96px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 10%, rgba(245,166,35,0.08), transparent 70%),
    radial-gradient(40% 35% at 80% 30%, rgba(245,166,35,0.05), transparent 70%),
    radial-gradient(40% 35% at 20% 30%, rgba(23,34,58,0.04), transparent 70%);
  z-index: -1;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(15,24,41,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,24,41,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
.hero__headline { color: var(--ink-800); }
.hero__headline .muted { color: var(--fg-2); }
.hero__sub {
  max-width: 620px;
  margin: var(--s-6) auto var(--s-8);
}
.hero__actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--s-6);
}
.hero__reassure {
  display: flex; justify-content: center; gap: 14px;
  font-size: 13px; color: var(--fg-2);
  flex-wrap: wrap;
}
.hero__reassure .sep { color: var(--border-strong); }

.hero__device-wrap {
  margin-top: clamp(48px, 8vh, 96px);
  display: flex; justify-content: center; align-items: end; gap: clamp(24px, 4vw, 56px);
  position: relative;
}
@media (max-width: 900px) {
  .hero__device-wrap .phone--sm { display: none; }
  .phone--lg { --pw: 280px; }
}
@media (max-width: 520px) {
  .phone--lg { --pw: 260px; }
}
.hero__device-wrap::before {
  content: ""; position: absolute;
  inset: auto 0 -20px 0; height: 120px;
  background: radial-gradient(50% 100% at 50% 100%, rgba(245,166,35,0.15), transparent 70%);
  z-index: -1;
  filter: blur(20px);
}

/* ---------- Desktop: split hero (text left, phones right) ---------- */
@media (min-width: 1024px) {
  .hero {
    text-align: left;
    padding-top: calc(var(--nav-h) + clamp(48px, 7vh, 88px));
    padding-bottom: clamp(56px, 9vh, 112px);
  }
  .hero__inner {
    max-width: 1280px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
  }
  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__headline {
    font-size: clamp(2.5rem, 4.4vw, 4.5rem);
    line-height: 1.02;
  }
  .hero__sub { margin-left: 0; margin-right: 0; max-width: 520px; }
  .hero__actions { justify-content: flex-start; }
  .hero__reassure { justify-content: flex-start; }
  .hero__device-wrap--orbit {
    margin-top: 0 !important;
    height: clamp(520px, 44vw, 640px);
  }
  .hero__device-wrap--orbit .phone { --pw: 250px; }
}

/* ---------- Phone mockup ---------- */
.phone {
  --pw: 300px;
  width: var(--pw);
  flex-shrink: 0;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(180deg, #1a1a1a, #000);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 2px #000,
    0 40px 80px -20px rgba(15,24,41,0.4),
    0 12px 30px -8px rgba(15,24,41,0.2);
  position: relative;
}
.phone--lg { --pw: 340px; }
.phone--sm { --pw: 260px; }
.phone__screen {
  aspect-ratio: 9/19.5;
  border-radius: 36px;
  background: var(--ink-800);
  overflow: hidden;
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone__statusbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  height: 44px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 26px 0;
  color: #fff;
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.01em;
}
.phone__statusbar .icons { display: inline-flex; gap: 6px; align-items: center; opacity: 0.9; }

/* Phone app variants */
.app-home {
  width: 100%; height: 100%;
  background: var(--n-25);
  padding: 56px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.app-home__hero {
  border-radius: 20px;
  height: 140px;
  background:
    linear-gradient(180deg, rgba(15,24,41,0.0) 40%, rgba(15,24,41,0.85)),
    linear-gradient(135deg, #2a3b5e, var(--ink-800));
  padding: 16px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: end;
  position: relative; overflow: hidden;
}
.app-home__hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 70% 20%, rgba(245,166,35,0.35), transparent 60%);
}
.app-home__hero .badge {
  align-self: flex-start; background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 3px 9px; border-radius: 999px;
  font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; position: relative; z-index: 1;
}
.app-home__hero .title { position: relative; z-index: 1; font-weight: 700; font-size: 16px; line-height: 1.2; margin-top: auto; }
.app-home__hero .sub { position: relative; z-index: 1; font-size: 11px; opacity: 0.8; margin-top: 2px; }

.app-chips { display: flex; gap: 6px; overflow: hidden; }
.app-chips span {
  flex-shrink: 0;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--fg-2);
}
.app-chips span.active { background: var(--ink-800); color: #fff; border-color: var(--ink-800); }

.app-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  padding: 10px;
  display: flex; gap: 10px; align-items: center;
}
.app-card__thumb {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F5A623, #D9881A);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.app-card__thumb--2 { background: linear-gradient(135deg, #3BA66C, #1F7A48); }
.app-card__thumb--3 { background: linear-gradient(135deg, #5F6E8A, #23324F); }
.app-card__body { flex: 1; min-width: 0; }
.app-card__title { font-size: 12px; font-weight: 600; color: var(--ink-800); margin: 0 0 2px; line-height: 1.2; }
.app-card__meta { font-size: 10.5px; color: var(--fg-2); display: flex; gap: 6px; align-items: center; }
.app-card__price { font-size: 13px; font-weight: 700; color: var(--ink-800); }

.app-rewards {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  color: #fff;
  padding: 56px 18px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.app-rewards h4 { font-size: 13px; font-weight: 500; opacity: 0.7; margin: 0; letter-spacing: 0.04em; text-transform: uppercase; }
.app-rewards .balance { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; margin: 0; line-height: 1; color: var(--amber-300); }
.app-rewards .balance small { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); margin-left: 4px; }
.app-rewards .progress {
  height: 8px; background: rgba(255,255,255,0.1);
  border-radius: 999px; overflow: hidden; margin-top: 4px;
}
.app-rewards .progress > div {
  height: 100%; width: 65%;
  background: linear-gradient(90deg, var(--amber-400), var(--amber-300));
  border-radius: 999px;
}
.app-rewards .reward-card {
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  display: flex; gap: 10px; align-items: center;
}
.app-rewards .reward-card .ic {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(245,166,35,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-300); font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.app-rewards .reward-card .t { font-size: 11.5px; font-weight: 600; margin: 0; }
.app-rewards .reward-card .s { font-size: 10px; opacity: 0.6; margin: 2px 0 0; }

/* =============================================================
   App screen mockups — mirror the live customer app patterns
   ============================================================= */

/* Shared screen wrapper */
.app-screen {
  width: 100%;
  height: 100%;
  background: #FBF9F6; /* warm cream — matches app */
  padding: 50px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  position: relative;
}
.app-screen__crumb {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 0 4px 4px;
}
.app-screen__crumb--ink {
  color: var(--ink-800);
  opacity: 0.55;
}

/* Big italic display number — used on rewards & wallet */
.app-display-num {
  font-family: Georgia, "Times New Roman", "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
}
.app-display-label {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  margin-top: 6px;
}
.app-display-cap {
  font-size: 9.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ---------- Rewards screen ---------- */
.app-rewards-hero {
  background: var(--ink-800);
  border-radius: 16px;
  padding: 14px 14px 28px;
  position: relative;
  z-index: 1;
  margin-bottom: -16px;
}
.app-rewards-hero .app-screen__crumb {
  margin-bottom: 10px;
  color: var(--amber-300);
}
.app-overlap-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px -10px rgba(15,24,41,0.18);
}
.app-overlap-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-800);
}
.app-overlap-card__link {
  color: var(--amber-700);
  font-size: 10px;
  font-weight: 600;
}
.app-tier-track {
  display: grid;
  grid-template-columns: repeat(5, auto) 1fr;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}
.app-tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,24,41,0.12);
}
.app-tier-dot.is-on { background: var(--amber-400); }
.app-tier-cap {
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  text-transform: uppercase;
  margin-left: auto;
  font-weight: 700;
}
.app-reward-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--bg-muted);
  border-radius: 10px;
}
.app-reward-row__pts {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink-800);
  color: var(--amber-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.app-reward-row__title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-800);
}
.app-reward-row__meta {
  font-size: 9.5px;
  color: var(--fg-2);
  margin-top: 1px;
}

/* ---------- Home screen ---------- */
.app-fulfillment {
  display: flex;
  gap: 6px;
  background: rgba(15,24,41,0.04);
  padding: 4px;
  border-radius: 999px;
  align-self: stretch;
}
.app-fulfillment__pill {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-2);
  padding: 6px 10px;
  border-radius: 999px;
}
.app-fulfillment__pill.is-active {
  background: var(--ink-800);
  color: #fff;
}
.app-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--fg-2);
  padding: 0 4px;
}
.app-location__pin { font-size: 11px; }
.app-banner {
  border-radius: 16px;
  height: 110px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15,24,41,0) 30%, rgba(15,24,41,0.85)),
    linear-gradient(135deg, #2a3b5e, var(--ink-800));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  isolation: isolate;
}
.app-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 70% 20%, rgba(245,166,35,0.4), transparent 60%);
  z-index: -1;
}
.app-banner__chip {
  align-self: flex-start;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: auto;
}
.app-banner__title { font-size: 14px; font-weight: 700; line-height: 1.2; }
.app-banner__sub { font-size: 10.5px; opacity: 0.78; margin-top: 2px; }

.app-points-widget {
  background: var(--ink-800);
  color: #fff;
  border-radius: 14px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.app-points-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 100% 0%, rgba(245,166,35,0.18), transparent 60%);
  pointer-events: none;
}
.app-points-widget__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.app-points-widget__num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--amber-300);
}
.app-points-widget__num small {
  font-family: var(--font-sans), system-ui, sans-serif;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-left: 2px;
}
.app-points-widget__sub {
  font-size: 9.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}
.app-points-widget__cta {
  font-size: 10px;
  font-weight: 700;
  color: var(--amber-300);
  background: rgba(245,166,35,0.12);
  padding: 5px 10px;
  border-radius: 999px;
}
.app-points-widget__bar {
  margin-top: 8px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.app-points-widget__bar i {
  display: block;
  height: 100%;
  width: var(--p, 60%);
  background: linear-gradient(90deg, var(--amber-400), var(--amber-300));
  border-radius: 999px;
}
.app-section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-800);
  margin: 4px 4px -2px;
}

/* ---------- Wallet screen ---------- */
.app-wallet-card {
  position: relative;
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #2A3B5E, var(--ink-800));
  color: #fff;
  height: 138px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 12px 24px -12px rgba(15,24,41,0.5),
    0 4px 8px -4px rgba(15,24,41,0.3);
}
.app-wallet-card::after {
  /* peeking second card behind */
  content: "";
  position: absolute;
  inset: -8px -8px auto auto;
  width: 92%;
  height: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  z-index: -2;
}
.app-wallet-card__rings {
  position: absolute;
  right: -32px; top: -32px;
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,166,35,0.18);
  z-index: -1;
}
.app-wallet-card__rings::before,
.app-wallet-card__rings::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,166,35,0.12);
}
.app-wallet-card__rings::after {
  inset: 28px;
  border-color: rgba(245,166,35,0.06);
}
.app-wallet-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.app-wallet-card__brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  text-transform: none;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.app-wallet-card__brand i {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--amber-400);
  margin-left: 1px;
  transform: translateY(-1px);
}
.app-wallet-card__bal {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 16px;
  color: #fff;
}
.app-wallet-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  color: rgba(255,255,255,0.6);
  margin-top: auto;
  position: absolute;
  bottom: 14px; left: 16px; right: 16px;
}
.app-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--ink-800);
  background: var(--amber-100);
  border: 1px solid var(--amber-200);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 600;
  align-self: flex-start;
}
.app-action-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.app-action-tile {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.app-action-tile__ic {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(245,166,35,0.15);
  color: var(--amber-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.app-action-tile__lbl {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-800);
  text-align: center;
}
.app-quick-amounts {
  display: flex;
  gap: 5px;
}
.app-quick-amounts span {
  flex: 1;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--fg-2);
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
.app-quick-amounts .is-active {
  background: var(--ink-800);
  color: var(--amber-300);
  border-color: var(--ink-800);
}

/* ---------- Logo strip ---------- */
.strip {
  padding: 48px 0 24px;
}
.strip__head {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 600;
  margin-bottom: var(--s-6);
}
.strip__row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  opacity: 0.72;
}
.strip__logo {
  font-weight: 700; font-size: 18px;
  color: var(--ink-700);
  font-style: italic;
  letter-spacing: -0.02em;
  font-family: Georgia, "Times New Roman", serif;
  opacity: 0.8;
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(64px, 8vh, 96px) 0;
  background: linear-gradient(180deg, var(--bg), var(--bg-muted));
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
}
@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
.stats__item { text-align: center; }
.stats__num {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-800);
  font-variation-settings: "opsz" 32;
  line-height: 1;
}
.stats__label {
  font-size: 13px; color: var(--fg-2); margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ---------- Dark section (Problem) ---------- */
.dark {
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 40% at 50% 0%, rgba(245,166,35,0.08), transparent 70%);
  pointer-events: none;
}
.dark .lede { color: rgba(255,255,255,0.7); }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  position: relative;
}
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card {
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  overflow: hidden;
}
.compare-card--bad {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.compare-card--good {
  background: linear-gradient(135deg, rgba(245,166,35,0.08), rgba(245,166,35,0.03));
  border: 1px solid rgba(245,166,35,0.3);
  box-shadow: 0 20px 60px -20px rgba(245,166,35,0.3);
}
.compare-card h3 { color: #fff; margin-bottom: var(--s-5); font-size: var(--fs-20); }
.compare-card__tag {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; padding: 3px 8px; border-radius: 999px; margin-bottom: 10px;
}
.compare-card--bad .compare-card__tag { background: rgba(214,74,43,0.15); color: #FF8A6B; }
.compare-card--good .compare-card__tag { background: rgba(245,166,35,0.15); color: var(--amber-300); }

.compare-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-card li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.compare-card--good li { color: #fff; }
.compare-card li .mark {
  width: 20px; height: 20px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  font-size: 11px; font-weight: 800;
}
.compare-card--bad .mark { background: rgba(214,74,43,0.2); color: #FF8A6B; }
.compare-card--good .mark { background: var(--amber-400); color: var(--ink-800); }

/* ---------- Solutions grid (Tesla-style product tiles) ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-4);
}
.solution-tile {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--n-25);
  border: 1px solid var(--border-subtle);
  padding: clamp(28px, 3vw, 40px);
  min-height: 380px;
  display: flex; flex-direction: column;
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), border-color var(--dur-base) var(--ease);
  isolation: isolate;
}
.solution-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border);
}
.solution-tile--wide { grid-column: span 3; }
.solution-tile--half { grid-column: span 3; }
.solution-tile--feature { grid-column: span 6; min-height: 440px; }
.solutions-grid--2x2 { row-gap: var(--s-4); }
.solution-tile--dark {
  background: var(--ink-800);
  color: #fff;
  border-color: rgba(255,255,255,0.08);
}
.solution-tile--dark .solution-tile__lede { color: rgba(255,255,255,0.7); }
.solution-tile--dark .solution-tile__eyebrow { color: var(--amber-400); }
.solution-tile--amber {
  background: linear-gradient(135deg, var(--amber-100), var(--amber-50));
  border-color: var(--amber-200);
}

.solution-tile__eyebrow {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--amber-600); margin-bottom: var(--s-3);
}
.solution-tile__title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 var(--s-3);
}
.solution-tile--feature .solution-tile__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
}
.solution-tile__lede {
  font-size: 15px; line-height: 1.55; color: var(--fg-2);
  max-width: 40ch;
}
.solution-tile__foot {
  margin-top: auto;
  padding-top: var(--s-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.pricing-feat-list {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-feat-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.78);
}
.pricing-feat-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(245,166,35,0.2);
  border: 1.5px solid var(--amber-400);
}
.pricing-feat-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber-400);
}
.solution-tile__media {
  margin-top: var(--s-6);
  display: flex; align-items: end; justify-content: center;
  flex: 1;
  min-height: 140px;
}

@media (max-width: 960px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-tile, .solution-tile--wide, .solution-tile--feature { grid-column: span 2; min-height: 320px; }
}
@media (max-width: 560px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-tile, .solution-tile--wide, .solution-tile--feature { grid-column: span 1; }
}

/* ---------- Inline phone for tile ---------- */
.tile-phone {
  --pw: 180px;
  width: var(--pw);
  border-radius: 28px;
  padding: 6px;
  background: linear-gradient(180deg, #1a1a1a, #000);
  box-shadow: 0 20px 40px -12px rgba(15,24,41,0.4);
  transform: translateY(30px);
  transition: transform var(--dur-slow) var(--ease);
}
.solution-tile:hover .tile-phone { transform: translateY(20px); }
.tile-phone .phone__screen { border-radius: 22px; }
.tile-phone .phone__notch { width: 60px; height: 16px; top: 6px; }

/* ---------- Calculator ---------- */
.calc-wrap {
  max-width: 760px; margin: 0 auto;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}
.calc-wrap h2 { margin-top: var(--s-2); }
.calc-slider { margin-top: var(--s-8); }
.calc-slider__label {
  display: flex; justify-content: space-between; align-items: end;
  font-size: 13px; color: var(--fg-2); font-weight: 500;
  margin-bottom: 12px;
}
.calc-slider__value {
  font-size: 28px; font-weight: 700;
  color: var(--ink-800); letter-spacing: -0.02em;
  font-variation-settings: "opsz" 24;
}
input[type="range"].range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--n-100);
  border-radius: 999px;
  outline: none;
}
input[type="range"].range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 999px;
  background: #fff;
  border: 2px solid var(--ink-700);
  box-shadow: 0 2px 6px rgba(15,24,41,0.25);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease);
}
input[type="range"].range::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"].range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 999px;
  background: #fff;
  border: 2px solid var(--ink-700);
  box-shadow: 0 2px 6px rgba(15,24,41,0.25);
  cursor: pointer;
}
.range-bounds {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--fg-3);
  margin-top: 8px;
}

.calc-out {
  margin-top: var(--s-10);
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg, var(--ink-700), var(--ink-800));
  border-radius: var(--r-lg);
  color: #fff;
  text-align: center;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.calc-out::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 20%, rgba(245,166,35,0.15), transparent 70%);
  z-index: -1;
}
.calc-out__label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.7; font-weight: 700;
}
.calc-out__num {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--amber-300);
  margin: 8px 0 4px;
  font-variation-settings: "opsz" 32;
  line-height: 1;
}
.calc-out__sub { font-size: 13px; opacity: 0.7; }

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-8);
  padding-top: var(--s-8);
  border-top: 1px solid var(--border-subtle);
}
@media (max-width: 560px) { .calc-breakdown { grid-template-columns: 1fr; } }
.calc-breakdown__item {
  text-align: center;
}
.calc-breakdown__num {
  font-size: 24px; font-weight: 700;
  color: var(--ink-800);
  letter-spacing: -0.02em;
}
.calc-breakdown__label {
  font-size: 12px; color: var(--fg-2); margin-top: 4px;
}

/* ---------- Process / Timeline ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  position: relative;
}
@media (max-width: 880px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }

.process-card {
  position: relative;
  padding: clamp(24px, 2.8vw, 32px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.process-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.process-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber-500);
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
}
.process-card__title {
  font-size: 18px; font-weight: 600; color: var(--ink-800);
  margin: var(--s-5) 0 6px;
  letter-spacing: -0.01em;
}
.process-card__desc {
  font-size: 14px; color: var(--fg-2); line-height: 1.55;
  margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-5);
  align-items: stretch;
}
@media (max-width: 960px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial {
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--s-6);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial--feature {
  background: linear-gradient(135deg, var(--ink-700), var(--ink-800));
  color: #fff;
  border-color: transparent;
}
.testimonial__quote {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink-800);
  margin: 0;
  text-wrap: balance;
}
.testimonial--feature .testimonial__quote {
  color: #fff;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 500;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
  color: var(--ink-800);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.5);
}
.testimonial__name { font-weight: 600; font-size: 14px; letter-spacing: -0.005em; }
.testimonial__role { font-size: 13px; color: var(--fg-2); }
.testimonial--feature .testimonial__role { color: rgba(255,255,255,0.6); }
.testimonial__stars { display: inline-flex; gap: 2px; color: var(--amber-400); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border-subtle); }
.faq details {
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--s-6) 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-6);
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background-color: var(--n-25);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 12px 1.5px, 1.5px 12px;
  color: var(--fg-2);
  transition:
    background-size var(--dur-base) var(--ease),
    background-color var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    color var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease);
}
.faq summary:hover::after {
  background-color: #fff;
  border-color: var(--border-strong);
  color: var(--ink-700);
}
.faq details[open] summary::after {
  background-size: 12px 1.5px, 1.5px 0px;
  background-color: var(--amber-400);
  border-color: var(--amber-400);
  color: var(--ink-800);
  transform: rotate(180deg);
}
.faq summary:hover { color: var(--amber-600); }
.faq details[open] summary { color: var(--ink-800); }
.faq__answer {
  font-size: 15px; line-height: 1.6; color: var(--fg-2);
  max-width: 680px;
  margin: var(--s-4) 0 0;
}

/* ---------- Footer CTA ---------- */
.cta-final {
  text-align: center;
  background: var(--bg-muted);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(45% 60% at 50% 0%, rgba(245,166,35,0.12), transparent 70%);
  pointer-events: none;
}
.cta-final__inner { position: relative; }
.cta-final__actions {
  display: flex; gap: 12px; justify-content: center; margin-top: var(--s-8);
  flex-wrap: wrap;
}
.cta-final__note { font-size: 13px; color: var(--fg-2); margin-top: var(--s-5); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-800);
  color: var(--n-200);
  padding-top: clamp(72px, 10vh, 112px);
  padding-bottom: var(--s-8);
  border-top: 1px solid var(--ink-800);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--s-10);
  padding-bottom: var(--s-16);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand-blurb { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 16px; max-width: 260px; line-height: 1.55; }
.footer__brand .brand { color: #fff; font-size: 24px; }
.footer__col h5 {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,0.5);
  margin: 0 0 var(--s-4);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px; color: rgba(255,255,255,0.75);
  transition: color var(--dur-fast) var(--ease);
}
.footer__col a:hover { color: var(--amber-400); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s-6);
  font-size: 13px; color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.flex { display: flex; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Amber underline accent for inline emphasis */
.accent-underline {
  background-image: linear-gradient(var(--amber-300), var(--amber-300));
  background-position: 0 88%;
  background-repeat: no-repeat;
  background-size: 100% 0.28em;
  padding-bottom: 0.04em;
}

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(72px, 12vh, 128px));
  padding-bottom: clamp(56px, 8vh, 96px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 10%, rgba(245,166,35,0.06), transparent 70%),
    radial-gradient(40% 30% at 80% 30%, rgba(23,34,58,0.04), transparent 70%);
  z-index: -1;
}
.page-hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(15,24,41,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,24,41,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
.page-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 700;
  font-variation-settings: "opsz" 32;
  margin: var(--s-5) 0 var(--s-5);
  color: var(--ink-800);
  text-wrap: balance;
}
.page-hero .lede { max-width: 640px; margin: 0 auto; }
.page-hero__actions {
  display: flex; gap: 12px; justify-content: center; margin-top: var(--s-8); flex-wrap: wrap;
}

/* Dark page hero variant */
.page-hero--dark {
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  color: #fff;
}
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lede { color: rgba(255,255,255,0.72); }
.page-hero--dark::before {
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(245,166,35,0.18), transparent 70%),
    radial-gradient(40% 30% at 80% 50%, rgba(245,166,35,0.06), transparent 70%);
}

/* ---------- Feature list with icon grid ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 880px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border-subtle);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border); }
.feat-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-50));
  border: 1px solid var(--amber-200);
  color: var(--amber-600);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-4);
}
.feat-card__icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.feat-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--ink-800); }
.feat-card p { font-size: 14px; color: var(--fg-2); line-height: 1.55; margin: 0; }

/* ---------- Value pillar (2-col layout) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split--reverse > :first-child { order: 0; } }
.split__media {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--ink-50), var(--amber-50));
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.split__media--dark {
  background: linear-gradient(135deg, var(--ink-700), var(--ink-800));
  border-color: transparent;
  color: #fff;
}

/* ---------- Forms ---------- */
.form {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--s-5);
  text-align: left;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field label {
  font-size: 13px; font-weight: 600; color: var(--ink-800);
  display: block; margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--n-25);
  font: inherit;
  color: var(--ink-800);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink-500);
  background: #fff;
  box-shadow: var(--focus-ring);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.form__note {
  font-size: 13px; color: var(--fg-2); margin: 0;
  display: flex; gap: 10px; align-items: flex-start;
}
.form__ok {
  background: var(--success-50); color: var(--success-600);
  border: 1px solid rgba(59,166,108,0.3);
  padding: 12px 14px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500;
}

/* ---------- Prose (blog / legal) ---------- */
.prose {
  max-width: 720px; margin: 0 auto;
  font-size: 17px; line-height: 1.7;
  color: var(--fg-1);
}
.prose h2 {
  font-size: var(--fs-30);
  letter-spacing: -0.016em;
  margin: var(--s-12) 0 var(--s-4);
  font-weight: 700;
  color: var(--ink-800);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose h3 {
  font-size: var(--fs-20);
  letter-spacing: -0.008em;
  margin: var(--s-8) 0 var(--s-3);
  font-weight: 600;
  color: var(--ink-800);
}
.prose p { margin: 0 0 var(--s-4); color: var(--ink-500); }
.prose ul, .prose ol { margin: 0 0 var(--s-6); padding-left: 1.25em; color: var(--ink-500); }
.prose li { margin-bottom: 8px; }
.prose a {
  color: var(--ink-700); text-decoration: underline;
  text-decoration-color: var(--amber-300);
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}
.prose a:hover { color: var(--amber-600); }
.prose blockquote {
  border-left: 3px solid var(--amber-400);
  padding: 4px 0 4px var(--s-5);
  margin: var(--s-6) 0;
  font-size: 1.125em;
  color: var(--ink-700);
  font-weight: 500;
}
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--bg-subtle); padding: 2px 6px; border-radius: var(--r-xs); border: 1px solid var(--border-subtle); }

/* ---------- Blog index ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
  text-decoration: none; color: inherit;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border); }
.post-card__cat {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; color: var(--amber-600);
}
.post-card__title {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.25; color: var(--ink-800); margin: 0;
  text-wrap: balance;
}
.post-card__preview { font-size: 14px; color: var(--fg-2); line-height: 1.55; margin: 0; }
.post-card__meta {
  display: flex; gap: 10px; font-size: 12px; color: var(--fg-3);
  margin-top: auto; padding-top: var(--s-3);
}
.post-card__meta .dot { color: var(--border-strong); }
.post-card__cover {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; border-radius: var(--r-md);
}
.post-cover {
  display: block; width: 100%; max-width: 840px; height: auto;
  margin: 0 auto var(--s-10); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}

.post-card--feature {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-800));
  color: #fff;
  border-color: transparent;
  min-height: 280px;
  padding: clamp(28px, 3vw, 48px);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 720px) { .post-card--feature { grid-column: span 1; grid-template-columns: 1fr; } }
.post-card--feature .post-card__title { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.1; }
.post-card--feature .post-card__preview { color: rgba(255,255,255,0.72); font-size: 16px; }
.post-card--feature .post-card__meta { color: rgba(255,255,255,0.5); }
.post-card--feature .post-card__cat { color: var(--amber-300); }

/* Category filter row */
.cat-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 0 auto var(--s-10);
  max-width: 960px;
}
.cat-filter button {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  color: var(--fg-2);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.cat-filter button:hover { color: var(--ink-800); border-color: var(--border-strong); }
.cat-filter button[aria-pressed="true"] {
  background: var(--ink-700); color: #fff; border-color: var(--ink-700);
}

/* ---------- Case study card (full) ---------- */
.cs-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--s-10);
  box-shadow: var(--shadow-sm);
  align-items: center;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.cs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
@media (max-width: 860px) { .cs-card { grid-template-columns: 1fr; } }
.cs-card__tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber-600); font-weight: 700;
  margin-bottom: 10px;
}
.cs-card__title {
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  letter-spacing: -0.02em;
  line-height: 1.2; font-weight: 700;
  margin: 0 0 var(--s-4);
  color: var(--ink-800);
  text-wrap: balance;
}
.cs-card__meta { font-size: 13px; color: var(--fg-2); margin: 0 0 var(--s-4); }
.cs-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.cs-card__metric { text-align: left; }
.cs-card__metric-num {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.025em;
  color: var(--ink-800);
  font-variation-settings: "opsz" 28;
  line-height: 1;
}
.cs-card__metric-num .up { color: var(--success-600); }
.cs-card__metric-label { font-size: 12px; color: var(--fg-2); margin-top: 6px; }

/* ---------- Simple stat row (dark) ---------- */
.stat-row-dark {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  padding: clamp(32px, 5vw, 56px) 0;
  background: var(--ink-800);
  color: #fff;
  border-radius: var(--r-xl);
}
@media (max-width: 720px) { .stat-row-dark { grid-template-columns: repeat(2, 1fr); } }
.stat-row-dark__item { text-align: center; }
.stat-row-dark__num {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700; letter-spacing: -0.028em;
  color: var(--amber-300);
  font-variation-settings: "opsz" 28;
  line-height: 1;
}
.stat-row-dark__label { font-size: 13px; opacity: 0.7; margin-top: 6px; }

/* ---------- Values card ---------- */
.value-card h4 { font-size: 15px; color: var(--amber-600); margin: 0 0 6px; letter-spacing: 0.01em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.value-card p { font-size: 15px; color: var(--fg-2); line-height: 1.55; margin: 0; }

/* ---------- Active nav state ---------- */
.nav__links a[aria-current="page"] { color: var(--ink-800); font-weight: 600; }

/* ---------- Compare table ---------- */
.vs-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 15px;
}
.vs-table th, .vs-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
.vs-table th { font-weight: 600; color: var(--ink-800); background: var(--bg-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.vs-table td.yes { color: var(--success-600); font-weight: 600; }
.vs-table td.no { color: var(--danger-400); font-weight: 600; }
.vs-table tbody tr:last-child td { border-bottom: 0; }

/* =============================================================
   PREMIUM COMPONENT LIBRARY
   ============================================================= */

/* ---------- Ambient gradient mesh ---------- */
.mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.mesh__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  mix-blend-mode: multiply;
  animation: meshFloat 18s ease-in-out infinite alternate;
}
.mesh__orb--amber { width: 520px; height: 520px; left: -80px; top: -100px; background: radial-gradient(circle, #F5A623, transparent 70%); }
.mesh__orb--ink   { width: 480px; height: 480px; right: -120px; top: 40px; background: radial-gradient(circle, #23324F, transparent 70%); animation-delay: -6s; opacity: 0.25; }
.mesh__orb--peach { width: 360px; height: 360px; left: 30%; top: 50%; background: radial-gradient(circle, #FDD88A, transparent 70%); animation-delay: -12s; opacity: 0.4; }
.mesh--dark .mesh__orb--amber { opacity: 0.35; mix-blend-mode: screen; }
.mesh--dark .mesh__orb--ink   { opacity: 0.6; mix-blend-mode: screen; }
.mesh--dark .mesh__orb--peach { opacity: 0.2; mix-blend-mode: screen; }
@keyframes meshFloat {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px,-30px) scale(1.08); }
  100% { transform: translate(-24px,28px) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .mesh__orb { animation: none; }
}

/* ---------- Logo marquee ---------- */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: var(--s-3) 0;
}
.marquee__track {
  display: flex;
  gap: clamp(36px, 5vw, 72px);
  width: max-content;
  animation: marquee 38s linear infinite;
  align-items: center;
}
/* Pause-on-hover only for real pointers — on touch, a tap sticks :hover and would freeze the scroll */
@media (hover: hover) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
.marquee__item {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink-700);
  opacity: 0.7;
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: opacity var(--dur-base) var(--ease);
}
.marquee__item:hover { opacity: 1; }
.marquee__item--logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
}
.marquee__item--logo img {
  height: clamp(44px, 5.5vw, 60px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Mega hero (for solution detail pages) ---------- */
.mega-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(72px, 10vh, 128px));
  padding-bottom: clamp(48px, 6vh, 88px);
  overflow: hidden;
  isolation: isolate;
}
.mega-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
@media (max-width: 960px) { .mega-hero__grid { grid-template-columns: 1fr; text-align: left; } }
.mega-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.032em;
  font-weight: 700;
  font-variation-settings: "opsz" 32;
  margin: var(--s-5) 0 var(--s-5);
  color: var(--ink-800);
  text-wrap: balance;
}
.mega-hero h1 .muted { color: var(--fg-2); }
.mega-hero h1 .gradient {
  background: linear-gradient(135deg, var(--amber-500), var(--ink-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mega-hero .lede { max-width: 520px; margin-top: var(--s-5); }
.mega-hero__actions {
  display: flex; gap: 12px; margin-top: var(--s-8);
  flex-wrap: wrap;
}
.mega-hero__proof {
  margin-top: var(--s-10);
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 12px; color: var(--fg-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.mega-hero__proof span { display: inline-flex; align-items: center; gap: 6px; }
.mega-hero__proof span::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--amber-400);
}
.mega-hero__media { position: relative; display: flex; justify-content: center; }
.mega-hero--dark { background: linear-gradient(180deg, var(--ink-700), var(--ink-800)); color: #fff; }
.mega-hero--dark h1 { color: #fff; }
.mega-hero--dark h1 .muted { color: rgba(255,255,255,0.55); }
.mega-hero--dark .lede { color: rgba(255,255,255,0.72); }
.mega-hero--dark .mega-hero__proof { color: rgba(255,255,255,0.5); }

/* ---------- Phone lineup (multi-phone showcase) ---------- */
.phone-lineup {
  display: flex; align-items: end; justify-content: center;
  gap: clamp(-48px, -3vw, 16px);
  position: relative;
}
.phone-lineup .phone {
  transition: transform var(--dur-slow) var(--ease);
}
.phone-lineup .phone:nth-child(1) { transform: translateY(20px) rotate(-6deg); z-index: 1; }
.phone-lineup .phone:nth-child(2) { transform: translateY(0) rotate(0deg); z-index: 3; }
.phone-lineup .phone:nth-child(3) { transform: translateY(20px) rotate(6deg); z-index: 1; }
.phone-lineup.lineup-hover:hover .phone:nth-child(1) { transform: translateY(10px) rotate(-10deg) translateX(-12px); }
.phone-lineup.lineup-hover:hover .phone:nth-child(3) { transform: translateY(10px) rotate(10deg) translateX(12px); }

/* ---------- App screen variations ---------- */
.app-menu {
  width: 100%; height: 100%;
  padding: 50px 14px 14px;
  background: #fff;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.app-menu__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 4px 10px;
}
.app-menu__brand { font-weight: 700; letter-spacing: -0.02em; color: var(--ink-800); font-size: 15px; }
.app-menu__brand span.dot { color: var(--amber-500); }
.app-menu__icons { display: flex; gap: 10px; color: var(--fg-3); font-size: 12px; }
.app-menu__search {
  padding: 10px 12px;
  background: var(--n-50);
  border-radius: 10px;
  font-size: 11px;
  color: var(--fg-3);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.app-menu__search::before { content: "⌕"; color: var(--fg-2); font-size: 13px; }

.app-checkout {
  width: 100%; height: 100%;
  padding: 50px 14px 14px;
  background: var(--n-25);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.app-checkout__title {
  font-weight: 700; font-size: 15px; color: var(--ink-800); letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
}
.app-checkout__line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; font-size: 11.5px; color: var(--fg-2);
  border-bottom: 1px solid var(--border-subtle);
}
.app-checkout__line span:first-child { color: var(--ink-800); font-weight: 500; }
.app-checkout__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0 14px; font-weight: 700; color: var(--ink-800); font-size: 15px;
  border-top: 2px solid var(--ink-800); margin-top: 4px;
}
.app-checkout__pay {
  margin-top: auto;
  padding: 14px; border-radius: 10px;
  background: var(--ink-800); color: #fff; text-align: center;
  font-size: 13px; font-weight: 600; letter-spacing: -0.005em;
}

/* ---------- SMS conversation ---------- */
.sms {
  display: flex; flex-direction: column; gap: 8px;
  padding: 50px 12px 16px;
  background: linear-gradient(180deg, #F6F6F3, #EDEDE9);
  height: 100%;
}
.sms__bubble {
  max-width: 72%;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 12.5px;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(15,24,41,0.06);
  animation: smsSlide 500ms var(--ease) backwards;
}
.sms__bubble--in {
  background: #fff;
  color: var(--ink-800);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.sms__bubble--out {
  background: linear-gradient(180deg, #007AFF, #0062CC);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.sms__bubble--amber {
  background: linear-gradient(180deg, var(--amber-400), var(--amber-500));
  color: var(--ink-800);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 600;
}
.sms__bubble:nth-child(1) { animation-delay: 0ms; }
.sms__bubble:nth-child(2) { animation-delay: 250ms; }
.sms__bubble:nth-child(3) { animation-delay: 500ms; }
.sms__bubble:nth-child(4) { animation-delay: 750ms; }
.sms__bubble:nth-child(5) { animation-delay: 1000ms; }
.sms__tag {
  align-self: center;
  font-size: 10px; color: var(--fg-3);
  margin: 6px 0 2px;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
}
@keyframes smsSlide {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Push notification stack ---------- */
.push-stack {
  display: flex; flex-direction: column; gap: 8px;
  padding: 50px 10px 12px;
  background:
    linear-gradient(180deg, rgba(15,24,41,0.05), rgba(15,24,41,0.15)),
    linear-gradient(135deg, var(--amber-400), var(--amber-500));
  height: 100%;
}
.push {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: start;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  animation: pushIn 500ms var(--ease) backwards;
}
.push__ic {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--ink-800);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px; letter-spacing: -0.02em;
}
.push__ic::before { content: "m"; }
.push__text {
  font-size: 11px; color: var(--ink-800); line-height: 1.35;
}
.push__text strong { font-weight: 600; }
.push__time { font-size: 9.5px; color: var(--fg-3); letter-spacing: 0.02em; }
.push:nth-child(1) { animation-delay: 0ms; }
.push:nth-child(2) { animation-delay: 200ms; }
.push:nth-child(3) { animation-delay: 400ms; }
.push:nth-child(4) { animation-delay: 600ms; }
@keyframes pushIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Loyalty card (hero moment) ---------- */
.loyalty-card {
  width: min(92%, 420px);
  aspect-ratio: 1.586;
  border-radius: 22px;
  padding: 24px;
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(245,166,35,0.4), transparent 60%),
    linear-gradient(135deg, var(--ink-700), var(--ink-800));
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 60px -20px rgba(15,24,41,0.55),
    0 10px 24px -8px rgba(245,166,35,0.25);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-5deg);
  transition: transform var(--dur-slow) var(--ease);
}
.loyalty-card:hover { transform: rotate(-2deg) translateY(-6px); }
.loyalty-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 20% 100%, rgba(245,166,35,0.3), transparent 60%);
  pointer-events: none;
}
.loyalty-card__chip {
  width: 38px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  position: relative;
}
.loyalty-card__chip::before, .loyalty-card__chip::after {
  content: "";
  position: absolute; inset: 4px 6px;
  border: 0.5px solid rgba(0,0,0,0.25);
  border-radius: 3px;
}
.loyalty-card__chip::after { inset: 8px 10px; }
.loyalty-card__head {
  display: flex; justify-content: space-between; align-items: start;
  position: relative; z-index: 1;
}
.loyalty-card__tier {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--amber-300);
}
.loyalty-card__brand {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-weight: 700; letter-spacing: -0.02em; font-size: 18px;
}
.loyalty-card__brand span { color: var(--amber-400); font-size: 22px; line-height: 0; }
.loyalty-card__body { position: relative; z-index: 1; }
.loyalty-card__label {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); font-weight: 600;
}
.loyalty-card__points {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--amber-300);
  font-variation-settings: "opsz" 32;
  line-height: 1; margin-top: 4px;
}
.loyalty-card__points small { font-size: 0.4em; color: rgba(255,255,255,0.55); font-weight: 500; margin-left: 4px; }
.loyalty-card__foot {
  display: flex; justify-content: space-between; align-items: end;
  font-size: 11px;
  position: relative; z-index: 1;
}
.loyalty-card__name { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.9; }
.loyalty-card__num { font-family: var(--font-mono); font-size: 10px; opacity: 0.5; }

/* Tier ladder */
.tier-ladder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-8);
}
@media (max-width: 640px) { .tier-ladder { grid-template-columns: 1fr; } }
.tier {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier__badge {
  width: 48px; height: 48px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin-bottom: var(--s-4);
}
.tier--bronze .tier__badge { background: linear-gradient(135deg, #CD7F32, #8B5A2B); color: #fff; }
.tier--silver .tier__badge { background: linear-gradient(135deg, #E5E7EB, #9CA3AF); color: #374151; }
.tier--gold .tier__badge   { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); color: var(--ink-800); }
.tier h4 { font-size: 18px; font-weight: 700; color: var(--ink-800); margin: 0 0 4px; letter-spacing: -0.01em; }
.tier__meta { font-size: 12px; color: var(--fg-2); font-weight: 500; letter-spacing: 0.02em; }
.tier ul { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--fg-2); }
.tier li { display: flex; gap: 8px; align-items: baseline; }
.tier li::before { content: "✓"; color: var(--amber-500); font-weight: 700; font-size: 12px; }

/* ---------- Google SERP mockup ---------- */
.serp {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 540px;
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
}
.serp__browser {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--n-50);
  border-bottom: 1px solid var(--border-subtle);
}
.serp__dots { display: inline-flex; gap: 6px; }
.serp__dots span { width: 10px; height: 10px; border-radius: 999px; background: #FF5F57; }
.serp__dots span:nth-child(2) { background: #FEBC2E; }
.serp__dots span:nth-child(3) { background: #28C840; }
.serp__url {
  flex: 1;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--fg-2);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 6px;
}
.serp__url::before { content: "🔒"; font-size: 10px; }
.serp__body { padding: 22px; font-family: Arial, sans-serif; }
.serp__search {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-800);
  margin-bottom: var(--s-5);
}
.serp__search::before { content: "G"; color: #4285F4; font-weight: 700; font-family: Arial; font-size: 15px; }
.serp__tabs { display: flex; gap: 16px; font-size: 12px; color: #70757a; margin-bottom: var(--s-5); border-bottom: 1px solid var(--border-subtle); padding-bottom: 8px; }
.serp__tabs span:first-child { color: #1a0dab; border-bottom: 2px solid #1a0dab; padding-bottom: 7px; }
.serp__result {
  padding: var(--s-4) 0;
}
.serp__result--featured {
  padding: var(--s-5);
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
  position: relative;
}
.serp__result--featured::before {
  content: "Featured";
  position: absolute; top: -9px; left: 14px;
  background: var(--amber-400);
  color: var(--ink-800);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.serp__site { font-size: 11px; color: #5f6368; margin-bottom: 2px; }
.serp__title { font-size: 17px; color: #1a0dab; font-weight: 400; margin: 0 0 2px; line-height: 1.3; font-family: Arial, sans-serif; }
.serp__desc { font-size: 12.5px; color: #4d5156; line-height: 1.45; }
.serp__stars { color: #FAB005; font-size: 12px; }

/* ---------- Core Web Vitals meter ---------- */
.cwv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  padding: var(--s-5);
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
.cwv__item { text-align: center; }
.cwv__gauge {
  width: 64px; height: 64px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: conic-gradient(var(--success-400) calc(var(--val, 95) * 1%), var(--n-100) 0);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.cwv__gauge::before {
  content: ""; position: absolute; inset: 5px; border-radius: 999px; background: #fff;
}
.cwv__gauge span { position: relative; z-index: 1; font-size: 16px; font-weight: 700; color: var(--ink-800); font-variation-settings: "opsz" 24; }
.cwv__label { font-size: 11px; color: var(--fg-2); font-weight: 500; }

/* ---------- Receipt mockup ---------- */
.receipt {
  max-width: 320px;
  margin: 0 auto;
  background: #fff;
  padding: 28px 28px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
  position: relative;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-800);
}
.receipt::before, .receipt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 16px;
  background:
    radial-gradient(circle at 8px 8px, transparent 7px, #fff 7px) 0 0/16px 16px repeat-x;
}
.receipt::before { top: -1px; transform: scaleY(-1); }
.receipt::after { bottom: -1px; }
.receipt__head { text-align: center; margin-bottom: 18px; }
.receipt__name { font-family: var(--font-sans); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.receipt__meta { font-size: 11px; color: var(--fg-3); margin-top: 2px; }
.receipt__line {
  display: flex; justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.receipt__line:last-of-type { border-bottom: 0; }
.receipt__total {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-top: 2px solid var(--ink-800);
  border-bottom: 2px solid var(--ink-800);
  margin-top: 10px;
  font-weight: 700; font-size: 14px;
}
.receipt__bonus {
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  padding: 8px 10px;
  margin-top: 12px;
  border-radius: 6px;
  text-align: center;
  color: var(--amber-700);
  font-weight: 700;
  font-family: var(--font-sans);
  font-size: 12px;
}
.receipt__foot { text-align: center; margin-top: 14px; font-size: 10px; color: var(--fg-3); font-family: var(--font-sans); }

/* ---------- Split-hero (big 2-panel value pair) ---------- */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
@media (max-width: 720px) { .split-hero { grid-template-columns: 1fr; } }
.split-hero__pane {
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
.split-hero__pane--bad {
  background: linear-gradient(135deg, #2A1216, #0F1829);
  color: #fff;
}
.split-hero__pane--good {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
  color: var(--ink-800);
}
.split-hero__tag {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  margin-bottom: var(--s-4);
}
.split-hero__pane--bad .split-hero__tag { color: #FF8A6B; }
.split-hero__pane--good .split-hero__tag { color: var(--ink-800); opacity: 0.8; }
.split-hero__num {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variation-settings: "opsz" 32;
}
.split-hero__pane--bad .split-hero__num { color: #FF8A6B; }
.split-hero__desc { font-size: 14px; margin-top: var(--s-3); max-width: 32ch; }
.split-hero__pane--bad .split-hero__desc { color: rgba(255,255,255,0.7); }
.split-hero__pane--good .split-hero__desc { color: rgba(15,24,41,0.75); }

/* ---------- Dashboard (laptop) mockup ---------- */
.laptop {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.laptop__screen {
  aspect-ratio: 16/10.2;
  border-radius: 12px 12px 4px 4px;
  padding: 8px;
  background: linear-gradient(180deg, #2a2a2a, #111);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 30px 60px -20px rgba(15,24,41,0.4);
}
.laptop__inner {
  width: 100%; height: 100%;
  background: var(--n-25);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.laptop__base {
  height: 14px;
  background: linear-gradient(180deg, #1d1d1d, #000);
  border-radius: 0 0 12px 12px;
  position: relative;
  margin: 0 -14px;
}
.laptop__base::after {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 4px;
  background: #000;
  border-radius: 0 0 6px 6px;
}

.dash {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 100%;
}
.dash__side {
  background: #fff;
  border-right: 1px solid var(--border-subtle);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px;
}
.dash__brand { font-weight: 700; font-size: 14px; letter-spacing: -0.02em; padding: 0 6px 12px; color: var(--ink-800); display: flex; align-items: baseline; gap: 2px; }
.dash__brand::after { content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--amber-400); }
.dash__link {
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--fg-2);
  display: flex; align-items: center; gap: 9px;
  font-weight: 500;
}
.dash__link::before {
  content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--n-100);
}
.dash__link--active { background: var(--ink-50); color: var(--ink-800); font-weight: 600; }
.dash__link--active::before { background: var(--amber-400); }
.dash__main { padding: 18px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.dash__head h4 { font-size: 16px; font-weight: 700; color: var(--ink-800); letter-spacing: -0.01em; margin: 0; }
.dash__head p { font-size: 11px; color: var(--fg-2); margin: 2px 0 0; }
.dash__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.dash__kpi {
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: 8px; padding: 10px 12px;
}
.dash__kpi .l { font-size: 10px; color: var(--fg-2); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.dash__kpi .v { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-800); margin-top: 2px; }
.dash__kpi .t { font-size: 9.5px; font-weight: 600; }
.dash__kpi .t.up { color: var(--success-600); }
.dash__kpi .t.down { color: var(--danger-400); }
.dash__chart {
  flex: 1;
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: 8px; padding: 12px;
  position: relative; overflow: hidden;
}
.dash__chart h5 { font-size: 11px; font-weight: 600; color: var(--fg-2); margin: 0 0 8px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Simple SVG line chart */
.chart {
  width: 100%; height: calc(100% - 24px);
}
.chart path.area { fill: url(#chartGrad); }
.chart path.line { fill: none; stroke: var(--amber-500); stroke-width: 2; }
.chart circle { fill: #fff; stroke: var(--amber-500); stroke-width: 2; }

/* ---------- Territory grid (for resellers) ---------- */
.territory {
  position: relative;
  aspect-ratio: 16/9;
  background:
    radial-gradient(40% 60% at 30% 70%, rgba(245,166,35,0.25), transparent 70%),
    radial-gradient(50% 70% at 75% 40%, rgba(35,50,79,0.12), transparent 70%),
    linear-gradient(180deg, var(--ink-800), var(--ink-700));
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: end;
}
.territory__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.territory__pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.2), 0 0 24px rgba(245,166,35,0.6);
  animation: pinPulse 2.4s ease-out infinite;
}
.territory__pin::after {
  content: ""; position: absolute; inset: -4px;
  border: 1px solid var(--amber-400); border-radius: 999px;
  opacity: 0.4;
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.territory__label {
  position: relative; color: #fff; z-index: 2;
}
.territory__label h4 { font-size: clamp(1.25rem, 2.2vw, 1.875rem); font-weight: 700; color: #fff; margin: 0; letter-spacing: -0.018em; }
.territory__label p { color: rgba(255,255,255,0.7); font-size: 14px; margin: 6px 0 0; }

/* ---------- Package builder ---------- */
.pkg {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--s-8);
  align-items: start;
}
@media (max-width: 860px) { .pkg { grid-template-columns: 1fr; } }
.pkg__options { display: flex; flex-direction: column; gap: var(--s-3); }
.pkg__opt {
  display: grid; grid-template-columns: 52px 1fr auto; gap: var(--s-4);
  align-items: center;
  padding: clamp(16px, 1.8vw, 22px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-base) var(--ease);
  position: relative;
}
.pkg__opt:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.pkg__opt:has(input:checked) {
  border-color: var(--amber-400);
  background: linear-gradient(135deg, var(--amber-50), #fff);
  box-shadow: 0 0 0 1px var(--amber-400) inset, var(--shadow-sm);
}
.pkg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pkg__ic {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-50));
  border: 1px solid var(--amber-200);
  color: var(--amber-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.pkg__opt:has(input:checked) .pkg__ic { background: var(--amber-400); color: var(--ink-800); border-color: var(--amber-400); }
.pkg__title { font-size: 16px; font-weight: 600; color: var(--ink-800); letter-spacing: -0.005em; }
.pkg__desc { font-size: 13px; color: var(--fg-2); margin-top: 3px; }
.pkg__price {
  font-size: 14px; font-weight: 700; color: var(--ink-800);
  white-space: nowrap;
}
.pkg__price small { font-size: 11px; color: var(--fg-3); font-weight: 500; }

.pkg__check {
  width: 22px; height: 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.pkg__opt:has(input:checked) .pkg__check {
  background: var(--amber-400); border-color: var(--amber-400); color: var(--ink-800);
}
.pkg__opt:has(input:checked) .pkg__check::before { content: "✓"; }

.pkg__summary {
  background: linear-gradient(135deg, var(--ink-700), var(--ink-800));
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 32px);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.pkg__summary h4 { font-size: 15px; font-weight: 600; margin: 0 0 var(--s-3); color: #fff; letter-spacing: -0.005em; }
.pkg__estimate {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--amber-300);
  font-variation-settings: "opsz" 32;
  line-height: 1;
}
.pkg__estimate small { font-size: 0.45em; color: rgba(255,255,255,0.5); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.pkg__range { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.pkg__list { list-style: none; padding: 0; margin: var(--s-5) 0 0; font-size: 13px; display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,0.8); }
.pkg__list li { display: flex; gap: 8px; align-items: baseline; }
.pkg__list li::before { content: "✓"; color: var(--amber-400); font-weight: 700; }
.pkg__list li.empty { color: rgba(255,255,255,0.35); }
.pkg__list li.empty::before { content: "○"; color: rgba(255,255,255,0.25); }
.pkg__cta { margin-top: var(--s-6); display: grid; gap: 8px; }
.pkg__cta .btn--inverse:hover { background: var(--amber-300); }

/* ---------- Mission statement hero (about) ---------- */
.mission {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: var(--ink-800);
  max-width: 920px;
  margin: 0 auto;
  text-wrap: balance;
  font-variation-settings: "opsz" 32;
}
.mission .fade { color: var(--fg-3); }
.mission .accent { color: var(--amber-500); }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 30px;
}
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--amber-400), var(--amber-200), var(--border-subtle));
}
.timeline__item {
  position: relative;
  padding-bottom: var(--s-10);
}
.timeline__item::before {
  content: ""; position: absolute; left: -30px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--amber-400);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.15);
}
.timeline__date { font-size: 12px; font-weight: 700; color: var(--amber-600); letter-spacing: 0.08em; text-transform: uppercase; }
.timeline__title { font-size: 20px; font-weight: 700; color: var(--ink-800); margin: 6px 0; letter-spacing: -0.01em; }
.timeline__desc { font-size: 15px; color: var(--fg-2); line-height: 1.6; margin: 0; }

/* ---------- Reveal: extended animations ---------- */
.reveal-fade { opacity: 0; transition: opacity 800ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal-fade.is-in { opacity: 1; }
.reveal-scale { opacity: 0; transform: scale(0.96); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal-scale.is-in { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal-fade, .reveal-scale { opacity: 1; transform: none; transition: none; }
}

/* ---------- Feature tabs (scroll-linked) ---------- */
.feat-tabs {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .feat-tabs { grid-template-columns: 1fr; } }
.feat-tabs__list { display: flex; flex-direction: column; gap: var(--s-3); }
.feat-tabs__item {
  padding: clamp(18px, 2vw, 24px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.feat-tabs__item:hover { border-color: var(--border); }
.feat-tabs__item[aria-selected="true"] {
  border-color: var(--amber-400);
  background: linear-gradient(135deg, var(--amber-50), #fff);
  box-shadow: 0 0 0 1px var(--amber-400) inset;
}
.feat-tabs__item h4 { font-size: 18px; font-weight: 600; color: var(--ink-800); margin: 0; letter-spacing: -0.01em; display: flex; gap: 10px; align-items: center; }
.feat-tabs__item h4::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber-500);
  letter-spacing: 0.06em;
  font-weight: 700;
}
.feat-tabs__item p {
  font-size: 14px; color: var(--fg-2); margin: 8px 0 0; line-height: 1.55;
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease), margin-top var(--dur-base) var(--ease);
}
.feat-tabs__item[aria-selected="true"] p { max-height: 160px; margin-top: 8px; }

.feat-tabs__stage {
  display: flex; align-items: center; justify-content: center;
  min-height: 640px;
  position: relative;
}
.feat-tabs__panel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.feat-tabs__panel .phone { --pw: 280px; }
@media (max-width: 880px) {
  .feat-tabs__stage { min-height: 600px; }
  .feat-tabs__panel .phone { --pw: 260px; }
}
.feat-tabs__panel[aria-hidden="false"] {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}

/* ---------- Big number strip ---------- */
.big-num-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
@media (max-width: 720px) { .big-num-strip { grid-template-columns: 1fr; } }
.big-num {
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--ink-50), var(--amber-50));
  border: 1px solid var(--border-subtle);
}
.big-num--dark {
  background: linear-gradient(135deg, var(--ink-700), var(--ink-800));
  color: #fff;
  border-color: transparent;
}
.big-num__num {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 0.95;
  font-variation-settings: "opsz" 32;
  color: var(--ink-800);
}
.big-num--dark .big-num__num { color: var(--amber-300); }
.big-num__desc { font-size: 16px; color: var(--fg-2); margin-top: var(--s-4); max-width: 38ch; }
.big-num--dark .big-num__desc { color: rgba(255,255,255,0.7); }

/* ---------- Auto-grid for side-by-side content + phone mockup cards ---------- */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) { .auto-grid { grid-template-columns: 1fr; max-width: 560px; } }
.auto-card {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-6);
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-subtle);
}
@media (max-width: 600px) {
  .auto-card { grid-template-columns: 1fr; text-align: left; }
  .auto-card .phone { justify-self: center; }
}

/* =============================================================
   MOBILE POLISH — premium feel on small screens
   ============================================================= */

@media (max-width: 720px) {
  :root { --pad-x: 20px; }

  /* Tighter section rhythm */
  section { padding-block: clamp(56px, 10vh, 80px); }
  .section-head { margin-bottom: var(--s-10); }

  /* Smaller nav height + touch target friendly */
  .brand { font-size: 19px; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 40px; }
  .hero__inner { padding: 0 var(--pad-x); }
  .hero__sub { font-size: 15.5px !important; margin: 18px auto 22px; }
  .hero__actions { gap: 10px; margin-bottom: 16px; }
  .hero__actions .btn--xl { width: 100%; max-width: 320px; }
  .hero__reassure { font-size: 12px; gap: 10px 14px; }
  .hero__device-wrap { margin-top: 36px; gap: 0; }

  /* Mega hero */
  .mega-hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 48px; }
  .mega-hero__grid { gap: 48px; text-align: left; }
  .mega-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
    letter-spacing: -0.03em;
    margin: 18px 0 16px;
  }
  .mega-hero .lede { font-size: 15.5px; margin-top: 16px; }
  .mega-hero__actions { gap: 10px; margin-top: var(--s-6); }
  .mega-hero__actions .btn--xl { flex: 1; min-width: 0; height: 52px; padding: 0 18px; font-size: 14.5px; }
  .mega-hero__proof { margin-top: var(--s-6); gap: 10px 16px; font-size: 11px; letter-spacing: 0.08em; }
  .mega-hero__media { max-width: 340px; margin: 0 auto; width: 100%; }

  /* Display type */
  .display-hero { font-size: clamp(2.75rem, 12vw, 4rem) !important; letter-spacing: -0.03em; }
  .display-lg   { font-size: clamp(2rem, 8vw, 2.75rem) !important; }
  .display-md   { font-size: clamp(1.625rem, 6.5vw, 2.25rem) !important; }
  .lede         { font-size: 15.5px; }

  /* Phone lineup — single phone on mobile */
  .phone-lineup { gap: 0; }
  .phone-lineup .phone:not(:nth-child(2)) { display: none; }
  .phone-lineup .phone:nth-child(2) { transform: none; }
  .phone--lg { --pw: clamp(240px, 72vw, 300px); }
  .phone--sm { --pw: clamp(200px, 60vw, 240px); }

  /* Stats */
  .stats__grid { gap: 24px 16px; }
  .stats__num { font-size: clamp(2.25rem, 9vw, 3rem); }
  .stat-row-dark { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 0; }

  /* Problem / compare */
  .compare-grid { gap: 14px; }
  .compare-card { padding: 22px; }
  .compare-card h3 { font-size: 17px; }
  .compare-card li { font-size: 14px; gap: 10px; }

  /* Split hero */
  .split-hero__pane { padding: 28px; min-height: 200px; }
  .split-hero__num { font-size: clamp(2.5rem, 10vw, 3.5rem); }

  /* Big number */
  .big-num__num { font-size: clamp(2.75rem, 12vw, 4rem); }
  .big-num { padding: 28px; }
  .big-num__desc { font-size: 14.5px; }

  /* Solutions grid */
  .solution-tile { min-height: 280px; padding: 24px; }
  .solution-tile__title { font-size: 22px; }
  .solution-tile--feature { min-height: 340px; }
  .solution-tile--feature .solution-tile__title { font-size: 28px; }
  .solution-tile__lede { font-size: 14.5px; }

  /* Calculator */
  .calc-wrap { padding: 24px; }
  .calc-slider__value { font-size: 22px; }
  .calc-out { padding: 22px; }
  .calc-out__num { font-size: clamp(2.75rem, 12vw, 4rem); }
  .calc-breakdown { gap: 14px; padding-top: 22px; margin-top: 22px; }
  .calc-breakdown__num { font-size: 20px; }

  /* Feature grid cards */
  .feat-card { padding: 22px; }
  .feat-card h3 { font-size: 16px; }
  .feat-card p { font-size: 13.5px; }

  /* Process */
  .process-card { padding: 22px; }
  .process-card__title { font-size: 17px; margin: 16px 0 4px; }
  .process-card__desc { font-size: 13.5px; }

  /* Testimonial */
  .testimonial { padding: 24px; gap: 20px; }
  .testimonial__quote { font-size: 17px !important; line-height: 1.5; }
  .testimonial--feature .testimonial__quote { font-size: 19px !important; }
  .testimonial-grid { gap: 14px; }

  /* Loyalty card */
  .loyalty-card { transform: rotate(-3deg); padding: 20px; }
  .loyalty-card__points { font-size: 2.25rem; }

  /* Tier ladder */
  .tier { padding: 22px; }
  .tier h4 { font-size: 16px; }

  /* Package builder */
  .pkg { gap: var(--s-5); }
  .pkg__summary { position: static; padding: 28px; }
  .pkg__estimate { font-size: 2.5rem; }
  .pkg__opt { padding: 16px; grid-template-columns: 44px 1fr auto; gap: 14px; }
  .pkg__ic { width: 44px; height: 44px; }
  .pkg__title { font-size: 15px; }
  .pkg__desc { font-size: 12.5px; }

  /* Timeline */
  .timeline { padding-left: 24px; }
  .timeline__item { padding-bottom: var(--s-8); }
  .timeline__item::before { left: -24px; width: 14px; height: 14px; border-width: 2.5px; }
  .timeline__title { font-size: 17px; }
  .timeline__desc { font-size: 14.5px; }

  /* Territory */
  .territory { aspect-ratio: 4/3; padding: 24px; }
  .territory__label h4 { font-size: 18px; }
  .territory__label p { font-size: 12.5px; }

  /* SERP */
  .serp__body { padding: 16px; }
  .serp__result--featured { padding: 16px; }
  .serp__title { font-size: 15px; }
  .serp__desc { font-size: 11.5px; }

  /* Case study card */
  .cs-card { padding: 24px; gap: 28px; }
  .cs-card__title { font-size: 22px; }
  .cs-card__metrics { padding: 20px; gap: 16px; }
  .cs-card__metric-num { font-size: 28px; }

  /* Mission */
  .mission { font-size: clamp(1.75rem, 8vw, 2.75rem); letter-spacing: -0.022em; }

  /* FAQ */
  .faq summary { font-size: 16px; gap: 14px; }
  .faq summary::after { width: 32px; height: 32px; }

  /* Marquee */
  .marquee__track { gap: 32px; }
  .marquee__item { font-size: 16px; }

  /* Forms */
  .form { padding: 24px; gap: 16px; }
  .form__row { gap: 12px; }
  .field input, .field textarea, .field select { padding: 12px; font-size: 16px; }
  .field label { font-size: 12.5px; }

  /* CTA final */
  .cta-final__actions { gap: 10px; }
  .cta-final__actions .btn--xl { width: 100%; max-width: 340px; }

  /* Footer */
  .footer { padding-top: 56px; }
  .footer__grid { gap: 32px; padding-bottom: 40px; }
  .footer__col h5 { font-size: 11px; }
  .footer__bottom { font-size: 12px; }

  /* Hide second page-hero orb on small — reduces visual noise */
  .page-hero, .mega-hero { isolation: isolate; }

  /* Phones inside tiles on stacked mobile */
  .tile-phone { --pw: 160px; }

  /* Chip */
  .chip { font-size: 11px; padding: 5px 12px; }

  /* Stat row dark */
  .stat-row-dark__num { font-size: clamp(2rem, 9vw, 2.5rem); }
  .stat-row-dark__label { font-size: 11.5px; }
}

/* Narrow phones */
@media (max-width: 420px) {
  .mega-hero h1 { font-size: clamp(2rem, 11vw, 2.5rem); }
  .nav__drawer-sub { grid-template-columns: 1fr; }
  .nav__drawer-links a { font-size: 19px; }
  .mega-hero__actions .btn--xl { font-size: 13.5px; padding: 0 14px; }
  .hero__actions .btn--xl { width: 100%; }
  .calc-breakdown { grid-template-columns: 1fr; text-align: left; }
  .calc-breakdown__item { display: flex; justify-content: space-between; align-items: baseline; }
  .stat-row-dark { grid-template-columns: 1fr 1fr; gap: 20px; }
  .pkg__opt { grid-template-columns: 40px 1fr auto; }
  .split-hero__num { font-size: 2.75rem; }
}

/* =============================================================
   HERO PHONE ORBIT — carousel: each phone rotates left → center → right
   ============================================================= */

@media (min-width: 900px) {
  .hero__device-wrap--orbit {
    position: relative;
    width: 100%;
    height: clamp(520px, 54vw, 660px);
    margin-top: clamp(48px, 8vh, 96px);
    display: block;
  }
  .hero__device-wrap--orbit .phone {
    position: absolute;
    top: 0;
    left: 50%;
    --pw: 280px;
    margin: 0;
    animation: phoneOrbit 12s linear infinite;
    will-change: transform, opacity;
  }
  .hero__device-wrap--orbit .phone:nth-child(1) { animation-delay: 0s; }
  .hero__device-wrap--orbit .phone:nth-child(2) { animation-delay: -4s; }
  .hero__device-wrap--orbit .phone:nth-child(3) { animation-delay: -8s; }
}

@keyframes phoneOrbit {
  /* LEFT slot — long dwell 0 → 30% (~3.6s) */
  0%, 30% {
    transform: translateX(calc(-50% - 200px)) translateY(28px) scale(0.8) rotate(-8deg);
    z-index: 1;
    opacity: 1;
    filter: brightness(0.9);
    animation-timing-function: cubic-bezier(0.7, 0.02, 0.2, 1);
  }
  /* CENTER slot — snap 30 → 33.33% (~0.4s), dwell 33.33 → 63.33% (~3.6s) */
  33.33%, 63.33% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    z-index: 3;
    opacity: 1;
    filter: brightness(1);
    animation-timing-function: cubic-bezier(0.7, 0.02, 0.2, 1);
  }
  /* RIGHT slot — snap 63.33 → 66.67% (~0.4s), dwell 66.67 → 96.67% (~3.6s) */
  66.67%, 96.67% {
    transform: translateX(calc(-50% + 200px)) translateY(28px) scale(0.8) rotate(8deg);
    z-index: 1;
    opacity: 1;
    filter: brightness(0.9);
    animation-timing-function: cubic-bezier(0.7, 0.02, 0.2, 1);
  }
  /* Quick arc back: dip below-behind */
  98.3% {
    transform: translateX(calc(-50% - 100px)) translateY(80px) scale(0.58) rotate(-6deg);
    z-index: 0;
    opacity: 0.75;
    filter: brightness(0.78);
    animation-timing-function: cubic-bezier(0.7, 0.02, 0.2, 1);
  }
  /* Arrive back at LEFT slot */
  100% {
    transform: translateX(calc(-50% - 200px)) translateY(28px) scale(0.8) rotate(-8deg);
    z-index: 1;
    opacity: 1;
    filter: brightness(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__device-wrap--orbit .phone { animation: none !important; }
  .hero__device-wrap--orbit .phone:nth-child(1) { transform: translateX(calc(-50% - 200px)) translateY(28px) scale(0.8) rotate(-8deg); }
  .hero__device-wrap--orbit .phone:nth-child(2) { transform: translateX(-50%); z-index: 3; }
  .hero__device-wrap--orbit .phone:nth-child(3) { transform: translateX(calc(-50% + 200px)) translateY(28px) scale(0.8) rotate(8deg); }
}

/* Mobile/tablet: keep the orbit, but scale the WHOLE carousel (frame + content
   together) via transform, so the in-screen content stays proportional to the
   frame instead of overflowing. --orbit-scale shrinks it to fit each width. */
@media (max-width: 899px) {
  .hero__device-wrap--orbit {
    position: relative;
    width: 100%;
    display: block;
    margin-top: clamp(8px, 3vh, 32px);
    height: calc(520px * var(--orbit-scale, 0.8));
  }
  /* Scale the whole carousel. Qualify with .reveal (the wrap always carries it)
     so this beats the generic .reveal / .reveal.is-in transform and the scale
     is never wiped when the entrance animation settles. */
  .hero__device-wrap--orbit.reveal,
  .hero__device-wrap--orbit.reveal.is-in {
    transform: scale(var(--orbit-scale, 0.8));
    transform-origin: top center;
  }
  .hero__device-wrap--orbit .phone--sm { display: block; }
  .hero__device-wrap--orbit .phone {
    position: absolute;
    top: 0;
    left: 50%;
    --pw: 250px;
    margin: 0;
    animation: phoneOrbit 12s linear infinite;
    will-change: transform, opacity;
  }
  .hero__device-wrap--orbit .phone:nth-child(1) { animation-delay: 0s; }
  .hero__device-wrap--orbit .phone:nth-child(2) { animation-delay: -4s; }
  .hero__device-wrap--orbit .phone:nth-child(3) { animation-delay: -8s; }
}
@media (max-width: 600px) { .hero__device-wrap--orbit { --orbit-scale: 0.62; } }
@media (max-width: 430px) { .hero__device-wrap--orbit { --orbit-scale: 0.54; } }

/* ===== Video testimonial (Frank · Kosho Sushi) ===== */
.video-story {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(245,166,35,0.08), transparent 60%),
    radial-gradient(900px 500px at 90% 100%, rgba(23,34,58,0.05), transparent 60%),
    var(--bg);
}
.video-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.video-story__player {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--ink-800);
  aspect-ratio: 1 / 1;
}
.video-story__player::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(closest-side, rgba(245,166,35,0.25), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.video-story__player wistia-player {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.video-story__copy { max-width: 540px; }
.video-story__head {
  margin-top: var(--s-4);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.video-story__head .muted { color: var(--fg-2); }
.video-story__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border-subtle);
}
.video-story__author .testimonial__avatar {
  width: 52px;
  height: 52px;
  font-size: 16px;
  flex: none;
}
.video-story__stars { font-size: 13px; margin-bottom: 2px; }
.video-story__name { font-weight: 700; font-size: 15px; letter-spacing: -0.005em; }
.video-story__role { font-size: 13px; color: var(--fg-2); margin-top: 2px; }
.video-story__cta {
  display: flex;
  gap: var(--s-4);
  margin-top: var(--s-6);
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .video-story__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .video-story__copy { max-width: 100%; }
  .video-story__player { max-width: 500px; margin: 0 auto; width: 100%; }
}

.section-foot { }

/* ===== Featured case study (Pho Hung) ===== */
.case-feature {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--bg-muted);
}
.case-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
}
.case-feature__photo {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}
.case-feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms var(--ease);
}
.case-feature__photo:hover img { transform: scale(1.02); }
.case-feature__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23,34,58,0.35));
  pointer-events: none;
}
.case-feature__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(23, 34, 58, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,0.1);
}
.case-feature__pin { font-size: 14px; }

.case-feature__body { max-width: 560px; }
.case-feature__head {
  margin-top: var(--s-4);
  line-height: 1.08;
  letter-spacing: -0.022em;
}
.case-feature__head .muted { color: var(--fg-2); }

.case-feature__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-8);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.case-feature__metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-feature__num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink-800);
  font-variation-settings: "opsz" 32;
}
.case-feature__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-600);
}
.case-feature__sub {
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.4;
}

.case-feature__cta {
  display: flex;
  gap: var(--s-4);
  margin-top: var(--s-7);
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .case-feature__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .case-feature__body { max-width: 100%; }
  .case-feature__photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .case-feature__metrics {
    grid-template-columns: 1fr;
    gap: var(--s-4);
    padding: var(--s-5) 0;
  }
}

/* ===== Integrations ===== */
.integrations {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--bg);
}
.integrations__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  max-width: 940px;
  margin: var(--s-10) auto 0;
}
.integrations__group {
  padding: clamp(20px, 2.5vw, 28px) clamp(20px, 3vw, 36px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  background: var(--bg-muted);
}
.integrations__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: var(--s-5);
  text-align: center;
}
.integrations__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  align-items: center;
}
.integration {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.integration:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.integration img {
  max-width: 100%;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.integrations__foot {
  text-align: center;
  margin-top: var(--s-8);
  font-size: 14px;
  color: var(--fg-2);
}
.integrations__foot a {
  color: var(--ink-800);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: border-color var(--dur-base) var(--ease);
}
.integrations__foot a:hover { border-color: var(--amber-500); }

@media (max-width: 600px) {
  .integrations__row { grid-template-columns: repeat(2, 1fr); }
  .integration { height: 68px; padding: 12px 14px; }
  .integration img { max-height: 26px; }
}

/* ===== Three surfaces (App / Tablet / Dashboard) ===== */
.surfaces {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-muted);
}
.surfaces__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: var(--s-10);
}
.surface {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), border-color var(--dur-base) var(--ease);
}
.surface:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border);
}
.surface__viz {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.surface__viz::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.surface__viz--app::before {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(245,166,35,0.18), transparent 70%),
    linear-gradient(180deg, #FFF7E8, #FFF);
}
.surface__viz--tablet::before {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(23,34,58,0.06), transparent 70%),
    linear-gradient(180deg, #F1EFEC, #FFF);
}
.surface__viz--dash::before {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(23,34,58,0.18), transparent 70%),
    linear-gradient(180deg, #1F2C46, #17223A);
}
.surface__body {
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.surface__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber-600);
}
.surface__title {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 2px 0 4px;
  color: var(--ink-800);
}
.surface__copy {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  flex: 1;
}
.surface .link-arrow { margin-top: 8px; font-size: 13px; }

/* App phone mockup */
.surface-phone {
  position: relative;
  z-index: 1;
  width: 220px;
  border-radius: 32px;
  background: linear-gradient(180deg, #1a1a1a, #000);
  padding: 7px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1.5px #000,
    0 24px 60px -16px rgba(15,24,41,0.45),
    0 8px 20px -6px rgba(15,24,41,0.2);
}
.surface-phone__notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 16px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.surface-phone__screen {
  background: #FBF9F6;
  border-radius: 26px;
  padding: 36px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 320px;
  overflow: hidden;
}
.surface-phone__toggle {
  display: flex;
  gap: 2px;
  background: rgba(15,24,41,0.05);
  padding: 3px;
  border-radius: 999px;
}
.surface-phone__toggle span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--fg-2);
  padding: 5px;
  border-radius: 999px;
}
.surface-phone__toggle .is-active {
  background: var(--ink-800);
  color: #fff;
}
.surface-phone__banner {
  position: relative;
  height: 52px;
  border-radius: 12px;
  padding: 8px 10px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15,24,41,0) 30%, rgba(15,24,41,0.8)),
    linear-gradient(135deg, #2a3b5e, var(--ink-800));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  isolation: isolate;
}
.surface-phone__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 80% 20%, rgba(245,166,35,0.45), transparent 60%);
  z-index: -1;
}
.surface-phone__chip-mini {
  position: absolute;
  top: 6px; left: 8px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 999px;
}
.surface-phone__banner-title { font-size: 13px; font-weight: 700; line-height: 1; }
.surface-phone__points {
  background: var(--ink-800);
  color: #fff;
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.surface-phone__points::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 100% 0%, rgba(245,166,35,0.18), transparent 60%);
  pointer-events: none;
}
.surface-phone__points-num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--amber-300);
  position: relative;
}
.surface-phone__points-num small {
  font-family: var(--font-sans), system-ui, sans-serif;
  font-style: normal;
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  margin-left: 2px;
  font-weight: 600;
}
.surface-phone__points-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  position: relative;
}
.surface-phone__points-bar {
  position: relative;
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
  max-width: 60px;
}
.surface-phone__points-bar i {
  display: block;
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--amber-400), var(--amber-300));
  border-radius: 999px;
}
.surface-phone__item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 8px 10px;
}
.surface-phone__item-thumb {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.surface-phone__item-thumb--alt {
  background: linear-gradient(135deg, #FFD79A, #F5A623);
}
.surface-phone__item-body { flex: 1; min-width: 0; }
.surface-phone__item-title { font-size: 12px; font-weight: 600; color: var(--ink-800); }
.surface-phone__item-meta { font-size: 10px; color: var(--fg-2); margin-top: 1px; }
.surface-phone__item-price { font-size: 12px; font-weight: 700; color: var(--ink-800); }

/* Tablet mockup */
.surface-tablet {
  position: relative;
  z-index: 1;
  width: 360px;
  height: 260px;
  background: #fff;
  border: 1.5px solid #2A2F38;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 60px -16px rgba(15,24,41,0.4),
    0 8px 20px -6px rgba(15,24,41,0.18);
}
.surface-tablet__bar {
  background: var(--ink-800);
  color: #fff;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.surface-tablet__crumb { font-weight: 600; letter-spacing: 0.02em; }
.surface-tablet__pill {
  background: rgba(245,166,35,0.18);
  color: var(--amber-300);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}
.surface-tablet__body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.surface-tablet__search {
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--fg-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.surface-tablet__profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-muted);
  border-radius: 8px;
}
.surface-tablet__avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--amber-400);
  color: var(--ink-800);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.surface-tablet__name { font-size: 13px; font-weight: 700; color: var(--ink-800); }
.surface-tablet__sub { font-size: 10px; color: var(--fg-2); margin-top: 1px; }
.surface-tablet__points {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-700);
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  padding: 4px 10px;
}
.surface-tablet__redeem {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.surface-tablet__redeem-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 11px;
}
.surface-tablet__redeem-label { color: var(--ink-800); font-weight: 500; }
.surface-tablet__redeem-status { color: var(--fg-2); font-size: 10px; }
.surface-tablet__redeem-row--active {
  background: var(--ink-800);
  border-color: var(--ink-800);
}
.surface-tablet__redeem-row--active .surface-tablet__redeem-label { color: #fff; }
.surface-tablet__redeem-cta { color: var(--amber-300); font-weight: 700; font-size: 10px; }

/* Dashboard mockup */
.surface-dash {
  position: relative;
  z-index: 1;
  width: 360px;
  height: 260px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 24px 60px -16px rgba(15,24,41,0.5),
    0 8px 20px -6px rgba(15,24,41,0.25);
}
.surface-dash__bar {
  background: #F1EFEC;
  border-bottom: 1px solid var(--border-subtle);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.surface-dash__dots { display: inline-flex; gap: 4px; }
.surface-dash__dots i {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #D8D5D0;
}
.surface-dash__dots i:nth-child(1) { background: #FF5F57; }
.surface-dash__dots i:nth-child(2) { background: #FFBD2E; }
.surface-dash__dots i:nth-child(3) { background: #28C941; }
.surface-dash__url {
  font-size: 10px;
  color: var(--fg-2);
  background: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  flex: 1;
  text-align: center;
}
.surface-dash__body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.surface-dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.surface-dash__kpi {
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px;
}
.surface-dash__kpi-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.surface-dash__kpi-num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-800);
  margin-top: 4px;
  line-height: 1;
}
.surface-dash__kpi-delta {
  font-size: 10px;
  font-weight: 600;
  color: #1F8F4E;
  margin-top: 2px;
}
.surface-dash__chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 4px;
  height: 80px;
  padding: 4px 4px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.surface-dash__chart span {
  background: linear-gradient(180deg, var(--amber-400), var(--amber-600));
  border-radius: 3px 3px 0 0;
  height: var(--h);
  min-height: 4px;
}
.surface-dash__legend {
  font-size: 8px;
  color: var(--fg-2);
  text-align: center;
  letter-spacing: 0.04em;
}

@media (max-width: 1080px) {
  .surfaces__grid { grid-template-columns: 1fr; gap: var(--s-5); max-width: 720px; margin: var(--s-10) auto 0; }
  .surface { flex-direction: row; align-items: stretch; }
  .surface__viz { width: 320px; height: auto; flex-shrink: 0; }
  .surface__body { flex: 1; padding: 28px; }
  .surface-phone { width: 200px; }
  .surface-phone__screen { height: 290px; }
  .surface-tablet, .surface-dash { width: 280px; height: 200px; }
}
@media (max-width: 720px) {
  .surface { flex-direction: column; }
  .surface__viz { width: 100%; height: 360px; }
  .surface-phone { width: 220px; }
  .surface-phone__screen { height: 320px; }
  .surface-tablet, .surface-dash { width: 320px; height: 230px; }
}
@media (max-width: 420px) {
  .surface__viz { height: 320px; }
  .surface-phone { width: 200px; }
  .surface-phone__screen { height: 290px; }
  .surface-tablet, .surface-dash { width: 280px; height: 200px; }
}

/* ===== Tablet hero (solutions-tablet.html) ===== */
.tablet-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tablet-hero__bezel {
  width: 100%;
  max-width: 520px;
  background: #111;
  border-radius: 28px;
  padding: 14px;
  box-shadow:
    0 30px 80px -20px rgba(15,24,41,0.5),
    0 12px 30px -10px rgba(15,24,41,0.3),
    0 0 0 1.5px #000;
}
.tablet-hero__screen {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}
.tablet-hero__bar {
  background: var(--ink-800);
  color: #fff;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.tablet-hero__crumb { font-weight: 600; letter-spacing: 0.02em; }
.tablet-hero__pill {
  background: rgba(245,166,35,0.18);
  color: var(--amber-300);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tablet-hero__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.tablet-hero__search {
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--fg-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tablet-hero__search-ic { font-size: 14px; opacity: 0.6; }
.tablet-hero__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-muted);
  border-radius: 10px;
}
.tablet-hero__avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--amber-400);
  color: var(--ink-800);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.tablet-hero__profile-body { flex: 1; min-width: 0; }
.tablet-hero__name { font-size: 15px; font-weight: 700; color: var(--ink-800); }
.tablet-hero__sub { font-size: 11.5px; color: var(--fg-2); margin-top: 3px; }
.tablet-hero__points {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-700);
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  padding: 6px 12px;
  flex-shrink: 0;
}
.tablet-hero__redeem { display: flex; flex-direction: column; gap: 6px; }
.tablet-hero__redeem-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 12px;
}
.tablet-hero__redeem-row--active {
  background: var(--ink-800);
  border-color: var(--ink-800);
}
.tablet-hero__redeem-pts {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--fg-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}
.tablet-hero__redeem-pts.is-active {
  background: var(--amber-400);
  color: var(--ink-800);
}
.tablet-hero__redeem-body { flex: 1; min-width: 0; }
.tablet-hero__redeem-title { font-size: 13px; font-weight: 600; color: var(--ink-800); }
.tablet-hero__redeem-row--active .tablet-hero__redeem-title { color: #fff; }
.tablet-hero__redeem-meta { font-size: 10.5px; color: var(--fg-2); margin-top: 2px; }
.tablet-hero__redeem-row--active .tablet-hero__redeem-meta { color: rgba(255,255,255,0.55); }
.tablet-hero__redeem-status { font-size: 10.5px; color: var(--fg-2); font-weight: 600; }
.tablet-hero__redeem-cta { font-size: 11px; color: var(--amber-300); font-weight: 700; }
.tablet-hero__stand {
  width: 80px;
  height: 14px;
  background: linear-gradient(180deg, #2a2a2a, #111);
  margin-top: -2px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 20px -6px rgba(15,24,41,0.3);
}

/* ===== Dashboard hero (solutions-analytics.html) ===== */
.dash-hero {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(15,24,41,0.55),
    0 12px 30px -10px rgba(15,24,41,0.3);
}
.dash-hero__bar {
  background: #F1EFEC;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-hero__dots { display: inline-flex; gap: 5px; }
.dash-hero__dots i {
  width: 10px; height: 10px;
  border-radius: 999px;
}
.dash-hero__dots i:nth-child(1) { background: #FF5F57; }
.dash-hero__dots i:nth-child(2) { background: #FFBD2E; }
.dash-hero__dots i:nth-child(3) { background: #28C941; }
.dash-hero__url {
  font-size: 12px;
  color: var(--fg-2);
  background: #fff;
  padding: 5px 14px;
  border-radius: 8px;
  flex: 1;
  text-align: center;
  border: 1px solid var(--border-subtle);
}
.dash-hero__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dash-hero__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}
.dash-hero__head-title { font-size: 18px; font-weight: 700; color: var(--ink-800); letter-spacing: -0.012em; }
.dash-hero__head-sub { font-size: 12px; color: var(--fg-2); margin-top: 2px; }
.dash-hero__filter {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-800);
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 5px 12px;
}
.dash-hero__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.dash-hero__kpi {
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
}
.dash-hero__kpi-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.dash-hero__kpi-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-800);
  margin-top: 6px;
  font-variation-settings: "opsz" 32;
  line-height: 1;
}
.dash-hero__kpi-delta {
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
}
.dash-hero__kpi-delta.is-up { color: #1F8F4E; }
.dash-hero__kpi-delta.is-down { color: #C44A2B; }
.dash-hero__chart-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash-hero__chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-hero__chart-title { font-size: 12px; font-weight: 700; color: var(--ink-800); }
.dash-hero__chart-legend { font-size: 10px; color: var(--fg-2); display: inline-flex; gap: 10px; }
.dash-hero__chart-legend i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: middle;
}
.dash-hero__chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 6px;
  height: 110px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.dash-hero__chart-bar {
  background: linear-gradient(180deg, var(--amber-400), var(--amber-600));
  border-radius: 4px 4px 0 0;
  height: var(--h);
  position: relative;
}
.dash-hero__chart-legend-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 9.5px;
  color: var(--fg-2);
  text-align: center;
}
.dash-hero__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-hero__row {
  display: grid;
  grid-template-columns: 1fr 80px 70px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--bg-muted);
  border-radius: 8px;
  font-size: 12px;
}
.dash-hero__row-name { color: var(--ink-800); font-weight: 600; }
.dash-hero__row-num { color: var(--ink-800); font-weight: 700; text-align: right; }
.dash-hero__row-delta { font-size: 11px; font-weight: 700; text-align: right; }
.dash-hero__row-delta.is-up { color: #1F8F4E; }
.dash-hero__row-delta.is-down { color: #C44A2B; }

@media (max-width: 720px) {
  .tablet-hero__bezel { padding: 10px; }
  .tablet-hero__bar { padding: 9px 13px; font-size: 11px; }
  .tablet-hero__body { padding: 12px; gap: 8px; }
  .tablet-hero__name { font-size: 13px; }
  .tablet-hero__sub { font-size: 10px; }
  .dash-hero__body { padding: 14px; gap: 12px; }
  .dash-hero__head-title { font-size: 16px; }
  .dash-hero__kpi-num { font-size: 18px; }
  .dash-hero__chart { height: 80px; }
}
