/* =====================================================================
   Cadence — landing page styles
   Warm & professional SaaS. Cream background, forest-green accent,
   matte finish (subtle neutral shadows only — no glows).
   ===================================================================== */

/* ---------- Design tokens ----------
   Warm, matte DARK theme is the default. Greens are deliberately deep;
   a brighter "ink" green is used only where green sits on the dark bg
   as text/icons so it stays readable.                                  */
:root {
  --bg:        #16130D;  /* warm near-black */
  --surface:   #201C14;  /* warm dark card */
  --surface-2: #29241A;  /* elevated card */
  --text:      #F3EEE3;  /* warm off-white */
  --muted:     #A79D89;  /* warm muted */
  --accent:    #276749;  /* deep forest — fills w/ white text */
  --accent-2:  #33885B;  /* mid green — gradients / hover tops */
  --accent-ink:#5FBE90;  /* readable green — text & icons on dark */
  --border:    #342F22;  /* warm dark hairline */
  --tint:      #1C1810;  /* subtle section tint */
  --green-tint:#1B271F;  /* green-tinted surface (privacy/badges) */
  --green-line:#2B5E43;  /* green hairline on dark */

  --radius-sm: 14px;
  --radius:    18px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow:    0 8px 24px rgba(0, 0, 0, .45);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, .55);

  --maxw: 1120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Warm matte texture: layered soft glows + a faint dot grid + fine noise,
     all drawn in CSS so the page stays fully self-contained. */
  background-color: var(--bg);
  background-image:
    radial-gradient(70% 55% at 82% -5%, rgba(51, 136, 91, .10), transparent 60%),
    radial-gradient(60% 45% at 0% 6%, rgba(51, 136, 91, .06), transparent 55%),
    radial-gradient(circle at center, rgba(255, 250, 240, .028) 1px, transparent 1.2px),
    linear-gradient(180deg, #1a160f 0%, var(--bg) 26%);
  background-size: 100% 100%, 100% 100%, 22px 22px, 100% 100%;
  background-attachment: fixed, fixed, fixed, scroll;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

.accent-text { color: var(--accent-ink); }

/* Accessible focus ring */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(47, 133, 90, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.eyebrow--green { color: var(--accent-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn--sm  { padding: 8px 16px; font-size: .9rem; }
.btn--lg  { padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: #1F5137; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--green-line); background: var(--surface-2); transform: translateY(-1px); }

.btn--onDark {
  color: var(--accent);
  background: #fff;
}
.btn--onDark:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 19, 13, .78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.nav.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { width: 34px; height: 34px; display: block; }
.brand__logo svg { width: 100%; height: 100%; }
.brand__word { font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__links .nav__cta { color: #fff; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: clamp(48px, 6vw, 72px) 0 clamp(36px, 5vw, 52px); overflow: hidden; }

/* Soft, tasteful background treatment: cream→white wash + faint dot grid */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 85% at 80% 4%, rgba(51, 136, 91, .16), transparent 58%),
    radial-gradient(90% 70% at 6% 0%, rgba(95, 190, 144, .06), transparent 55%),
    radial-gradient(circle at center, rgba(255, 250, 240, .045) 1px, transparent 1.2px);
  background-size: auto, auto, 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
          mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}
.hero__title { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 22px; }
.hero__sub {
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.62;
  max-width: 31em;
  margin-bottom: 30px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero__note { color: var(--muted); font-size: .9rem; font-weight: 500; }
.btn__icon { width: 18px; height: 18px; }

/* Eyebrow pill variant for the hero */
.eyebrow--pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: .01em;
  font-size: .82rem;
  color: var(--accent-ink);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(56, 161, 105, .18);
}

/* =====================================================================
   PHONE MOCKUP — faithful recreation of the Cadence "Calls" screen
   ===================================================================== */
.hero__art { display: flex; justify-content: center; perspective: 1600px; }
.phone {
  position: relative;
  width: 306px;
  max-width: 100%;
  aspect-ratio: 306 / 636;
  background: linear-gradient(155deg, #2a3340, #171d26);
  border-radius: 46px;
  padding: 11px;
  box-shadow:
    0 2px 4px rgba(23, 29, 38, .5),
    0 34px 70px -22px rgba(23, 29, 38, .5),
    0 12px 26px -14px rgba(45, 55, 72, .35);
  transform: rotate(-1.6deg);
  transition: transform .5s var(--ease);
}
.hero__art:hover .phone { transform: rotate(0deg) translateY(-4px); }
/* thin inner bezel ring */
.phone::after {
  content: "";
  position: absolute; inset: 8px;
  border-radius: 39px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .06);
  pointer-events: none; z-index: 5;
}
/* subtle diagonal screen glare */
.phone__glare {
  position: absolute; inset: 11px;
  border-radius: 39px;
  background: linear-gradient(125deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 22%);
  pointer-events: none;
  z-index: 4;
}
.phone__screen {
  /* The phone shows the REAL (light) Cadence app — pin the light palette
     locally so the mockup stays a bright screenshot against the dark page. */
  --bg:        #FDFBF7;
  --surface:   #FFFFFF;
  --text:      #2D3748;
  --muted:     #718096;
  --accent:    #2F855A;
  --accent-2:  #38A169;
  --border:    #EBE6DC;
  --green-tint:#EDF7F1;
  color: var(--text); /* pin dark app text so children don't inherit the page's light color */
  position: relative;
  height: 100%;
  background: var(--bg);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Status bar */
.sbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px 5px;
  color: #2D3748;
}
.sbar__time { font-size: .72rem; font-weight: 700; letter-spacing: .01em; }
.sbar__icons { display: inline-flex; align-items: center; gap: 5px; }
.sbar__ic { height: 11px; width: auto; fill: #2D3748; }

/* App screen */
.app {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 4px 13px 0;
}

/* App bar */
.app__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 12px;
}
.app__brand { display: inline-flex; align-items: center; gap: 8px; }
.app__logo { width: 26px; height: 26px; }
.app__logo svg { width: 100%; height: 100%; }
.app__word { font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.app__actions { display: inline-flex; align-items: center; gap: 13px; }
.app__ic { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Stat tiles */
.app__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 11px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 6px 7px;
}
.stat--hl {
  background: var(--green-tint);
  border-color: #cfe7da;
}
.stat__ic {
  display: grid; place-items: center;
  width: 18px; height: 18px;
  margin-bottom: 3px;
}
.stat__ic svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stat__num { font-size: 1.02rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.stat__lbl { font-size: .5rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }

/* Filter chips */
.app__filters { display: flex; gap: 6px; margin-bottom: 11px; }
.fchip {
  font-size: .6rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
}
.fchip--on {
  color: var(--accent);
  background: var(--green-tint);
  border-color: #cfe7da;
}

/* Contact list */
.app__list { display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.crow {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 8px 9px;
}
.crow__av {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.crow__av--g { background: linear-gradient(140deg, #38A169, #2F855A); }
.crow__av--b { background: linear-gradient(140deg, #4C82E4, #2C5FBF); }
.crow__av--a { background: linear-gradient(140deg, #E0993E, #C97A22); }
.crow__av--m { background: linear-gradient(140deg, #8B7BD8, #6B57C2); }
.crow__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 1px; }
.crow__name { font-weight: 600; font-size: .74rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow__num { color: var(--muted); font-size: .62rem; line-height: 1.2; }
.crow__right { display: inline-flex; align-items: center; gap: 7px; flex: none; }
.tag {
  font-size: .56rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag--cust { background: var(--green-tint); color: var(--accent); }
.tag__ic { display: inline-block; width: 8px; height: 8px; fill: currentColor; vertical-align: -1px; margin-right: 3px; }
.tag--int  { background: #E7F0FE; color: #2C5FBF; }
.tag--cb   { background: #FCEFD6; color: #9A6414; }
.tag--na   { background: #EEF0F2; color: #6B7280; }
.crow__call {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-tint);
}
.crow__call svg { width: 12px; height: 12px; fill: var(--accent); }

/* Floating action pill */
.app__fab {
  display: flex;
  justify-content: center;
  padding: 12px 0 10px;
  margin-top: auto;
}
.fab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(47, 133, 90, .5);
}
.fab__play { width: 13px; height: 13px; fill: #fff; }

/* Bottom nav */
.app__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin: 0 -13px;
  padding: 7px 6px 11px;
}
.bnav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: .52rem;
  font-weight: 600;
  color: var(--muted);
}
.bnav__ic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Calls icon is a filled phone silhouette */
.bnav--on { color: var(--accent); }
.bnav--on .bnav__ic { fill: var(--accent); stroke: none; }

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
}
.trust .dot { color: var(--border); }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: clamp(44px, 6.5vw, 68px) 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(30px, 4vw, 42px); }
.section__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* Grid */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

.icon {
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--green-tint);
  margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; }

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; }

/* =====================================================================
   PRIVACY CALLOUT
   ===================================================================== */
.privacy {
  background: var(--green-tint);
  border-top: 1px solid var(--green-line);
  border-bottom: 1px solid var(--green-line);
  padding: 64px 0;
}
.privacy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.privacy__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.privacy__copy p { color: var(--muted); font-size: 1.08rem; }
.privacy__copy strong { color: var(--accent-ink); }
.privacy__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.privacy__points li {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.privacy__points strong { display: block; }
.privacy__points div { color: var(--muted); font-size: .96rem; }
.privacy__check {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}
.privacy__check svg { width: 16px; height: 16px; }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing { display: flex; flex-direction: column; align-items: center; }

/* Monthly / Annual toggle */
.ptoggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.ptoggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.ptoggle__btn:hover { color: var(--text); }
.ptoggle__btn.is-on {
  color: #fff;
  background: var(--accent);
}
.ptoggle__hint {
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--green-tint);
  padding: 2px 8px;
  border-radius: 999px;
}
.ptoggle__btn.is-on .ptoggle__hint { color: var(--accent); background: rgba(255, 255, 255, .92); }

/* Two-card grid */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 760px;
  align-items: stretch;
}
.pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.pricing__card--featured {
  border-color: #cfe7da;
  box-shadow: var(--shadow-md);
}
/* subtle green top accent bar (featured only shows full gradient) */
.pricing__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  opacity: .35;
}
.pricing__card--featured .pricing__accent { opacity: 1; }
/* "Most popular" ribbon */
.pricing__ribbon {
  position: absolute;
  top: 19px; right: -42px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 46px;
  box-shadow: var(--shadow-sm);
}
.pricing__badge {
  align-self: center;
  display: inline-block;
  font-weight: 700;
  font-size: .85rem;
  color: var(--accent-ink);
  background: var(--green-tint);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.pricing__price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.pricing__amount { font-size: 3rem; font-weight: 700; letter-spacing: -.03em; }
.pricing__period { color: var(--muted); font-weight: 600; font-size: 1.05rem; }
.pricing__save { color: var(--muted); font-size: .86rem; margin-top: 8px; min-height: 1.2em; }
.pricing__save.is-annual { color: var(--accent-ink); font-weight: 600; }

/* Headline dial-limit perk */
.pricing__perk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 20px 0 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  font-size: 1rem;
  color: var(--text);
}
.pricing__perk--pro { background: var(--green-tint); }
.pricing__perk strong { font-size: 1.12rem; }
.pricing__perk svg {
  flex: none;
  width: 20px; height: 20px;
  fill: none; stroke: var(--accent-ink); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.pricing__list {
  list-style: none;
  margin: 20px 0 26px;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 11px;
  text-align: left;
}
.pricing__list li {
  position: relative;
  padding-left: 28px;
  font-size: .95rem;
}
.pricing__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 6px;
  width: 12px; height: 7px;
  border-left: 2.4px solid var(--accent-ink);
  border-bottom: 2.4px solid var(--accent-ink);
  transform: rotate(-45deg);
}
.pricing__card .btn { margin-top: auto; }
.pricing__fine { color: var(--muted); font-size: .8rem; margin-top: 14px; }

/* Enterprise band */
.pricing__ent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  max-width: 760px;
  margin-top: 24px;
  padding: 22px 28px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.pricing__ent-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 4px;
}
.pricing__ent-soon {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--green-tint);
  border: 1px solid var(--green-line);
  padding: 3px 9px;
  border-radius: 999px;
}
.pricing__ent-copy p { color: var(--muted); font-size: .95rem; }
.pricing__ent-btn[disabled] {
  cursor: not-allowed;
  opacity: .55;
  color: var(--muted);
}
.pricing__ent-btn[disabled]:hover { transform: none; border-color: var(--border); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-ink);
  line-height: 1;
  transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 0 18px; }
.faq__body p { color: var(--muted); font-size: .98rem; }

/* =====================================================================
   FINAL CTA — compact contained card
   ===================================================================== */
.section--cta { padding-top: 0; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  background:
    radial-gradient(130% 160% at 100% 0%, rgba(51, 136, 91, .20), transparent 58%),
    var(--surface);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow);
}
.cta-card__text { min-width: 0; max-width: 46ch; }
.cta-card h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: 8px; }
.cta-card p { color: var(--muted); font-size: 1rem; }
.cta-card__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; flex: none; }
.cta-card__note { color: var(--muted); font-size: .85rem; }

@media (max-width: 620px) {
  .cta-card { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .cta-card__actions { align-items: stretch; width: 100%; }
  .cta-card__actions .btn { width: 100%; }
  .cta-card__note { text-align: center; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: transparent;
  border-top: 1px solid var(--border);
  padding: 30px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.brand--footer .brand__word { font-size: 1.1rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a { color: var(--muted); font-size: .92rem; transition: color .15s; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { color: var(--muted); font-size: .9rem; }

/* =====================================================================
   SCROLL-REVEAL
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .privacy__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 14px 24px 22px;
    /* collapsed state */
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav__links a:last-child { border-bottom: none; }
  .nav__links .nav__cta { text-align: center; margin-top: 8px; }

  /* Pricing: stack the two plans and the enterprise band */
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; gap: 20px; }
  .pricing__ent { flex-direction: column; align-items: flex-start; text-align: left; max-width: 420px; }
  .pricing__ent-btn { width: 100%; }
}

@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; gap: 16px; }
  .container { padding-inline: 18px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .privacy__points li { padding: 15px 16px; }
}

/* Small phones (≈375px): tighten type, keep the phone in frame */
@media (max-width: 400px) {
  .container { padding-inline: 15px; }
  .hero__title { font-size: clamp(1.85rem, 8.5vw, 2.3rem); }
  .hero__sub { font-size: 1.02rem; }
  .phone { width: 100%; max-width: 300px; }
  .pricing__card { padding: 28px 22px 26px; }
  .pricing__amount { font-size: 2.6rem; }
  .ptoggle { width: 100%; }
  .ptoggle__btn { flex: 1; justify-content: center; padding: 9px 12px; }
  .ptoggle__hint { display: none; }
  .cta-card p, .section__lead { font-size: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
