/* ============ Targity marketing site ============ */
:root {
  --ink: #0e1726;
  --ink-2: #344054;
  --muted: #667085;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-soft: #f7f7fa;
  --navy: #0c1424;
  --navy-2: #16213a;
  --primary: #ff5a36;
  --primary-dark: #e2451f;
  --primary-soft: #fff1ec;
  --green: #12b76a;
  --green-soft: #e7f8ef;
  --blue: #2e6bff;
  --blue-soft: #eaf0ff;
  --wa: #25d366;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.d-block { display: block; }
.lead { font-size: 1.125rem; color: var(--ink-2); }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow.light { color: #ff8a6e; }
.accent { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: .875rem; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(255, 90, 54, .28); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: var(--primary-soft); }
.link { background: none; border: 0; padding: 0; color: var(--primary-dark); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.link-arrow { color: var(--primary-dark); font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; color: var(--primary); }
.logo-word { font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo-light { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(230, 232, 238, .7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav a.btn { color: #fff; }
.nav-sep { width: 1px; height: 22px; background: var(--line); }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 90px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(255, 90, 54, .10), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(46, 107, 255, .07), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .9rem; font-weight: 600; }
.hero-trust li::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 800; }

.hero-visual { position: relative; min-height: 520px; display: flex; justify-content: center; align-items: center; }
.phone { width: 300px; background: #fff; border-radius: 36px; padding: 22px 16px 26px; border: 10px solid var(--navy); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 10px; }
.phone-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: .85rem; padding: 0 4px; }
.phone-top small { color: var(--muted); font-weight: 600; }
.phone-top.wa small { color: #0b9e4a; }
.bubble { font-size: .88rem; line-height: 1.45; padding: 11px 13px; border-radius: 16px; max-width: 92%; }
.bubble.in { background: #f1f2f6; border-bottom-left-radius: 4px; }
.bubble.in.wa { background: #e9fbe8; }
.bubble.out { align-self: flex-end; background: #d9fdd3; border-bottom-right-radius: 4px; font-weight: 600; }
.bubble-actions { display: flex; gap: 6px; margin-top: 9px; }
.bubble-actions span { flex: 1; text-align: center; background: #fff; border-radius: 9px; padding: 6px; font-weight: 700; color: #0b7a3b; font-size: .8rem; }
.stat-card { position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; border: 1px solid var(--line); }
.stat-a { left: -40px; top: -20px; }
.stat-b { right: -4px; bottom: 70px; }
.stat-label { font-size: .75rem; color: var(--muted); font-weight: 600; }
.stat-value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.stat-value.small { font-size: 1.15rem; }
.stat-trend { font-size: .78rem; color: var(--green); font-weight: 700; }

/* ---------- Integrations strip ---------- */
.integrations { border-block: 1px solid var(--line); background: var(--bg-soft); }
.integrations-inner { display: flex; align-items: center; justify-content: center; gap: 28px; padding-block: 22px; flex-wrap: wrap; font-weight: 600; font-size: .9rem; }
.integration-list { display: flex; gap: 12px; flex-wrap: wrap; }
.integration { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 700; }
.integration.soon { color: var(--muted); }
.integration em { font-style: normal; font-size: .72rem; background: var(--bg-soft); padding: 2px 7px; border-radius: 99px; margin-left: 4px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark .lead { color: #c3cad9; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.page-head { padding-top: 64px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; transition: box-shadow .2s, transform .2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius-lg); padding: 30px 26px; border: 1px solid var(--line); position: relative; }
.steps p { color: var(--ink-2); margin: 0; }
.step-no { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 16px; }

.scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scenario { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.scenario p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.scenario h3 { margin-top: 12px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--primary-soft); color: var(--primary-dark); }
.tag-green { background: var(--green-soft); color: #067647; }
.tag-blue { background: var(--blue-soft); color: #1d4ed8; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.funnel { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-lg); padding: 30px; }
.funnel-row { display: grid; grid-template-columns: 120px 1fr 64px; align-items: center; gap: 14px; margin-bottom: 16px; font-size: .92rem; color: #c3cad9; }
.funnel-row b { color: #fff; text-align: right; }
.bar { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #5b7cff; border-radius: 99px; }
.bar.hot::after { background: var(--primary); min-width: 12px; }
.funnel-total { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; margin-top: 8px; font-weight: 700; }
.funnel-total b { font-size: 1.6rem; color: #fff; }
.funnel-note { font-size: .75rem; color: #7d879c; margin: 12px 0 0; }

/* ---------- Plan cards ---------- */
.billing-toggle { display: flex; width: fit-content; margin: 0 auto 36px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.billing-toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .9rem; padding: 9px 18px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.billing-toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.billing-toggle .save { font-size: .72rem; background: var(--green-soft); color: #067647; padding: 2px 8px; border-radius: 99px; margin-left: 4px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; }
.plan-card.highlighted { border: 2px solid var(--primary); box-shadow: 0 20px 50px rgba(255, 90, 54, .15); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .74rem; font-weight: 800; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.plan-tagline { color: var(--muted); font-size: .9rem; min-height: 2.9em; }
.plan-price { margin: 6px 0 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.plan-price .amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.plan-price .per { color: var(--muted); font-weight: 600; }
.plan-price .price-note { width: 100%; font-size: .78rem; color: var(--muted); }
.plan-footnote { margin-top: 26px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: .92rem; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); color: #067647; font-size: .7rem; font-weight: 900; display: grid; place-items: center; margin-top: 3px; }
.check-list.light li { color: #dfe4ee; }
.check-list.light li::before { background: rgba(18, 183, 106, .18); color: #4ade80; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .92rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 1rem; background: #fff; position: sticky; top: 0; }
.compare .hl { background: #fff8f5; }
.compare thead th.hl { color: var(--primary-dark); }
.compare td.yes { color: var(--green); font-weight: 900; }
.compare td.no { color: #c0c5d0; }
.compare .group-row td { background: var(--bg-soft); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* ---------- CTA + footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary), #ff7a45); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; max-width: 640px; }
.site-footer { background: var(--navy); color: #aab3c5; padding: 64px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer-grid a:not(.logo) { display: block; text-decoration: none; margin-bottom: 9px; }
.footer-grid a:not(.logo):hover { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid, .scenario-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-visual { min-height: 480px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }

  .nav-burger { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; border-radius: 2px; }
  .nav-burger span::before { position: absolute; top: -7px; }
  .nav-burger span::after { position: absolute; top: 7px; }
  .nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav a { padding: 12px 0; }
  .nav a.btn { margin-top: 8px; padding: 12px; }
  .nav-sep { display: none; }
  .nav-toggle:checked ~ .nav { display: flex; }
}
@media (max-width: 560px) {
  .feature-grid, .scenario-grid, .plan-grid { grid-template-columns: 1fr; }
  .stat-a { left: 0; top: 10px; }
  .stat-b { right: 0; bottom: 20px; }
  .cta-inner { justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Legal, about, contact ---------- */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: grid; gap: 2px; }
.legal-nav h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.legal-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 10px; }
.legal-nav a:hover { background: var(--bg-soft); }
.legal-nav a.active { background: var(--primary-soft); color: var(--primary-dark); }
.legal-body { max-width: 780px; }
.legal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.legal-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.lang-switch { display: flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.lang-switch a { text-decoration: none; font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: 9px; color: var(--muted); }
.lang-switch a.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.legal-note { background: var(--bg-soft); border-left: 3px solid var(--primary); padding: 10px 14px; border-radius: 8px; font-size: .9rem; color: var(--ink-2); }
.legal-body h2 { font-size: 1.3rem; margin: 2em 0 .6em; }
.legal-body h3 { font-size: 1.05rem; margin: 1.5em 0 .5em; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul, .legal-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .4em; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0 0 1.2em; }
.legal-body th, .legal-body td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.legal-body th { background: var(--bg-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.legal-body .table-wrap { margin-bottom: 1.2em; border-radius: var(--radius); }
.legal-body .table-wrap table { margin: 0; min-width: 560px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.info-list { display: grid; grid-template-columns: 150px 1fr; gap: 10px 18px; margin: 0; }
.info-list dt { color: var(--muted); font-weight: 600; font-size: .92rem; }
.info-list dd { margin: 0; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.contact-options { display: grid; gap: 14px; }
.contact-option { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; }
.contact-option:hover { box-shadow: var(--shadow); }
.contact-option p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.callout { background: var(--primary-soft); border: 1px solid #ffd7cc; border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 28px; }
.callout h3 { margin-bottom: 6px; }
.callout p { margin: 0; color: var(--ink-2); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 860px) {
  .legal-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-nav h4 { width: 100%; margin-bottom: 4px; }
  .value-grid { grid-template-columns: 1fr; }
  .info-list { grid-template-columns: 1fr; gap: 2px; }
  .info-list dd { margin-bottom: 10px; }
}
