/* =====================================================================
   SalonFlow Product Overview — standalone sales & explainer site
   Palette: ivory · charcoal · rose · nude · gold  |  Fonts: Inter + Manrope
   ===================================================================== */

:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', ui-sans-serif, system-ui, sans-serif;

  --bg: #fbf8f4;
  --bg-subtle: #f5efe8;
  --bg-sunken: #efe7de;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-2: #3a3431;
  --muted: #6f6660;
  --faint: #a29a93;
  --line: #ece4db;
  --line-strong: #ddd2c6;

  --rose: #b76e79;
  --rose-600: #9a5560;
  --rose-700: #7e4450;
  --rose-50: #faf1f2;
  --rose-100: #f3e1e3;
  --nude: #e8d5c4;
  --nude-50: #f7efe7;
  --gold: #b08d4f;
  --gold-50: #f8f2e6;
  --success: #2f7a55;
  --success-50: #eaf5ee;
  --danger: #b4392f;
  --danger-50: #fbecea;
  --info: #3a679b;
  --info-50: #ebf1f8;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06), 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow: 0 10px 30px -10px rgba(28, 25, 23, 0.14), 0 2px 8px -2px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 34px 70px -24px rgba(28, 25, 23, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 8px;
}
.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 200;
  transition: top 0.2s;
}
.skip:focus {
  top: 12px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}
.section {
  padding: 112px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-subtle);
}
.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-dark .muted,
.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-600);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section-dark .eyebrow {
  color: var(--nude);
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .eyebrow::before {
  display: none;
}
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin-top: 14px;
}
.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.grad {
  background: linear-gradient(100deg, var(--rose-600) 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-dark .grad {
  background: linear-gradient(100deg, #e6a3ad 10%, var(--nude) 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(28, 25, 23, 0.5);
}
.btn-primary:hover {
  background: #000;
}
.btn-rose {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(183, 110, 121, 0.7);
}
.btn-rose:hover {
  background: var(--rose-600);
}
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn-sm {
  height: 42px;
  padding: 0 20px;
  font-size: 14.5px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 248, 244, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
}
.brand-mark svg {
  width: 24px;
  height: 24px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover {
  background: var(--bg-sunken);
}
.nav-links a.active {
  background: var(--ink);
  color: #fff;
}
.nav-cta {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  place-items: center;
}
.progress-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--rose), var(--gold));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 96px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  right: -260px;
  top: -300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 213, 196, 0.85), rgba(232, 213, 196, 0));
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  left: -240px;
  bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(183, 110, 121, 0.16), rgba(183, 110, 121, 0));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 600;
}
.hero-badge span {
  background: var(--rose-50);
  color: var(--rose-600);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(42px, 10.5vw, 112px);
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin-top: 26px;
}
.hero .tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.hero .lead {
  margin-top: 20px;
  font-size: 18.5px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
}
.hero-proof div {
  display: flex;
  flex-direction: column;
}
.hero-proof strong {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.03em;
}
.hero-proof span {
  font-size: 13.5px;
  color: var(--muted);
}

