:root {
    --ink: #17283d;
    --ink-soft: #31475f;
    --muted: #687c92;
    --blue: #218fc8;
    --blue-dark: #1178b0;
    --cyan: #56d6d1;
    --pale: #f3f8fc;
    --pale-blue: #eaf5fb;
    --line: #d4e4ee;
    --line-strong: #bcd9e9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.76);
    --glass-strong: rgba(255, 255, 255, 0.9);
    --glass-line: rgba(188, 217, 233, 0.78);
    --cyan-glow: 0 0 38px rgba(86, 214, 209, 0.16);
    --shadow: 0 24px 60px rgba(27, 65, 91, 0.1);
    --shadow-small: 0 12px 30px rgba(27, 65, 91, 0.09);
    --radius: 24px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.mobile-device-notice {
    position: fixed;
    z-index: 200;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #c0dbeab3;
    border-radius: 18px 18px 0 0;
    background: rgba(245, 250, 255, .96);
    box-shadow: 0 -6px 30px #17283d0d;
    color: var(--ink);
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    transition: transform 320ms ease, opacity 200ms ease;
}

@supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
    .mobile-device-notice {
        background: rgba(245, 250, 255, .74);
        -webkit-backdrop-filter: blur(18px) saturate(145%);
        backdrop-filter: blur(18px) saturate(145%);
    }
}

.mobile-device-notice-content {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 800px;
    margin-inline: auto;
    padding: 14px 20px;
    padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
}

.mobile-device-notice[hidden] { display: none; }
.mobile-device-notice.is-visible { transform: translateY(0); opacity: 1; }
.mobile-device-notice p { flex: 1; margin: 0; color: inherit; font-size: 13px; line-height: 1.6; }
.mobile-device-notice button {
    flex: 0 0 auto;
    min-width: 56px;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid #bcd9e9;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: #176382;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.mobile-device-notice button:hover { background: white; }
.mobile-device-notice button:focus-visible { outline: 2px solid #56d6d1; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .mobile-device-notice { transition: none; }
}

body.nav-is-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

button,
.button {
    font-weight: 600;
}

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

h1,
h2,
h3 {
    color: var(--ink);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    margin-bottom: 26px;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.55rem);
    margin-bottom: 22px;
}

h3 {
    font-size: 1.22rem;
    margin-bottom: 12px;
}

p {
    color: var(--muted);
}

.container {
    margin-inline: auto;
    max-width: var(--container);
    padding-inline: 24px;
    width: 100%;
}

.section {
    padding-block: 110px;
}

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

.skip-link {
    background: var(--ink);
    color: var(--white);
    left: 16px;
    padding: 10px 16px;
    position: fixed;
    top: -80px;
    z-index: 1000;
}

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

.site-header {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid var(--glass-line);
    box-shadow: 0 8px 30px rgba(28, 71, 98, 0.035);
    position: sticky;
    top: 0;
    z-index: 100;
}

@supports (backdrop-filter: blur(16px)) {
    .site-header {
        -webkit-backdrop-filter: blur(16px) saturate(125%);
        backdrop-filter: blur(16px) saturate(125%);
    }
}

.nav-shell {
    align-items: center;
    display: flex;
    height: 82px;
    justify-content: space-between;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    border-radius: 12px;
    flex: 0 0 auto;
    height: 44px;
    object-fit: contain;
    width: 44px;
}

.brand-copy {
    display: flex;
    line-height: 1.05;
    flex-direction: column;
}

.brand-copy strong {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    margin-top: 4px;
    text-transform: uppercase;
}

.primary-nav {
    align-items: center;
    display: flex;
    gap: 34px;
}

.primary-nav > a:not(.button) {
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    text-decoration: none;
}

.primary-nav > a:not(.button)::after {
    background: var(--blue);
    border-radius: 999px;
    bottom: -10px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%) scaleX(0);
    transition: transform 180ms ease;
    width: 20px;
}

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    height: 44px;
    padding: 10px;
    width: 44px;
}

