@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --teal: #267883;
  --teal-dark: #1a5560;
  --teal-light: #e8f4f5;
  --teal-mid: #3a9ba8;
  --accent: #c2790f;
  --accent-light: #faeedb;
  --text: #0f1c1e;
  --text-2: #3d5457;
  --text-3: #6b8b8f;
  --border: #d0e4e6;
  --surface: #f7fbfb;
  --paper: #faf7f0;
  --paper-deep: #f3ead9;
  --white: #ffffff;
  --near-black: #0f2426;
  --red: #c94040;
  --red-light: #fdf0f0;
  --green: #2a7a4b;
  --green-light: #edf7f1;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(38,120,131,0.10);
  --shadow-lg: 0 8px 32px rgba(38,120,131,0.14);
  --max: 1120px;
  --font-display: 'Geist', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ===== LEDGER RULE — signature divider ===== */
.ledger-rule {
  position: relative;
  height: 1px;
  background: var(--border);
  width: 100%;
}
.ledger-rule::before {
  content: '';
  position: absolute;
  left: 0; top: -3px;
  width: 100%; height: 7px;
  background-image: repeating-linear-gradient(to right, currentColor 0, currentColor 1px, transparent 1px, transparent 48px);
  color: var(--border);
  opacity: 0.8;
}
.ledger-rule.on-dark { background: rgba(126,212,220,0.18); }
.ledger-rule.on-dark::before { color: rgba(126,212,220,0.22); }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-2); }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label.accent { color: var(--accent); }
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text-2); max-width: 600px; margin-bottom: 48px; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: var(--max); margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--teal); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: 6px 12px; border-radius: 6px;
  text-decoration: none; transition: all 0.15s;
}
.nav-links a:hover { color: var(--teal); background: var(--teal-light); }
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: #fff !important;
  padding: 8px 18px !important; border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; color: #fff !important; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.2s; }

/* ── HERO ── */
.hero {
  background: var(--near-black);
  color: #fff; padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: #7ed4dc; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.1rem; max-width: 560px; margin-bottom: 36px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 4px 12px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 12px 24px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: all 0.18s;
  line-height: 1;
}
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; text-decoration: none; }
.btn-stamp { background: var(--accent); color: var(--near-black); border-color: var(--accent); font-weight: 700; }
.btn-stamp:hover { background: #d4860f; border-color: #d4860f; color: var(--near-black); text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); color: #fff; text-decoration: none; }
.btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal-light); text-decoration: none; }
.btn-sm { font-size: 13px; padding: 8px 16px; }
.btn-lg { font-size: 16px; padding: 15px 32px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card:target { animation: card-highlight 1.8s ease; }
@keyframes card-highlight {
  0% { box-shadow: 0 0 0 3px var(--accent), var(--shadow-lg); }
  100% { box-shadow: var(--shadow); }
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14px; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* ── STATS BAR ── */
.stats-bar { background: var(--teal); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: #fff; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.78); margin-top: 4px; }

/* ── TOOLS HUB ── */
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: all 0.2s;
}
.tool-card:hover { box-shadow: var(--shadow-lg); border-color: var(--teal); transform: translateY(-2px); }
.tool-card-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-light);
  padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 12px;
}
.tool-card h3 { margin-bottom: 8px; }
.tool-card p { font-size: 14px; flex: 1; margin-bottom: 20px; }
.tool-card .btn { align-self: flex-start; }

