/*
Theme Name: Net3PBX
Theme URI: https://net3pbx.com
Author: CAB3 Group
Author URI: https://cab3group.com
Description: Custom theme for Net3PBX — cloud phones, contact center and Parker, the Net3 Voice Agent. Pages are built from editable section blocks.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: net3pbx
*/
/* Layout: fixed glass nav, hash-routed pages, full-bleed bands with a centered 1160px inner column. Single dark look (brand). */
:root {
  --navy: #0a0d14; --navy-2: #0f1522; --navy-3: #131c2e; --navy-4: #1a2438;
  --orange: #E8491E; --orange-btn: #D33E15; --orange-light: #ff7a52; --orange-glow: rgba(232,73,30,.16);
  --text: #f0f3fa; --muted: #8e9bb8; --dim: #7c89a6;
  --border: rgba(255,255,255,.08); --border-hot: rgba(232,73,30,.4);
  --teal: #2fd09c; --blue: #4a9be8;
  --font-display: 'Syne', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--navy); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; background: var(--navy); color: var(--text); line-height: 1.65; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 1001; background: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 3px; border-radius: 4px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: 104px; position: relative; }
.band.alt { background: var(--navy-2); border-block: 1px solid var(--border); }
.band.tight { padding-block: 64px; }

/* ── NAV ── */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1000; background: rgba(10,13,20,.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.nav .wrap { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-links a.on { border-bottom-color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--border); background: var(--navy-2); }
.mobile-menu.open { display: block; }
.mobile-menu .wrap { padding-block: 12px 20px; display: grid; gap: 2px; }
.mobile-menu a { padding: 12px 0; text-decoration: none; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 8px; padding: 13px 24px; cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--orange-btn); color: #fff; box-shadow: 0 6px 24px rgba(232,73,30,.28); }
.btn-primary:hover { background: var(--orange); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: rgba(255,255,255,.14); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ── TYPE HELPERS ── */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-light); margin-bottom: 14px; display: block; }
.h-xl { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; }
.h-lg { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; }
.h-md { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 62ch; }
.accent { color: var(--orange); }
.sec-head { display: grid; gap: 16px; margin-bottom: 52px; max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ── HERO ── */
.hero { padding-block: 96px 72px; overflow: hidden; position: relative; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 640px; background: radial-gradient(600px 340px at 30% 30%, rgba(232,73,30,.16), transparent 70%), radial-gradient(500px 300px at 85% 10%, rgba(74,155,232,.10), transparent 70%); pointer-events: none; }
.hero-media { position: absolute; inset: 0; pointer-events: none; background: var(--navy) center / cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,13,20,.9) 0%, rgba(10,13,20,.62) 42%, rgba(10,13,20,.12) 75%, rgba(10,13,20,0) 100%),
  linear-gradient(180deg, rgba(10,13,20,.25) 0%, rgba(10,13,20,0) 25%, rgba(10,13,20,0) 70%, var(--navy) 100%); }
.hero.has-video { min-height: 660px; display: flex; flex-direction: column; justify-content: center; }
.hero .wrap, .sub-hero .wrap { position: relative; width: 100%; }
.hero-copy { max-width: 640px; }
.hero-copy .lead { color: #c9d1e2; }
@media (max-width: 680px) { .hero.has-video { min-height: 0; } .hero-media::after { background: linear-gradient(180deg, rgba(10,13,20,.55) 0%, rgba(10,13,20,.78) 55%, var(--navy) 100%); } }
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } }

