/* Revisit landing page — the v3 design, ported.
   Source: `Landing Page v3.dc.html` in the design project.

   Built the same way as `clinic.css`: loaded *after* `site.css`, it redefines
   that file's tokens to the design's own rather than introducing a parallel
   set, so the shared pieces it does not restyle — the login and register
   dialogs, form fields — follow this page's palette (and its dark mode)
   without a second implementation.

   Sizes, radii and shadows are copied from the design's inline styles. */

:root {
  --brand-50: #f0f1fc;
  --brand-100: #e1e2fc;
  --brand-200: #ccccf8;
  --brand-400: #9087f6;
  --brand-500: #7561eb;
  --brand-600: #5f47cf;
  --brand-700: #4931a8;
  --brand-800: #311a7a;
  --brand-900: #1d124b;

  --text-primary: #1e1f26;
  --text-secondary: #5c5d64;
  --text-muted: #88898e;

  --card: #fff;
  --border: #e0e1e5;
  --sunken: #f3f3f7;
  --page: #fafafc;

  --accent-tx: var(--brand-600);
  --chip-bg: var(--brand-50);
  --chip-fg: var(--brand-700);
  --header-bg: rgba(255, 255, 255, 0.97);
  --logo: var(--logo-mark);
  --ok-bg: #e6f6ec;
  --ok-fg: #1a7a4c;

  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 20px -10px rgba(16, 24, 40, 0.12);
  --float-shadow: 0 20px 50px -24px rgba(16, 24, 40, 0.25);

  --shell: 1200px;
  --gutter: clamp(18px, 4vw, 28px);
}

/* An explicit toggle, persisted in `localStorage`; until the visitor picks,
   it follows `prefers-color-scheme`, which is also how `ThemeController`
   behaves in the app. The attribute is set by the inline script in <head>. */
:root[data-theme="dark"] {
  --text-primary: #f1f1f5;
  --text-secondary: #bcbdc4;
  --text-muted: #90929a;
  --card: #191924;
  --border: #32323d;
  --sunken: #13131c;
  --page: #0c0c15;
  --accent-tx: var(--brand-200);
  --chip-bg: #2b284f;
  --chip-fg: var(--brand-100);
  --header-bg: rgba(24, 20, 40, 0.96);
  --logo: var(--brand-200);
  --ok-bg: #183d29;
  --ok-fg: #8bd9a8;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 20px -10px rgba(0, 0, 0, 0.5);
  --float-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* Hex above is the fallback; the design's `oklch()` values apply only where
   the browser understands them — see the note in `clinic.css` about
   Chrome 109 blanking white-on-brand text otherwise. */
@supports (color: oklch(0 0 0)) {
  :root {
    --brand-50: oklch(0.96 0.015 285);
    --brand-100: oklch(0.92 0.035 285);
    --brand-200: oklch(0.86 0.06 285);
    --brand-400: oklch(0.68 0.16 285);
    --brand-500: oklch(0.585 0.2 285);
    --brand-600: oklch(0.505 0.2 285);
    --brand-700: oklch(0.42 0.18 285);
    --brand-800: oklch(0.32 0.15 285);
    --brand-900: oklch(0.24 0.1 285);
    --text-primary: oklch(0.24 0.015 280);
    --text-secondary: oklch(0.48 0.012 280);
    --text-muted: oklch(0.63 0.008 280);
    --border: oklch(0.91 0.006 280);
    --sunken: oklch(0.965 0.005 285);
    --page: oklch(0.985 0.003 285);
  }

  :root[data-theme="dark"] {
    --text-primary: oklch(0.96 0.005 280);
    --text-secondary: oklch(0.8 0.01 280);
    --text-muted: oklch(0.66 0.012 280);
    --card: oklch(0.22 0.02 285);
    --border: oklch(0.32 0.02 285);
    --sunken: oklch(0.19 0.02 285);
    --page: oklch(0.16 0.018 285);
    --chip-bg: oklch(0.3 0.07 285);
    --ok-bg: oklch(0.3 0.06 155);
    --ok-fg: oklch(0.84 0.12 155);
  }
}

body {
  background: var(--page);
  color: var(--text-primary);
  transition: background 0.2s ease;
}

/* `site.css` pads every <section> 72px top and bottom for the legal pages;
   each band here sets its own. */
section {
  padding: 0;
}

a {
  color: var(--accent-tx);
}

a:hover {
  color: var(--brand-700);
  text-decoration: none;
}

::selection {
  background: var(--brand-200);
}

h1,
h2,
h3 {
  font-weight: 700;
}

.btn {
  height: 42px;
  padding: 0 20px;
  font-size: 13.5px;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
}

.btn-secondary:hover {
  border-color: var(--brand-400);
}

/* --------------------------------------------------------------- shared */

.band {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: 40px;
}

.band-tinted {
  background: var(--sunken);
  padding: clamp(64px, 9vw, 96px) 0;
  margin-top: clamp(40px, 6vw, 64px);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-tx);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.sec-head > p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
}

