/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #fafaf8;
    --bg-alt: #f3f1ed;
    --surface: #ffffff;
    --ink: #1a1a1a;
    --ink-soft: #555;
    --ink-muted: #888;
    --accent: #0d6b4b;
    --accent-deep: #064430;
    --accent-light: #e8f5ee;
    --border: #e2e0db;
    --border-light: #eeecea;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'DM Serif Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

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

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

/* ========================================
   NAV
   ======================================== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 33px;
    letter-spacing: -0.01em;
    color: var(--accent-deep);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-cta {
    background: var(--accent-deep);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: 72px 0 96px;
    background: var(--bg);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse 60% 50% at 15% 20%, rgba(13, 107, 75, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 85% 70%, rgba(13, 107, 75, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: start;
    position: relative;
}

.hero-content {
    padding-top: 32px;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 52px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent-deep);
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--accent-deep);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(6, 68, 48, 0.2);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: rgba(0,0,0,0.02);
}

/* Form card */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 36px 32px 32px;
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.04),
        0 8px 32px rgba(0,0,0,0.06);
}

.form-card h2 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 6px;
    color: var(--ink);
}

.form-card-sub {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 28px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.field .optional {
    font-weight: 400;
    color: var(--ink-muted);
}

.field input,
.field textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #b5b3ae;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 107, 75, 0.08);
    background: #fff;
}

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

.btn-submit {
    width: 100%;
    padding: 13px 24px;
    background: var(--accent-deep);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 4px;
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-msg.success {
    display: block;
    background: #e8f5ee;
    color: #0d6b4b;
    border: 1px solid #c2e5d1;
}

.form-msg.error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* ========================================
   PROOF STRIP
   ======================================== */
.proof-strip {
    background: var(--accent-deep);
    color: #fff;
}

.proof-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.proof-stat {
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.proof-label {
    font-size: 13px;
    opacity: 0.75;
    font-weight: 500;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* ========================================
   SECTION UTILITIES
   ======================================== */
.section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
    text-align: center;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-align: center;
    margin-bottom: 16px;
    color: var(--ink);
}

.section-sub {
    font-size: 17px;
    color: var(--ink-soft);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.65;
}

/* ========================================
   PROBLEM
   ======================================== */
.problem {
    padding: 96px 0;
    background: var(--surface);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.p-card {
    padding: 36px 32px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: transform 0.25s, box-shadow 0.25s;
}

.p-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.p-card-num {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--accent);
    opacity: 0.25;
    margin-bottom: 16px;
    line-height: 1;
}

.p-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
}

.p-card p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.65;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how {
    padding: 96px 0;
    background: var(--bg);
}

.how-steps {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Vertical connecting line */
.how-steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 48px;
    width: 1px;
    background: var(--border);
}

.how-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 28px 0;
    position: relative;
}

.step-marker {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-deep);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.step-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
    padding-top: 2px;
}

.step-body p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 500px;
}

/* ========================================
   BENEFITS
   ======================================== */
.benefits {
    padding: 96px 0;
    background: var(--surface);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.b-card {
    padding: 36px 32px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: transform 0.25s, box-shadow 0.25s;
}

.b-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.b-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--accent-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.b-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
}

.b-card p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.65;
}

/* ========================================
   TRANSACTION EXAMPLE
   ======================================== */
.example {
    padding: 96px 0;
    background: var(--bg-alt);
}

.example-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 860px;
    margin: 0 auto 32px;
}

.ex-card {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ex-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.ex-card-highlight {
    border-color: var(--accent);
    background: var(--accent-light);
    box-shadow: 0 4px 20px rgba(13, 107, 75, 0.1);
}

.ex-card-highlight:hover {
    box-shadow: 0 8px 28px rgba(13, 107, 75, 0.15);
}

.ex-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--accent-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ex-card-highlight .ex-icon {
    background: var(--accent-deep);
    color: #fff;
}

.ex-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
    margin-bottom: 6px;
}

.ex-value {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.2;
}

.ex-card-highlight .ex-value {
    color: var(--accent-deep);
}