/* device mockups */
.stage {
  position: relative;
  min-height: 540px;
}
.browser {
  position: absolute;
  inset: 20px 0 auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.browser-bar i:nth-child(1) {
  background: #e8a39b;
}
.browser-bar i:nth-child(2) {
  background: #e8cf8f;
}
.browser-bar i:nth-child(3) {
  background: #a9cfa0;
}
.browser-bar span {
  margin-left: 10px;
  flex: 1;
  background: var(--surface);
  border-radius: 8px;
  padding: 3px 12px;
  font-size: 11.5px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 330px;
}
.dash-side {
  background: var(--ink);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-side b {
  display: block;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}
.dash-side b:first-child {
  background: var(--rose);
}
.dash-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.kpi small {
  display: block;
  color: var(--faint);
  font-size: 10.5px;
}
.kpi strong {
  font-family: var(--font-display);
  font-size: 18px;
}
.kpi em {
  font-style: normal;
  color: var(--success);
  font-size: 10.5px;
  font-weight: 600;
}
.dash-chart {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 130px;
}
.dash-chart span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--rose), #d9a2aa);
  height: var(--h);
  transform-origin: bottom;
  animation: grow 1.2s var(--ease) both;
}
.dash-chart span:nth-child(even) {
  background: linear-gradient(180deg, #2f6fb0, #8fb4dc);
}
@keyframes grow {
  from {
    transform: scaleY(0.05);
  }
}
.phone {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 232px;
  aspect-ratio: 9 / 18.5;
  background: #0f0d0c;
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 29px;
  background: var(--bg);
  padding: 26px 11px 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.phone-screen small {
  color: var(--muted);
  font-size: 10px;
}
.phone-screen h4 {
  font-size: 15px;
  line-height: 1.15;
}
.pcard {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.pcard img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  background: var(--bg-sunken);
}
.pcard div {
  padding: 7px 9px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
}
.pcard b {
  font-weight: 700;
}
.pcard span {
  color: var(--muted);
}
.phone-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.phone-tabs i {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--line-strong);
}
.phone-tabs i:first-child {
  background: var(--ink);
}
.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.float-chip .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.float-chip strong {
  display: block;
  font-size: 13px;
}
.float-chip small {
  color: var(--muted);
  font-size: 11.5px;
}
.fc-a {
  left: -22px;
  top: 250px;
}
.fc-a .ic {
  background: var(--success-50);
  color: var(--success);
}
.fc-b {
  right: 120px;
  top: -6px;
  animation-delay: -3s;
}
.fc-b .ic {
  background: var(--gold-50);
  color: var(--gold);
}
@keyframes float {
  50% {
    transform: translateY(-9px);
  }
}

/* ---------- What is SalonFlow ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.pillar .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--rose-50);
  color: var(--rose-600);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 22px;
}
.pillar p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 30px 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.04em;
}
.stat span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Product cards (Single / Multi) ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.product.reverse .product-copy {
  order: 2;
}
.product-copy h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  margin-top: 14px;
}
.product-copy > p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}
.section-dark .product-copy > p {
  color: rgba(255, 255, 255, 0.74);
}
.checks {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}
.checks .i {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--success-50);
  color: var(--success);
  margin-top: 1px;
}
.section-dark .checks .i {
  background: rgba(255, 255, 255, 0.1);
  color: var(--nude);
}
.apps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.app-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  margin-bottom: 14px;
}
.app-card:nth-child(2) .ic {
  background: var(--rose);
}
.app-card:nth-child(3) .ic {
  background: var(--gold);
}
.app-card:nth-child(4) .ic {
  background: #2f6fb0;
}
.app-card h4 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.app-card p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.app-card code,
code.port {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  background: var(--bg-subtle);
  border-radius: 8px;
  padding: 3px 9px;
  color: var(--ink-2);
}
.section-dark .app-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.section-dark .app-card p {
  color: rgba(255, 255, 255, 0.65);
}
.section-dark .app-card code {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.demo-tag {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px dashed #dcc9a2;
  background: var(--gold-50);
  border-radius: 16px;
  font-size: 14.5px;
}
.section-dark .demo-tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Comparison table ---------- */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.compare {
  width: 100%;
  border-collapse: collapse;
}
.compare th,
.compare td {
  padding: 18px 26px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.compare thead th {
  font-family: var(--font-display);
  font-size: 17px;
  background: var(--bg-subtle);
  position: sticky;
  top: 0;
}
.compare thead th small {
  display: block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.compare tbody tr:last-child td,
.compare tbody tr:last-child th {
  border-bottom: 0;
}
.compare tbody th {
  font-weight: 600;
}
.compare tbody tr:hover {
  background: var(--nude-50);
}
.compare tr.only th::after {
  content: 'Marketplace';
  margin-left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-600);
  background: var(--rose-50);
  padding: 3px 8px;
  border-radius: 999px;
}
.yes,
.no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.yes .i,
.no .i {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
}
.yes .i {
  background: var(--success-50);
  color: var(--success);
}
.no {
  color: var(--faint);
  font-weight: 500;
}
.no .i {
  background: var(--bg-sunken);
  color: var(--faint);
}

/* ---------- Journeys ---------- */
.segmented {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-sunken);
  border-radius: 999px;
  gap: 2px;
  margin-bottom: 36px;
}
.segmented button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.segmented button[aria-selected='true'] {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.journey {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.journey-aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.journey-aside h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-top: 14px;
}
.journey-aside p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}
.journey-photo {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-sunken);
  box-shadow: var(--shadow);
}
.journey-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.steps {
  position: relative;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(var(--rose), var(--line) 90%);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 18px 20px 18px 0;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px solid var(--rose);
  color: var(--rose-600);
  font-family: var(--font-display);
  font-weight: 800;
  z-index: 1;
  transition: background 0.3s, color 0.3s;
}
.step:hover::before {
  background: var(--rose);
  color: #fff;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.step:hover .step-card {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.step-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.step-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--ink-2);
}
.tag.rose {
  background: var(--rose-50);
  color: var(--rose-700);
}
.tag.gold {
  background: var(--gold-50);
  color: #7a5d27;
}
.tag.green {
  background: var(--success-50);
  color: var(--success);
}
.tag.blue {
  background: var(--info-50);
  color: var(--info);
}
.tag.red {
  background: var(--danger-50);
  color: var(--danger);
}
[hidden] {
  display: none !important;
}

