:root {
    --ink: #111827;
    --navy: #111d2e;
    --blue: #2563eb;
    --cyan: #30d5c8;
    --green: #45b36b;
    --paper: #fbfcff;
    --soft: #eef4ff;
    --muted: #64748b;
    --line: rgba(17, 24, 39, .12);
    --shadow: 0 24px 70px rgba(17, 29, 46, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea {
    font: inherit;
}
button {
    border: 0;
    cursor: pointer;
}
code { font-family: Consolas, "Courier New", monospace; }
body.setup-open {
    overflow: hidden;
}
.site-nav {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    width: min(1160px, calc(100% - 44px));
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan), #9cf5e7);
    color: #06292e;
    font: 800 15px "Manrope", sans-serif;
}
.brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.brand strong {
    font: 800 19px "Manrope", sans-serif;
}
.brand small {
    margin-top: 5px;
    color: rgba(255,255,255,.66);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    gap: 30px;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    font-weight: 700;
}
.nav-links a:hover {
    color: white;
}
.hero {
    min-height: 790px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0b1220;
    color: white;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, black, transparent 78%);
}
.hero::after {
    content: "";
    position: absolute;
    top: 18%;
    right: 7%;
    width: min(440px, 45vw);
    aspect-ratio: 1;
    border: 1px solid rgba(48,213,200,.22);
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(48,213,200,.18), rgba(69,179,107,.08)),
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.06) 18px 19px);
    transform: rotate(7deg);
}
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 30%, rgba(48,213,200,.24), transparent 32%),
        radial-gradient(circle at 88% 72%, rgba(69,179,107,.18), transparent 28%),
        linear-gradient(90deg, rgba(11,18,32,.98) 0%, rgba(11,18,32,.9) 52%, rgba(11,18,32,.62) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    width: min(1160px, calc(100% - 44px));
    margin: 0 auto;
    padding: 142px 0 86px;
}
.eyebrow, .section-kicker {
    display: inline-flex;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 760px;
    margin: 22px 0 22px;
    font: 800 clamp(50px, 6vw, 84px)/.98 "Manrope", sans-serif;
}
.hero p {
    max-width: 640px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 20px;
    line-height: 1.65;
}
.hero-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.primary-button, .secondary-button, .text-button {
    min-height: 54px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
}
.primary-button {
    background: var(--cyan);
    color: #06292e;
    box-shadow: 0 16px 36px rgba(48,213,200,.18);
}
.secondary-link {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.42);
    background: transparent;
    color: white;
    font-weight: 800;
}
.hero-install {
    width: min(660px, 100%);
    margin-top: 48px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
}
.hero-install span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.68);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hero-install code {
    display: block;
    overflow-x: auto;
    color: #d9fffb;
    font-size: 13px;
    line-height: 1.5;
}
.trust-strip {
    width: min(1080px, calc(100% - 44px));
    margin: -48px auto 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow);
}
.trust-strip div {
    min-height: 116px;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
}
.trust-strip div:last-child {
    border-right: 0;
}
.trust-strip strong {
    font: 800 16px "Manrope", sans-serif;
}
.trust-strip span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}
.section {
    width: min(1080px, calc(100% - 44px));
    margin: 0 auto;
    padding: 112px 0;
}
.demo-section {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 62px;
    align-items: center;
}
.section-copy h2,
.section-heading h2,
.pricing-copy h2,
.cta-section h2 {
    margin: 12px 0 0;
    font: 800 clamp(36px, 4.5vw, 56px)/1.08 "Manrope", sans-serif;
}
.section-copy p,
.pricing-copy p,
.cta-section p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}
.text-button {
    margin-top: 28px;
    background: var(--navy);
    color: white;
}
.demo-preview {
    min-height: 430px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.demo-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.demo-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11,18,32,.86), rgba(11,18,32,.08) 70%);
}
.demo-preview div {
    position: relative;
    z-index: 1;
    padding: 34px;
    color: white;
}
.demo-preview span {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.demo-preview strong {
    display: block;
    margin-top: 10px;
    font: 800 32px "Manrope", sans-serif;
}
.demo-preview small {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.76);
    font-size: 14px;
}
.process-section {
    padding: 102px min(44px, 5vw);
    background: var(--navy);
    color: white;
}
.section-heading {
    width: min(1080px, 100%);
    margin: 0 auto;
}
.section-kicker.light {
    color: var(--cyan);
}
.process-grid {
    width: min(1080px, 100%);
    margin: 46px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.process-grid article {
    min-height: 250px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
}
.process-grid span {
    color: var(--cyan);
    font-weight: 800;
}
.process-grid h3 {
    margin: 42px 0 10px;
    font: 800 22px "Manrope", sans-serif;
}
.process-grid p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.65;
}
.pricing-section {
    width: min(1080px, calc(100% - 44px));
    margin: 0 auto;
    padding: 112px 0;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 56px;
    align-items: center;
}
.pricing-panel {
    display: grid;
    gap: 14px;
}
.pricing-panel div {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    box-shadow: 0 12px 28px rgba(17,24,39,.06);
}
.pricing-panel strong {
    display: block;
    font: 800 18px "Manrope", sans-serif;
}
.pricing-panel span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.6;
}
.cta-section {
    width: min(1080px, calc(100% - 44px));
    margin: 0 auto 82px;
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-radius: 14px;
    background: var(--soft);
}
.cta-section h2 {
    max-width: 640px;
}
.cta-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}
.primary-button.dark {
    background: var(--navy);
    color: white;
}
.secondary-button {
    border: 1px solid var(--line);
    background: white;
    color: var(--navy);
}
.setup-modal[hidden] {
    display: none;
}
.setup-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
}
.setup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, .62);
    backdrop-filter: blur(6px);
}
.setup-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 34px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 28px 90px rgba(11,18,32,.28);
}
.setup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--soft);
    color: var(--navy);
    font-size: 26px;
    line-height: 1;
}
.setup-dialog h2 {
    margin: 12px 42px 0 0;
    font: 800 clamp(30px, 4vw, 42px)/1.1 "Manrope", sans-serif;
}
.setup-dialog p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.6;
}
.setup-form {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.setup-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}
.setup-form input,
.setup-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbff;
    color: var(--ink);
    font-size: 15px;
}
.setup-form input {
    min-height: 48px;
    padding: 0 14px;
}
.setup-form textarea {
    resize: vertical;
    min-height: 132px;
    padding: 13px 14px;
    line-height: 1.5;
}
.setup-form input:focus,
.setup-form textarea:focus {
    outline: 3px solid rgba(48,213,200,.2);
    border-color: var(--cyan);
    background: white;
}
.setup-form-wide,
.setup-form-actions {
    grid-column: 1 / -1;
}
.setup-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}
.setup-status {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}
.setup-status.success {
    color: #0f7a48;
    font-weight: 800;
}
.setup-status.error {
    color: #b42318;
    font-weight: 800;
}
footer {
    padding: 42px max(22px, calc((100vw - 1080px) / 2));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    border-top: 1px solid var(--line);
    background: white;
}
.footer-brand {
    color: var(--navy);
}
.footer-brand small {
    color: var(--muted);
}
footer p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}
footer > small {
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .hero {
        min-height: 740px;
    }
    .trust-strip,
    .demo-section,
    .pricing-section,
    .process-grid {
        grid-template-columns: 1fr;
    }
    .trust-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .trust-strip div:last-child {
        border-bottom: 0;
    }
    .process-grid article {
        min-height: auto;
    }
    .process-grid h3 {
        margin-top: 24px;
    }
    .cta-section {
        align-items: flex-start;
        flex-direction: column;
    }
    .setup-form {
        grid-template-columns: 1fr;
    }
    footer {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    footer p {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .site-nav {
        width: calc(100% - 32px);
        padding-top: 16px;
    }
    .nav-cta {
        padding: 10px 12px;
        font-size: 12px;
    }
    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
    .brand strong {
        font-size: 16px;
    }
    .hero {
        min-height: 720px;
    }
    .hero-content {
        width: calc(100% - 32px);
        padding-top: 122px;
    }
    .hero h1 {
        font-size: 43px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-actions,
    .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .hero-install {
        margin-top: 34px;
    }
    .section,
    .pricing-section,
    .cta-section {
        width: calc(100% - 32px);
    }
    .section,
    .pricing-section {
        padding: 84px 0;
    }
    .demo-preview {
        min-height: 360px;
    }
    .process-section {
        padding: 78px 16px;
    }
    .cta-section {
        padding: 30px;
    }
    .setup-dialog {
        padding: 26px 18px;
    }
    .setup-form-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
