:root {
    --bg: #0b0c11;
    --bg-2: #0f1016;
    --panel: #13151b;
    --panel-2: #16181f;
    --border: rgba(255, 255, 255, 0.07);
    --text: #eef1f4;
    --muted: #a2a9b6;
    --accent: #42b6a0;
    --accent-2: #2c9c88;
    --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.32);
    --shadow-md: 0 16px 44px rgba(0, 0, 0, 0.5);
    --shadow-focus: 0 0 0 3px rgba(66, 182, 160, 0.24), 0 0 0 1px rgba(66, 182, 160, 0.55);
    --shadow: var(--shadow-md);
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 14px;
    --radius: var(--radius-sm);
    --font-ui: 'Roboto', 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Roboto', 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --font-code: 'Roboto Mono', monospace;
    --text-xs: 0.8rem;
    --text-sm: 0.9rem;
    --text-md: 1rem;
    --text-lg: 1.06rem;
    --text-xl: 1.24rem;
    --heading-1: clamp(2.45rem, 4.3vw, 3.55rem);
    --heading-2: clamp(1.95rem, 3.1vw, 2.7rem);
    --heading-3: 1.15rem;
    --lh-tight: 1.12;
    --lh-heading: 1.24;
    --lh-body: 1.62;
    --tracking-tight: -0.02em;
    --tracking-wide: 0.07em;
    --dur-fast: 160ms;
    --dur-mid: 240ms;
    --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 72px;
    --lift-ui: -1px;
    --lift-card: -2px;
    --section-content-max: 1120px;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background:
        radial-gradient(160% 120% at 15% 10%, rgba(22, 241, 138, 0.06), transparent 28%),
        radial-gradient(140% 100% at 85% 0%, rgba(22, 241, 138, 0.04), transparent 25%),
        linear-gradient(180deg, var(--bg-2), var(--bg));
    background-color: var(--bg);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-ui);
    font-size: var(--text-md);
    background:
        radial-gradient(140% 120% at 15% 10%, rgba(66, 182, 160, 0.04), transparent 28%),
        radial-gradient(120% 90% at 85% 0%, rgba(66, 182, 160, 0.03), transparent 25%),
        linear-gradient(180deg, var(--bg-2), var(--bg));
    background-color: var(--bg);
    color: var(--text);
    line-height: var(--lh-body);
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-display);
    line-height: var(--lh-heading);
    letter-spacing: var(--tracking-tight);
}

p,
li {
    font-size: var(--text-md);
    line-height: var(--lh-body);
}

html.demo-active-mode,
body.demo-active-mode {
    overflow: hidden;
    height: 100%;
}

.demo-active-mode .site-header {
    display: none;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top var(--dur-fast) var(--ease-standard);
}

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

:where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid transparent;
    box-shadow: var(--shadow-focus);
}

.button:focus-visible,
.lang-toggle:focus-visible,
.footer-link:focus-visible,
.scroll-top:focus-visible {
    box-shadow: var(--shadow-focus), var(--shadow-sm);
}

.lang-option:focus-visible,
.nav-links a:focus-visible {
    box-shadow: var(--shadow-focus);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
    z-index: 1000;
    overscroll-behavior: none;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}

.logo-text strong {
    font-size: 1rem;
}

.logo-text span {
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 600;
    color: #d7deeb;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--dur-mid) var(--ease-standard),
        background var(--dur-mid) var(--ease-standard),
        transform var(--dur-fast) var(--ease-standard);
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(66, 182, 160, 0.12);
    transform: translateY(-1px);
}

.lang-switcher {
    position: relative;
    margin-left: 10px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px 5px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: border-color var(--dur-fast) var(--ease-standard),
        background var(--dur-fast) var(--ease-standard),
        color var(--dur-fast) var(--ease-standard);
}

.lang-toggle:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
}

.lang-toggle[aria-expanded="true"] {
    color: var(--accent);
    border-color: rgba(66, 182, 160, 0.3);
    background: rgba(66, 182, 160, 0.08);
}

.lang-globe {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.lang-current {
    line-height: 1;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 150px;
    padding: 4px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.97);
    transition: opacity var(--dur-fast) var(--ease-standard),
        transform var(--dur-fast) var(--ease-standard),
        visibility var(--dur-fast) var(--ease-standard);
    z-index: 1000;
}

