/* ==========================================================================
   DermProof marketing site
   Tokens mirror src/context/ThemeContext.tsx: ink navy, one warm orange
   accent, cool neutral surfaces, DM Sans, soft shadows, no gradients.
   ========================================================================== */

:root {
  --ink: #22345a;
  --ink-soft: #3b4c70;
  --ink-deep: #17233d;
  --primary: #f28a1e;
  --primary-dark: #c4720c;
  --primary-tint: #fdf1e3;

  --bg: #f7f8fa;
  --bg-alt: #eef1f5;
  --card: #ffffff;
  --border: #e2e6ed;
  --border-strong: #cbd2de;

  --text: #22345a;
  --text-secondary: #5a6782;
  --text-muted: #8a94a8;
  --on-dark: #f4f6fa;
  --on-dark-muted: #a8b3c9;

  --success: #2e9e6b;
  --success-fill: #e8f5ee;
  --danger: #d6503c;
  --danger-fill: #fbecea;
  --warning: #c8871a;
  --warning-fill: #fbf2e2;
  --info: #3d6fb4;
  --info-fill: #eaf1fa;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-round: 999px;

  --shadow-sm: 0 1px 2px rgba(23, 35, 61, 0.05);
  --shadow-md: 0 4px 16px rgba(23, 35, 61, 0.07);
  --shadow-lg: 0 18px 48px rgba(23, 35, 61, 0.1);

  --maxw: 1140px;
  --nav-h: 68px;
}

/* ---------- reset ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout ---------- */

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

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--ink {
  background: var(--ink-deep);
  color: var(--on-dark);
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section--ink .eyebrow {
  color: #f6a44f;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  font-size: 20px;
}

.lede {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.section--ink .lede {
  color: var(--on-dark-muted);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(242, 138, 30, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(242, 138, 30, 0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  transform: none;
  cursor: progress;
}

.btn-secondary {
  background: var(--card);
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink-soft);
}

.btn-ghost {
  color: var(--ink);
  padding-left: 0;
}

.btn-large {
  padding: 16px 28px;
  font-size: 16px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(247, 248, 250, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(247, 248, 250, 0.94);
}

.nav-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  flex: none;
}

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

.hero {
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  /* faint measurement grid, not a gradient */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(34, 52, 90, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 52, 90, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-round);
  padding: 6px 14px 6px 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}

.hero-badge b {
  background: var(--primary-tint);
  color: #b8660c;
  border-radius: var(--r-round);
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 34em;
}

.hero-form {
  margin-top: 32px;
}

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-facts {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-fact {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-fact svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--primary);
}

/* ---------- waitlist form ---------- */

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}

.waitlist-input {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 138, 30, 0.16);
}

.waitlist-status {
  flex-basis: 100%;
  min-height: 20px;
  font-size: 14px;
  color: var(--success);
}

.waitlist-status.is-error {
  color: var(--danger);
}

.section--ink .waitlist-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.section--ink .waitlist-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.waitlist-form--center {
  margin: 0 auto;
  justify-content: center;
}

/* ---------- phone mock ---------- */

.phone {
  position: relative;
  width: 320px;
  margin: 0 auto;
  border-radius: 44px;
  background: #0f1729;
  padding: 11px;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  position: relative;
  border-radius: 34px;
  background: var(--bg);
  overflow: hidden;
  padding: 26px 18px 20px;
  min-height: 600px;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: var(--r-round);
  background: #0f1729;
  z-index: 3;
}

.mock-statusbar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.mock-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.mock-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-verdict-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--r-round);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pill--supported {
  background: var(--success-fill);
  color: #1d7a50;
}

.pill--not {
  background: var(--danger-fill);
  color: #b03b28;
}

.pill--inconclusive {
  background: var(--warning-fill);
  color: #9a6510;
}

.pill--waiting {
  background: var(--bg-alt);
  color: var(--text-secondary);
}

.mock-title {
  font-size: 17px;
  font-weight: 700;
  margin: 8px 0 2px;
}

.mock-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mock-metric-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 10px;
}

.mock-metric-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mock-metric-delta {
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
}

.mock-bar {
  height: 6px;
  border-radius: var(--r-round);
  background: var(--bg-alt);
  overflow: hidden;
}

.mock-bar span {
  display: block;
  height: 100%;
  border-radius: var(--r-round);
  background: var(--primary);
  width: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.mock-bar-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 11px;
  color: var(--text-muted);
}

