/* ==========================================================================
   Gizie — marketing site
   Design tokens mirror the Gizie app design system (Sunrise gradient, Cal Sans
   display, Plus Jakarta Sans body, warm neutrals). Primary action = solid
   brand orange; the gradient is an expressive brand surface, never a button.
   ========================================================================== */

@font-face {
  font-family: "Cal Sans";
  src: url("../fonts/CalSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* brand */
  --red: #ff233b;
  --red-700: #c20e27;
  --red-50: #fff1f2;
  --red-100: #ffe1e5;
  --orange: #ff7446;
  --orange-700: #c9501f;
  --peach: #fdc978;
  --peach-100: #fdeee0;
  --peach-700: #9a6a12;
  --grad: linear-gradient(135deg, #ff233b 0%, #ff7446 52%, #fdc978 100%);
  --grad-mesh:
    radial-gradient(120% 120% at 0% 0%, #ff233b 0%, rgba(255, 35, 59, 0) 55%),
    radial-gradient(120% 120% at 100% 100%, #fdc978 0%, rgba(253, 201, 120, 0) 55%),
    radial-gradient(90% 90% at 50% 50%, #ff7446 0%, rgba(255, 116, 70, 0) 70%),
    linear-gradient(135deg, #ff233b 0%, #ff7446 52%, #fdc978 100%);

  /* warm neutrals */
  --page: #fbf8f6;
  --surface: #ffffff;
  --sunk: #f5f0ec;
  --ink: #1a1714;
  --ink-2: #6b635d;
  --ink-3: #9a918a;
  --line: #efeae6;
  --line-strong: #dad3cd;

  --success: #137a40;
  --success-soft: #dbf1e4;
  --info: #1b62d4;
  --info-soft: #e2edfe;
  --star: #f0a92b;

  /* shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --pill: 999px;

  /* elevation — soft, warm, quiet */
  --e1: 0 1px 2px rgba(26, 23, 20, 0.04), 0 2px 8px rgba(26, 23, 20, 0.04);
  --e2: 0 2px 6px rgba(26, 23, 20, 0.05), 0 12px 28px rgba(26, 23, 20, 0.07);
  --e3: 0 6px 16px rgba(26, 23, 20, 0.07), 0 28px 60px rgba(26, 23, 20, 0.12);

  --shell: 1180px;
  --nav-h: 74px;

  --font-display: "Cal Sans", "Noto Sans Ethiopic", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Noto Sans Ethiopic", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------- base ---- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

::selection { background: var(--peach); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

.tnum { font-variant-numeric: tabular-nums; }
/* Cal Sans gives separators a full tabular slot, which reads as "1 , 240" —
   so display-size figures opt out of tabular spacing. */
h1, h2, h3, h4,
.points-widget__n, .stat b, .plan__price b, .metric { font-variant-numeric: normal; }
.metric { font-family: var(--font-display); font-weight: 400; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--pill);
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------- client routing */
/* router.js sends focus to <main> after a swap so keyboard and screen-reader
   users land on the new page; that focus is programmatic, never a visible
   focus ring. */
main:focus { outline: none; }

/* Only shown when a navigation outlives its 120ms grace period — an instant
   swap from the prefetch cache never paints it. */
.route-progress {
  position: fixed; inset: 0 auto auto 0; z-index: 300;
  height: 2px; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad, var(--orange)); pointer-events: none;
  opacity: 0; transition: opacity .2s ease;
}
.route-progress.is-busy {
  opacity: 1;
  animation: route-progress 1.4s cubic-bezier(.22, 1, .36, 1) infinite;
}
@keyframes route-progress {
  0%   { transform: scaleX(0);   opacity: 1; }
  70%  { transform: scaleX(.85); opacity: 1; }
  100% { transform: scaleX(1);   opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .route-progress.is-busy { animation: none; transform: scaleX(1); }
}

/* ------------------------------------------------------------- typography */
.display-1 { font-size: clamp(2.75rem, 6.4vw, 4.6rem); line-height: 1.02; }
.display-2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); line-height: 1.08; }
.display-3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.18; }

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: var(--ink-2);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--orange-700);
}
.eyebrow::before {
  content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--grad);
}
.eyebrow--plain::before { display: none; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------------------------------------------- logo --- */
.logo {
  display: block; flex: none;
  width: 96px; height: 43px;
  background: var(--grad);
  -webkit-mask: url("../img/gizie-wordmark.svg") no-repeat center / contain;
  mask: url("../img/gizie-wordmark.svg") no-repeat center / contain;
}
.logo--sm { width: 78px; height: 35px; }
.logo--white { background: #fff; }
.logo--ink { background: var(--ink); }

.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-lockup__tag {
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--ink-2); padding-top: 3px;
}
.on-dark .brand-lockup__tag { color: rgba(255, 255, 255, 0.72); }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  padding: 0 22px; height: 48px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}
.btn:active { transform: scale(0.975); opacity: 0.92; }

/* primary = SOLID BRAND ORANGE (never the gradient) */
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--e1); }
.btn--primary:hover { background: #f2653a; box-shadow: var(--e2); }

.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink-3); background: #fff; }

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