.lang-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: background var(--dur-fast) var(--ease-standard),
        color var(--dur-fast) var(--ease-standard);
    transform: none !important;
}

.lang-option:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.lang-option.lang-active {
    color: var(--accent);
    background: rgba(66, 182, 160, 0.1);
}

.lang-option.lang-active::after {
    content: '✓';
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--accent);
}

.lang-code {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--muted);
    min-width: 22px;
}

.lang-option.lang-active .lang-code {
    color: var(--accent);
}

main {
    padding-top: var(--header-h);
}

.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 90px;
    background: radial-gradient(165% 145% at 52% 18%, rgba(66, 182, 160, 0.032), transparent 42%),
        linear-gradient(180deg, #0f1016, #0b0c11 70%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.018), transparent 42%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.024), transparent 60%);
    opacity: 0.8;
    z-index: 0;
}

.hero.demo-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 0;
    margin: 0;
    z-index: 900;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 0.9fr);
    gap: 32px;
    max-width: 1200px;
    width: 100%;
    transition: opacity 0.5s ease;
}

.hero.demo-active .hero-grid {
    pointer-events: none;
}

.hero-copy h1 {
    font-size: var(--heading-1);
    margin: 12px 0 14px;
    letter-spacing: var(--tracking-tight);
    line-height: var(--lh-tight);
    max-width: 20ch;
    text-wrap: balance;
}

.gradient-text {
    background: linear-gradient(135deg, #46e0ca 0%, #42b6a0 40%, #8be0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-copy p {
    color: var(--muted);
    font-size: var(--text-lg);
    margin-bottom: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    background: rgba(66, 182, 160, 0.12);
    color: #d7f0e9;
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    font-size: var(--text-xs);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.pill {
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 600;
    font-size: var(--text-sm);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
    margin-bottom: 16px;
    align-items: center;
}

.hero-actions .button {
    width: auto;
    flex: 1 1 250px;
    max-width: 300px;
    border-radius: var(--radius-sm);
    min-height: 48px;
    padding: 10px 18px;
    font-size: 1.03rem;
    font-weight: 700;
    letter-spacing: 0.012em;
    white-space: nowrap;
}

.hero-actions .button .button-icon {
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.9;
}

.hero-actions .button .button-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-actions .button.primary {
    position: relative;
    justify-content: center;
    padding-left: 18px;
    padding-right: 42px;
}

.hero-actions .button.primary .button-leading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-actions .button.primary .button-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(7, 16, 21, 0.14);
    box-shadow: inset 0 0 0 0.75px rgba(7, 16, 21, 0.01);
    opacity: 1;
}

.hero-actions .button.primary .button-trailing {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transform: translateY(-50%);
    transition: transform var(--dur-fast) var(--ease-standard),
        opacity var(--dur-fast) var(--ease-standard);
}

.hero-actions .button.primary .button-trailing svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-actions .button.primary:hover .button-trailing {
    transform: translateY(-50%) translateX(2px);
    opacity: 1;
}

.hero-actions .button.ghost.ea-cta .button-icon {
    width: 20px;
    height: 20px;
    opacity: 0.88;
}

.hero-actions .button.ghost.ea-cta {
    position: relative;
    padding-right: 42px;
}

.hero-actions .button.ghost.ea-cta::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235bcbb7' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
    background-size: 15px 15px;
    background-repeat: no-repeat;
    opacity: 0.76;
    transform: translateY(-50%) translateX(0);
    transition: transform var(--dur-fast) var(--ease-standard),
        opacity var(--dur-fast) var(--ease-standard);
}

.hero-actions .button.ghost.ea-cta:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform var(--dur-fast) var(--ease-standard),
        box-shadow var(--dur-mid) var(--ease-standard),
        background var(--dur-mid) var(--ease-standard),
        color var(--dur-mid) var(--ease-standard),
        border-color var(--dur-mid) var(--ease-standard);
}

