:root {
    --bg: #f1eee5;
    --surface: #fbf8f1;
    --surface-muted: #e6e1d2;
    --surface-elevated: #fdfaf4;
    --text: #1e241f;
    --text-soft: #596157;
    --line: rgba(30, 36, 31, 0.1);
    --brand: #2d6a57;
    --brand-dark: #214f41;
    --accent: #98a97f;
    --dark: #17201c;
    --dark-soft: #202a25;
    --header-bg: rgba(241, 238, 229, 0.88);
    --hero-bg:
        radial-gradient(circle at top right, rgba(152, 169, 127, 0.16), transparent 24%),
        linear-gradient(180deg, #f4f0e6 0%, #e6e1d2 100%);
    --hero-orb-1: radial-gradient(circle, rgba(152, 169, 127, 0.14), transparent 65%);
    --hero-orb-2: radial-gradient(circle, rgba(45, 106, 87, 0.12), transparent 68%);
    --soft-button-bg: rgba(255, 255, 255, 0.4);
    --soft-button-hover: rgba(255, 255, 255, 0.7);
    --toggle-bg: rgba(255, 255, 255, 0.45);
    --card-border: rgba(255, 255, 255, 0.55);
    --card-glow:
        linear-gradient(180deg, rgba(45, 106, 87, 0.08), rgba(251, 248, 241, 0.97));
    --pill-bg: rgba(45, 106, 87, 0.1);
    --pill-sheen: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.26) 48%, transparent 100%);
    --input-bg: rgba(255, 255, 255, 0.9);
    --cta-bg: linear-gradient(135deg, rgba(45, 106, 87, 0.08), rgba(152, 169, 127, 0.12));
    --cta-orb: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
    --white: #ffffff;
    --shadow: 0 18px 60px rgba(24, 30, 25, 0.1);
    --radius: 22px;
}
body[data-theme="dark"] {
    --bg: #0d1311;
    --surface: #131a17;
    --surface-muted: #101613;
    --surface-elevated: #18211d;
    --text: #e8ede8;
    --text-soft: #9aa69c;
    --line: rgba(232, 237, 232, 0.09);
    --brand: #6fb195;
    --brand-dark: #5a947d;
    --accent: #899a74;
    --dark: #09100d;
    --dark-soft: #0f1714;
    --header-bg: rgba(9, 14, 12, 0.84);
    --hero-bg:
        radial-gradient(circle at top right, rgba(111, 177, 149, 0.12), transparent 28%),
        radial-gradient(circle at 18% 12%, rgba(137, 154, 116, 0.06), transparent 22%),
        linear-gradient(180deg, #111815 0%, #0b110f 100%);
    --hero-orb-1: radial-gradient(circle, rgba(137, 154, 116, 0.09), transparent 65%);
    --hero-orb-2: radial-gradient(circle, rgba(111, 177, 149, 0.1), transparent 68%);
    --soft-button-bg: rgba(255, 255, 255, 0.03);
    --soft-button-hover: rgba(255, 255, 255, 0.06);
    --toggle-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-glow:
        linear-gradient(180deg, rgba(111, 177, 149, 0.06), rgba(19, 26, 23, 0.97));
    --pill-bg: rgba(111, 177, 149, 0.12);
    --pill-sheen: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.14) 48%, transparent 100%);
    --input-bg: rgba(255, 255, 255, 0.03);
    --cta-bg: linear-gradient(135deg, rgba(111, 177, 149, 0.07), rgba(137, 154, 116, 0.06));
    --cta-orb: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 68%);
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

body[data-theme="dark"] {
    color-scheme: dark;
}

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

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

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

.narrow {
    width: min(760px, 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-shell {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-mark {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    transition: transform 220ms ease, color 220ms ease;
}

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

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: var(--text-soft);
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: color 180ms ease, transform 180ms ease;
}

.nav-link.active,
.nav-link:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--brand);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background: var(--brand);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-secondary {
    border-color: var(--line);
    background: var(--soft-button-bg);
    color: var(--text);
}

.btn-secondary:hover,
.btn-outline:hover {
    border-color: color-mix(in srgb, var(--text) 14%, transparent);
    background: var(--soft-button-hover);
}

.btn-outline {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--toggle-bg);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.theme-toggle-light,
.theme-toggle-dark {
    font-size: 0.9rem;
}

.theme-toggle-dark {
    color: var(--text-soft);
}

body[data-theme="dark"] .theme-toggle-light {
    color: var(--text-soft);
}

body[data-theme="dark"] .theme-toggle-dark {
    color: var(--text);
}

.btn-large {
    padding: 16px 26px;
}

.hero,
.page-hero {
    padding: 110px 0 72px;
}

.hero-home {
    background: var(--hero-bg);
    position: relative;
}

.hero-home::before,
.hero-home::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-home::before {
    width: 320px;
    height: 320px;
    top: 80px;
    right: -80px;
    background: var(--hero-orb-1);
    animation: drift 16s ease-in-out infinite;
}

.hero-home::after {
    width: 260px;
    height: 260px;
    left: -60px;
    bottom: 20px;
    background: var(--hero-orb-2);
    animation: drift 18s ease-in-out infinite reverse;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 48px;
    align-items: center;
}

.hero-copy,
.page-hero .narrow {
    display: grid;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand);
    font-weight: 700;
}

