:root {
    --ink: #101b33;
    --ink-soft: #566384;
    --muted: #8a94ad;
    --paper: #f5f8ff;
    --surface: #ffffff;
    --line: #e3e9f5;
    --purple: #2563eb;
    --purple-dark: #1d4ed8;
    --violet: #38bdf8;
    --pink: #6d4ae0;
    --orange: #f59e0b;
    --blue: #6cb0ff;
    --shadow: 0 24px 70px rgba(30, 58, 138, 0.12);
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.container {
    margin: 0 auto;
    max-width: var(--max-width);
    width: calc(100% - 48px);
}

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

.skip-link {
    background: var(--surface);
    border-radius: 0 0 10px 10px;
    left: 16px;
    padding: 9px 14px;
    position: fixed;
    top: -60px;
    z-index: 20;
}

.skip-link:focus {
    top: 0;
}

.site-header {
    background: rgba(245, 248, 255, 0.88);
    border-bottom: 1px solid rgba(227, 233, 245, 0.7);
    position: relative;
    z-index: 10;
}

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

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

.brand img {
    border-radius: 11px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.22);
    display: block;
}

.brand span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 27px;
}

.site-nav > a:not(.button) {
    color: var(--ink-soft);
    font-size: 14px;
    text-decoration: none;
    transition: color 180ms ease;
}

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

.language-switcher {
    position: relative;
}

.language-trigger {
    -webkit-appearance: none;
    appearance: none;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 38px 0 13px;
    text-align: start;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
    width: 100%;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
    background: #eef4ff;
    border-color: #b9d2fb;
    color: var(--ink);
}

.language-switcher::after {
    border-bottom: 1px solid currentColor;
    border-right: 1px solid currentColor;
    color: var(--ink-soft);
    content: "";
    height: 5px;
    pointer-events: none;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-65%) rotate(45deg);
    width: 5px;
}

.language-switcher.is-open::after {
    transform: translateY(-35%) rotate(225deg);
}

.language-menu {
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 18px 36px rgba(15, 27, 60, 0.16);
    display: none;
    gap: 2px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 0;
    min-width: 220px;
    padding: 6px;
    position: absolute;
    top: calc(100% + 8px);
    z-index: 20;
}

.language-menu.is-open {
    display: grid;
}

.language-option {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--ink-soft);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 12px;
    justify-content: space-between;
    min-height: 34px;
    padding: 0 10px;
    text-align: start;
    white-space: nowrap;
    width: 100%;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-selected {
    background: #eaf2ff;
    color: var(--ink);
}

.language-option.is-selected {
    font-weight: 650;
}

.language-option.is-selected::after {
    color: var(--purple);
    content: "✓";
    font-size: 14px;
    font-weight: 700;
}

[dir="rtl"] .language-trigger {
    padding-left: 38px;
    padding-right: 13px;
    text-align: right;
}

[dir="rtl"] .language-switcher::after {
    left: 13px;
    right: auto;
}

[dir="rtl"] .language-menu {
    left: auto;
    right: 0;
}

.menu-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    display: none;
    height: 40px;
    padding: 8px;
    width: 40px;
}

.menu-toggle > span:not(.sr-only) {
    background: var(--ink);
    display: block;
    height: 2px;
    margin: 4px 0;
    transition: transform 180ms ease, opacity 180ms ease;
    width: 24px;
}

.button {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 650;
    gap: 9px;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    text-decoration: none;
    transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.button:hover {
    box-shadow: 0 12px 26px rgba(23, 46, 105, 0.18);
    transform: translateY(-2px);
}

.button-small {
    min-height: 40px;
    padding: 0 17px;
}

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

.button-light {
    background: #fff;
    color: var(--ink);
}

.eyebrow {
    align-items: center;
    color: var(--purple-dark);
    display: flex;
    font-size: 11px;
    font-weight: 750;
    gap: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.74);
}

.eyebrow-dot {
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.09);
    display: inline-block;
    height: 6px;
    width: 6px;
}