.button.primary {
    background: linear-gradient(130deg, #46e0ca, #2da390);
    color: #071015;
    border-color: rgba(110, 235, 214, 0.4);
    box-shadow: 0 5px 14px rgba(70, 224, 202, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button.ghost {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    color: var(--text);
}

.button.ghost.ea-cta {
    border-color: rgba(66, 182, 160, 0.28);
    background: linear-gradient(180deg, rgba(66, 182, 160, 0.07), rgba(66, 182, 160, 0.025));
    color: rgba(106, 221, 201, 0.9);
}

.button:hover {
    transform: translateY(var(--lift-ui));
    box-shadow: var(--shadow-sm);
}

.button:active {
    transform: translateY(0);
}

.button:disabled,
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.64;
    transform: none;
    box-shadow: none;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.metric-card {
    padding: 15px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014));
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: var(--radius-lg);
    transition: border-color var(--dur-mid) var(--ease-standard),
        background var(--dur-mid) var(--ease-standard),
        transform var(--dur-mid) var(--ease-standard);
}

.metric-card:hover {
    border-color: rgba(66, 182, 160, 0.24);
    background: linear-gradient(180deg, rgba(66, 182, 160, 0.06), rgba(66, 182, 160, 0.02));
    transform: translateY(var(--lift-card));
}

.metric-label {
    color: #b6bdc9;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.032em;
    margin-bottom: 6px;
}

.metric-value {
    font-size: clamp(1.16rem, 1.07rem + 0.2vw, 1.32rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    text-wrap: balance;
}

.metric-sub {
    color: #b1b8c4;
    font-size: var(--text-sm);
    line-height: 1.5;
}

.hero-panel {
    background: linear-gradient(160deg, rgba(14, 19, 28, 0.95), rgba(12, 18, 27, 0.8));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.panel-header,
.panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.panel-footer {
    border-top: 1px solid var(--border);
    border-bottom: none;
    color: var(--muted);
    font-size: 0.9rem;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.adapter-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 260px;
}

.adapter-card {
    width: 100%;
    background: linear-gradient(145deg, rgba(10, 16, 24, 0.9), rgba(14, 21, 32, 0.82));
    border: 1px solid rgba(66, 182, 160, 0.22);
    border-radius: var(--radius-lg);
    padding: 12px 12px 10px;
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.adapter-summary {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.adapter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--text-sm);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.2px;
}

.adapter-badge.positive {
    background: rgba(66, 182, 160, 0.14);
    color: var(--accent);
    border-color: rgba(66, 182, 160, 0.45);
}

.adapter-badge.warn {
    background: rgba(244, 192, 96, 0.16);
    color: #f4c060;
    border-color: rgba(244, 192, 96, 0.5);
}

.adapter-badge.negative {
    background: rgba(255, 94, 94, 0.16);
    color: #ff8a8a;
    border-color: rgba(255, 94, 94, 0.5);
}

.adapter-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}

.adapter-row {
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 6px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: linear-gradient(140deg, rgba(66, 182, 160, 0.08), rgba(6, 9, 14, 0.82));
    border: 1px solid rgba(66, 182, 160, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.24);
}

.adapter-label {
    color: var(--muted);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: var(--text-xs);
}

.adapter-value {
    color: var(--text);
    word-break: break-word;
    font-weight: 600;
}

.panel-title {
    font-weight: 700;
}

.panel-subtitle {
    color: var(--muted);
    font-size: var(--text-sm);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(43, 226, 194, 0.14);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    isolation: isolate;
}

.chip {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(66, 182, 160, 0.12);
    color: var(--accent);
    font-weight: 700;
    border: 1px solid rgba(66, 182, 160, 0.35);
}

.status-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.18;
    transform: scale(1);
    animation: statusPulse 2.2s ease-in-out infinite;
    z-index: -1;
}

@keyframes statusPulse {
    0% {
        opacity: 0.18;
        transform: scale(1);
    }
    50% {
        opacity: 0.05;
        transform: scale(1.4);
    }
    100% {
        opacity: 0.18;
        transform: scale(1);
    }
}

.panel-body {
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.0));
}

.panel-graph {
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(6, 9, 14, 0.94), rgba(6, 9, 14, 0.82), rgba(6, 9, 14, 0.94));
    padding: 18px;
    overflow: hidden;
    min-height: 320px;
}

.preview-embed {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    z-index: 0;
}

.preview-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    inset: 0;
}

.preview-embed .is-preview {
    filter: saturate(1.05) brightness(1.05);
    opacity: 1.0;
    pointer-events: none;
    transform: scale(1.02);
    transform-origin: center;
}

.panel-graph::before {
    content: "";
    display: none;
}

.panel-graph::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 9, 14, 0.68), rgba(6, 9, 14, 0.36));
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
}

.hero.demo-active .panel-graph {
    background: transparent;
    border-color: transparent;
}

.hero.demo-active .panel-graph::after {
    content: none;
}

