:root {
    --navy-950: #071b2b;
    --navy-900: #102a43;
    --navy-800: #163c5b;
    --blue-700: #0b62a3;
    --blue-600: #1678c2;
    --blue-500: #2b8fd4;
    --sky-100: #eaf5fc;
    --orange-500: #f28b2d;
    --orange-100: #fff2e5;
    --ink: #17324a;
    --muted: #5d7284;
    --line: #dce5eb;
    --surface: #ffffff;
    --surface-soft: #f6f9fb;
    --shadow: 0 18px 45px rgba(16, 42, 67, .10);
    --radius: 18px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}
img, svg { max-width: 100%; }
a { color: var(--blue-700); }
a:hover { color: var(--navy-900); }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 9999;
    background: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.utility-bar { background: var(--navy-950); color: #dceaf3; font-size: .84rem; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-links { display: flex; gap: 18px; }
.utility-bar a { color: #fff; text-decoration: none; }

.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(220,229,235,.85);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy-900); text-decoration: none; }
.brand-mark { width: 48px; height: 48px; }
.brand-mark svg { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .brand-accent { stroke: var(--orange-500); stroke-width: 4; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: clamp(1.05rem, 2vw, 1.42rem); letter-spacing: -.035em; }
.brand-copy strong span, .footer-brand span { color: var(--blue-600); }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
    color: var(--navy-900); text-decoration: none; font-weight: 700; font-size: .9rem;
    padding: 10px 10px; border-radius: 9px;
}
.primary-nav a:hover, .primary-nav a.active { background: var(--sky-100); color: var(--blue-700); }
.primary-nav .nav-cta {
    margin-left: 6px; background: var(--blue-700); color: #fff;
    padding-inline: 16px;
}
.primary-nav .nav-cta:hover, .primary-nav .nav-cta.active { background: var(--navy-900); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--navy-900); margin: 5px; }

.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(43,143,212,.18), transparent 25%),
        radial-gradient(circle at 92% 70%, rgba(242,139,45,.12), transparent 22%),
        linear-gradient(135deg, #f8fbfd 0%, #eef7fc 52%, #fff 100%);
}
.hero-grid {
    min-height: 610px; display: grid; grid-template-columns: 1.03fr .97fr;
    align-items: center; gap: 58px; padding-block: 74px;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--blue-700); font-weight: 800; font-size: .82rem;
    letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 99px; background: var(--orange-500); }
.hero h1, .page-hero h1 {
    margin: 14px 0 20px; color: var(--navy-950);
    font-size: clamp(2.6rem, 5vw, 5rem); line-height: .98; letter-spacing: -.055em;
}
.hero h1 span { color: var(--blue-700); }
.hero-lead { max-width: 650px; color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.25rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 0 20px; border-radius: 11px;
    text-decoration: none; font-weight: 800; border: 1px solid transparent;
}
.btn-primary { background: var(--blue-700); color: #fff; box-shadow: 0 10px 24px rgba(11,98,163,.22); }
.btn-primary:hover { background: var(--navy-900); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy-900); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--blue-500); }

