:root {
    --bg: #f5f3ee;
    --surface: #ffffff;
    --surface-alt: #ece7de;
    --text: #161616;
    --muted: #626262;
    --line: rgba(22, 22, 22, 0.1);
    --accent: #8f6f4f;
    --accent-dark: #1e1d1a;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow: 0 20px 60px rgba(16, 16, 16, 0.06);
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8f6f1 0%, #f3efe7 100%);
    line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
}
.narrow { max-width: 780px; }
.section { padding: 3.5rem 0; }
.section-soft {
    background: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(22, 22, 22, 0.05);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(245, 243, 238, 0.84);
    border-bottom: 1px solid var(--line);
}
.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}
.brand {
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 1rem;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}
.site-nav a:not(.button) {
    color: var(--muted);
    transition: color 0.2s ease;
}
.site-nav a:not(.button):hover { color: var(--text); }
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0;
    width: 44px;
    height: 44px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    margin: 5px auto;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
    min-height: calc(100svh - 82px);
    display: flex;
    align-items: center;
    padding: 2rem 0 6rem;
}
.hero-grid, .two-col, .contact-grid, .grid, .booking-shell, .audit-shell {
    display: grid;
    gap: 1.5rem;
}
.hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}
.hero-visual {
    position: relative;
    height: 520px;
}
#neuralCanvas {
    display: block;
    width: 100%;
    height: 100%;
    mask-image: radial-gradient(ellipse 80% 80% at 55% 50%, black 35%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 55% 50%, black 35%, transparent 90%);
}
.audit-shell {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
.hero h1, .page-hero h1 {
    font-size: clamp(2.45rem, 5.6vw, 4.75rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 0 0 1.15rem;
    max-width: 16ch;
    text-wrap: balance;
}
.eyebrow, .section-kicker, .panel-label, .service-number {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    color: var(--accent);
    font-weight: 700;
}
.lead, .body-large {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 58ch;
}
.hero-actions, .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}
.compact-actions { margin-top: 1.4rem; }
.check-list, .bullet-list, .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.card {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}
.check-list li, .bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.9rem;
    color: var(--muted);
}
.check-list li::before, .bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
}
.section-heading { margin-bottom: 2rem; }
.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.section-heading-desc {
    max-width: 40ch;
    margin: 0;
    align-self: flex-end;
}
.section h2, .service-detail h2 {
    font-size: clamp(1.8rem, 3.1vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0.2rem 0 1rem;
    max-width: 14ch;
    text-wrap: balance;
}
.audit-shell h2, .booking-copy h2 { max-width: 10ch; }
.section p, .service-card p, .service-detail p, .value-card p, .contact-card p, .step p, .legal-content p { color: var(--muted); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card h3, .value-card h3, .contact-card h2, .step h3, .legal-content h3 {
    margin-top: 0;
    font-size: 1.2rem;
}
.two-col { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.emphasis-card {
    background: var(--accent-dark);
    color: #f8f5ef;
}
.emphasis-card h3, .emphasis-card li, .emphasis-card p { color: #f8f5ef; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}
.step {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
}
.step span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 700;
}
.section-cta { padding-bottom: 6rem; }
.cta-shell {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    background: var(--accent-dark);
    color: #f7f4ed;
    border-radius: calc(var(--radius-lg) + 4px);
}
.cta-shell p, .cta-shell h2, .cta-shell .section-kicker, .text-link { color: #f7f4ed; }
.text-link { font-weight: 600; opacity: 0.86; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--accent-dark); color: #fff; }
.button-light { background: transparent; color: var(--text); border-color: var(--line); }
.button-light-on-dark { background: #f7f4ed; color: var(--accent-dark) !important; }
.page-hero {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}
.page-hero-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.stack-lg { display: grid; gap: 1.3rem; }
.stack-md { display: grid; gap: 1rem; }
.service-detail { padding: 2rem; }
.footer-shell {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 0 3rem;
    border-top: 1px solid var(--line);
}
.footer-brand {
    display: inline-block;
    margin-bottom: 0.8rem;
}
.footer-copy {
    font-size: 0.78rem;
    color: var(--muted);
    opacity: 0.6;
    margin: 0.5rem 0 0;
}
.footer-links {
    display: grid;
    gap: 0.65rem;
    justify-items: end;
}
.footer-links a,
.footer-brand {
    color: var(--muted);
    transition: color 0.2s ease, opacity 0.2s ease;
}
.footer-links a:hover,
.footer-brand:hover {
    color: var(--text);
    opacity: 1;
}
.center-text { text-align: center; }
.center-text h2,
.center-text .lead,
.center-text .body-large {
    margin-left: auto;
    margin-right: auto;
}
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-grid-wide { align-items: start; }
.contact-divider {
    height: 1px;
    background: var(--line);
    margin: 2rem 0;
}
.lead-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}
.lead-form label {
    display: grid;
    gap: 0.45rem;
    font-size: 0.95rem;
    color: var(--text);
}
.lead-form input,
.lead-form textarea,
.lead-form select {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.82);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    color: var(--text);
}
.lead-form textarea {
    resize: vertical;
    min-height: 140px;
}
.form-note {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0.8rem 0 0;
}
.booking-shell {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.booking-copy, .booking-card {
    display: flex;
    flex-direction: column;
}
.booking-copy {
    justify-content: space-between;
}
.booking-card {
    justify-content: center;
}
.booking-card .button {
    width: 100%;
    justify-content: center;
    margin-top: 1.75rem;
}
.legal-shell {
    max-width: 900px;
}
.legal-intro .lead {
    margin-bottom: 0;
}
.legal-content {
    padding: 2rem;
}
.legal-content h2 {
    max-width: none;
    margin-top: 2rem;
}
.legal-content h2:first-child {
    margin-top: 0;
}
.legal-content h3 {
    margin: 1.5rem 0 0.75rem;
}
.legal-list {
    margin: 1rem 0 1rem;
}

/* ===== USE CASES / PHONE DEMO ===== */
.use-cases-demo {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 3rem;
}
.use-case-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(143, 111, 79, 0.08);
    color: var(--accent);
    border: 1px solid rgba(143, 111, 79, 0.22);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.use-cases-copy h3 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0 0 1rem;
    max-width: 24ch;
    text-wrap: balance;
}
.use-case-cards { margin-top: 2.5rem; }
.use-case-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(143, 111, 79, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.use-case-cards .card h4 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
}
.use-case-cards .card p { font-size: 0.92rem; margin: 0; }

/* Phone mockup */
.phone-demo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.phone-device {
    width: 264px;
    background: var(--accent-dark);
    border-radius: 38px;
    border: 1.5px solid rgba(255,255,255,0.07);
    padding: 18px 14px 22px;
    box-shadow: 0 40px 80px rgba(16,16,16,0.22), 0 0 0 1px rgba(255,255,255,0.03);
}
.phone-notch-bar {
    width: 68px;
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: 3px;
    margin: 0 auto 16px;
}
.phone-header {
    text-align: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.phone-platform {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255,255,255,0.32);
}
.phone-contact {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    margin-top: 3px;
}
.chat-wrap { display: flex; flex-direction: column; gap: 0; }
.chat-msg {
    padding: 9px 12px;
    border-radius: 16px;
    font-size: 11.5px;
    line-height: 1.5;
    max-width: 90%;
}
.chat-inbound {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.82);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    margin-bottom: 3px;
}
.chat-outbound {
    background: var(--accent);
    color: #fff;
    font-weight: 500;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    margin-bottom: 3px;
}
.chat-meta {
    font-size: 9px;
    color: rgba(255,255,255,0.28);
    padding: 0 3px;
    margin-bottom: 8px;
}
.chat-meta.right { text-align: right; }
.ai-label {
    display: inline-block;
    background: rgba(143,111,79,0.25);
    color: var(--accent);
    border-radius: 3px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 1px 5px;
    margin-left: 4px;
}
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.07);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}
.typing-dot {
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.28);
    border-radius: 50%;
    animation: typeBounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0.32s; }
