/* ============================================
   Claritiq — Marketing Site Styles
   ============================================ */

:root {
    --bg: #0a0a0f;
    --bg-elevated: #12121a;
    --bg-card: #1a1a26;
    --border: #2a2a3a;
    --text: #e4e4ed;
    --text-muted: #8888a0;
    --text-dim: #5a5a72;
    --primary: #6D28D9;
    --primary-light: #A78BFA;
    --primary-glow: rgba(109, 40, 217, 0.18);
    --accent: #6366F1;
    --gradient: linear-gradient(135deg, #6D28D9, #6366F1);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Scroll Progress Bar ---- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient);
    z-index: 200;
    width: 0%;
    transition: width 0.1s linear;
}

/* ---- Nav ---- */

.nav {
    position: fixed;
    top: 3px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 4px;
    font-weight: 800;
    font-size: 16px;
    color: white;
    letter-spacing: -0.06em;
    padding-right: 0.04em;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    display: inline-flex;
    align-items: baseline;
    letter-spacing: -0.025em;
    line-height: 1;
}

.logo-text .ch {
    display: inline-block;
}

.logo-text .i-trio {
    display: inline-flex;
    position: relative;
    align-items: baseline;
}

/* W6r — rounded squares replace the i-pair tittles */
.logo-text .i1,
.logo-text .i2 {
    position: relative;
}
.logo-text .i1::before,
.logo-text .i2::before {
    content: '';
    position: absolute;
    top: 0.06em;
    left: 50%;
    transform: translateX(-50%);
    width: 0.16em;
    height: 0.16em;
    border-radius: 0.035em;
    background: var(--primary-light);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted) !important;
    transition: border-color 0.2s, color 0.2s;
}

.lang-switch:hover {
    border-color: var(--primary);
    color: var(--text) !important;
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn:hover {
    background: var(--bg-elevated);
    border-color: var(--text-dim);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--text-dim);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 10px;
}

.btn-full {
    width: 100%;
    padding: 12px 20px;
}

/* ---- Hero ---- */

.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero aurora backdrop — atmospheric, brand-violet, no product imagery.
   Locked 2026-04-29 from design/hero-bg-fixes/v2-stripped.html.
   The .hba-safezone radial mask in the upper-mid keeps the headline zone
   dark enough for AAA white text contrast. */
.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    border-radius: 0;
}
.hba-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #020207;
}
.hba-skybase {
    position: absolute;
    inset: 0;
    background: radial-gradient(140% 80% at 50% 0%,
        #0a0822 0%,
        #06051a 35%,
        #030312 65%,
        #020208 90%,
        #010106 100%);
}
.hba-skyzone {
    position: absolute;
    inset: 0;
}
.hba-skyzone svg {
    display: block;
    width: 100%;
    height: 100%;
}
.hba-safezone {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 1700px;
    max-width: 100%;
    height: 100%;
    pointer-events: none;
    /* Bigger / darker / smoother — covers body paragraph too, not just
       the headline pocket. Matches the mobile v3 ramp so landscape-mobile
       (which uses this rule once the viewport crosses 768px) reads cleanly. */
    background: radial-gradient(ellipse 75% 70% at 50% 45%,
        rgba(2, 2, 8, 0.88) 0%,
        rgba(2, 2, 8, 0.70) 30%,
        rgba(2, 2, 8, 0.35) 60%,
        rgba(2, 2, 8, 0) 85%);
}
.hba-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: 0.3;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hba-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 100% 82% at 50% 50%,
        transparent 42%, rgba(0, 0, 0, 0.42) 100%);
}
.hba-bottomfade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 25%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(2, 2, 8, 0.5) 50%,
        #0a0a0f 92%);
}

/* Removed 2026-04-29: .hero::before grid pattern + .hero::after glow.
   Replaced by the .hero-aurora SVG backdrop above (its own atmosphere). */

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    background: var(--primary-glow);
    border: 1px solid rgba(109, 40, 217, 0.25);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

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

.proof-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
}

.proof-label {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ---- Section Commons ---- */

.section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    margin-bottom: 12px;
}

section h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 48px;
}

/* ---- Section Dividers ---- */

.section-divider {
    height: 1px;
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(109, 40, 217, 0.3), rgba(99, 102, 241, 0.2), transparent);
}

/* ---- Problem ---- */

.problem {
    padding: 100px 0;
    text-align: center;
}

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

.problem-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: left;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.problem-card:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.05);
}

.problem-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.problem-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---- Solution / Steps ---- */

.solution {
    padding: 100px 0;
    text-align: center;
}

.steps {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Timeline connector line */
.steps::before {
    content: '';
    position: absolute;
    left: 68px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent), var(--primary));
    opacity: 0.3;
    border-radius: 1px;
}