/* photos */
.photo { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--navy-3); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,13,20,.45)); pointer-events: none; }
.parker-visual { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.parker-visual .photo { aspect-ratio: 720 / 1053; max-height: 620px; }
.parker-visual .photo img { object-position: top center; }
.float-card { position: absolute; left: -48px; bottom: 36px; width: min(340px, 90%); z-index: 2; padding: 16px; }
.float-card .msg { font-size: 13px; }
.namecard { position: absolute; right: 16px; top: 16px; z-index: 2; background: rgba(10,13,20,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px 6px 8px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
@media (max-width: 1020px) { .float-card { left: 12px; } }
@media (max-width: 680px) { .float-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -60px; } }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.hero-grid > * { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--orange-light); background: var(--orange-glow); border: 1px solid var(--border-hot); border-radius: 100px; padding: 6px 14px; margin-bottom: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(47,208,156,.18); }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sub-hero { padding-block: 88px 64px; position: relative; overflow: hidden; }
.sub-hero .lead { margin-top: 20px; }
.sub-hero .cta-row { margin-top: 32px; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 14px; background: rgba(15,21,34,.7); margin-top: 72px; position: relative; }
.stat { padding: 26px 24px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat b span { color: var(--orange); }
.stat small { color: var(--muted); font-size: 14px; }

/* ── PARKER CHAT MOCK ── */
.chat { background: linear-gradient(180deg, var(--navy-3), var(--navy-2)); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); position: relative; }
.chat::before { content: ""; position: absolute; inset: 0 22px auto; height: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); }
.chat-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--orange), #ff9a6b); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 17px; flex: none; }
.chat-top b { display: block; font-size: 15px; }
.chat-top small { color: var(--muted); font-size: 12.5px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--teal); background: rgba(47,208,156,.1); border: 1px solid rgba(47,208,156,.25); padding: 3px 10px; border-radius: 100px; }
.msgs { display: grid; gap: 10px; }
.msg { max-width: 86%; font-size: 14px; line-height: 1.5; padding: 10px 14px; border-radius: 12px; }
.msg.ai { background: var(--navy-4); border: 1px solid var(--border); border-top-left-radius: 4px; }
.msg.me { justify-self: end; background: rgba(232,73,30,.14); border: 1px solid rgba(232,73,30,.28); border-top-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 100px; border: 1px solid var(--border); color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }
.chip .ico { width: 13px; height: 13px; stroke-width: 2.4; }
.chip.g { color: var(--teal); border-color: rgba(47,208,156,.3); background: rgba(47,208,156,.07); }
.chip.b { color: var(--blue); border-color: rgba(74,155,232,.3); background: rgba(74,155,232,.07); }

/* ── LOGO STRIP ── */
.trust { padding-block: 44px; border-block: 1px solid var(--border); background: var(--navy-2); }
.trust p { text-align: center; color: var(--dim); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 28px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll-logos 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logos { display: flex; flex: none; align-items: center; gap: 64px; padding-right: 64px; }
@keyframes scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track .logos[aria-hidden] { display: none; }
  .logos { flex-wrap: wrap; justify-content: center; gap: 28px 52px; padding-right: 0; flex: 1; }
}
.logos img { height: 44px; width: auto; max-width: 150px; object-fit: contain; opacity: .62; transition: opacity .2s; }
.logos img.tall { height: 54px; }
.logos img:hover { opacity: 1; }

/* ── CARDS / GRIDS ── */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.grid > * { min-width: 0; }
.card { background: var(--navy-3); border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--border-hot); }
a.card { text-decoration: none; display: block; }
a.card:hover { transform: translateY(-2px); }
.card h3 { font-size: 19px; font-weight: 700; margin: 16px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.ibox { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--orange-glow); color: var(--orange-light); border: 1px solid rgba(232,73,30,.25); }
.ibox.t { background: rgba(47,208,156,.1); color: var(--teal); border-color: rgba(47,208,156,.25); }
.ibox.b { background: rgba(74,155,232,.1); color: var(--blue); border-color: rgba(74,155,232,.25); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--orange-light); }
.more .ico { width: 16px; height: 16px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text); align-items: flex-start; }
.checks .ico { width: 17px; height: 17px; color: var(--teal); stroke-width: 2.4; margin-top: 3px; }
.feature-list { display: grid; gap: 24px; margin-top: 34px; }
.feature { display: flex; gap: 16px; }
.feature h4 { font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }

