/* ===========================================================================
   Captixa — homepage (views/site/home.php). Homepage-only cxh- classes, loaded
   through $pageStyles, so nothing here can move another page.
   Tokens come from main.css :root (Captixa palette, Phase 1).
   Caption demo fonts are real Google Fonts that match the app's preset fonts.
   =========================================================================== */

/* ---------- shared ---------- */
.cxh-sec { padding: 104px 0; position: relative; }
.cxh-sec--tint { background: var(--surface-1); border-block: 1px solid var(--border-light); }
.cxh-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.cxh-head--left { text-align: left; margin: 0; }
.cxh-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; margin-bottom: 14px; }
.cxh-head p { font-size: 1.125rem; color: var(--text-secondary); margin: 0; }
.cxh-kicker {
    display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.cxh-kicker--dark { color: var(--primary-light); }
.cxh-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cxh-btn-light { background: var(--surface-2); color: var(--text); border: 1.5px solid var(--border-strong); }
.cxh-btn-light:hover { background: var(--surface-hover); color: var(--text); }
.cxh-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.cxh-btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- hero ---------- */
.cxh-hero { position: relative; overflow: hidden; padding: 72px 0 40px; background: var(--bg-gradient); }
.cxh-hero-glow {
    position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; pointer-events: none;
    background:
        radial-gradient(closest-side, rgba(22,196,127,.18), transparent 70%),
        radial-gradient(40% 40% at 20% 80%, rgba(22,196,127,.06), transparent 70%);
}
.cxh-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.cxh-pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 24px;
    border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
    color: var(--text-secondary); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-sm);
}
.cxh-pill:hover { color: var(--text); border-color: var(--border-strong); }
.cxh-pill-tag { padding: 3px 10px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight: 700; font-size: 12px; }
.cxh-pill i { font-size: 11px; color: var(--text-muted); }
.cxh-h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 22px; }
.cxh-mark {
    color: var(--text); white-space: nowrap;
    background: linear-gradient(transparent 62%, rgba(22,196,127,.45) 62%, rgba(22,196,127,.45) 92%, transparent 92%);
}
.cxh-lead { font-size: 1.2rem; line-height: 1.6; color: var(--text-secondary); max-width: 560px; margin-bottom: 30px; }
.cxh-cta-note { margin: 12px 0 0; font-size: 14px; color: var(--text-muted); }
.cxh-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; }
.cxh-trust li { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.cxh-trust i { color: var(--accent); }

.cxh-engines {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px;
    margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border-light);
    font-size: 14px; color: var(--text-muted);
}
.cxh-engines b { display: inline-flex; gap: 7px; align-items: center; color: var(--text-secondary); font-weight: 600; }
.cxh-engines b i { color: var(--text-muted); }
.cxh-engines-sep { width: 1px; height: 18px; background: var(--border); }

/* ---------- hero demo wrapper ---------- */
.cxh-hero-demo { display: flex; flex-direction: column; align-items: center; }