.ex-detail {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.ex-arrow {
    flex-shrink: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
}

.example-footnote {
    text-align: center;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto;
}

.example-footnote strong {
    color: var(--ink);
}

/* ========================================
   PILOT
   ======================================== */
.pilot {
    padding: 96px 0;
    background: var(--surface);
}

.pilot-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 56px;
    max-width: 760px;
    margin: 0 auto;
}

.pilot-eyebrow {
    text-align: left;
}

.pilot-title {
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 16px;
}

.pilot-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 28px;
    max-width: 600px;
}

.pilot-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 32px;
    margin-bottom: 32px;
}

.pilot-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

.pilot-feature svg {
    flex-shrink: 0;
    color: var(--accent);
}

/* ========================================
   TEAM
   ======================================== */
.team {
    padding: 96px 0;
    background: var(--bg);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--border-light);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}

.team-member p {
    font-size: 14px;
    color: var(--ink-muted);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: 96px 0;
    background: var(--bg);
}

/* Header: centered */
.faq-header {
    text-align: center;
    margin-bottom: 56px;
}

.faq-eyebrow {
    text-align: center;
}

.faq-title {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 16px;
    text-align: center;
}

.faq-intro {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto;
}

.faq-intro a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(13, 107, 75, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.faq-intro a:hover {
    text-decoration-color: var(--accent);
}

/* Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: var(--border);
}

.faq-item.open {
    border-color: var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    line-height: 1.45;
    transition: color 0.2s;
}

.faq-trigger:hover {
    color: var(--accent-deep);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--ink-muted);
    transition: transform 0.3s ease, color 0.2s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.open .faq-panel {
    padding: 0 24px 20px;
}

.faq-panel p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
}

/* Benefits uses faq-grid class in HTML - alias it */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}


/* ========================================
   CTA BAND
   ======================================== */
.cta-band {
    padding: 80px 0;
    background: var(--accent-deep);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.cta-band h2 {
    font-family: var(--font-display);
    font-size: 36px;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}

.cta-band p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    position: relative;
}

.btn-light {
    background: #fff;
    color: var(--accent-deep);
    position: relative;
}

.btn-light:hover {
    background: #f0f0ee;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.footer-left p {
    font-size: 14px;
}

.footer-right {
    text-align: right;
    font-size: 14px;
}

.footer-right a {
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}

.footer-right a:hover {
    color: #fff;
}

.footer-right p {
    margin-top: 4px;
    font-size: 13px;
    opacity: 0.6;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeUp 0.6s ease-out both;
}

.form-card {
    animation: fadeUp 0.6s 0.15s ease-out both;
}

/* Scroll-triggered animation class */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .problem-cards {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .proof-inner {
        flex-direction: column;
        gap: 24px;
    }

    .proof-divider {
        width: 48px;
        height: 1px;
    }

    .faq-title {
        font-size: 32px;
    }

    .example-flow {
        flex-direction: column;
        gap: 0;
    }

    .ex-arrow {
        transform: rotate(90deg);
        width: auto;
        height: 40px;
    }

    .ex-card {
        width: 100%;
        max-width: 320px;
    }

    .pilot-card {
        padding: 40px 32px;
    }

    .pilot-features {
        grid-template-columns: 1fr;
    }

    .team-grid {
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .nav-inner {
        padding: 0 20px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

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

    .hero-inner {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero h1 br {
        display: none;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-ghost {
        justify-content: center;
        text-align: center;
    }

    .form-card {
        padding: 28px 24px 24px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .section-inner {
        padding: 0 20px;
    }

    .section-heading {
        font-size: 30px;
    }

    .problem,
    .how,
    .benefits,
    .faq,
    .example,
    .pilot,
    .team {
        padding: 72px 0;
    }

    .pilot-card {
        padding: 32px 24px;
    }

    .pilot-title {
        font-size: 26px;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .cta-band {
        padding: 56px 0;
    }

    .cta-band h2 {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0 20px;
    }

    .footer-right {
        text-align: center;
    }

    .how-steps::before {
        left: 19px;
    }

    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .how-step {
        gap: 20px;
        padding: 20px 0;
    }
}