/*
Theme Name: Cybex Legal
Theme URI: https://cybexlegal.example
Author: Cybex Legal
Description: Modern one-page SaaS-style website for Cybex Legal and Cybex MoneyTrail AI, AI-powered money-trail tracing for cyber-fraud and financial-crime cases. Includes a secure contact form and Customizer settings (Appearance > Customize > Cybex Legal).
Version: 2.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cybex-legal
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--white: #ffffff;
	--soft: #f6f8fc;          /* alternate section background */
	--soft-2: #eef3fb;
	--ink: #0b1220;           /* headings */
	--text: #2a3446;          /* body */
	--muted: #5b6578;         /* secondary */
	--faint: #6b7487;
	--line: #e3e8f1;
	--blue: #2563eb;          /* primary */
	--blue-hover: #1d4ed8;
	--blue-50: #eff5ff;
	--blue-100: #dbe7ff;
	--indigo: #4f46e5;
	--cyan: #06b6d4;
	--amber: #b45309;         /* legal-determination layer (text-safe on white) */
	--amber-bg: #fff7ea;
	--amber-line: #f5c27a;
	--night: #0b1220;         /* dark bands */
	--night-2: #121a2c;
	--night-line: #24304a;
	--grad: linear-gradient(120deg, #2563eb 0%, #4f46e5 55%, #06b6d4 100%);
	--shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 2px 8px rgba(11, 18, 32, .04);
	--shadow: 0 10px 30px rgba(11, 18, 32, .08), 0 2px 6px rgba(11, 18, 32, .04);
	--shadow-lg: 0 40px 80px -20px rgba(37, 99, 235, .35), 0 12px 30px rgba(11, 18, 32, .10);
	--font: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--max: 1200px;
	--r: 16px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -0.025em; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
section { padding: 112px 0; scroll-margin-top: 72px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.soft { background: var(--soft); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

/* Section headings */
.head { max-width: 760px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.title { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin-bottom: 18px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); }
.note { font-size: 14px; color: var(--faint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; border: 1px solid transparent; background: var(--blue); color: #fff; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .6); transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--soft); border-color: #cfd8e6; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 38px; object-fit: contain; }
.brand strong { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand strong span { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: var(--white); border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   4. Hero + product mockup
   ========================================================================== */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px; background: radial-gradient(600px 360px at 78% 30%, rgba(79, 70, 229, .16), transparent 70%), radial-gradient(520px 320px at 20% 10%, rgba(37, 99, 235, .14), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; letter-spacing: -0.04em; margin: 4px 0 22px; }
.hero .sub { font-size: 20px; color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.hero .actions { justify-content: center; }
.trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: "\2713"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: 11px; font-weight: 800; }

.mock { margin: 64px auto 0; max-width: 1080px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dde8; }
.mock-bar span { margin-left: 12px; font: 500 13px var(--mono); color: var(--faint); }
.mock-body { display: grid; grid-template-columns: 200px 1fr 300px; min-height: 420px; }
.mock-side { border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; background: #fbfcfe; }
.mock-side b { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); margin-bottom: 10px; }
.mock-side b img { width: 20px; height: 22px; }
.mock-side p { font-size: 13px; padding: 7px 10px; border-radius: 8px; color: var(--muted); }
.mock-side p.on { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.mock-side small { margin-top: auto; font-size: 11px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 12px; }
.mock-graph { padding: 18px; position: relative; }
.mock-graph .tool { display: flex; gap: 8px; margin-bottom: 8px; }
.mock-graph .tool span { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.mock-graph .tool span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mock-graph svg { width: 100%; height: auto; display: block; }
.mock-panel { border-left: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #fbfcfe; }
.mock-panel h4 { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.mock-panel .amt { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.mock-panel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13px; }
.mock-panel dt { color: var(--faint); } .mock-panel dd { margin: 0; color: var(--ink); font-family: var(--mono); font-size: 12px; text-align: right; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.chip.ai { background: var(--blue-50); color: var(--blue); }
.chip.fact { background: #f1f4f9; color: #445066; }
.chip.legal { background: var(--amber-bg); color: var(--amber); }
.src { border: 1px dashed #c9d4e6; border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.src b { color: var(--ink); display: block; font-size: 13px; }

.flow { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 48px; }
.flow li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.flow li span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); }
.flow li:not(:last-child)::after { content: "\2192"; color: var(--blue); }

/* ==========================================================================
   5. Problem
   ========================================================================== */
.problem-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.pull { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--ink); border-left: 4px solid var(--blue); padding-left: 20px; margin-top: 28px; }
.trail { padding: 28px; }
.trail-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.trail-label span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.trail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.trail-head .trail-label { margin: 0; }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.docs li { padding: 10px 8px; border: 1px dashed #c9d4e6; border-radius: 10px; font-size: 13px; color: var(--muted); text-align: center; background: var(--soft); }
.feed { display: flex; justify-content: center; padding: 10px 0 16px; }
.feed span { width: 2px; height: 30px; background: linear-gradient(var(--line), var(--blue)); position: relative; }
.feed span::after { content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--blue); }
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chain .node { padding: 12px 6px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: background .3s, border-color .3s, box-shadow .3s, color .3s; }
.chain .node small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.chain .node b { font-size: 14px; color: var(--ink); }
.chain .node:first-child, .chain .node:last-child { border-color: var(--blue); }
.chain .node:hover, .chain .node.lit { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.chain .node:hover small, .chain .node.lit small, .chain .node:hover b, .chain .node.lit b { color: #fff; }

/* ==========================================================================
   6. Scale
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.stat { padding: 28px; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); }
.stat.in::before { background: linear-gradient(90deg, #f59e0b, #f97316); }
.stat small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.stat b { display: block; font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin: 6px 0 8px; }
.stat p { font-size: 15px; color: var(--muted); }
.stat sup, .sources { color: var(--faint); }
.chart-card { padding: 28px 28px 20px; }
.chart-card figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.chart-card figcaption span { font-weight: 500; font-size: 14px; color: var(--muted); }
.chart-card svg { width: 100%; height: auto; }
.sources { list-style: decimal; padding-left: 20px; margin-top: 28px; font-size: 13px; line-height: 1.6; }
.sources + .note { margin-top: 6px; font-size: 13px; }

/* ==========================================================================
   7. Product
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin-bottom: 48px; position: relative; }
.steps::before { content: ""; position: absolute; left: 7%; right: 7%; top: 21px; height: 2px; background: linear-gradient(90deg, var(--blue-100), var(--blue), var(--blue-100)); }
.steps li { position: relative; text-align: center; font-weight: 600; font-size: 15px; color: var(--ink); }
.steps em { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); color: var(--blue); font-style: normal; font-weight: 800; font-size: 14px; position: relative; box-shadow: 0 0 0 6px var(--white); }
.steps li:first-child em { background: var(--blue); color: #fff; }
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.caps li { padding: 22px; display: flex; gap: 14px; align-items: center; font-weight: 600; color: var(--ink); }
.caps li::before { content: ""; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.badge { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.badge li { font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--blue-100); color: var(--blue); }

/* ==========================================================================
   8. Traceability & architecture
   ========================================================================== */
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 64px; }
.phases li { padding: 20px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); position: relative; }
.phases li::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue-100); }
.phases li:first-child { background: var(--blue); border-color: var(--blue); }
.phases li:first-child small, .phases li:first-child b { color: #fff; }
.phases li:first-child::after { display: none; }
.phases small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.phases b { font-size: 16px; line-height: 1.3; color: var(--ink); display: block; }
.sub-title { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.trace-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.trace-row { display: grid; grid-template-columns: 120px 170px 1fr; gap: 14px; align-items: center; padding: 14px 18px; margin-bottom: 10px; }
.trace-row .v { color: var(--muted); font-size: 15px; }
.trace-row .chip { justify-self: start; }
.trace-row b { color: var(--ink); font-size: 15px; }
.trace-list .note { margin-bottom: 10px; }
.legend { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.legend div p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.legend .end { font-size: 22px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 18px; }

.cards6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards6 li { padding: 28px; }
.cards6 em { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-style: normal; font-weight: 800; font-size: 14px; margin-bottom: 18px; }
.cards6 h3 { font-size: 19px; margin-bottom: 8px; }
.cards6 p { color: var(--muted); font-size: 15px; }
.quote { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--ink); text-align: center; max-width: 860px; margin: 56px auto 0; letter-spacing: -0.02em; }
.quote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; color: var(--blue); margin-bottom: 14px; }

/* ==========================================================================
   9. Guardrails (dark band)
   ========================================================================== */
.night { background: var(--night); color: #c5cde0; position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 85% 0%, rgba(79, 70, 229, .28), transparent 70%), radial-gradient(600px 320px at 0% 100%, rgba(37, 99, 235, .22), transparent 70%); pointer-events: none; }
.night .wrap { position: relative; }
.night h2, .night h3 { color: #fff; }
.night .lead { color: #a7b1c6; }
.night .kicker { background: rgba(37, 99, 235, .16); border-color: rgba(96, 165, 250, .3); color: #93c5fd; }
.night .kicker::before { background: #93c5fd; }
.guard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guard { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: 32px; }
.guard h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 16px; }
.guard h3::before { content: "\2713"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(37, 99, 235, .25); color: #93c5fd; font-size: 14px; }
.guard.no h3::before { content: "\2715"; background: rgba(245, 158, 11, .2); color: #fbbf24; }
.guard li { padding: 11px 0; border-top: 1px solid var(--night-line); color: #dbe2ef; }
.night .quote { color: #fff; }
.night .quote::before { color: #60a5fa; }

/* ==========================================================================
   10. Vision staircase
   ========================================================================== */
.stairs { display: flex; align-items: flex-end; gap: 12px; }
.stairs li { flex: 1; border-radius: 16px 16px 4px 4px; padding: 20px 18px; display: flex; flex-direction: column; justify-content: flex-start; color: var(--ink); }
.stairs small { font-weight: 700; letter-spacing: .1em; font-size: 12px; text-transform: uppercase; margin-bottom: 8px; color: var(--blue); }
.stairs b { font-size: 17px; line-height: 1.3; }
.stairs li:nth-child(1) { height: 150px; background: var(--blue-50); }
.stairs li:nth-child(2) { height: 200px; background: var(--blue-100); }
.stairs li:nth-child(3) { height: 250px; background: #b9d0ff; }
.stairs li:nth-child(4) { height: 300px; background: #6c9cf7; color: #fff; }
.stairs li:nth-child(5) { height: 350px; background: var(--grad); color: #fff; }
.stairs li:nth-child(4) small, .stairs li:nth-child(5) small { color: #e7efff; }

/* ==========================================================================
   11. Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 20px; justify-content: center; }
.person { padding: 32px; text-align: center; }
.person .avatar { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 24px; box-shadow: 0 0 0 6px var(--blue-50); }
.person h3 { font-size: 22px; margin-bottom: 4px; }
.person small { color: var(--blue); font-weight: 700; letter-spacing: .1em; font-size: 12px; text-transform: uppercase; }
.person p { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* ==========================================================================
   12. Contact CTA + form
   ========================================================================== */
.cta { background: var(--grad); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; color: #e6edff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); pointer-events: none; }
.cta h2 { color: #fff; }
.cta .lead { color: #dbe5ff; }
.cta .kicker { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: #fff; }
.cta .kicker::before { background: #fff; }
.cta .direct { margin-top: 24px; color: #dbe5ff; }
.cta .direct a { color: #fff; font-weight: 600; }
.cta ul.points { margin-top: 28px; display: grid; gap: 10px; }
.cta ul.points li { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 500; }
.cta ul.points li::before { content: "\2713"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-size: 12px; }
.contact-form { padding: 28px; display: grid; gap: 14px; position: relative; z-index: 1; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form label em { color: var(--faint); font-weight: 400; font-style: normal; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); font: 400 16px/1.4 var(--font); transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.contact-form .btn { width: 100%; }
.form-fine { font-size: 13px; color: var(--faint); text-align: center; }
.form-notice { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.form-notice.ok { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-hover); }
.form-notice.err { background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber); }

/* ==========================================================================
   13. Footer (dark)
   ========================================================================== */
.site-footer { background: var(--night); color: #a7b1c6; padding: 64px 0 28px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 34px; height: 38px; object-fit: contain; }
.footer-brand strong { color: #fff; font-size: 16px; }
.disclaimer { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 14px; padding: 20px 22px; }
.disclaimer strong { color: #fff; display: block; margin-bottom: 6px; }
.site-footer .copyright { display: block; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--night-line); color: #7d889c; font-size: 13px; }

/* Fallback template content */
.entry { max-width: 820px; color: var(--muted); }

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.mock-body { grid-template-columns: 1fr 280px; }
	.mock-side { display: none; }
}
@media (max-width: 1024px) {
	.problem-grid, .trace-grid, .cta { grid-template-columns: 1fr; }
	.phases { grid-template-columns: repeat(3, 1fr); }
	.caps, .cards6, .stats { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
	.steps::before { display: none; }
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
	.nav-open .site-nav { display: flex; }
	.site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.site-nav .btn { margin-top: 16px; }
}
@media (max-width: 720px) {
	.mock-body { grid-template-columns: 1fr; }
	.mock-panel { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	section { padding: 76px 0; }
	.hero { padding-top: 48px; }
	.head { margin-bottom: 40px; }
	.flow li:not(:last-child)::after { display: none; }
	.chain { grid-template-columns: repeat(2, 1fr); }
	.docs { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.phases, .caps, .cards6, .stats, .guard-grid, .team-grid, .site-footer .wrap { grid-template-columns: 1fr; }
	.stairs { flex-direction: column; align-items: stretch; }
	.stairs li { height: auto !important; border-radius: 14px; }
	.trace-row { grid-template-columns: 1fr; gap: 4px; }
	.cta { padding: 32px 22px; border-radius: 22px; }
}
