/* ─── thrivelo Website — Shared Design System ────────────────────────────── */

/* ─── Light Theme (default) ──────────────────────────────────────────────── */

:root {
  /* Palette — OKLCH (perceptually uniform) */
  /* Light: teal-tinted near-white, amber accent, teal-dark text */
  --bg:             oklch(97%   0.007 210);
  --bg-raised:      oklch(94%   0.010 210);
  --bg-overlay:     oklch(92%   0.012 210);

  --primary:        oklch(60%   0.14  68);  /* #C8900A — amber */
  --primary-hover:  oklch(54%   0.12  68);
  --primary-dim:    oklch(50%   0.10  68);
  --primary-subtle: oklch(94%   0.04  68);

  --text:           oklch(25%   0.05  215); /* #2A4A54-ish — teal-dark */
  --text-muted:     oklch(42%   0.03  210);
  --text-subtle:    oklch(58%   0.025 210);

  --border:         oklch(88%   0.01  210);
  --border-mid:     oklch(80%   0.012 210);

  /* Typography */
  --font-display: 'Gloock', Georgia, serif;
  --font-body:    'Archivo', system-ui, -apple-system, sans-serif;

  /* Spacing — 4pt base scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Layout */
  --max-w:     1240px;
  --content-w: 900px;
  --gutter:    clamp(var(--sp-6), 5vw, var(--sp-12));

  /* Transitions */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   150ms;
  --t-base:   250ms;
  --t-slow:   400ms;
}

/* ─── Dark Theme override ─────────────────────────────────────────────────── */

html[data-theme="dark"] {
  --bg:             oklch(15%   0.012 215);  /* #1E3840-ish — teal-dark */
  --bg-raised:      oklch(18%   0.015 215);
  --bg-overlay:     oklch(22%   0.018 215);

  --primary:        oklch(66%   0.14  68);
  --primary-hover:  oklch(72%   0.14  68);
  --primary-dim:    oklch(52%   0.10  68);
  --primary-subtle: oklch(22%   0.05  68);

  --text:           oklch(93%   0.010 75);   /* #F0ECE4 — cream */
  --text-muted:     oklch(64%   0.012 65);
  --text-subtle:    oklch(42%   0.010 65);

  --border:         oklch(24%   0.012 215);
  --border-mid:     oklch(30%   0.012 215);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

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

html,
body {
  transition: background-color var(--t-base) ease, color var(--t-base) ease;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */

.display {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text);
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--content-w);
}

/* ─── Wordmark img theming ───────────────────────────────────────────────── */

.nav__wordmark--for-dark,
.footer__wordmark--for-dark {
  display: none;
}

html[data-theme="dark"] .nav__wordmark--for-light,
html[data-theme="dark"] .footer__wordmark--for-light {
  display: none;
}

html[data-theme="dark"] .nav__wordmark--for-dark,
html[data-theme="dark"] .footer__wordmark--for-dark {
  display: block;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--t-base) ease, border-color var(--t-base) ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--sp-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav__app-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}

.nav__wordmark {
  height: 52px; /* transparent SVG has ~62% vertical padding; 52px ≈ 19px visible text */
  width: auto;
  transition: opacity var(--t-fast) ease;
}

.nav__logo:hover .nav__wordmark,
.nav__logo:hover .nav__app-icon,
.nav__logo:focus-visible .nav__wordmark,
.nav__logo:focus-visible .nav__app-icon {
  opacity: 0.8;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--t-fast) ease;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link[aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

.nav__link[aria-current="page"]::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: oklch(97% 0.010 72);  /* near-white — legible on teal in both themes */
  background-color: var(--primary);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast) ease;
}

.nav__cta:hover {
  background-color: var(--primary-hover);
}

/* ─── Theme Toggle ───────────────────────────────────────────────────────── */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  background: var(--bg-raised);
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    color var(--t-fast) ease,
    background-color var(--t-fast) ease,
    border-color var(--t-fast) ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-mid);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Show moon in light (switch to dark), sun in dark (switch to light) */
.icon-sun  { display: none; }
.icon-moon { display: block; }

html[data-theme="dark"] .icon-sun  { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding-block: clamp(var(--sp-16), 12vw, var(--sp-32));
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(var(--sp-12), 8vw, var(--sp-24));
}

.hero__content {
  max-width: 600px;
}

.hero__eyebrow {
  margin-bottom: var(--sp-6);
}

.hero__headline {
  margin-bottom: var(--sp-6);
}

.hero__headline em {
  font-style: italic;
  color: var(--text-muted);
}

