:root {
  --navy: #0f1f3d;
  --navy-2: #1b2f57;
  --accent: #2f6fed;
  --accent-dark: #1f56c6;
  --mint: #e8f1ff;
  --text: #1c2433;
  --muted: #5b6577;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 31, 61, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 14px; }

.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,0.92); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--navy)); color: #fff; font-size: 1rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 10px; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-small { padding: 9px 16px; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mint); }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 500px at 85% -10%, var(--mint), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
.hero-shot { position: relative; margin: 0; }
.browser { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f1f3f7; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd5df; }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: 0.78rem; color: var(--muted); background: #fff; padding: 2px 10px; border-radius: 6px; }
.phone { position: absolute; right: -14px; bottom: -34px; width: 30%; border-radius: 22px; overflow: hidden; border: 6px solid var(--navy); box-shadow: var(--shadow); background: #fff; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.icon { font-size: 1.6rem; margin-bottom: 12px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: var(--accent); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.demo-shot img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

.about { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; }
.about-photo { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--navy)); display: grid; place-items: center; box-shadow: var(--shadow); }
.about-photo span { color: #fff; font-size: 3.4rem; font-weight: 800; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "−"; }
summary::-webkit-details-marker { display: none; }
details p { margin: 12px 0 0; color: var(--muted); }

.contact { background: var(--navy); color: #d9e2f2; }
.contact h2 { color: #fff; }
.contact .lead { color: #b9c6dd; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { background: var(--navy-2); border-radius: 12px; padding: 16px 18px; }
.contact-list span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #8fa3c4; margin-bottom: 2px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); padding: 22px 0; font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--muted); }

/* Legal page */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 30px; }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-inner .btn-small { margin-left: auto; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .hero-shot { margin: 8px 12px 40px 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; text-align: left; }
  .about-photo { width: 130px; height: 130px; }
  .phone { width: 34%; right: -8px; }
}
