:root {
    --navy: #10243e;
    --navy-dark: #091a2f;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --teal: #0f9f9a;
    --text: #172033;
    --muted: #64748b;
    --border: #e2e8f0;
    --background: #f8fafc;
    --white: #ffffff;
    --radius: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    height: 96px;
    border-bottom: 1px solid var(--border);
    background: white;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 35px;
}

.logo img {
    display: block;
    width: 180px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.main-nav a {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 15px;
}

.login-link {
    font-size: 14px;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    color: white;
    background: var(--blue);
}

.btn-primary:hover {
    background: #1d4ed8;
}


/* HERO */

.hero {
    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef5ff 100%
        );

    padding: 95px 0 105px;
}

.hero-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-text {
    max-width: 800px;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: var(--navy);
}

.hero h1 span {
    color: var(--blue);
}

.hero-text > p {
    margin: 25px auto 32px;
    max-width: 600px;
    font-size: 20px;
    color: var(--muted);
}

.hero-search {
    max-width: 680px;
    margin: 0 auto;
}

.hero-search form {
    display: flex;
    padding: 6px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(15, 35, 60, .10);
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 18px;
    font-size: 16px;
}

.hero-search button {
    border: none;
    background: var(--blue);
    color: white;
    padding: 0 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.popular-searches {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--muted);
    font-size: 13px;
}

.popular-searches a {
    color: var(--blue);
}


/* SECTIONS */

.categories,
.how-it-works {
    padding: 90px 0;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading.centered {
    text-align: center;
}

.section-heading h2 {
    font-size: 38px;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--muted);
}


/* CATEGORY CARDS */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    transition: .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 15px 35px rgba(15, 35, 60, .08);
}

.category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 25px;
    margin-bottom: 20px;
}

.category-card h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.category-card p {
    color: var(--muted);
    font-size: 14px;
    min-height: 48px;
}

.category-link {
    display: block;
    margin-top: 20px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}


/* STEPS */

.how-it-works {
    background: var(--background);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.step-number {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
}


/* CTA */

.cta-section {
    padding: 90px 20px;
    text-align: center;
    background: var(--navy);
    color: white;
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.cta-section p {
    color: #cbd5e1;
    margin-bottom: 25px;
}

.btn-light {
    background: white;
    color: var(--navy);
}


/* FOOTER */

.site-footer {
    padding: 60px 0 25px;
    background: #071525;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 800;
}

.footer-grid p {
    color: #94a3b8;
    margin-top: 10px;
}

.footer-grid h4 {
    margin-bottom: 15px;
}

.footer-grid a {
    display: block;
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 12px;
}

.disclaimer {
    max-width: 600px;
    color: #64748b;
}


/* MOBILE */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding: 65px 0 75px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-search form {
        flex-direction: column;
    }

    .hero-search button {
        height: 48px;
    }

    .category-grid,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .login-link {
        display: none;
    }
}


/* =========================================
DOCUMENT CATALOG
========================================= */

.page-header {
padding: 70px 0;
background: var(--background);
border-bottom: 1px solid var(--border);
}

.page-header h1 {
margin-bottom: 12px;
font-size: 48px;
line-height: 1.1;
color: var(--navy);
}

.page-header p {
max-width: 700px;
color: var(--muted);
font-size: 17px;
}

.documents-section {
padding: 60px 0 100px;
}

.documents-toolbar {
margin-bottom: 40px;
}

.document-search {
display: flex;
max-width: 650px;
margin-bottom: 25px;
}

.document-search input {
flex: 1;
padding: 14px 16px;
border: 1px solid var(--border);
border-radius: 8px 0 0 8px;
outline: none;
font-size: 15px;
}

.document-search input:focus {
border-color: var(--blue);
}

.document-search button {
padding: 0 25px;
border: none;
background: var(--blue);
color: white;
border-radius: 0 8px 8px 0;
font-weight: 700;
cursor: pointer;
}

.category-links {
display: flex;
flex-wrap: wrap;
gap: 8px;
}

.category-links a {
padding: 8px 14px;
border: 1px solid var(--border);
border-radius: 100px;
color: var(--muted);
font-size: 13px;
background: white;
}

.category-links a:hover,
.category-links a.active {
color: var(--blue);
border-color: #bfdbfe;
background: var(--blue-light);
}

/* DOCUMENT CARDS */

.document-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}

