:root {
    color-scheme: dark;
    --bg: #081018;
    --bg-deep: #050a10;
    --surface: #0e1722;
    --surface-raised: #121e2b;
    --surface-soft: #162231;
    --border: #223247;
    --border-strong: #324760;
    --text: #f5f7fa;
    --text-secondary: #c4ccda;
    --text-muted: #91a0b4;
    --emerald: #63e58a;
    --emerald-strong: #43c96f;
    --emerald-dark: #163a28;
    --cyan: #65c7ff;
    --violet: #a789ff;
    --warning: #e8b85d;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    --container: 1240px;
    --header-height: 80px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    font-synthesis: none;
}

.admin-page {
    min-height: 70vh;
    padding: 6rem 0;
}

.admin-container {
    max-width: 1180px;
}

.admin-navigation,
.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.admin-navigation a {
    display: grid;
    gap: .5rem;
    color: var(--text);
    text-decoration: none;
}

.admin-navigation span,
.admin-stable-id,
.admin-result-count {
    color: var(--text-muted);
}

.admin-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-search,
.admin-action-form {
    display: grid;
    gap: 1rem;
}

.admin-search {
    max-width: 760px;
    margin: 2rem 0;
}

.admin-search > div {
    display: flex;
    gap: .75rem;
}

.admin-search label,
.admin-action-form label {
    display: grid;
    gap: .5rem;
    font-weight: 700;
}

.admin-search input,
.admin-action-form input,
.admin-action-form select,
.admin-action-form textarea {
    width: 100%;
    min-height: 44px;
    padding: .75rem;
    color: var(--text);
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: .65rem;
}

.admin-action-form textarea {
    min-height: 7rem;
    resize: vertical;
}

.admin-confirm {
    grid-template-columns: auto 1fr !important;
    align-items: start;
    font-weight: 400 !important;
}

.admin-confirm input {
    width: 1.25rem;
    min-height: 1.25rem;
}

.admin-actions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-section-title {
    margin-top: 3rem;
}

.admin-history {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.admin-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

.admin-table small {
    display: block;
    margin-top: .35rem;
    color: var(--text-muted);
}

.admin-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 900px) {
    .admin-actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-page {
        padding: 3rem 0;
    }

    .admin-navigation,
    .admin-history {
        grid-template-columns: 1fr;
    }

    .admin-search > div {
        display: grid;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 78% 4%, rgba(25, 101, 118, 0.14), transparent 28rem),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
a,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

::selection {
    background: rgba(101, 199, 255, 0.28);
    color: var(--text);
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.container.narrow {
    max-width: 880px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 16px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--text);
    color: var(--bg);
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid rgba(50, 71, 96, 0.55);
    background: rgba(8, 16, 24, 0.82);
    backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.03em;
}

.wordmark strong {
    color: var(--emerald);
}

.wordmark-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(99, 229, 138, 0.5);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(99, 229, 138, 0.2), rgba(101, 199, 255, 0.08));
    color: var(--emerald);
    font-size: 16px;
    font-weight: 800;
    box-shadow: inset 0 0 24px rgba(99, 229, 138, 0.08);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.desktop-nav a,
.site-footer nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 560;
    transition: color 160ms ease;
}

