:root {
  --brand: #0f766e;
  --brand-2: #14b8a6;
  --brand-soft: #e6f6f4;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --navy: #0b1f2a;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(15, 23, 42, .25);
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--ink-2); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.2em; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 118, 110, .7); }
.btn-primary:hover { background: #0d6660; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: .9em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .8em; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 1.2rem; font-weight: 500; }
.brand svg { color: var(--brand); }
.brand b { font-weight: 800; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.links a:hover { color: var(--brand); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: flex; flex-direction: column; padding: 8px 16px 18px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { margin-top: 12px; color: #fff; border: 0; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #ccfbf1 0, transparent 60%), radial-gradient(800px 400px at -10% 30%, #e0f2fe 0, transparent 60%); padding: 72px 0 90px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; }
.hl { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.hero-points li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 6px; }
.hero-shot { position: relative; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(15, 23, 42, .06); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-bar i:nth-child(1) { background: #f87171; } .browser-bar i:nth-child(2) { background: #fbbf24; } .browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-left: 12px; font-size: .78rem; color: var(--muted); background: #fff; padding: 2px 12px; border-radius: 6px; }
.hero-shot .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.float-card { position: absolute; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: .82rem; color: var(--muted); }
.float-card b { color: var(--ink); font-size: 1.05rem; }
.fc-1 { left: -24px; bottom: 40px; }
.fc-2 { right: -10px; top: -18px; }

/* Strip */
.strip { background: var(--navy); color: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; }
.strip-in div { display: flex; flex-direction: column; }
.strip-in b { font-size: 1.02rem; }
.strip-in span { color: #94a3b8; font-size: .9rem; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); font-size: 1.4rem; margin-bottom: 14px; }
.feature p { font-size: .95rem; margin: 0; }

/* Tour */
.tour { background: var(--bg-alt); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tabs button { font: inherit; font-size: .9rem; font-weight: 600; padding: .5em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.tabs button:hover { border-color: var(--brand); color: var(--brand); }
.tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tour-frame { margin: 0 auto; max-width: 1100px; }
.tour-frame img { transition: opacity .25s; }
.tour-frame img.fading { opacity: .2; }
.tour-frame figcaption { text-align: center; color: var(--muted); margin-top: 18px; font-size: 1rem; }

/* Demo */
.demo { background: linear-gradient(160deg, #0b1f2a 0%, #0f3b3a 100%); color: #fff; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #a7c4c2; }
.section-head.light .eyebrow { color: #5eead4; }
.video-wrap { max-width: 1040px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); background: #000; }
.video-wrap video { width: 100%; aspect-ratio: 16 / 10; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-shot img { border-radius: 14px; box-shadow: var(--shadow), 0 0 0 1px rgba(15, 23, 42, .06); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f766e'%3E%3Cpath d='M8 13.2 4.8 10l-1.1 1.1L8 15.4l8.3-8.3-1.1-1.1z'/%3E%3C/svg%3E") center / 14px no-repeat; }

.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sec-grid div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sec-grid p { font-size: .94rem; margin: 0; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.price { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; background: #fff; }
.price.featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -25px rgba(15, 118, 110, .45); transform: translateY(-8px); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.price h3 { font-size: 1.35rem; margin-bottom: .2em; }
.price-sub { color: var(--muted); font-size: .93rem; min-height: 2.8em; }
.amount { display: flex; align-items: flex-start; font-size: 3.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 8px 0 14px; }
.amount .cur { font-size: 1.6rem; margin-top: .3em; margin-right: 2px; }
.amount .per { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; line-height: 1.3; margin: .9em 0 0 10px; }
.amount.custom { font-size: 2.6rem; height: 3.4rem; align-items: center; }
.users { background: var(--brand-soft); color: var(--brand); border-radius: 10px; padding: 8px 12px; margin: 0 0 6px; }
.users b { color: var(--brand); }
.price .checks { flex: 1; margin-bottom: 26px; }
.fine { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 34px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 18px; margin: 0; }

/* Contact */
.contact { background: radial-gradient(900px 400px at 0% 100%, #ccfbf1 0, transparent 60%); }
.contact-points { list-style: none; padding: 0; margin: 20px 0 0; line-height: 2.1; font-weight: 500; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: .7em .85em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.contact-form :is(input, select, textarea):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20, 184, 166, .2); }
.contact-form .invalid { border-color: #ef4444; }
.form-note { margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-note.ok { color: var(--brand); } .form-note.err { color: #dc2626; }

/* Footer */
.footer { background: var(--navy); color: #94a3b8; padding: 36px 0; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer .brand { color: #fff; }
.footer .brand svg { color: var(--brand-2); }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: #cbd5e1; text-decoration: none; font-size: .92rem; }
.footer p { margin: 0 0 0 auto; color: #64748b; font-size: .88rem; }

/* 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) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1000px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-shot .browser { transform: none; }
  .feature-grid, .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; }
  .price.featured { transform: none; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .links, .nav-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 600px) {
  .section { padding: 68px 0; }
  .hero { padding: 44px 0 64px; }
  .feature-grid, .sec-grid, .strip-in, .contact-form .row { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .footer p { margin-left: 0; }
}

/* 404 page */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound .brand { justify-content: center; margin-bottom: 28px; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* Contact form: bot trap (hidden from people) and privacy line */
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { margin: 0; font-size: .82rem; color: var(--muted); }
.contact-form button[disabled] { opacity: .6; cursor: progress; }

/* Legal pages (privacy.html, terms.html) */
.legal-top { border-bottom: 1px solid var(--line); background: #fff; }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.legal li { margin-bottom: .4em; color: var(--ink-2); }
.legal-draft { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; border-radius: 10px; padding: 12px 16px; margin-bottom: 28px; font-size: .92rem; }
.footer .legal-links { display: flex; gap: 16px; }
.footer .legal-links a { color: #94a3b8; font-size: .85rem; }
.legal-top .brand, .legal-top .btn { white-space: nowrap; }
@media (max-width: 600px) { .legal-top .btn { padding: 8px 14px; font-size: .9rem; } }
