:root {
    --bg: #f5efe3;
    --bg-soft: #fbf7ef;
    --surface: rgba(255, 252, 246, 0.84);
    --surface-strong: #fffaf1;
    --surface-green: #e4eee6;
    --text: #223128;
    --muted: #5b685f;
    --line: rgba(53, 84, 58, 0.16);
    --primary: #35543a;
    --primary-deep: #243a28;
    --accent: #b97a52;
    --shadow: 0 22px 60px rgba(36, 58, 40, 0.12);
    --shadow-soft: 0 10px 30px rgba(36, 58, 40, 0.08);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(185, 122, 82, 0.14), transparent 32%),
        radial-gradient(circle at top right, rgba(53, 84, 58, 0.12), transparent 28%),
        linear-gradient(180deg, #f7f1e7 0%, #f4ecdf 100%);
}

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

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

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

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

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 241, 231, 0.84);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(53, 84, 58, 0.08);
    box-shadow: 0 6px 24px rgba(36, 58, 40, 0.04);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 20px;
}

.nav-brand,
.nav-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-lockup {
    display: block;
    height: 54px;
    width: auto;
    max-width: 220px;
}

.logo-wordmark {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--primary-deep);
    white-space: nowrap;
}

main {
    overflow: clip;
}

section {
    padding: 88px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: rgba(53, 84, 58, 0.44);
}

h1,
h2,
h3,
h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.02;
    color: var(--primary-deep);
}

p {
    color: var(--muted);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

.section-heading h2,
.trust-copy h2,
.demo-copy h2,
.closing-panel h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 16px;
}

.section-intro {
    max-width: 680px;
    font-size: 1.05rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
    background: var(--primary);
    color: #f9f3e7;
    box-shadow: 0 14px 30px rgba(53, 84, 58, 0.18);
}

.btn-primary:hover {
    background: #2f4a34;
}

.btn-secondary {
    background: rgba(255, 250, 241, 0.7);
    color: var(--primary-deep);
    border-color: rgba(53, 84, 58, 0.14);
}

.btn-secondary:hover {
    background: rgba(255, 250, 241, 0.94);
}