.lede {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* The design's round tick: a chip-coloured disc with a stroked check. The
   check's colour is baked into the data URI (chip-fg as hex), so dark mode
   swaps the image rather than a token. */
.ticks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--chip-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234931a8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}

:root[data-theme="dark"] .ticks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e1e2fc' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");
}

.ticks-plain li {
  font-weight: 400;
  font-size: 13.5px;
  gap: 10px;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.icon-tile .glyph {
  width: 20px;
  height: 20px;
  background-color: var(--chip-fg);
}

.pill {
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.pill-ok { background: #e6f6ec; color: #1a7a4c; }
.pill-warn { background: #fef3e0; color: #b97900; }
.pill-edit { background: var(--chip-bg); color: var(--chip-fg); }
.pill-view { background: #eaf3fe; color: #2461c0; }
.pill-muted { background: var(--sunken); color: var(--text-muted); }

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.row > span:first-child {
  font-weight: 600;
}

.dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--sunken);
}

.dots > i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.dots > span {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Pill-shaped segmented control holding `.tab-chip`s — site.js does the
   switching, this only restyles the chips to the design's. */
.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--sunken);
  border: 1px solid var(--border);
  width: fit-content;
  max-width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 24px;
}

.seg .tab-chip {
  height: 38px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: transparent;
  color: var(--text-secondary);
}

.seg .tab-chip:hover {
  color: var(--text-primary);
}

.seg .tab-chip[aria-selected="true"] {
  background: var(--brand-600);
  color: #fff;
}

/* --------------------------------------------------------------- header */

.home-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.home-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 14px;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.home-brand:hover {
  color: var(--text-primary);
}

/* The logo SVG paints a fixed colour, which disappears on the dark page;
   used as a mask it takes whatever `--logo` the theme sets. */
.logo {
  width: 34px;
  height: 34px;
  flex: none;
  background-color: var(--logo);
  -webkit-mask: url(/seo/img/revisit_logo.svg) center / contain no-repeat;
  mask: url(/seo/img/revisit_logo.svg) center / contain no-repeat;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.home-nav a,
.home-menu a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-secondary);
}

.home-nav a:hover,
.home-menu a:not(.btn):hover {
  color: var(--text-primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.icon-btn:hover {
  background: var(--sunken);
}

.login-link {
  font-size: 14px;
  font-weight: 600;
  padding: 0 6px;
  color: var(--text-secondary);
}

.login-link:hover {
  color: var(--text-primary);
}

/* site.css's `.nav-toggle` rules switch at 900px; this design switches at
   1020px, so they are overridden with a more specific selector. */
.home-header .nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
}

.home-menu {
  display: none;
}

.js .home-menu:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
}

.home-menu .menu-actions {
  display: flex;
  gap: 10px;
  padding-top: 4px;
}

.home-menu .menu-actions .btn {
  flex: 1;
}

.home-menu a.tel {
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 1019px) {
  .js .home-nav,
  .js .login-link {
    display: none;
  }

  .js .home-header .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1020px) {
  .js .home-menu:not([hidden]) {
    display: none;
  }
}

/* No JS: no menu button, so the nav wraps under the bar instead. */
html:not(.js) .home-header .bar {
  height: auto;
  min-height: 74px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

html:not(.js) .home-nav {
  flex-wrap: wrap;
  gap: 10px 22px;
}

@media (max-width: 519px) {
  .header-cta {
    display: none;
  }
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: -120px;
  width: min(1200px, 140vw);
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--chip-bg), transparent);
  pointer-events: none;
}

