:root {
  --teal: #00b3a4; --teal-dark: #00897b; --teal-soft: rgba(0, 179, 164, 0.14);
  --navy: #0f2540; --bg: #0a1626; --bg-2: #0f1f33; --bg-3: #142a45;
  --text: #eef3f7; --muted: #9fb0c3; --line: rgba(255, 255, 255, 0.1);
  --font-head: 'Outfit', system-ui, sans-serif; --font-body: 'Source Sans 3', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.02em; margin: 0 0 0.6rem; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h1 span { color: var(--teal); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, Menlo, monospace; background: var(--teal-soft); color: var(--teal); padding: 0.1rem 0.45rem; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 820px; }
.eyebrow { color: var(--teal); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 0.9rem; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 0.85rem; }
.center { text-align: center; }
section { padding: 6rem 0; }

/* buttons */
.cta, .ghost { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; transition: 0.15s; white-space: nowrap; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.cta { background: var(--teal); color: #04211e; }
.cta:hover { background: #17c9b9; transform: translateY(-1px); }
.ghost { border-color: rgba(255, 255, 255, 0.25); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.ghost:hover { border-color: var(--teal); color: var(--teal); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.5rem; background: rgba(10, 22, 38, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand .mark { width: 34px; height: 34px; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--font-head); font-size: 0.95rem; letter-spacing: 0.04em; }
.brand small { color: var(--muted); font-size: 0.62rem; letter-spacing: 0.04em; margin-top: 0.2rem; }
.nav nav { display: flex; align-items: center; gap: 1.6rem; font-size: 0.92rem; }
.nav nav a:not(.cta):not(.ghost):hover { color: var(--teal); }
.nav .ghost, .nav .cta { padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--text); font-size: 1.2rem; border-radius: 8px; padding: 0.3rem 0.6rem; }

/* hero */
.hero { position: relative; padding: 9rem 0 8rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(60% 80% at 80% 20%, rgba(0, 179, 164, 0.22), transparent 60%),
  radial-gradient(40% 60% at 10% 90%, rgba(22, 53, 88, 0.8), transparent 70%),
  linear-gradient(180deg, #0a1626 0%, #0f1f33 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 100%); opacity: 0.35; }
.hero .wrap { position: relative; max-width: 760px; margin-left: max(1.5rem, calc((100vw - 1180px) / 2)); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 56ch; margin-bottom: 2rem; }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.2rem; }

/* why */
.why { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stats li { background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; }
.stats b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--teal); margin-bottom: 0.3rem; }
.stats span { color: var(--muted); font-size: 0.95rem; }

/* features */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); max-width: 60ch; margin: 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; }
.feature-grid article { border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 1.2rem; transition: 0.15s; }
.feature-grid article:hover { border-top-color: var(--teal); }
.feature-grid p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* compliance */
.compliance { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ticks li { padding-left: 1.8rem; position: relative; margin-bottom: 0.6rem; color: var(--text); }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.panel { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.panel-head { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.panel dl { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.5rem; margin: 0; font-size: 0.95rem; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.plans article { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; display: flex; flex-direction: column; }
.plans article.hl { border-color: var(--teal); background: linear-gradient(180deg, rgba(0, 179, 164, 0.1), var(--bg-2)); }
.tag { position: absolute; top: -0.8rem; left: 2rem; background: var(--teal); color: #04211e; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; }
.price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; margin: 0.4rem 0 0.2rem; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.blurb { color: var(--muted); margin-bottom: 1.2rem; }
.plans ul { list-style: none; padding: 0; margin: 0 0 1.8rem; flex: 1; }
.plans li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
.plans li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); }
.plans .cta, .plans .ghost { justify-content: center; }

/* faq */
.faq { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: '+'; color: var(--teal); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); margin: 0.7rem 0 0; }

/* demo */
.demo { position: relative; background: radial-gradient(50% 60% at 90% 30%, rgba(0, 179, 164, 0.15), transparent 70%), var(--bg); }
.demo-form { border-left: 1px solid var(--line); padding-left: 3rem; display: grid; gap: 1.3rem; }
.demo-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.demo-form label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.demo-form input, .demo-form textarea { background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); color: var(--text); font: inherit; font-size: 1rem; padding: 0.5rem 0; outline: none; resize: vertical; }
.demo-form input:focus, .demo-form textarea:focus { border-bottom-color: var(--teal); }
.demo-form .cta { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-size: 0.95rem; min-height: 1.4em; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: #ff8a8a; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.foot-grid h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.foot-grid a:not(.brand) { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 0.55rem; }
.foot-grid a:not(.brand):hover { color: var(--teal); }
.foot-grid .muted { margin-top: 1rem; font-size: 0.92rem; }
.copy { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.copy .parent a { color: var(--teal); font-weight: 600; }
.copy .parent a:hover { text-decoration: underline; }

/* legal pages */
.legal { padding: 4rem 0; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 960px) {
  section { padding: 4.5rem 0; }
  .hero { padding: 6rem 0 5rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .demo-form { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 2rem; }
  .nav nav { display: none; }
  .burger { display: block; }
  body.menu-open .nav nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg-2); padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line); gap: 1rem; }
}
@media (max-width: 560px) {
  .feature-grid, .stats, .foot-grid { grid-template-columns: 1fr; }
  .brand small { display: none; }
}
