/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: hidden; }

:root {
    /* Colors — OpenHands exact palette */
    --bg: #f9f0d9;
    --fg: #22150d;
    --fg-dark: #1e150f;
    --mid-brown: #5c4a3a;
    --light-gray: rgba(34, 21, 13, 0.10);
    --light-gray-strong: rgba(34, 21, 13, 0.18);
    --cream-light: #fdf6e3;
    --accent: #FFFF8B;

    /* Spacing */
    --section-padding: 5.5rem;
    --section-padding-lg: 7rem;
    --gap: 1.25rem;
    --gap-md: 1rem;
    --gap-sm: 0.75rem;

    /* Radius */
    --radius: 0.625rem;
    --radius-sm: 0.4rem;
    --radius-pill: 100px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.25s;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    interpolate-size: allow-keywords;
}

::selection {
    background: var(--fg);
    color: var(--bg);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--fg);
    background: var(--bg);
    line-height: 1.55;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ========== TYPOGRAPHY ========== */
.h1, h1 {
    font-size: clamp(2.25rem, 5vw + 0.5rem, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--fg);
}

.h2, h2 {
    font-size: clamp(1.6rem, 3vw + 0.25rem, 2.5rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--fg);
}

.h3, h3 {
    font-size: clamp(1.05rem, 1.5vw + 0.25rem, 1.25rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--fg);
}

.paragraph-lg {
    font-size: clamp(1rem, 1.25vw + 0.1rem, 1.15rem);
    line-height: 1.65;
    color: var(--mid-brown);
}

.paragraph-md, p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.paragraph-sm {
    font-size: 0.8125rem;
    line-height: 1.5;
}

.eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mid-brown);
}

.u-text-center { text-align: center; }
.u-text-darkgray { color: var(--mid-brown); }

/* ========== LAYOUT ========== */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2.5%;
}

.container-md { max-width: 56rem; margin: 0 auto; }
.container-sm { max-width: 42rem; margin: 0 auto; }

/* ========== ROW/COL GRID (OpenHands style) ========== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--gap) / -2);
    margin-right: calc(var(--gap) / -2);
}

.row-align-center { align-items: center; }
.row-justify-center { justify-content: center; }

.col {
    padding-left: calc(var(--gap) / 2);
    padding-right: calc(var(--gap) / 2);
    width: 100%;
}

.col-6 { width: 50%; }
.col-4 { width: 33.333%; }
.col-3 { width: 25%; }
.col-shrink { width: auto; flex: 0 0 auto; }

/* ========== CONTENT LAYER (above ASCII bg) ========== */
.nav_wrap,
.hero-section,
.metrics-bar,
.logo-grid,
.section,
.cta-section,
.footer {
    position: relative;
    z-index: 1;
}

/* ========== NAV ========== */
.nav_wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(249, 240, 217, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--light-gray);
}

.nav_grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.75rem;
    gap: 1rem;
}

.nav_logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--fg);
    white-space: nowrap;
}

.nav_links {
    display: none;
    align-items: center;
    gap: 1.75rem;
}

.nav_links a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--mid-brown);
    transition: color var(--duration) var(--ease);
    letter-spacing: -0.01em;
}

.nav_links a:hover { color: var(--fg); }

.nav_right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========== BUTTONS ========== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    text-decoration: none;
    border: 1.5px solid transparent;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.button-primary {
    background: var(--accent);
    color: var(--fg);
    border-color: var(--accent);
}

.button-primary:hover {
    background: #e6e67d;
    color: var(--fg);
    border-color: #e6e67d;
    box-shadow: 0 2px 8px rgba(34, 21, 13, 0.1);
}

.button-secondary {
    background: transparent;
    color: var(--fg);
    border-color: var(--light-gray-strong);
}

.button-secondary:hover {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}

.button-dark {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}

.button-dark:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.button-lg {
    padding: 0.7rem 1.75rem;
    font-size: 0.875rem;
}

.button-sm {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
}

.button-full { width: 100%; }

/* ========== SECTIONS ========== */
.section {
    padding: var(--section-padding) 0;
}

.section-lg {
    padding: var(--section-padding-lg) 0;
}

.section_header {
    margin-bottom: 2.5rem;
}

