/* Growth Saints CRM — marketing site
   Palette is drawn from WhatsApp's own chat surface: sage wallpaper,
   the pale-green outgoing bubble, and the blue read tick. */

:root {
  --paper: #f3f5ef;
  --paper-2: #e8ede4;
  --surface: #ffffff;
  --ink: #0e1f1b;
  --ink-2: #43554f;
  --ink-3: #6b7c76;
  --line: #d6ded4;
  --emerald: #0a6b50;
  --emerald-deep: #064a37;
  --bubble: #dcf8c6;
  --tick: #2e9bf0;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Onest", ui-sans-serif, system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-4: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  --step-5: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--emerald-deep); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--tick); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 var(--step-0)/1 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: var(--step--1); }
.btn-block { width: 100%; }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--emerald-deep); }
.btn-light:hover { background: var(--bubble); color: var(--emerald-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em;
}
.brand { white-space: nowrap; }
.brand b { color: var(--emerald); font-weight: 800; }
@media (max-width: 400px) { .site-header .brand { font-size: .95rem; gap: 8px; } .site-header .brand .logo-mark { width: 24px; height: 24px; } }
.brand .logo-mark { color: var(--emerald); }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--ink); }
.nav-login-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.link-quiet { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  border-radius: var(--r-sm); padding: 0;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: auto;
  border-radius: 2px; transition: transform .25s, opacity .2s; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-actions .link-quiet { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-login-mobile { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 56px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink-2); font-size: var(--step--1);
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 14px 6px 10px; border-radius: 999px; margin-bottom: 22px;
}
.tick, .ticks { color: var(--tick); font-style: normal; letter-spacing: -0.2em; font-weight: 700; }
.hero h1 { font-size: clamp(2.2rem, 0.9rem + 3.4vw, 3.45rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 span { display: block; }
.hero-lede { margin-top: 22px; font-size: var(--step-1); color: var(--ink-2); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: var(--step--1); color: var(--ink-3); }

.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 600px; justify-self: center; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback {
  position: absolute; inset: 8%;
  background:
    radial-gradient(circle at 50% 50%, var(--emerald) 0 9%, transparent 9.5%),
    radial-gradient(circle, var(--emerald) 0 2.2px, transparent 2.6px) 0 0 / 28px 28px;
  -webkit-mask: radial-gradient(circle, #000 0 45%, transparent 70%);
          mask: radial-gradient(circle, #000 0 45%, transparent 70%);
  opacity: .5;
  transition: opacity .6s;
}
.hero-visual.is-3d .hero-fallback { opacity: 0; }

.float-bubble {
  position: absolute; z-index: 2;
  max-width: 230px; padding: 10px 14px; border-radius: 14px;
  background: var(--surface); color: var(--ink);
  font-size: .9rem; line-height: 1.35;
  box-shadow: 0 1px 0 rgba(14, 31, 27, .06), 0 12px 30px -12px rgba(14, 31, 27, .25);
  opacity: 0; transform: translateY(10px);
  animation: bubble-in .6s cubic-bezier(.2, .8, .2, 1) forwards;
}
.float-bubble.out { background: var(--bubble); }
.float-bubble .ticks { margin-left: 4px; font-size: .8rem; }
.fb-1 { top: 10%; left: -2%; border-top-left-radius: 4px; animation-delay: .5s; }
.fb-2 { top: 26%; right: -2%; border-top-right-radius: 4px; animation-delay: 1.3s; }
.fb-3 { bottom: 9%; left: 8%; border-top-right-radius: 4px; animation-delay: 2.1s; }
@keyframes bubble-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .float-bubble { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .fb-1 { left: 0; }
  .fb-2 { right: 0; }
}
@media (max-width: 480px) {
  .float-bubble { font-size: .8rem; max-width: 190px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Facts strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts-list {
  list-style: none; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.facts-list li { padding: 22px 20px; border-left: 1px solid var(--line); }
.facts-list li:first-child { border-left: 0; padding-left: 0; }
.facts-list strong { display: block; font-family: var(--font-display); font-size: var(--step-2); letter-spacing: -0.01em; }
.facts-list span { display: block; color: var(--ink-3); font-size: var(--step--1); margin-top: 4px; line-height: 1.45; }
@media (max-width: 860px) {
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-list li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .facts-list li:nth-child(-n+2) { border-top: 0; }
  .facts-list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}

/* ---------- Section rhythm ---------- */
.features, .more, .how, .pricing, .faq, .demo { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: var(--step-4); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: var(--step-1); }

/* ---------- Feature showcase ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 6px; }
.tabs [role="tab"] {
  text-align: left; cursor: pointer; font: inherit; color: var(--ink-2);
  background: transparent; border: 0;
  padding: 14px 18px; transition: background-color .2s, box-shadow .2s, color .2s;
  border-radius: var(--r-md);
}
.tabs [role="tab"] b { display: block; font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); letter-spacing: -0.01em; }
.tabs [role="tab"] span { display: block; font-size: var(--step--1); margin-top: 2px; }
.tabs [role="tab"]:hover { background: var(--paper-2); }
.tabs [role="tab"][aria-selected="true"] { background: var(--surface); box-shadow: 0 1px 0 rgba(14, 31, 27, .05), 0 12px 28px -18px rgba(14, 31, 27, .35); }
.tabs [role="tab"][aria-selected="true"] b::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald); margin-right: 8px; vertical-align: middle; transform: translateY(-2px);
}

.panels {
  background: var(--paper-2);
  background-image: radial-gradient(circle, rgba(10, 107, 80, .12) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  border-radius: var(--r-lg); padding: clamp(14px, 3vw, 32px);
  min-height: 420px;
}
.panel:focus-visible { outline-offset: 8px; }
.panel:not([hidden]) { animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .panel:not([hidden]) { animation: none; } }

.mock {
  background: var(--surface); border-radius: var(--r-md);
  box-shadow: 0 1px 0 rgba(14, 31, 27, .05), 0 24px 50px -28px rgba(14, 31, 27, .35);
  font-size: .92rem;
}
.pill { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.pill-green { background: var(--bubble); color: var(--emerald-deep); }
.pill-line { background: transparent; border: 1px solid var(--emerald); color: var(--emerald); }

/* inbox mock */
.mock-inbox { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); overflow: hidden; min-height: 360px; }
.mock-list { list-style: none; margin: 0; padding: 8px; border-right: 1px solid var(--line); }
.mock-list li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r-sm); }
.mock-list li.active { background: var(--paper); }
.mock-list div { min-width: 0; flex: 1; }
.mock-list b { display: block; font-weight: 600; font-size: .88rem; }
.mock-list small { display: block; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8rem; }
.mock-list em { font-style: normal; background: var(--emerald); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; }
.av {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 700;
  background: hsl(var(--h) 45% 88%); color: hsl(var(--h) 45% 28%);
}
.mock-thread {
  display: flex; flex-direction: column; gap: 8px; padding: 14px;
  background: #efeae2;
  background-image: radial-gradient(circle, rgba(14, 31, 27, .05) 1px, transparent 1.4px);
  background-size: 16px 16px;
}
.thread-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 10px; background: var(--surface); line-height: 1.4; }
.msg.in { align-self: flex-start; border-top-left-radius: 3px; }
.msg.out { align-self: flex-end; background: var(--bubble); border-top-right-radius: 3px; }
.msg .ticks { font-size: .75rem; margin-left: 4px; }
.composer {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--surface); border-radius: 999px; padding: 8px 8px 8px 16px; color: var(--ink-3); font-size: .82rem;
}
.composer b { background: var(--emerald); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: .8rem; }

/* campaign mock */
.mock-campaign { padding: clamp(16px, 3vw, 28px); }
.camp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.camp-head b { font-family: var(--font-display); font-size: var(--step-2); display: block; }
.camp-head small { color: var(--ink-3); }
.funnel { margin: 26px 0 0; display: grid; gap: 12px; }
.funnel div {
  position: relative; display: flex; justify-content: space-between; padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--paper); overflow: hidden; isolation: isolate;
}
.funnel div::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); z-index: -1;
  background: var(--bubble); transform-origin: left; animation: grow 1s cubic-bezier(.2, .8, .2, 1) both;
}
.funnel div.read::before { background: #cfe7fb; }
.funnel dt { font-weight: 600; }
.funnel dd { margin: 0; font-family: var(--font-display); font-weight: 700; }
@keyframes grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .funnel div::before { animation: none; } }
.mock-caption { margin-top: 18px; color: var(--ink-3); font-size: .85rem; }