.hero.demo-active .preview-embed {
    z-index: 2;
}

.graph-grid {
    display: none;
}

.graph-lines {
    display: none;
}

.graph-lines.delayed {
    display: none;
}

.small-label {
    font-size: var(--text-sm);
}

.small-label.accent {
    color: var(--accent);
}

.browser-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.browser-status.ok {
    border-color: rgba(66, 182, 160, 0.45);
    background: rgba(66, 182, 160, 0.1);
    color: var(--accent);
}

.browser-status.warn {
    border-color: rgba(244, 192, 96, 0.5);
    background: rgba(244, 192, 96, 0.12);
    color: #f4c060;
}

.browser-status.bad {
    border-color: rgba(255, 94, 94, 0.55);
    background: rgba(255, 94, 94, 0.12);
    color: #ff8a8a;
}

#demoIframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    opacity: 1;
    transition: opacity 0.15s ease;
    z-index: 50;
}

.hero.demo-active #demoIframe.is-active {
    position: fixed;
    inset: 0;
    pointer-events: auto;
    filter: none;
    transform: none;
    z-index: 950;
}


section {
    padding: 90px 24px;
    max-width: calc(var(--section-content-max) + 80px);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-alt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.018);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    pointer-events: none;
    z-index: -1;
}

.section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 38px;
}

.section-header h2 {
    margin: 12px 0 10px;
    font-size: var(--heading-2);
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
}

.section-header p {
    color: var(--muted);
    margin: 0 auto;
    max-width: 760px;
    font-size: var(--text-lg);
}

.workflow .timeline {
    display: grid;
    gap: 12px;
    margin: 28px auto 0;
    max-width: var(--section-content-max);
    position: relative;
}

.workflow .timeline::before {
    content: "";
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(66, 182, 160, 0.45), rgba(66, 182, 160, 0.06));
    border-radius: 1px;
    z-index: 0;
}

.workflow .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #13151b, #0f1016);
    transition: border-color var(--dur-mid) var(--ease-standard),
        transform var(--dur-mid) var(--ease-standard);
    position: relative;
    z-index: 1;
}

.workflow .step:hover {
    border-color: rgba(66, 182, 160, 0.25);
    transform: translateY(var(--lift-card));
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    background: rgba(45, 224, 192, 0.12);
    display: grid;
    place-items: center;
    color: var(--accent);
    font-weight: 800;
    font-size: 1rem;
    border: 1px solid rgba(45, 224, 192, 0.3);
    position: relative;
    z-index: 1;
}

.workflow h3 {
    margin: 0 0 6px;
    font-size: var(--heading-3);
}

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

.step-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: var(--muted);
}

.step-list li {
    line-height: 1.45;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 28px auto 0;
    max-width: var(--section-content-max);
}

.tech-card {
    padding: 18px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
    backdrop-filter: blur(8px);
    transition: border-color var(--dur-mid) var(--ease-standard),
        background var(--dur-mid) var(--ease-standard),
        transform var(--dur-mid) var(--ease-standard);
}

.tech-card:hover {
    border-color: rgba(66, 182, 160, 0.25);
    background: linear-gradient(180deg, rgba(66, 182, 160, 0.05), rgba(66, 182, 160, 0.02));
    transform: translateY(var(--lift-card));
}

.tech-card h3 {
    margin-top: 0;
    text-align: center;
    font-size: var(--heading-3);
}

.tech-card ul {
    list-style: none;
    padding-left: 0;
    color: var(--muted);
    margin: 10px 0 0;
    display: grid;
    gap: 8px;
}

.tech-card a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(66, 182, 160, 0.35);
    padding-bottom: 1px;
}

.tech-card a:hover {
    color: var(--accent);
    border-bottom-color: rgba(66, 182, 160, 0.6);
}

.compat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 28px auto 0;
    max-width: var(--section-content-max);
}

.compat-card {
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: border-color var(--dur-mid) var(--ease-standard),
        background var(--dur-mid) var(--ease-standard),
        transform var(--dur-mid) var(--ease-standard);
}

.compat-card:hover {
    border-color: rgba(66, 182, 160, 0.2);
    transform: translateY(var(--lift-card));
}

.compat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.compat-icon svg {
    width: 24px;
    height: 24px;
}

.compat-supported .compat-icon {
    color: var(--accent);
    border-color: rgba(66, 182, 160, 0.35);
    background: rgba(66, 182, 160, 0.1);
}

