*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    color: #111827;
    background: #ffffff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.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;
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1160px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(18px);
}

.site-footer {
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

.brand {
    font-weight: 760;
    letter-spacing: 0;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.92rem;
    font-weight: 650;
}

.hero,
.section,
.band {
    max-width: 1160px;
    margin: 0 auto;
    padding: 4rem 1.25rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
    grid-template-areas:
        "media media"
        "copy panel";
    gap: 2rem;
    align-items: start;
    min-height: 68vh;
}

.hero__copy {
    grid-area: copy;
}

.hero__panel {
    grid-area: panel;
}

.hero-media {
    grid-area: media;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f3f4f6;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

.hero-media--wide {
    aspect-ratio: 16 / 10;
    max-height: 440px;
}

.hero-media picture,
.hero-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-media img {
    object-fit: cover;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
}

p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.lead {
    max-width: 720px;
    color: #4b5563;
    font-size: 1.16rem;
    line-height: 1.75;
}

.actions,
.step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #111827;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background: #111827;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 750;
    cursor: pointer;
}

.button--secondary {
    border-color: #d1d5db;
    background: #ffffff;
    color: #111827;
}

.button--ghost {
    border-color: transparent;
    background: #f3f4f6;
    color: #374151;
}

.hero__panel,
.fact,
.product-card,
.funnel-panel,
details {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

.hero__panel {
    padding: 1.4rem;
}

.hero__panel span,
.product-card span,
.question-section {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: #0f766e;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero__panel strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1;
}

.hero__panel p,
.fact p,
.product-card p,
.funnel-intro p,
details p,
.question-help {
    color: #4b5563;
    line-height: 1.65;
}

.band {
    padding-top: 0;
}

.grid {
    display: grid;
    gap: 1rem;
}

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

.grid--products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact,
.product-card {
    padding: 1rem;
}

.section__head {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.funnel-section {
    max-width: none;
    background: #f8fafc;
}

.funnel-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    grid-template-areas:
        "heading intro"
        "panel intro";
    gap: 1.25rem;
    max-width: 1160px;
    margin: 0 auto;
    align-items: start;
}

.funnel-heading {
    grid-area: heading;
    max-width: 100%;
}

.funnel-intro {
    grid-area: intro;
}

.funnel-intro ol {
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.funnel-intro li {
    display: grid;
    gap: 0.25rem;
    border-left: 3px solid #0f766e;
    padding-left: 0.75rem;
}

.funnel-panel {
    grid-area: panel;
    padding: 1.25rem;
}

.progress {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.84rem;
    font-weight: 750;
}

.progress div {
    height: 0.55rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #0f766e;
}

.notice {
    margin-bottom: 1rem;
    border-radius: 8px;
    padding: 0.8rem 0.9rem;
}

.notice.error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.notice.success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.choice-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.choice-list label,
.checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.85rem;
    cursor: pointer;
}

.text-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.78rem 0.85rem;
    outline: none;
}

.text-input:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.funnel-complete {
    display: grid;
    gap: 1rem;
}

.handoff-box {
    display: grid;
    gap: 0.8rem;
    border: 1px solid #d1d5db;
    border-left: 4px solid #0f766e;
    border-radius: 8px;
    padding: 1rem;
    background: #f8fafc;
}

.handoff-box h4 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.handoff-box p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.summary-list {
    display: grid;
    gap: 0.55rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.summary-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.55rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

details {
    padding: 1rem;
}

summary {
    cursor: pointer;
    font-weight: 800;
}

.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 1.25rem;
}

.legal-page section {
    margin-top: 2rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4.875rem 1.5rem 5.5rem;
}

.legal-content h1 {
    margin: 0 0 2.25rem;
    font-size: clamp(1.4rem, 7vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: 0;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}

.legal-content section {
    border-top: 1px solid #e5e7eb;
    padding: 1.75rem 0;
}

.legal-content h2 {
    margin: 0 0 0.75rem;
    font-size: 1.375rem;
}

.legal-content p {
    margin: 0 0 0.875rem;
    color: #4b5563;
    line-height: 1.7;
}

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

.legal-content a {
    color: #0f766e;
    font-weight: 720;
}

.admin {
    background: #f8fafc;
}

.adminbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.9rem 1.25rem;
    background: #ffffff;
}

.dashboard {
    display: grid;
    gap: 1rem;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.25rem;
}

.metrics,
.split {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric,
.panel {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.metric span {
    display: block;
    margin-bottom: 0.4rem;
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.metric strong {
    display: block;
    font-size: 1.3rem;
    overflow-wrap: anywhere;
}

.panel {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th,
td {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.65rem;
    text-align: left;
    vertical-align: top;
}

th {
    color: #4b5563;
    font-size: 0.76rem;
    text-transform: uppercase;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.toolbar > div,
.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-pill {
    display: inline-flex;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    background: #f9fafb;
    color: #374151;
    font-size: 0.78rem;
    font-weight: 800;
}

.compact-list {
    display: grid;
    gap: 0.3rem;
    padding-left: 1rem;
    margin: 0;
}

@media (max-width: 860px) {
    .hero,
    .grid--3,
    .grid--products,
    .form-grid,
    .metrics,
    .split {
        grid-template-columns: 1fr;
    }

    .funnel-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "panel"
            "intro";
    }

    .hero {
        grid-template-areas:
            "media"
            "copy"
            "panel";
        min-height: auto;
    }

    .hero-media--wide {
        aspect-ratio: 16 / 9;
        max-height: none;
    }
}
