/* Cari-Bill — brand-aligned palette (logo + dashboard navy, green CTAs, blue links) */

:root {
  --cb-navy: #0f2744;
  --cb-navy-mid: #152d47;
  --cb-navy-deep: #0a1a2e;
  --cb-blue: #2563eb;
  --cb-blue-hover: #1d4ed8;
  --cb-green: #16a34a;
  --cb-green-hover: #15803d;
  --cb-sky: #38bdf8;
  --cb-teal: #0d9488;
  --cb-teal-light: #5eead4;
  --cb-coral: #ea580c;
  --cb-coral-soft: #fb923c;
  --cb-sand: #faf6f0;
  --cb-mint: #ecfdf5;
  --cb-ocean: #0ea5e9;

  --apple-bg: #f3f6f9;
  --apple-white: #ffffff;
  --apple-black: #0a1628;
  --apple-text: #0f172a;
  --apple-sub: #64748b;
  --apple-sub-dark: #94a3b8;
  --apple-link: var(--cb-blue);
  --apple-cta: var(--cb-green);
  --apple-cta-hover: var(--cb-green-hover);
  --apple-blue: var(--cb-blue);
  --apple-blue-hover: var(--cb-blue-hover);
  --apple-border: rgba(15, 39, 68, 0.1);
  --apple-radius: 18px;
  --apple-radius-pill: 980px;
  --nav-h: 48px;
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: min(980px, calc(100% - 48px));
  --container-wide: min(1200px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker__track {
    animation: none;
  }

  .mobile-menu,
  body::before {
    transition: none !important;
  }

  .mobile-menu {
    transform: none !important;
  }

  .menu-btn__inner::before,
  .menu-btn__inner::after {
    transition-duration: 0.01ms !important;
  }

  .hero-apple__logo-mark {
    animation: none !important;
  }

  .mini-card:hover {
    transform: none;
  }

  .metrics-callout__chips span:hover {
    transform: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-apple);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--apple-text);
  background:
    radial-gradient(ellipse 100% 70% at 100% 0%, rgba(14, 165, 233, 0.14), transparent 52%),
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(249, 115, 22, 0.09), transparent 48%),
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(20, 184, 166, 0.07), transparent 55%),
    linear-gradient(185deg, #eef6fb 0%, var(--cb-sand) 38%, #f0fdfa 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.link-apple {
  color: var(--cb-blue);
  font-weight: 500;
}

.link-apple:hover {
  text-decoration: underline;
}

/* Skip */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 16px;
  background: var(--apple-cta);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease-apple);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Nav — navy glass (matches product sidebar) */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(15, 39, 68, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.brand img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  font-weight: 400;
}

.nav-links a {
  color: rgba(248, 250, 252, 0.9);
  opacity: 0.95;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--cb-sky);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions .link-apple {
  color: #bae6fd;
}

.nav-actions .link-apple:hover {
  color: #fff;
}

.menu-btn {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease-apple), box-shadow 0.2s;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.menu-btn:focus-visible {
  outline: 2px solid var(--cb-teal-light);
  outline-offset: 2px;
}

.menu-btn__inner {
  display: block;
  width: 20px;
  height: 2px;
  background: #f8fafc;
  border-radius: 1px;
  position: relative;
  transition: background 0.25s var(--ease-apple);
}

.menu-btn__inner::before,
.menu-btn__inner::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #f8fafc;
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), top 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-btn__inner::before {
  top: -7px;
}

.menu-btn__inner::after {
  top: 7px;
}

.menu-btn[aria-expanded="true"] {
  background: rgba(94, 234, 212, 0.18);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.35);
}