.desktop-nav a:hover,
.site-footer nav a:hover {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:disabled {
    border-color: var(--border);
    background: #111a25;
    color: #7f8c9e;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.button-primary {
    border-color: rgba(99, 229, 138, 0.66);
    background: linear-gradient(135deg, var(--emerald-strong), #2dac71);
    color: #06120b;
    box-shadow: 0 14px 38px rgba(67, 201, 111, 0.18);
}

.button-primary:hover {
    box-shadow: 0 18px 48px rgba(67, 201, 111, 0.28);
}

.button-secondary {
    border-color: var(--border-strong);
    background: rgba(18, 30, 43, 0.66);
    color: var(--text);
}

.button-secondary:hover {
    border-color: rgba(101, 199, 255, 0.55);
    background: var(--surface-raised);
}

.button-disabled {
    border-color: var(--border);
    background: #111a25;
    color: #7f8c9e;
    cursor: not-allowed;
}

.button-disabled:hover {
    transform: none;
}

.header-cta {
    min-height: 42px;
    margin-left: 4px;
    padding: 10px 16px;
}

.mobile-nav {
    display: none;
    position: relative;
    margin-left: auto;
}

.mobile-nav summary {
    display: grid;
    place-content: center;
    width: 44px;
    height: 44px;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-nav summary span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-secondary);
}

.mobile-nav nav {
    position: absolute;
    top: 54px;
    right: 0;
    display: grid;
    width: min(280px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: #0e1722;
    box-shadow: var(--shadow);
}

.mobile-nav nav a {
    padding: 12px 14px;
    border-radius: 9px;
    color: var(--text-secondary);
    font-weight: 600;
}

.mobile-nav nav a:hover {
    background: var(--surface-soft);
    color: var(--text);
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--emerald);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.3;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(44px, 5.2vw, 76px);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(32px, 3.6vw, 52px);
    font-weight: 720;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.hero {
    position: relative;
    min-height: min(780px, calc(100vh - var(--header-height)));
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 4vw, 80px);
    width: min(calc(100% - 64px), 1320px);
    min-height: 700px;
    padding-block: 64px;
}

.hero-copy {
    min-width: 0;
    max-width: 600px;
}

.hero-title-line {
    display: inline;
}

.hero-title-line + .hero-title-line::before {
    content: " ";
}

.hero-title-accent {
    display: block;
    color: var(--emerald);
}

.hero-lead {
    max-width: 600px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 100%;
}

.hero-actions .button {
    max-width: 100%;
    min-width: 188px;
}

.hero-actions .button span {
    margin-left: 12px;
    font-size: 18px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    padding: 0;
    margin: 28px 0 0;
    color: var(--text-muted);
    font-size: 13px;
    list-style: none;
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-facts span {
    color: var(--emerald);
}

.hero-visual {
    min-width: 0;
    width: 100%;
}

.hero-image-frame {
    overflow: hidden;
    aspect-ratio: 1672 / 941;
    border: 1px solid rgba(101, 199, 255, 0.24);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(58, 156, 177, 0.08);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.section {
    padding-block: 112px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading > p:last-child,
.section-heading-split > p,
.faq-intro {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 17px;
}

.section-heading-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    max-width: none;
    gap: 80px;
}

.section-heading-split h2 {
    margin-bottom: 0;
}

.benefits {
    background: var(--bg-deep);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(14, 23, 34, 0.72);
}

.benefit-card {
    min-height: 240px;
    padding: 30px;
    border-right: 1px solid var(--border);
}

.benefit-card:last-child {
    border-right: 0;
}

.card-index,
.feature-kicker,
.rule-label {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.benefit-card p,
.feature-card p,
.safety-grid p,
.rule-grid p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.workflow-section {
    border-block: 1px solid var(--border);
    background:
        radial-gradient(circle at 15% 55%, rgba(167, 137, 255, 0.08), transparent 26rem),
        var(--bg);
}

.workflow-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-strong);
    list-style: none;
}

.workflow-list li {
    position: relative;
    padding: 32px 28px 0 0;
}

.workflow-list li::before {
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 5px var(--bg), 0 0 20px var(--emerald);
    content: "";
}

.workflow-list li > span {
    display: block;
    margin-bottom: 44px;
    color: var(--text-muted);
    font: 600 12px/1 monospace;
}

.workflow-list p {
    color: var(--text-muted);
    font-size: 14px;
}

.features-section {
    background: var(--bg-deep);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(22, 34, 49, 0.85), rgba(12, 20, 30, 0.9));
}

.feature-card::after {
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(101, 199, 255, 0.04);
    filter: blur(16px);
    content: "";
}

.feature-card-large {
    grid-column: span 2;
}

.feature-card-accent {
    border-color: rgba(99, 229, 138, 0.28);
    background:
        linear-gradient(145deg, rgba(22, 58, 40, 0.58), rgba(10, 26, 23, 0.9));
}

.feature-kicker {
    margin-bottom: 56px;
}

.feature-card h3 {
    max-width: 400px;
    font-size: 24px;
}

.feature-card p {
    max-width: 480px;
}

.mini-chart {
    position: absolute;
    right: 38px;
    bottom: 34px;
    display: flex;
    align-items: end;
    width: 240px;
    height: 110px;
    gap: 13px;
    padding: 16px;
    border-bottom: 1px solid rgba(101, 199, 255, 0.2);
}

.mini-chart span {
    flex: 1;
    min-height: 8px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--emerald), rgba(67, 201, 111, 0.18));
}