.section_header.center {
    text-align: center;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.section_header p {
    color: var(--mid-brown);
    margin-top: 0.6rem;
}

/* ========== ASCII BACKGROUND (OpenHands style) ========== */
.ascii-embed {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

pre.ascii-pre {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--fg);
    background: transparent;
    opacity: 0.12;
    font: 12px/12px ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
    white-space: pre;
    user-select: none;
    letter-spacing: 0.5px;
}

@media (min-width: 56rem) {
    pre.ascii-pre {
        font-size: 14px;
        line-height: 14px;
    }
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero {
    padding: 10rem 0 4rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto;
}

/* Banner / announcement bar */
.banner {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--light-gray-strong);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--mid-brown);
    margin-bottom: 1.75rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    border: 1px solid var(--fg);
    flex-shrink: 0;
}

.hero-heading {
    margin-bottom: 1rem;
}

.hero-paragraph {
    color: var(--mid-brown);
    max-width: 32rem;
    margin: 0 auto 2rem;
}

.hero_btn_wrap {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.hero_sublink {
    font-size: 0.8125rem;
    color: var(--mid-brown);
    margin-top: 0.75rem;
    opacity: 0.7;
}

.hero_sublink a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ========== DIVIDERS / LINES ========== */
.h-line {
    width: 100%;
    height: 1px;
    background: var(--light-gray);
}

.v-line {
    width: 1px;
    height: 1.25rem;
    background: var(--light-gray-strong);
}

/* ========== STATS / METRICS BAR ========== */
.metrics-bar {
    padding: 2.5rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.metrics-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-number {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--mid-brown);
    margin-top: 0.2rem;
    letter-spacing: 0.01em;
}

/* ========== LOGO GRID / TRUST ========== */
.logo-grid {
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.logo-grid_heading {
    text-align: center;
    margin-bottom: 1.25rem;
}

.logo-grid_list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.logo-grid_item {
    font-size: 0.9375rem;
    font-weight: 700;
    opacity: 0.35;
    letter-spacing: -0.02em;
    transition: opacity var(--duration) var(--ease);
}

.logo-grid_item:hover { opacity: 0.6; }

/* ========== CARDS ========== */
.card {
    position: relative;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: all var(--duration) var(--ease);
}

.card:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: var(--light-gray-strong);
}

.card_icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--accent);
    border: 1.5px solid var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.card_heading {
    margin-bottom: 0.35rem;
}

.card_paragraph {
    color: var(--mid-brown);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Grid layouts */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* ========== STEPS (vertical list, OpenHands style) ========== */
.steps-list {
    display: flex;
    flex-direction: column;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    align-items: flex-start;
}

.step-item:first-child { padding-top: 0; }
.step-item:last-child { border-bottom: none; padding-bottom: 0; }

.step-num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--accent);
    border: 1.5px solid var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-top: 0.1rem;
}

.step-content h3 {
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--mid-brown);
    font-size: 0.875rem;
}

/* ========== COMPARISON (Before / After) ========== */
.comparison-grid {
    display: grid;
    gap: var(--gap);
    max-width: 52rem;
    margin: 0 auto;
}

.comparison-card {
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    border: 1px solid;
}

.comparison-card.is-before {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--light-gray);
}

.comparison-card.is-after {
    background: rgba(255, 255, 139, 0.08);
    border-color: rgba(34, 21, 13, 0.15);
}

.comparison-card h3 {
    margin-bottom: 1.25rem;
}

.comparison-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.875rem;
    color: var(--mid-brown);
    line-height: 1.55;
}

.comparison-card.is-before li::before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
}

.comparison-card.is-after li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}

/* ========== ROI METRICS ========== */
.roi-grid {
    display: grid;
    gap: var(--gap);
}

.roi-card {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--duration) var(--ease);
}

.roi-card:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: var(--light-gray-strong);
}