/* flow mock */
.mock-flow { position: relative; height: 380px; background: transparent; box-shadow: none; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.flow-lines path { fill: none; stroke: var(--emerald); stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.node {
  position: absolute; z-index: 1; transform: translateX(-50%);
  background: var(--surface); border-radius: var(--r-sm); padding: 10px 14px; min-width: 140px; text-align: center;
  box-shadow: 0 1px 0 rgba(14, 31, 27, .06), 0 14px 30px -18px rgba(14, 31, 27, .4);
  border: 1px solid var(--line);
}
.node small { display: block; color: var(--ink-3); font-size: .72rem; }
.node b { display: block; font-size: .9rem; }
.n-start { top: 0; left: 50%; background: var(--bubble); border-color: transparent; }
.n-msg { top: 30%; left: 50%; }
.n-a { top: 79%; left: 18%; }
.n-b { top: 79%; left: 50%; }
.n-c { top: 79%; left: 82%; }
.opts { display: flex; gap: 4px; margin-top: 8px; justify-content: center; flex-wrap: wrap; }
.opts i { font-style: normal; font-size: .7rem; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--tick); font-weight: 600; }

/* ai mock */
.mock-ai {
  display: flex; flex-direction: column; gap: 10px; padding: 18px;
  background: #efeae2; min-height: 340px;
}
.msg.ai small { display: block; font-size: .7rem; color: var(--emerald); font-weight: 600; margin-bottom: 2px; }
.handoff { align-self: center; max-width: 92%; text-align: center; font-size: .8rem; color: var(--ink-2); background: #fff7d6; padding: 8px 12px; border-radius: var(--r-sm); }
.ai-actions { display: flex; gap: 8px; justify-content: center; margin-top: auto; }

@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 4px; }
  .tabs [role="tab"] {
    flex: 0 0 auto; scroll-snap-align: start;
    border-radius: 999px; padding: 8px 16px; background: var(--surface); box-shadow: none;
  }
  .tabs [role="tab"][aria-selected="true"] { background: var(--emerald); box-shadow: none; }
  .tabs [role="tab"][aria-selected="true"] b { color: #fff; }
  .tabs [role="tab"][aria-selected="true"] b::before { display: none; }
  .tabs [role="tab"] span { display: none; }
  .tabs [role="tab"] b { font-size: var(--step-1); }
  .panels { min-height: 0; }
}
@media (max-width: 560px) {
  .mock-inbox { grid-template-columns: 1fr; }
  .mock-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .mock-list li:nth-child(n+3) { display: none; }
  .node { min-width: 0; padding: 8px 10px; }
  .n-a, .n-c { top: 79%; }
  .n-a { left: 17%; } .n-c { left: 83%; }
  .node b { font-size: .78rem; }
  .opts i { font-size: .62rem; padding: 2px 6px; }
}

/* ---------- More features ---------- */
.more { background: var(--surface); border-block: 1px solid var(--line); }
.more-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); }
.more-grid h2 { font-size: var(--step-3); font-weight: 800; max-width: 14ch; }
.more-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.more-list div { padding-block: 18px; border-top: 1px solid var(--line); }
.more-list dt { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); }
.more-list dd { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) {
  .more-grid { grid-template-columns: 1fr; }
  .more-grid h2 { max-width: none; }
}
@media (max-width: 560px) { .more-list { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
/* Each step: Sprig on a dotted "floor", the step number pinned to it. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); counter-reset: step; }
.steps li { counter-increment: step; position: relative; }
.steps img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; object-position: center bottom;
  padding: 18px 18px 0;
  background:
    radial-gradient(circle, rgba(10, 107, 80, .14) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
    var(--paper-2);
  border-radius: var(--r-lg);
  margin-bottom: 20px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.steps li:hover img { transform: translateY(-4px) rotate(-1.5deg); }
@media (prefers-reduced-motion: reduce) { .steps li:hover img { transform: none; } }
.steps li::before {
  content: counter(step);
  position: absolute; top: 12px; left: 12px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  background: var(--emerald); color: #fff;
}
.steps h3 { font-size: var(--step-2); }
.steps p { margin-top: 8px; color: var(--ink-2); max-width: 34ch; font-size: .97rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps img { max-width: 280px; }
}

/* ---------- Pricing ---------- */
.pricing { background: var(--paper-2); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 22px 22px;
}
.plan-featured { border: 2px solid var(--emerald); box-shadow: 0 30px 60px -36px rgba(6, 74, 55, .55); }
.plan-flag {
  position: absolute; top: -13px; left: 22px;
  background: var(--emerald); color: #fff; font-size: .78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-size: var(--step-2); }
.plan-blurb { margin-top: 6px; color: var(--ink-2); font-size: .92rem; min-height: 3em; }
.plan-price { margin: 22px 0 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.amount { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; }
.amount-text { font-size: 2rem; }
.period { color: var(--ink-3); font-size: .9rem; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 26px; font-size: .93rem; }
.plan li::before {
  content: "✓✓"; position: absolute; left: 0; top: 0;
  color: var(--tick); font-weight: 700; letter-spacing: -0.25em; font-size: .8rem;
}
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.rates {
  margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 48px);
  background: var(--surface); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line);
}
.rates h3 { font-size: var(--step-2); }
.rates-copy p { margin-top: 8px; color: var(--ink-2); }
.rates table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rates th, .rates td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates thead th { font-size: .82rem; color: var(--ink-3); font-weight: 500; }
.rates tbody th { font-weight: 600; }
.rates td:last-child, .rates th:last-child { text-align: right; white-space: nowrap; }
.rates td:nth-child(2) { color: var(--ink-2); }
.rates tbody tr:last-child > * { border-bottom: 0; }
.rates strong { color: var(--emerald); }
@media (max-width: 760px) {
  .rates { grid-template-columns: 1fr; }
  .rates td:nth-child(2), .rates thead th:nth-child(2) { display: none; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(28px, 5vw, 72px); }
.faq-grid h2 { font-size: var(--step-3); font-weight: 800; max-width: 13ch; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-1);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald);
  transform: rotate(45deg); transition: transform .25s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-list details p { padding: 0 40px 22px 0; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid h2 { max-width: none; }
}

/* ---------- Demo form ---------- */
.demo { background: var(--surface); border-top: 1px solid var(--line); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.demo-copy h2 { font-size: var(--step-4); font-weight: 800; max-width: 14ch; }
.demo-copy p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); max-width: 44ch; }
.demo-copy .demo-alt { font-size: var(--step-0); }

.demo-form { display: grid; gap: 18px; background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select {
  font: inherit; color: var(--ink); width: 100%;
  min-height: 48px; padding: 10px 14px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(10, 107, 80, .18); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field small { color: var(--ink-3); font-size: .82rem; }
.field .field-error { color: #b3261e; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: .8rem; color: var(--ink-3); text-align: center; }
.form-msg { padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; }
.form-msg.ok { background: var(--bubble); color: var(--emerald-deep); }
.form-msg.err { background: #fde7e5; color: #8c1d18; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }

/* ---------- Closing band ---------- */
.closing { background: var(--emerald-deep); color: #fff; position: relative; overflow: hidden; }
.closing::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(220, 248, 198, .16) 2px, transparent 2.5px);
  background-size: 26px 26px;
  -webkit-mask: linear-gradient(90deg, transparent 30%, #000);
          mask: linear-gradient(90deg, transparent 30%, #000);
}
.closing-inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: clamp(48px, 7vw, 88px); }
.closing-copy { padding-bottom: clamp(48px, 7vw, 88px); }
.closing h2 { font-size: var(--step-4); font-weight: 800; max-width: 16ch; }
.closing-copy p { margin: 14px 0 28px; color: #cfe9dc; font-size: var(--step-1); max-width: 40ch; }
.closing-sprig { width: clamp(180px, 26vw, 320px); height: auto; margin-bottom: -6px; flex: none; }
@media (max-width: 680px) {
  .closing-inner { flex-direction: column; align-items: flex-start; }
  .closing-copy { padding-bottom: 0; }
  .closing-sprig { align-self: center; width: 200px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d4cf; padding-top: 56px; font-size: .93rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand b, .site-footer .brand .logo-mark { color: var(--bubble); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 38ch; color: #9fb0a9; }
.site-footer h2 { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.site-footer nav a, .site-footer div > a { display: block; color: #c9d4cf; text-decoration: none; padding: 5px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: #8a9b94; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(14, 31, 27, .5);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* ---------- Simple pages ---------- */
.simple { padding-block: clamp(64px, 10vw, 140px); }
.simple h1 { font-size: var(--step-5); font-weight: 800; }
.simple p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); max-width: 50ch; }
.simple .hero-ctas { margin-top: 28px; }