.menu-btn[aria-expanded="true"] .menu-btn__inner {
  background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-btn__inner::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__inner::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.mobile-menu a {
  display: block;
  font-size: 17px;
  color: #e2e8f0;
}

.mobile-menu__cta {
  margin: 0 0 20px;
  border-radius: 14px;
  text-align: center;
  padding: 15px 18px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 20px rgba(22, 163, 74, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.2s var(--ease-apple), box-shadow 0.2s;
}

.mobile-menu__cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 8px 28px rgba(22, 163, 74, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

@media (max-width: 900px) {
  :root {
    --nav-h: 56px;
  }

  .nav-inner {
    position: relative;
    z-index: 102;
    padding: 0 16px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand__name {
    font-size: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand img {
    height: 28px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  body::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-h);
    bottom: 0;
    z-index: 89;
    background: rgba(5, 18, 35, 0.48);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  body.menu-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-h);
    z-index: 90;
    max-height: min(calc(100dvh - var(--nav-h)), 640px);
    overflow-y: auto;
    padding: 20px 20px 28px;
    margin: 0;
    background:
      linear-gradient(165deg, rgba(21, 55, 82, 0.98) 0%, rgba(10, 26, 46, 0.99) 55%, rgba(8, 35, 42, 0.97) 100%);
    border-bottom: 1px solid rgba(94, 234, 212, 0.2);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.28s;
  }

  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu a:not(.mobile-menu__cta) {
    padding: 14px 16px;
    margin: 6px 0;
    border-radius: 12px;
    border-top: none;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 500;
    transition: background 0.2s, color 0.2s, transform 0.2s;
  }

  .mobile-menu a:not(.mobile-menu__cta):hover {
    background: rgba(94, 234, 212, 0.14);
    color: #fff;
  }

  .mobile-menu a:not(.mobile-menu__cta):active {
    transform: scale(0.99);
  }
}


/* Buttons */
.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 11px 22px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.17647;
  letter-spacing: -0.022em;
  border-radius: var(--apple-radius-pill);
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s, transform 0.15s var(--ease-apple), box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-apple:active {
  transform: scale(0.98);
}

.btn-apple--solid {
  background: var(--apple-cta);
  color: #fff;
  box-shadow: 0 2px 14px rgba(22, 163, 74, 0.35);
}

.btn-apple--solid:hover {
  background: var(--apple-cta-hover);
  box-shadow: 0 6px 22px rgba(22, 163, 74, 0.45);
}

.btn-apple--solid.btn-apple--light {
  background: #fff;
  color: var(--apple-text);
}

.btn-apple--solid.btn-apple--light:hover {
  background: #f5f5f7;
}

.btn-apple--ghost {
  background: transparent;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-apple--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-apple--outline {
  background: transparent;
  color: var(--apple-blue);
  border-color: var(--apple-blue);
}

.btn-apple--outline:hover {
  background: rgba(37, 99, 235, 0.08);
}

.btn-apple--block {
  width: 100%;
}

/* Hero — navy gradient aligned with app chrome */
.hero-apple {
  background:
    radial-gradient(ellipse 90% 60% at 80% 20%, rgba(20, 184, 166, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(249, 115, 22, 0.12), transparent 45%),
    linear-gradient(165deg, var(--cb-navy-deep) 0%, var(--cb-navy) 42%, #163a52 100%);
  color: #f8fafc;
  padding: 32px 24px 88px;
  text-align: center;
}

.hero-apple__logo-row {
  margin: 0 auto 28px;
  max-width: min(100%, 520px);
}

.hero-apple__logo-mark {
  display: block;
  height: clamp(104px, 20vw, 168px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.35));
}

@media (prefers-reduced-motion: no-preference) {
  .hero-apple__logo-mark {
    animation: hero-logo-drift 6s ease-in-out infinite;
  }
}

@keyframes hero-logo-drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.hero-apple__copy {
  max-width: 820px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--apple-sub);
  margin: 0 0 12px;
}

.eyebrow--on-dark {
  color: #a1a1a6;
}

.hero-apple__title {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}

.hero-apple__sub {
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.4;
  font-weight: 400;
  color: #a1a1a6;
  max-width: 680px;
  margin: 0 auto 28px;
}

.hero-apple__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-apple__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.mini-card {
  text-align: left;
  width: min(100%, 280px);
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s var(--ease-apple), border-color 0.25s, box-shadow 0.35s;
}

.mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.mini-card--green {
  border-color: rgba(52, 199, 89, 0.35);
  background: rgba(52, 199, 89, 0.08);
}

.mini-card__tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #a1a1a6;
  margin-bottom: 8px;
}

.mini-card strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.mini-card__amt {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mini-card__amt--plus {
  color: #34c759;
}

.mini-card__meta {
  display: block;
  font-size: 12px;
  color: #a1a1a6;
  margin-top: 8px;
}

.hero-apple__visual {
  max-width: 980px;
  margin: 0 auto;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #2d2d2d;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

.browser-chrome__dots {
  display: flex;
  gap: 6px;
}

.browser-chrome__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5c5c5c;
}

.browser-chrome__dots span:nth-child(1) {
  background: #ff5f57;
}

.browser-chrome__dots span:nth-child(2) {
  background: #febc2e;
}

.browser-chrome__dots span:nth-child(3) {
  background: #28c840;
}

.browser-chrome__url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #a1a1a6;
}

.browser-chrome--light {
  background: #e8e8ed;
  border-color: rgba(0, 0, 0, 0.06);
}

.browser-chrome--light .browser-chrome__url {
  color: var(--apple-sub);
}

.browser-chrome__viewport {
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  background: #1c1c1e;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.browser-chrome__viewport img {
  width: 100%;
  filter: contrast(1.03) saturate(1.05);
}

/* Match native asset size (1024px) so the hero is not upscaled and soft on large screens */
.browser-chrome__viewport img.dashboard-screenshot {
  display: block;
  max-width: 1024px;
  margin-inline: auto;
  height: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.browser-chrome__viewport--rounded {
  border-radius: 0 0 16px 16px;
}

.browser-chrome__viewport--loyalty img {
  object-fit: contain;
  max-height: 380px;
  margin: 0 auto;
  background: #0a0a0a;
}

/* Ticker */
.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, rgba(236, 253, 245, 0.95), rgba(255, 247, 237, 0.98), rgba(224, 242, 254, 0.95));
  border-block: 1px solid rgba(13, 148, 136, 0.15);
  padding: 18px 0;
}

.ticker__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-size: 14px;
  font-weight: 600;
  color: #0f766e;
  letter-spacing: -0.01em;
}

.ticker__track span {
  white-space: nowrap;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Sections */
.container-apple {
  width: var(--container-wide);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-apple--narrow {
  width: var(--container);
}

.section-apple {
  padding: 100px 0;
}

.section-apple--muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, var(--cb-sand) 100%);
  border-block: 1px solid rgba(13, 148, 136, 0.08);
}

.headline-apple {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

.headline-apple--center {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.intro-apple {
  font-size: 21px;
  line-height: 1.381;
  color: var(--apple-sub);
  max-width: 720px;
  margin: 0 0 48px;
}

.intro-apple--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.metric {
  text-align: center;
  padding: 8px;
}

.metric__value {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.metric__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--apple-text);
  margin-bottom: 4px;
}

.metric__hint {
  display: block;
  font-size: 12px;
  color: var(--apple-sub);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Steps */
.steps-apple {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.steps-apple li {
  padding: 0;
}

.steps-apple__num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cb-green);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.steps-apple h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

.steps-apple p {
  margin: 0 0 12px;
  color: var(--apple-sub);
  font-size: 17px;
  line-height: 1.5;
}

.steps-apple__note {
  font-size: 13px;
  color: var(--apple-sub);
}

@media (max-width: 800px) {
  .steps-apple {
    grid-template-columns: 1fr;
  }
}

/* Bento features */
.feature-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.bento-card {
  padding: 28px;
  border-radius: var(--apple-radius);
  background: var(--apple-white);
  border: 1px solid rgba(13, 148, 136, 0.12);
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s, border-color 0.25s;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow:
    0 16px 48px rgba(13, 148, 136, 0.12),
    0 0 0 1px rgba(20, 184, 166, 0.08);
}

.bento-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}

.bento-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--apple-sub);
}