.roi-number {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.roi-label {
    color: var(--mid-brown);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ========== PRICING (Dark card, OpenHands enterprise style) ========== */
.pricing-wrap {
    max-width: 32rem;
    margin: 0 auto;
}

.pricing-wrap--duo {
    max-width: 54rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-wrap--duo .pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-wrap--duo .pricing-features {
    flex: 1;
}

.pricing-wrap--duo .pricing-note {
    text-align: center;
}

@media (max-width: 640px) {
    .pricing-wrap--duo {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--fg);
    color: var(--bg);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at 30% 20%, rgba(249, 240, 217, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-badge {
    display: inline-block;
    background: rgba(249, 240, 217, 0.12);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.pricing-card h2 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.pricing-price {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.5;
}

.pricing-monthly {
    font-size: 1.15rem;
    opacity: 0.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2.25rem;
}

.pricing-features li {
    padding: 0.45rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.875rem;
    opacity: 0.85;
    line-height: 1.5;
}

.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    font-weight: 700;
    opacity: 0.5;
}

.pricing-card .button-primary {
    background: var(--accent);
    color: var(--fg);
    border-color: var(--accent);
}

.pricing-card .button-primary:hover {
    background: #e6e67d;
    color: var(--fg);
    border-color: #e6e67d;
}

.pricing-card--featured {
    border: 2px solid var(--accent);
}

.pricing-card .button-dark {
    background: var(--bg);
    color: var(--fg);
    border-color: var(--bg);
}

.pricing-card .button-dark:hover {
    background: #e8dfca;
    border-color: #e8dfca;
}

.pricing-note {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    opacity: 0.4;
}

/* ========== ACCORDION / FAQ (OpenHands exact) ========== */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid var(--light-gray);
}

.accordion-item:first-child {
    border-top: 1px solid var(--light-gray);
}

.accordion-item summary {
    padding: 1.1rem 0;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
    transition: color var(--duration) var(--ease);
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    transition: transform var(--duration) var(--ease);
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--fg);
    border-radius: 1px;
}

.accordion-icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 1.5px;
    transform: translateY(-50%);
}

.accordion-icon::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1.5px;
    transform: translateX(-50%);
}

.accordion-item[open] .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item .accordion-body {
    padding: 0 0 1.1rem;
    color: var(--mid-brown);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 38rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--section-padding-lg) 0;
    text-align: center;
    border-top: 1px solid var(--light-gray);
}

.cta-section h2 {
    max-width: 32rem;
    margin: 0 auto 0.75rem;
}

.cta-section .cta-paragraph {
    color: var(--mid-brown);
    max-width: 26rem;
    margin: 0 auto 2rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.8125rem;
    color: var(--mid-brown);
    margin-top: 0.75rem;
    opacity: 0.7;
}

/* ========== FOOTER (OpenHands style) ========== */
.footer {
    background: var(--fg);
    color: rgba(249, 240, 217, 0.6);
    padding: 3rem 0 1.25rem;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-brand .nav_logo {
    color: var(--bg);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.8125rem;
    opacity: 0.4;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(249, 240, 217, 0.4);
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: var(--bg);
}

.footer-bottom {
    border-top: 1px solid rgba(249, 240, 217, 0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(249, 240, 217, 0.25);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(249, 240, 217, 0.3);
    transition: color var(--duration) var(--ease);
}

.footer-bottom-links a:hover { color: var(--bg); }

/* ========== UTILITIES ========== */
.u-mb-0 { margin-bottom: 0 !important; }
.u-mb-xs { margin-bottom: 0.5rem; }
.u-mb-sm { margin-bottom: 1rem; }
.u-mb-md { margin-bottom: 2rem; }
.u-mb-lg { margin-bottom: 3rem; }
.u-mb-xl { margin-bottom: 4rem; }
.u-mt-md { margin-top: 2rem; }
.u-opacity-50 { opacity: 0.5; }

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

[data-animate] {
    animation: fadeUp 0.6s var(--ease) forwards;
}

[data-animate="1"] { animation-delay: 0.1s; opacity: 0; }
[data-animate="2"] { animation-delay: 0.2s; opacity: 0; }
[data-animate="3"] { animation-delay: 0.3s; opacity: 0; }
[data-animate="4"] { animation-delay: 0.4s; opacity: 0; }

/* ========== RESPONSIVE ========== */
@media (min-width: 30rem) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .comparison-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 48rem) {
    .nav_links { display: flex; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .roi-grid { grid-template-columns: repeat(3, 1fr); }

    .hero { padding: 11rem 0 4.5rem; }
    .section { padding: 6rem 0; }

    .metrics-grid { gap: 3.5rem; }

    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .col-md-6 { width: 50%; }
    .col-md-4 { width: 33.333%; }
    .col-md-3 { width: 25%; }
}

@media (min-width: 64rem) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }

    .hero { padding: 12rem 0 5rem; }
    .hero-content { max-width: 48rem; }
}

@media (min-width: 85rem) {
    .nav_grid { height: 4rem; }
}