/* ---------- Booking workflow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.flow-node {
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
  color: #fff;
}
.flow-node:hover {
  transform: translateY(-4px);
}
.flow-node[aria-selected='true'] {
  background: var(--rose);
  border-color: var(--rose);
  box-shadow: 0 18px 40px -16px rgba(183, 110, 121, 0.8);
}
.flow-node:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -13px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}
.flow-node .n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-weight: 800;
}
.flow-node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
}
.flow-node small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12.5px;
}
.flow-detail {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.panel h3 {
  font-size: 22px;
}
.panel p {
  margin-top: 10px;
  font-size: 15.5px;
}
.exit-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.pill.warn {
  color: #f1c978;
}
.pill.bad {
  color: #f0968c;
}
.pill.info {
  color: #8fb4dc;
}
.engine {
  margin-top: 4px;
  display: grid;
  gap: 10px;
}
.engine li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}
.engine .i {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--nude);
  margin-top: 1px;
}

/* ---------- Payments ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.pay-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 34px;
}
.pay-card h3 {
  font-size: 26px;
}
.pay-card > p {
  margin-top: 8px;
  color: var(--muted);
}
.money-flow {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.money-node {
  flex: 1;
  min-width: 96px;
  text-align: center;
  padding: 14px 10px;
  border-radius: 16px;
  background: var(--bg-subtle);
  font-weight: 600;
  font-size: 14px;
}
.money-node small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}
.money-node.hi {
  background: var(--ink);
  color: #fff;
}
.money-node.hi small {
  color: rgba(255, 255, 255, 0.65);
}
.money-flow .arrow {
  color: var(--faint);
}
.calc {
  margin-top: 28px;
  padding: 22px;
  background: var(--bg-subtle);
  border-radius: 18px;
}
.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.calc label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.calc input[type='number'] {
  width: 100%;
  margin-top: 6px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  padding: 0 14px;
  font: inherit;
  font-weight: 600;
}
.calc input[type='range'] {
  width: 100%;
  margin-top: 14px;
  accent-color: var(--rose);
}
.calc-result {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.calc-result div {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}
.calc-result small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.calc-result strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.calc-result .vendor strong {
  color: var(--success);
}
.calc-result .platform strong {
  color: var(--rose-600);
}
.pay-features {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.mini {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.mini .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--rose-50);
  color: var(--rose-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mini strong {
  display: block;
  font-size: 14.5px;
}
.mini span {
  font-size: 13px;
  color: var(--muted);
}
.cards-demo {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.test-card {
  flex: 1;
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
}
.test-card strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.test-card.ok span {
  color: var(--success);
}
.test-card.fail span {
  color: var(--danger);
}
.payout-flow {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* ---------- Reports ---------- */
.report-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}
.report-grid-alt {
  margin-top: 18px;
  grid-template-columns: 1fr 1.4fr;
}
.report-grid > * {
  min-width: 0;
}
.chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.chart-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.chart-card small {
  color: var(--muted);
  font-size: 13px;
}
.chart-card svg {
  width: 100%;
  height: auto;
  margin-top: 14px;
}
.chart-card .area {
  fill: url(#areaGrad);
}
.chart-card .line {
  fill: none;
  stroke: var(--rose);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}
.in-view .line {
  animation: draw 2s var(--ease) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.grid-line {
  stroke: var(--line);
  stroke-width: 1;
}
.axis {
  fill: var(--faint);
  font-size: 11px;
  font-family: var(--font-sans);
}
.bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.bar-row {
  display: grid;
  grid-template-columns: 112px 1fr 44px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.bar-row .track {
  height: 10px;
  border-radius: 99px;
  background: var(--bg-sunken);
  overflow: hidden;
}
.bar-row .fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--rose), #d9a2aa);
  transition: width 1.4s var(--ease);
}
.in-view .bar-row .fill {
  width: var(--w);
}
.bar-row b {
  text-align: right;
}
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 14px;
}
.donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(#c2547a 0 38%, #2f6fb0 38% 62%, #b27c12 62% 80%, #7a55b5 80% 92%, #008c7a 92% 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.donut::after {
  content: '';
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--surface);
}
.legend {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.report-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.report-list .col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.report-list h4 {
  font-size: 17px;
  margin-bottom: 14px;
}
.report-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.report-list li:last-child {
  border-bottom: 0;
}
.report-list .i {
  color: var(--rose-600);
  width: 18px;
  height: 18px;
}

/* ---------- Mobile apps ---------- */
.mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.mobile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 26px;
  align-items: center;
  overflow: hidden;
}
.mobile-card h3 {
  font-size: 26px;
}
.mobile-card > div > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.tab-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-card .phone {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  transition: transform 0.5s var(--ease);
}
.mobile-card:hover .phone {
  transform: rotate(0);
}
.screens {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.screens li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.screens .i {
  width: 14px;
  height: 14px;
  color: var(--rose);
}
.mobile-notes {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ---------- Admin panels ---------- */
.admin-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}
.admin-nav {
  display: grid;
  gap: 8px;
}
.admin-nav button {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.admin-nav button strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
}
.admin-nav button span {
  font-size: 13px;
  color: var(--muted);
}
.admin-nav button[aria-selected='true'] {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink), var(--shadow);
  transform: translateX(4px);
}
.admin-view {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 460px;
}
.admin-sidebar {
  background: var(--ink);
  color: #fff;
  padding: 20px 14px;
  overflow: hidden;
}
.admin-sidebar {
  max-height: 560px;
  -webkit-mask-image: linear-gradient(#000 84%, transparent);
  mask-image: linear-gradient(#000 84%, transparent);
}
.admin-sidebar .brand {
  font-size: 15px;
  margin-bottom: 14px;
  color: #fff;
}
.admin-sidebar .brand-mark {
  background: #fff;
  width: 32px;
  height: 32px;
}
.nav-group {
  margin-top: 12px;
}
.nav-group b {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
  padding-left: 8px;
}
.nav-group span {
  display: block;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}
.nav-group span.on {
  background: var(--rose);
  color: #fff;
}
.admin-body {
  padding: 28px;
}
.admin-body h3 {
  font-size: 24px;
}
.admin-body > p {
  margin-top: 8px;
  color: var(--muted);
}
.admin-feats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.admin-feats .mini {
  padding: 12px 14px;
}
.table-demo {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
}
.table-demo div {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr;
  gap: 8px;
  padding: 10px 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.table-demo div:first-child {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table-demo div:last-child {
  border-bottom: 0;
}

/* ---------- API architecture ---------- */
.arch {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.arch-root {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.16em;
  background: var(--ink);
  color: #fff;
  padding: 14px 34px;
  border-radius: 14px;
}
.arch-split {
  position: relative;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 940px;
}
.arch-split::before {
  content: '';
  position: absolute;
  left: 25%;
  right: 25%;
  top: -22px;
  height: 22px;
  border: 2px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}
.arch-split::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -40px;
  height: 18px;
  width: 2px;
  background: var(--line-strong);
}
.arch-col {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  background: var(--bg);
}
.arch-col h4 {
  font-size: 17px;
  letter-spacing: 0.12em;
}
.arch-clients {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.arch-clients span {
  padding: 10px 6px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13.5px;
}
.arch-link {
  height: 22px;
  width: 2px;
  background: var(--line-strong);
  margin: 6px auto;
}
.arch-box {
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}
.arch-box.api {
  background: var(--rose-50);
  color: var(--rose-700);
}
.arch-box.db {
  background: var(--info-50);
  color: var(--info);
}
.api-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
pre.code {
  margin: 0;
  background: #14110f;
  color: #f1e9e1;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
pre.code .k {
  color: #e6a3ad;
}
pre.code .s {
  color: #a9cfa0;
}
pre.code .c {
  color: #8c8179;
}
.endpoints {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.endpoints h4 {
  font-size: 17px;
}
.endpoints .tag-row {
  margin-top: 14px;
}
.endpoints p {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.sec-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ---------- Technology ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.tech-col .ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--rose-50);
  color: var(--rose-600);
  margin-bottom: 14px;
}
.tech-col h3 {
  font-size: 22px;
}
.chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--bg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.why-card::after {
  content: attr(data-n);
  position: absolute;
  right: 18px;
  top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 70px;
  color: var(--bg-sunken);
  line-height: 1;
}
.why-card .ic {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.why-card h3 {
  position: relative;
  z-index: 1;
  font-size: 21px;
}
.why-card p {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 96px 0;
}
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 72px 56px;
  background: linear-gradient(135deg, #2a2320, var(--ink) 60%);
  color: #fff;
  text-align: center;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(183, 110, 121, 0.45), transparent);
}
.cta-box > * {
  position: relative;
}
.cta-box h2 {
  font-size: clamp(34px, 5vw, 60px);
  max-width: 820px;
  margin: 14px auto 0;
}
.cta-box > p {
  max-width: 600px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}
.cta-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.demo-table {
  margin: 48px auto 0;
  max-width: 880px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14px;
}
.demo-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.4fr;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}
.demo-row:last-child {
  border-bottom: 0;
}
.demo-row.head {
  background: rgba(255, 255, 255, 0.07);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}
.demo-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--nude);
  text-decoration: none;
}
.demo-open:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-open .i {
  width: 14px;
  height: 14px;
}
.cta-secondary {
  margin-top: 14px;
}
.live-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.demo-row code {
  font-size: 13px;
  color: var(--nude);
}
.quick {
  margin: 28px auto 0;
  max-width: 880px;
  text-align: left;
}

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 36px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer p {
  margin-top: 16px;
  max-width: 340px;
  color: var(--muted);
  font-size: 14.5px;
}
.footer h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.footer li {
  margin-bottom: 9px;
  font-size: 14.5px;
}
.footer li a {
  color: var(--ink-2);
}
.footer li a:hover {
  color: var(--rose-600);
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 14px;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .pillars,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-notes {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 960px) {
  .section {
    padding: 80px 0;
  }
  .hero-grid,
  .product,
  .journey,
  .report-grid,
  .pay-grid,
  .mobile-grid,
  .admin-wrap,
  .api-grid,
  .flow-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .product.reverse .product-copy {
    order: 0;
  }
  .stage {
    min-height: 520px;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .journey-aside {
    position: static;
  }
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-node:not(:last-child)::after {
    display: none;
  }
  .flow-node {
    display: grid;
    grid-template-columns: 52px 1fr;
    text-align: left;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
  }
  .flow-node .n {
    margin: 0;
  }
  .admin-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-nav button[aria-selected='true'] {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }
  .arch-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .arch-split::before,
  .arch-split::after {
    display: none;
  }
  .mobile-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .mobile-card .phone {
    max-width: 220px;
    margin-inline: auto;
  }
  .admin-view {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-sidebar {
    display: none;
  }
  .admin-nav {
    grid-template-columns: minmax(0, 1fr);
  }
  .report-list,
  .apps,
  .pay-features,
  .admin-feats,
  .calc-inputs {
    grid-template-columns: minmax(0, 1fr);
  }
  .calc-result {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .demo-row.head {
    display: none;
  }
  .cta-box {
    padding: 52px 24px;
    border-radius: 28px;
  }
  /* Comparison table → cards */
  .compare thead {
    display: none;
  }
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }
  .compare tr {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }
  .compare tbody th,
  .compare td {
    padding: 4px 0;
    border: 0;
  }
  .compare td {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .compare td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 13.5px;
  }
  .hero-proof {
    gap: 20px;
  }
  .phone {
    width: 190px;
  }
  .fc-a {
    left: 0;
  }
  .fc-b {
    right: 10px;
  }
}
@media (max-width: 560px) {
  .report-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillars,
  .stats,
  .tech-grid,
  .why-grid,
  .sec-grid,
  .mobile-notes {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .dash {
    grid-template-columns: 70px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .chart-card .line {
    stroke-dashoffset: 0;
  }
  .bar-row .fill {
    width: var(--w);
  }
}
@media print {
  .nav,
  .skip {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .section {
    padding: 40px 0;
  }
}

.app-download {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.app-download .btn {
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.3;
}
