:root {
    color-scheme: light;
    --ink: #203344;
    --muted: #5e7182;
    --line: #dbe5ea;
    --blue: #365d8a;
    --paper: #f5f8fa;
    --card: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

a {
    color: var(--blue)
}

a:focus-visible, summary:focus-visible {
    outline: 3px solid #6d9cca;
    outline-offset: 4px
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: auto
}

.skip {
    position: absolute;
    left: -9999px
}

.skip:focus {
    left: 16px;
    top: 12px;
    z-index: 5;
    background: white;
    padding: 8px
}

.header {
    border-bottom: 1px solid var(--line);
    background: #ffffffd9;
    backdrop-filter: blur(16px)
}

.header-inner, .brand, .nav, .footer-inner {
    display: flex;
    align-items: center;
    gap: 24px
}

.header-inner {
    justify-content: space-between;
    min-height: 78px
}

.brand {
    text-decoration: none;
    color: var(--ink);
    font-size: 17px;
    font-weight: 750;
    gap: 11px
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px
}

.nav {
    flex-wrap: wrap;
    gap: 16px
}

.nav a, .footer a {
    text-decoration: none
}

.nav a[aria-current=page] {
    font-weight: 700;
    color: var(--ink)
}

.language summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 14px
}

.language[open] {
    position: relative
}

.language-list {
    position: absolute;
    right: 0;
    top: 30px;
    z-index: 3;
    min-width: 135px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 32px #1a35421c
}

.language-list a {
    display: block;
    padding: 5px 8px;
    text-decoration: none;
    white-space: nowrap
}

.language-list a[aria-current=page] {
    font-weight: 700;
    color: var(--ink)
}

.hero {
    padding: 88px 0 72px;
    background: radial-gradient(circle at 85% 20%, #dcebf5 0, transparent 34%), linear-gradient(145deg, #fff, #eef4f8)
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    font-weight: 800;
    color: var(--blue)
}

h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.09;
    letter-spacing: -.055em;
    margin: 12px 0 18px
}

.lead {
    max-width: 760px;
    font-size: clamp(19px, 2.5vw, 25px);
    line-height: 1.4;
    color: #415c70;
    margin: 0 0 28px
}

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

.button {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 11px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-weight: 650
}

.button.secondary {
    background: white;
    color: var(--ink);
    border: 1px solid var(--line)
}

.section {
    padding: 68px 0
}

.section h2 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.035em;
    line-height: 1.2;
    margin: 0 0 14px
}

.section-intro {
    color: var(--muted);
    max-width: 730px;
    margin: 0 0 30px
}

.cards {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 16px
}

.card, .document, .aside-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 10px 36px #24445c0a
}

.card {
    padding: 25px
}

.card h3 {
    margin: 0 0 8px;
    font-size: 20px
}

.card p {
    margin: 0;
    color: var(--muted)
}

.section.tinted {
    background: #eaf1f6
}

.documents {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.documents a {
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 650
}

.page-head {
    padding: 56px 0 36px
}

.page-head h1 {
    font-size: clamp(34px, 5vw, 54px);
    margin-bottom: 9px
}

.page-head p {
    color: var(--muted);
    margin: 0
}

.legal-layout {
    display: grid;
    grid-template-columns:minmax(0, 1fr) 220px;
    gap: 22px;
    padding-bottom: 72px
}

.document {
    padding: clamp(22px, 4vw, 48px);
    overflow-wrap: anywhere
}

.document h2 {
    font-size: 23px;
    line-height: 1.3;
    margin: 35px 0 12px;
    letter-spacing: -.02em
}

.document h2:first-child {
    margin-top: 0
}

.document p {
    margin: 0 0 17px
}

.document p:last-child {
    margin-bottom: 0
}

.document code {
    background: #edf2f6;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: .9em
}

.aside-card {
    padding: 19px;
    position: sticky;
    top: 20px
}

.aside-card strong {
    display: block;
    margin-bottom: 10px
}

.aside-card a {
    display: block;
    padding: 5px 0;
    text-decoration: none
}

.aside-card a[aria-current=page] {
    font-weight: 700;
    color: var(--ink)
}

.footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px
}

.footer-inner {
    justify-content: space-between;
    flex-wrap: wrap
}

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

@media (max-width: 720px) {
    .header-inner {
        align-items: flex-start;
        padding: 16px 0;
        flex-wrap: wrap
    }

    .nav {
        order: 3;
        width: 100%;
        gap: 12px
    }

    .hero {
        padding: 58px 0
    }

    .cards, .legal-layout {
        grid-template-columns:1fr
    }

    .aside-card {
        position: static
    }

    .section {
        padding: 48px 0
    }
}

