:root {
    --navy: #0a2239;
    --navy-soft: #153a59;
    --blue: #1268d3;
    --blue-dark: #0b4f9f;
    --cyan: #00a4a7;
    --cyan-soft: #dff6f5;
    --ink: #142435;
    --muted: #5b6b7b;
    --paper: #ffffff;
    --mist: #f3f7fa;
    --mist-blue: #eaf2fa;
    --line: #d7e2eb;
    --code: #071a2a;
    --radius: 8px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    scroll-behavior: auto;
}

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

body,
button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

a {
    color: var(--blue-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--cyan);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

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

h1,
h2,
h3,
h4 {
    color: var(--navy);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

h1 {
    margin-bottom: 26px;
    font-size: clamp(2.75rem, 6vw, 5.7rem);
    font-weight: 780;
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 750;
}

h3 {
    margin-bottom: 13px;
    font-size: 1.35rem;
    font-weight: 720;
}

h4 {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

code,
pre,
.mono,
.eyebrow,
.feature-key,
.version,
.tag {
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: -9999px;
    z-index: 100;
    background: var(--navy);
    color: #ffffff;
    padding: 10px 14px;
}

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

.section-inner,
.header-inner,
.footer-inner {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: static;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.header-inner {
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.brand img {
    width: min(205px, 44vw);
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.25vw, 32px);
}

.site-nav a {
    position: relative;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 760;
    letter-spacing: 0.055em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--blue);
}

.site-nav a[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: -13px;
    left: 0;
    height: 3px;
    background: var(--cyan);
    content: "";
}

.nav-toggle {
    display: none;
    border: 1px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--navy);
    padding: 9px 13px;
    font-size: 0.84rem;
    font-weight: 760;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #70e0de;
}

.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
    line-height: 1.65;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--navy);
    border-radius: var(--radius);
    padding: 10px 19px;
    font-weight: 760;
    text-decoration: none;
}

.button-primary {
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
}

.button-primary:hover {
    border-color: var(--blue-dark);
    background: var(--blue-dark);
    color: #ffffff;
}

.button-secondary {
    background: transparent;
    color: var(--navy);
}

.button-secondary:hover {
    border-color: var(--cyan);
    color: var(--blue-dark);
}

.text-link {
    font-weight: 750;
}

.hero {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(44px, 6vw, 72px);
    align-items: stretch;
    min-height: auto;
    padding: 76px 0;
}

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

.hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.hero-copy .lead {
    max-width: 690px;
}

.accent {
    color: var(--blue);
}

.hero-visual {
    position: relative;
    width: 100%;
    border: 1px solid var(--line);
    border-top: 7px solid var(--cyan);
    border-radius: var(--radius);
    background: var(--mist);
    padding: clamp(18px, 3vw, 34px);
}

.hero-visual::before {
    display: block;
    width: 72px;
    height: 4px;
    margin-bottom: 24px;
    background: var(--blue);
    content: "";
}

.hero-visual img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    background: var(--paper);
}

.hero-caption {
    margin: 16px 0 0;
    color: var(--muted);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.vendor-band {
    border-bottom: 1px solid var(--line);
    background: var(--mist);
}

.vendor-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    min-height: 112px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.vendor-label,
.vendor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--line);
    padding: 18px;
}

.vendor-grid > *:last-child {
    border-right: 0;
}

.vendor-label {
    justify-content: flex-start;
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 740;
    line-height: 1.4;
}

.vendor-item img {
    width: 88px;
    max-height: 55px;
    object-fit: contain;
}

.section {
    padding: 94px 0;
}

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

.section-blue {
    background: var(--mist-blue);
}

