:root {
    --ink: #1a1a1a;
    --paper: #fafaf9;
    --accent: #c45a2d;
    --accent-dark: #a34820;
    --muted: #6b6b6b;
    --border: #e5e5e3;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-decoration: none;
}

.logo span { color: var(--accent); }

nav a.cta-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

nav a.cta-link:hover { text-decoration: underline; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

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

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover { border-color: var(--muted); }

/* Section labels */
.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

footer .version {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.7rem;
    opacity: 0.5;
}

/* Stack page styles */
.stack-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
}

.stack-hero .breadcrumb {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.stack-hero .breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.stack-hero .breadcrumb a:hover { text-decoration: underline; }

.stack-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 700px;
}

.stack-hero h1 .highlight { color: var(--accent); }

.stack-hero .subtitle {
    margin-top: 1rem;
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.5;
}

/* Showcase section */
.showcase {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.showcase-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #bbf7d0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.showcase-card .card-header {
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #f0fdf4;
    color: #16a34a;
}

.card-gallery {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: #f5f5f5;
}

.card-gallery img {
    flex: 1;
    min-width: 0;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.card-gallery img:hover { opacity: 0.85; }

/* Gallery modal */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.88);
    align-items: center;
    justify-content: center;
}

.gallery-modal.active { display: flex; }

.gallery-modal .gm-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.gallery-modal .gm-close,
.gallery-modal .gm-prev,
.gallery-modal .gm-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.gallery-modal .gm-close:hover,
.gallery-modal .gm-prev:hover,
.gallery-modal .gm-next:hover { opacity: 1; }

.gallery-modal .gm-close {
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
}

.gallery-modal .gm-prev,
.gallery-modal .gm-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.5rem;
    padding: 0.25rem 0.75rem;
}

.gallery-modal .gm-prev { left: 1rem; }
.gallery-modal .gm-next { right: 1rem; }

.gallery-modal .gm-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.showcase-card .card-body {
    padding: 1.5rem 2rem;
}

.showcase-card .card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.showcase-card .card-body p {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature list */
.features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.features h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    margin-bottom: 0.75rem;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 700;
}