.compat-blocked .compat-icon {
    color: #ff8a8a;
    border-color: rgba(255, 94, 94, 0.35);
    background: rgba(255, 94, 94, 0.08);
}

.compat-card h3 {
    margin: 0;
    font-size: var(--heading-3);
}

.compat-card p {
    color: var(--muted);
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.5;
}

.compat-card code {
    padding: 2px 7px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    font-size: var(--text-sm);
    font-family: var(--font-code);
    white-space: nowrap;
}

.compat-card a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(66, 182, 160, 0.35);
    padding-bottom: 1px;
}

.compat-card a:hover {
    border-bottom-color: rgba(66, 182, 160, 0.6);
}

.compat-badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.2px;
}

.compat-badge--ok {
    background: rgba(66, 182, 160, 0.14);
    color: var(--accent);
    border: 1px solid rgba(66, 182, 160, 0.45);
}

.compat-badge--no {
    background: rgba(255, 94, 94, 0.12);
    color: #ff8a8a;
    border: 1px solid rgba(255, 94, 94, 0.4);
}

footer {
    padding: 40px 20px 50px;
    color: var(--muted);
    font-size: var(--text-sm);
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-copy {
    color: var(--muted);
}

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

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: transform var(--dur-fast) var(--ease-standard),
        border-color var(--dur-fast) var(--ease-standard),
        background var(--dur-fast) var(--ease-standard),
        color var(--dur-fast) var(--ease-standard);
}

.footer-link:hover {
    transform: translateY(-1px);
    border-color: rgba(66, 182, 160, 0.4);
    background: rgba(66, 182, 160, 0.08);
    color: var(--accent);
}

.footer-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: rgba(66, 182, 160, 0.12);
    color: var(--accent);
    border: 1px solid rgba(66, 182, 160, 0.28);
}

.footer-link__arrow {
    font-size: 0.9rem;
    color: var(--accent);
}

.footer-link__icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-link--linkedin {
    border-color: rgba(10, 102, 194, 0.35);
    background: rgba(10, 102, 194, 0.05);
}

.footer-link--linkedin:hover {
    border-color: rgba(10, 102, 194, 0.55);
    background: rgba(10, 102, 194, 0.12);
    color: #7ab3ff;
}

.footer-link--linkedin .footer-link__icon {
    background: rgba(10, 102, 194, 0.16);
    border-color: rgba(10, 102, 194, 0.4);
    color: #7ab3ff;
}

.footer-link--linkedin .footer-link__arrow {
    color: #7ab3ff;
}

/* ── Early Access Section ── */

.early-access {
    padding: 90px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.ea-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 28px;
    align-items: start;
}

.ea-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ea-feature-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    transition: border-color var(--dur-mid) var(--ease-standard),
        transform var(--dur-mid) var(--ease-standard);
}

.ea-feature-card:hover {
    border-color: rgba(66, 182, 160, 0.24);
    transform: translateY(var(--lift-card));
}

.ea-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: grid;
    place-items: center;
    background: rgba(66, 182, 160, 0.1);
    border: 1px solid rgba(66, 182, 160, 0.3);
    color: var(--accent);
}

.ea-feature-icon svg {
    width: 24px;
    height: 24px;
}

.ea-feature-card h3 {
    margin: 0 0 4px;
    font-size: var(--heading-3);
}

.ea-feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.45;
}

.ea-form-card {
    background: linear-gradient(160deg, rgba(14, 19, 28, 0.95), rgba(12, 18, 27, 0.85));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow);
}

.ea-form h3 {
    margin: 0 0 20px;
    font-size: 1.35rem;
    line-height: var(--lh-tight);
}

.ea-field {
    margin-bottom: 16px;
}

.ea-field > label:first-child {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text);
}

.ea-required {
    color: #ff8a8a;
}

.ea-optional {
    color: var(--muted);
    font-weight: 400;
    font-size: var(--text-sm);
}

.ea-field input[type="email"],
.ea-field input[type="text"],
.ea-select-toggle {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: var(--text-sm);
    font-family: inherit;
    outline: none;
    transition: border-color var(--dur-fast) var(--ease-standard),
        box-shadow var(--dur-fast) var(--ease-standard),
        background var(--dur-fast) var(--ease-standard);
}