/* ---------- styles gallery ---------- */
.cxh-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cxh-style { display: flex; flex-direction: column; min-width: 0; }
.cxh-style-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow-md); }
.cxh-tint-0 { background: radial-gradient(60% 50% at 70% 25%, rgba(255,180,120,.5), transparent), linear-gradient(160deg, #3A4658, #151A23); }
.cxh-tint-1 { background: radial-gradient(60% 50% at 30% 25%, rgba(120,170,255,.45), transparent), linear-gradient(160deg, #2E3550, #12141F); }
.cxh-tint-2 { background: radial-gradient(60% 50% at 60% 30%, rgba(22,196,127,.45), transparent), linear-gradient(160deg, #22403A, #0F1715); }
.cxh-tint-3 { background: radial-gradient(60% 50% at 40% 30%, rgba(255,110,170,.45), transparent), linear-gradient(160deg, #46304A, #17111A); }
.cxc-cap--card { bottom: 18%; font-size: clamp(20px, 1.9vw, 26px); }
.cxc-cap--card[data-style="tiktok"], .cxc-cap--card[data-style="glitch"] { font-size: clamp(24px, 2.2vw, 30px); }
.cxc-cap--card[data-style="neon"] { font-size: clamp(28px, 2.6vw, 34px); }
.cxc-cap--card[data-style="typewriter"] { font-size: clamp(17px, 1.6vw, 21px); }
.cxc-cap--card[data-style="glass"] { font-size: clamp(15px, 1.4vw, 18px); }
.cxh-style-new { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--primary-glow); color: var(--accent); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; vertical-align: 2px; }
.cxh-style-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cxh-style-meta h3 { font-size: 1.05rem; margin: 0; }
.cxh-style-meta span { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.cxh-style p { margin: 4px 0 0; font-size: 14px; color: var(--text-secondary); }
.cxh-styles-foot { max-width: 760px; margin: 40px auto 0; text-align: center; color: var(--text-secondary); font-size: 15px; }
.cxh-styles-more { margin: 24px 0 0; text-align: center; }
.cxh-styles-foot small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--text-muted); }

/* ---------- languages band ---------- */
.cxh-langs { background: var(--surface-1); border-block: 1px solid var(--border-light); }
.cxh-langs-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.cxh-langs-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 10px 0 16px; }
.cxh-langs-copy > p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 26px; }
.cxh-langs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cxh-langs-list li { transform: rotate(var(--tilt, 0deg)); transition: transform .2s; display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.cxh-langs-list li:hover { transform: rotate(0) translateY(-2px); border-color: var(--primary); }
.cxh-langs-list b { font-size: 15px; font-weight: 700; color: var(--text); }
.cxh-langs-list .cxh-langs-more { background: var(--primary-glow); border-color: transparent; color: var(--accent); }
.cxh-cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cxh-city { margin: 0; min-width: 0; }
.cxh-city-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--surface-dark); box-shadow: var(--shadow-md); }
.cxh-city:nth-child(even) { transform: translateY(28px); }
.cxh-city figcaption { margin-top: 10px; font-size: 14.5px; font-weight: 700; color: var(--text); }
.cxh-city figcaption span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- styles showcase: dark coverflow ---------- */
.cxh-showcase { background: var(--surface-dark); color: var(--text-on-dark); overflow: hidden; }
.cxh-showcase::before { content: ''; position: absolute; left: 50%; top: 38%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(22,196,127,.18), transparent); pointer-events: none; }
.cxh-showcase .cxh-head h2 { color: var(--text-on-dark); }
.cxh-showcase .cxh-head p, .cxh-showcase .cxh-styles-foot { color: var(--text-on-dark-secondary); }
.cxh-showcase .cxh-styles-foot small { color: rgba(255,255,255,.45); }

/* ---------- how it works ---------- */
.cxh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.cxh-step { position: relative; padding: 28px 24px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.cxh-step-num { position: absolute; top: 18px; right: 20px; font-size: 44px; font-weight: 900; line-height: 1; color: var(--surface-3); }
.cxh-step-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; background: var(--primary-glow); color: var(--accent); font-size: 19px; }
.cxh-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cxh-step p { margin: 0; font-size: 15px; color: var(--text-secondary); }

/* ---------- features bento ---------- */
.cxh-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cxh-tile { padding: 28px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); }
.cxh-tile--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.cxh-tile-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 11px; background: var(--primary-glow); color: var(--accent); font-size: 17px; }
.cxh-tile h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cxh-tile p { margin: 0; font-size: 15px; color: var(--text-secondary); }

.cxh-words { padding: 18px; border-radius: 14px; background: var(--surface-1); border: 1px solid var(--border-light); display: flex; flex-wrap: wrap; gap: 8px; }
.cxh-word { display: inline-flex; flex-direction: column; gap: 2px; padding: 7px 11px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); }
.cxh-word b { font-size: 14px; }
.cxh-word small { font: 500 11px var(--font-mono); color: var(--text-muted); }
.cxh-word.is-on { background: var(--primary); border-color: var(--primary); }
.cxh-word.is-on b, .cxh-word.is-on small { color: var(--primary-ink); }
.cxh-wave { flex-basis: 100%; display: flex; align-items: center; gap: 3px; height: 44px; margin-top: 8px; }
.cxh-wave i { flex: 1; height: var(--h); border-radius: 2px; background: var(--border-strong); }
.cxh-wave i:nth-child(n+27):nth-child(-n+33) { background: var(--primary); }

