:root {
    --bg: #0f1114;
    --bg-elevated: #14181f;
    --card: #171a1f;
    --line: #2a3038;
    --border: #2f3640;
    --text: #e8eaed;
    --muted: #8b939a;
    --brand: #25c06d;
    --brand-2: #1fa85e;
    --accent: #2db573;
    --accent-dim: #248a5c;
    --accent-glow: rgba(37, 192, 109, 0.35);
    --err: #c75c6a;
    --radius: 12px;
    --header-h: 64px;
    --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.45);
    --font: system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nav-toggle__bar,
    .site-header__drawer,
    .site-header__backdrop {
        transition: none !important;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body.site-header--open {
    overflow: hidden;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: #4bdc8d;
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
    outline-color: var(--brand);
}

.container-wide {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 18px;
}

.site-main {
    flex: 1 0 auto;
}

.wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 18px;
}

.page-home .wrap {
    max-width: 720px;
}

h1 {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.sub {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 16px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    padding: 22px 20px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 16px 0 6px;
    color: var(--muted);
}

label:first-of-type {
    margin-top: 0;
}

input,
select,
textarea,
button {
    width: 100%;
    font: inherit;
    color: var(--text);
    background: #101318;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    border-color: var(--accent-dim);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 520px) {
    .grid2 {
        grid-template-columns: 1fr;
    }
}

.hint {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 6px 0 0;
}

.row-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--muted);
}

.row-check input {
    width: auto;
}

button[type="submit"] {
    margin-top: 20px;
    background: linear-gradient(180deg, var(--accent), var(--accent-dim));
    border-color: var(--brand-2);
    color: #061208;
    font-weight: 700;
    cursor: pointer;
    padding: 12px 16px;
}

button[type="submit"]:hover {
    filter: brightness(1.06);
}

button[type="submit"]:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

button[type="button"].secondary {
    margin-top: 10px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent-dim);
    font-weight: 600;
    cursor: pointer;
    padding: 10px 14px;
}

button[type="button"].secondary:hover {
    background: rgba(45, 181, 115, 0.12);
}

.out {
    margin-top: 20px;
    padding: 14px;
    border-radius: var(--radius);
    background: #0a0c0f;
    border: 1px solid var(--line);
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 340px;
    overflow: auto;
    color: #c8d0d8;
}

.out.err {
    border-color: var(--err);
    color: #f0b4bc;
}

/* ——— Site header ——— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-h);
    background: rgba(15, 17, 20, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--header-h);
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    flex-shrink: 0;
}

.site-brand:hover {
    color: var(--text);
}

.site-brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--brand), #78f0b2);
    box-shadow: 0 6px 20px var(--accent-glow);
    flex-shrink: 0;
}

.site-brand__mark--sm {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    box-shadow: none;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.15;
}

.site-brand__name {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.site-brand__tagline {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--muted);
    line-height: 1.25;
    max-width: 14.5rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    cursor: pointer;
    color: inherit;
}

.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header--open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header--open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.site-header--open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header__backdrop {
    display: none;
}

.site-header__drawer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
}

.site-nav__link {
    display: inline-block;
    padding: 8px 2px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}

.site-nav__link:hover {
    color: var(--text);
}

.site-nav__link--muted {
    opacity: 0.85;
    font-weight: 500;
}

.site-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
    border-color: #4a5260;
    color: var(--text);
}

.btn--primary {
    background: linear-gradient(180deg, var(--accent), var(--accent-dim));
    border-color: var(--brand-2);
    color: #061208;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn--primary:hover {
    filter: brightness(1.06);
    color: #061208;
}

.btn--ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
    background: rgba(45, 181, 115, 0.1);
    border-color: var(--accent-dim);
    color: #c5f5d8;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-header__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    body.site-header--open .site-header__backdrop {
        opacity: 1;
        visibility: visible;
    }

    .site-header__drawer {
        position: fixed;
        z-index: 95;
        left: 0;
        right: 0;
        top: var(--header-h);
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 18px 28px;
        background: var(--bg-elevated);
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    .site-header__drawer.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .site-nav__link {
        padding: 14px 14px;
        border-radius: var(--radius);
        background: rgba(0, 0, 0, 0.2);
    }

    .site-nav__link:hover,
    .site-nav__link:focus-visible {
        background: rgba(37, 192, 109, 0.12);
    }

    .site-header__actions {
        margin-top: 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .site-header__actions .btn {
        width: 100%;
    }
}

/* Hero */
.hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 18px 12px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(37, 192, 109, 0.12);
    border: 1px solid rgba(37, 192, 109, 0.35);
    border-radius: 999px;
}