.hero__sub {
  max-width: 44ch;
  margin-bottom: var(--sp-10);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.hero__badge-note {
  display: block;
  margin-top: var(--sp-3);
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.screen-mock--hero {
  width: clamp(200px, 30vw, 300px);
  position: relative;
  z-index: 1;
  margin: 0;
}

.screen-mock--hero svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 48px color-mix(in oklch, var(--primary) 12%, transparent));
}

.hero__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, var(--primary-subtle) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Store Badges ───────────────────────────────────────────────────────── */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  background-color: var(--bg-raised);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  cursor: not-allowed;
  opacity: 0.55;
  transition: none;
}

.store-badge--available {
  cursor: pointer;
  opacity: 1;
  color: var(--text);
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}

.store-badge--available:hover {
  background-color: var(--bg-overlay);
}

.store-badge__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
}

.store-badge__text {
  text-align: left;
}

.store-badge__sub {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-subtle);
  margin-bottom: 1px;
}

.store-badge__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: inherit;
}

/* ─── Section Shared ─────────────────────────────────────────────────────── */

.section {
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24));
}

.section--raised {
  background-color: var(--bg-raised);
  transition: background-color var(--t-base) ease;
}

.section--overlay {
  background-color: var(--bg-overlay);
  transition: background-color var(--t-base) ease;
}

.section__header {
  margin-bottom: clamp(var(--sp-12), 6vw, var(--sp-20));
}

.section__divider {
  width: 40px;
  height: 1px;
  background-color: var(--primary);
  margin-block: var(--sp-4);
}

/* ─── Features ───────────────────────────────────────────────────────────── */

.features {
  display: flex;
  flex-direction: column;
  gap: clamp(var(--sp-12), 8vw, var(--sp-20));
}

.feature {
  display: grid;
  grid-template-columns: 64px 1fr 1fr;
  gap: var(--sp-8) clamp(var(--sp-8), 4vw, var(--sp-12));
  align-items: center;
}

.feature--right {
  grid-template-columns: 1fr 1fr 64px;
}

.feature--right .feature__number {
  order: 3;
}

.feature--right .feature__body {
  order: 2;
}

.feature--right .feature__visual {
  order: 1;
}

.feature__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--primary);
  opacity: 0.35;
  font-weight: 400;
  letter-spacing: -0.03em;
  padding-top: var(--sp-1);
  align-self: start;
}

.feature__title {
  margin-bottom: var(--sp-3);
}

.feature__desc {
  max-width: 48ch;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature__visual {
  margin: 0;
}

.feature__visual svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px color-mix(in oklch, var(--primary) 8%, transparent));
}

.feature__detail {
  margin-top: var(--sp-4);
}

.feature__detail summary {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  transition: color var(--t-fast) ease;
}

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

.feature__detail summary::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out-quart);
  position: relative;
  top: -1px;
}

.feature__detail[open] summary::after {
  transform: rotate(-135deg);
  top: 1px;
}

.feature__detail summary:hover {
  color: var(--text-muted);
}