.section-dark {
    background: var(--navy);
    color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark .lead {
    color: #ffffff;
}

.section-dark p,
.section-dark li {
    color: #d5e1ea;
}

.section-dark a {
    color: #79e4e1;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 48px;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.content-card {
    background: var(--paper);
    padding: clamp(28px, 4vw, 46px);
}

.content-card p:last-child,
.content-card ul:last-child {
    margin-bottom: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.trust-card {
    display: flex;
    min-height: 154px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    padding: 25px;
    text-align: center;
}

.trust-card strong {
    margin-bottom: 18px;
}

.trust-card img {
    width: 150px;
    max-height: 50px;
    object-fit: contain;
}

.cta-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    border: 1px solid #31516b;
    border-left: 7px solid var(--cyan);
    padding: clamp(30px, 5vw, 54px);
}

.cta-panel h2 {
    margin-bottom: 10px;
}

.cta-panel p {
    margin-bottom: 0;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.language-card {
    background: var(--paper);
    padding: 34px;
}

.language-card img,
.doc-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    object-fit: contain;
}

.language-card p:last-child {
    margin-bottom: 0;
}

.feature-list {
    columns: 2;
    column-gap: 50px;
    padding-left: 22px;
}

.feature-list li {
    break-inside: avoid;
    margin-bottom: 9px;
}

.code-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
    gap: clamp(38px, 7vw, 86px);
    align-items: start;
}

.code-layout > *,
.code-stack,
.code-stack > div,
.config-grid > * {
    min-width: 0;
}

.code-stack {
    display: grid;
    gap: 18px;
}

.code-label {
    margin-bottom: 8px;
    color: var(--cyan-soft);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.78rem;
    font-weight: 700;
}

.code-block {
    overflow-x: auto;
    margin: 0;
    border: 1px solid #24455f;
    border-radius: var(--radius);
    background: var(--code);
    color: #d7e8f4;
    padding: 22px;
    font-size: 0.82rem;
    line-height: 1.6;
    tab-size: 4;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.screenshot-grid img {
    width: 100%;
    border: 1px solid var(--line);
}

.platform-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.tag {
    display: inline-flex;
    border-left: 4px solid var(--cyan);
    background: var(--mist);
    padding: 10px 14px;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 700;
}

.config-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: clamp(48px, 8vw, 100px);
}

.icon-list {
    display: grid;
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.icon-list-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: center;
    background: var(--paper);
    padding: 20px;
}

.icon-list-item img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.icon-list-item strong,
.icon-list-item span {
    display: block;
}

.icon-list-item span {
    color: var(--muted);
    font-size: 0.88rem;
}

.page-hero {
    border-bottom: 1px solid var(--line);
    background: var(--mist);
}

.page-hero .section-inner {
    padding-top: 84px;
    padding-bottom: 78px;
}

.page-hero h1 {
    max-width: 13ch;
    margin-bottom: 18px;
    font-size: clamp(3rem, 6vw, 5.4rem);
}

.page-hero .lead {
    margin-bottom: 0;
}

.feature-table {
    border: 1px solid var(--line);
}

.feature-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
    border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
    border-bottom: 0;
}

.feature-key,
.feature-value {
    padding: 22px 25px;
}

.feature-key {
    background: var(--navy);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 750;
}

.feature-value {
    background: var(--paper);
}

.feature-value p:last-child,
.feature-value ul:last-child {
    margin-bottom: 0;
}

.feature-value ul {
    margin-top: 0;
    padding-left: 21px;
}

