* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: var(--line-height);
    background: radial-gradient(1200px 600px at 20% 0%, rgba(59, 130, 246, 0.22), transparent 65%),
        radial-gradient(800px 400px at 80% 10%, rgba(59, 130, 246, 0.16), transparent 60%),
        var(--color-bg);
    color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    line-height: 1.2;
}

h3 {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.3;
}

a {
    color: inherit;
}

.container {
    width: min(var(--container), calc(100% - 2 * var(--space-5)));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: var(--space-5);
    top: var(--space-5);
    width: auto;
    height: auto;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #ffffff;
    z-index: 1000;
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(11, 18, 32, 0.75);
    border-bottom: 1px solid var(--color-border);
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    font-weight: 700;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-primary), #22c55e);
    color: #07111f;
    font-weight: 900;
}

.brand-name {
    letter-spacing: 0.2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.site-nav a {
    text-decoration: none;
    color: var(--color-text);
    opacity: 0.9;
}

.site-nav a:hover {
    opacity: 1;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-3);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.button-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-700));
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.35);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04);
}

.hero {
    padding: var(--space-8) 0 var(--space-7);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-7);
    align-items: start;
}

.hero h1 {
    margin: 0 0 var(--space-4);
}

.lead {
    font-size: 1.12rem;
    color: rgba(229, 231, 235, 0.92);
    margin: 0 0 var(--space-5);
}

.hero-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-5);
}

.fineprint {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.hero-card {
    background: rgba(18, 27, 46, 0.65);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-1);
    padding: var(--space-5);
}

.checklist {
    margin: 0;
    padding-left: 18px;
}

.section {
    padding: var(--space-7) 0;
}

.section-muted {
    position: relative;
    background: rgba(18, 27, 46, 0.3);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-muted::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.03), transparent);
    pointer-events: none;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-5);
}

.cards-3col {
    grid-template-columns: repeat(3, 1fr);
}

.cta {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: var(--space-4);
}

.cta p {
    margin-bottom: var(--space-6);
}

.card {
    background: rgba(18, 27, 46, 0.55);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
}

.card h2,
.card h3 {
    margin-top: 0;
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.tag {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.04);
}

.page-header {
    padding: var(--space-7) 0 var(--space-5);
}

.page-header h1 {
    margin: 0 0 var(--space-4);
}

.page-header .lead {
    max-width: 720px;
}

.section h2 {
    margin-top: 0;
    margin-bottom: var(--space-5);
}

.section h2 + p {
    margin-top: 0;
}

.section h2 + .step-subtitle {
    margin-top: -16px;
}

.section h2 + .step-subtitle::before {
    display: none;
}

.section p:last-child {
    margin-bottom: 0;
}

.step-subtitle {
    position: relative;
    font-size: 1.15rem;
    color: rgba(229, 231, 235, 0.75);
    margin-bottom: var(--space-5);
    padding-bottom: 16px;
    font-style: italic;
}

.step-subtitle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.step-text {
    font-size: 0.95rem;
    color: rgba(229, 231, 235, 0.82);
}

.steps {
    counter-reset: step-counter;
    margin: var(--space-4) 0 0;
    padding-left: 18px;
}

.steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: var(--space-6);
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #0a0e1a;
    font-weight: 700;
    font-size: 0.9rem;
    display: grid;
    place-items: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.pricing-card {
    position: relative;
    padding: var(--space-6) var(--space-5);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: rgba(18, 27, 46, 0.55);
}

.pricing-card-featured {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: var(--shadow-1);
}

.badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.35);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: rgba(229, 231, 235, 0.95);
}

.price {
    font-size: 2.1rem;
    font-weight: 800;
    margin: var(--space-3) 0 var(--space-4);
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-muted);
}

.list {
    margin: 0;
    padding-left: 18px;
}

.list-icon {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-icon li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.list-icon li:last-child {
    margin-bottom: 0;
}

.list-icon svg {
    flex-shrink: 0;
    margin-top: 3px;
    width: 20px;
    height: 20px;
}

.faq details {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    background: rgba(18, 27, 46, 0.4);
}

.faq details + details {
    margin-top: var(--space-3);
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
}

.cta {
    text-align: center;
    padding: var(--space-7) var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(18, 27, 46, 0.55);
}

.form-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.5fr;
    gap: var(--space-6);
    align-items: start;
}

.form {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    background: rgba(18, 27, 46, 0.55);
}

.form-row {
    display: grid;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
    padding: 10px 12px;
    font: inherit;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

select option {
    background: #1e293b;
    color: #e2e8f0;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: 2px solid rgba(59, 130, 246, 0.55);
    outline-offset: 2px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.checkbox span {
    flex: 1;
    line-height: 1.5;
}

.field-error {
    margin: 0;
    color: rgba(239, 68, 68, 0.95);
}

.form-actions {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.form-actions .button {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
}

.form-success {
    margin-top: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.12);
}

.site-footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-6) 0;
    background: rgba(11, 18, 32, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-6);
}

.footer-brand {
    font-weight: 800;
    margin-bottom: var(--space-2);
}

.footer-title {
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-2);
}

.footer-links a {
    text-decoration: none;
    color: rgba(229, 231, 235, 0.9);
}

.footer-bottom {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    padding: var(--space-4);
    z-index: 20;
}

.cookie-banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: rgba(18, 27, 46, 0.92);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.cookie-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.prose h2 {
    margin-top: 0;
}

.icon {
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

h2, h3 {
    position: relative;
}

.section:not(.section-muted) h2::before,
.section-muted h2:not(.section h2 + .step-subtitle ~ *)::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

h2:has(+ .step-subtitle)::before {
    display: none;
}

