:root {
  --ink: #16181d;
  --ink-2: #2b2f3a;
  --muted: #5b6170;
  --line: #e7e5f0;
  --soft: #f7f6fc;
  --brand: #4b3fd1;
  --brand-2: #6d5ff0;
  --brand-soft: #ece9fe;
  --brand-ink: #ffffff;
  --teal: #0f8a7e;
  --teal-soft: #e3f4f1;
  --amber: #b26b00;
  --amber-soft: #fdf1dc;
  --ok: #157a46;
  --ok-bg: #e6f4ec;
  --wip: #8a5a00;
  --wip-bg: #fdf1dc;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(27, 20, 70, .06), 0 2px 8px rgba(27, 20, 70, .04);
  --shadow: 0 2px 4px rgba(27, 20, 70, .04), 0 12px 32px rgba(27, 20, 70, .08);
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid rgba(75, 63, 209, .45); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 30; }
.skip:focus { left: 8px; }
.notice { background: #fff6d6; color: #5a4300; font-size: 13px; text-align: center; padding: 7px 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo-text span { color: var(--brand); }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: url(img/favicon.svg) center / cover; flex: none; }
.site-header nav { display: flex; gap: 4px; flex: 1; }
.site-header nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.site-header nav a:hover { background: var(--soft); }
.site-header nav a.active { color: var(--brand); background: var(--brand-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: var(--brand-ink); padding: 12px 20px; border-radius: 10px; text-decoration: none; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; box-shadow: 0 1px 2px rgba(27, 20, 70, .2), inset 0 1px 0 rgba(255, 255, 255, .15); transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: #3f33c0; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(75, 63, 209, .28); }
.btn.secondary { background: #fff; color: var(--ink); border-color: #d9d6e6; box-shadow: var(--shadow-sm); }
.btn.secondary:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-sm); }
.btn.light { background: #fff; color: var(--brand); }
.btn.light:hover { background: #f4f2ff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.icon { width: 22px; height: 22px; flex: none; }
.icon.sm { width: 18px; height: 18px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Type */
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 18px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 14px; }
h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 620px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #12b5a5; box-shadow: 0 0 0 4px rgba(18, 181, 165, .18); }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), #12b5a5); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Sections */
.section { padding-top: 96px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
main { padding-bottom: 96px; }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; background:
  radial-gradient(600px 400px at 85% 10%, rgba(109, 95, 240, .16), transparent 70%),
  radial-gradient(500px 360px at 10% 90%, rgba(18, 181, 165, .12), transparent 70%),
  linear-gradient(180deg, #fbfaff, #fff); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero-proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof .icon { color: var(--ok); }
.hero-art { position: relative; }
.hero-dash { width: 100%; }
.hero-card { position: absolute; width: 46%; left: -9%; bottom: -12%; transform: rotate(-6deg); }

/* Logos */
.logos { padding: 40px 0 8px; text-align: center; }
.logos p { color: var(--muted); font-size: 14px; font-weight: 500; margin: 0 0 20px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.co { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: #7c8090; }
.co-mark { width: 20px; height: 20px; background: #b8bbc7; }
.co-mark.c1 { border-radius: 50%; }
.co-mark.c2 { border-radius: 4px; transform: rotate(45deg) scale(.8); }
.co-mark.c3 { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.co-mark.c4 { border-radius: 50% 50% 4px 50%; }
.co-mark.c5 { border-radius: 6px; box-shadow: inset 0 0 0 5px #b8bbc7; background: transparent; }
.co-mark.c6 { border-radius: 50%; box-shadow: 8px 0 0 -2px #d0d2da; width: 14px; height: 14px; margin-right: 6px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature p { margin: 0; color: var(--muted); }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; flex: none; }
.feature-icon.teal { background: var(--teal-soft); color: var(--teal); }
.feature-icon.amber { background: var(--amber-soft); color: var(--amber); }
.feature-icon.sm { width: 40px; height: 40px; border-radius: 10px; margin: 0; }
.feature-icon.sm .icon { width: 20px; height: 20px; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-art { order: 2; }
.split-copy p { color: var(--muted); font-size: 17px; }
.split-art img { width: 100%; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--ok); margin-top: 3px; }

/* Stats */
.stats { margin-top: 96px; background: linear-gradient(135deg, #1d1666, #4b3fd1 60%, #6d5ff0); color: #fff; padding: 48px 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: rgba(255, 255, 255, .78); font-size: 15px; }

/* Video, map */
.video-frame, .map-frame { border-radius: 20px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); box-shadow: var(--shadow); }
.video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.map { display: block; width: 100%; height: 340px; border: 0; }

/* Quote */
.quote { margin: 0 auto; max-width: 820px; text-align: center; padding: 48px 32px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); }
.quote img { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, var(--shadow-sm); }
.quote blockquote { margin: 0 0 16px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45; letter-spacing: -.015em; font-weight: 600; color: var(--ink-2); }
.quote figcaption { color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 48px; border-radius: 24px; color: #fff; background:
  radial-gradient(400px 240px at 90% 0%, rgba(18, 181, 165, .45), transparent 70%),
  linear-gradient(135deg, #1d1666, #4b3fd1); }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-band .cta-row { margin: 0; }

/* Page hero (pricing, privacy) */
.page-hero { padding: 72px 0 48px; background:
  radial-gradient(520px 320px at 90% 0%, rgba(109, 95, 240, .14), transparent 70%),
  linear-gradient(180deg, #fbfaff, #fff); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; background: #fff; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 20px 48px rgba(75, 63, 209, .18); }
.plan-flag { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.plan-desc { color: var(--muted); margin: 0 0 18px; min-height: 52px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 22px; line-height: 1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .checklist { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.includes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 36px; color: var(--muted); font-weight: 500; font-size: 15px; }
.includes span { display: inline-flex; align-items: center; gap: 8px; }
.includes .icon { color: var(--brand); }
.checkout-card { display: grid; gap: 16px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.card-field { padding: 14px; border: 1px dashed #c9c5e0; border-radius: 10px; color: var(--muted); background: var(--soft); font-size: 15px; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: var(--ink-2); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { color: var(--brand); }
p .icon.sm { vertical-align: -3px; }

/* Forms */
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input, textarea, select { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #d3d0e2; border-radius: 10px; background: #fff; }
input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(75, 63, 209, .14); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Trust center */
.tc-hero { padding: 64px 0 40px; background:
  radial-gradient(560px 360px at 80% 30%, rgba(109, 95, 240, .16), transparent 70%),
  linear-gradient(180deg, #fbfaff, #fff); }
.tc-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.tc-art img { width: 100%; max-width: 420px; margin-left: auto; }
.tc-status { display: inline-flex; align-items: center; gap: 8px; background: var(--ok-bg); color: var(--ok); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.tc-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(21, 122, 70, .18); }
.updated { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.tc-tabs { position: sticky; top: 64px; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tc-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.tc-tabs a { flex: none; padding: 8px 14px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.tc-tabs a:hover { background: var(--brand-soft); color: var(--brand); }
.page-trust .section { padding-top: 72px; }
.frameworks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fw { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.fw:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.badge { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; letter-spacing: .02em; text-align: center; line-height: 1.1; color: #fff; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .28), transparent 55%), var(--badge); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line), 0 8px 18px rgba(27, 20, 70, .14); }
.fw-name { font-weight: 700; margin-bottom: 6px; }
.fw-meta { color: var(--muted); font-size: 14px; margin: 0; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.wip { background: var(--wip-bg); color: var(--wip); }
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.doc { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.doc:hover { border-color: #cfc9f5; box-shadow: var(--shadow-sm); }
.doc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); flex: none; }
.doc-icon.locked { background: var(--brand-soft); color: var(--brand); }
.doc-icon .icon { width: 20px; height: 20px; }
.doc-name { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.35; }
.doc-name small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.control-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.control-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.control-head h3 { margin: 0; flex: 1; font-size: 17px; }
.control-card .checklist { font-size: 15px; gap: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--soft); }
th { background: var(--soft); color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; background: #fff; }
details[open] { box-shadow: var(--shadow-sm); }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 16px; color: var(--muted); }
dialog { border: 0; border-radius: 20px; padding: 28px; max-width: 460px; width: calc(100% - 32px); box-shadow: 0 24px 64px rgba(27, 20, 70, .3); }
dialog::backdrop { background: rgba(22, 24, 29, .5); backdrop-filter: blur(2px); }
dialog h3 { font-size: 22px; }
dialog p { color: var(--muted); margin-top: 0; }
.thanks { color: var(--ok) !important; font-weight: 600; }

/* Privacy */
.prose-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.prose { max-width: 680px; }
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 8px; }
.prose p { color: var(--ink-2); }
.choice-card { position: sticky; top: 88px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--soft); }
.choice-card p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid a:not(.logo) { display: block; color: var(--ink-2); text-decoration: none; padding: 3px 0; font-size: 15px; }
.footer-grid a:not(.logo):hover { color: var(--brand); }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 280px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 960px) {
  .hero-grid, .tc-hero-grid, .split, .prose-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-art { order: 0; }
  .hero-card { left: 2%; bottom: -14%; width: 44%; }
  .hero { padding-bottom: 72px; }
  .features, .plans { grid-template-columns: 1fr; }
  .frameworks { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .tc-art img { margin: 0 auto; max-width: 340px; }
  .choice-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .header-cta { display: none; }
  .header-inner { gap: 12px; }
  .site-header nav { justify-content: flex-end; }
  .site-header nav a { padding: 7px 9px; font-size: 14px; white-space: nowrap; }
  .logo { font-size: 18px; }
  .hero { padding-top: 44px; }
  .section { padding-top: 72px; }
  .lede { font-size: 17px; }
  .frameworks { grid-template-columns: 1fr; }
  .docs, .controls { grid-template-columns: 1fr; }
  .doc { flex-wrap: wrap; }
  .doc .btn { width: 100%; }
  .cta-band { padding: 32px 24px; }
  .quote { padding: 36px 20px; }
  th, td { padding: 12px; }
}
@media (max-width: 420px) {
  .site-header .logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .site-header .logo-mark { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