/* One column, copy centred over the cards; side by side from 1000px. */
.hero-grid {
  position: relative;
  padding-top: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
  }

  .hero-copy {
    text-align: left;
    align-items: flex-start;
  }

  .hero-copy .hero-actions,
  .hero-copy .fine-print {
    justify-content: flex-start;
  }
}

.new-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}

.new-badge b {
  background: var(--brand-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  max-width: 720px;
  text-wrap: balance;
}

.hero-lede {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 580px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-actions .glyph {
  width: 16px;
  height: 16px;
  background-color: currentColor;
}

.fine-print {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.fine-print i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ------------------------------------------------------ loyalty cards */

/* The metallic card face, shared by the hero pair and the loyalty section.
   ::before is the diagonal sheen, ::after the bevelled edge, and
   .lcard-rings the two hairline circles top right. Every part is a <span>
   (made block here) because the gold faces sit inside a <button>. */
.lcard {
  --lc-ring: rgba(255, 255, 255, 0.25);
  --lc-sheen: rgba(255, 255, 255, 0.45);
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: clamp(14px, 1.6vw, 20px);
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.55), 0 8px 18px -8px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.lcard-gold {
  background: linear-gradient(135deg, #9c7124 0%, #e9c873 20%, #c3943a 42%, #f4dc94 60%, #b7882f 80%, #8a621c 100%);
  color: #3b2706;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.55);
}

.lcard-platinum {
  --lc-ring: rgba(255, 255, 255, 0.12);
  --lc-sheen: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #3a3a42 0%, #5b5b66 30%, #26262c 62%, #41414a 100%);
  color: #e4e4ea;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.45);
}

.lcard::before,
.lcard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lcard::before {
  background: linear-gradient(115deg, transparent 28%, var(--lc-sheen) 44%, transparent 58%);
}

.lcard::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.lcard span {
  display: block;
}

.lcard-rings::before,
.lcard-rings::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--lc-ring);
}

.lcard-rings::before {
  right: -18%;
  top: -40%;
  width: 70%;
}

.lcard-rings::after {
  right: -8%;
  top: -26%;
  width: 52%;
}

.lcard .lcard-body {
  position: relative;
  z-index: 1;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(14px, 6%, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lcard .lcard-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.lcard .lcard-foot {
  align-items: flex-end;
}

.lcard-name {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.lcard-type {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  opacity: 0.75;
  margin-top: 3px;
}

.lcard-tier {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.lcard-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  opacity: 0.75;
}

.lcard-pts {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.lcard-member {
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.lcard-sub {
  font-size: 9.5px;
  opacity: 0.75;
  margin-top: 3px;
}

.lcard-tap {
  flex: none;
}

/* Back of the gold card: magnetic stripe, signature strip, number. */
.lcard .lcard-stripe {
  position: absolute;
  left: 0;
  right: 0;
  top: 12%;
  height: 17%;
  background: #2a1c05;
}

.lcard .lcard-back-body {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 36%;
  bottom: 0;
  box-sizing: border-box;
  padding: 0 clamp(14px, 6%, 26px) clamp(12px, 5%, 22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lcard .lcard-barcode {
  height: 24px;
  border-radius: 4px;
  background: #fffdf6;
  padding: 4px 6px;
  box-sizing: border-box;
}

.lcard-barcode span {
  height: 100%;
  background: repeating-linear-gradient(90deg, #1b1b1b 0 2px, transparent 2px 4px, #1b1b1b 4px 5px,
      transparent 5px 8px, #1b1b1b 8px 11px, transparent 11px 12px);
}

.lcard-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.lcard .lcard-valid {
  align-items: flex-end;
  font-size: 9.5px;
}

.lcard-valid span {
  opacity: 0.8;
}

.lcard-valid b {
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------ hero card pair */

.hero-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1.12;
}

.hero-card-back {
  position: absolute;
  width: 70%;
  left: 2%;
  top: 4%;
  aspect-ratio: 1.586;
  transform: rotate(-9deg);
}

.hero-card-front {
  position: absolute;
  width: 76%;
  right: 0;
  top: 26%;
  aspect-ratio: 1.586;
  transform: rotate(5deg);
  perspective: 1200px;
}

.hero-flip {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: clamp(14px, 1.6vw, 20px);
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-flip[aria-pressed="true"] {
  transform: rotateY(180deg);
}

.hero-flip:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 4px;
}

.hero-face {
  position: absolute;
  inset: 0;
  transform: rotateY(0deg);
}

/* Not just the face: its text sits in its own stacking context (z-index
   above the sheen), which Chrome may composite as a separate layer, and
   backface-visibility does not reach into that layer. Without this the
   front's text shows through the back, mirrored. */
.hero-face,
.hero-face::before,
.hero-face::after,
.hero-face *,
.hero-face *::before,
.hero-face *::after {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-face-back {
  transform: rotateY(180deg);
}

.earn-toast {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--float-shadow);
  transform: rotate(-3deg);
  text-align: left;
  pointer-events: none;
}

.earn-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex: none;
}

.earn-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.earn-sub {
  display: block;
  font-size: 11.5px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 500px;
}

.hero-brands button {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  background: var(--card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.hero-brands button[aria-pressed="true"] {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
}

.hero-hint {
  font-size: 12px;
  color: var(--text-muted);
}

/* Without home.js the brand switcher and the flip do nothing, so neither is
   offered; the first brand's front still reads as a finished picture. */
html:not(.js) .hero-brands,
html:not(.js) .hero-hint {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-flip {
    transition: none;
  }
}

.hero-shot {
  position: relative;
  margin-top: clamp(40px, 6vw, 64px);
}

.hero-shot .frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 40px 80px -40px rgba(40, 30, 120, 0.35);
}

.hero-shot .inner {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.hero-shot img,
.screen-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Every screenshot ships a light and a dark capture; the page's own theme
   (not just the system's) picks one, so <picture> media queries can't. The
   hidden one is `display: none` and lazy, so it is never downloaded. */
.hero-shot img.shot-dark,
.screen-frame img.shot-dark,
:root[data-theme="dark"] .hero-shot img.shot-light,
:root[data-theme="dark"] .screen-frame img.shot-light {
  display: none;
}

:root[data-theme="dark"] .hero-shot img.shot-dark,
:root[data-theme="dark"] .screen-frame img.shot-dark {
  display: block;
}

.built-for {
  padding-top: 36px;
}

.built-for ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 32px;
}

.built-for li {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

.built-for li:first-child {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ----------------------------------------------------------- industries */

#industries {
  padding-top: clamp(72px, 9vw, 110px);
}

.industry-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.industry-panel h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.mini {
  background: var(--sunken);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.mini-stats div {
  background: var(--card);
  border-radius: 12px;
  padding: 14px;
}

.mini-stats b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.mini-stats span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.mini-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* -------------------------------------------------------------- screens */

.screen-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(11, 15, 25, 0.3);
  overflow: hidden;
}

.screen-frame .dots {
  padding: 12px 18px;
}

.screen-caption {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 560px;
}

/* ------------------------------------------------------------- features */

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature .icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.feature .icon-tile .glyph {
  width: 21px;
  height: 21px;
}

.feature h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 460px;
}

.feature.big {
  background: var(--chip-bg);
}

.feature.big h3 {
  font-size: 22px;
}

/* Which tiles are wide depends on the column count, exactly as the design
   picks them: 1st and 3rd of three columns (rows of 2+1, 2+1, 1+1+1); only
   the 3rd of two. */
@media (min-width: 640px) and (max-width: 999px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento .feature:nth-child(3) {
    grid-column: span 2;
    background: var(--chip-bg);
  }

  .bento .feature:nth-child(3) h3 {
    font-size: 22px;
  }
}

@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bento .feature:is(:nth-child(1), :nth-child(3)) {
    grid-column: span 2;
    background: var(--chip-bg);
  }

  .bento .feature:is(:nth-child(1), :nth-child(3)) h3 {
    font-size: 22px;
  }
}

/* -------------------------------------------------------------- loyalty */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.loyalty-demo {
  background: var(--sunken);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* The section's card is the hero's gold face, laid out at its natural
   height rather than a card's fixed aspect ratio. */
.loyalty-card {
  border-radius: 18px;
  box-shadow: 0 30px 56px -24px rgba(0, 0, 0, 0.5), 0 8px 18px -8px rgba(0, 0, 0, 0.25);
}

.loyalty-card .lcard-rings::before {
  right: -14%;
  top: -48%;
  width: 62%;
}

.loyalty-card .lcard-rings::after {
  right: -6%;
  top: -32%;
  width: 46%;
}

.loyalty-card .lcard-body {
  padding: 24px;
  gap: 18px;
}

.loyalty-card .lcard-name {
  font-size: 19px;
}

.loyalty-card .lcard-type,
.loyalty-card .lcard-label {
  font-size: 9.5px;
}

.loyalty-card .lcard-tier {
  font-size: 11px;
}

.loyalty-card .lcard-pts {
  font-size: 36px;
  letter-spacing: -0.02em;
}

.loyalty-card .lcard-pts small {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
}

.loyalty-card .lcard-member {
  font-size: 13px;
}

.loyalty-card .lcard-mask {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-top: 3px;
}

.loyalty-card .track {
  height: 6px;
  border-radius: 999px;
  background: rgba(59, 39, 6, 0.22);
  overflow: hidden;
}

.loyalty-card .track span {
  height: 100%;
  width: 68%;
  background: #3b2706;
  border-radius: 999px;
}

.loyalty-card .note {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.loyalty-card .note span {
  display: inline;
}

.redeem-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.redeem {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.redeem li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}

.redeem b {
  display: block;
  font-size: 14px;
}

.redeem li > div > span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.redeem .pill {
  font-size: 10.5px;
  padding: 4px 10px;
  flex: none;
}

.redeem .pill-muted {
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.loyalty-copy .h2 {
  margin-bottom: 14px;
}

.loyalty-copy .lede {
  margin-bottom: 24px;
  max-width: 480px;
}

.loyalty-copy .ticks {
  gap: 12px;
  margin-bottom: 28px;
}

/* ----------------------------------------------------------- integrations */

.cards-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 18px;
}

.tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.tile .icon-tile,
.security .icon-tile {
  margin-bottom: 16px;
}

.tile h3,
.security h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.tile p,
.security p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------------------------ showcases */

.showcases {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: 40px;
}

.showcases .shell {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 80px);
}

.showcase {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  flex-wrap: wrap;
}

.showcase.reverse {
  flex-direction: row-reverse;
}

.showcase > * {
  flex: 1;
  min-width: min(300px, 100%);
}

.showcase h3.title {
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 14px;
  text-wrap: balance;
}

.showcase .lede {
  margin-bottom: 20px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 48px -28px rgba(11, 15, 25, 0.3);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.panel-head b {
  font-size: 14px;
}

.panel-head span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.panel .row {
  padding: 12px 0;
  font-size: 13.5px;
}

/* --------------------------------------------------------- testimonials */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px;
}

.quote {
  margin: 0;
  background: var(--card);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.quote blockquote {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote figcaption::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
}

.quote figcaption b {
  display: block;
  font-size: 14px;
}

.quote figcaption span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ---------------------------------------------------------------- steps */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.steps li {
  background: var(--card);
  padding: 30px 26px;
}

.steps .num {
  display: block;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent-tx);
  margin-bottom: 22px;
}

.steps h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.steps p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* -------------------------------------------------------------- compare */

.compare-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

table.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
}

table.compare col.task {
  width: 31%;
}

table.compare th,
table.compare td {
  text-align: left;
  padding: 14px 16px;
  font-size: 13px;
  border-top: 1px solid var(--border);
}

table.compare thead th {
  padding: 18px;
  border-top: 0;
  font-size: 13.5px;
  font-weight: 700;
}

table.compare thead th:first-child {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table.compare tbody th {
  font-weight: 600;
}

table.compare td {
  color: var(--text-secondary);
}

table.compare td:last-child {
  font-weight: 700;
  color: var(--chip-fg);
  background: var(--chip-bg);
}

/* ------------------------------------------------------------- security */

.security-box {
  background: var(--sunken);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 32px;
}

.security-box > header {
  grid-column: 1 / -1;
  max-width: 560px;
}

.security-box .h2 {
  font-size: clamp(24px, 3vw, 30px);
}

.security-box svg {
  width: 20px;
  height: 20px;
}

.band-sm {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: 40px;
}

/* -------------------------------------------------------------- pricing */

@keyframes priceIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.pricing-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-head .h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 12px;
}

.pricing-head > p:last-child {
  font-size: 15.5px;
  color: var(--text-secondary);
}

.founding {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  margin-bottom: 26px;
  width: min(340px, 100%);
  text-align: left;
}

.founding-title {
  font-size: 12.5px;
  font-weight: 700;
}

.founding-track {
  height: 6px;
  border-radius: 999px;
  background: var(--sunken);
  overflow: hidden;
}

.founding-track div {
  height: 100%;
  border-radius: 999px;
  background: var(--brand-600);
}

.founding-left {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Shown by home.js — without it the toggles would do nothing, and the
   markup's USD/yearly prices stand on their own. */
.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 30px;
}

.pricing-controls[hidden] {
  display: none;
}

@media (max-width: 639px) {
  .pricing-controls {
    flex-direction: column;
  }
}

.seg-sm {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--sunken);
  border: 1px solid var(--border);
  max-width: 100%;
}

.seg-sm button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: transparent;
  color: var(--text-secondary);
  transition: background 0.15s ease;
}

@media (max-width: 639px) {
  .seg-sm button {
    padding: 0 11px;
  }
}

.seg-sm button[aria-pressed="true"] {
  font-weight: 700;
  background: var(--card);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}

.seg-sm .off {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok-fg);
}

/* One column below 900px, narrowed, with Growth moved to the top — the
   plan most visitors should see first on a phone. */
.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 440px;
  margin: 0 auto;
}

.plan.popular {
  order: -1;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1040px;
  }

  .plan.popular {
    order: 0;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border-radius: 20px;
  border: 1.5px solid var(--border);
}

.plan.popular {
  border-color: var(--brand-600);
  box-shadow: 0 20px 40px -20px rgba(80, 90, 220, 0.28);
}

.plan .trial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--ok-bg);
  color: var(--ok-fg);
  font-size: 12px;
  font-weight: 700;
}

.plan .trial svg,
.trust svg {
  width: 11px;
  height: 11px;
  flex: none;
}

.plan-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.plan h3 {
  font-size: 16px;
}

.plan .badge {
  background: var(--brand-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.plan .desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 48px;
}

.plan .price s {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.plan .price b {
  display: inline-block;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.plan .price b.is-changing {
  animation: priceIn 0.28s ease-out;
}

.plan .price > span {
  font-size: 13px;
  color: var(--text-muted);
}

.plan .billed {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 6px 0 22px;
  min-height: 19px;
}

.plan .billed em {
  font-style: normal;
  font-weight: 700;
  color: var(--ok-fg);
}

.plan [hidden] {
  display: none;
}

.plan .ticks {
  margin-bottom: 24px;
  flex: 1;
}

.plan .btn {
  width: 100%;
  height: 44px;
}

.plan .caption {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 9px;
}

/* The per-staff comparison: three cells split by 1px of border colour. */
.per-staff {
  max-width: 1040px;
  margin: 22px auto 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px;
  background: var(--border);
}

.per-staff > div {
  padding: 18px 22px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.per-staff > div > span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.per-staff > div > b {
  font-size: 14.5px;
}

.per-staff > div:first-child > b {
  color: var(--text-secondary);
}

.per-staff .accent {
  color: var(--accent-tx);
}

.per-staff .example {
  background: var(--chip-bg);
}

.per-staff .example > span {
  color: var(--chip-fg);
}

.per-staff .example p {
  font-size: 14.5px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
}

.per-staff .example p span {
  color: var(--text-secondary);
}

.per-staff .example p b {
  font-weight: 800;
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  max-width: 1040px;
  margin: 26px auto 0;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust svg {
  box-sizing: content-box;
  padding: 3.5px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok-fg);
}

/* Phone-width sticky bar while pricing is on screen (home.js). The WhatsApp
   button steps aside for it rather than sitting on top of "Start free". */
.price-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--float-shadow);
}

.price-bar[hidden] {
  display: none;
}

.price-bar span {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-bar .btn {
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.has-price-bar .whatsapp-fab {
  display: none;
}

/* ------------------------------------------------------------ free setup */

.setup {
  padding-top: 32px;
  padding-bottom: 40px;
}

.setup-band {
  border: 1px solid var(--border);
  background: var(--chip-bg);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 34px) clamp(24px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.setup-band > div {
  flex: 1;
  min-width: min(260px, 100%);
}

.setup-band h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.setup-band p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
}

/* --------------------------------------------------------------- mobile */

.mobile .shell {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.mobile .copy {
  flex: 1;
  min-width: min(300px, 100%);
}

.mobile .h2 {
  margin-bottom: 16px;
}

.mobile .lede {
  margin-bottom: 22px;
  max-width: 520px;
}

.phone {
  flex: 0 0 auto;
  margin: 0 auto;
  width: 270px;
  height: 540px;
  background: #14121f;
  border-radius: 40px;
  padding: 11px;
  box-shadow: 0 30px 60px -26px rgba(11, 15, 25, 0.45);
}

.phone .screen {
  width: 100%;
  height: 100%;
  background: var(--page);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone .notch {
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone .notch::before {
  content: "";
  width: 84px;
  height: 20px;
  background: #14121f;
  border-radius: 999px;
}

.phone .content {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone .today span {
  font-size: 11px;
  color: var(--text-muted);
}

.phone .today b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.phone .stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.phone .stats div,
.phone .orders {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px;
}

.phone .stats b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.phone .stats span {
  font-size: 10px;
  color: var(--text-muted);
}

.phone .orders {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone .orders .mini-label {
  font-size: 10px;
  margin: 0;
}

.phone .row {
  font-size: 11px;
  padding: 0 0 7px;
}

/* ------------------------------------------------------------------ faq */

#faq {
  padding: clamp(64px, 9vw, 96px) 0;
}

#faq .shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px;
  align-items: start;
}

#faq .h2 {
  margin-bottom: 14px;
}

#faq .intro p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 400px;
}

#faq .intro a {
  font-size: 14px;
  font-weight: 700;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-top: 0;
  border-bottom: 1px solid var(--border);
}

.faq-q {
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.faq-q::after {
  content: none;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sunken);
  color: var(--text-primary);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-600);
  color: #fff;
}

.faq-a {
  font-size: 14.5px;
  line-height: 1.65;
  padding: 0 48px 22px 0;
}

/* ------------------------------------------------------------------ cta */

.cta {
  padding-bottom: clamp(48px, 7vw, 80px);
}

.cta-card {
  background: var(--brand-600);
  color: #fff;
  border-radius: 28px;
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-card > div {
  max-width: 560px;
}

.cta-card h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
  color: #fff;
}

.cta-card p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
}

.btn-white {
  height: 52px;
  padding: 0 26px;
  background: #fff;
  color: var(--brand-700);
  font-size: 14.5px;
}

.btn-white:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

/* --------------------------------------------------------------- footer */

.home-footer {
  padding-top: 56px;
  padding-bottom: 32px;
}

.home-footer .shell {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.home-footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 28px;
}

.home-footer .home-brand {
  font-size: 17px;
  margin-bottom: 12px;
}

.home-footer .home-brand .logo {
  width: 28px;
  height: 28px;
}

.home-footer .tagline {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 220px;
  line-height: 1.5;
}

.footer-heading {
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

/* ------------------------------------------------------------- whatsapp */

.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab:hover {
  background: #1ebe5b;
  color: #fff;
}

.whatsapp-fab svg {
  width: 22px;
  height: 22px;
}

/* On a phone the label would cover half the content it floats over. */
@media (max-width: 519px) {
  .whatsapp-fab {
    width: 52px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-fab span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------- dialog */

dialog.modal {
  border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(11, 15, 25, 0.35);
}

dialog.modal::backdrop {
  background: rgba(15, 10, 35, 0.45);
}

.modal-body {
  padding: 32px;
}

.modal-head h2 {
  font-size: 21px;
  font-weight: 800;
}