.feature p {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Advantages section */
.advantages {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.advantages h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.advantage-pair {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.adv-mule,
.adv-oss {
    padding: 0.85rem 1.25rem 0.85rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.adv-mule {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
}

.adv-oss {
    background: #ecfdf5;
    border-left: 4px solid #16a34a;
    color: #166534;
}

/* CTA banner */
.stack-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: #f4f3f1;
}

.stack-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stack-cta p {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.stack-cta .btn { margin-top: 1.5rem; }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

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

.nav-links a.cta-link {
    color: var(--accent);
    font-weight: 600;
}

.nav-links a.cta-link:hover { text-decoration: underline; }

/* Calculator */
.calc-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.calc-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.calc-hero h1 .highlight { color: var(--accent); }

.calc-hero .subtitle {
    margin-top: 1rem;
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
}

.calc-toggle {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
}

.calc-toggle button {
    flex: 1;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: var(--paper);
    color: var(--muted);
    transition: background 0.2s, color 0.2s;
}

.calc-toggle button.active {
    background: var(--ink);
    color: var(--paper);
}

.calc-toggle button:not(.active):hover {
    background: #f4f3f1;
}

.calc-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.calc-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.calc-input label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.calc-input select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--paper);
    color: var(--ink);
}

.calc-input input[type="range"] {
    width: 100%;
    margin-top: 0.5rem;
    accent-color: var(--accent);
}

.calc-input .range-value {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.calc-card {
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.calc-card.mule {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.calc-card.oss {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.calc-card.savings {
    background: var(--ink);
    color: var(--paper);
}

.calc-card .calc-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.calc-card.savings .calc-label { color: #999; }

.calc-card .calc-amount {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 0.5rem;
}

.calc-card.mule .calc-amount { color: #dc2626; }
.calc-card.oss .calc-amount { color: #16a34a; }
.calc-card.savings .calc-amount { color: #4ade80; }

.calc-card .calc-breakdown {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    text-align: left;
}

.calc-card.savings .calc-breakdown { color: #999; text-align: center; }

.calc-migration {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--ink);
    border-radius: 8px;
    text-align: center;
}

.calc-migration .calc-label { color: #999; }

.calc-migration .migration-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}

.calc-migration .migration-stat {
    text-align: center;
}

.calc-migration .migration-stat .calc-amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--paper);
}

.calc-migration .migration-stat .calc-amount.accent { color: #4ade80; }

.calc-migration .migration-stat .stat-label {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-migration .migration-arrow {
    font-size: 1.5rem;
    color: #999;
}

.calc-migration .migration-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
}

.calc-disclaimer {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
}

.calc-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: #f4f3f1;
    border-radius: 8px;
}

.calc-cta h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.calc-cta p {
    margin-top: 0.5rem;
    color: var(--muted);
}

.calc-cta .btn { margin-top: 1rem; }

/* Blog listing */
.blog-listing {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.blog-listing h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.blog-listing .blog-subtitle {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.1rem;
}

.blog-cards {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: border-color 0.2s;
}

.blog-card:hover { border-color: var(--accent); }

.blog-card .blog-meta {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.blog-card h2 a {
    color: var(--ink);
    text-decoration: none;
}

.blog-card h2 a:hover { color: var(--accent); }

.blog-card p {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-card .read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-card .read-more:hover { text-decoration: underline; }

/* Blog article */
.blog-article {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.blog-article .blog-back {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-article .blog-back:hover { text-decoration: underline; }

.blog-article .blog-meta {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-article h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-top: 0.75rem;
}

.blog-article .blog-body {
    margin-top: 2.5rem;
}

.blog-article .blog-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.blog-article .blog-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.blog-article .blog-body p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.blog-article .blog-body ul,
.blog-article .blog-body ol {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.blog-article .blog-body li {
    margin-bottom: 0.5rem;
}

.blog-article .blog-body strong {
    color: var(--ink);
    font-weight: 600;
}

.blog-article .blog-body code {
    background: #f4f3f1;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.blog-article .blog-body blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.blog-article .blog-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: #f4f3f1;
    border-radius: 8px;
    text-align: center;
}

.blog-article .blog-cta h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.blog-article .blog-cta p {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.blog-article .blog-cta .btn { margin-top: 1rem; }

/* Pricing page */
.pricing-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.pricing-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-top: 0.5rem;
}

.pricing-hero p {
    margin-top: 1rem;
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
}

.pricing-cards {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pricing-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-card-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: #f9f9f8;
}

.pricing-card-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

.pricing-card-price {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--accent);
    margin-top: 0.5rem;
    line-height: 1.1;
}

.pricing-card-price-note {
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

.pricing-card-body {
    padding: 2rem;
}

.pricing-includes {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.pricing-includes li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--muted);
    font-size: 0.95rem;
}

.pricing-includes li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.pricing-includes li strong {
    color: var(--ink);
}

.pricing-assessment {
    padding: 1rem 1.25rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pricing-assessment strong {
    display: block;
    color: var(--ink);
}

.pricing-assessment span {
    color: #16a34a;
    font-size: 0.85rem;
}

.pricing-tiers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pricing-tier {
    display: grid;
    grid-template-columns: 80px 80px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f4f3f1;
    border-radius: 6px;
    font-size: 0.9rem;
}

.tier-label {
    font-weight: 700;
    color: var(--ink);
}

.tier-price {
    font-weight: 700;
    color: var(--accent);
}

.tier-desc {
    color: var(--muted);
}

.pricing-addons {
    margin-bottom: 1.5rem;
}

.pricing-best-for {
    padding: 1rem 1.25rem;
    background: #f4f3f1;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-card .btn {
    display: block;
    text-align: center;
}

/* Support section */
.pricing-support {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border);
}

.pricing-support-subtitle {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

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

.support-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.support-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin-top: 0.5rem;
}

.support-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
}

.support-card p {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* FAQ */
.pricing-faq {
    max-width: 750px;
    margin: 0 auto;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border);
}

.faq-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    padding: 1.25rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--muted);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    padding-bottom: 1.25rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item p a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.faq-item p a:hover { text-decoration: underline; }

/* Bottom CTA */
.pricing-bottom-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: #f4f3f1;
}

.pricing-bottom-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pricing-bottom-cta p {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.pricing-cta-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Contact form (shared - used by index.html inline + contact.html) */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--paper);
    color: var(--ink);
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    align-self: flex-start;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    transition: background 0.2s;
}

.contact-form button:hover { background: var(--accent-dark); }
.contact-form button:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: none;
}

.form-status.success {
    display: block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

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

/* Contact page (standalone) */
.contact-hero-band {
    background: var(--ink);
    color: var(--paper);
    padding: 4rem 2rem 5rem;
}

.contact-hero-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-hero-band .section-label { color: var(--accent); }

.contact-hero-inner h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-top: 0.5rem;
}

.contact-hero-inner p {
    margin-top: 1rem;
    color: #999;
    font-size: 1.15rem;
    line-height: 1.5;
}

.contact-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem 4rem;
}

.contact-body-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-card {
    padding: 2.5rem;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.contact-form-card .contact-form button {
    align-self: stretch;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-top: 0.5rem;
}

.contact-sidebar-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-sidebar-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    border-radius: 8px;
}

.contact-sidebar-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.contact-sidebar-item a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-sidebar-item a:hover { text-decoration: underline; }

.contact-sidebar-item span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* What happens next */
.contact-steps {
    background: #f4f3f1;
    padding: 4rem 2rem;
}

.contact-steps-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.contact-step {
    padding: 2rem;
    background: var(--paper);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-step-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.contact-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-step p {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive - new pages */
@media (max-width: 768px) {
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.85rem; }
    .calc-inputs { grid-template-columns: 1fr; }
    .calc-results { grid-template-columns: 1fr; }
    .calc-card .calc-amount { font-size: 2rem; }
    .calc-migration .migration-row { grid-template-columns: 1fr; gap: 1rem; }
    .calc-migration .migration-arrow { transform: rotate(90deg); }
    .contact-body-grid { grid-template-columns: 1fr; }
    .contact-form-card { margin-top: 0; }
    .contact-steps-grid { grid-template-columns: 1fr; }
    .pricing-cards { grid-template-columns: 1fr; }
    .support-cards { grid-template-columns: 1fr; }
    .pricing-cta-buttons { flex-direction: column; align-items: center; }
    .pricing-tier { grid-template-columns: 70px 70px 1fr; gap: 0.5rem; font-size: 0.85rem; }
}

/* Theme toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.35rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.theme-toggle:hover { color: var(--ink); }
html:not([data-theme="dark"]) .theme-toggle .icon-sun { display: none; }
html:not([data-theme="dark"]) .theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Dark mode */
html[data-theme="dark"] {
    --ink: #e8e8e6;
    --paper: #141413;
    --accent: #e06b3a;
    --accent-dark: #f07d4f;
    --muted: #9a9a9a;
    --border: #2e2e2c;
}

/* Dark mode - component overrides */
html[data-theme="dark"] .stack-cta { background: #1e1e1c; }
html[data-theme="dark"] .showcase-card { border-color: #1a5c2e; }
html[data-theme="dark"] .showcase-card .card-header { background: #132a18; }
html[data-theme="dark"] .card-gallery { background: #1e1e1c; }
html[data-theme="dark"] .adv-mule { background: #2a1515; border-left-color: #b91c1c; color: #fca5a5; }
html[data-theme="dark"] .adv-oss { background: #132a18; border-left-color: #15803d; color: #86efac; }
html[data-theme="dark"] .calc-card.mule { background: #2a1515; border-color: #5c2020; }
html[data-theme="dark"] .calc-card.oss { background: #132a18; border-color: #1a5c2e; }
html[data-theme="dark"] .calc-card.savings { background: #0f0f0e; }
html[data-theme="dark"] .calc-card.mule .calc-amount { color: #f87171; }
html[data-theme="dark"] .calc-card.oss .calc-amount { color: #4ade80; }
html[data-theme="dark"] .calc-migration { background: #0f0f0e; }
html[data-theme="dark"] .calc-cta { background: #1e1e1c; }
html[data-theme="dark"] .blog-article .blog-body code { background: #1e1e1c; }
html[data-theme="dark"] .blog-article .blog-cta { background: #1e1e1c; }
html[data-theme="dark"] .pricing-card-header { background: #1e1e1c; }
html[data-theme="dark"] .pricing-assessment { background: #132a18; border-color: #1a5c2e; }
html[data-theme="dark"] .pricing-assessment span { color: #4ade80; }
html[data-theme="dark"] .pricing-tier { background: #1e1e1c; }
html[data-theme="dark"] .pricing-best-for { background: #1e1e1c; }
html[data-theme="dark"] .pricing-bottom-cta { background: #1e1e1c; }
html[data-theme="dark"] .contact-hero-band { background: #0f0f0e; color: #e8e8e6; }
html[data-theme="dark"] .contact-hero-inner p { color: #999; }
html[data-theme="dark"] .contact-form-card { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
html[data-theme="dark"] .contact-sidebar-icon { background: #2a1515; }
html[data-theme="dark"] .contact-steps { background: #1e1e1c; }

