/* QarzGo — shared styles (landing + legal pages)
   Brand system mirrors the QarzGo mobile app. No external resources. */

:root {
  /* Brand */
  --brand: #2D5F4F;
  --brand-hi: #1A3A2F;
  --brand-lo: #3A7560;
  /* Surfaces */
  --bg: #F5F6F7;
  --surface: #FFFFFF;
  --sunken: #EEF0F2;
  /* Ink */
  --ink: #0F1114;
  --ink-soft: #3A3F45;
  --ink-mute: #5F646B;
  --ink-fade: #B8BCC2;
  /* Semantic */
  --pos: #4A7C59;   /* qarz berdim */
  --neg: #C2672E;   /* qarz oldim */
  --gold: #C79838;  /* Pro (decorative) */
  --gold-ink: #A87D24; /* Pro text — AA contrast */
  --line: #E1E4E8;

  /* Legacy aliases (used by privacy.html / delete-account.html) */
  --emerald: var(--brand);
  --emerald-dark: var(--brand-hi);
  --emerald-light: var(--brand-lo);
  --green-pos: var(--pos);
  --orange: var(--neg);
  --text: var(--ink);
  --text-2: var(--ink-mute);
  --border: var(--line);

  /* Radii (mobil RoundedCornerShape) */
  --r-card: 20px;
  --r-card-lg: 28px;
  --r-hero: 24px;
  --r-pill: 999px;
  --r-input: 14px;
  --r-sm: 12px;
  --r-xs: 10px;
  --radius: var(--r-card);
  --radius-sm: var(--r-xs);

  /* Shadows — soft, layered, premium */
  --shadow-sm: 0 1px 3px rgba(15,17,20,.06), 0 4px 12px rgba(15,17,20,.05);
  --shadow: 0 1px 3px rgba(15,17,20,.06), 0 12px 32px rgba(15,17,20,.08);
  --shadow-hover: 0 2px 6px rgba(15,17,20,.08), 0 20px 48px rgba(15,17,20,.12);
  --shadow-phone: 0 6px 16px rgba(15,17,20,.10), 0 40px 80px rgba(15,17,20,.20);

  --max: 1160px;
  --max-read: 760px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

/* ---------- Language switching ---------- */
/* Applied on <html> (FOUC-safe, set in <head>) and mirrored on <body>. */
[data-lang="uz"] .ru { display: none; }
[data-lang="ru"] .uz { display: none; }
[data-lang="uz"] span.ru, [data-lang="ru"] span.uz { display: none; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-xs) 0;
  font-weight: 600;
  font-size: .95rem;
}
.skip:focus {
  left: 0;
  text-decoration: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}
.container--read { max-width: var(--max-read); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,246,247,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15,17,20,.02), 0 8px 24px rgba(15,17,20,.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--brand); text-decoration: none; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--surface);
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 7px 13px;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-mute);
  cursor: pointer;
  line-height: 1;
  transition: background .15s, color .15s;
}
.lang-switch button.active {
  background: var(--brand);
  color: #fff;
}

/* Header download pill */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.header-cta:hover { background: var(--brand-lo); text-decoration: none; transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn svg { flex-shrink: 0; }

.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* Primary = brand fill */
.btn-emerald,
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(45,95,79,.28);
}
.btn-emerald:hover,
.btn-primary:hover { background: var(--brand-lo); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(45,95,79,.34); }

/* On dark backgrounds: white button */
.btn-on-dark {
  background: #fff;
  color: var(--brand-hi);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.btn-on-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.28); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: rgba(45,95,79,.04); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(58,117,96,.16), transparent 60%),
    radial-gradient(700px 480px at 8% 105%, rgba(45,95,79,.10), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); }
.hero h1 {
  font-size: clamp(1.75rem, 7.5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.hero h1 .accent { color: var(--brand); }
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 30px;
}
.hero .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
}
.trust-row .trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--ink-mute);
  font-weight: 500;
}
.trust-row .trust svg { color: var(--brand); flex-shrink: 0; }

/* Hero phone visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,117,96,.22), transparent 68%);
  filter: blur(8px);
  z-index: 0;
}
.hero-phone {
  position: relative;
  z-index: 1;
  width: min(310px, 80%);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(15,17,20,.28));
  transform: rotate(-2.5deg);
}

/* ---------- Strip (trust band) ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-align: left;
}
.strip-item .si-ic {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(45,95,79,.10);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.strip-item b { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.strip-item small { color: var(--ink-mute); font-size: .82rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--sunken { background: var(--sunken); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
}
.section-head p { color: var(--ink-mute); margin: 0; font-size: 1.08rem; }

/* ---------- Feature cards ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(45,95,79,.10);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 18px;
}
.card .icon.is-pos { background: rgba(74,124,89,.12); color: var(--pos); }
.card .icon.is-neg { background: rgba(194,103,46,.12); color: var(--neg); }
.card h3 { margin: 0 0 9px; font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-mute); font-size: .97rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 18px;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--brand);
  line-height: 1.05;
}
.stat-num .stat-unit { font-size: .9rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.stat-label {
  margin-top: 6px;
  font-size: .92rem;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ---------- Comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
  align-items: stretch;
}
.compare-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.compare-col--old { background: #FBFBFC; }
.compare-col--new { border-color: var(--brand); box-shadow: 0 1px 3px rgba(15,17,20,.06), 0 18px 44px rgba(45,95,79,.14); }
.compare-col h3 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.compare-col--new h3 { color: var(--brand); }
.compare-sub { margin: 0 0 18px; color: var(--ink-mute); font-size: .92rem; }
.compare-list { list-style: none; padding: 0; margin: 0; }
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
  font-size: .98rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.compare-list li:first-child { border-top: 0; }
.cmp-mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  margin-top: 1px;
}
.cmp-x { background: rgba(194,103,46,.12); color: var(--neg); }
.cmp-v { background: rgba(74,124,89,.14); color: var(--pos); }

/* ---------- How it works (zigzag) ---------- */
.steps-flow { display: flex; flex-direction: column; gap: 88px; }
.howstep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.howstep:nth-child(even) .howstep-media { order: -1; }
.howstep-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(45,95,79,.28);
}
.howstep h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin: 0 0 12px; font-weight: 700; letter-spacing: -.02em; }
.howstep p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; max-width: 440px; }
.howstep-media {
  display: flex;
  justify-content: center;
}
.howstep-media img {
  width: min(280px, 74%);
  height: auto;
  border-radius: var(--r-hero);
  filter: drop-shadow(0 24px 50px rgba(15,17,20,.20));
}

