@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --orange-50: #fff4ec;
    --orange-100: #ffe2cc;
    --orange-300: #ffae73;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --ink-950: #10100e;
    --ink-900: #171411;
    --ink-800: #26221d;
    --ink-700: #413a32;
    --ink-500: #766d64;
    --ink-300: #b7aea5;
    --paper: #f6f1ea;
    --paper-warm: #fff7ef;
    --surface: #fffaf4;
    --surface-strong: #ffffff;
    --dark: #15130f;
    --dark-soft: #211d18;
    --line: rgba(23, 20, 17, 0.13);
    --line-dark: rgba(255, 255, 255, 0.14);
    --shadow-sm: 0 12px 30px rgba(28, 20, 13, 0.08);
    --shadow-md: 0 22px 56px rgba(28, 20, 13, 0.13);
    --content-wide: 1200px;
    --content-read: 840px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --focus-ring: 0 0 0 4px rgba(249, 115, 22, 0.22);
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
}

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

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink-900);
    background:
        linear-gradient(90deg, rgba(16, 16, 14, 0.055) 1px, transparent 1px),
        linear-gradient(180deg, #fbf6ef 0%, #eee6da 100%);
    background-size: 84px 84px, auto;
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
}

body::selection {
    background: var(--orange-500);
    color: #fff;
}

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

a {
    color: var(--orange-700);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink-950);
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: 0;
}

p {
    margin: 0;
    color: var(--ink-700);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 16, 13, 0.92);
    color: #fff;
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: var(--content-wide);
    margin: 0 auto;
    min-height: 78px;
    padding: 0.8rem 1.25rem 1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.25rem;
}

.logo {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    padding: 0.24rem 0.4rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94);
}

.logo img {
    height: 48px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
}

.nav-toggle-btn span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

.main-nav {
    justify-self: end;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0.72rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover,
.main-nav li.active a {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta a {
    margin-left: 0.35rem;
    color: #fff;
    background: var(--orange-500);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.32);
}

.nav-cta a:hover {
    background: var(--orange-600);
}

.site-main {
    max-width: var(--content-wide);
    margin: 0 auto 4rem;
    padding: 0 1.25rem;
}

.section {
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.content-wrap {
    max-width: var(--content-wide);
    margin: 0 auto;
}

.page-shell {
    max-width: var(--content-wide);
    margin: 0 auto;
    padding: clamp(1.2rem, 3vw, 2.4rem) 0 clamp(3rem, 6vw, 5rem);
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(360px, 48vw, 560px);
    display: grid;
    align-content: end;
    padding: clamp(1.5rem, 5vw, 4.5rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(130deg, rgba(18, 16, 13, 0.96) 0%, rgba(18, 16, 13, 0.84) 45%, rgba(249, 115, 22, 0.28) 100%),
        url('/assets/variants/meeting-152506-768x565-1763820411-w1200.webp');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 80%);
    pointer-events: none;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 13ch;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 5.6rem);
    text-wrap: balance;
}

.page-hero p:not(.kicker) {
    margin-top: 1rem;
    max-width: 68ch;
    color: rgba(255, 245, 235, 0.82);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.kicker,
.step-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--orange-500);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.kicker::before,
.step-kicker::before {
    content: '';
    width: 1.9rem;
    height: 1px;
    background: currentColor;
}

.card-grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    border: 1px solid var(--line);
    border-right: 0;
    border-bottom: 0;
}

.card {
    background: rgba(255, 250, 244, 0.92);
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    padding: clamp(1.15rem, 2.5vw, 1.75rem);
}

.card-grid .card,
.marketing-card-grid .card,
.home-faq-grid .card {
    border-left: 0;
    border-top: 0;
}

.card h2,
.card h3 {
    color: var(--ink-950);
}

.card h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.card p,
.card li {
    color: var(--ink-700);
}

.card p {
    margin-top: 0.65rem;
}

.form-card,
.result-card,
.wizard-card {
    background: rgba(255, 250, 244, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 2.4vw, 1.75rem);
    box-shadow: var(--shadow-sm);
}

.field-grid {
    display: grid;
    gap: 0.95rem;
}

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

.field {
    display: grid;
    gap: 0.38rem;
}

.field label {
    font-size: 0.9rem;
    font-weight: 750;
    color: var(--ink-900);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.78rem 0.9rem;
    border: 1px solid rgba(23, 20, 17, 0.22);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink-950);
    font: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--orange-500);
    box-shadow: var(--focus-ring);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.72rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.btn-primary {
    background: var(--orange-500);
    border-color: var(--orange-500);
    color: #fff;
    box-shadow: 0 13px 32px rgba(249, 115, 22, 0.28);
}

.btn-primary:hover {
    background: var(--orange-600);
    border-color: var(--orange-600);
}

.btn-secondary,
.btn-ghost {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(23, 20, 17, 0.18);
    color: var(--ink-950);
}

.btn-secondary:hover,
.btn-ghost:hover {
    background: #fff;
    border-color: rgba(249, 115, 22, 0.45);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .header-inner {
        grid-template-columns: auto auto;
    }

    .nav-toggle-btn {
        display: inline-flex;
        justify-self: end;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-self: stretch;
        display: none;
        border: 1px solid var(--line-dark);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.06);
    }

    .main-nav ul {
        padding: 0.55rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
    }

    .main-nav a {
        width: 100%;
        justify-content: space-between;
        border-radius: var(--radius-sm);
    }

    .nav-cta a {
        margin-left: 0;
        justify-content: center;
    }

    .nav-toggle:checked ~ .main-nav {
        display: block;
    }
}

@media (max-width: 760px) {
    .site-main {
        padding: 0 1rem;
    }

    .header-inner {
        min-height: 70px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo img {
        height: 39px;
    }

    .page-hero {
        min-height: 440px;
        border-radius: var(--radius-md);
    }

    .page-hero h1 {
        max-width: none;
    }

    .field-grid.cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