.bento-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .feature-bento {
    grid-template-columns: 1fr;
  }
}

/* Story rows */
.story-apple {
  padding: 100px 0;
  background: var(--apple-bg);
}

.story-apple--dark {
  background: linear-gradient(180deg, var(--cb-navy-deep) 0%, var(--cb-navy) 100%);
  color: #f8fafc;
}

.story-apple__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.story-apple__grid--reverse {
  direction: rtl;
}

.story-apple__grid--reverse > * {
  direction: ltr;
}

.story-apple__text .headline-apple {
  font-size: clamp(28px, 4vw, 44px);
}

.headline-apple--on-dark {
  color: #f5f5f7;
}

.story-apple__lead {
  font-size: 19px;
  line-height: 1.45;
  color: var(--apple-sub);
  margin: 0 0 24px;
}

.story-apple__lead--muted {
  color: #a1a1a6;
}

.story-apple__list {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: var(--apple-sub);
  font-size: 17px;
  line-height: 1.6;
}

.story-apple__list li {
  margin-bottom: 8px;
}

.story-apple__list--on-dark {
  color: #d1d1d6;
}

.story-apple__shot {
  min-width: 0;
}

.story-apple__shot--contain .browser-chrome__viewport--loyalty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

@media (max-width: 900px) {
  .story-apple__grid,
  .story-apple__grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .story-apple__shot {
    order: -1;
  }
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.quote-card {
  margin: 0;
  padding: 28px;
  border-radius: var(--apple-radius);
  background: var(--apple-white);
  border: 1px solid var(--apple-border);
}

.quote-card blockquote {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--apple-text);
}

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