.hero-visual { position: relative; min-height: 440px; }
.device-stage {
    position: absolute; inset: 20px 0 0 25px;
    background: linear-gradient(145deg, #173f5f, #0b2237);
    border-radius: 28px; box-shadow: 0 30px 70px rgba(7,27,43,.25);
    transform: rotate(-2deg);
}
.device-stage::before {
    content: ""; position: absolute; inset: 13px; border-radius: 20px;
    background: linear-gradient(135deg, #f9fcfe 0 58%, #e9f5fc 58%);
}
.mock-browser {
    position: absolute; width: 82%; height: 72%; left: 3%; top: 8%;
    border: 9px solid #fff; border-radius: 17px;
    background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.mock-top { height: 31px; background: #edf2f6; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.mock-top i { width: 7px; height: 7px; border-radius: 50%; background: #afbdc8; }
.mock-site { height: calc(100% - 31px); background: #fff; }
.mock-site-header { height: 17%; background: var(--navy-900); }
.mock-site-hero { height: 48%; display: grid; grid-template-columns: 1fr .85fr; gap: 8px; padding: 20px; background: #f3f9fd; }
.mock-lines span { display: block; height: 7px; margin: 8px 0; border-radius: 99px; background: #c8dbe8; }
.mock-lines span:first-child { height: 16px; width: 86%; background: var(--navy-900); }
.mock-lines span:last-child { width: 55%; background: var(--orange-500); }
.mock-picture { border-radius: 12px; background: linear-gradient(145deg, var(--blue-600), #74bcea); }
.mock-cards { height: 35%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 20px 20px; }
.mock-cards span { border-radius: 9px; background: #eef3f6; border: 1px solid #e2e9ee; }
.mock-phone {
    position: absolute; width: 32%; height: 67%; right: 0; bottom: 0;
    border: 9px solid var(--navy-950); border-radius: 28px;
    background: #fff; box-shadow: 0 25px 50px rgba(7,27,43,.24); overflow: hidden;
}
.mock-phone::before { content: ""; position: absolute; width: 38%; height: 6px; top: 8px; left: 31%; border-radius: 99px; background: var(--navy-950); z-index: 2; }
.phone-screen { height: 100%; padding: 30px 13px 13px; background: linear-gradient(#f8fbfd, #fff); }
.phone-screen b { display: block; height: 45px; border-radius: 9px; background: var(--blue-700); margin-bottom: 12px; }
.phone-screen i { display: block; height: 7px; border-radius: 9px; background: #d6e3ec; margin: 7px; }
.phone-screen em { display: block; height: 92px; border-radius: 12px; margin-top: 15px; background: var(--sky-100); }
.hero-badge {
    position: absolute; right: 4%; top: 2%; z-index: 2;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 12px 16px; box-shadow: var(--shadow); font-weight: 800;
}
.hero-badge span { display: block; color: var(--orange-500); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

.section { padding-block: 84px; }
.section-soft { background: var(--surface-soft); }
.section-dark { background: var(--navy-950); color: #e9f3f8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.section-heading h2 {
    color: var(--navy-950); margin: 8px 0 12px;
    font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.04em;
}
.section-heading p { color: var(--muted); font-size: 1.08rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; box-shadow: 0 7px 26px rgba(16,42,67,.05);
}
.card h3 { margin: 15px 0 9px; color: var(--navy-900); font-size: 1.25rem; }
.card p { color: var(--muted); margin: 0; }
.icon-box {
    width: 50px; height: 50px; display: grid; place-items: center;
    border-radius: 13px; background: var(--sky-100); color: var(--blue-700); font-size: 1.45rem;
}
.icon-box.orange { background: var(--orange-100); color: #c96a16; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.callout {
    padding: 24px; border-radius: var(--radius); background: var(--sky-100);
    border-left: 4px solid var(--blue-600);
}
.callout.warning { background: #fff8ee; border-left-color: var(--orange-500); }
.callout h3 { margin-top: 0; }

.story-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.story-panel { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: #fff; }
.story-panel.old { opacity: .83; }
.story-panel.new { box-shadow: var(--shadow); border-top: 4px solid var(--blue-600); }
.story-label { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 800; }

.page-hero { padding-block: 72px 58px; background: linear-gradient(135deg, #f6fafc, #eaf5fc); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.35rem, 4.8vw, 4.3rem); }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.breadcrumbs { color: var(--muted); font-size: .86rem; }
.breadcrumbs a { text-decoration: none; }

.content-wrap { max-width: 920px; }
.content-wrap h2 { margin-top: 42px; color: var(--navy-950); font-size: 2rem; letter-spacing: -.03em; }
.content-wrap h3 { margin-top: 30px; color: var(--navy-900); }
.content-wrap p, .content-wrap li { color: #415d72; }
.content-wrap hr { border: 0; border-top: 1px solid var(--line); margin: 42px 0; }

.feature-list { display: grid; gap: 17px; }
.feature-row {
    display: grid; grid-template-columns: 55px 1fr; gap: 17px;
    padding: 22px 0; border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row h2, .feature-row h3 { margin: 0 0 5px; font-size: 1.25rem; }
.feature-row p { margin: 0; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--blue-600); }
.price-card .price { font-size: 2.2rem; line-height: 1; color: var(--navy-950); font-weight: 900; letter-spacing: -.04em; }
.price-card .price small { display: block; margin-top: 8px; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.price-card ul { padding-left: 20px; color: var(--muted); }
.price-card .btn { margin-top: auto; }

.notice {
    border: 1px solid #f0d7ae; background: #fffaf2; border-radius: 14px;
    padding: 18px 20px; color: #755322;
}
.notice strong { color: #5b3f19; }

.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-item details { padding: 0; }
.faq-item summary { cursor: pointer; padding: 20px 22px; font-weight: 800; color: var(--navy-900); }
.faq-answer { padding: 0 22px 22px; color: var(--muted); }
.faq-answer p:first-child { margin-top: 0; }

.image-demo { display: grid; grid-template-columns: 1fr 70px 1fr; gap: 24px; align-items: center; }
.demo-image {
    min-height: 280px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; position: relative;
}
.demo-image.before { background: linear-gradient(135deg, #93c58f, #ded0a1); }
.demo-image.after { background: linear-gradient(145deg, #f8fbfd, #eaf5fc); border: 1px solid var(--line); }
.demo-object {
    width: 150px; height: 170px; border-radius: 65% 35% 58% 42% / 40% 50% 50% 60%;
    background: linear-gradient(145deg, #0b62a3, #46a2db); box-shadow: 0 20px 28px rgba(7,27,43,.18);
}
.demo-arrow { font-size: 2.2rem; color: var(--orange-500); text-align: center; font-weight: 900; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.contact-card { padding: 26px; border-radius: var(--radius); background: var(--navy-900); color: #fff; }
.contact-card h2 { margin-top: 0; color: #fff; }
.contact-card a { color: #fff; }
.contact-card .contact-line { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-card .contact-line:last-child { border-bottom: 0; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; color: var(--navy-900); font-size: .9rem; }
.field input, .field textarea, .field select {
    width: 100%; border: 1px solid #cbd8e1; border-radius: 10px;
    padding: 12px 13px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: 3px solid rgba(43,143,212,.14); border-color: var(--blue-600);
}
.field textarea { min-height: 150px; resize: vertical; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.alert { padding: 13px 16px; border-radius: 10px; margin-bottom: 18px; }
.alert.success { background: #e9f8ef; color: #1f653b; border: 1px solid #bfe5cc; }
.alert.error { background: #fff0f0; color: #8a3030; border: 1px solid #edc5c5; }

.archive-nav {
    position: sticky; top: 130px; padding: 20px; border: 1px solid var(--line);
    border-radius: 14px; background: #fff;
}
.archive-grid { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 38px; align-items: start; }
.archive-nav a { display: block; padding: 7px 0; text-decoration: none; font-size: .9rem; }
.codebox {
    overflow-x: auto; background: #0b1d2a; color: #dceaf3; border-radius: 12px;
    padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem;
}

.cta-band { background: linear-gradient(110deg, var(--navy-900), var(--blue-700)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 42px; }
.cta-inner h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.cta-inner p { margin: 0; color: #dbeaf3; }
.cta-inner .btn { background: #fff; color: var(--navy-900); white-space: nowrap; }

.site-footer { background: var(--navy-950); color: #bcd0dc; padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 35px; }
.footer-grid h2 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid a { display: block; color: #d7e5ed; text-decoration: none; margin: 8px 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand { color: #fff !important; font-size: 1.35rem; font-weight: 900; letter-spacing: -.03em; }
.footer-tagline { color: var(--orange-500); font-weight: 800; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 20px;
    margin-top: 45px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.11); font-size: .82rem;
}

@media (max-width: 960px) {
    .menu-toggle { display: block; }
    .primary-nav {
        display: none; position: absolute; left: 20px; right: 20px; top: 104px;
        flex-direction: column; align-items: stretch; padding: 14px;
        background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    }
    .primary-nav.open { display: flex; }
    .primary-nav a { padding: 11px 13px; }
    .primary-nav .nav-cta { margin-left: 0; text-align: center; }
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .hero-grid { padding-block: 56px; }
    .hero-visual { min-height: 400px; max-width: 650px; width: 100%; margin-inline: auto; }
    .card-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / -1; }
    .archive-grid { grid-template-columns: 1fr; }
    .archive-nav { position: static; }
}
@media (max-width: 700px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .utility-inner > span { display: none; }
    .utility-inner { justify-content: flex-end; }
    .nav-wrap { min-height: 72px; }
    .primary-nav { top: 94px; left: 14px; right: 14px; }
    .brand-mark { width: 40px; height: 40px; }
    .brand-copy small { display: none; }
    .hero-grid { min-height: auto; gap: 20px; }
    .hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
    .hero-visual { min-height: 330px; }
    .device-stage { inset: 20px 3px 0 10px; }
    .hero-badge { right: 1%; font-size: .8rem; }
    .section { padding-block: 60px; }
    .card-grid, .price-grid, .story-panels { grid-template-columns: 1fr; }
    .image-demo { grid-template-columns: 1fr; }
    .demo-arrow { transform: rotate(90deg); }
    .form-grid { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 430px) {
    .utility-links { width: 100%; justify-content: space-between; gap: 8px; }
    .brand-copy strong { font-size: 1.03rem; }
    .hero-visual { min-height: 280px; }
    .hero-badge { display: none; }
    .mock-browser { width: 88%; }
    .mock-phone { width: 36%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div { grid-column: auto !important; }
}