.btn--onDark { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn--onDark:hover { background: rgba(255, 255, 255, 0.2); }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #fff; box-shadow: var(--e2); }

.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 15px; color: var(--red-700);
}
.link-arrow svg { transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------- store btn - */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px 0 16px;
  border-radius: var(--pill); background: var(--ink); color: #fff;
  border: 1.5px solid var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--e2); }
.store-btn:active { transform: scale(0.98); }
.store-btn svg { width: 22px; height: 22px; flex: none; fill: #fff; }
.store-btn__text { display: grid; line-height: 1.15; }
.store-btn__text small { font-size: 10px; opacity: 0.78; letter-spacing: 0.04em; text-transform: uppercase; }
.store-btn__text strong { font-size: 14.5px; font-weight: 700; }
.store-btn--light { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.store-btn--light svg { fill: var(--ink); }

/* ------------------------------------------------------------------ nav -- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 246, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav--dark { background: rgba(20, 19, 18, 0.72); }
.nav--dark.is-stuck { border-bottom-color: rgba(255, 255, 255, 0.12); }

.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link {
  padding: 9px 14px; border-radius: var(--pill);
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav__link:hover { color: var(--ink); background: var(--sunk); }
.nav--dark .nav__link { color: rgba(255, 255, 255, 0.75); }
.nav--dark .nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.lang-toggle {
  display: inline-flex; align-items: center;
  background: var(--sunk); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 3px;
}
.nav--dark .lang-toggle { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.16); }
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  padding: 5px 12px; border-radius: var(--pill);
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav--dark .lang-toggle button { color: rgba(255, 255, 255, 0.72); }
.lang-toggle button[aria-pressed="true"] {
  background: var(--orange); color: #fff; box-shadow: var(--e1);
}

.nav__burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: var(--pill); border: 1.5px solid var(--line-strong);
  background: var(--surface); cursor: pointer;
}
.nav--dark .nav__burger { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); color: #fff; }

.nav__mobile {
  display: none; padding: 8px 24px 22px;
  border-top: 1px solid var(--line); background: var(--page);
}
.nav--dark .nav__mobile { background: #141312; border-top-color: rgba(255, 255, 255, 0.12); }
.nav__mobile.is-open { display: block; animation: fadeUp 0.24s ease; }
.nav__mobile a.nav__link { display: block; padding: 13px 4px; font-size: 17px; color: var(--ink); }
.nav--dark .nav__mobile a.nav__link { color: #fff; }
.nav__mobile .btn { width: 100%; margin-top: 10px; }

@media (max-width: 940px) {
  .nav__links, .nav__actions .desktop-only { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__inner { gap: 12px; }
}

/* ---------------------------------------------------------------- hero --- */
.hero { position: relative; padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero__wash {
  position: absolute; inset: -220px -10% auto -10%; height: 720px; z-index: 0;
  background: var(--grad-mesh);
  filter: blur(96px); opacity: 0.2;
  border-radius: 50%;
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero__title { margin-bottom: 18px; }
.hero__title em { font-style: normal; }
.hero__sub { max-width: 30rem; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }

.hero__proof { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--ink-2); font-size: 14.5px; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 34px; height: 34px; border-radius: var(--pill); border: 2px solid var(--page);
  margin-left: -10px; background-size: cover; background-position: center;
}
.avatar-stack span:first-child { margin-left: 0; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { order: -1; }
  .hero__media { margin-top: 8px; }
}
@media (max-width: 620px) {
  .phone { width: 268px; }
  .hero .float-tag, .biz-hero .float-tag { display: none; }
}

/* --------------------------------------------------------- search bar ---- */
.searchbar {
  display: flex; align-items: center;
  background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: var(--pill); box-shadow: var(--e2);
  padding: 7px 7px 7px 8px; margin-bottom: 18px;
  max-width: 660px;
}
.searchbar__seg {
  flex: 1 1 0; min-width: 0;
  display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 9px;
  align-items: center;
  padding: 7px 12px; border: 0; background: transparent; border-radius: var(--pill);
  cursor: pointer; text-align: left; transition: background 0.15s ease;
}
.searchbar__seg[data-open="service"] { flex-grow: 1.25; }
.searchbar__seg:hover { background: var(--sunk); }
.searchbar__seg svg { width: 18px; height: 18px; grid-row: 1 / 3; color: var(--red); }
.searchbar__seg span {
  grid-column: 2; font-size: 11.5px; font-weight: 700; line-height: 1.35;
  color: var(--ink-3); letter-spacing: 0.03em;
}
.searchbar__seg strong {
  grid-column: 2; font-size: 14.5px; font-weight: 600; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.searchbar__div { width: 1px; height: 30px; background: var(--line); flex: none; }
.searchbar__go {
  flex: none; width: 46px; height: 46px; border-radius: var(--pill); border: 0;
  background: var(--orange); color: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--e1);
  transition: transform 0.16s ease, background 0.16s ease;
}
.searchbar__go:hover { background: #f2653a; }
.searchbar__go:active { transform: scale(0.94); }
.searchbar__go svg { width: 20px; height: 20px; }

.searchbar-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-3); margin-bottom: 22px;
}
.searchbar-note svg { width: 15px; height: 15px; color: var(--ink-3); }

@media (max-width: 560px) {
  .searchbar { flex-wrap: wrap; border-radius: var(--r-xl); padding: 6px; }
  .searchbar__div { display: none; }
  .searchbar__seg { flex: 1 1 100%; }
  .searchbar__go { width: 100%; height: 44px; margin-top: 4px; }
}

/* --------------------------------------------------------------- phone --- */
.phone {
  position: relative; width: 300px; margin-inline: auto;
  border-radius: 44px; background: #141312; padding: 9px;
  box-shadow: var(--e3), 0 0 0 1.5px rgba(26, 23, 20, 0.12);
}
.phone__screen {
  position: relative; border-radius: 36px; overflow: hidden;
  background: var(--page); aspect-ratio: 300 / 620;
  display: flex; flex-direction: column;
  /* the mock UI keeps app colours even when the phone sits on a dark band */
  color: var(--ink);
}
.phone__notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: var(--pill); background: #141312; z-index: 5;
}
.phone--tilt { transform: rotate(-2.4deg); }
.phone--sm { width: 224px; }

.phone-hero {
  background: var(--grad-mesh); color: #fff; padding: 40px 16px 16px;
}
.phone-hero__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.phone-hero h4 { font-size: 20px; margin-bottom: 2px; }
.phone-hero p { font-size: 11.5px; opacity: 0.94; margin-bottom: 12px; }
.phone-bell {
  width: 30px; height: 30px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.22);
  display: grid; place-items: center;
}
.phone-bell svg { width: 15px; height: 15px; }
.phone-search {
  background: #fff; border-radius: var(--pill); padding: 7px 7px 7px 12px;
  display: flex; align-items: center; gap: 8px; box-shadow: var(--e1);
}
.phone-search span { font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.phone-search .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.phone-search__go { margin-left: auto; width: 28px; height: 28px; border-radius: var(--pill); background: var(--orange); display: grid; place-items: center; }
.phone-search__go svg { width: 14px; height: 14px; color: #fff; }

.phone-chips { display: flex; gap: 6px; padding: 12px 14px 4px; overflow: hidden; }
.phone-chip {
  font-size: 10.5px; font-weight: 600; padding: 6px 11px; border-radius: var(--pill);
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); white-space: nowrap;
}
.phone-chip.is-on { background: var(--orange); color: #fff; border-color: transparent; }

.phone-section { padding: 10px 14px 4px; display: flex; align-items: baseline; justify-content: space-between; }
.phone-section h5 { font-family: var(--font-display); font-size: 14px; font-weight: 400; }
.phone-section span { font-size: 10px; color: var(--red-700); font-weight: 700; }

.phone-card {
  margin: 6px 14px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--e1); overflow: hidden;
}
.phone-card__img { height: 88px; background-size: cover; background-position: center; position: relative; }
.phone-card__badge {
  position: absolute; top: 8px; left: 8px; font-size: 9px; font-weight: 700;
  padding: 3px 8px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.94); color: var(--orange-700);
}
.phone-card__body { padding: 8px 10px 10px; }
.phone-card__body b { font-size: 12.5px; }
.phone-card__meta { font-size: 10.5px; color: var(--ink-2); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.phone-card__meta .stars svg { width: 10px; height: 10px; }

.phone-row { display: flex; gap: 9px; align-items: center; margin: 8px 14px; background: #fff; border-radius: var(--r-md); padding: 8px; box-shadow: var(--e1); }
.phone-row__img { width: 46px; height: 46px; border-radius: var(--r-sm); background-size: cover; background-position: center; flex: none; }
.phone-row b { font-size: 12px; }
.phone-row div { min-width: 0; }
.phone-row small { display: block; font-size: 10px; color: var(--ink-2); }

.phone-tabbar {
  margin-top: auto; display: flex; border-top: 1px solid var(--line);
  background: #fff; padding: 8px 4px 12px;
}
.phone-tabbar div { flex: 1; display: grid; place-items: center; gap: 3px; font-size: 8.5px; color: var(--ink-3); font-weight: 600; }
.phone-tabbar svg { width: 17px; height: 17px; }
.phone-tabbar .is-on { color: var(--red-700); }

/* success screen (download section phone) */
.phone-success { padding: 54px 20px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; height: 100%; }
.phone-success__check {
  width: 74px; height: 74px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; box-shadow: var(--e2);
}
.phone-success__check svg { width: 36px; height: 36px; color: #fff; }
.phone-success h4 { font-size: 19px; margin: 16px 0 4px; }
.phone-success p { font-size: 11.5px; color: var(--ink-2); }
.phone-receipt {
  margin-top: 18px; width: 100%; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--e1); padding: 12px; text-align: left;
}
.phone-receipt__head { display: flex; gap: 9px; align-items: center; }
.phone-receipt__head div img, .phone-receipt__thumb {
  width: 40px; height: 40px; border-radius: var(--r-sm); background-size: cover; background-position: center; flex: none;
}
.phone-receipt b { font-size: 12px; }
.phone-receipt small { font-size: 10px; color: var(--ink-2); }
.phone-receipt ul { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.phone-receipt li { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.phone-receipt li svg { width: 13px; height: 13px; color: var(--ink-3); flex: none; }
.phone-cta {
  margin-top: auto; width: 100%; height: 40px; border-radius: var(--pill);
  background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 700;
  display: grid; place-items: center;
}

/* floating price / rating tags around phones */
.float-tag {
  position: absolute; z-index: 4; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--e2); padding: 9px 13px; display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600;
}
.float-tag small { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.float-tag__icon { width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; }
.float-tag__icon svg { width: 16px; height: 16px; }
.float-tag--a { top: 60%; left: -62px; }
.float-tag--b { top: 13%; right: -56px; }
@media (max-width: 560px) {
  .float-tag { padding: 8px 11px; font-size: 12.5px; }
  .float-tag--a { left: -6px; }
  .float-tag--b { right: -4px; }
}

.hero__media { position: relative; max-width: 400px; margin-inline: auto; }

/* -------------------------------------------------------------- section -- */
.section { padding: clamp(52px, 7vw, 92px) 0; }
.section--tight { padding: clamp(38px, 5vw, 64px) 0; }
.section--surface { background: var(--surface); }
.section--sunk { background: var(--sunk); }

.section__head { max-width: 44rem; margin-bottom: 34px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .lede { margin-top: 12px; }
.section__head h2 { margin-top: 14px; }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }

/* --------------------------------------------------------------- chips --- */
.chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line-strong); background: var(--surface);
  font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: all 0.16s ease;
}
.chip svg { width: 17px; height: 17px; color: var(--ink-2); }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: transparent; color: #fff; box-shadow: var(--e1); }
.chip[aria-pressed="true"] svg { color: #fff; }

/* -------------------------------------------------------- venue cards ---- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(268px, 1fr);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px; margin: -4px -4px 0;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 900px) { .rail { grid-auto-columns: minmax(0, 1fr); grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; overflow: visible; } }

.rail-nav { display: flex; gap: 8px; }
.rail-btn {
  width: 42px; height: 42px; border-radius: var(--pill); cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--surface);
  display: grid; place-items: center; transition: all 0.16s ease;
}
.rail-btn:hover { border-color: var(--ink); }
.rail-btn:disabled { opacity: 0.35; cursor: default; border-color: var(--line); }
.rail-btn svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .rail-nav { display: none; } }

.venue {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--e1); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.venue:hover { transform: translateY(-4px); box-shadow: var(--e2); }
.venue__media { position: relative; height: 208px; flex: none; background: var(--grad); overflow: hidden; }
.venue__badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.01em;
  padding: 5px 11px; border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.95); color: var(--orange-700); box-shadow: var(--e1);
}
.venue__badge--deal { background: var(--red); color: #fff; }
.venue__badge--new { background: var(--grad); color: #fff; }
.venue__fav {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  border-radius: var(--pill); border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.9); display: grid; place-items: center;
  color: var(--ink); transition: transform 0.16s ease, color 0.16s ease;
}
.venue__fav:hover { transform: scale(1.08); }
.venue__fav[aria-pressed="true"] { color: var(--red); }
.venue__fav[aria-pressed="true"] svg { fill: var(--red); }
.venue__fav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.venue__body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.venue__name { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; }
.venue__name svg { width: 15px; height: 15px; color: var(--info); flex: none; }
.venue__meta { font-size: 13.5px; color: var(--ink-2); }
.venue__rating { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.venue__rating span { color: var(--ink-3); font-weight: 500; }
.venue__foot {
  margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--line);
}
.venue__price { font-size: 13px; color: var(--ink-2); }
.venue__price b { display: block; font-size: 15.5px; color: var(--ink); }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: var(--sunk); border-radius: var(--pill); padding: 5px 11px;
}
.tag svg { width: 13px; height: 13px; }

.empty-note { padding: 34px 4px; color: var(--ink-2); font-size: 15px; }

/* ------------------------------------------------------------- services -- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.svc-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 18px 12px; box-shadow: var(--e1); }
.svc-col__head { display: flex; align-items: center; gap: 10px; padding: 16px 0 8px; }
.svc-col__head span {
  width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--peach-100);
  display: grid; place-items: center; color: var(--orange-700); flex: none;
}
.svc-col__head svg { width: 19px; height: 19px; }
.svc-col__head h3 { font-size: 18px; }
.svc { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.svc__info b { display: block; font-size: 15px; font-weight: 600; }
.svc__info small { font-size: 13px; color: var(--ink-2); }
.svc__price { margin-left: auto; text-align: right; white-space: nowrap; }
.svc__price b { font-size: 15px; }
.svc__price s { display: block; font-size: 12px; color: var(--ink-3); }
.svc__save { font-size: 11.5px; font-weight: 700; color: var(--success); }

/* ----------------------------------------------------------- how it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.step { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e1); }
.step__n {
  width: 40px; height: 40px; border-radius: var(--pill); background: var(--grad); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- split -- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split--reverse .split__media { order: -1; }
@media (max-width: 800px) { .split--reverse .split__media { order: 0; } }

.feature-list { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; font-size: 15px; }
.feature-list svg { width: 20px; height: 20px; flex: none; color: var(--success); margin-top: 2px; }
.feature-list b { font-weight: 700; }
.feature-list span { color: var(--ink-2); }

/* -------------------------------------------------------------- rewards -- */
.rewards-card {
  background: var(--grad); color: #fff; border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--e2);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; align-items: center;
}
.rewards-card h2 { color: #fff; }
.rewards-card p { color: rgba(255, 255, 255, 0.92); margin-top: 12px; }
.points-widget { background: rgba(255, 255, 255, 0.16); border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(6px); }
.points-widget__top { display: flex; align-items: center; justify-content: space-between; }
.points-widget__n { font-family: var(--font-display); font-size: 42px; line-height: 1.1; letter-spacing: -0.01em; }
.points-widget__tier {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.24);
  padding: 6px 13px; border-radius: var(--pill); font-size: 13px; font-weight: 700;
}
.points-widget__tier svg { width: 15px; height: 15px; }
.points-bar { height: 8px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.3); margin: 16px 0 8px; overflow: hidden; }
.points-bar i { display: block; height: 100%; width: 82%; background: #fff; border-radius: var(--pill); }
.points-widget small { font-size: 13px; opacity: 0.94; }
.perk-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.perk-list li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.perk-list svg { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------ testimonial */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--e1); }
.quote p { font-size: 15.5px; margin: 14px 0 18px; }
.quote__who { display: flex; align-items: center; gap: 11px; }
.quote__who img, .quote__avatar { width: 40px; height: 40px; border-radius: var(--pill); background-size: cover; background-position: center; }
.quote__who b { display: block; font-size: 14.5px; }
.quote__who small { color: var(--ink-3); font-size: 12.5px; }

/* ------------------------------------------------------------- app band -- */
.appband {
  background: var(--ink); color: #fff; border-radius: var(--r-xl); overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
  padding: clamp(30px, 4vw, 52px) clamp(24px, 4vw, 52px) 0;
  position: relative;
}
.appband::after {
  content: ""; position: absolute; inset: auto -20% -60% 40%; height: 420px; z-index: 0;
  background: var(--grad-mesh); filter: blur(90px); opacity: 0.42; pointer-events: none;
}
.appband__copy { padding-bottom: clamp(30px, 4vw, 52px); position: relative; z-index: 2; }
.appband h2 { color: #fff; }
.appband p { color: rgba(255, 255, 255, 0.76); margin: 14px 0 24px; max-width: 30rem; }
.appband__phones { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; gap: 14px; min-height: 300px; }
.appband__phones .phone { margin: 0; }
.appband__phones .phone:first-child { transform: translateY(8px) rotate(-3deg); }
.appband__phones .phone:last-child { transform: translateY(22px) rotate(3deg); }
@media (max-width: 760px) { .appband__phones .phone:last-child { display: none; } }

.qr { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: rgba(255, 255, 255, 0.7); font-size: 13.5px; }
.qr__code { width: 84px; height: 84px; background: #fff; border-radius: var(--r-md); padding: 7px; flex: none; }

/* --------------------------------------------------------- business band  */
.bizband {
  border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--e2); overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center;
}
.bizband__copy { padding: clamp(28px, 4vw, 48px); }
.bizband__media { align-self: stretch; min-height: 300px; position: relative; background: var(--sunk); overflow: hidden; }

/* mini provider calendar mock */
.cal-mock { position: absolute; inset: 22px 0 0 22px; background: #fff; border-radius: var(--r-lg) 0 0 0; box-shadow: var(--e2); padding: 14px; overflow: hidden; }
.cal-mock__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cal-mock__bar b { font-family: var(--font-display); font-size: 15px; font-weight: 400; }
.cal-mock__pill { font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: var(--pill); background: var(--sunk); color: var(--ink-2); }
.cal-mock__staff { display: flex; gap: 8px; margin-bottom: 12px; }
.cal-mock__staff span {
  width: 32px; height: 32px; border-radius: var(--pill); display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #fff; background: var(--ink-3);
}
.cal-mock__grid { display: grid; grid-template-columns: 34px 1fr; gap: 8px; font-size: 10px; color: var(--ink-3); }
.cal-mock__col { display: grid; gap: 6px; }
.cal-block {
  border-radius: 8px; padding: 7px 9px; border-left: 3px solid var(--orange);
  background: var(--peach-100); font-size: 11px;
}
.cal-block b { display: block; font-size: 11.5px; }
.cal-block small { color: var(--ink-2); font-size: 10px; }
.cal-block--green { background: var(--success-soft); border-left-color: var(--success); }
.cal-block--blue { background: var(--info-soft); border-left-color: var(--info); }
.cal-block--muted { background: var(--sunk); border-left-color: var(--line-strong); }
.cal-mock__times { display: grid; gap: 6px; padding-top: 6px; }

/* ---------------------------------------------------------------- stats -- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; }
.stat span { font-size: 14.5px; color: var(--ink-2); }

/* ------------------------------------------------------------------ faq -- */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 26px; width: 11px; height: 11px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 20px 22px 0; color: var(--ink-2); font-size: 15px; }

/* --------------------------------------------------------------- cta end - */
.cta-final { text-align: center; }
.cta-final .btn { margin-top: 6px; }
.cta-final .stores { justify-content: center; margin-top: 22px; }

/* -------------------------------------------------------------- footer --- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 64px 0 34px; }
.footer a { color: rgba(255, 255, 255, 0.72); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer__blurb { font-size: 14.5px; max-width: 22rem; margin: 16px 0 20px; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 38px; height: 38px; border-radius: var(--pill); display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); transition: background 0.16s ease;
}
.footer__socials a:hover { background: rgba(255, 255, 255, 0.2); }
.footer__socials svg { width: 17px; height: 17px; fill: currentColor; }
.footer__areas { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__areas p { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-bottom: 12px; }
.footer__areas div { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.footer__base {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13.5px;
}
.footer__base ul { display: flex; gap: 20px; }

/* ======================================================= business page === */
.on-dark { background: #141312; color: #fff; }
.biz-hero { position: relative; overflow: hidden; background: #141312; color: #fff; padding: clamp(44px, 6vw, 84px) 0 0; }
.biz-hero__wash {
  position: absolute; inset: -180px -20% auto 30%; height: 620px;
  background: var(--grad-mesh); filter: blur(100px); opacity: 0.4; pointer-events: none;
}
.biz-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.biz-hero__grid > * { min-width: 0; }
.biz-hero h1 { color: #fff; margin-bottom: 18px; }
.biz-hero .lede { color: rgba(255, 255, 255, 0.78); max-width: 32rem; }
.biz-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.biz-hero__note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.biz-hero__note svg { width: 16px; height: 16px; color: var(--peach); }
.biz-hero__media { position: relative; padding-bottom: clamp(30px, 5vw, 60px); }

/* provider dashboard mock */
.dash {
  width: 100%; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--e3);
  overflow: hidden; color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.1);
}
.dash__top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.dash__top .logo { width: 62px; height: 28px; }
.dash__loc { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; background: var(--sunk); border-radius: var(--pill); padding: 6px 11px; }
.dash__loc svg { width: 14px; height: 14px; color: var(--orange-700); }
.dash__seg { display: flex; gap: 4px; padding: 12px 16px 4px; }
.dash__seg span { font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: var(--pill); color: var(--ink-2); background: var(--sunk); }
.dash__seg .is-on { background: var(--ink); color: #fff; }
.dash__staff { display: flex; gap: 14px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.dash__staff div { display: grid; justify-items: center; gap: 5px; font-size: 10.5px; color: var(--ink-2); }
.dash__staff span {
  width: 40px; height: 40px; border-radius: var(--pill); display: grid; place-items: center;
  color: #fff; font-size: 12.5px; font-weight: 700;
}
.dash__staff .is-on span { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--orange); }
.dash__body { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 14px 16px 18px; background: var(--page); }
.dash__hours { display: grid; gap: 10px; font-size: 10.5px; color: var(--ink-3); padding-top: 4px; }
.dash__col { display: grid; gap: 8px; position: relative; }
.dash__now { position: absolute; left: -8px; right: 0; top: 46%; height: 2px; background: var(--red); }
.dash__now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.appt {
  border-radius: 10px; padding: 9px 11px; border-left: 3px solid var(--orange); background: var(--peach-100);
}
.appt__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.appt b { font-size: 12.5px; }
.appt small { font-size: 10.5px; color: var(--ink-2); }
.appt .pill {
  font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.75); color: var(--ink-2);
}
.appt--green { background: var(--success-soft); border-left-color: var(--success); }
.appt--green .pill { color: var(--success); }
.appt--blue { background: var(--info-soft); border-left-color: var(--info); }
.appt--blue .pill { color: var(--info); }
.appt--muted { background: var(--sunk); border-left-color: var(--line-strong); }

.biz-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; justify-content: center; opacity: 0.9; }
.biz-logos span { font-family: var(--font-display); font-size: 19px; color: var(--ink-3); }

.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.f-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: var(--e1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.f-card:hover { transform: translateY(-3px); box-shadow: var(--e2); border-color: var(--line-strong); }
.f-card__icon {
  width: 46px; height: 46px; border-radius: var(--r-md); background: var(--peach-100);
  display: grid; place-items: center; color: var(--orange-700); margin-bottom: 16px;
}
.f-card__icon svg { width: 23px; height: 23px; }
.f-card h3 { font-size: 19px; margin-bottom: 8px; }
.f-card p { font-size: 14.5px; color: var(--ink-2); }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-xl);
  padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--e1);
}
.plan--featured { border-color: var(--orange); box-shadow: var(--e2); position: relative; }
.plan__flag {
  position: absolute; top: -13px; left: 26px; background: var(--orange); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: var(--pill);
}
.plan h3 { font-size: 22px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.plan__price b { font-family: var(--font-display); font-size: 40px; font-weight: 400; }
.plan__price span { color: var(--ink-2); font-size: 14.5px; }
.plan p { font-size: 14.5px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 11px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; flex: none; color: var(--success); margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }

.timeline { display: grid; gap: 0; max-width: 720px; }
.tl-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.tl-step__marker { display: grid; justify-items: center; }
.tl-step__dot {
  width: 40px; height: 40px; border-radius: var(--pill); background: var(--grad); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 17px; flex: none;
}
.tl-step__line { width: 2px; flex: 1; background: var(--line); margin: 6px 0; min-height: 26px; }
.tl-step:last-child .tl-step__line { display: none; }
.tl-step__body { padding-bottom: 26px; }
.tl-step h3 { font-size: 20px; margin-bottom: 6px; }
.tl-step p { font-size: 14.5px; color: var(--ink-2); }

.cta-dark {
  background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 62px); text-align: center; position: relative; overflow: hidden;
}
.cta-dark::before {
  content: ""; position: absolute; inset: -50% -20% auto -20%; height: 420px;
  background: var(--grad-mesh); filter: blur(90px); opacity: 0.38;
}
.cta-dark > * { position: relative; z-index: 1; }
.cta-dark h2 { color: #fff; }
.cta-dark p { color: rgba(255, 255, 255, 0.76); margin: 14px auto 26px; max-width: 34rem; }

/* ------------------------------------------------------------ animation -- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* amharic sets in Noto Sans Ethiopic; slightly tighter display sizing */
html[lang="am"] .display-1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.14; }
html[lang="am"] .display-2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); line-height: 1.2; }