.document-card {
display: flex;
flex-direction: column;
padding: 28px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: white;
min-height: 280px;
transition: .2s ease;
}

.document-card:hover {
transform: translateY(-3px);
border-color: #bfdbfe;
box-shadow: 0 15px 35px rgba(15, 35, 60, .08);
}

.document-card-top {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}

.document-category {
color: var(--blue);
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: .8px;
}

.document-price {
color: var(--navy);
font-size: 13px;
font-weight: 800;
}

.document-card h2 {
margin-bottom: 10px;
color: var(--navy);
font-size: 21px;
line-height: 1.25;
}

.document-card p {
color: var(--muted);
font-size: 14px;
line-height: 1.6;
}

.document-card-footer {
margin-top: auto;
padding-top: 25px;
}

/* EMPTY STATE */

.empty-state {
padding: 70px 20px;
text-align: center;
border: 1px dashed var(--border);
border-radius: var(--radius);
background: var(--background);
}

.empty-state h2 {
margin-bottom: 8px;
color: var(--navy);
}

.empty-state p {
margin-bottom: 20px;
color: var(--muted);
}

/* MOBILE */

@media (max-width: 900px) {

.document-grid {
    grid-template-columns: repeat(2, 1fr);
}


}

@media (max-width: 600px) {

.page-header {
    padding: 50px 0;
}

.page-header h1 {
    font-size: 38px;
}

.document-grid {
    grid-template-columns: 1fr;
}

.document-search {
    flex-direction: column;
}

.document-search input {
    border-radius: 8px;
}

.document-search button {
    margin-top: 8px;
    height: 46px;
    border-radius: 8px;
}


}


/* =========================================
DOCUMENT DETAIL PAGE
========================================= */

.document-hero {
padding: 65px 0 80px;
background:
linear-gradient(
135deg,
#f8fbff 0%,
#eef5ff 100%
);
}

.document-breadcrumb {
display: flex;
gap: 10px;
margin-bottom: 45px;
color: var(--muted);
font-size: 13px;
}

.document-breadcrumb a {
color: var(--blue);
}

.document-hero-content {
max-width: 800px;
}

.document-hero h1 {
margin-bottom: 20px;
color: var(--navy);
font-size: clamp(40px, 5vw, 62px);
line-height: 1.08;
letter-spacing: -2px;
}

.document-hero p {
max-width: 680px;
margin-bottom: 30px;
color: var(--muted);
font-size: 19px;
}

.btn-large {
padding: 15px 26px;
font-size: 15px;
}

.document-info {
padding: 80px 0;
}

.document-info-grid {
display: grid;
grid-template-columns: 1.6fr .8fr;
gap: 80px;
}

.document-info h2 {
margin-bottom: 15px;
color: var(--navy);
font-size: 32px;
}

.document-info h3 {
margin-top: 35px;
margin-bottom: 15px;
color: var(--navy);
}

.document-info p {
color: var(--muted);
max-width: 700px;
}