.nav-toggle > span:not(.sr-only) {
    background: var(--ink);
    border-radius: 999px;
    display: block;
    height: 2px;
    margin: 5px 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.button {
    align-items: center;
    background: linear-gradient(135deg, var(--blue), #2fa5d4);
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(33, 143, 200, 0.2);
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.92rem;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    box-shadow: 0 16px 30px rgba(33, 143, 200, 0.3);
    transform: translateY(-2px);
}

.button:focus-visible,
.primary-nav a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(33, 143, 200, 0.28);
    outline-offset: 3px;
}

.button-small {
    min-height: 42px;
    padding: 9px 19px;
}

.button-full {
    justify-content: space-between;
    width: 100%;
}

.button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.eyebrow {
    color: var(--blue-dark);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow > span {
    background: var(--cyan);
    border-radius: 999px;
    height: 7px;
    margin: 5px 10px 0 0;
    width: 7px;
}

.eyebrow-light {
    color: #bcecf2;
}

.trial-form-card {
    min-width: 0;
}

h1 em {
    color: var(--blue);
    font-style: normal;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 34px;
}

.column {
    border: 2px solid rgba(86, 214, 209, 0.72);
    height: 270px;
    position: absolute;
    transform: skewY(-15deg);
    width: 45px;
}

.site-footer {
    --footer-text-size: 0.8125rem;
    background: #112438;
    color: var(--white);
    padding: 56px 0 26px;
}

.footer-grid {
    display: grid;
    gap: 64px;
    grid-template-columns: 1.4fr 0.65fr 1.1fr;
}

.brand-footer .brand-copy strong,
.footer-grid strong {
    color: var(--white);
}

.brand-footer .brand-logo {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.footer-grid > div:first-child p {
    color: #a6b8c8;
    font-size: var(--footer-text-size);
    line-height: 1.65;
    margin: 18px 0 0;
    max-width: 350px;
}

.footer-links,
.footer-contact {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links strong,
.footer-contact strong {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: #a6b8c8;
    font-size: var(--footer-text-size);
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: #8fa6b9;
    display: flex;
    font-size: var(--footer-text-size);
    justify-content: space-between;
    margin-top: 36px;
    padding-top: 24px;
}

.trial-form-card {
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(5, 28, 44, 0.25);
    overflow: hidden;
    padding: 38px;
    position: relative;
}

.trial-form-card::before {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    content: "";
    height: 4px;
    left: 22px;
    position: absolute;
    right: 22px;
    top: 0;
}

.form-heading {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 22px;
}

.form-heading h3 {
    margin: 3px 0 0;
}

.form-heading small {
    color: var(--blue);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.form-icon {
    align-items: center;
    background: var(--pale-blue);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--blue);
    display: flex;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.form-icon svg {
    fill: none;
    height: 23px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 23px;
}

.form-field {
    margin-bottom: 19px;
}

.form-field label {
    color: var(--ink-soft);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-field label span {
    color: #e05b5b;
}

.form-field input {
    background: #fbfdfe;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    color: var(--ink);
    height: 52px;
    padding: 0 15px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    width: 100%;
}

.form-field input:hover {
    border-color: #9fc9df;
}

.form-field input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(33, 143, 200, 0.08);
    outline: 0;
}

.form-field input::placeholder {
    color: #9aabb8;
}

.form-field > small,
.form-privacy {
    color: #8294a5;
    display: block;
    font-size: 0.66rem;
    margin: 6px 0 0;
}

.trial-form-card .button {
    margin-top: 9px;
}

.form-privacy {
    line-height: 1.45;
    margin-top: 13px;
    text-align: center;
}

.form-alert {
    border: 1px solid;
    border-radius: 12px;
    font-size: 0.78rem;
    margin-bottom: 20px;
    padding: 12px 14px;
}

.form-alert-error {
    background: #fff5f5;
    border-color: #f2bcbc;
    color: #a62a2a;
}

.confirmation-section {
    align-items: center;
    background: linear-gradient(180deg, #f4fafd, #fff);
    display: flex;
    min-height: calc(100svh - 82px);
    padding: 64px 0;
}

.confirmation-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 16px 48px rgba(27, 65, 91, 0.07);
    margin: 0 auto;
    max-width: 780px;
    padding: 44px;
    text-align: center;
}

.confirmation-card h1 {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    text-wrap: balance;
    margin: 12px auto 18px;
    max-width: 620px;
}

.confirmation-card > p {
    margin: 0 auto;
    max-width: 530px;
}

.confirmation-icon {
    background: linear-gradient(150deg, #f5fdf9 12%, #e5f6ee 100%);
    border: 1px solid #cce8dc;
    border-radius: 20px;
    box-shadow: inset 0 1px 1px #fff, 0 6px 18px rgba(22, 127, 97, .1);
    color: #157c60;
    display: grid;
    height: 64px;
    margin: 0 auto 24px;
    place-items: center;
    width: 64px;
}

.confirmation-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.confirmation-next {
    margin: 30px 0 0;
}

.confirmation-next h2 { margin: 0 0 18px; font-size: 1.15rem; font-weight: 600; }
.confirmation-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.confirmation-steps li { padding: 20px 14px; border: 1px solid #e1ebf2; border-radius: 15px; background: #f7fbfd; }
.confirmation-step-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #176382; background: #eaf4fa; border-radius: 12px; margin-bottom: 12px; }
.confirmation-step-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.confirmation-steps h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.4; font-weight: 600; }
.confirmation-steps p { margin: 0; font-size: 1rem; line-height: 1.5; color: #61758a; }

.confirmation-card .hero-actions {
    justify-content: center;
    margin-top: 28px;
}

.confirmation-card > .confirmation-support { margin-top: 22px; font-size: .9rem; }
.confirmation-support button { padding: 0; border: 0; background: transparent; color: #176382; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.confirmation-support button:hover { color: #1178b0; }
.confirmation-support button:focus-visible { outline: 2px solid #218fc8; outline-offset: 4px; }

@media (max-width: 820px) {
    .section {
        padding-block: 82px;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 2;
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(4) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .primary-nav {
        align-items: stretch;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-small);
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        padding: 16px 24px 18px;
        position: absolute;
        right: 0;
        top: 81px;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav > a {
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        user-select: none;
    }

    .primary-nav > a:not(.button) {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 50px;
        border: 1px solid transparent;
        border-radius: 12px;
        padding: 13px 19px;
        text-align: left;
        transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
    }

    .primary-nav > a:not(.button):is(:hover, :focus-visible) {
        background: var(--pale-blue);
        border-color: var(--line);
        color: var(--blue-dark);
    }

    .primary-nav > a:not(.button):active {
        background: #dceff8;
        border-color: #b4d8eb;
        color: var(--blue-dark);
        box-shadow: inset 0 2px 4px #1763820d;
    }

    .primary-nav > a:not(.button):focus-visible {
        outline: 2px solid var(--blue);
        outline-offset: 2px;
    }

    .primary-nav > .button {
        align-self: stretch;
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        min-height: 46px;
        margin-top: 18px;
    }

    .primary-nav > a:not(.button)::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .container {
        padding-inline: 18px;
    }

    .nav-shell {
        height: 72px;
    }

    .brand-logo {
        height: 40px;
        width: 40px;
    }

    .primary-nav {
        top: 71px;
    }

    h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    h2 {
        font-size: 2.15rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .column {
        height: 190px;
    }

    .footer-grid {
        gap: 38px;
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .trial-form-card {
        border-radius: 20px;
        padding: 26px 20px;
    }

    .confirmation-card {
        padding: 32px 22px;
    }

    .confirmation-section { min-height: auto; padding: 40px 0; }
    .confirmation-steps { grid-template-columns: 1fr; }
    .confirmation-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; text-align: left; padding: 18px; }
    .confirmation-step-icon { grid-row: span 2; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
