:root {
  --navy-950: #0b1d33;
  --navy-900: #0f2948;
  --navy-700: #194376;
  --blue-500: #3994ef;
  --blue-600: #127ae3;
  --green-500: #1fa855;
  --green-600: #178a45;
  --ink: #12263f;
  --muted: #5b6b7f;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(15, 41, 72, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy-950); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 2rem; }
.small { font-size: .85rem; color: var(--muted); }

.setup-banner {
  background: #fff4cc; color: #6b4b00; text-align: center; padding: 10px 16px;
  font-size: .92rem; border-bottom: 1px solid #f0d878;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .75em 1.25em; border-radius: 999px; font-weight: 650; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--blue-500); outline-offset: 2px;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 22px rgba(18, 122, 227, .32); }
.btn-primary:hover { background: #0e6bc8; }
.btn-green { background: var(--green-500); color: #fff; }
.btn-green:hover { background: var(--green-600); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-ghost { color: var(--navy-900); background: var(--bg-alt); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand img { height: 56px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; }
.nav-links a:hover { color: var(--blue-600); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-cta .btn { padding: .55em 1.05em; font-size: .92rem; }

/* hero */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, #eef5fd 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--blue-600); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.proof { margin: 0 0 1.2em; color: var(--navy-700); font-size: .98rem; }
.proof strong { color: var(--navy-950); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.ticks li { padding-left: 1.8em; position: relative; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.1em; height: 1.1em; border-radius: 50%;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* screenshot frames */
.shot { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: #eef2f7; border-bottom: 1px solid var(--line); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c9d3df; }
.shot figcaption { padding: 12px 16px; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); }

/* band */
.band { background: var(--navy-950); color: #dbe6f3; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; }
.band-grid strong { display: block; color: #fff; margin-bottom: .2em; }
.band-grid span { font-size: .92rem; color: #b6c6da; }

/* sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 40em; font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2rem; }
.step { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; }
.step p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 700; margin-bottom: 12px; }

/* demo */
.section-dark { background: var(--navy-900); color: #e6eef8; }
.section-dark h1, .section-dark h2 { color: #fff; }
.section-dark .section-lead { color: #b6c6da; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: baseline; border-bottom: 1px solid rgba(255, 255, 255, .15); padding-bottom: 12px; }
.contact-list span { width: 84px; color: #9db3cc; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a { color: #fff; font-size: 1.15rem; font-weight: 650; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: .65em .8em; border: 1px solid #c9d3df; border-radius: 10px; background: #fff; color: var(--ink);
}
.form .btn { width: 100%; }
.form .btn-ghost-light { color: var(--navy-900); border-color: var(--navy-900); }
.form .btn-ghost-light:hover { background: var(--bg-alt); }
.form-note { margin: 0; min-height: 1.3em; font-size: .9rem; }
.form-note.error { color: #b42318; }
.form-note.ok { color: var(--green-600); }

/* footer */
.footer { background: var(--navy-950); color: #b6c6da; padding: 36px 0; }
.footer { padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1fr; gap: 40px; align-items: start; }
.footer img { height: 84px; width: auto; background: #fff; border-radius: 10px; padding: 6px; }
.footer p { margin: 0; }
.footer strong { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 30ch; line-height: 1.6; }
.footer-h { color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px !important; }
.footer-h-gap { margin-top: 24px !important; }
.footer-list, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #b6c6da; text-decoration: none; transition: color .15s ease; }
.footer a:hover, .footer a:focus-visible { color: #fff; }
.footer-contact li { display: grid; gap: 2px; }
.footer-contact span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #7f95b0; }
.footer-contact a { color: #e3ecf7; overflow-wrap: anywhere; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-bottom { margin-top: 44px; padding: 20px 0 24px; border-top: 1px solid rgba(182, 198, 218, .16); font-size: .85rem; color: #7f95b0; }

/* tablet / phone */
@media (max-width: 980px) {
  .hero-grid, .demo-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards, .shots, .steps { grid-template-columns: 1fr 1fr; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .nav-inner { flex-wrap: wrap; row-gap: 0; }
  .nav-links { order: 3; flex: 1 1 100%; margin: 0; gap: 6px; overflow-x: auto; white-space: nowrap; padding: 0 0 8px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 10px 12px; font-size: .92rem; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .cards, .shots, .steps, .band-grid { grid-template-columns: 1fr; }
  .nav-inner { gap: 10px; }
  .brand img { height: 46px; }
  .nav-cta .btn { padding: .5em .85em; font-size: .85rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 980px) and (min-width: 641px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* Nerge Pro Suite products */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2rem; }
.product { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.product p { color: var(--muted); font-size: .95rem; margin: 0 0 .6em; }
.product .product-for { color: var(--blue-600); font-weight: 650; font-size: .9rem; margin-bottom: .5em; }
.product h3 { margin: 12px 0 2px; }
.product .btn { margin-top: auto; align-self: flex-start; }
.product-current { border: 2px solid var(--blue-600); box-shadow: var(--shadow); }
.product-tag { position: absolute; top: -12px; left: 20px; background: var(--blue-600); color: #fff; font-size: .75rem; font-weight: 700; padding: .2em .8em; border-radius: 999px; letter-spacing: .03em; }
.product-icon { width: 48px; height: 48px; border-radius: 12px; background: #e8f1fc; display: grid; place-items: center; }
.product-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 980px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .products { grid-template-columns: 1fr; } }
.product-logo { width: 100%; max-width: 210px; height: auto; margin: 6px auto 10px; display: block; }
.product h3 { margin-top: 4px; }

/* language switcher */
.lang { position: relative; }
.lang-btn { gap: .4em; padding: .55em .9em; font-size: .92rem; }
.lang-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px;
  display: grid; gap: 2px;
}
.lang-menu[hidden] { display: none; }
.lang-item {
  font: inherit; text-align: left; padding: .6em .8em; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lang-item:hover, .lang-item:focus-visible { background: var(--bg-alt); }
.lang-item[aria-checked="true"] { font-weight: 700; color: var(--blue-600); }
.lang-item[aria-checked="true"]::after { content: "✓"; }
@media (max-width: 640px) {
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: .5em .7em; font-size: .82rem; }
  .lang-btn svg { width: 16px; height: 16px; }
}

/* ── enhancements: floating WhatsApp, FAQ, video, quote, doc pages ───────── */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  background: var(--green-500); color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem;
  padding: 13px 20px 13px 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(23, 138, 69, .45);
  transition: transform .12s ease, background .12s ease;
}
.wa-float:hover { background: var(--green-600); transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; padding: 14px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa-float svg { width: 30px; height: 30px; }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.faq-wrap { max-width: 820px; }
.faq { margin-top: 1.6rem; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 650; position: relative; color: var(--navy-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--blue-600); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.faq summary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: var(--radius); }

.video-frame { margin-top: 1.4rem; position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote p { font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.4; color: var(--navy-950); font-weight: 600; margin-bottom: .6em; }
.quote footer { color: var(--muted); }

.footer-links a { color: #b6c6da; }
.footer-links a:hover { color: #fff; }

.doc { max-width: 760px; }
.doc h1 { margin-bottom: .4em; }
.doc h2 { font-size: 1.25rem; margin: 1.8em 0 .4em; }
.doc p { color: var(--muted); }

/* ── property types + comparison table ───────────────────────────────────── */
.types { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.types li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 10px; text-align: center; font-weight: 650; font-size: .95rem; color: var(--navy-950); display: flex; flex-direction: column; align-items: center; gap: 10px; transition: box-shadow .15s ease, transform .15s ease; }
.types li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.type-icon { font-size: 2rem; line-height: 1; }

.table-wrap { margin-top: 2rem; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .96rem; }
.compare thead th { background: var(--navy-900); color: #fff; text-align: left; padding: 16px 18px; font-size: .92rem; }
.compare thead th:nth-child(2) { background: var(--blue-600); text-align: center; }
.compare thead th:nth-child(3) { text-align: center; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--navy-950); padding: 14px 18px; }
.compare td { padding: 14px 18px; text-align: center; }
.compare tbody tr:nth-child(even) { background: var(--bg-alt); }
.compare tbody tr + tr { border-top: 1px solid var(--line); }
.compare td.yes { color: var(--green-600); font-weight: 800; font-size: 1.15rem; }
.compare td.typ { color: #b45309; font-weight: 600; font-size: .9rem; }
.cmp-note { margin-top: 1rem; color: var(--muted); }

@media (max-width: 980px) { .types { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .types { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .compare { min-width: 0; font-size: .86rem; }
  .compare thead th, .compare tbody th, .compare td { padding: 10px 8px; }
}

/* ── why generic software falls short ────────────────────────────────────── */
.why-story { max-width: 52em; color: var(--ink); margin-top: 1rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2rem; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: box-shadow .15s ease, transform .15s ease; }
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-card h3 { margin: 12px 0 6px; }
.why-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.why-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #e8f1fc; fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

/* hero badge */
.badge { display: inline-block; background: #fff4d6; color: #7a5200; border: 1px solid #f1d58b; font-weight: 700; font-size: .88rem; padding: .35em 1em; border-radius: 999px; margin-bottom: 1em; }

/* client reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2rem 0 1.6rem; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 8px 24px rgba(15, 41, 72, .06); }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.review blockquote::before { content: "\201C"; display: block; font-size: 2.6rem; line-height: .6; color: var(--blue-500); margin-bottom: 6px; }
.review figcaption { margin-top: auto; display: grid; gap: 2px; }
.review figcaption strong { color: var(--navy-950); }
.review figcaption span { color: var(--muted); font-size: .9rem; }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

.cmp-note + .cmp-note { margin-top: .35rem; }

/* bolder icons: solid brand tile with a white line icon: readable on small phone screens */
.why-icon { width: 58px; height: 58px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #127ae3 0%, #0f2948 100%); stroke: #fff; stroke-width: 2.2; box-shadow: 0 6px 16px rgba(18, 122, 227, .28); }
.types .why-icon { width: 60px; height: 60px; padding: 15px; }
@media (max-width: 640px) {
  .why-icon { width: 64px; height: 64px; padding: 16px; }
  .types .why-icon { width: 64px; height: 64px; padding: 16px; }
  .why-card { padding: 22px 20px; }
}

/* ── responsive fixes found by the audit ─────────────────────────────────── */
.demo-grid > * { min-width: 0; }                       /* lets grid columns shrink instead of pushing the page wider */
.contact-list li { flex-wrap: wrap; gap: 4px 16px; }
.contact-list a { overflow-wrap: anywhere; }           /* long email addresses wrap on small phones */
.btn { min-height: 44px; }                             /* comfortable thumb-sized tap targets */
.lang-item { min-height: 44px; }
.footer-links a, .nav-links a { display: inline-block; padding: 8px 2px; }
@media (max-width: 380px) {
  .wrap { width: calc(100% - 24px); }
  h1 { font-size: 1.9rem; }
  .contact-list a { font-size: 1.02rem; }
}

/* ═══════════════════════════ VISUAL REFRESH ═══════════════════════════ */
:root { --grad: linear-gradient(135deg, #127ae3 0%, #1fa855 100%); --grad-dark: linear-gradient(120deg, #0b1d33 0%, #0f4a8f 60%, #127ae3 100%); }

/* header */
.nav { transition: box-shadow .25s ease, background .25s ease; }
.nav.scrolled { box-shadow: 0 8px 28px rgba(15, 41, 72, .12); }
.nav-links a { border-radius: 8px; transition: color .15s ease, box-shadow .15s ease; }
.nav-links a.active { color: var(--blue-600); box-shadow: inset 0 -3px 0 var(--blue-600); }

/* buttons */
.btn-primary { background: linear-gradient(135deg, #2a93f5 0%, #0f6ad0 100%); }
.btn-primary:hover { background: linear-gradient(135deg, #1f86ea 0%, #0b5bb8 100%); }
.btn-green { background: linear-gradient(135deg, #25b862 0%, #178a45 100%); }
.btn-green:hover { background: linear-gradient(135deg, #1fa855 0%, #12753a 100%); }
.btn-white { background: #fff; color: var(--navy-900); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.btn-white:hover { background: #eef5fd; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 68px 0 128px;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(18, 122, 227, .24), transparent 62%),
    radial-gradient(700px 440px at -6% 108%, rgba(31, 168, 85, .17), transparent 62%),
    linear-gradient(180deg, #eaf3fe 0%, #f8fbff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15, 41, 72, .09) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%); mask-image: linear-gradient(180deg, #000 0%, transparent 80%); }
.hero .wrap { position: relative; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); }
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lead { font-size: 1.2rem; }
.badge { max-width: 100%; background: linear-gradient(135deg, #fff7dc, #ffeeb8); color: #6b4700; border: 1px solid #f0cf78; box-shadow: 0 6px 18px rgba(212, 162, 78, .25); font-size: .86rem; line-height: 1.35; padding: .5em 1.1em; }
.eyebrow { letter-spacing: .1em; }
.hero-visual { position: relative; }
.shot-hero { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transition: transform .5s ease;
  box-shadow: 0 44px 90px rgba(15, 41, 72, .30), 0 0 0 1px rgba(15, 41, 72, .06); }
.hero-visual:hover .shot-hero { transform: perspective(1600px) rotateY(0) rotateX(0); }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 16px;
  font-weight: 700; font-size: .9rem; color: var(--navy-950); box-shadow: 0 16px 36px rgba(15, 41, 72, .24); animation: floaty 6s ease-in-out infinite; white-space: nowrap; }
.chip-1 { top: -20px; left: -30px; }
.chip-2 { right: -16px; top: 38%; animation-delay: -2s; }
.chip-3 { bottom: -22px; left: 10%; animation-delay: -4s; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(31, 168, 85, .22); flex: none; }
.chip-dot-blue { background: var(--blue-600); box-shadow: 0 0 0 4px rgba(18, 122, 227, .22); }
.chip-dot-gold { background: #e0a526; box-shadow: 0 0 0 4px rgba(224, 165, 38, .25); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* key numbers card, straddling hero and dark band */
.stats { position: relative; z-index: 3; margin: -70px 0 -70px; }
.stats-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 28px 64px rgba(15, 41, 72, .20); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat { position: relative; padding: 28px 18px; text-align: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat b { display: block; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; font-weight: 800; letter-spacing: -1.5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat span { display: block; margin-top: 10px; font-size: .92rem; color: var(--muted); font-weight: 600; line-height: 1.35; }
.band { padding-top: 118px; }

/* section headings and backgrounds */
.section h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); letter-spacing: -.02em; }
.section > .wrap > h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 6px; background: var(--grad); margin-top: 14px; }
.section-lead { font-size: 1.12rem; }
.section-alt { background: linear-gradient(180deg, #f4f8fd 0%, #ecf3fb 100%); }

/* module cards */
.card { position: relative; overflow: hidden; border-radius: 20px; padding: 28px 26px; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 56px; height: 56px; padding: 13px; margin-bottom: 16px; }
.card h3 { margin-top: 0; font-size: 1.15rem; }

/* other cards, steps, shots */
.why-card, .product, .review { border-radius: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 10px 28px rgba(15, 41, 72, .06); }
.num { background: var(--grad); width: 44px; height: 44px; font-size: 1.1rem; box-shadow: 0 8px 18px rgba(18, 122, 227, .3); }
.shots .shot { transition: transform .3s ease, box-shadow .3s ease; }
.shots .shot:hover { transform: translateY(-8px); box-shadow: 0 34px 70px rgba(15, 41, 72, .28); }
.product-current { box-shadow: 0 0 0 4px rgba(18, 122, 227, .12), var(--shadow); }

/* comparison table */
.compare thead th:nth-child(2) { background: var(--grad); }
.compare tbody td:nth-child(2) { background: rgba(18, 122, 227, .06); }
.compare tbody tr:hover { background: #eef5fd; }

/* call-to-action banner */
.cta-banner { background: radial-gradient(620px 320px at 92% 0%, rgba(255, 255, 255, .20), transparent 60%), var(--grad-dark); color: #fff; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta-banner p { margin: 0; color: #d6e6fb; font-size: 1.08rem; max-width: 36em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* dark demo section and footer */
.section-dark { background: radial-gradient(700px 400px at 100% 0%, rgba(18, 122, 227, .35), transparent 60%), #0f2948; }
.footer { background: linear-gradient(180deg, #0b1d33, #08162a); }

/* scroll-reveal (only active when JavaScript adds the classes) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .shot-hero { transform: none; }
  .hero { padding: 48px 0 118px; }
  .chip-1 { left: 10px; top: -18px; }
  .chip-2 { right: 8px; }
  .chip-3 { left: 10px; bottom: -18px; }
}
@media (max-width: 760px) {
  .stats { margin: -56px 0 -56px; }
  .stats-card { grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .stat { padding: 20px 10px; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .band { padding-top: 96px; }
}
@media (max-width: 480px) {
  .chip { font-size: .78rem; padding: 8px 12px; gap: 8px; }
  .chip-2 { top: 30%; }
  .cta-banner { padding: 46px 0; }
  .cta-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .chip { animation: none; }
  .shot-hero, .hero-visual:hover .shot-hero { transform: none; transition: none; }
}

/* headline size tuned so it stays on two lines beside the screenshot */
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }

/* badge: softer corners so a two-line badge on a phone still looks right */
.badge { border-radius: 18px; text-wrap: balance; }

/* ═══════════════════════════ MULTI-PAGE ═══════════════════════════ */
.nav-links a[aria-current="page"] { color: var(--blue-600); box-shadow: inset 0 -3px 0 var(--blue-600); }
@media (max-width: 980px) { .nav-links a[aria-current="page"] { background: var(--bg-alt); box-shadow: none; } }

/* heading block at the top of every inner page */
.page-head { padding: 44px 0 8px; background: linear-gradient(180deg, #eef5fd 0%, #fff 100%); }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 22em; margin-bottom: .4em; }
.page-head .section-lead { margin-bottom: 0; }
.page-head + .section { padding-top: 36px; }

/* clickable cards (home page "explore" row) */
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover h3 { color: var(--blue-600); }
.card-link .more { display: inline-block; margin-top: .9em; font-weight: 700; color: var(--blue-600); }
@media (max-width: 640px) { .page-head { padding: 28px 0 4px; } }
/* hamburger button: phones only */
.nav-toggle { display: none; }
.nav-links .nav-call { display: none; }
@media (max-width: 640px) {
  .nav-inner { min-height: 56px; }
  .brand img { height: 40px; }
  .nav-cta .js-call { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--bg-alt); cursor: pointer; }
  .nav-toggle span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--navy-900); transition: transform .2s ease, opacity .2s ease; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  /* the menu opens as a list under the header bar */
  .nav-links { display: none; overflow: visible; white-space: normal; padding: 6px 0 14px; gap: 2px; margin: 0; }
  .nav.open .nav-links { display: flex; flex-direction: column; }
  .nav-links a { display: block; padding: 14px 14px; font-size: 1.02rem; border-radius: 10px; }
  .nav-links a[aria-current="page"] { background: var(--bg-alt); color: var(--blue-600); box-shadow: none; }
  .nav-links .nav-call { display: block; }
}