/* ------------------------------------------------- composer popover ----- */
.searchbar { position: relative; }
.sb-pop {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--e3); padding: 6px; min-width: 214px; display: grid; gap: 2px;
  animation: fadeUp 0.18s ease;
}
.sb-pop__opt {
  border: 0; background: transparent; text-align: left; cursor: pointer;
  padding: 10px 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600;
}
.sb-pop__opt:hover { background: var(--sunk); }

/* venue imagery */
.venue__media img { width: 100%; height: 100%; object-fit: cover; }
.venue[hidden] { display: none; }

/* ========================================================= legal pages === */
.legal-hero {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: clamp(34px, 5vw, 56px) 0 clamp(26px, 3vw, 34px);
}
.legal-hero h1 { margin: 14px 0 12px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-2); }
.legal-meta b { color: var(--ink); font-weight: 700; }

.doc-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.doc-switch a {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px;
  border-radius: var(--pill); border: 1.5px solid var(--line-strong);
  font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface);
  transition: all 0.16s ease;
}
.doc-switch a:hover { border-color: var(--ink-3); color: var(--ink); }
.doc-switch a[aria-current="page"] { background: var(--orange); border-color: transparent; color: #fff; }
.doc-switch svg { width: 16px; height: 16px; }

.legal-layout {
  display: grid; grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  /* block-direction only — a padding shorthand here would wipe .container's side padding */
  padding-block: clamp(28px, 4vw, 44px) clamp(48px, 6vw, 84px);
}
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } }

