:root {
    --ink: #061a3a;
    --ink-2: #12335e;
    --muted: #61708a;
    --line: #d8e1ef;
    --paper: #ffffff;
    --soft: #f4f8fc;
    --soft-2: #eaf6fb;
    --blue: #0c6ee8;
    --blue-2: #0047c7;
    --cyan: #13c8dc;
    --green: #0d8f71;
    --warm: #f5a524;
    --danger: #b42318;
    --shadow: 0 18px 45px rgba(6, 26, 58, 0.13);
    --radius: 8px;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.shell {
    width: min(var(--shell), calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -44px;
    z-index: 50;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(216, 225, 239, 0.78);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.header-shell {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 800;
    color: var(--ink);
}

.brand-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center;
    background: #fff;
}

.brand-text {
    font-size: 1.25rem;
    line-height: 1;
}
.site-header .header-brand {
    width: 98px;
    height: 58px;
    flex: 0 0 98px;
    gap: 0;
    justify-content: center;
    overflow: hidden;
}

.site-header .brand-logo-crop {
    position: relative;
    display: block;
    width: 98px;
    height: 58px;
    overflow: hidden;
    flex: 0 0 auto;
}

.site-header .brand-logo-image {
    position: absolute;
    left: 50%;
    top: -24px;
    width: 110px;
    height: 110px;
    max-width: none;
    transform: translateX(-50%);
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.site-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    padding: 0 12px;
    color: var(--ink-2);
    font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: var(--soft-2);
    outline: 0;
}

.header-cta,
.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius);
    padding: 0 18px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.header-cta,
.btn.primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    box-shadow: 0 12px 28px rgba(12, 110, 232, 0.22);
}

.btn.secondary {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}

.btn:hover,
.header-cta:hover {
    transform: translateY(-1px);
}

.btn.full {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--ink);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    position: relative;
    min-height: min(680px, calc(100vh - 70px));
    overflow: hidden;
    background: #f8fbff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.92) 42%, rgba(248, 251, 255, 0.48) 100%),
        url('../img/nuvdfe-logo.png');
    background-repeat: no-repeat;
    background-position: right 8vw center;
    background-size: min(560px, 52vw);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--line);
}

.hero-content {
    position: relative;
    min-height: inherit;
    display: flex;
    align-items: center;
    padding: 84px 0 72px;
}

.hero-copy {
    max-width: 650px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-2);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 8vw, 6.4rem);
    line-height: 0.95;
    color: var(--ink);
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.04;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    line-height: 1.2;
}

.hero-lead,
.section-heading p,
.form-hero p {
    color: var(--muted);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-actions.center {
    justify-content: center;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-note span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    padding: 0 12px;
    color: var(--ink-2);
    font-weight: 700;
}

.overview-band {
    background: var(--ink);
    color: #fff;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.overview-grid div {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ink);
    padding: 24px;
}

.overview-grid strong {
    font-size: 1.2rem;
}

.overview-grid span {
    color: #c8d6ee;
}

.section {
    padding: 88px 0;
}

.section-muted {
    background: var(--soft);
}

.section-dark {
    background: var(--ink);
    color: #fff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
    text-align: center;
}

.section-heading.align-left {
    margin: 0;
    text-align: left;
}

.solution-grid,
.pricing-grid {
    display: grid;
    gap: 18px;
}

.solution-grid {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.92fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 20px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    min-height: 580px;
    overflow: hidden;
}

.price-card.plan-muted {
    background: #fff;
    box-shadow: 0 12px 28px rgba(6, 26, 58, 0.06);
}

.price-card.featured {
    min-height: 626px;
    transform: translateY(-12px);
    border: 2px solid rgba(12, 110, 232, 0.72);
    background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
    box-shadow: 0 28px 62px rgba(0, 71, 199, 0.22), 0 0 0 6px rgba(19, 200, 220, 0.11);
}

.price-card.featured::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--cyan), var(--blue), var(--warm));
}

.price-card h3 {
    margin-top: 0;
}

.plan-badge {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(245, 165, 36, 0.18);
    color: #8a5200;
    padding: 0 12px;
    font-weight: 850;
}

.plan-push {
    border-left: 4px solid var(--cyan);
    border-radius: var(--radius);
    background: rgba(19, 200, 220, 0.1);
    color: var(--ink-2) !important;
    padding: 12px 14px;
    font-weight: 780;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 22px 0 8px;
}

.price strong {
    font-size: 2.15rem;
    line-height: 1;
}

.price-card.featured .price strong {
    color: var(--blue-2);
    font-size: 2.45rem;
}

.price span,
.annual-price {
    color: var(--muted);
}

.annual-price {
    margin: 0 0 16px;
    font-size: 0.95rem;
    font-weight: 720;
}

.limit-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding: 11px 0;
}

.feature-list {
    flex: 1;
    min-height: 154px;
    margin: 18px 0 24px;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 28px;
    color: var(--ink-2);
}

.price-card.featured .feature-list li {
    font-weight: 760;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(13, 143, 113, 0.3);
    border-radius: 50%;
    background: rgba(13, 143, 113, 0.11);
}

.feature-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.48em;
    width: 4px;
    height: 8px;
    border: solid var(--green);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.plans-unavailable {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid rgba(180, 35, 24, 0.25);
    border-radius: var(--radius);
    background: #fff7f5;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(6, 26, 58, 0.06);
}

.plans-unavailable p {
    margin-bottom: 0;
    color: var(--muted);
}