.hero {
    background: linear-gradient(120deg, #101d3d 0%, #1d3fae 50%, #2563eb 100%);
    color: #fff;
    min-height: 690px;
    overflow: hidden;
    padding: 104px 0 116px;
    position: relative;
}

.hero-glow {
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
    position: absolute;
}

.hero-glow-one {
    background: rgba(53, 214, 240, 0.44);
    height: 460px;
    right: -125px;
    top: -200px;
    width: 460px;
}

.hero-glow-two {
    background: rgba(109, 74, 224, 0.42);
    bottom: -260px;
    height: 560px;
    left: 17%;
    width: 560px;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: 50px;
    grid-template-columns: minmax(0, 0.89fr) minmax(470px, 1.11fr);
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    /* 74px cap: the zh title (7 full-width glyphs ~6.475em) must stay on one
       line inside the ~494px hero-copy grid column. */
    font-size: clamp(52px, 5.8vw, 74px);
    font-weight: 680;
    letter-spacing: -0.075em;
    line-height: 0.99;
    margin: 25px 0 27px;
    max-width: 600px;
    text-wrap: balance;
}

.hero-lede {
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.65;
    max-width: 495px;
}

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

.text-link {
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.text-link-light {
    color: rgba(255, 255, 255, 0.8);
}

.text-link-light:hover {
    color: #fff;
}

.hero-note {
    color: rgba(255, 255, 255, 0.53);
    font-size: 12px;
    margin-top: 69px;
}

.hero-note span {
    color: #8be2ff;
    margin-right: 6px;
}

.hero-visual {
    min-height: 500px;
    position: relative;
}

.visual-orbit {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    height: 590px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-16deg);
    width: 590px;
}

.visual-orbit-one::after,
.visual-orbit-two::after {
    background: #6fd8f2;
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(111, 216, 242, 0.12), 0 0 28px rgba(111, 216, 242, 0.55);
    content: "";
    height: 7px;
    position: absolute;
    right: 8%;
    top: 15%;
    width: 7px;
}

.visual-orbit-two {
    border-color: rgba(255, 255, 255, 0.09);
    height: 470px;
    transform: translate(-50%, -50%) rotate(34deg);
    width: 470px;
}

.visual-orbit-two::after {
    background: #a78bfa;
    bottom: 12%;
    box-shadow: 0 0 0 9px rgba(167, 139, 250, 0.12), 0 0 28px rgba(167, 139, 250, 0.5);
    left: 4%;
    right: auto;
    top: auto;
}

.keyboard-card {
    background: rgba(255, 255, 255, 0.98);
    border: 7px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    box-shadow: 0 35px 85px rgba(6, 14, 40, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.13);
    color: var(--ink);
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(3deg);
    width: min(100%, 525px);
}

.keyboard-bar,
.key-row {
    align-items: center;
    display: flex;
}

.keyboard-bar {
    background: #fff;
    font-size: 10px;
    justify-content: space-between;
    padding: 13px 17px;
}

.keyboard-session {
    align-items: center;
    display: flex;
    font-weight: 700;
    gap: 7px;
}

.status-dot {
    background: #67d79a;
    border-radius: 50%;
    height: 6px;
    width: 6px;
}

.keyboard-actions {
    color: #9aa6bd;
    gap: 13px;
    align-items: center;
    display: flex;
}

.keyboard-actions strong {
    background: var(--purple);
    border-radius: 9px;
    color: #fff;
    font-size: 9px;
    font-weight: 650;
    padding: 6px 10px;
}

.learning-strip {
    background: linear-gradient(150deg, #e8f1ff, #e0f4fc);
    border-bottom: 1px solid #dbe7f8;
    padding: 12px 15px 13px;
}

.strip-sentence {
    align-items: center;
    display: flex;
    font-size: 13px;
    font-weight: 650;
    gap: 8px;
    letter-spacing: -0.02em;
}

.strip-badge {
    background: var(--purple);
    border-radius: 5px;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 5px;
}

.strip-gloss-row {
    display: flex;
    gap: 6px;
    margin-top: 9px;
    overflow: hidden;
}

.gloss-chip {
    background: #fff;
    border: 1px solid #d5e4fa;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 10px;
    padding: 4px 9px;
    white-space: nowrap;
}

.gloss-chip b {
    color: var(--ink);
    font-weight: 650;
    margin-right: 4px;
}

.candidate-row {
    background: #fcfdff;
    border-bottom: 1px solid #edf1f9;
    display: flex;
    gap: 13px;
    overflow: hidden;
    padding: 10px 15px;
}

.candidate-chip {
    color: var(--ink-soft);
    font-size: 14px;
    white-space: nowrap;
}

.candidate-chip.is-active {
    background: #e8f0ff;
    border-radius: 8px;
    color: var(--purple-dark);
    font-weight: 650;
    padding: 2px 9px;
}

.candidate-caret {
    color: var(--purple);
    font-size: 14px;
}

.key-rows {
    background: #e9eef8;
    display: grid;
    gap: 8px;
    padding: 11px 12px 14px;
}

.key-row {
    gap: 7px;
    justify-content: center;
}

.key {
    align-items: center;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 2px 0 rgba(15, 27, 60, 0.16);
    color: var(--ink);
    display: flex;
    flex: 1 1 0;
    font-size: 11px;
    font-weight: 550;
    height: 34px;
    justify-content: center;
}

.key-alt {
    background: #d9e3f4;
    color: var(--ink-soft);
    flex: 0 0 38px;
    font-size: 13px;
}

.key-shift {
    background: var(--purple);
    box-shadow: 0 2px 0 rgba(23, 55, 130, 0.4);
    color: #fff;
}

.key-space {
    flex: 5 1 0;
    font-size: 10px;
    font-weight: 500;
    color: var(--ink-soft);
}

.key-emoji {
    font-size: 14px;
}

.key-return {
    flex: 1.7 1 0;
    font-size: 11px;
}

.floating-chip {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(8, 18, 48, 0.23);
    color: #fff;
    display: flex;
    font-size: 10px;
    gap: 6px;
    padding: 9px 12px;
    position: absolute;
    z-index: 2;
}

.floating-chip span { color: #a9e9ff; }
.floating-chip-top { right: -8px; top: 19%; }
.floating-chip-bottom { bottom: 11%; left: -5px; }
.floating-chip-bottom span { color: #ffd694; }

.section {
    padding: 135px 0;
}

.section-intro {
    background: var(--paper);
}

.section-heading-split {
    align-items: end;
    display: grid;
    gap: 80px;
    grid-template-columns: 1fr 0.75fr;
    margin-bottom: 62px;
}

.section-heading h2,
.local-copy h2,
.download-card h2 {
    font-size: clamp(44px, 5.2vw, 69px);
    font-weight: 650;
    letter-spacing: -0.075em;
    line-height: 0.98;
    margin-top: 18px;
}

.section-heading h2 em,
.local-copy h2 em,
.download-card h2 em {
    color: var(--purple);
    font-style: normal;
}

.section-lede {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.68;
    max-width: 370px;
}

.feature-grid {
    display: grid;
    gap: 17px;
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    min-height: 310px;
    overflow: hidden;
    padding: 29px;
    position: relative;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-card-tall {
    grid-row: span 2;
    min-height: 637px;
}

.feature-card-wide {
    grid-column: span 2;
}

.feature-icon {
    align-items: center;
    border-radius: 13px;
    display: flex;
    font-size: 19px;
    height: 47px;
    justify-content: center;
    margin-bottom: 50px;
    width: 47px;
}

.feature-icon-blue { background: #e7efff; color: #2563eb; }
.feature-icon-cyan { background: #e0f6fd; color: #0891b2; }
.feature-icon-violet { background: #efe9ff; color: #6d4ae0; font-weight: 700; }
.feature-icon-green { background: #e5f6ee; color: #0e9f6e; }

.card-kicker {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.feature-card h3 {
    font-size: 25px;
    letter-spacing: -0.045em;
    line-height: 1.1;
    margin: 12px 0 13px;
}

.feature-card > p:last-of-type {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.66;
    max-width: 330px;
    /* Demo art is anchored to the card bottom; reserve space so longer
       descriptions (e.g. zh) never run into it. */
    padding-bottom: 96px;
}

.mini-candidates {
    bottom: 30px;
    display: grid;
    gap: 7px;
    left: 29px;
    position: absolute;
    right: 29px;
}

.mini-pinyin {
    color: var(--purple);
    font-size: 12px;
    letter-spacing: 0.06em;
}

.mini-candidate-line {
    background: #f4f8ff;
    border: 1px solid #e0eafa;
    border-radius: 10px;
    display: flex;
    gap: 11px;
    padding: 9px 12px;
}

.mini-candidate {
    color: var(--ink-soft);
    font-size: 13px;
    white-space: nowrap;
}

.mini-candidate.is-active {
    color: var(--purple-dark);
    font-weight: 650;
}

.mini-candidate-line.two {
    background: #fff;
    border-color: #cfe0fb;
    margin-left: 18px;
    opacity: 0.85;
}

.mini-gloss {
    bottom: 29px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    left: 29px;
    position: absolute;
    right: 29px;
}

.mini-gloss-chip {
    background: #eef4ff;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 11px;
    padding: 6px 10px;
}

.mini-gloss-chip b {
    color: var(--ink);
    font-weight: 650;
    margin-right: 4px;
}

.mini-sentence {
    background: var(--purple);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 11px;
}

.mini-type {
    bottom: 31px;
    color: #38bdf8;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    letter-spacing: 0.15em;
    line-height: 1;
    position: absolute;
    right: 33px;
    text-align: right;
}

.mini-type strong { color: var(--ink); font-size: 30px; letter-spacing: -0.08em; }
.mini-type small { color: var(--muted); font-size: 13px; letter-spacing: 0; margin-top: 7px; }

.privacy-pill {
    align-items: center;
    background: #f2f6fd;
    border-radius: 999px;
    bottom: 30px;
    display: flex;
    font-size: 12px;
    gap: 8px;
    padding: 8px 11px;
    position: absolute;
    right: 29px;
}

.privacy-pill span:not(.privacy-check) { background: #fff; border-radius: 999px; color: var(--ink-soft); padding: 5px 9px; }
.privacy-check { align-items: center; background: #68cf91; border-radius: 50%; color: #fff; display: flex; height: 25px; justify-content: center; width: 25px; }

.workflow-section {
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    padding: 130px 0 138px;
    position: relative;
}

.workflow-section::before {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.32), transparent 67%);
    content: "";
    height: 700px;
    left: -15%;
    position: absolute;
    top: -40%;
    width: 700px;
}

.section-heading-center {
    text-align: center;
}

.section-heading-center .eyebrow { justify-content: center; }
.section-heading-dark { position: relative; z-index: 1; }
.section-heading-dark h2 em { color: #7dd9f2; }

.workflow-grid {
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.workflow-step {
    border-top: 1px solid rgba(255, 255, 255, 0.21);
    padding-top: 21px;
}

.step-number {
    color: #7dd9f2;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 55px;
}

.step-line {
    background: linear-gradient(90deg, #7dd9f2, rgba(125, 217, 242, 0.05));
    height: 2px;
    margin-bottom: 26px;
    width: 70px;
}

.workflow-step h3 {
    font-size: 25px;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
}

.workflow-step p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.local-section {
    background: #eef4fd;
    padding: 143px 0;
}

.local-grid {
    align-items: center;
    display: grid;
    gap: 95px;
    grid-template-columns: 1fr 0.92fr;
}

.local-copy > p:not(.eyebrow) {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.7;
    margin-top: 31px;
    max-width: 465px;
}

.local-points {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.local-points > div {
    align-items: flex-start;
    display: flex;
    gap: 13px;
}

.local-points > div > span {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--purple);
    display: flex;
    flex: 0 0 auto;
    font-size: 12px;
    height: 23px;
    justify-content: center;
    margin-top: 2px;
    width: 23px;
}

.local-points strong,
.local-points small {
    display: block;
}

.local-points strong { font-size: 14px; }
.local-points small { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }

.local-art {
    min-height: 440px;
    position: relative;
}

.local-ring {
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 50%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-24deg);
}

.local-ring-one { height: 375px; width: 375px; }
.local-ring-two { border-color: rgba(56, 189, 248, 0.35); height: 265px; transform: translate(-50%, -50%) rotate(48deg); width: 265px; }

.local-note-card {
    background: var(--ink);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(23, 44, 96, 0.2);
    color: #fff;
    left: 50%;
    padding: 22px 23px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 230px;
}

.local-note-icon { color: #7dd9f2; display: block; font-size: 24px; margin-bottom: 29px; }
.local-note-card strong, .local-note-card small { display: block; }
.local-note-card strong { font-size: 11px; letter-spacing: 0.14em; }
.local-note-card small { color: rgba(255, 255, 255, 0.58); font-size: 13px; line-height: 1.4; margin-top: 7px; }

.local-icon-card {
    background: #fff;
    border-radius: 20px;
    bottom: 28px;
    box-shadow: 0 18px 34px rgba(30, 58, 138, 0.16);
    padding: 10px;
    position: absolute;
    right: 9%;
    transform: rotate(10deg);
}

.local-icon-card img { border-radius: 12px; display: block; height: 74px; width: 74px; }

.download-section {
    background: linear-gradient(120deg, #1d3fae, #2563eb 55%, #38bdf8);
    color: #fff;
    padding: 87px 0;
}

.download-card {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.download-card h2 { font-size: clamp(42px, 4.8vw, 63px); margin-top: 16px; }
.download-card h2 em { color: #a8e6ff; }
.download-card > div:first-child > p:last-child { color: rgba(255, 255, 255, 0.74); font-size: 16px; margin-top: 24px; }

.download-action { align-items: center; display: flex; flex-direction: column; gap: 13px; }
.download-action small { color: rgba(255, 255, 255, 0.6); font-size: 11px; }

.site-footer {
    background: var(--ink);
    color: #fff;
    padding: 40px 0 25px;
}

.footer-top {
    align-items: center;
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr 1fr 1fr;
}

.brand-footer span { color: #fff; }
.footer-top > p { color: rgba(255, 255, 255, 0.53); font-size: 13px; text-align: center; }
.footer-links { display: flex; gap: 20px; justify-content: flex-end; }
.footer-links a { color: rgba(255, 255, 255, 0.62); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.38);
    display: flex;
    font-size: 11px;
    justify-content: space-between;
    margin-top: 35px;
    padding-top: 18px;
}

@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { margin: 0 auto; max-width: 650px; text-align: center; }
    .hero-copy .eyebrow, .hero-actions { justify-content: center; }
    .hero-lede { margin: 0 auto; }
    .hero-note { margin-top: 38px; }
    .hero-visual { margin: 0 auto; max-width: 620px; width: 100%; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card-tall { grid-row: span 1; min-height: 420px; }
    .feature-card-wide { grid-column: span 2; }
    .local-grid { gap: 35px; grid-template-columns: 1fr 0.8fr; }
}

@media (max-width: 700px) {
    .container { width: calc(100% - 36px); }
    .nav-wrap { flex-wrap: wrap; height: 70px; }
    .menu-toggle { display: block; }
    .site-nav {
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 18px 35px rgba(15, 27, 60, 0.12);
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 8px;
        padding: 8px;
        position: static;
        width: 100%;
    }
    .site-header.menu-open .nav-wrap { height: auto; padding-bottom: 8px; }
    .site-nav.is-open { display: flex; }
    .site-nav > a:not(.button) { padding: 11px 12px; }
    .site-nav .language-switcher { padding: 5px 0; }
    .site-nav .language-menu { min-width: 0; width: 100%; }
    .site-nav .button { margin-top: 5px; }
    .section { padding: 90px 0; }
    .hero { min-height: 0; padding: 77px 0 88px; }
    .hero h1 { font-size: clamp(40px, 13vw, 60px); }
    .hero-lede { font-size: 16px; }
    .hero-visual { min-height: 370px; }
    .visual-orbit { height: 420px; width: 420px; }
    .visual-orbit-two { height: 330px; width: 330px; }
    .keyboard-card { border-width: 5px; border-radius: 22px; }
    .floating-chip { font-size: 9px; padding: 8px 10px; }
    .floating-chip-top { right: -2px; top: 12%; }
    .floating-chip-bottom { bottom: 8%; left: -2px; }
    .section-heading-split { display: block; margin-bottom: 42px; }
    .section-lede { font-size: 16px; margin-top: 28px; }
    .feature-grid { display: block; }
    .feature-card, .feature-card-tall, .feature-card-wide { min-height: 310px; margin-bottom: 14px; }
    .feature-card-tall { min-height: 405px; }
    .workflow-section { padding: 90px 0; }
    .workflow-grid { display: block; margin-top: 58px; }
    .workflow-step { margin-bottom: 42px; }
    .workflow-step:last-child { margin-bottom: 0; }
    .step-number { margin-bottom: 26px; }
    .local-section { padding: 90px 0; }
    .local-grid { display: flex; flex-direction: column; }
    .local-art { min-height: 370px; width: 100%; }
    .local-ring-one { height: 310px; width: 310px; }
    .local-ring-two { height: 220px; width: 220px; }
    .download-section { padding: 72px 0; }
    .download-card { align-items: flex-start; display: block; }
    .download-action { align-items: flex-start; margin-top: 32px; }
    .footer-top { align-items: flex-start; display: flex; flex-direction: column; }
    .footer-top > p { text-align: left; }
    .footer-links { justify-content: flex-start; }
}

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