.legal-toc { position: sticky; top: calc(var(--nav-h) + 16px); align-self: start; }

.legal-toc h2 {
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px;
}
.legal-toc__scroll { max-height: calc(100vh - 190px); overflow: auto; scrollbar-width: thin; }
@media (max-width: 900px) {
  .legal-toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
  .legal-toc__scroll { max-height: 300px; }
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; counter-reset: toc; }
.legal-toc a {
  display: flex; gap: 8px; padding: 7px 10px; border-radius: var(--r-sm);
  font-size: 13.5px; line-height: 1.35; color: var(--ink-2);
}
.legal-toc a::before { content: counter(toc); counter-increment: toc; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 14px; }
.legal-toc a:hover { background: var(--sunk); color: var(--ink); }
.legal-toc a.is-current { background: var(--red-50); color: var(--red-700); font-weight: 600; }
.legal-toc a.is-current::before { color: var(--red-700); }

.legal-doc { max-width: 46rem; counter-reset: sec; }
.legal-doc > section { padding-top: 8px; margin-bottom: 34px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal-doc h2 {
  display: flex; gap: 12px; align-items: baseline;
  font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 12px;
}
.legal-doc h2::before {
  counter-increment: sec; content: counter(sec);
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  color: var(--orange-700); background: var(--peach-100);
  min-width: 26px; height: 26px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; transform: translateY(-2px);
}
.legal-doc h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal-doc p, .legal-doc li { font-size: 15.5px; color: var(--ink-2); line-height: 1.62; }
.legal-doc p + p { margin-top: 12px; }
.legal-doc ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 9px; }
.legal-doc li::marker { color: var(--orange); }
.legal-doc b, .legal-doc strong { color: var(--ink); font-weight: 700; }
.legal-doc a:not(.btn) { color: var(--red-700); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc .lead { font-size: 16.5px; }

.legal-note {
  background: var(--peach-100); border-radius: var(--r-md);
  padding: 14px 16px; margin: 16px 0 0; display: flex; gap: 11px;
}
.legal-note svg { width: 18px; height: 18px; flex: none; color: var(--peach-700); margin-top: 2px; }
.legal-note p { color: var(--peach-700); font-size: 14.5px; }
.legal-note--info { background: var(--info-soft); }
.legal-note--info svg, .legal-note--info p { color: var(--info); }

.legal-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table thead th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--line-strong); }
.legal-table td { color: var(--ink-2); }
.legal-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.legal-table-wrap { overflow-x: auto; }