/* steps (real sequence) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { counter-increment: s; padding: 26px; border-radius: 14px; border: 1px solid var(--border); background: var(--navy-3); }
.step::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--orange-light); display: block; margin-bottom: 14px; }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* badges */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge { font-size: 13.5px; font-weight: 500; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--border); background: rgba(255,255,255,.03); display: inline-flex; gap: 7px; align-items: center; }
.badge .ico { width: 15px; height: 15px; color: var(--teal); stroke-width: 2.4; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--navy-3); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.plan.pop { border-color: var(--border-hot); background: linear-gradient(180deg, rgba(232,73,30,.08), var(--navy-3) 40%); }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--orange-btn); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 4px 12px; border-radius: 100px; }
.plan .name { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 24px; margin: 10px 0 8px; }
.plan > p { color: var(--muted); font-size: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan .checks { flex: 1; margin-bottom: 26px; }
.plan .btn { justify-content: center; }

/* demo panel */
.demo { border: 1px solid var(--border-hot); border-radius: 18px; background: linear-gradient(135deg, rgba(232,73,30,.10), var(--navy-3) 55%); padding: 36px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.demo > * { min-width: 0; }
.demo-actions { display: grid; gap: 14px; }
.demo-opt { background: var(--navy-2); border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: grid; gap: 10px; }
.demo-opt b { font-size: 15px; display: flex; gap: 8px; align-items: center; }
.demo-opt b .ico { color: var(--orange-light); width: 18px; height: 18px; }
.demo-opt small { color: var(--muted); font-size: 13.5px; }
.demo-num { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .01em; }
.demo-status { font-size: 13.5px; color: var(--muted); min-height: 1.4em; }
.proto { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd28a; border: 1px dashed rgba(255,210,138,.5); border-radius: 6px; padding: 2px 8px; }
.fine { font-size: 13px; color: var(--dim); margin-top: 14px; }
.fine a { color: var(--muted); }

/* family */
.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fam { border: 1px solid var(--border); border-radius: 14px; padding: 24px; background: var(--navy-3); display: flex; gap: 16px; align-items: center; }
.fam.me { border-color: var(--border-hot); }
.fam img { width: 44px; height: 44px; object-fit: contain; }
.fam b { display: block; font-size: 16px; }
.fam small { color: var(--muted); font-size: 13.5px; }
.fam .pillar { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--orange-light); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--navy-3); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-light); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; font-size: 15px; }

/* CTA band */
.cta-band { text-align: center; padding-block: 110px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(232,73,30,.18), transparent); pointer-events: none; }
.cta-band .wrap { position: relative; display: grid; justify-items: center; gap: 20px; }
.cta-band .cta-row { justify-content: center; margin-top: 10px; }
.cta-band small { color: var(--muted); }
.cta-band small a { color: var(--orange-light); text-decoration: none; font-weight: 600; }