.plan-choice.recommended {
    border-color: rgba(12, 110, 232, 0.52);
    box-shadow: 0 12px 30px rgba(0, 71, 199, 0.12);
}

.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.section-dark .eyebrow,
.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.security-items {
    display: grid;
    gap: 14px;
}

.security-items article {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    padding: 22px;
}

.security-items p {
    color: #c8d6ee;
}

.cta-panel {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #ffffff, #eef9fb);
    padding: 34px;
}

.form-hero {
    padding: 76px 0 46px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.form-layout {
    grid-template-columns: 330px minmax(0, 1fr);
}

.form-aside {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.form-aside ol {
    margin: 18px 0 24px;
    padding-left: 20px;
}

.form-aside li + li {
    margin-top: 10px;
}

.aside-note {
    display: grid;
    gap: 4px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    padding: 18px;
}

.aside-note span {
    color: #c8d6ee;
}

.signup-form {
    padding: 26px;
}

.form-block + .form-block {
    margin-top: 28px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.block-heading {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.block-heading > span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--soft-2);
    color: var(--blue-2);
    font-weight: 850;
}

.block-heading h2 {
    margin-bottom: 4px;
    font-size: 1.45rem;
}

.block-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

.plan-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.plan-choice {
    display: grid;
    gap: 7px;
    min-height: 138px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    cursor: pointer;
}

.plan-choice:has(input:checked) {
    border-color: var(--blue);
    background: #f0f7ff;
}

.plan-choice input {
    width: 18px;
    height: 18px;
}

.plan-choice-name {
    font-weight: 850;
}

.plan-choice-price {
    color: var(--blue-2);
    font-weight: 800;
}

.field-grid {
    display: grid;
    gap: 16px;
}

.field-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.field-grid.address {
    grid-template-columns: 0.8fr 1.5fr 0.6fr 1fr;
}

.field-grid.address label:nth-child(5),
.field-grid.address label:nth-child(6) {
    grid-column: span 2;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink-2);
    font-weight: 750;
}

input,
select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cbd7e8;
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    padding: 0 12px;
}

input:focus,
select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(12, 110, 232, 0.12);
    outline: 0;
}

.check-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 12px;
    font-weight: 600;
}

.check-row + .check-row {
    margin-top: 12px;
}

.check-row input {
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin-top: 2px;
}

.check-row a {
    color: var(--blue-2);
    text-decoration: underline;
}

.consent-block .btn {
    margin-top: 22px;
}

.form-disclaimer {
    margin: 14px 0 0;
    text-align: center;
}

.alert {
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 24px;
}

.alert.error {
    border: 1px solid rgba(180, 35, 24, 0.24);
    background: #fff3f0;
    color: var(--danger);
}

.alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.legal-page,
.thanks-section {
    padding: 82px 0;
    background: var(--soft);
}

.legal-content,
.thanks-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
}

.legal-content h1,
.thanks-card h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-content h2 {
    margin-top: 28px;
    font-size: 1.35rem;
}

.receipt-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
    margin: 26px 0;
    padding: 18px;
}

.receipt-box span {
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #f9fbfe;
    padding: 44px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr 0.8fr;
    gap: 28px;
}

.footer-grid h2 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-grid a {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 20px;
    color: var(--muted);
}

@media (max-width: 1000px) {
    .site-nav,
    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        left: 20px;
        right: 20px;
        top: 84px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow);
        padding: 10px;
    }

    body.nav-open .site-nav {
        display: flex;
    }

    .site-nav a {
        justify-content: center;
    }

    .hero-bg {
        background-position: right -120px center;
        background-size: 560px;
    }

    .solution-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-card.featured {
        grid-column: 1 / -1;
        order: -1;
        min-height: auto;
        transform: none;
    }

    .split-section,
    .security-grid,
    .cta-panel,
    .form-layout {
        grid-template-columns: 1fr;
    }

    .form-aside {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 28px, var(--shell));
    }

    .header-shell {
        min-height: 68px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }
    .site-header .header-brand {
        width: 82px;
        height: 48px;
        flex-basis: 82px;
    }

    .site-header .brand-logo-crop {
        width: 82px;
        height: 48px;
    }

    .site-header .brand-logo-image {
        top: -20px;
        width: 92px;
        height: 92px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-bg {
        background-image:
            linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.91) 58%, rgba(248, 251, 255, 0.8) 100%),
            url('../img/nuvdfe-logo.png');
        background-position: center bottom 10px;
        background-size: 420px;
    }

    .hero-content {
        align-items: flex-start;
        padding: 64px 0 220px;
    }

    h1 {
        font-size: clamp(3.6rem, 18vw, 5rem);
    }

    h2 {
        font-size: 2rem;
    }

    .hero-actions,
    .cta-panel .btn {
        width: 100%;
    }

    .btn {
        width: 100%;
        min-height: 50px;
    }

    .overview-grid,
    .solution-grid,
    .pricing-grid,
    .plan-choice-grid,
    .field-grid.two,
    .field-grid.address,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .field-grid.address label:nth-child(5),
    .field-grid.address label:nth-child(6) {
        grid-column: auto;
    }

    .section {
        padding: 62px 0;
    }

    .signup-form,
    .legal-content,
    .thanks-card,
    .cta-panel {
        padding: 22px;
    }

    .block-heading,
    .workflow-item {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: auto;
    }

    .price-card.featured {
        order: -1;
        transform: none;
        box-shadow: 0 20px 44px rgba(0, 71, 199, 0.18);
    }

    .feature-list {
        min-height: 0;
    }

    .receipt-box,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}