.legal-contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 22px; box-shadow: var(--e1); margin-top: 16px;
}
.legal-contact dl { margin: 0; display: grid; gap: 10px; }
.legal-contact dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.legal-contact dd { margin: 2px 0 0; font-size: 15.5px; }

.todo {
  background: var(--red-50); color: var(--red-700); border: 1px dashed var(--red-700);
  border-radius: 6px; padding: 1px 7px; font-size: 13.5px; font-weight: 700; white-space: nowrap;
}

/* ==========================================================================
   Web booking ticket — /ticket/{booking_id}
   A pass, not a page: the appointment on a stub, a perforated tear line, and
   the check-in QR below it. The QR is the reason the page exists, so it is the
   largest thing on it.
   ========================================================================== */

.ticket-page { background: var(--sunk); }

.ticket-main {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--nav-h) + 28px) 20px 56px;
}

.ticket-shell { width: 100%; max-width: 420px; }

/* ------------------------------------------------------------ the pass --- */

.pass {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--e2);
  overflow: hidden;
}

.pass__stub { padding: 26px 24px 22px; }

.pass__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 13px;
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--sunk);
  color: var(--ink-2);
}
.pass__status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.pass__status[data-tone="confirmed"] { background: #fff1ea; color: var(--orange-700); }
.pass__status[data-tone="active"]    { background: var(--peach-100); color: var(--peach-700); }
.pass__status[data-tone="done"]      { background: var(--success-soft); color: var(--success); }
.pass__status[data-tone="other"]     { background: var(--info-soft); color: var(--info); }

/* A live appointment gets a quietly pulsing dot; a finished one does not. */
.pass__status[data-tone="active"] .pass__status-dot { animation: passPulse 1.8s ease-in-out infinite; }
@keyframes passPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  .pass__status[data-tone="active"] .pass__status-dot { animation: none; }
}