.quote-card__av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--apple-bg);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--apple-sub);
}

.quote-card figcaption strong {
  display: block;
  color: var(--apple-text);
}

.quote-card__role {
  display: block;
  font-size: 12px;
  color: var(--apple-sub);
  font-weight: 400;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Trust simple */
.trust-simple {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.trust-simple__item h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
}

.trust-simple__item p {
  margin: 0;
  color: var(--apple-sub);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .trust-simple {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.plans-apple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-apple {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--apple-radius);
  background: var(--apple-white);
  border: 1px solid var(--apple-border);
  display: flex;
  flex-direction: column;
}

.plan-apple--featured {
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: 0 16px 48px rgba(22, 163, 74, 0.12);
}

.plan-apple__ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cb-green);
}

.plan-apple__name {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 8px;
}

.plan-apple__desc {
  font-size: 14px;
  color: var(--apple-sub);
  margin: 0 0 20px;
  min-height: 3em;
}

.plan-apple__price {
  margin: 0 0 24px;
}

.plan-apple__price--dual {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.plan-apple__ttd {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--apple-text);
  line-height: 1.1;
}

.plan-apple__usd {
  font-size: 15px;
  color: var(--apple-sub);
  font-weight: 400;
}

.plan-apple__usd--solo {
  margin: -8px 0 20px;
}

.plan-apple__contact {
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--cb-navy);
}

.plan-apple__currency {
  font-size: 24px;
  font-weight: 500;
  vertical-align: top;
}

.plan-apple__amount {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.plan-apple__period {
  font-size: 15px;
  color: var(--apple-sub);
  font-weight: 400;
}

.plan-apple__list {
  margin: 0 0 28px;
  padding: 0 0 0 1.1em;
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--apple-text);
}

.plan-apple__list li {
  margin-bottom: 8px;
}

.plan-apple .btn-apple {
  margin-top: auto;
}

@media (max-width: 900px) {
  .plans-apple {
    grid-template-columns: 1fr;
  }
}

.pricing-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--apple-sub);
  margin-top: 32px;
}

/* FAQ */
.faq-list {
  margin-top: 40px;
}

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

.faq-item summary {
  padding: 20px 0;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--apple-sub);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 20px;
  padding-right: 32px;
  color: var(--apple-sub);
  font-size: 17px;
  line-height: 1.5;
}

/* Contact — demo form + trial */
.eyebrow--center {
  text-align: center;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
  margin-top: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.demo-form,
.contact-trial-card {
  padding: 32px;
  border-radius: var(--apple-radius);
  border: 1px solid rgba(13, 148, 136, 0.18);
  background: linear-gradient(165deg, #ffffff 0%, var(--cb-mint) 100%);
  box-shadow: 0 20px 50px rgba(15, 39, 68, 0.06);
}

.contact-trial-card {
  background: linear-gradient(165deg, #fff 0%, var(--cb-sand) 100%);
  border-color: rgba(234, 88, 12, 0.15);
}

.demo-form__title,
.contact-trial-card__title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
}

.demo-form__hint {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--apple-sub);
  line-height: 1.45;
}

.demo-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--apple-text);
  margin-bottom: 6px;
  margin-top: 14px;
}