/* ---------- Security ---------- */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.sec-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.sec-item .sec-ic {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(45,95,79,.10);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.sec-item b { display: block; font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -.01em; }
.sec-item span.txt { color: var(--ink-mute); font-size: .94rem; }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.plan.is-pro {
  border-color: var(--gold);
  box-shadow: 0 1px 3px rgba(15,17,20,.06), 0 20px 48px rgba(199,152,56,.16);
}
.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan h3 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.plan .price { font-size: 1.8rem; font-weight: 700; letter-spacing: -.02em; margin: 4px 0 4px; }
.plan.is-pro .price { color: var(--gold-ink); }
.plan .price small { font-size: .85rem; font-weight: 500; color: var(--ink-mute); }
.plan .plan-sub { color: var(--ink-mute); font-size: .95rem; margin: 0 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .97rem;
  color: var(--ink-soft);
}
.plan li svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.plan.is-pro li svg { color: var(--gold); }
.plan .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  padding: 20px 22px;
}
.faq-q .chev {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--ink-mute);
  transition: transform .25s var(--ease);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--brand); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--ink-mute);
  font-size: .98rem;
}
.faq-a-inner a { font-weight: 600; }

/* ---------- Final CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-hi) 0%, var(--brand) 58%, var(--brand-lo) 100%);
  color: #fff;
  border-radius: var(--r-card-lg);
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  position: relative;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -.025em;
}
.cta-band p {
  position: relative;
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  max-width: 520px;
  margin: 0 auto 28px;
}
.cta-band .cta-row { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Legal / content pages ---------- */
.page { padding: 48px 0 80px; }
.page h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.updated { color: var(--ink-mute); font-size: .9rem; margin: 0 0 32px; }
.page h2 {
  font-size: 1.3rem;
  margin: 36px 0 12px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--brand-hi);
}
.page h3 { font-size: 1.05rem; margin: 22px 0 8px; font-weight: 700; }
.page p, .page li { color: #232830; font-size: 1rem; }
.page ul, .page ol { padding-left: 22px; }
.page li { margin: 6px 0; }
.lead-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-xs);
  padding: 16px 18px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 16px 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 16px 12px 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  margin: 10px 0;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Form (delete-account) ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
}
.form-card label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin: 14px 0 6px;
}
.form-card input,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45,95,79,.12);
}
.form-card textarea { min-height: 92px; resize: vertical; }
.form-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-msg {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--r-xs);
  background: rgba(74,124,89,.10);
  border: 1px solid rgba(74,124,89,.30);
  color: var(--brand-hi);
  font-size: .95rem;
  display: none;
}
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-hi);
  color: rgba(255,255,255,.8);
  padding: 56px 0 36px;
  margin-top: 0;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.site-footer .f-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.site-footer .f-brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-footer h4 {
  color: #fff;
  font-size: .8rem;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .7;
}
.site-footer a { color: rgba(255,255,255,.82); display: block; margin: 8px 0; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .f-col { min-width: 170px; }
.site-footer .f-col--about { max-width: 280px; }
.site-footer .f-col--about p { margin: 0; font-size: .92rem; line-height: 1.55; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 36px;
  padding-top: 22px;
  font-size: .85rem;
  color: rgba(255,255,255,.78);
  text-align: center;
}
.f-made {
  margin: 12px 0 0;
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(15,17,20,.08);
  transform: translateY(120%);
  transition: transform .3s var(--ease);
}
.mobile-cta .btn { width: 100%; padding: 14px 20px; }
.mobile-cta.show { transform: translateY(0); }
@media (max-width: 760px) {
  .mobile-cta { display: block; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .trust-row { justify-content: center; }
  .badge { margin-left: auto; margin-right: auto; }
  .hero-phone { transform: none; width: min(280px, 70%); }
  .howstep { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .howstep:nth-child(even) .howstep-media { order: 0; }
  .howstep p { margin-left: auto; margin-right: auto; }
  .howstep-num { margin-left: auto; margin-right: auto; }
  .strip .container { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 0;
    transform: translateY(-120%);
    transition: transform .28s var(--ease);
    z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 22px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .header-cta { display: none; }
  .header-right { gap: 12px; }
  .pricing { grid-template-columns: 1fr; max-width: 420px; }
  .cta-band { padding: 48px 24px; }
  /* leave room for sticky mobile CTA bar */
  .site-footer { padding-bottom: 92px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .strip .container { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .steps-flow { gap: 64px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero .lead { max-width: 100%; }
  .hero .cta-row { flex-direction: column; }
  .hero .cta-row .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