.h-title {
    font-size: clamp(1.75rem, 4.5vw, 2.65rem);
    line-height: 1.12;
    margin: 0 0 12px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.h-title em {
    color: var(--brand);
    font-style: normal;
}

.h-lead {
    margin: 0;
    max-width: 52ch;
    color: var(--muted);
    font-size: 1.02rem;
}

.tool-section {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Footer */
.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 0;
    background: linear-gradient(180deg, rgba(20, 24, 31, 0.4), var(--bg-elevated));
    border-top: 1px solid var(--line);
}

.site-footer__main {
    display: grid;
    gap: 36px;
    padding: 44px 18px 36px;
}

@media (min-width: 720px) {
    .site-footer__main {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
        align-items: start;
    }
}

.site-footer__intro {
    max-width: 340px;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
}

.site-footer__brand:hover {
    color: var(--text);
}

.site-footer__brand-text {
    letter-spacing: 0.03em;
}

.site-footer__lede {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.6;
}

.site-footer__cols {
    display: grid;
    gap: 28px;
}

@media (min-width: 520px) {
    .site-footer__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.site-footer__heading {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__list a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.site-footer__list a:hover {
    color: var(--accent);
}

.site-footer__note {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

.site-footer__bottom {
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.25);
}

.site-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 20px 18px;
}

@media (min-width: 600px) {
    .site-footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.site-footer__copy {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 0.82rem;
}

.site-footer__legal a {
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: var(--accent);
}

.site-footer__dot {
    color: var(--border);
}

/* Static / prose */
.prose {
    font-size: 0.98rem;
    color: #c9ced4;
}

.prose h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.01em;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    margin: 0 0 1rem;
}

.prose ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose code {
    font-size: 0.88em;
    padding: 2px 6px;
    background: #0a0c0f;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.page-static .static-card,
.page-error .static-card {
    max-width: 720px;
    margin: 24px auto 0;
}

.page-static .page-about__hero {
    padding-bottom: 8px;
}

.error-layout {
    text-align: center;
    padding: 28px 16px 8px;
}

.error-code {
    font-size: clamp(3.5rem, 10vw, 4.75rem);
    font-weight: 900;
    line-height: 1;
    margin: 0 0 8px;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--text), var(--muted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 800;
}

.error-text {
    margin: 0 auto 24px;
    max-width: 40ch;
    color: var(--muted);
    font-size: 0.98rem;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.page-admin .admin-panel {
    max-width: 640px;
    margin: 32px auto 0;
}

/* ——— Landing (home) ——— */
.page-home .site-main {
    overflow-x: hidden;
}

#features,
#pricing,
#faq,
#instrument {
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.landing-inline-code {
    font-size: 0.85em;
    padding: 2px 6px;
    background: #0a0c0f;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.landing-hero {
    position: relative;
    padding: 32px 0 48px;
    background:
        radial-gradient(ellipse 85% 65% at 50% -15%, rgba(37, 192, 109, 0.22), transparent 52%),
        radial-gradient(ellipse 60% 40% at 100% 30%, rgba(45, 181, 115, 0.08), transparent 45%),
        var(--bg);
    border-bottom: 1px solid var(--line);
}

.landing-hero__grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

@media (min-width: 900px) {
    .landing-hero__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 48px;
    }
}

.landing-hero__title {
    font-size: clamp(1.85rem, 5vw, 2.85rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}

.landing-hero__title em {
    color: var(--brand);
    font-style: normal;
}

.landing-hero__lead {
    margin: 0 0 22px;
    max-width: 56ch;
    color: #aeb6bf;
    font-size: 1.05rem;
    line-height: 1.6;
}

.landing-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero__badge-muted {
    opacity: 0.85;
    letter-spacing: 0.1em;
}

.landing-hero__trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--muted);
    max-width: 42ch;
}

.landing-hero__trust code {
    font-size: 0.88em;
}

.landing-hero__panel {
    display: flex;
    justify-content: center;
}

.landing-hero__mock {
    width: 100%;
    max-width: 340px;
    padding: 20px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    box-shadow: var(--shadow-lg);
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.76rem;
    line-height: 1.55;
    color: #b8c0c8;
}

.landing-hero__mock-line {
    display: block;
}

.landing-hero__mock-line--dim {
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-hero__mock-key {
    color: #7dd3a0;
}

.landing-hero__mock-str {
    color: #f0c674;
}

.landing-hero__mock-num {
    color: #8ab4f8;
}

.landing-hero__mock-badge {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 10px;
    background: rgba(37, 192, 109, 0.15);
    border: 1px solid rgba(37, 192, 109, 0.35);
    border-radius: 8px;
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 700;
}

.btn--lg {
    padding: 13px 20px;
    font-size: 0.95rem;
}

.btn--block {
    width: 100%;
}

@media (max-width: 520px) {
    .landing-hero__cta .btn {
        width: 100%;
    }
}

.landing-strip {
    padding: 20px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
}

.landing-strip__inner {
    display: grid;
    gap: 18px;
}

@media (min-width: 768px) {
    .landing-strip__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

.landing-strip__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.landing-strip__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 192, 109, 0.1);
    border: 1px solid rgba(37, 192, 109, 0.25);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--brand);
}

.landing-strip__strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.92rem;
}