.ea-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: var(--text-sm);
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 72px;
    transition: border-color var(--dur-fast) var(--ease-standard),
        box-shadow var(--dur-fast) var(--ease-standard),
        background var(--dur-fast) var(--ease-standard);
}

.ea-field input:focus,
.ea-select-toggle:focus,
.ea-field textarea:focus {
    border-color: rgba(66, 182, 160, 0.5);
    box-shadow: 0 0 0 3px rgba(66, 182, 160, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.ea-field input::placeholder,
.ea-field textarea::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.ea-select {
    position: relative;
}

.ea-select-toggle {
    width: 100%;
    min-height: 46px;
    padding-right: 40px;
    text-align: left;
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.14);
    background-color: rgba(255, 255, 255, 0.04);
    position: relative;
}

.ea-select-toggle:hover {
    border-color: rgba(66, 182, 160, 0.3);
}

.ea-select.is-open .ea-select-toggle {
    border-color: rgba(66, 182, 160, 0.45);
    background-color: rgba(66, 182, 160, 0.08);
}

.ea-select-toggle::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 12px;
    height: 8px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a2a9b6' stroke-width='1.7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px 8px;
    transition: transform var(--dur-fast) var(--ease-standard);
}

.ea-select.is-open .ea-select-toggle::after {
    transform: translateY(-50%) rotate(180deg);
}

.ea-select-value {
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 500;
}

.ea-select-value.is-placeholder {
    color: var(--muted);
}

.ea-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #121822;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    z-index: 150;
}

.ea-select-menu[hidden] {
    display: none;
}

.ea-select-option {
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: #d7deeb;
    text-align: left;
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1.35;
    padding: 9px 10px;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-standard),
        color var(--dur-fast) var(--ease-standard);
}

.ea-select-option:hover,
.ea-select-option:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.ea-select-option:active {
    background: rgba(66, 182, 160, 0.13);
}

.ea-select-option.is-selected {
    background: rgba(66, 182, 160, 0.18);
    color: #d9f2eb;
}

.ea-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ea-checkbox {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    padding: 10px 12px;
    min-height: 46px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    font-size: var(--text-sm);
    color: var(--muted);
    cursor: pointer;
    transition: border-color var(--dur-fast) var(--ease-standard),
        color var(--dur-fast) var(--ease-standard),
        background var(--dur-fast) var(--ease-standard);
    font-weight: 500;
}

.ea-checkbox:hover {
    border-color: rgba(66, 182, 160, 0.3);
    color: #c6d0df;
}

.ea-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 1px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-standard),
        border-color var(--dur-fast) var(--ease-standard),
        box-shadow var(--dur-fast) var(--ease-standard),
        transform var(--dur-fast) var(--ease-standard);
}

.ea-checkbox input[type="checkbox"]::before {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 2px solid #081015;
    border-bottom: 2px solid #081015;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform var(--dur-fast) var(--ease-standard);
    margin-top: -1px;
}

.ea-checkbox input[type="checkbox"]:hover {
    border-color: rgba(66, 182, 160, 0.55);
}

.ea-checkbox input[type="checkbox"]:focus-visible {
    box-shadow: var(--shadow-focus);
}

.ea-checkbox:has(input:checked) {
    border-color: rgba(66, 182, 160, 0.5);
    background: linear-gradient(180deg, rgba(66, 182, 160, 0.16), rgba(66, 182, 160, 0.07));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.ea-checkbox:has(input:checked) input[type="checkbox"] {
    border-color: rgba(66, 182, 160, 0.9);
    background: linear-gradient(135deg, #57d3be, #2ea792);
}

.ea-checkbox:has(input:checked) input[type="checkbox"]::before {
    transform: rotate(-45deg) scale(1);
}

.ea-submit {
    width: 100%;
    margin-top: 8px;
    font-size: 1rem;
    border: none;
}

.ea-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ea-privacy {
    margin: 12px 0 0;
    font-size: var(--text-xs);
    color: var(--muted);
    text-align: center;
}

.ea-success {
    text-align: center;
    padding: 40px 20px;
}

.ea-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(66, 182, 160, 0.14);
    color: var(--accent);
    border: 1px solid rgba(66, 182, 160, 0.4);
}

.ea-success-icon svg {
    width: 32px;
    height: 32px;
}

.ea-success h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    line-height: var(--lh-tight);
}

.ea-success p {
    margin: 0;
    color: var(--muted);
    font-size: var(--text-sm);
}