.step {
    display: flex;
    gap: 32px;
    text-align: left;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--primary-glow);
    border: 1px solid rgba(109, 40, 217, 0.3);
    color: var(--primary-light);
    font-size: 24px;
    font-weight: 800;
}

.step-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.step-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.step-list li {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.step-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ---- Features ---- */

.features {
    padding: 100px 0;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: left;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    border-color: rgba(109, 40, 217, 0.4);
    box-shadow: 0 0 30px var(--primary-glow);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-glow);
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}

.feature-card:hover .feature-icon {
    box-shadow: 0 0 20px var(--primary-glow);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary-light);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- "What Claritiq is / is not" positioning section ---- */

.not-section {
    padding: 100px 0;
    text-align: center;
}

.not-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 48px auto 0;
    text-align: left;
}

.not-col {
    background: var(--card-bg, #1a1a26);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.not-col.yes {
    border-left: 4px solid var(--primary);
    box-shadow: 0 0 32px rgba(109, 40, 217, 0.08);
}

.not-col.no {
    border-left: 4px solid #64748b;
}

.not-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.not-col.yes .not-heading {
    color: var(--primary-light);
}

.not-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.not-col li {
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    border-bottom: 1px dashed var(--border);
}

.not-col li:last-child {
    border-bottom: none;
}

.not-col li strong {
    color: var(--text);
    font-weight: 600;
}

.not-footer {
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.not-footer strong {
    color: var(--primary-light);
    font-weight: 600;
}

@media (max-width: 768px) {
    .not-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Architecture ---- */

.architecture {
    padding: 100px 0;
    text-align: center;
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 48px 0 40px;
    flex-wrap: wrap;
}

.arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.arch-node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-weight: 800;
    font-size: 18px;
    color: var(--text-muted);
}

.arch-node.highlight .arch-node-icon {
    background: var(--gradient);
    border: none;
    color: white;
}

.arch-node-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.4;
}

.arch-arrow {
    font-size: 20px;
    color: var(--text-dim);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.arch-notes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.arch-note {
    font-size: 14px;
    color: var(--text-muted);
}

.arch-note strong {
    color: var(--text);
}

/* ---- Pricing ---- */

.pricing {
    padding: 100px 0;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.pricing-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: left;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px var(--primary-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    background: var(--primary);
    color: white;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
}

.price-amount {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 14px;
    color: var(--text-dim);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-left: 24px;
    position: relative;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ---- CTA ---- */

.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Grid pattern bookend (mirrors hero) */
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(109, 40, 217, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109, 40, 217, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 70%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 70%, black 10%, transparent 70%);
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.cta-form input,
.cta-form textarea {
    flex: 1;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s;
}

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

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

.cta-form textarea {
    resize: vertical;
}

.cta-form .btn {
    margin-top: 8px;
}

/* ---- Back to Top ---- */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s, border-color 0.2s;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--bg-elevated);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* ---- Footer ---- */

.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-tagline {
    display: none;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

/* ---- Responsive ---- */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.2s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a:not(.btn) {
        display: block;
        font-size: 16px;
    }

    /* Hero: tighter top/bottom padding so the aurora doesn't get cramped */
    .hero {
        padding: 110px 0 64px;
    }

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

    /* Aurora mobile tuning (locked 2026-04-29 v3):
       Full-height ribbons (per user preference — they like the stretched
       floor-to-ceiling look, not a constrained banner). Text readability
       is solved purely with heavier darkening, not by shrinking the aurora.

       Two layers of contrast protection:
       (1) Reduce ribbon brightness via .hba-skyzone opacity
       (2) Heavy radial safezone mask centered where the text content lands */

    /* Ribbons dimmer on mobile so they stop fighting the text */
    .hba-skyzone {
        opacity: 0.65;
    }

    /* Big, dark, generous radial mask through the entire hero —
       darkens both behind headline AND behind body paragraph + CTAs.
       Centered slightly above mid (45%) where the text content sits. */
    .hba-safezone {
        width: 100%;
        height: 100%;
        background: radial-gradient(ellipse 80% 85% at 50% 45%,
            rgba(2, 2, 8, 0.88) 0%,
            rgba(2, 2, 8, 0.70) 30%,
            rgba(2, 2, 8, 0.35) 60%,
            rgba(2, 2, 8, 0) 85%);
    }

    /* Modest bottomfade — keep ribbons visible at the very bottom,
       just smooth the transition into the page background. */
    .hba-bottomfade {
        height: 20%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-proof {
        flex-direction: column;
        gap: 20px;
    }

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

    .problem-grid,
    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
    }

    .step-list {
        grid-template-columns: 1fr;
    }

    .steps::before {
        display: none;
    }

    .arch-flow {
        flex-direction: column;
    }

    .arch-arrow {
        transform: rotate(90deg);
    }

    .arch-notes {
        flex-direction: column;
        gap: 16px;
    }

    .form-row {
        flex-direction: column;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