/* ── CALCULATOR ── */
.calc-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.calc-header { background: var(--teal); color: #fff; padding: 24px 32px; }
.calc-header h2 { color: #fff; font-size: 1.4rem; margin-bottom: 4px; }
.calc-header p { color: rgba(255,255,255,0.8); font-size: 14px; }
.calc-body { padding: 32px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group label .hint { font-weight: 400; color: var(--text-3); }
.form-control {
  width: 100%; padding: 12px 16px;
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 8px; transition: border-color 0.15s;
  -webkit-appearance: none; appearance: none;
}
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(38,120,131,0.12); }
/* Keyboard-only focus ring for links, buttons and other interactive controls */
a:focus-visible, button:focus-visible, .btn:focus-visible, .nav-links a:focus-visible, input[type="checkbox"]:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23267883' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.calc-result {
  background: var(--teal); color: #fff;
  border-radius: var(--radius); padding: 24px 28px; margin-top: 8px;
  display: none;
}
.calc-result.visible { display: block; }
.calc-result .result-label { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.calc-result .result-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; }
.result-breakdown { margin-top: 16px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 16px; }
.result-row { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.85); padding: 4px 0; }
.risk-meter { margin-top: 12px; }
.risk-bar-wrap { height: 8px; background: rgba(255,255,255,0.25); border-radius: 4px; overflow: hidden; margin: 8px 0; }
.risk-bar { height: 100%; border-radius: 4px; transition: width 0.6s; }
.risk-low .risk-bar { background: #4ade80; }
.risk-medium .risk-bar { background: #fbbf24; }
.risk-high .risk-bar { background: #f87171; }
.risk-critical .risk-bar { background: #ef4444; }

/* ── RISK CHECKER ── */
.question-group { margin-bottom: 20px; }
.question-group .q-label { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.radio-opts { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-opt { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.radio-opt input { accent-color: var(--teal); width: 18px; height: 18px; cursor: pointer; }
.radio-opt span { font-size: 14px; color: var(--text-2); }

/* ── COMPARISON TABLE ── */
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th { background: var(--teal); color: #fff; padding: 0; text-align: center; font-weight: 600; font-size: 13px; vertical-align: top; }
.compare-table th .th-inner { display: flex; flex-direction: column; height: 100%; padding: 16px 14px; position: relative; overflow: hidden; }
.compare-table th .th-name { font-size: 14px; font-weight: 700; height: 44px; display: flex; align-items: center; justify-content: center; line-height: 1.3; }
.compare-table th .th-price { font-size: 1.4rem; font-weight: 800; font-family: var(--font-display); color: #fff; margin: 6px 0 4px; height: 36px; display: flex; align-items: center; justify-content: center; }
.compare-table th .th-save { font-size: 11px; color: var(--accent); font-weight: 700; height: 28px; display: flex; align-items: center; justify-content: center; }
.compare-table th .th-rate { font-size: 11px; color: rgba(255,255,255,0.8); height: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.compare-table th .th-btn { display: flex; justify-content: center; }
/* Diagonal ribbon — Most Popular */
.th-ribbon {
  position: absolute; top: 14px; right: -26px;
  background: var(--accent); color: var(--near-black);
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 36px; transform: rotate(35deg);
  text-transform: uppercase; white-space: nowrap;
}
/* Get Insight full column highlight */
.col-highlight { box-shadow: inset 2px 0 0 rgba(38,120,131,0.3), inset -2px 0 0 rgba(38,120,131,0.3); background: rgba(38,120,131,0.04); }
.col-highlight-last { box-shadow: inset 2px 0 0 rgba(38,120,131,0.3), inset -2px 0 0 rgba(38,120,131,0.3), inset 0 -3px 0 rgba(38,120,131,0.3); background: rgba(38,120,131,0.04); }
.compare-table th:first-child { border-radius: 10px 0 0 0; }
.compare-table th:last-child { border-radius: 0 10px 0 0; }
.compare-table td { padding: 8px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size:13px; }
.compare-table tr:nth-child(even) td { background: var(--surface); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.compare-table tr:last-child td:last-child { border-radius: 0 0 10px 0; }
.badge-yes { color: var(--green); font-weight: 600; }
.badge-no { color: var(--red); }
.badge-partial { color: #b45309; }

/* ── ROADMAP ── */
.roadmap-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 16px; transition: all 0.2s;
}
.roadmap-step:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.step-num {
  min-width: 48px; height: 48px;
  background: var(--teal); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.step-content h3 { margin-bottom: 4px; font-size: 1.05rem; }
.step-content p { font-size: 14px; }
.step-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; display: inline-block; margin-top: 8px; }
.step-tag.vat { background: #e8f4f5; color: var(--teal-dark); }
.step-tag.ct { background: var(--accent-light); color: #92400e; }
.step-tag.both { background: #edf7f1; color: var(--green); }

/* ── PRICING ── */
.pricing-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.pricing-card.featured { border-color: var(--accent); border-width: 2px; }
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: 16px; right: -28px;
  background: var(--accent); color: var(--near-black);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 4px 40px; transform: rotate(35deg);
  text-transform: uppercase;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.price-label { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 4px; }
.price-amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--teal); }
.price-amount sup { font-size: 1.1rem; vertical-align: super; }
.price-amount span { font-size: 1rem; color: var(--text-3); font-weight: 400; }
.price-features { list-style: none; margin: 20px 0; }
.price-features li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-2); display: flex; gap: 8px; align-items: flex-start; }
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── TESTIMONIAL ── */
.testimonial {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.testimonial-text { font-size: 15px; color: var(--text-2); font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.author-name { font-weight: 600; font-size: 14px; }
.author-title { font-size: 12px; color: var(--text-3); }
.stars { color: var(--accent); font-size: 13px; margin-bottom: 12px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--text); cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.faq-question:hover { color: var(--teal); }
.faq-icon { font-size: 20px; color: var(--accent); transition: transform 0.2s; flex-shrink: 0; }
.faq-answer { font-size: 14px; color: var(--text-2); line-height: 1.7; padding-bottom: 20px; display: none; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-answer { display: block; }

/* ── CTA BAND ── */
.cta-band { background: var(--teal); padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 500px; margin: 0 auto 32px; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.5); }

/* ── LANDING PAGES ── */
.lp-hero { background: linear-gradient(135deg, #0f2426 0%, #1a4a52 60%, #267883 100%); padding: 80px 0; color: #fff; }
.lp-hero h1 { color: #fff; }
.lp-hero p { color: rgba(255,255,255,0.82); }
.lp-hero #qualify, .lp-hero #qualify h2, .lp-hero #qualify p, .lp-hero #qualify label, .lp-hero #qualify strong { color: var(--text); }
.lp-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.lp-form-card h3 { margin-bottom: 20px; font-size: 1.2rem; }
.lp-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.trust-logos { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.trust-logo { background: rgba(255,255,255,0.12); padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8); }

/* ── FOOTER ── */
.footer { background: #0f1c1e; color: rgba(255,255,255,0.7); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 28px; }
.footer-brand h3 { color: #fff; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 13px; text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: #7ed4dc; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-bottom p { font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-links a:hover { color: #7ed4dc; }

/* ── CHIPS / TAGS ── */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.chip-teal { background: var(--teal-light); color: var(--teal-dark); }
.chip-amber { background: var(--accent-light); color: #92400e; }
.chip-green { background: var(--green-light); color: var(--green); }
.chip-red { background: var(--red-light); color: var(--red); }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.d-none { display: none; }
.alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-top: 12px; }
.alert-info { background: var(--teal-light); color: var(--teal-dark); border-left: 3px solid var(--teal); }
.alert-warn { background: var(--accent-light); color: #92400e; border-left: 3px solid var(--accent); }
.alert-danger { background: var(--red-light); color: var(--red); border-left: 3px solid var(--red); }
.alert-success { background: var(--green-light); color: var(--green); border-left: 3px solid var(--green); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .founder-grid img { max-width: 260px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; box-shadow: var(--shadow); }
  .nav-mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .lp-form-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── WHATSAPP POPUP WIDGET ── */
.wa-wrap { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-bubble {
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s ease-in-out infinite; flex-shrink: 0;
}
.wa-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.65); }
.wa-bubble svg { width: 30px; height: 30px; fill: #fff; }
.wa-popup {
  background: #fff; border-radius: 20px; width: 310px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.16); overflow: hidden;
  display: none; flex-direction: column;
  transform: translateY(12px) scale(0.97); opacity: 0;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s ease;
}
.wa-popup.open { display: flex; transform: translateY(0) scale(1); opacity: 1; }
.wa-popup-header {
  background: var(--near-black); padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.wa-avatar {
  width: 40px; height: 40px; background: #25d366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  color: #fff; flex-shrink: 0;
}
.wa-header-info { flex: 1; }
.wa-header-name { font-weight: 700; color: #fff; font-size: 14px; font-family: var(--font-display); }
.wa-header-status { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.wa-close { background: none; border: none; color: rgba(255,255,255,0.5); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; transition: color 0.15s; }
.wa-close:hover { color: #fff; }
.wa-popup-body { padding: 18px; background: #f2f2f7; }
.wa-message {
  background: #fff; border-radius: 4px 16px 16px 16px; padding: 12px 14px;
  font-size: 13.5px; color: var(--text); line-height: 1.65;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07); margin-bottom: 6px;
}
.wa-message-time { font-size: 11px; color: #8e8e93; margin-bottom: 16px; text-align: right; }
.wa-start-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; color: #fff; border: none; border-radius: 12px;
  padding: 13px 16px; font-size: 14px; font-weight: 700; cursor: pointer;
  width: 100%; text-decoration: none; transition: background 0.15s, transform 0.1s;
  font-family: var(--font-display);
}
.wa-start-btn:hover { background: #1db954; color: #fff; text-decoration: none; transform: translateY(-1px); }
.wa-start-btn:active { transform: translateY(0); }
.wa-start-btn svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.75); }
}
@media (max-width: 640px) {
  .wa-wrap { bottom: 20px; right: 16px; }
  .wa-bubble { width: 50px; height: 50px; }
  .wa-bubble svg { width: 26px; height: 26px; }
  .wa-popup { width: calc(100vw - 32px); }
}

/* ── HERO RESPONSIVE ── */
@media (max-width: 860px) {
  .hero-two-col { grid-template-columns: 1fr !important; }
  .hero-two-col .hero-img { display: none; }
}