.check-list {
list-style: none;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.check-list li {
color: #475569;
}

.check-list li::before {
content: "✓";
margin-right: 9px;
color: var(--teal);
font-weight: 800;
}

.price-box {
padding: 30px;
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: 0 15px 35px rgba(15, 35, 60, .08);
}

.price-box span {
display: block;
color: var(--muted);
font-size: 13px;
}

.price-box strong {
display: block;
margin: 5px 0;
color: var(--navy);
font-size: 36px;
}

.price-box p {
margin-bottom: 20px;
font-size: 13px;
}

.document-disclaimer {
padding: 30px 0;
background: #f8fafc;
border-top: 1px solid var(--border);
}

.document-disclaimer p {
max-width: 900px;
color: var(--muted);
font-size: 12px;
}

@media (max-width: 700px) {

.document-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

.check-list {
    grid-template-columns: 1fr;
}


}


/* =========================================
QUESTIONNAIRE
========================================= */

.questionnaire-start {
padding: 90px 0 110px;
background: var(--background);
min-height: 650px;
}

.questionnaire-intro {
max-width: 760px;
margin: 0 auto;
text-align: center;
}

.questionnaire-intro h1 {
margin-bottom: 20px;
color: var(--navy);
font-size: clamp(38px, 5vw, 58px);
line-height: 1.1;
}

.questionnaire-intro > p {
max-width: 620px;
margin: 0 auto 35px;
color: var(--muted);
font-size: 18px;
}

.questionnaire-info {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 25px;
margin-bottom: 35px;
color: #475569;
font-size: 14px;
}

.questionnaire-info strong {
color: var(--teal);
margin-right: 5px;
}

.back-link {
margin-top: 20px;
font-size: 14px;
}

.back-link a {
color: var(--muted);
}

.back-link a:hover {
color: var(--blue);
}

/* QUESTION PAGE */

.questionnaire-page {
padding: 60px 0 100px;
background: var(--background);
min-height: 700px;
}

.questionnaire-header {
max-width: 760px;
margin: 0 auto 40px;
}

.progress-label {
margin-bottom: 8px;
color: var(--blue);
font-size: 12px;
font-weight: 800;
letter-spacing: 1px;
}

.progress-bar {
height: 6px;
margin-bottom: 35px;
overflow: hidden;
border-radius: 20px;
background: #dbeafe;
}

.progress-bar-fill {
height: 100%;
border-radius: inherit;
background: var(--blue);
}

.questionnaire-header h1 {
margin-bottom: 5px;
color: var(--navy);
font-size: 38px;
}

.questionnaire-header p {
color: var(--muted);
}

.questionnaire-form {
max-width: 760px;
margin: 0 auto;
padding: 40px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: white;
box-shadow: 0 15px 40px rgba(15, 35, 60, .06);
}

.form-group {
margin-bottom: 28px;
}

.form-group label {
display: block;
margin-bottom: 8px;
color: var(--navy);
font-size: 15px;
font-weight: 700;
}

.required {
color: #dc2626;
}

.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: 13px 14px;
border: 1px solid #cbd5e1;
border-radius: 8px;
outline: none;
background: white;
color: var(--text);
font-family: inherit;
font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
border-color: var(--blue);
box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.form-group textarea {
resize: vertical;
}

.input-with-prefix {
display: flex;
align-items: stretch;
}

.input-with-prefix span {
display: flex;
align-items: center;
padding: 0 14px;
border: 1px solid #cbd5e1;
border-right: none;
border-radius: 8px 0 0 8px;
background: #f8fafc;
color: var(--muted);
}

.input-with-prefix input {
border-radius: 0 8px 8px 0;
}

.field-error {
margin-top: 6px;
color: #dc2626;
font-size: 13px;
}

.form-error-summary {
max-width: 760px;
margin: 0 auto 20px;
padding: 14px 18px;
border: 1px solid #fecaca;
border-radius: 8px;
background: #fef2f2;
color: #b91c1c;
font-size: 14px;
}

.questionnaire-actions {
display: flex;
justify-content: space-between;
align-items: center;
gap: 15px;
margin-top: 40px;
padding-top: 25px;
border-top: 1px solid var(--border);
}

.btn-secondary {
border: 1px solid var(--border);
background: white;
color: var(--text);
}

.btn-secondary:hover {
background: var(--background);
}

@media (max-width: 600px) {

.questionnaire-form {
    padding: 25px 20px;
}

.questionnaire-actions {
    flex-direction: column-reverse;
}

.questionnaire-actions .btn {
    width: 100%;
}

.questionnaire-info {
    flex-direction: column;
    gap: 10px;
}


}

.review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 32px;
}

.review-card-header {
    padding: 28px;
    border-bottom: 1px solid #e5e7eb;
}

.review-card-header h2 {
    margin: 6px 0 0;
}

.review-list {
    padding: 0 28px;
}

.review-item {
    padding: 22px 0;
    border-bottom: 1px solid #e5e7eb;
}

.review-item:last-child {
    border-bottom: 0;
}

.review-question {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 7px;
}

.review-answer {
    font-size: 17px;
    color: #111827;
    line-height: 1.6;
}

@media (max-width: 700px) {

    .review-card-header,
    .review-list {
        padding-left: 20px;
        padding-right: 20px;
    }

    .questionnaire-actions {
        flex-direction: column;
    }

    .questionnaire-actions .btn {
        width: 100%;
        text-align: center;
    }
}

