/* ============================================
   ПоПолочкам — landing redesign
   ============================================ */

:root {
    --bg-base: #0A1410;
    --bg-card: #102216;
    --bg-elevated: #163021;
    --bg-light: #F4F7F2;
    --bg-light-2: #E9EEE7;

    --accent: #13EC5B;
    --accent-hover: #1CFF6A;
    --accent-press: #10C24B;
    --accent-warm: #FFE27A;
    --accent-rose: #FF9EB4;

    --text-primary: #ECF3EE;
    --text-secondary: #9BB3A2;
    --text-muted: #6C8575;
    --text-on-light: #102216;
    --text-on-light-muted: #4A5F52;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --border-on-light: rgba(16, 34, 22, 0.10);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;

    --shadow-card: 0 30px 80px -40px rgba(0, 0, 0, 0.55);
    --shadow-phone: 0 40px 120px -30px rgba(0, 0, 0, 0.6), 0 10px 30px -10px rgba(19, 236, 91, 0.15);
    --shadow-float: 0 20px 40px -20px rgba(0, 0, 0, 0.5);

    --font-display: "Space Grotesk", "Noto Sans", system-ui, sans-serif;
    --font-body: "Noto Sans", "Inter", system-ui, sans-serif;

    --container: 1200px;
    --gutter: clamp(20px, 4vw, 40px);

    --header-h: 72px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
    font-weight: 600;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--text-on-light); }

a:focus-visible,
button:focus-visible,
.button:focus-visible,
.nav-link:focus-visible,
.lang-switch:focus-visible,
.brand-link:focus-visible,
.footer-link:focus-visible,
.footer-social:focus-visible,
[data-plan-select]:focus-visible,
.hamburger:focus-visible,
.faq-item > button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Shell */
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 20, 16, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
}

.shell-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-link { display: flex; align-items: center; gap: 12px; color: var(--text-primary); }
.brand-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand-subtitle { font-size: 11px; color: var(--text-muted); letter-spacing: 0.02em; }

.header-actions { display: flex; align-items: center; gap: 24px; }

.nav-links { display: flex; gap: 4px; }

.nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: background 0.18s ease, color 0.18s ease;
}

.nav-link:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); }

.lang-switch {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.lang-switch:hover { background: rgba(255, 255, 255, 0.10); border-color: var(--border-strong); }

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    align-items: center;
    justify-content: center;
}

.hamburger svg { width: 20px; height: 20px; stroke: var(--text-primary); fill: none; }

.mobile-menu {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(10, 20, 16, 0.96);
    backdrop-filter: blur(24px);
    z-index: 39;
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    animation: fade-in 0.18s ease;
}

.mobile-menu.is-open { display: flex; }

.mobile-menu a {
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 18px;
    font-family: var(--font-display);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu a::after {
    content: "→";
    color: var(--accent);
    font-weight: 400;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .hamburger { display: inline-flex; }
    .brand-subtitle { display: none; }
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { cursor: not-allowed; opacity: 0.6; }

.button--primary { background: var(--accent); color: var(--text-on-light); }
.button--primary:hover:not(:disabled) { background: var(--accent-hover); }
.button--accent { background: var(--accent); color: var(--text-on-light); }
.button--accent:hover:not(:disabled) { background: var(--accent-hover); }

.button--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.button--ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.10);
    border-color: var(--border-strong);
}

.button--outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.button--outline:hover:not(:disabled) { background: rgba(19, 236, 91, 0.1); }

.button--small { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.button--large { padding: 16px 26px; font-size: 16px; border-radius: 16px; }
.button--block { width: 100%; }

.section--light .button--ghost {
    background: rgba(16, 34, 22, 0.05);
    color: var(--text-on-light);
    border-color: var(--border-on-light);
}

.section--light .button--ghost:hover:not(:disabled) {
    background: rgba(16, 34, 22, 0.08);
}

/* Shared */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(19, 236, 91, 0.08);
    border: 1px solid rgba(19, 236, 91, 0.18);
    align-self: flex-start;
}

