:root {
  --ink: #0b2233;
  --ink-2: #334e62;
  --muted: #5c7385;
  --line: #dbe6ec;
  --bg: #ffffff;
  --bg-soft: #f3f8f9;
  --brand: #0d9488;
  --brand-2: #0e5a8a;
  --brand-ink: #0b3b4f;
  --brand-soft: #e3f4f2;
  --accent: #f59e0b;
  --ok: #059669;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 34, 51, .06), 0 8px 24px rgba(11, 34, 51, .08);
  --shadow-lg: 0 24px 60px rgba(11, 34, 51, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-decoration: none !important; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 6px 18px rgba(13, 148, 136, .28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(13, 148, 136, .36); }
.btn-ghost { background: #fff; color: var(--brand-ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(11, 34, 51, .05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); font-weight: 600; text-decoration: none !important; }
.brand strong { color: var(--brand); font-weight: 800; }
.brand.light { color: #fff; }
.brand.light strong { color: #5eead4; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a:not(.btn) { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav-menu a:not(.btn):hover { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease; }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-menu .btn { margin-top: 16px; padding: 14px; }
}

/* Eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; background:
  radial-gradient(800px 400px at 85% 10%, rgba(14, 90, 138, .10), transparent 70%),
  radial-gradient(700px 400px at 10% 90%, rgba(13, 148, 136, .10), transparent 70%),
  linear-gradient(180deg, #f5fbfb, #fff); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.grad { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .75rem; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }

.hero-visual { position: relative; }
.mock { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f7; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4dde3; }
.mock-bar i:nth-child(1) { background: #f87171; } .mock-bar i:nth-child(2) { background: #fbbf24; } .mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar span { margin-left: 12px; font-size: .72rem; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); }
.mock-body { display: flex; min-height: 340px; }
.mock-side { width: 56px; background: var(--brand-ink); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mock-side b { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .14); }
.mock-side b.on { background: #2dd4bf; }
.mock-main { flex: 1; padding: 16px; display: grid; gap: 14px; min-width: 0; }
.mock-head { display: flex; justify-content: space-between; align-items: center; }
.mock-head small { display: block; color: var(--muted); font-size: .72rem; }
.mock-head strong { font-family: var(--font-head); font-size: 1rem; }
.chip { font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stats div { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mock-stats small { display: block; font-size: .68rem; color: var(--muted); }
.mock-stats strong { font-family: var(--font-head); font-size: 1.35rem; display: block; }
.mock-stats em { font-style: normal; font-size: .66rem; color: var(--muted); }
.mock-stats em.up { color: var(--ok); }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 70px; padding: 8px 10px; border-radius: 12px; background: var(--bg-soft); }
.mock-chart span { flex: 1; height: 50%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #2dd4bf, var(--brand)); opacity: .85; }
.mock-chart span:nth-child(1) { height: 45%; } .mock-chart span:nth-child(2) { height: 62%; } .mock-chart span:nth-child(3) { height: 38%; } .mock-chart span:nth-child(4) { height: 74%; }
.mock-chart span:nth-child(5) { height: 58%; } .mock-chart span:nth-child(6) { height: 88%; } .mock-chart span:nth-child(7) { height: 66%; }
.mock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.mock-list li > div { flex: 1; min-width: 0; }
.mock-list b { display: block; font-size: .8rem; }
.mock-list small { display: block; font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 700; color: #fff; background: var(--brand); }
.av.b { background: var(--brand-2); } .av.c { background: #7c3aed; }
.tag { font-size: .64rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag.ok { background: #d1fae5; color: #047857; } .tag.wait { background: #fef3c7; color: #b45309; } .tag.lab { background: #e0e7ff; color: #4338ca; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: float 6s ease-in-out infinite; }
.float-card small { display: block; font-size: .68rem; color: var(--muted); }
.float-card b { font-size: .82rem; }
.float-card .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #fef3c7; color: #b45309; font-weight: 800; }
.float-card .ic.green { background: #d1fae5; color: #047857; }
.fc-1 { left: -28px; bottom: 60px; }
.fc-2 { right: -18px; top: -18px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .fc-1 { left: -6px; bottom: -22px; }
  .fc-2 { right: -6px; top: -22px; }
}
@media (max-width: 480px) {
  .mock-side { width: 40px; }
  .mock-side b { width: 20px; height: 20px; }
  .mock-stats strong { font-size: 1.1rem; }
  .float-card { padding: 8px 10px; }
  .float-card b { font-size: .74rem; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* Strip */
.strip { background: var(--brand-ink); color: #cfe3ea; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.strip-grid div { display: flex; flex-direction: column; }
.strip-grid strong { font-family: var(--font-head); font-size: 1.8rem; color: #fff; line-height: 1.1; }
.strip-grid span { font-size: .9rem; }
@media (max-width: 720px) { .strip-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4dbe3; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card { padding: 22px; } }

/* Flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.flow li > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); margin-bottom: 16px; }
.flow li p { color: var(--muted); margin: 0; font-size: .95rem; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 49px; right: -21px; width: 22px; height: 2px; background: var(--line); }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow li::after { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Split / roles */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split .btn { margin-top: 8px; }
.roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.roles li { padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-soft)); border-left: 4px solid var(--brand); }
.roles b { display: block; font-family: var(--font-head); }
.roles span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

/* Security */
.section.dark { background: radial-gradient(900px 500px at 90% 0%, rgba(45, 212, 191, .14), transparent 60%), linear-gradient(160deg, #0b2a3a, #0b3b4f 60%, #0c4a5a); color: #cfe3ea; }
.section-head.light h2 { color: #fff; }
.section-head.light p:not(.eyebrow) { color: #a9c6d1; }
.section-head.light .eyebrow { color: #5eead4; }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.sec-grid > div { background: rgba(11, 42, 58, .92); padding: 30px 28px; }
.sec-grid h3 { color: #fff; display: flex; align-items: center; gap: 10px; }
.sec-grid h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #2dd4bf; flex: none; }
.sec-grid p { margin: 0; font-size: .95rem; color: #a9c6d1; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sec-grid { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan-for { color: var(--muted); font-size: .92rem; }
.plan ul { list-style: none; margin: 8px 0 28px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 800; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-family: var(--font-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--ink-2); }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list span { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfdfd; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); background: #fff; }
.form .invalid { border-color: #dc2626 !important; box-shadow: 0 0 0 4px #fee2e2 !important; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.form .check.invalid { color: #dc2626; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.4em; text-align: center; }
.form-status.error { color: #dc2626; }
.form-status.success { color: var(--ok); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .form { padding: 22px 18px; } .form .row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #081d29; color: #9fb8c4; padding: 64px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid p { margin-top: 14px; max-width: 26em; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid a:not(.brand) { display: block; color: #9fb8c4; padding: 4px 0; }
.footer-grid a:not(.brand):hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #9fb8c4; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Simple pages (legal, 404, thank you) */
.page { padding: 64px 0 96px; background: linear-gradient(180deg, #f5fbfb, #fff 320px); }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page h2 { font-size: 1.35rem; margin-top: 2em; }
.page p, .page li { color: var(--ink-2); }
.page .updated { color: var(--muted); font-size: .92rem; }
.center-page { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.center-page .big { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; margin-bottom: 8px; }
.center-page .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: #d1fae5; color: var(--ok); font-size: 2rem; font-weight: 800; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