@keyframes typeBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

/* ===== PRICING PAGE ===== */
.pricing-intro { max-width: 680px; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 2.5rem;
}
.pricing-card {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    background: var(--accent-dark);
    border-color: transparent;
    box-shadow: 0 30px 80px rgba(16,16,16,0.22);
}
.pricing-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
    width: fit-content;
}
.pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text);
}
.pricing-card.featured .pricing-name { color: #f7f4ed; }
.pricing-desc {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.pricing-card.featured .pricing-desc { color: rgba(247,244,237,0.58); }
.pricing-divider {
    height: 1px;
    background: var(--line);
    margin-bottom: 1.5rem;
}
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.08); }
.pricing-amount {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--text);
}
.pricing-card.featured .pricing-amount { color: #f7f4ed; }
.pricing-period {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.3rem;
    margin-bottom: 1.75rem;
}
.pricing-card.featured .pricing-period { color: rgba(247,244,237,0.48); }
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.pricing-features li {
    font-size: 0.9rem;
    color: var(--muted);
    padding-left: 1.35rem;
    position: relative;
    line-height: 1.45;
}
.pricing-card.featured .pricing-features li { color: rgba(247,244,237,0.68); }
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--accent);
}
.pricing-card.featured .pricing-features li::before { background: rgba(247,244,237,0.45); }
.pricing-card .button { text-align: center; }
.pricing-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 2.5rem;
}
.pricing-faq { margin-top: 3rem; }
.pricing-faq h2 { max-width: none; }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
    margin-top: 2rem;
}
.faq-item {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
}
.faq-item h4 {
    font-size: 0.98rem;
    margin: 0 0 0.5rem;
}
.faq-item p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}
.pricing-cta-section {
    background: var(--accent-dark);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    color: #f7f4ed;
    margin-top: 3rem;
}
.pricing-cta-section h2 { color: #f7f4ed; max-width: none; margin: 0.3rem 0 1rem; }
.pricing-cta-section p { color: rgba(247,244,237,0.65); max-width: 52ch; margin: 0 auto 2rem; }
.pricing-cta-section .section-kicker { color: var(--accent); }

@media (max-width: 980px) {
    .hero-grid, .two-col, .grid-4, .grid-3, .steps-grid, .contact-grid, .booking-shell, .audit-shell {
        grid-template-columns: 1fr 1fr;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual { display: none; }
    .hero {
        min-height: auto;
        padding: 3rem 0 4rem;
    }
    .cta-shell, .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links { justify-items: start; }
    .use-cases-demo { grid-template-columns: 1fr; gap: 2.5rem; }
    .phone-demo { order: -1; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .faq-grid { grid-template-columns: 1fr; }
    .booking-shell { align-items: start; }
    .section-heading-row { flex-direction: column; align-items: flex-start; }
    .section-heading-desc { max-width: none; }
}

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.5rem);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
        padding: 1rem;
        background: rgba(255,255,255,0.95);
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .grid-4, .grid-3, .two-col, .steps-grid, .contact-grid, .booking-shell, .audit-shell { grid-template-columns: 1fr; }
    .page-hero-inner {
        padding-left: 0;
        padding-right: 0;
    }
    .section { padding: 2.5rem 0; }
    .hero { padding: 2.5rem 0 3rem; }
    .hero h1, .page-hero h1, .section h2 { max-width: none; }
    .legal-content {
        padding: 1.4rem;
    }
    .pricing-cta-section { padding: 2rem 1.5rem; }
    .use-cases-copy h3 { max-width: none; }
}