.eyebrow--light {
    color: var(--text-on-light);
    background: rgba(16, 34, 22, 0.06);
    border-color: var(--border-on-light);
}

.section {
    padding: clamp(64px, 9vw, 128px) 0;
    position: relative;
}

.section--light { background: var(--bg-light); color: var(--text-on-light); }
.section--card { background: var(--bg-card); }
.section--elevated { background: var(--bg-elevated); }

.section-head {
    max-width: 760px;
    margin-bottom: clamp(40px, 6vw, 72px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.section-title {
    font-size: clamp(30px, 4.2vw, 48px);
    letter-spacing: -0.025em;
}

.section-lede {
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 640px;
}

.section--light .section-lede { color: var(--text-on-light-muted); }

/* HERO */
.hero {
    padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 128px);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at center, rgba(19, 236, 91, 0.22), transparent 65%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(255, 226, 122, 0.08), transparent 65%);
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 28px; }

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.hero-title .accent { color: var(--accent); }

.hero-lede {
    font-size: clamp(17px, 1.4vw, 20px);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.55;
}

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

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.hero-trust-item { display: flex; flex-direction: column; gap: 2px; min-width: 120px; }

.hero-trust-item strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.hero-trust-item span {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Hero device */
.hero-device {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
}

.device-frame {
    position: relative;
    width: clamp(260px, 28vw, 360px);
    aspect-ratio: 720 / 1509;
    border-radius: 32px;
    overflow: hidden;
    background: #0a1410;
    box-shadow: var(--shadow-phone), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.device-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.float-card {
    position: absolute;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(22, 48, 33, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-float);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float-in 0.8s 0.2s both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.float-card .icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(19, 236, 91, 0.18);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.float-card .icon.warm { background: rgba(255, 226, 122, 0.18); }

.float-card strong {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text-primary);
    display: block;
    letter-spacing: -0.01em;
}

.float-card span { font-size: 12px; color: var(--text-muted); display: block; }
.float-card--top { top: 10%; left: -8%; animation-delay: 0.3s; }
.float-card--bottom { bottom: 14%; right: -6%; animation-delay: 0.5s; }

@keyframes float-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-device { min-height: 500px; }
    .device-frame { width: min(280px, 70vw); }
    .float-card--top { left: -2%; }
    .float-card--bottom { right: -2%; }
}

@media (max-width: 520px) {
    .hero-title { font-size: clamp(34px, 9vw, 44px); }
    .hero-device { min-height: 440px; }
    .hero-cta .button { width: 100%; }
    .hero-trust { gap: 20px; }
}

/* Stats strip */
.stats-strip {
    padding: clamp(36px, 5vw, 56px) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 48px);
}

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1;
}

.stat-value .unit { font-size: 0.55em; color: var(--accent); margin-left: 4px; }
.stat-label { font-size: 13px; color: var(--text-muted); line-height: 1.45; }