.landing-strip__text {
    margin: 0;
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.5;
}

.landing-section {
    padding: 56px 0;
}

.landing-section--alt {
    background: rgba(20, 24, 31, 0.55);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.landing-section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.landing-section__head--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 52ch;
}

.landing-section__title {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.landing-section__sub {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.landing-section__sub--narrow {
    max-width: 48ch;
}

.container-wide--narrow {
    max-width: 720px;
}

.landing-features {
    display: grid;
    gap: 16px;
}

@media (min-width: 600px) {
    .landing-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .landing-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.landing-card {
    padding: 22px 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-card:hover {
    border-color: #3d4654;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.landing-card__title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 800;
}

.landing-card__text {
    margin: 0;
    font-size: 0.9rem;
    color: #aeb4bc;
    line-height: 1.55;
}

.landing-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

@media (min-width: 800px) {
    .landing-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

.landing-step {
    display: flex;
    gap: 16px;
    padding: 22px 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
}

.landing-step__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(37, 192, 109, 0.2);
    color: var(--brand);
    font-weight: 800;
    font-size: 0.95rem;
}

.landing-step__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
}

.landing-step__text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

.landing-demo {
    padding: 56px 0;
    background: var(--bg);
}

.landing-demo__card {
    margin-top: 8px;
}

.landing-pricing {
    display: grid;
    gap: 18px;
    align-items: stretch;
}

@media (min-width: 880px) {
    .landing-pricing {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pricing-card {
    position: relative;
    padding: 26px 22px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    display: flex;
    flex-direction: column;
}

.pricing-card--featured {
    border-color: var(--accent-dim);
    box-shadow: 0 0 0 1px rgba(37, 192, 109, 0.25), 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (min-width: 880px) {
    .pricing-card--featured {
        transform: translateY(-6px);
    }
}

.pricing-card__ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #061208;
    background: var(--accent);
    border-radius: 6px;
}

.pricing-card__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 800;
}

.pricing-card__price {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text);
}

.pricing-card__currency {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}

.pricing-card__note {
    margin: 0 0 18px;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

.pricing-card__list {
    margin: 0 0 22px;
    padding-left: 1.1rem;
    flex-grow: 1;
    font-size: 0.88rem;
    color: #c4c9cf;
    line-height: 1.55;
}

.pricing-card .btn {
    margin-top: auto;
}

.landing-faq__item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    margin-bottom: 10px;
    overflow: hidden;
}

.landing-faq__item:last-child {
    margin-bottom: 0;
}

.landing-faq__q {
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.landing-faq__q::-webkit-details-marker {
    display: none;
}

.landing-faq__q::after {
    content: "+";
    flex-shrink: 0;
    font-weight: 300;
    font-size: 1.25rem;
    color: var(--brand);
    line-height: 1;
}

.landing-faq__item[open] .landing-faq__q::after {
    content: "−";
}

.landing-faq__a {
    margin: 0;
    padding: 0 18px 18px;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 14px;
}

.landing-final-cta {
    padding: 52px 0 64px;
    text-align: center;
    background: linear-gradient(180deg, rgba(37, 192, 109, 0.12), transparent 70%);
    border-top: 1px solid var(--line);
}

.landing-final-cta__title {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 900;
}

.landing-final-cta__text {
    margin: 0 auto 24px;
    max-width: 44ch;
    color: var(--muted);
    font-size: 1rem;
}

.landing-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 520px) {
    .landing-final-cta__actions .btn {
        width: 100%;
    }
}
