* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #111827;
    background: #f3f4f6;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.nowrap {
    white-space: nowrap;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.logo span {
    color: #60a5fa;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-size: 0.9rem;
    color: #e5e7eb;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

.nav-list a:hover {
    background: rgba(148, 163, 184, 0.25);
    text-decoration: none;
}

.nav-cta a {
    background: #2563eb;
    color: #f9fafb;
    font-weight: 600;
}

.nav-cta a:hover {
    background: #1d4ed8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 18px;
    margin: 0 auto;
    background: #e5e7eb;
    border-radius: 999px;
}

/* Hero */

.hero {
    background: #ffffff;
    color: #111827;
    padding: 3rem 0 2.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.hero-inner {
    display: block;
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #bfdbfe;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.lead {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.hero-benefits h2 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.hero-benefits ul {
    padding-left: 1.1rem;
    margin: 0 0 1.25rem;
}

.hero-benefits li {
    margin-bottom: 0.35rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}

.btn-primary {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: #f9fafb;
}

.btn-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #4338ca);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-outline {
    border-color: rgba(191, 219, 254, 0.8);
    color: #1f2937;
    background: transparent;
}

.btn-outline:hover {
    background: #e5f0ff;
    text-decoration: none;
}

.subtext {
    font-size: 0.88rem;
    color: #6b7280;
    margin: 0.25rem 0;
}

.cta-strong {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #374151;
}

.hero-card {
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.24), rgba(15, 23, 42, 0.98));
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 1.4rem 1.3rem 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
}

.hero-card h2 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
}

.hero-card ol {
    padding-left: 1.1rem;
    margin: 0 0 0.9rem;
}

.hero-card li {
    margin-bottom: 0.4rem;
}

.hero-card .note {
    font-size: 0.8rem;
    color: #d1d5db;
}

/* Content Sections */

.content-section {
    padding: 3rem 0;
    background: #f3f4f6;
}

.content-section.alt {
    background: #ffffff;
}

.content-section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.content-section h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.35rem;
}

.content-section p {
    line-height: 1.7;
    font-size: 0.97rem;
}

.step-block {
    margin-top: 1.4rem;
    padding: 1.1rem 1.1rem 1.15rem;
    border-radius: 0.9rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.alt .step-block {
    background: #f3f4ff;
}

.step-block h3,
.step-block h4 {
    margin-top: 0;
}

.step-block ul {
    padding-left: 1.1rem;
    margin: 0.4rem 0 0.75rem;
}

.hero-media,
.section-visual {
    margin-top: 1.5rem;
}

.hero-media img,
.section-visual img {
    display: block;
    width: 100%;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.cta-band {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: 0.9rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.cta-band-text {
    font-size: 0.95rem;
    color: #1f2937;
}

.cta-band-bottom {
    margin-top: 1.75rem;
}

.pro-tip {
    font-size: 0.9rem;
    background: rgba(59, 130, 246, 0.04);
    border-left: 3px solid #2563eb;
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
}

.numbered-list {
    padding-left: 1.1rem;
}

.numbered-list > li {
    margin-bottom: 1.25rem;
}

.table-wrapper {
    margin-top: 1.1rem;
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.9rem;
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
}

caption {
    text-align: left;
    font-weight: 600;
    padding: 0.6rem 0.75rem;
}

thead {
    background: #eff6ff;
}

th, td {
    padding: 0.55rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

tr:last-child td {
    border-bottom: none;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.info-card {
    background: #f9fafb;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    padding: 0.95rem 0.95rem 1.05rem;
}

.info-card h3 {
    margin-top: 0;
}

.info-card ul {
    padding-left: 1.1rem;
}

.faq-list article {
    margin-top: 1.1rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #e5e7eb;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.legal-grid article {
    background: #f9fafb;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    padding: 0.9rem 0.95rem 1rem;
}

/* Footer */

.site-footer {
    background: #020617;
    color: #9ca3af;
    padding: 1.5rem 0;
    border-top: 1px solid #111827;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.footer-main {
    max-width: 540px;
}

.footer-small {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-nav a {
    color: #e5e7eb;
    font-size: 0.84rem;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* Back to top */

.back-to-top {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.92);
    color: #e5e7eb;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.75);
    z-index: 35;
}

.back-to-top:hover {
    background: #111827;
}

.back-to-top.show {
    display: flex;
}

/* Legal pages basic layout */

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1 0 auto;
    padding: 3rem 0 2.5rem;
}

.page-main h1 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.page-main h2 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.page-main p,
.page-main li {
    font-size: 0.96rem;
    line-height: 1.7;
}

.breadcrumb {
    font-size: 0.83rem;
    margin-bottom: 0.75rem;
    color: #6b7280;
}

/* Responsive */

@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding-inline: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: rgba(15, 23, 42, 0.97);
        transform-origin: top;
        transform: scaleY(0.9);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
    }

    .main-nav.open {
        opacity: 1;
        transform: scaleY(1);
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1.1rem 1rem;
    }

    .nav-cta a {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding-top: 3.2rem;
    }
}

@media (max-width: 640px) {
    .content-section {
        padding: 2.4rem 0;
    }

    table {
        font-size: 0.82rem;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