.hero {
    position: relative;
    padding: 72px 0 54px;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 12%, rgba(185, 122, 82, 0.12), transparent 26%),
        radial-gradient(circle at 82% 18%, rgba(53, 84, 58, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(255, 250, 241, 0.28) 0%, rgba(255, 250, 241, 0) 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.hero-title {
    font-size: clamp(3.25rem, 6vw, 5.9rem);
    margin-bottom: 18px;
    letter-spacing: -0.05em;
}

.hero-subtitle {
    max-width: 620px;
    font-size: 1.15rem;
    margin-bottom: 28px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.prompt-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.prompt-chip {
    border: 1px solid rgba(53, 84, 58, 0.12);
    background: rgba(255, 250, 241, 0.74);
    color: var(--primary-deep);
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.prompt-chip:hover {
    background: rgba(228, 238, 230, 0.88);
    border-color: rgba(53, 84, 58, 0.22);
    transform: translateY(-1px);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    color: var(--primary);
    font-weight: 500;
}

.hero-proof span {
    position: relative;
}

.hero-proof span::before {
    content: '•';
    margin-right: 8px;
    color: var(--accent);
}

.hero-proof span:first-child::before {
    content: '';
    margin-right: 0;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}

.phone-frame {
    position: relative;
    width: min(100%, 360px);
    border-radius: 34px;
    background: linear-gradient(180deg, #28422d 0%, #36533b 100%);
    padding: 14px;
    box-shadow: var(--shadow);
}

.phone-frame::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 34%;
    height: 16px;
    border-radius: 0 0 18px 18px;
    transform: translateX(-50%);
    background: rgba(18, 29, 21, 0.92);
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 18px 12px;
    color: rgba(255, 248, 238, 0.84);
    font-size: 0.92rem;
}

.phone-title {
    font-weight: 700;
}

.phone-status {
    opacity: 0.8;
}

.phone-messages {
    min-height: 480px;
    background: linear-gradient(180deg, #f8f2e7 0%, #f4ede1 100%);
    border-radius: 24px;
    padding: 24px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-bubble {
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.phone-bubble.user {
    align-self: flex-end;
    background: #35543a;
    color: #f7f1e7;
    border-bottom-right-radius: 6px;
}

.phone-bubble.bot {
    align-self: flex-start;
    background: rgba(255, 252, 246, 0.98);
    color: var(--text);
    border: 1px solid rgba(53, 84, 58, 0.08);
    border-bottom-left-radius: 6px;
}

.floating-card {
    position: absolute;
    width: min(250px, 46%);
    padding: 18px 18px 16px;
    border-radius: 24px;
    background: rgba(255, 250, 241, 0.82);
    border: 1px solid rgba(53, 84, 58, 0.08);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-deep);
}

.floating-card p {
    font-size: 0.95rem;
    color: var(--muted);
}

.floating-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card-checklist {
    top: 6%;
    left: 0;
}

.card-trust {
    right: 0;
    bottom: 8%;
    animation-delay: -3s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.capability-strip {
    padding: 22px 0 50px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.capability-item {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 250, 241, 0.66);
    border: 1px solid rgba(53, 84, 58, 0.09);
    box-shadow: var(--shadow-soft);
}

.capability-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.4rem;
    font-family: 'Fraunces', Georgia, serif;
}

.features-section {
    padding-top: 34px;
}

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

.feature-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(255, 250, 241, 0.8);
    border: 1px solid rgba(53, 84, 58, 0.1);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(228, 238, 230, 0.92);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.feature-card h3,
.trust-card h3,
.demo-summary h3 {
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.feature-card small {
    display: block;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 500;
}

.demo-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
    gap: 38px;
    align-items: start;
}

.demo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 26px;
}

.demo-tab {
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(53, 84, 58, 0.12);
    background: rgba(255, 250, 241, 0.68);
    color: var(--primary-deep);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.demo-tab.active {
    background: var(--primary);
    color: #f7f1e7;
    border-color: var(--primary);
}

.demo-summary {
    padding: 24px;
    border-radius: 24px;
    background: rgba(228, 238, 230, 0.75);
    border: 1px solid rgba(53, 84, 58, 0.1);
}

.chat-demo {
    border-radius: 32px;
    background: rgba(255, 250, 241, 0.86);
    border: 1px solid rgba(53, 84, 58, 0.1);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chat-demo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(53, 84, 58, 0.08);
    background: rgba(255, 250, 241, 0.9);
    font-weight: 700;
    color: var(--primary-deep);
}

.chat-demo-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(228, 238, 230, 1);
    color: var(--primary);
    font-size: 0.82rem;
}

.chat-messages {
    min-height: 560px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background:
        linear-gradient(180deg, rgba(248, 242, 231, 0.86) 0%, rgba(244, 237, 225, 0.92) 100%);
}

.chat-message {
    display: flex;
}

.chat-message.user-message {
    justify-content: flex-end;
}

.chat-message.bot-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 82%;
    padding: 14px 16px;
    border-radius: 20px;
    font-size: 0.97rem;
    line-height: 1.45;
    box-shadow: var(--shadow-soft);
}

.user-message .message-content {
    background: var(--primary);
    color: #f7f1e7;
    border-bottom-right-radius: 6px;
}

.bot-message .message-content {
    background: rgba(255, 252, 246, 0.98);
    color: var(--text);
    border: 1px solid rgba(53, 84, 58, 0.08);
    border-bottom-left-radius: 6px;
}

.typing-indicator .message-content {
    min-width: 64px;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(91, 104, 95, 0.6);
    animation: typingPulse 1.2s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingPulse {
    0%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.trust-section {
    padding-top: 40px;
}

.trust-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

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

.trust-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 250, 241, 0.78);
    border: 1px solid rgba(53, 84, 58, 0.1);
    box-shadow: var(--shadow-soft);
}

.closing-cta {
    padding-top: 52px;
}

.closing-panel {
    padding: 42px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(36, 58, 40, 0.98) 0%, rgba(53, 84, 58, 0.92) 100%);
    box-shadow: var(--shadow);
}

.closing-panel .eyebrow,
.closing-panel h2,
.closing-panel p {
    color: #f7f1e7;
}

.closing-panel .eyebrow::before {
    background: rgba(247, 241, 231, 0.42);
}

.closing-panel p {
    max-width: 720px;
    margin-bottom: 24px;
    opacity: 0.88;
}

.footer {
    background: #213126;
    color: rgba(247, 241, 231, 0.82);
    padding: 64px 0 28px;
    margin-top: 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.footer h4 {
    margin-bottom: 12px;
    color: #fff7ec;
    font-family: 'DM Sans', sans-serif;
}

.footer ul {
    list-style: none;
}

.footer li + li {
    margin-top: 8px;
}

.footer a {
    color: rgba(247, 241, 231, 0.78);
}

.footer a:hover {
    color: #fff7ec;
}

.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(247, 241, 231, 0.12);
    text-align: center;
    color: rgba(247, 241, 231, 0.58);
}

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

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

@media (max-width: 980px) {
    .hero-grid,
    .demo-layout,
    .trust-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: auto;
        padding: 24px 0 8px;
    }

    .floating-card {
        position: static;
        width: 100%;
        animation: none;
    }

    .hero-visual {
        gap: 18px;
    }

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

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

    section {
        padding: 72px 0;
    }

    .nav {
        min-height: 68px;
        padding: 0 14px;
    }

    .logo-lockup {
        height: 46px;
        max-width: 190px;
    }

    .logo-wordmark {
        font-size: 1.2rem;
    }

    .hero {
        padding-top: 42px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-cta,
    .prompt-chip-row {
        flex-direction: column;
        align-items: stretch;
    }

    .capability-grid,
    .feature-grid,
    .trust-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .phone-frame,
    .chat-demo {
        width: 100%;
    }

    .phone-messages,
    .chat-messages {
        min-height: 480px;
    }

    .closing-panel {
        padding: 30px 22px;
    }
}