/* Product page imagery and layouts */
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); }
.header { position: relative; z-index: 5; }
.hero { overflow: hidden; padding: 0; background: radial-gradient(circle at 76% 35%, #cfe4fa 0, transparent 38%), linear-gradient(135deg, #fbfdff 12%, #eaf2fa 76%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .84fr); align-items: center; gap: 46px; min-height: 710px; }
.hero-copy { position: relative; z-index: 1; padding: 70px 0; }
.hero h1 { font-size: clamp(66px, 8vw, 108px); line-height: .98; letter-spacing: -.07em; }
.title-dot { color: #5a8fc7; }
.lead { max-width: 560px; margin: 0; color: #38536c; font-size: clamp(24px, 2.7vw, 34px); line-height: 1.35; font-weight: 650; letter-spacing: -.035em; text-wrap: wrap; }
.hero-note { margin: 22px 0 32px; color: var(--muted); }
.button { display: inline-flex; gap: 18px; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #244c79; }
.button.secondary:hover { background: #f7fafc; }
.hero-art { position: relative; display: flex; justify-content: center; align-self: end; height: 660px; }
.hero-glow { position: absolute; inset: 12% 0 0; border-radius: 50%; background: #a9c7e6; opacity: .4; filter: blur(58px); }
.hero-art img { position: relative; z-index: 1; width: 312px; height: max-content; border-radius: 20px; box-shadow: 0 28px 75px #2c486a46; }
.section { padding: 88px 0; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section h2 { margin: 11px 0 14px; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; letter-spacing: -.052em; text-wrap: balance; }
.section-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 17px; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.showcase-card { overflow: hidden; min-width: 0; border: 1px solid #dce5ed; border-radius: 26px; background: linear-gradient(145deg, #fff, #eaf2fb); box-shadow: 0 18px 40px #2547660d; }
.showcase-card:nth-child(2) { background: linear-gradient(145deg, #fff, #edf1f5); }
.showcase-copy { min-height: 214px; padding: 33px 35px 18px; }
.card-number { color: #6385a7; font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.showcase-copy h3 { margin: 12px 0 8px; font-size: clamp(25px, 3vw, 33px); line-height: 1.15; letter-spacing: -.045em; }
.showcase-copy p { max-width: 410px; margin: 0; color: var(--muted); font-size: 15px; }
.showcase-image { display: flex; justify-content: center; height: 355px; overflow: hidden; }
.showcase-image img { width: 292px; height: max-content; border-radius: 20px 20px 0 0; box-shadow: 0 14px 35px #2547662c; }
.themes { background: #eaf1f6; }
.theme-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.theme-card { min-width: 0; margin: 0; }
.theme-image { display: flex; justify-content: center; height: 490px; overflow: hidden; padding: 22px 14px 0; border: 1px solid #dce4eb; border-radius: 24px; background: #f9fbfd; }
.theme-card:nth-child(2) .theme-image { background: #f4ece8; }
.theme-card:nth-child(3) .theme-image { background: #e9eef8; }
.theme-card:nth-child(4) .theme-image { background: #e7eef6; }
.theme-image img { width: min(100%, 220px); height: max-content; border-radius: 11px; box-shadow: 0 10px 22px #1d344c30; }
.theme-card figcaption { padding: 12px 5px 0; font-size: 14px; font-weight: 700; }
.pro-note { max-width: 760px; margin: 30px 0 0; color: var(--muted); font-size: 14px; }
.local { background: #20384f; color: #fff; }
.local .eyebrow { color: #9dc2eb; }
.local-grid { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: 65px; }
.local h2 { margin-bottom: 0; }
.local p { margin: 0; color: #d7e5f1; font-size: 18px; }
.contact { background: #fff; }
.contact p { color: var(--muted); }
.documents { margin-top: 24px; }
.eula-callout { margin-bottom: 30px; padding: 20px 22px; border: 1px solid #c8dcef; border-radius: 14px; background: #f0f6fc; }
.eula-callout p { margin-bottom: 7px; }
.eula-callout a { font-weight: 750; }

@media (max-width: 850px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 20px; min-height: 680px; }
    .hero-art { height: 615px; }
    .hero-art img { width: 290px; }
    .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .theme-image { height: 490px; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 32px, 1160px); }
    .header-inner { min-height: 70px; }
    .language { margin-left: auto; }
    .hero-grid { display: flex; flex-direction: column; gap: 0; min-height: 0; }
    .hero-copy { width: 100%; padding: 60px 0 30px; }
    .hero h1 { font-size: clamp(66px, 16vw, 86px); }
    .lead { font-size: clamp(25px, 6vw, 32px); }
    .hero-art { width: 100%; height: 545px; }
    .hero-art img { width: 257px; }
    .section { padding: 68px 0; }
    .showcase-grid, .local-grid, .legal-layout { grid-template-columns: 1fr; }
    .showcase-copy { min-height: 0; padding: 27px 25px 22px; }
    .showcase-image { height: 300px; }
    .showcase-image img { width: 250px; }
    .theme-grid { gap: 12px; }
    .theme-image { height: 340px; padding: 13px 8px 0; border-radius: 17px; }
    .theme-image img { width: min(100%, 155px); }
    .theme-card figcaption { font-size: 12px; }
    .local-grid { gap: 17px; }
    .aside-card { position: static; }
}

@media (max-width: 380px) {
    .theme-image { height: 300px; }
}

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