.hero-title,
.page-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-subtitle,
.page-hero p,
.section-header p,
.info-card p,
.stack-item p,
.footer-copy,
.price-copy,
.contact-form label {
    color: var(--text-soft);
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.hero-proof span {
    position: relative;
    padding-left: 16px;
}

.hero-proof span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 0 0 0 rgba(45, 106, 87, 0.18);
    animation: pulseDot 3.2s ease-out infinite;
}

body[data-theme="dark"] .hero-proof span::before {
    box-shadow: 0 0 0 0 rgba(111, 177, 149, 0.18);
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.glow-card,
.info-card,
.price-card,
.contact-card {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.glow-card:hover,
.info-card:hover,
.price-card:hover,
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.status-card {
    width: min(100%, 420px);
    padding: 28px;
    background: var(--card-glow), var(--surface);
    animation: cardFloat 8s ease-in-out infinite;
}

.status-head,
.metric-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.status-head {
    align-items: center;
    margin-bottom: 28px;
}

.status-label {
    font-weight: 700;
}

.status-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--pill-bg);
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.status-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--pill-sheen);
    transform: translateX(-120%);
    animation: sheen 4.5s ease-in-out infinite;
}

.metric-row {
    margin-bottom: 26px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.metric-label {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.timeline-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.timeline-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
}

.timeline-list li strong {
    transition: color 180ms ease;
}

.timeline-list li:hover strong {
    color: var(--brand);
}

.timeline-list span {
    color: var(--text-soft);
    text-align: right;
}

.section {
    padding: 84px 0;
}

.surface-muted {
    background: var(--surface-muted);
}

.surface-dark {
    background: var(--dark);
    color: var(--white);
}

.section-header,
.split-section {
    display: grid;
    gap: 22px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-header h2,
.split-section h2,
.cta-shell h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-header-light p,
.dark-card p {
    color: rgba(232, 237, 232, 0.74);
}

.card-grid {
    display: grid;
    gap: 22px;
}

.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-card,
.price-card {
    padding: 28px;
}

.info-card h3,
.step-card h3,
.stack-item h3,
.price-card h3,
.contact-card h3 {
    margin-bottom: 10px;
    font-size: 1.28rem;
    line-height: 1.15;
}

.dark-card {
    background: var(--dark-soft);
    border-color: var(--card-border);
    box-shadow: var(--shadow);
}

.split-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.steps-grid,
.stack-list {
    display: grid;
    gap: 18px;
}

.step-card,
.stack-item {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    transition: transform 180ms ease, border-color 180ms ease;
}

.step-card:hover,
.stack-item:hover {
    transform: translateX(8px);
}

.step-number {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brand);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.cta-section {
    padding-top: 40px;
    padding-bottom: 90px;
}

.cta-shell {
    border-radius: calc(var(--radius) + 6px);
    background: var(--cta-bg);
    border: 1px solid var(--line);
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-shell::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: var(--cta-orb);
    animation: drift 14s ease-in-out infinite;
}

.pricing-grid {
    align-items: stretch;
}

.price-card {
    position: relative;
    display: grid;
    gap: 18px;
}

.price-card.featured {
    border-color: rgba(45, 106, 87, 0.22);
    transform: translateY(-8px);
}

body[data-theme="dark"] .price-card.featured {
    background: var(--surface-elevated);
    border-color: rgba(111, 177, 149, 0.2);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-line {
    font-size: 1.15rem;
    color: var(--text-soft);
}

.price-line span {
    font-size: 2.5rem;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--text-soft);
}

.check-list li::before {
    content: "•";
    color: var(--brand);
    font-weight: 800;
    margin-right: 10px;
}

.compact {
    margin-top: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
}

.contact-card {
    padding: 28px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--input-bg);
    font: inherit;
    color: var(--text);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(45, 106, 87, 0.1);
    transform: translateY(-1px);
}

body[data-theme="dark"] .contact-form input:focus,
body[data-theme="dark"] .contact-form select:focus,
body[data-theme="dark"] .contact-form textarea:focus {
    box-shadow: 0 0 0 4px rgba(111, 177, 149, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-soft);
}

.contact-form textarea {
    resize: vertical;
}

.site-footer {
    padding: 40px 0 60px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr));
    gap: 24px;
}

.brand-footer {
    margin-bottom: 12px;
    display: inline-block;
}

.site-footer h4 {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-soft);
}

.site-footer a:hover {
    color: var(--text);
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -18px, 0) scale(1.04);
    }
}
@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 106, 87, 0.18);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(45, 106, 87, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(45, 106, 87, 0);
    }
}

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

@keyframes sheen {
    0%,
    100% {
        transform: translateX(-120%);
    }
    45%,
    60% {
        transform: translateX(120%);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 960px) {
    .hero-grid,
    .split-section,
    .contact-grid,
    .footer-grid,
    .two-up,
    .three-up {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .cta-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-card.featured {
        transform: none;
    }
}

@media (max-width: 720px) {
    .nav-shell {
        padding: 18px 0;
        flex-direction: column;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .site-nav {
        gap: 18px;
    }

    .btn-large,
    .cta-actions .btn,
    .hero-actions .btn {
        width: 100%;
    }

    .hero,
    .page-hero,
    .section {
        padding-top: 72px;
        padding-bottom: 56px;
    }

    .hero-title,
    .page-hero h1 {
        font-size: 2.7rem;
    }

    .hero-home::before,
    .hero-home::after,
    .cta-shell::after {
        display: none;
    }

    .timeline-list li {
        flex-direction: column;
    }

    .timeline-list span {
        text-align: left;
    }
}