@media (max-width: 720px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Feature rows */
.feature-rows {
    display: flex;
    flex-direction: column;
    gap: clamp(80px, 10vw, 160px);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.feature-row.reverse .feature-media { order: -1; }

.feature-copy { display: flex; flex-direction: column; gap: 20px; }

.feature-heading {
    font-size: clamp(28px, 3.6vw, 42px);
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.feature-text {
    font-size: clamp(16px, 1.2vw, 17px);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 520px;
}

.section--light .feature-text { color: var(--text-on-light-muted); }

.feature-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

.section--light .feature-list li { color: var(--text-on-light); }

.feature-list li::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 999px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10l3 3 7-7' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/70% no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10l3 3 7-7' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/70% no-repeat;
}

.feature-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.feature-media .device-frame {
    width: clamp(240px, 22vw, 320px);
}

.feature-media::before {
    content: "";
    position: absolute;
    inset: 10% 10%;
    background: radial-gradient(circle at 50% 60%, rgba(19, 236, 91, 0.12), transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.feature-media > * { position: relative; z-index: 1; }

@media (max-width: 860px) {
    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .feature-row.reverse .feature-media { order: 0; }
    .feature-media { min-height: 420px; }
}

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

.plan {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    transition: border-color 0.18s ease, transform 0.2s ease;
    position: relative;
    cursor: pointer;
}

.section--light .plan {
    background: #FFFFFF;
    border-color: var(--border-on-light);
    box-shadow: 0 1px 2px rgba(16, 34, 22, 0.04);
}

.plan.is-featured {
    background: linear-gradient(165deg, #163021 0%, #0f2418 100%);
    border-color: rgba(19, 236, 91, 0.35);
    box-shadow: 0 30px 60px -30px rgba(19, 236, 91, 0.25);
}

.section--light .plan.is-featured {
    background: linear-gradient(165deg, #102216 0%, #0A1410 100%);
    color: var(--text-primary);
    border-color: transparent;
}

.section--light .plan.is-featured .plan-feature-list li { color: var(--text-primary); }

.plan.is-selected { border-color: var(--accent); }

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--text-on-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
}

.plan-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.01em;
}

.plan-price-row { display: flex; align-items: baseline; gap: 6px; }

.plan-price {
    font-family: var(--font-display);
    font-size: clamp(32px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.plan-per { font-size: 14px; color: var(--text-muted); }

.section--light .plan-per { color: var(--text-on-light-muted); }
.section--light .plan.is-featured .plan-per { color: var(--text-muted); }

.plan-note {
    font-size: 14px;
    color: var(--text-secondary);
    min-height: 42px;
}

.section--light .plan-note { color: var(--text-on-light-muted); }
.section--light .plan.is-featured .plan-note { color: var(--text-secondary); }

.plan-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0 20px;
    flex: 1;
}

.plan-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.section--light .plan-feature-list li { color: var(--text-on-light); }

.plan-feature-list li::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    border-radius: 999px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10l3 3 7-7' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/70% no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10l3 3 7-7' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/70% no-repeat;
}

.plan-cta { margin-top: auto; }

@media (max-width: 860px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .plan.is-featured { order: -1; }
}

/* Checkout panel */
.checkout-panel {
    margin-top: 32px;
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--radius-2xl);
    background: linear-gradient(165deg, rgba(22, 48, 33, 0.6), rgba(16, 34, 22, 0.6));
    border: 1px solid var(--border-strong);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 40px);
}

.section--light .checkout-panel {
    background: #FFFFFF;
    border-color: var(--border-on-light);
    color: var(--text-on-light);
}

.checkout-info { display: flex; flex-direction: column; gap: 12px; }

.checkout-heading {
    font-size: clamp(22px, 2vw, 28px);
    letter-spacing: -0.02em;
}

.checkout-note {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.section--light .checkout-note { color: var(--text-on-light-muted); }

.checkout-form { display: flex; flex-direction: column; gap: 16px; }

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 8px;
}

.section--light .form-label { color: var(--text-on-light); }

.text-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(10, 20, 16, 0.5);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.section--light .text-input {
    background: var(--bg-light-2);
    border-color: var(--border-on-light);
    color: var(--text-on-light);
}

.text-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(10, 20, 16, 0.7);
}

.section--light .text-input:focus { background: #FFFFFF; }

.checkout-selected {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(19, 236, 91, 0.08);
    border: 1px solid rgba(19, 236, 91, 0.22);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-selected-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.checkout-selected-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.checkout-selected-row strong {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: -0.01em;
}

.section--light .checkout-selected-row strong { color: var(--text-on-light); }

.checkout-selected-row span {
    font-size: 14px;
    color: var(--text-secondary);
}

.section--light .checkout-selected-row span { color: var(--text-on-light-muted); }

.checkout-legal {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkout-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.checkout-consent input[type="checkbox"] {
    margin: 2px 0 0;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkout-consent a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.section--light .checkout-consent { color: var(--text-on-light-muted); }

.section--light .checkout-legal { color: var(--text-on-light-muted); }

.checkout-legal a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkout-status {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    font-size: 14px;
    grid-column: 1 / -1;
}

.checkout-status strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    margin-bottom: 4px;
}

.checkout-status p { margin: 0; font-size: 13px; opacity: 0.85; }

.checkout-status.is-pending {
    background: rgba(255, 226, 122, 0.08);
    border: 1px solid rgba(255, 226, 122, 0.25);
    color: var(--accent-warm);
}

.checkout-status.is-success {
    background: rgba(19, 236, 91, 0.10);
    border: 1px solid rgba(19, 236, 91, 0.3);
    color: var(--accent);
}

.checkout-status.is-error {
    background: rgba(255, 158, 180, 0.08);
    border: 1px solid rgba(255, 158, 180, 0.28);
    color: var(--accent-rose);
}

.checkout-install-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.checkout-install-cta .button {
    flex: 1 1 auto;
    min-width: 140px;
    text-align: center;
}

@media (max-width: 720px) {
    .checkout-panel { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 840px;
}

.faq-item {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: border-color 0.18s ease;
}

.section--light .faq-item {
    background: #FFFFFF;
    border-color: var(--border-on-light);
}

.faq-item > button {
    width: 100%;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: inherit;
    text-align: left;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(19, 236, 91, 0.12);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
    font-weight: 400;
}

.faq-item[aria-expanded="true"] { border-color: rgba(19, 236, 91, 0.3); }
.faq-item[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-body {
    padding: 0 24px 22px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.section--light .faq-body { color: var(--text-on-light-muted); }

.faq-item[aria-expanded="true"] .faq-body { display: block; }

/* Final CTA */
.cta-banner {
    padding: clamp(48px, 6vw, 88px);
    border-radius: var(--radius-2xl);
    background: linear-gradient(140deg, #102216 0%, #163021 60%, #1f4a2c 100%);
    border: 1px solid var(--border-strong);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(19, 236, 91, 0.2), transparent 60%);
    filter: blur(80px);
    z-index: 0;
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(28px, 3.6vw, 44px);
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cta-lede {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
}

.cta-actions {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Footer */
.site-footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border-subtle);
    padding: clamp(48px, 6vw, 80px) 0 32px;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: clamp(32px, 4vw, 64px);
    margin-bottom: 48px;
}

.footer-brand .footer-copy {
    font-size: 14px;
    color: var(--text-muted);
    margin: 16px 0;
    line-height: 1.55;
    max-width: 320px;
}

.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }

.footer-social {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    transition: background 0.18s ease, color 0.18s ease;
}

.footer-social:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

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

.footer-link {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.18s ease;
}

.footer-link:hover { color: var(--text-primary); }

.footer-meta {
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-requisites {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-requisites a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Legal pages */
.main-stack {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px) var(--gutter);
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 40px);
}

.legal-card {
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.legal-hero { display: flex; flex-direction: column; gap: 16px; }

.legal-title, .page-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.legal-subtitle {
    font-size: clamp(15px, 1.2vw, 17px);
    color: var(--text-secondary);
    line-height: 1.55;
}

.legal-updated { font-size: 13px; color: var(--text-muted); }

.prose { display: flex; flex-direction: column; gap: 32px; }

.prose h2 {
    font-size: clamp(20px, 2vw, 26px);
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.prose p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.prose p + p { margin-top: 12px; }

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding-left: 0;
}

.legal-list li {
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

/* Support */
.support-stack { gap: clamp(16px, 2vw, 28px); }
.support-header { display: flex; flex-direction: column; gap: 12px; }

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.support-card {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-tag {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.support-title {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: -0.01em;
}

.support-copy {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.support-detail {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}

.support-detail strong {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: -0.01em;
}

.support-detail a {
    color: var(--accent);
    text-decoration: underline;
    font-size: 13px;
    text-underline-offset: 2px;
}

.inline-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Utils */
[hidden] { display: none !important; }
.is-muted { color: var(--text-muted); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