.mini-chart .bar-1 { height: 34%; }
.mini-chart .bar-2 { height: 46%; }
.mini-chart .bar-3 { height: 40%; }
.mini-chart .bar-4 { height: 64%; }
.mini-chart .bar-5 { height: 78%; }
.mini-chart .bar-6 { height: 92%; }

.trust-section {
    background:
        radial-gradient(circle at 85% 35%, rgba(99, 229, 138, 0.08), transparent 30rem),
        var(--bg);
}

.trust-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 100px;
}

.trust-copy {
    position: sticky;
    top: calc(var(--header-height) + 48px);
    align-self: start;
}

.trust-copy > p:not(.eyebrow) {
    color: var(--text-secondary);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--emerald);
    font-weight: 700;
}

.trust-list {
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    list-style: none;
}

.trust-list li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.trust-list li > span {
    color: var(--cyan);
    font: 600 12px/1.8 monospace;
}

.trust-list p {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.pricing-preview,
.pricing-page {
    background: var(--bg-deep);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 16px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.price-card-featured {
    border-color: rgba(99, 229, 138, 0.5);
    background:
        linear-gradient(160deg, rgba(22, 58, 40, 0.72), var(--surface) 42%);
    box-shadow: 0 22px 70px rgba(16, 77, 43, 0.16);
}

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 5px 9px;
    border: 1px solid rgba(99, 229, 138, 0.32);
    border-radius: 999px;
    background: rgba(99, 229, 138, 0.08);
    color: var(--emerald);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.price-card-head {
    min-height: 88px;
}

.price-card-head h3 {
    font-size: 28px;
}

.price-card-head p {
    color: var(--text-muted);
    font-size: 14px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 26px 0;
}

.price strong {
    font-size: 38px;
    letter-spacing: -0.04em;
}

.price span {
    color: var(--text-muted);
    font-size: 13px;
}

.price-card > ul {
    display: grid;
    gap: 10px;
    padding: 22px 0;
    margin: 0 0 26px;
    border-block: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    list-style: none;
}

.price-card > ul li::before {
    margin-right: 9px;
    color: var(--emerald);
    content: "✓";
}

.price-card > .button {
    width: 100%;
    margin-top: auto;
}

.trial-note {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(101, 199, 255, 0.25);
    border-radius: var(--radius-md);
    background: rgba(101, 199, 255, 0.06);
}

.trial-note > span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(101, 199, 255, 0.4);
    border-radius: 50%;
    color: var(--cyan);
    font-weight: 800;
}

.trial-note p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.faq-section {
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 100px;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-list details {
    border-bottom: 1px solid var(--border);
}

.faq-list summary {
    position: relative;
    padding: 24px 44px 24px 0;
    font-size: 17px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    position: absolute;
    top: 23px;
    right: 2px;
    color: var(--emerald);
    font-size: 22px;
    content: "+";
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 720px;
    padding: 0 44px 24px 0;
    margin: 0;
    color: var(--text-muted);
}

.final-cta {
    padding-top: 0;
    background: var(--bg);
}

.final-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    padding: 48px;
    border: 1px solid rgba(99, 229, 138, 0.28);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 80% 0, rgba(99, 229, 138, 0.13), transparent 24rem),
        var(--surface);
}

.final-cta h2 {
    max-width: 760px;
    margin-bottom: 10px;
    font-size: clamp(30px, 3.2vw, 46px);
}