.pass__business {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  line-height: 1.16;
  margin: 14px 0 0;
}
.pass__service {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 5px;
}
.pass__service:empty { display: none; }

.pass__when {
  display: flex;
  align-items: stretch;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 0;
}
.pass__when-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  padding: 0 10px;
  min-width: 0;
}
.pass__when-rule { width: 1px; background: var(--line); }
.pass__when-cell b {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pass__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pass__meta { margin: 16px 0 0; }
.pass__meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
}
.pass__meta-row dt { color: var(--ink-2); font-size: 14px; }
.pass__meta-row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.pass__meta-row dd.is-mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------- the tear line - */
/* The notches are punched in the page colour, so the card reads as torn
   rather than as two stacked boxes. */

.pass__perf {
  position: relative;
  height: 26px;
  display: flex;
  align-items: center;
}
.pass__dashes {
  flex: 1;
  height: 2px;
  margin: 0 20px;
  background-image: linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px);
  background-size: 12px 2px;
  background-repeat: repeat-x;
}
.pass__notch {
  position: absolute;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--sunk);
}
.pass__notch--l { left: -12px; }
.pass__notch--r { right: -12px; }

/* ---------------------------------------------------------------- the QR - */

.pass__qr-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 24px 28px;
}

.pass__qr {
  width: min(258px, 68vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* The 4-module quiet zone lives inside the SVG (see ticket.js); this is
     just breathing room from the border. */
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.pass__qr svg { width: 100%; height: 100%; }
/* The API's QR PNG, used when a ticket arrives with no payload to draw from.
   `image-rendering` keeps the modules hard-edged when the served size doesn't
   land on an exact multiple of the box — a blurred module is a failed scan. */
.pass__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

/* Completed: the code is a receipt now, not something to scan. */
.pass[data-state="completed"] .pass__qr { opacity: 0.38; }

.pass__qr-fail {
  color: var(--ink-2);
  font-size: 13.5px;
  text-align: center;
  padding: 16px;
}

.pass__code {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin-top: 16px;
}
.pass__code:empty { display: none; }

.pass__hint {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.45;
  text-align: center;
  margin-top: 9px;
  max-width: 30ch;
}

.pass__stamp {
  color: var(--ink-3);
  font-size: 12.5px;
  margin-top: 7px;
}

.pass__payload {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pass__payload code {
  font-size: 12.5px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
  text-align: center;
}

/* ------------------------------------------------------- states + footer - */

.ticket-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 44px 20px;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--e1);
}
.ticket-state__glyph { font-size: 40px; line-height: 1; }
.ticket-state__text {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  max-width: 34ch;
}
.ticket-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.ticket-state__id {
  font-size: 12px;
  color: var(--ink-3);
  overflow-wrap: anywhere;
  margin-top: 4px;
}

.ticket-spinner {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2.5px solid var(--line-strong);
  border-top-color: var(--orange);
  animation: ticketSpin 0.8s linear infinite;
}
@keyframes ticketSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ticket-spinner { animation-duration: 2.4s; }
}

.ticket-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin-top: 20px;
}
.ticket-foot p {
  color: var(--ink-3);
  font-size: 12.5px;
  max-width: 34ch;
}
.ticket-foot__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ------------------------------------------------------------------ print */
/* A printed ticket is the paper fallback for a dead battery: the pass, at
   scannable size, and nothing else. */

@media print {
  .ticket-page { background: #fff; }
  .nav, .skip-link, .ticket-foot, .pass__payload { display: none !important; }
  .ticket-main { padding: 0; min-height: 0; display: block; }
  .ticket-shell { max-width: 100%; }
  .pass {
    box-shadow: none;
    border: 1px solid #000;
    border-radius: 0;
    break-inside: avoid;
  }
  .pass__notch { background: #fff; }
  /* Never print a faded QR — if it is on paper, it is meant to be scanned. */
  .pass[data-state="completed"] .pass__qr { opacity: 1; }
  .pass__qr { width: 62mm; border-color: #000; }
}
