:root {
    --bg: #f7f1e7;
    --surface: #ffffff;
    --surface-soft: #f2e6d6;
    --line: #dfd1c0;
    --text: #1f1a17;
    --text-soft: #5d554e;
    --brand: #c85d18;
    --brand-dark: #9f4611;
    --brand-soft: #f5c28a;
    --accent: #3f2e23;

    --shadow-sm: 0 8px 24px rgba(31, 26, 23, 0.08);
    --shadow-md: 0 18px 42px rgba(31, 26, 23, 0.12);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 9999px;

    --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(circle at 6% 0%, rgba(200, 93, 24, 0.11), transparent 33%),
        radial-gradient(circle at 94% 6%, rgba(63, 46, 35, 0.10), transparent 34%),
        var(--bg);
    line-height: 1.55;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

button,
input {
    font: inherit;
    border: none;
    background: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.preloader {
    position: fixed;
    inset: 0;
    background: #f4ebdf;
    display: grid;
    place-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(200, 93, 24, 0.24);
    border-top-color: var(--brand);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 11px 20px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.header.scrolled .nav {
    box-shadow: var(--shadow-md);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.logo-image {
    height: 36px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #665e56;
}

.nav-link:hover {
    background: #f0e6d9;
    color: #1f1a17;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b45515, #8f3d0f);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid #d9cdbc;
    color: #1f1a17;
}

.btn-secondary:hover {
    border-color: #c8b8a3;
    background: #fff6ea;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 7px 14px;
    background: #f7e1c3;
    color: #8c3f10;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.badge-outline {
    border: 1px solid #e8c99b;
    background: #fff2df;
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.mobile-toggle span {
    width: 16px;
    height: 2px;
    background: #1f1a17;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    padding: 76px 0 64px;
}

.hero-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    background: linear-gradient(140deg, #fff9ef, #f5ecde);
    border: 1px solid #e5cfaf;
    border-radius: var(--radius-lg);
    padding: 42px;
    box-shadow: var(--shadow-md);
}

.hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.07;
    letter-spacing: -0.03em;
}

.hero-copy p {
    margin-top: 16px;
    max-width: 600px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-points {
    margin-top: 28px;
    display: grid;
    gap: 10px;
}

.hero-points li {
    position: relative;
    padding-left: 20px;
    color: #4f473f;
    font-size: 15px;
    line-height: 1.6;
}

.hero-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.hero-dashboard {
    display: grid;
    gap: 10px;
    align-content: start;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dash-card {
    background: #ffffff;
    border: 1px solid #e6d8c3;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: 0 8px 20px rgba(31, 26, 23, 0.06);
}

.dash-card-main {
    background: linear-gradient(135deg, #c85d18, #3f2e23);
    border-color: transparent;
    color: #ffffff;
}

.dash-card p {
    font-size: 12px;
    font-weight: 600;
    color: #5a524b;
}

.dash-card strong {
    margin-top: 6px;
    display: block;
    font-size: 23px;
    letter-spacing: -0.02em;
}

.dash-card span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6f665f;
}

.dash-card-main p,
.dash-card-main span {
    color: rgba(255, 255, 255, 0.86);
}

.dash-list {
    padding: 0;
    overflow: hidden;
}

.dash-list-head {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e8dcc8;
    font-size: 11px;
    font-weight: 700;
    color: #5d554e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dash-list ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    font-size: 13px;
}

.dash-list ul li + li {
    border-top: 1px solid #f1e7d7;
}

.dash-list strong {
    color: #9b531d;
    font-size: 13px;
}

.hero-metrics {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    background: #ffffff;
    border: 1px solid #dfd1c0;
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.metric-card h3 {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.metric-card p {
    margin-top: 10px;
    color: #635b53;
    font-size: 14px;
    line-height: 1.65;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-header h2 {
    margin-top: 14px;
    font-size: clamp(30px, 4.8vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-header p {
    margin-top: 14px;
    max-width: 680px;
    margin-inline: auto;
    color: var(--text-soft);
    line-height: 1.68;
}

.pain,
.feature-rows,
.steps,
.pricing,
.faq,
.cta {
    padding: 104px 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pain-card {
    background: #ffffff;
    border: 1px solid #e2d2bb;
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.pain-card h3 {
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pain-card p {
    margin-top: 10px;
    color: #635c55;
    line-height: 1.68;
}

.feature-rows {
    background: rgba(255, 255, 255, 0.55);
    border-top: 1px solid #e9d7bf;
    border-bottom: 1px solid #e9d7bf;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: center;
}

.feature-row + .feature-row {
    margin-top: 28px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-panel {
    background: #ffffff;
    border: 1px solid #e6d5bf;
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.panel-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f1a17;
    margin-bottom: 12px;
}

.panel-line {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #f2e5d3;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
}

.panel-line + .panel-line {
    margin-top: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

.panel-line strong {
    font-size: 12px;
    color: #9b531d;
}

.panel-summary {
    margin-top: 10px;
    padding: 11px;
    border-radius: 10px;
    background: #fff2e1;
    color: #8b4a16;
    font-size: 13px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.schedule-grid div {
    border: 1px solid #f2e5d3;
    border-radius: 10px;
    padding: 10px;
}

.schedule-grid small {
    display: block;
    font-size: 11px;
    color: #6f665f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.schedule-grid strong {
    margin-top: 4px;
    display: block;
    font-size: 15px;
    color: #1f1a17;
}

.sponsor-item {
    border: 1px solid #f2e5d3;
    border-radius: 10px;
    padding: 10px;
}

.sponsor-item + .sponsor-item {
    margin-top: 8px;
}

.sponsor-item strong {
    display: block;
    font-size: 13px;
}

.sponsor-item span {
    margin-top: 4px;
    display: block;
    font-size: 12px;
    color: #635b53;
}

.feature-copy h3 {
    font-size: clamp(25px, 3.2vw, 36px);
    line-height: 1.14;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.feature-copy p {
    margin-top: 0;
    color: #615850;
    line-height: 1.7;
}

.feature-copy ul {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.feature-copy li {
    position: relative;
    font-size: 14px;
    padding-left: 18px;
    color: #3b342d;
}

.feature-copy li::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.step-card {
    background: #ffffff;
    border: 1px solid #e5d3bc;
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f6dfbf;
    color: #8c3f10;
    font-weight: 800;
}

.step-card h3 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.step-card p {
    margin-top: 0;
    color: #635b54;
    line-height: 1.65;
}

.pricing-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e5d3bc;
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.pricing-highlight {
    border-radius: 18px;
    padding: 24px;
    background: linear-gradient(135deg, #c85d18, #3f2e23);
    color: #ffffff;
}

.pricing-highlight p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.88;
}

.pricing-highlight strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(28px, 4.5vw, 44px);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.pricing-highlight span {
    margin-top: 8px;
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.pricing-list {
    display: grid;
    gap: 12px;
    align-content: center;
}

.pricing-list li {
    border: 1px solid #efe1cc;
    border-radius: 10px;
    background: #fff8ef;
    padding: 12px;
    color: #4f473f;
    font-size: 14px;
}

.faq {
    background: rgba(255, 255, 255, 0.62);
    border-top: 1px solid #e8d8c2;
    border-bottom: 1px solid #e8d8c2;
}

.faq-list {
    max-width: 840px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5d3bc;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item + .faq-item {
    border-top: 1px solid #f0e4d2;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    padding: 22px 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.faq-item.active .faq-answer {
    max-height: 220px;
}

.faq-answer p {
    padding: 0 24px 22px;
    color: #625a52;
    line-height: 1.68;
}

.cta-content {
    border: 1px solid #e5c8a3;
    border-radius: 26px;
    background: linear-gradient(135deg, #fff2df, #f7e2c7);
    padding: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    box-shadow: var(--shadow-sm);
}

.cta-copy h2 {
    margin-top: 14px;
    margin-bottom: 12px;
    font-size: clamp(30px, 4.2vw, 44px);
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.cta-copy p {
    margin-top: 0;
    color: #5f574f;
    line-height: 1.68;
}

.cta-actions {
    display: grid;
    justify-items: start;
    gap: 8px;
}

.cta-actions span {
    font-size: 13px;
    color: #5d554e;
}

.footer {
    padding: 82px 0 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 24px;
}

.footer-brand p {
    margin-top: 14px;
    max-width: 360px;
    color: #615a52;
    font-size: 14px;
    line-height: 1.65;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a534c;
    margin-bottom: 10px;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    color: #605950;
    font-size: 14px;
}

.footer-links a:hover {
    color: #1f1a17;
}

.footer-bottom {
    margin-top: 22px;
    border-top: 1px solid #e2d2bb;
    padding-top: 16px;
    text-align: center;
}

.footer-bottom p {
    color: #6f665f;
    font-size: 13px;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(4px);
    transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (max-width: 1080px) {
    .hero-shell,
    .feature-row,
    .pricing-card {
        grid-template-columns: 1fr;
    }

    .hero-metrics,
    .pain-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    .header .btn {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .nav {
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .nav-menu {
        display: none;
        width: 100%;
        order: 10;
        flex-direction: column;
        gap: 6px;
        border: 1px solid #e2d0b8;
        border-radius: 14px;
        padding: 8px;
        background: #ffffff;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding-top: 48px;
        padding-bottom: 44px;
    }

    .hero-shell {
        padding: 26px;
    }

    .pain,
    .feature-rows,
    .steps,
    .pricing,
    .faq,
    .cta {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .hero-metrics,
    .pain-grid,
    .steps-grid,
    .footer-grid,
    .dash-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(1180px, calc(100% - 28px));
    }

    .logo-image {
        height: 30px;
    }

    .hero-copy h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .hero-shell,
    .pricing-card,
    .cta-content {
        padding: 20px;
    }

    .pain,
    .feature-rows,
    .steps,
    .pricing,
    .faq,
    .cta {
        padding: 56px 0;
    }

    .section-header h2,
    .cta-copy h2 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .hero-actions,
    .cta-actions {
        width: 100%;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }
}