/* ── Scroll Reveal Animations ── */

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal .section-header,
.reveal .timeline,
.reveal .tech-grid,
.reveal .compat-grid,
.reveal .ea-grid {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.reveal.is-visible .section-header,
.reveal.is-visible .timeline,
.reveal.is-visible .tech-grid,
.reveal.is-visible .compat-grid,
.reveal.is-visible .ea-grid {
    opacity: 1;
    transform: translateY(0);
}

/* ── Scroll-to-top Button ── */

.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(66, 182, 160, 0.3);
    background: rgba(11, 12, 17, 0.92);
    backdrop-filter: blur(10px);
    color: var(--accent);
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--dur-mid) var(--ease-standard),
        transform var(--dur-mid) var(--ease-standard),
        border-color var(--dur-fast) var(--ease-standard),
        background var(--dur-fast) var(--ease-standard);
    pointer-events: none;
    z-index: 500;
}

.scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover {
    border-color: rgba(66, 182, 160, 0.6);
    background: rgba(66, 182, 160, 0.12);
}

.scroll-top:active,
.footer-link:active,
.nav-links a:active {
    transform: translateY(0);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 1200px) {
    :root {
        --header-h: 76px;
    }

    .site-header {
        padding: 0 42px;
    }

    .hero {
        padding: 52px 40px 104px;
    }

    .hero-grid {
        max-width: 1300px;
        grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
        gap: 44px;
    }

    .hero-copy {
        padding-top: 12px;
    }

    .hero-copy h1 {
        max-width: 16ch;
    }

    .hero-copy p {
        max-width: 58ch;
        margin-bottom: 22px;
    }

    .hero-actions {
        width: min(560px, 100%);
        margin-bottom: 16px;
        flex-wrap: nowrap;
    }

    .hero-actions .button {
        width: auto;
        max-width: none;
        min-width: 0;
        min-height: 48px;
        padding: 10px 20px;
        font-size: 1.04rem;
    }

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

    .metric-card {
        min-height: 156px;
        display: flex;
        flex-direction: column;
    }

    .metric-sub {
        margin-top: auto;
    }

    .hero-panel {
        min-height: 690px;
    }

    .panel-body {
        display: flex;
        flex: 1;
    }

    .panel-graph {
        flex: 1;
        min-height: 450px;
    }

    section,
    .early-access {
        max-width: 1260px;
        padding-left: 34px;
        padding-right: 34px;
    }

    section {
        padding-top: 104px;
        padding-bottom: 104px;
    }

    .early-access {
        padding-top: 104px;
        padding-bottom: 104px;
    }

    .section-header p {
        max-width: 66ch;
    }

    .workflow .timeline {
        max-width: 920px;
        gap: 18px;
    }

    .workflow .timeline::before {
        left: 45px;
    }

    .workflow .step {
        padding: 20px 22px;
    }

    .tech-grid,
    .compat-grid {
        gap: 20px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tech-grid,
    .compat-grid {
        max-width: var(--section-content-max);
        margin-left: auto;
        margin-right: auto;
    }

    .tech-card,
    .compat-card {
        min-height: 230px;
    }

    .ea-grid {
        grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
        gap: 34px;
    }

    .ea-form-card {
        position: sticky;
        top: calc(var(--header-h) + 30px);
    }

    .footer-content {
        max-width: 1260px;
        padding: 0 14px;
    }
}

@media (max-width: 960px) {
    .hero {
        padding: 0;
        width: 100%;
        margin-left: 0;
    }
    .site-header {
        padding: 12px 18px;
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
    }
    .nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px;
        overflow: visible;
    }
    .nav-links a {
        white-space: nowrap;
        padding: 8px 10px;
    }
    .lang-switcher {
        margin-left: auto;
        flex-shrink: 0;
    }
    .lang-toggle {
        white-space: nowrap;
    }
    .logo {
        width: 100%;
    }
    main {
        padding-top: 120px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .panel-header,
    .panel-footer {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .ea-grid {
        grid-template-columns: 1fr;
    }
    .ea-checkboxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.98rem;
    }
    .hero {
        padding: 40px 18px 70px;
    }
    section {
        padding: 70px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .reveal .section-header,
    .reveal .timeline,
    .reveal .tech-grid,
    .reveal .compat-grid,
    .reveal .ea-grid {
        opacity: 1 !important;
        transform: none !important;
    }
}