.mock-spark {
  width: 100%;
  height: 58px;
  margin-top: 10px;
}

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

.mock-row:last-child {
  border-bottom: 0;
}

.mock-row b {
  font-weight: 600;
}

.mock-tabbar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 16px;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
}

.mock-tabbar span.active {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- logos / stat strip ---------- */

.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.strip-item {
  text-align: center;
}

.strip-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.strip-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ---------- generic cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: 15.5px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--primary-tint);
  color: #c4720c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.section--ink .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.section--ink .card p {
  color: var(--on-dark-muted);
}

/* ---------- method (numbered steps with rule) ---------- */

.method {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.method-item {
  background: var(--card);
  padding: 32px;
}

.method-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-round);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.method-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.method-item p {
  color: var(--text-secondary);
  font-size: 15.5px;
}

.method-item .note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  border-left: 2px solid var(--primary);
  padding-left: 12px;
}

/* ---------- verdict cards (honesty section) ---------- */

.verdicts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.verdict {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-lg);
  padding: 24px;
}

.verdict h3 {
  font-size: 17px;
  margin: 14px 0 8px;
}

.verdict p {
  font-size: 14.5px;
  color: var(--on-dark-muted);
  line-height: 1.55;
}

/* ---------- timeline ---------- */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 13px;
  height: 2px;
  background: var(--border-strong);
}

.tl-item {
  position: relative;
  padding-top: 40px;
}

.tl-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: var(--r-round);
  background: var(--card);
  border: 2px solid var(--border-strong);
}

.tl-item--active::before {
  background: var(--primary);
  border-color: var(--primary);
}

.tl-day {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

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

.tl-item p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ---------- comparison table ---------- */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 15px;
}

.compare th,
.compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare thead th {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-alt);
}

.compare thead th.is-us {
  color: var(--ink);
  background: var(--primary-tint);
}

.compare tbody td.is-us {
  background: #fffaf3;
  font-weight: 500;
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare td.row-label {
  font-weight: 600;
  color: var(--ink);
  width: 24%;
}

.compare-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- privacy ---------- */

.privacy-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ledger {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 28px;
}

.ledger h3 {
  font-size: 17px;
  margin-bottom: 18px;
}

.ledger li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-secondary);
}

.ledger li:last-child {
  border-bottom: 0;
}

.ledger svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
}

.ledger--stays svg {
  color: var(--success);
}

.ledger--leaves svg {
  color: var(--info);
}

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

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.plan--pro {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  position: relative;
}

.plan-flag {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-round);
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan-price {
  margin: 12px 0 4px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.plan-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.plan-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.plan li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.plan li svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 4px;
  color: var(--primary);
}

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

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

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 17.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

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

.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
}

.faq details[open] summary::after {
  content: '\2013';
}

.faq p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 68ch;
}

/* ---------- duo ---------- */

.duo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.duo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.duo-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.duo-bar {
  margin-bottom: 18px;
}

.duo-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 7px;
}

.duo-bar-track {
  height: 8px;
  border-radius: var(--r-round);
  background: var(--bg-alt);
  overflow: hidden;
}

.duo-bar-track span {
  display: block;
  height: 100%;
  border-radius: var(--r-round);
}

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

.cta {
  text-align: center;
}

.cta h2 {
  font-size: clamp(32px, 4.6vw, 50px);
}

.cta .lede {
  margin: 18px auto 32px;
  max-width: 620px;
}

.cta-fine {
  margin-top: 18px;
  font-size: 14px;
  color: var(--on-dark-muted);
}

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

.footer {
  background: var(--ink-deep);
  color: var(--on-dark-muted);
  padding: 56px 0 40px;
  font-size: 14.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.footer-tag {
  margin-top: 10px;
  color: var(--on-dark-muted);
  font-weight: 400;
  font-size: 14.5px;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8493ae;
}

.footer-disclaimer {
  max-width: 62ch;
}

/* ---------- animation ---------- */

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

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

  [data-animate],
  [data-animate].visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mock-bar span {
    transition: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero-inner,
  .duo-split,
  .privacy-split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 48px;
  }

  .grid-4,
  .verdicts {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .timeline::before {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .grid-3,
  .grid-2,
  .grid-4,
  .method,
  .plans,
  .verdicts,
  .strip-inner {
    grid-template-columns: 1fr;
  }

  .strip-inner {
    gap: 22px;
  }

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

  .compare-wrap {
    overflow-x: auto;
  }

  .compare {
    min-width: 640px;
  }
}