.final-cta p:last-child {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--text-muted);
}

.site-footer {
    padding: 72px 0 28px;
    border-top: 1px solid var(--border);
    background: var(--bg-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
}

.footer-wordmark {
    margin-bottom: 20px;
}

.footer-note {
    max-width: 570px;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.site-footer nav {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 220px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 26px;
    margin-top: 48px;
    border-top: 1px solid var(--border);
    color: #718095;
    font-size: 12px;
}

.page-hero {
    padding: 112px 0 80px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 70% 10%, rgba(101, 199, 255, 0.11), transparent 30rem),
        var(--bg);
}

.page-hero h1 {
    font-size: clamp(44px, 5.6vw, 72px);
}

.page-hero .narrow > p:last-child,
.download-hero .download-grid > div:first-child > p:last-child {
    max-width: 740px;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 18px;
}

.pricing-grid-full .price-card {
    min-height: 680px;
}

.plan-details {
    display: grid;
    margin: 0 0 28px;
    border-top: 1px solid var(--border);
}

.plan-details div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.plan-details dt {
    color: var(--text-muted);
}

.plan-details dd {
    margin: 0;
    color: var(--text-secondary);
    text-align: right;
}

.comparison-section {
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: var(--surface);
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
    border-bottom: 0;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
    border-right: 0;
}

.comparison-table thead th {
    background: var(--surface-soft);
    color: var(--text);
    font-size: 14px;
}

.comparison-table tbody th {
    width: 31%;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.comparison-table td {
    color: var(--text-muted);
    font-size: 13px;
}

.comparison-table td:last-child {
    color: var(--emerald);
}

.plan-rules {
    padding-top: 0;
    background: var(--bg);
}

.rule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rule-grid article {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.rule-label {
    margin-bottom: 44px;
}

.download-hero {
    padding-block: 112px;
}

.download-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.download-panel {
    min-height: 390px;
    padding: 42px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 10%, rgba(232, 184, 93, 0.1), transparent 18rem),
        var(--surface);
    box-shadow: var(--shadow);
}

.download-panel h2 {
    margin-top: 28px;
    font-size: 36px;
}

.download-panel > p {
    color: var(--text-secondary);
}

.download-panel .button {
    width: 100%;
    margin-top: 18px;
}

.download-ready {
    border-color: rgba(99, 229, 138, 0.4);
}

.status-pill {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-pending {
    border-color: rgba(232, 184, 93, 0.36);
    background: rgba(232, 184, 93, 0.08);
    color: var(--warning);
}

.status-ready {
    border-color: rgba(99, 229, 138, 0.36);
    background: rgba(99, 229, 138, 0.08);
    color: var(--emerald);
}

.status-draft {
    border-color: rgba(167, 137, 255, 0.4);
    background: rgba(167, 137, 255, 0.08);
    color: #bdaaff;
}

.release-meta {
    display: grid;
    gap: 8px;
    margin-top: 26px;
}

.release-meta div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
}

.release-meta dt {
    color: var(--text-muted);
}

.release-meta dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.release-meta code {
    font-size: 11px;
}

.safety-section {
    background: var(--bg-deep);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.safety-grid article {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.safety-grid article > span {
    display: inline-block;
    margin-bottom: 48px;
    color: var(--emerald);
    font: 600 12px/1 monospace;
}

.download-warning {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    margin-top: 16px;
    padding: 22px 26px;
    border: 1px solid rgba(232, 184, 93, 0.28);
    border-radius: var(--radius-md);
    background: rgba(232, 184, 93, 0.05);
}

.download-warning strong {
    color: var(--warning);
}

.download-warning p {
    margin: 0;
    color: var(--text-secondary);
}

.legal-page {
    padding-block: 96px 120px;
    background:
        radial-gradient(circle at 15% 5%, rgba(167, 137, 255, 0.08), transparent 24rem),
        var(--bg);
}

.legal-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 760px);
    justify-content: center;
    gap: 80px;
}

.legal-status {
    position: sticky;
    top: calc(var(--header-height) + 40px);
    align-self: start;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.legal-status p {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.legal-content h1 {
    font-size: clamp(42px, 5vw, 64px);
}

.legal-lead {
    margin-bottom: 56px;
    color: var(--text-secondary);
    font-size: 18px;
}

.legal-content section {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

.legal-content section h2 {
    font-size: 24px;
}

.legal-content section p,
.legal-updated {
    color: var(--text-muted);
}

.legal-updated {
    padding: 18px 20px;
    margin-top: 30px;
    border: 1px solid rgba(167, 137, 255, 0.25);
    border-radius: var(--radius-sm);
    background: rgba(167, 137, 255, 0.05);
    font-size: 13px;
}

.not-found-page {
    display: grid;
    place-items: center;
    min-height: 680px;
    padding-block: 96px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(101, 199, 255, 0.1), transparent 26rem),
        var(--bg);
}

.not-found-inner {
    max-width: 760px;
}

.not-found-code {
    color: transparent;
    font-size: clamp(100px, 20vw, 220px);
    font-weight: 850;
    letter-spacing: -0.09em;
    line-height: 0.8;
    -webkit-text-stroke: 1px rgba(101, 199, 255, 0.32);
}

.not-found-page h1 {
    margin-top: 36px;
    font-size: clamp(42px, 5vw, 64px);
}

.not-found-page p:not(.eyebrow) {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.not-found-page .hero-actions {
    justify-content: center;
}

.account-page {
    min-height: 720px;
    padding-block: 96px 120px;
    background:
        radial-gradient(circle at 78% 8%, rgba(99, 229, 138, 0.09), transparent 30rem),
        var(--bg);
}

.account-container {
    max-width: 1120px;
}

.account-heading {
    max-width: 820px;
    margin-bottom: 44px;
}

.account-heading h1,
.account-state-card h1 {
    font-size: clamp(42px, 5.4vw, 68px);
}

.account-heading > p:last-child,
.account-state-card > p {
    color: var(--text-secondary);
    font-size: 17px;
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 16px;
}

.account-card,
.account-state-card {
    min-width: 0;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.account-card-primary {
    grid-row: span 2;
    border-color: rgba(99, 229, 138, 0.34);
    background:
        radial-gradient(circle at 90% 0, rgba(99, 229, 138, 0.1), transparent 20rem),
        var(--surface);
}

.account-card h2 {
    margin: 18px 0 4px;
    font-size: clamp(26px, 3vw, 36px);
}

.account-card .feature-kicker {
    margin-bottom: 26px;
}

.account-username {
    margin-bottom: 28px;
    color: var(--cyan);
    overflow-wrap: anywhere;
}

.account-details {
    display: grid;
    margin: 28px 0 0;
    border-top: 1px solid var(--border);
}

.account-details div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.account-details dt {
    color: var(--text-muted);
}

.account-details dd {
    min-width: 0;
    margin: 0;
    color: var(--text);
    text-align: right;
    overflow-wrap: anywhere;
}

.capability-list {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    list-style: none;
}

.capability-list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
}

.capability-list strong {
    flex: 0 0 auto;
}

.capability-available {
    color: var(--emerald);
}

.capability-unavailable {
    color: var(--text-muted);
}

.account-footnote,
.account-confirmation {
    color: var(--text-muted);
    font-size: 13px;
}

.account-footnote {
    margin: 24px 0 0;
}

.account-confirmation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 20px 24px;
    margin-top: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(14, 23, 34, 0.7);
}

.account-confirmation p {
    margin: 0;
}

.account-confirmation strong {
    color: var(--text-secondary);
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.account-actions form {
    margin: 0;
}

.account-actions button {
    min-width: 140px;
    cursor: pointer;
}

.account-state-card {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(30px, 6vw, 64px);
    text-align: left;
    box-shadow: var(--shadow);
}

.account-state-card form {
    margin-top: 32px;
}

.account-state-card button {
    cursor: pointer;
}

.account-free-note {
    padding: 16px 18px;
    border: 1px solid rgba(101, 199, 255, 0.25);
    border-radius: var(--radius-sm);
    background: rgba(101, 199, 255, 0.06);
}

.account-state-blocked {
    border-color: rgba(232, 184, 93, 0.38);
}

.account-notice {
    padding: 14px 16px;
    margin: 20px 0;
    border: 1px solid;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.account-notice-warning {
    border-color: rgba(232, 184, 93, 0.34);
    background: rgba(232, 184, 93, 0.07);
}

.account-notice-error {
    border-color: rgba(255, 126, 126, 0.34);
    background: rgba(255, 126, 126, 0.07);
}

@media (min-width: 1181px) {
    .hero-copy h1 {
        font-size: clamp(44px, 3.35vw, 48px);
    }

    .hero-title-line {
        display: block;
    }

    .hero-title-line + .hero-title-line::before {
        content: none;
    }
}

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        width: min(calc(100% - 40px), var(--container));
        min-height: auto;
        padding-block: 80px;
    }

    .hero {
        min-height: auto;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-visual {
        grid-row: 2;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-card:nth-child(2) {
        border-right: 0;
    }

    .benefit-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-column: auto;
    }

    .mini-chart {
        display: none;
    }
}

@media (max-width: 960px) {
    :root {
        --header-height: 72px;
    }

    .container {
        width: min(calc(100% - 40px), var(--container));
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .section {
        padding-block: 88px;
    }

    .section-heading-split {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .workflow-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 0;
    }

    .trust-grid,
    .faq-grid,
    .download-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .trust-copy {
        position: static;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-inline: auto;
    }

    .pricing-grid-full .price-card {
        min-height: auto;
    }

    .rule-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .final-cta-inner .button {
        justify-self: start;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal-status {
        position: static;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-card-primary {
        grid-row: auto;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    h1 {
        font-size: clamp(38px, 11vw, 56px);
    }

    h2 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .hero-grid {
        gap: 40px;
        padding-block: 64px 72px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-facts {
        display: grid;
        gap: 8px;
    }

    .hero-image-frame {
        border-radius: var(--radius-md);
    }

    .section {
        padding-block: 72px;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .benefit-grid,
    .feature-grid,
    .safety-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .benefit-card:nth-child(3) {
        border-bottom: 1px solid var(--border);
    }

    .benefit-card:last-child {
        border-bottom: 0;
    }

    .card-index,
    .feature-kicker,
    .rule-label,
    .safety-grid article > span {
        margin-bottom: 30px;
    }

    .workflow-list {
        grid-template-columns: 1fr;
        gap: 0;
        border-top: 0;
    }

    .workflow-list li {
        display: grid;
        grid-template-columns: 50px 1fr;
        gap: 12px;
        padding: 24px 0;
        border-top: 1px solid var(--border);
    }

    .workflow-list li::before {
        display: none;
    }

    .workflow-list li > span {
        margin: 6px 0 0;
    }

    .feature-card {
        min-height: 240px;
    }

    .trust-list li {
        grid-template-columns: 42px 1fr;
    }

    .price-card,
    .download-panel {
        padding: 24px;
    }

    .popular-badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 18px;
    }

    .trial-note {
        grid-template-columns: 1fr;
    }

    .trial-note > span {
        width: auto;
        height: auto;
        justify-self: start;
        padding: 8px 12px;
        border-radius: 999px;
    }

    .final-cta-inner {
        padding: 30px 24px;
    }

    .final-cta-inner .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        display: grid;
        gap: 6px;
    }

    .page-hero,
    .download-hero {
        padding-block: 72px;
    }

    .page-hero h1 {
        font-size: clamp(40px, 12vw, 56px);
    }

    .download-panel {
        min-height: auto;
    }

    .download-warning {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .legal-page {
        padding-block: 64px 88px;
    }

    .account-page {
        padding-block: 64px 88px;
    }

    .account-card,
    .account-state-card {
        padding: 24px;
    }

    .account-details div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .account-details dd {
        text-align: left;
    }

    .account-actions {
        display: grid;
    }

    .account-actions form,
    .account-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