/* FORM */
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.form-wrap > * { min-width: 0; }
form.quote { background: var(--navy-3); border: 1px solid var(--border); border-radius: 18px; padding: 32px; display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field label i { color: var(--orange-light); font-style: normal; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--text); background: var(--navy-2); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow); }
.boxes { display: flex; flex-wrap: wrap; gap: 8px; }
.boxes label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; border: 1px solid rgba(255,255,255,.12); border-radius: 100px; padding: 7px 14px; cursor: pointer; }
.boxes input { accent-color: var(--orange); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.55; }
.consent input { margin-top: 3px; accent-color: var(--orange); flex: none; width: 16px; height: 16px; }
.consent a { color: var(--text); }
.form-note { font-size: 12.5px; color: var(--dim); }
.form-note a { color: var(--muted); }
.ok-msg { display: grid; gap: 12px; text-align: center; justify-items: center; padding: 40px 10px; }
.ok-msg .ibox { width: 56px; height: 56px; }
.err { color: #ff9c86; font-size: 13.5px; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-list div { display: flex; gap: 14px; align-items: flex-start; }
.contact-list b { display: block; font-size: 15px; }
.contact-list span { color: var(--muted); font-size: 14.5px; }

/* LEGAL */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 4vw, 46px); margin-bottom: 10px; }
.legal .meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.legal h3 { font-size: 16.5px; margin: 22px 0 8px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.legal p, .legal li { color: #c4ccdd; font-size: 15.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 7px; margin: 10px 0; }
.legal strong { color: var(--text); }
.legal .box { border: 1px solid var(--border-hot); background: rgba(232,73,30,.06); border-radius: 12px; padding: 18px 20px; margin: 18px 0; }
.legal .box p { color: var(--text); }
.draft-note { display: flex; gap: 10px; align-items: flex-start; border: 1px dashed rgba(255,210,138,.5); border-radius: 12px; padding: 14px 16px; color: #ffd28a; font-size: 14px; margin-bottom: 30px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.legal-nav a { font-size: 13.5px; text-decoration: none; padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border); color: var(--muted); }
.legal-nav a.on { color: var(--text); border-color: var(--border-hot); }

/* FOOTER */
footer { background: #070a10; border-top: 1px solid var(--border); padding-block: 64px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid > * { min-width: 0; }
.foot-brand img { height: 26px; width: auto; margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 36ch; }
.foot-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin: 0 0 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a, .foot-col span { color: var(--muted); font-size: 14.5px; text-decoration: none; }
.foot-col a:hover { color: var(--text); }
.foot-family { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.foot-family .tagline { font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; color: var(--text); }
.foot-family .sib { display: inline-flex; align-items: center; gap: 8px; }
a.sib { color: var(--muted); text-decoration: none; transition: color .2s; }
a.sib:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
a.fam { text-decoration: none; color: inherit; transition: border-color .25s, transform .25s; }
a.fam:hover { border-color: var(--border-hot); transform: translateY(-2px); }
.foot-family img { width: 22px; height: 22px; object-fit: contain; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: 13px; color: var(--dim); }
.foot-bottom a { color: var(--dim); text-decoration: none; }
.foot-bottom a:hover { color: var(--text); }

/* pages */
@keyframes fade { from { opacity: .4; } to { opacity: 1; } }
@keyframes blink { 50% { opacity: .35; } }

/* RESPONSIVE */
@media (max-width: 1020px) {
  .nav-links, .nav-phone { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .split, .demo, .form-wrap { grid-template-columns: 1fr; gap: 44px; }
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .g3, .plans, .family { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .band { padding-block: 72px; }
  .hero { padding-block: 56px 48px; }
  .sub-hero { padding-block: 56px 40px; }
  .g2, .g3, .g4, .plans, .family, .steps, .row2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat b { font-size: 26px; }
  .nav-right .btn { display: none; }
  .demo, form.quote, .card { padding: 22px; }
  .logos { gap: 40px; padding-right: 40px; }
  .marquee-track { animation-duration: 30s; }
  .logos img { height: 34px; max-width: 120px; }
  .logos img.tall { height: 42px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .sec-head { margin-bottom: 36px; }
}

/* ── WordPress additions ── */
.admin-bar .nav { top: calc(env(safe-area-inset-top, 0px) + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.legal p.meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal .wp-block-list { padding-left: 20px; display: grid; gap: 7px; margin: 10px 0; }
.legal > * + p { margin-top: 12px; }
.legal a { color: var(--orange-light); }
.post-list { display: grid; gap: 18px; }
.post-card { display: block; text-decoration: none; }
.post-card time { color: var(--muted); font-size: 13.5px; }
.entry { max-width: 760px; }
.entry img { border-radius: 12px; height: auto; }
.entry p, .entry li { color: #c4ccdd; font-size: 16.5px; }
.entry > * + * { margin-top: 16px; }
.entry h2, .entry h3 { margin-top: 32px; }
.entry a { color: var(--orange-light); }
.btn[disabled] { opacity: .6; cursor: wait; }
.field .boxes input[type="checkbox"], .consent input[type="checkbox"] { width: 16px; height: 16px; padding: 0; flex: none; box-shadow: none; }
.boxes label { line-height: 1.3; }