.feature-value li + li {
    margin-top: 7px;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.doc-card {
    border: 1px solid var(--line);
    border-top: 5px solid var(--blue);
    background: var(--paper);
    padding: clamp(26px, 4vw, 38px);
}

.doc-card p:last-child {
    margin-bottom: 0;
}

.resource-links {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.resource-links a {
    font-weight: 730;
}

.download-group + .download-group {
    margin-top: 68px;
}

.download-heading {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.download-heading img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.download-heading h2,
.download-heading h3,
.download-heading p {
    margin-bottom: 8px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.download-card {
    background: var(--paper);
    padding: 28px;
}

.download-card h3 {
    display: flex;
    gap: 10px;
    align-items: center;
}

.download-card h3 img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.download-card p:last-child {
    margin-bottom: 0;
}

.artifact {
    display: block;
    margin: 18px 0;
    border-left: 4px solid var(--cyan);
    background: var(--mist);
    padding: 14px 16px;
    color: var(--navy);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-top: 6px solid var(--blue);
    background: var(--paper);
    padding: clamp(26px, 4vw, 38px);
}

.price-card.featured {
    border-top-color: var(--cyan);
}

.price {
    margin: 12px 0 2px;
    color: var(--navy);
    font-size: 2.35rem;
    font-weight: 780;
    line-height: 1;
}

.price-note {
    color: var(--muted);
    font-size: 0.88rem;
}

.price-card .button {
    margin: 24px 0;
}

.price-list {
    display: grid;
    gap: 20px;
    margin: 0;
}

.price-list dt {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-list dd {
    margin: 3px 0 0;
    color: var(--ink);
}

.legal-copy {
    max-width: 850px;
}

.legal-copy p,
.legal-copy li {
    color: var(--muted);
}

.legal-copy ul {
    padding-left: 22px;
}

.legal-copy section + section {
    margin-top: 48px;
}

.security-step {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: clamp(28px, 6vw, 72px);
    padding: 52px 0;
    border-bottom: 1px solid var(--line);
}

.security-step:first-child {
    padding-top: 0;
}

.security-step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.security-number {
    color: var(--cyan);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(40px, 8vw, 94px);
    align-items: start;
}

.contact-card {
    border-top: 6px solid var(--cyan);
    background: var(--mist);
    padding: clamp(28px, 5vw, 48px);
}

.contact-card address {
    margin-bottom: 28px;
    font-size: 1.12rem;
    font-style: normal;
    line-height: 1.75;
}

.contact-method {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding: 17px 0;
}

.contact-method:last-child {
    padding-bottom: 0;
}

.contact-method span {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-method a {
    font-weight: 730;
}

.map-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--mist);
}

.map-frame iframe {
    display: block;
    width: 100%;
    min-height: 450px;
    border: 0;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 760px);
    gap: clamp(42px, 8vw, 96px);
    align-items: start;
}

.privacy-summary {
    border-top: 5px solid var(--cyan);
    background: var(--mist);
    padding: 24px;
}

.privacy-summary strong,
.privacy-summary span {
    display: block;
}

.privacy-summary span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.88rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--mist);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 36px;
    align-items: end;
    padding-top: 40px;
    padding-bottom: 44px;
}

.footer-identity strong,
.footer-identity span {
    display: block;
}

.footer-identity strong {
    color: var(--navy);
}

.footer-identity span,
.copyright {
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.copyright {
    margin-bottom: 0;
    text-align: right;
}

@media (max-width: 1020px) {
    .hero-grid,
    .config-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-visual {
        max-width: 760px;
    }

    .vendor-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .vendor-label {
        grid-column: 1 / -1;
        justify-content: center;
        border-bottom: 1px solid var(--line);
    }

    .download-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 14px;
        min-height: 82px;
        padding: 14px 0;
    }

    .brand {
        flex: 1;
    }

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

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid var(--line);
        background: var(--paper);
    }

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

    .site-nav a {
        border-bottom: 1px solid var(--line);
        padding: 13px 16px;
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .site-nav a[aria-current="page"]::after {
        top: 0;
        right: auto;
        bottom: 0;
        left: 0;
        width: 4px;
        height: auto;
    }

    .two-column,
    .language-grid,
    .pricing-grid,
    .contact-grid,
    .code-layout,
    .privacy-layout {
        grid-template-columns: 1fr;
    }

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

    .feature-list {
        columns: 1;
    }

    .cta-panel {
        grid-template-columns: 1fr;
    }

    .privacy-summary {
        max-width: 360px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .copyright {
        text-align: left;
    }
}

@media (max-width: 650px) {
    .section-inner,
    .header-inner,
    .footer-inner {
        width: min(var(--content-width), calc(100% - 28px));
    }

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

    h2 {
        font-size: clamp(1.9rem, 10vw, 2.8rem);
    }

    .hero-grid {
        gap: 44px;
        padding: 58px 0;
    }

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

    .vendor-item:nth-child(odd) {
        border-right: 0;
    }

    .section {
        padding: 70px 0;
    }

    .page-hero .section-inner {
        padding-top: 62px;
        padding-bottom: 58px;
    }

    .button-row,
    .button {
        width: 100%;
    }

    .trust-grid,
    .doc-grid,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .feature-row,
    .security-step {
        grid-template-columns: 1fr;
    }

    .feature-key {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .security-number {
        font-size: 3rem;
    }

    .contact-method {
        grid-template-columns: 1fr;
        gap: 3px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