.feature__detail__list {
  margin-top: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.feature__detail__item {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  line-height: 1.5;
}

/* ─── Download CTA ───────────────────────────────────────────────────────── */

/* Centred layout overrides for the CTA section header */
.download-cta .section__header {
  margin-bottom: var(--sp-8);
}

.download-cta .section__divider {
  margin-inline: auto;
}

.download-cta {
  text-align: center;
}

.download-cta__headline {
  margin-bottom: var(--sp-3);
}

.download-cta__sub {
  max-width: 40ch;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  color: var(--text-muted);
}

.download-cta__badges {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding-block: var(--sp-10);
  transition: border-color var(--t-base) ease;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.footer__wordmark {
  height: 38px; /* transparent SVG has ~62% vertical padding; 38px ≈ 14px visible text */
  width: auto;
  opacity: 0.65;
}

.footer__links {
  display: flex;
  gap: var(--sp-6);
}

.footer__link {
  font-size: 0.875rem;
  color: var(--text-subtle);
  transition: color var(--t-fast) ease;
}

.footer__link:hover {
  color: var(--text-muted);
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  width: 100%;
}

/* ─── Legal Pages ────────────────────────────────────────────────────────── */

.legal-page {
  padding-block: clamp(var(--sp-12), 8vw, var(--sp-20));
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-bottom: var(--sp-12);
  transition: color var(--t-fast) ease;
}

.legal-page__back:hover {
  color: var(--text-muted);
}

.legal-page__back svg {
  display: inline;
  width: 14px;
  height: 14px;
}

.legal-page__title {
  margin-bottom: var(--sp-2);
}

.legal-page__date {
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-bottom: var(--sp-12);
}

.legal-content {
  max-width: 70ch;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.01em;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.legal-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--primary-hover);
}

.legal-content strong {
  color: var(--text);
  font-weight: 500;
}

/* ─── Delight ────────────────────────────────────────────────────────────── */

/* Nav links: teal underline slides in from the left */
.nav__link {
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width 250ms cubic-bezier(0.25, 1, 0.5, 1);
}
.nav__link:hover::after {
  width: 100%;
}

/* Theme toggle: moon tilts, sun turns — quick and satisfying */
.theme-toggle .icon-moon,
.theme-toggle .icon-sun {
  transition: transform 250ms cubic-bezier(0.25, 1, 0.5, 1);
}
.theme-toggle:hover .icon-moon {
  transform: rotate(-18deg);
}
.theme-toggle:hover .icon-sun {
  transform: rotate(18deg);
}

@media (prefers-reduced-motion: no-preference) {
  /* Section dividers grow when their header scrolls into view */
  .section__header .section__divider {
    width: 0;
    opacity: 0;
  }

  .section__header.is-visible .section__divider {
    animation: divider-grow 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  }

  @keyframes divider-grow {
    from { width: 0; opacity: 0; }
    to   { width: 40px; opacity: 1; }
  }
}

/* ─── Entrance Animations ────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal--delay-1 { transition-delay: 80ms; }
  .reveal--delay-2 { transition-delay: 160ms; }
  .reveal--delay-3 { transition-delay: 240ms; }
  .reveal--delay-4 { transition-delay: 320ms; }
}

/* ─── Tiers / Depth Levels ───────────────────────────────────────────────── */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.tier {
  padding-right: var(--sp-10);
}

.tier + .tier {
  padding-left: var(--sp-10);
  border-left: 1px solid var(--border);
  transition: border-color var(--t-base) ease;
}

.tier:last-child {
  padding-right: 0;
}

.tier__level {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-4);
}

.tier__name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}

.tier__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  max-width: 26ch;
}

.tier__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.tier__feature {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: var(--sp-4);
  position: relative;
}

.tier__feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1px;
  background-color: var(--text-subtle);
}

.tiers__note {
  margin-top: var(--sp-10);
  font-size: 0.875rem;
  color: var(--text-subtle);
  max-width: 60ch;
  line-height: 1.6;
}

/* ─── Privacy Statement ──────────────────────────────────────────────────── */

.privacy-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-block: var(--sp-8) var(--sp-4);
  color: var(--text);
  max-width: 18ch;
}

.privacy-sub {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
  max-width: 28ch;
}

.privacy-detail {
  font-size: 0.9375rem;
  color: var(--text-subtle);
  line-height: 1.65;
  max-width: 52ch;
}

/* ─── Pricing ────────────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  max-width: 900px;
}

.pricing-plan {
  padding: var(--sp-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: border-color var(--t-base) ease, background-color var(--t-base) ease;
}

.pricing-plan--pro {
  background-color: var(--bg-raised);
  border-color: var(--border-mid);
}

.pricing-plan__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}

.pricing-plan__price {
  font-size: 1.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.pricing-plan__period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-plan__alt {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-bottom: var(--sp-6);
  min-height: 1.2em;
}

.pricing-plan__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-bottom: var(--sp-6);
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.pricing-plan__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.pricing-plan__feature {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
  padding-left: var(--sp-4);
  position: relative;
}

.pricing-plan__feature::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-subtle);
}

.pricing-plan--pro .pricing-plan__feature::before {
  background-color: var(--primary);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

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

  .hero__visual {
    justify-content: flex-start;
    order: -1;
  }

  .feature {
    grid-template-columns: 48px 1fr;
    gap: var(--sp-4) var(--sp-6);
  }

  .feature--right {
    grid-template-columns: 1fr 48px;
  }

  .feature__visual {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 600px;
  }

  .nav__links .nav__link {
    display: none;
  }
}

@media (max-width: 560px) {
  .feature,
  .feature--right {
    grid-template-columns: 1fr;
  }

  .feature--right .feature__number,
  .feature--right .feature__body {
    order: unset;
  }

  .feature__number {
    font-size: 2.5rem;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-cta__badges {
    flex-direction: column;
    align-items: center;
  }

  .tiers {
    grid-template-columns: 1fr;
  }

  .tier {
    padding-right: 0;
    padding-bottom: var(--sp-8);
  }

  .tier + .tier {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: var(--sp-8);
  }

  .tier__desc {
    max-width: none;
  }

  .pricing-grid {
    max-width: 100%;
    grid-template-columns: 1fr;
  }
}