.demo-form__label:first-of-type {
  margin-top: 0;
}

.demo-form__opt {
  font-weight: 400;
  color: var(--apple-sub);
}

.demo-form__input,
.demo-form__textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border-radius: 12px;
  border: 1px solid var(--apple-border);
  background: #fff;
}

.demo-form__input:focus,
.demo-form__textarea:focus {
  outline: none;
  border-color: var(--cb-teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.demo-form__textarea {
  resize: vertical;
  min-height: 100px;
}

.demo-form .btn-apple {
  margin-top: 20px;
}

.contact-trial-card__sub {
  margin: 0 0 20px;
  color: var(--apple-sub);
  font-size: 15px;
  line-height: 1.5;
}

.contact-trial-card__fine {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--apple-sub);
  line-height: 1.5;
}

.contact-trial-card__loc {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--apple-sub);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Final CTA */
.cta-final {
  background:
    radial-gradient(ellipse 80% 60% at 70% 100%, rgba(249, 115, 22, 0.12), transparent 50%),
    linear-gradient(180deg, var(--cb-navy) 0%, var(--cb-navy-deep) 100%);
  color: #f8fafc;
  text-align: center;
  padding: 100px 24px;
}

.cta-final__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

.cta-final__sub {
  font-size: 21px;
  color: #a1a1a6;
  margin: 0 0 28px;
}

.cta-final__hint {
  margin: 20px 0 0;
  font-size: 14px;
  color: #6e6e73;
}

/* Footer */
.footer-apple {
  background: var(--apple-bg);
  padding: 40px 24px 60px;
  border-top: 1px solid var(--apple-border);
}

.footer-apple__inner {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.footer-apple__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
}

.footer-apple__brand img {
  height: 32px;
  width: auto;
}

.footer-apple__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-apple__links a {
  font-size: 12px;
  color: var(--apple-sub);
}

.footer-apple__links a:hover {
  color: var(--apple-text);
}

.footer-apple__legal {
  margin: 0;
  font-size: 12px;
  color: var(--apple-sub);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-apple), transform 0.6s var(--ease-apple);
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.nav-wrap.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* “Shape the future” band — Caribbean warmth */
.section-carib-cta {
  padding: 88px 0;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.9) 0%, rgba(236, 253, 245, 0.95) 45%, rgba(224, 242, 254, 0.85) 100%);
  border-block: 1px solid rgba(20, 184, 166, 0.2);
}

.metrics-callout__title {
  max-width: 720px;
}

.metrics-callout__sub {
  max-width: 640px;
}

.metrics-callout__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.metrics-callout__chips span {
  padding: 10px 18px;
  border-radius: var(--apple-radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #0f766e;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(13, 148, 136, 0.25);
  transition: transform 0.22s var(--ease-apple), box-shadow 0.22s, border-color 0.22s;
}

.metrics-callout__chips span:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.45);
}

.eyebrow--coral {
  color: #c2410c;
  letter-spacing: 0.08em;
}

/* Legal pages (shared with index styles) */
.page-legal {
  min-height: 100vh;
}

.legal-main {
  padding: 32px 0 80px;
}

.legal-wrap {
  max-width: var(--container);
  margin: 0 auto;
}

.legal-card {
  padding: 40px 36px;
  border-radius: var(--apple-radius);
  background: linear-gradient(180deg, #ffffff 0%, var(--cb-sand) 100%);
  border: 1px solid rgba(13, 148, 136, 0.15);
  box-shadow: 0 24px 60px rgba(15, 39, 68, 0.08);
}

.legal-card .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cb-teal);
  margin-bottom: 8px;
}

.legal-card h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--apple-text);
}

.legal-card h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--apple-text);
}

.legal-card p,
.legal-card li {
  color: var(--apple-sub);
  line-height: 1.65;
  font-size: 16px;
}

.legal-card a {
  color: var(--cb-blue);
  font-weight: 500;
}

.legal-card a:hover {
  text-decoration: underline;
}

.legal-card__contact {
  margin-top: 28px;
  font-size: 17px;
  color: var(--apple-sub);
  line-height: 1.7;
}

.legal-top {
  margin-bottom: 24px;
}