.cxh-safe { margin-bottom: 18px; display: flex; justify-content: center; }
.cxh-safe-phone { position: relative; width: 120px; aspect-ratio: 9 / 16; border-radius: 16px; background: linear-gradient(160deg, #3A4658, #151A23); overflow: hidden; }
.cxh-safe-top, .cxh-safe-side, .cxh-safe-bottom { position: absolute; background: repeating-linear-gradient(45deg, rgba(220,38,38,.35) 0 6px, rgba(220,38,38,.15) 6px 12px); }
.cxh-safe-top { left: 0; right: 0; top: 0; height: 14%; }
.cxh-safe-side { right: 0; top: 40%; width: 20%; height: 42%; }
.cxh-safe-bottom { left: 0; right: 0; bottom: 0; height: 18%; }
.cxh-safe-cap { position: absolute; left: 8%; right: 22%; top: 58%; text-align: center; font: 900 12px/1.05 'Montserrat', sans-serif; color: #fff; outline: 1.5px dashed #4CE0AA; outline-offset: 3px; border-radius: 3px; }
.cxh-safe-cap em { font-style: normal; color: #4CE0AA; }

.cxh-roman { margin-bottom: 18px; padding: 14px; border-radius: 14px; background: var(--surface-1); border: 1px solid var(--border-light); text-align: center; min-height: 176px; }
.cxh-roman-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 12px; }
.cxh-roman-tabs button { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); font: 600 12.5px/1 var(--font-sans); color: var(--text-secondary); cursor: pointer; }
.cxh-roman-tabs button.is-on { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.cxh-roman-native { margin: 0; font-size: 22px; font-weight: 700; color: var(--text); }
.cxh-roman-pane > i { display: block; margin: 6px 0; color: var(--accent); font-size: 13px; }
.cxh-roman-latin { margin: 0; font-size: 20px; font-weight: 800; color: var(--text); }
.cxh-roman-latin span { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }

/* Text effects tile: three sample words, one per effect */
.cxh-fx { display: grid; gap: 10px; padding: 22px 18px; border-radius: 14px; background: linear-gradient(160deg, #2E3550, #12141F); text-align: center; }
.cxh-fx span { display: block; font: 900 clamp(24px, 2.6vw, 34px)/1.1 'Montserrat', sans-serif; text-transform: uppercase; color: #fff; }
.cxh-fx small { display: block; margin-top: 3px; font: 600 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cxh-fx-gradient b { background: linear-gradient(90deg, #A0D83E, #D2F79B 50%, #A0D83E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cxh-fx-glow b { text-shadow: 0 0 .2em #FF00FF, 0 0 .55em #FF00FF; }
.cxh-fx-shadow b { color: #FFD700; text-shadow: .04em .1em 0 rgba(0,0,0,.9); letter-spacing: .12em; }

/* One-line template tile: a caption list with one line marked "Own style" */
.cxh-lines { display: grid; gap: 8px; margin-bottom: 18px; padding: 14px; border-radius: 14px; background: var(--surface-1); border: 1px solid var(--border-light); }
.cxh-lines p { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--text); }
.cxh-lines p.is-on { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,196,127,.16); }
.cxh-lines em { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--primary-glow); color: var(--accent); font: 700 10.5px/1 var(--font-sans); letter-spacing: .05em; text-transform: uppercase; }

/* Clean-ups tile: the same line before and after */
.cxh-clean { display: grid; gap: 6px; margin-bottom: 18px; padding: 14px; border-radius: 14px; background: var(--surface-1); border: 1px solid var(--border-light); text-align: center; }
.cxh-clean p { margin: 0; font-size: 17px; font-weight: 700; color: var(--text-muted); }
.cxh-clean p + i { color: var(--accent); font-size: 13px; }
.cxh-clean p:last-child { color: var(--text); }

.cxh-tile--export { background: var(--surface-dark); border-color: var(--surface-dark); }
.cxh-tile--export h3 { color: var(--text-on-dark); }
.cxh-tile--export p { color: var(--text-on-dark-secondary); }
.cxh-tile--export .cxh-tile-ico { background: rgba(22,196,127,.16); color: var(--primary-light); }
.cxh-res { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cxh-res li { padding: 16px 0; text-align: center; border-radius: 12px; border: 1px solid #2C2C36; background: var(--surface-dark-2); color: var(--text-on-dark); font-weight: 700; font-size: 15px; }
.cxh-res li.is-on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.cxh-res li.cxh-res-srt { color: var(--primary-light); border-style: dashed; }

/* ---------- privacy ---------- */
.cxh-dark { background: var(--surface-dark); color: var(--text-on-dark); overflow: hidden; }
.cxh-dark::before { content: ''; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(22,196,127,.16), transparent); pointer-events: none; }
.cxh-privacy { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.cxh-privacy h2 { color: var(--text-on-dark); font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; margin-bottom: 16px; }
.cxh-privacy-copy p { color: var(--text-on-dark-secondary); font-size: 1.1rem; margin-bottom: 28px; }
.cxh-flow { display: flex; flex-direction: column; gap: 12px; }
.cxh-flow-row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--surface-dark-2); border: 1px solid #2C2C36; }
.cxh-flow-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.06); color: var(--primary-light); }
.cxh-flow h3 { margin: 0 0 2px; font-size: 1rem; color: var(--text-on-dark); }
.cxh-flow p { margin: 0; font-size: 14px; color: var(--text-on-dark-secondary); }
.cxh-flow-out { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: rgba(255,200,61,.12); color: #FFD27A; }
.cxh-flow-out--none { background: rgba(22,196,127,.14); color: var(--primary-light); }

/* ---------- desktop ---------- */
.cxh-desktop { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.cxh-desktop h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.12; margin-bottom: 14px; }
.cxh-desktop-copy > p { color: var(--text-secondary); font-size: 1.1rem; }
.cxh-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.cxh-checks li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; color: var(--text); }
.cxh-checks i { color: var(--accent); }
.cxh-window { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-xl); }
.cxh-window-bar { display: flex; gap: 7px; padding: 11px 14px; background: var(--surface-3); border-bottom: 1px solid var(--border); }
.cxh-window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.cxh-window img { display: block; width: 100%; height: auto; }

/* ---------- audiences ---------- */
.cxh-audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cxh-aud { padding: 26px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); transition: border-color var(--transition-base), transform var(--transition-base); }
.cxh-aud:hover { border-color: var(--primary); transform: translateY(-2px); }
.cxh-aud > i { font-size: 22px; color: var(--accent); margin-bottom: 14px; }
.cxh-aud h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cxh-aud p { margin: 0; font-size: 15px; color: var(--text-secondary); }

/* ---------- pricing ---------- */
.cxh-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.cxh-plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.cxh-plan h3 { font-size: 1.35rem; margin-bottom: 10px; }
.cxh-plan-price { margin: 0 0 8px; }
.cxh-plan-price b { font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; }
.cxh-plan-price span { color: var(--text-muted); font-size: 15px; }
.cxh-plan-desc { color: var(--text-secondary); font-size: 15px; margin-bottom: 20px; }
.cxh-plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.cxh-plan li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.cxh-plan li i { color: var(--accent); }
.cxh-plan-btn { width: 100%; }
.cxh-plan--pro { border: 2px solid var(--primary); box-shadow: 0 20px 50px -20px rgba(22,196,127,.45); }
.cxh-plan-badge { position: absolute; top: -13px; left: 32px; padding: 5px 12px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-size: 12px; font-weight: 800; }
.cxh-plan-rows { display: grid; gap: 6px; margin-bottom: 12px; }
.cxh-plan-rows p { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--surface-1); }
.cxh-plan-rows span { flex: 1; font-weight: 600; color: var(--text-secondary); font-size: 15px; }
.cxh-plan-rows b { font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; }
.cxh-plan-rows small { color: var(--text-muted); font-size: 13px; min-width: 48px; }
.cxh-plan-note { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.cxh-faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.cxh-faq details { border-bottom: 1px solid var(--border); }
.cxh-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.cxh-faq summary::-webkit-details-marker { display: none; }
.cxh-faq summary i { flex: none; margin-top: 4px; font-size: 13px; color: var(--text-muted); transition: transform var(--transition-base); }
.cxh-faq details[open] summary i { transform: rotate(45deg); color: var(--accent); }
.cxh-faq details p { margin: 0 0 20px; color: var(--text-secondary); font-size: 15.5px; max-width: 680px; }

/* ---------- final CTA ---------- */
.cxh-final { padding: 24px 0 104px; }
.cxh-final-card {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
    padding: 56px; border-radius: 28px; background: var(--surface-dark);
    background-image: radial-gradient(50% 80% at 90% 50%, rgba(22,196,127,.25), transparent 70%);
}
.cxh-final-copy h2 { color: var(--text-on-dark); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.12; margin-bottom: 12px; }
.cxh-final-copy p { color: var(--text-on-dark-secondary); font-size: 1.1rem; margin-bottom: 26px; }
.cxh-final-demo { position: relative; height: 180px; }
.cxc-cap--final { left: 0; right: 0; bottom: auto; top: 50%; transform: translateY(-50%); font-size: clamp(24px, 2.4vw, 32px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .cxh-styles { grid-template-columns: repeat(2, 1fr); }
    .cxh-steps { grid-template-columns: repeat(2, 1fr); }
    .cxh-bento { grid-template-columns: repeat(2, 1fr); }
    .cxh-tile--wide { grid-column: span 2; }
}
@media (max-width: 900px) {
    .cxh-sec { padding: 80px 0; }
    .cxh-hero { padding-top: 48px; }
    .cxh-hero-grid, .cxh-privacy, .cxh-desktop, .cxh-faq-grid, .cxh-final-card { grid-template-columns: 1fr; gap: 40px; }
    .cxh-hero-copy { text-align: center; }
    .cxh-lead { margin-inline: auto; }
    .cxh-cta-row, .cxh-trust { justify-content: center; }
    .cxh-audiences { grid-template-columns: 1fr 1fr; }
    .cxh-langs-grid { grid-template-columns: 1fr; gap: 40px; }
    .cxh-plans { grid-template-columns: minmax(0, 480px); }
    .cxh-final-card { padding: 40px 28px; text-align: center; }
    .cxh-final-card .cxh-cta-row { justify-content: center; }
    .cxh-final-demo { height: 120px; }
}
@media (max-width: 640px) {
    .cxh-sec { padding: 64px 0; }
    .cxh-h1 { font-size: 2.35rem; }
    .cxh-mark { white-space: normal; }
    .cxh-styles, .cxh-steps, .cxh-bento, .cxh-audiences { grid-template-columns: 1fr; }
    .cxh-tile--wide { grid-column: auto; grid-template-columns: 1fr; }
    .cxh-cta-row .btn { width: 100%; }
    .cxh-flow-row { grid-template-columns: auto 1fr; }
    .cxh-flow-out { grid-column: 2; justify-self: start; }
    .cxh-engines-sep { display: none; }
    .cxh-style-frame { aspect-ratio: 4 / 5; margin-bottom: 10px; }
    .cxh-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .cxh-style-meta { flex-direction: column; gap: 2px; }
    .cxh-style-meta h3 { font-size: .95rem; }
    .cxh-style p { font-size: 13px; }
    .cxh-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cxh-city:nth-child(even) { transform: none; }
}


.cxh-showcase > .container { position: relative; }
@media (prefers-reduced-motion: reduce) {
    .cxh-langs-list li { transition: none; }
}

.cxh-hero > .container { position: relative; }

/* "New in 1.1" cards (home #new): the audience card as a link to /features/{slug}. */
a.cxh-aud--link { display: block; color: inherit; text-decoration: none; }
a.cxh-aud--link:hover { color: inherit; }
a.cxh-aud--link h3 { display: flex; align-items: center; gap: 8px; }
