/* ============================================================
   GEN3-EVOLVED — A2P tax-resolution skin (fixed dark sidebar)
   Refines the original gen3: 280px sidebar, mesh ambience, and a
   calm "aegis" shield signature. Single-hue palette from one hex.
   Type: Space Grotesk (display) · Inter (body) · Space Mono (data).
   ============================================================ */

/* @palette:start */
:root {
  --primary: #2445C7;
  --primary-dark: #1c379f;
  --secondary: #2e59ff;
  --accent: #274bda;
  --accent-light: #3260ff;
}
/* @palette:end */

:root {
  --sidebar:  #0E1116;   /* fixed dark, brand-independent */
  --sidebar-2:#161B22;
  --ink:      #131720;
  --ink-soft: #4B515D;
  --ink-faint:#868D99;
  --paper:    #FBFCFD;
  --surface:  #FFFFFF;
  --line:     #E7EAEE;

  --wash:       color-mix(in srgb, var(--primary) 5%,  #ffffff);
  --edge:       color-mix(in srgb, var(--primary) 16%, #ffffff);
  --brand-soft: color-mix(in srgb, var(--primary) 12%, #ffffff);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  --sb: 280px;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-pill: 999px;
  --shadow:    0 24px 60px color-mix(in srgb, var(--primary) 16%, transparent);
  --shadow-sm: 0 12px 32px color-mix(in srgb, var(--ink) 8%, transparent);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

h1,h2,h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
p { color: var(--ink-soft); }
a { color: inherit; }

.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); font-weight: 700; }

/* Ambient mesh */
.mesh { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 40% at 78% 12%, var(--brand-soft) 0%, transparent 60%),
    radial-gradient(40% 45% at 20% 90%, color-mix(in srgb, var(--primary) 6%, transparent) 0%, transparent 60%);
  animation: drift 22s ease-in-out infinite; }
@keyframes drift { 0%,100% { opacity: 1; } 50% { opacity: 0.75; } }

/* --------------------------- Sidebar --------------------------- */
.sidebar { position: fixed; left: 0; top: 0; height: 100vh; width: var(--sb); background: var(--sidebar); color: #fff;
  display: flex; flex-direction: column; padding: 2.4rem 1.8rem; z-index: 1000; transition: transform .35s cubic-bezier(.4,0,.2,1); }
.sb-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #fff; text-decoration: none; letter-spacing: -0.02em; padding-bottom: 1.2rem; margin-bottom: 2.4rem; position: relative; display: block; }
.sb-brand::after { content: ''; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px; background: var(--primary); border-radius: 3px; }
.sb-brand .tag { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); margin-top: 0.5rem; font-weight: 400; }
.sb-nav { list-style: none; flex: 1; }
.sb-nav li { margin-bottom: 0.35rem; }
.sb-nav a { display: block; color: rgba(255,255,255,.66); text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 0.8rem 1rem; border-radius: var(--r-sm); position: relative; transition: color .2s ease, background .2s ease; }
.sb-nav a::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 0; background: var(--primary); border-radius: 3px; transition: height .25s ease; }
.sb-nav a:hover, .sb-nav a.active { color: #fff; background: rgba(255,255,255,.05); }
.sb-nav a:hover::before, .sb-nav a.active::before { height: 60%; }
.sb-cta { margin-top: 1.4rem; }
.sb-foot { margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255,255,255,.4); letter-spacing: 0.04em; }

.sb-toggle { display: none; position: fixed; top: 1.1rem; left: 1.1rem; z-index: 1001; background: var(--sidebar); border: 0; border-radius: var(--r-sm); padding: 0.7rem; cursor: pointer; flex-direction: column; gap: 5px; }
.sb-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.sb-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sb-toggle.open span:nth-child(2) { opacity: 0; }
.sb-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------- Layout --------------------------- */
.main { margin-left: var(--sb); min-height: 100vh; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 3rem; }
section { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.tint { background: var(--wash); border-block: 1px solid var(--line); }
.dark { background: var(--sidebar); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: rgba(255,255,255,.72); }
.dark .eyebrow { color: var(--accent-light); }

.sec-head { max-width: 640px; margin: 0 auto clamp(2.5rem,4vw,4rem); text-align: center; }
.sec-head .eyebrow { display: inline-block; margin-bottom: 1rem; }
.sec-head h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3rem); margin-bottom: 1rem; }
.sec-head p { font-size: 1.1rem; }

/* --------------------------- Buttons --------------------------- */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: 0.9rem 1.5rem; border-radius: var(--r-pill); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .2s ease; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--edge); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.sb-cta .btn { width: 100%; justify-content: center; }
.btn-arrow { transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* --------------------------- Hero + aegis --------------------------- */
.hero { padding: clamp(3.5rem,6vw,6rem) 0; }
.hero-grid { max-width: 1120px; margin: 0 auto; padding: 0 3rem; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.hero .eye { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem; }
.hero .eye .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero h1 { font-size: clamp(2.5rem, 4vw + 1rem, 4rem); margin-bottom: 1.4rem; }
.hero h1 span { color: var(--primary); }
.hero-sub { font-size: 1.18rem; max-width: 34ch; margin-bottom: 2.1rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust { display: flex; gap: 1.4rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-faint); }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* Signature: Aegis shield card */
.aegis { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); min-height: 440px; display: grid; place-items: center; overflow: hidden; }
.aegis-glow { position: absolute; inset: -20%; background: radial-gradient(circle at 50% 42%, var(--brand-soft), transparent 60%); animation: pulseGlow 6s ease-in-out infinite alternate; }
@keyframes pulseGlow { from { transform: scale(1); opacity: .8; } to { transform: scale(1.08); opacity: 1; } }
.ring { position: absolute; top: 42%; left: 50%; width: 320px; height: 320px; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid var(--edge); opacity: 0; animation: fadeIn 1s ease .1s both; }
.ring.r2 { width: 230px; height: 230px; border-style: dashed; animation: fadeIn 1s ease .25s both, spin 26s linear infinite; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* rotating light sweep around the shield */
.sweep { position: absolute; top: 42%; left: 50%; width: 320px; height: 320px; transform: translate(-50%,-50%); border-radius: 50%; pointer-events: none; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--primary) 26%, transparent) 86%, color-mix(in srgb, var(--accent-light) 20%, transparent) 93%, transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 45%, #000 47% 71%, transparent 73%);
  mask: radial-gradient(circle, transparent 0 45%, #000 47% 71%, transparent 73%);
  animation: fadeIn 1.2s ease .3s both, sweepRot 4.4s linear infinite; }
@keyframes sweepRot { to { transform: translate(-50%,-50%) rotate(360deg); } }

.shield { position: relative; width: 120px; height: 140px; z-index: 1; filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--primary) 30%, transparent)); opacity: 0; animation: shieldIn .9s cubic-bezier(.34,1.3,.5,1) .15s both, floatShield 5.5s ease-in-out .9s infinite; }
.shield svg { width: 100%; height: 100%; }
.shield-face { fill: color-mix(in srgb, var(--primary) 10%, #ffffff); stroke: var(--primary); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawFace 1.1s ease .3s forwards; }
.shield-check { fill: none; stroke: var(--primary); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawCheck .7s ease 1.05s forwards; }
@keyframes shieldIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes floatShield { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes drawFace { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.aegis-chips { position: absolute; inset: 0; z-index: 2; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 0.45rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: var(--r-pill); padding: 0.5rem 0.85rem; font-size: 0.8rem; font-weight: 600; color: var(--ink); opacity: 0;
  animation: chipIn .55s cubic-bezier(.34,1.3,.5,1) var(--cd, .4s) both, floatChip var(--fdur, 6s) ease-in-out var(--fd, 0s) infinite; }
.chip::before { content: '✓'; color: var(--primary); font-weight: 700; }
.chip.c1 { top: 14%; left: 8%;  --cd: 1.15s; --fd: 0s;    --fdur: 6s; }
.chip.c2 { top: 24%; right: 7%; --cd: 1.3s;  --fd: -1.6s; --fdur: 6.6s; }
.chip.c3 { bottom: 20%; left: 10%; --cd: 1.45s; --fd: -.8s;  --fdur: 5.6s; }
.chip.c4 { bottom: 14%; right: 9%; --cd: 1.6s;  --fd: -2.4s; --fdur: 6.2s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes floatChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.aegis-cap { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-faint); text-transform: uppercase; opacity: 0; animation: fadeIn .8s ease 1.7s both; }

/* --------------------------- Stats --------------------------- */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.stat { text-align: center; }
.stat b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--accent-light); display: block; line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* --------------------------- About --------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.about h2 { font-size: clamp(1.9rem,2.4vw + 1rem,2.7rem); margin-bottom: 1.3rem; }
.about p { font-size: 1.05rem; margin-bottom: 1.1rem; }
.marks { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.marks .m { background: var(--surface); padding: 1.6rem; }
.marks .m b { font-family: var(--font-display); font-size: 2rem; color: var(--primary); font-weight: 700; display: block; line-height: 1; }
.marks .m span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }

/* --------------------------- Cards / services --------------------------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--edge); }
.card .num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--primary); letter-spacing: 0.1em; }
.card h3 { font-size: 1.28rem; margin: 0.8rem 0 0.6rem; }
.card p { font-size: 0.97rem; }

/* --------------------------- Process --------------------------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; counter-reset: s; }
.step { position: relative; padding-top: 2.6rem; }
.step::before { counter-increment: s; content: counter(s,decimal-leading-zero); font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; color: var(--accent-light); position: absolute; top: 0; left: 0; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; }

/* --------------------------- FAQ --------------------------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.faq-q::after { content: '+'; position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary); transition: transform .3s ease; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding-bottom: 1.5rem; font-size: 1rem; }
.faq-a a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* --------------------------- Form --------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(2rem,4vw,3rem); max-width: 720px; margin: 0 auto; }
.form-card h2 { font-size: clamp(1.7rem,2.4vw + 1rem,2.4rem); margin-bottom: 0.7rem; }
.form-card > p { margin-bottom: 2rem; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; }
.field input { width: 100%; padding: 0.95rem 1.1rem; font-family: var(--font-body); font-size: 1rem; border: 1px solid var(--edge); border-radius: var(--r-sm); background: var(--wash); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-soft); }
.field input.error { border-color: #C6413B; box-shadow: 0 0 0 4px color-mix(in srgb,#C6413B 12%,transparent); }
.error-message { display: none; color: #C6413B; font-size: 0.82rem; margin-top: 0.4rem; }
.consent { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.1rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); cursor: pointer; }
.consent label { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; cursor: pointer; }
.consent label strong { color: var(--ink); font-weight: 600; }
.form-legal { font-size: 0.82rem; color: var(--ink-faint); margin: 0.4rem 0 1.6rem; }
.form-legal a { color: var(--primary); font-weight: 600; text-decoration: none; }
.btn-submit { width: 100%; justify-content: center; }
.thank-you { display: none; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(2.5rem,5vw,4rem); max-width: 720px; margin: 0 auto; }
.thank-you.show { display: block; animation: rise .5s ease; }
.thank-you h3 { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
.thank-you p { margin-bottom: 0.9rem; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 2.5rem; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 2rem; position: sticky; top: 2rem; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.info-row { margin-bottom: 1.3rem; }
.info-row .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 0.35rem; }
.info-row .v, .info-row .v a { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.02rem; }

/* --------------------------- Legal --------------------------- */
.legal { padding: clamp(3rem,6vw,5rem) 0; }
.legal-head { max-width: 900px; margin: 0 auto 2.4rem; padding: 0 3rem; }
.legal-head .eyebrow { display: inline-block; margin-bottom: 0.9rem; }
.legal-head h1 { font-size: clamp(2.1rem,3vw + 1rem,3.2rem); }
.legal-head .lead { font-size: 1.1rem; color: var(--ink-soft); margin-top: 0.7rem; max-width: 60ch; }
.legal-body { max-width: 900px; margin: 0 auto; padding: 0 3rem; }
.legal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(2rem,4vw,3.4rem); }
.effective { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-soft); background: var(--wash); border-left: 3px solid var(--primary); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1rem 1.2rem; margin-bottom: 2.2rem; }
.effective strong { color: var(--primary); }
.legal-card > p { font-size: 1.02rem; line-height: 1.8; margin-bottom: 1.4rem; }
.legal-card h2 { font-size: 1.45rem; margin: 2.5rem 0 1rem; }
.legal-card h3 { font-size: 1.18rem; margin: 1.8rem 0 0.8rem; }
.legal-card ul { margin: 0 0 1.6rem 1.4rem; }
.legal-card li { font-size: 1.02rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 0.6rem; }
.legal-card strong { color: var(--ink); }
.legal-card a { color: var(--primary); font-weight: 600; text-decoration: none; }
.legal-contact { margin-top: 2.5rem; padding: 2rem; background: var(--sidebar); color: #fff; border-radius: var(--r); }
.legal-contact h2 { color: #fff; margin-top: 0; font-size: 1.35rem; }
.legal-contact p { color: rgba(255,255,255,.8); margin-bottom: 0.4rem; }
.legal-contact .name { font-family: var(--font-display); font-size: 1.25rem; color: #fff; margin: 0.6rem 0 0.4rem; }
.legal-links { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); text-align: center; font-family: var(--font-mono); font-size: 0.85rem; }
.legal-links a { color: var(--primary); text-decoration: none; margin: 0 0.7rem; }

/* --------------------------- Footer --------------------------- */
.footer { margin-left: var(--sb); background: var(--sidebar); color: #fff; padding: clamp(3rem,5vw,4.5rem) 0 2rem; border-top: 3px solid var(--primary); }
.footer-grid { max-width: 1120px; margin: 0 auto; padding: 0 3rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 1rem; }
.footer p { color: rgba(255,255,255,.72); font-size: 0.95rem; max-width: 34ch; }
.footer .col h5 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 1.1rem; }
.footer .col a { display: block; color: rgba(255,255,255,.78); text-decoration: none; font-size: 0.95rem; margin-bottom: 0.7rem; transition: color .2s ease, transform .2s ease; }
.footer .col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { max-width: 1120px; margin: 2.4rem auto 0; padding: 1.6rem 3rem 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.78rem; color: rgba(255,255,255,.6); }

/* --------------------------- Motion / reveal --------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
[data-rise] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-rise].in { opacity: 1; transform: translateY(0); }

/* --------------------------- Responsive --------------------------- */
@media (max-width: 1100px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sb-toggle { display: flex; }
  .main, .footer { margin-left: 0; }
  .hero-grid, .about, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; gap: 1.4rem; }
  .info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .aegis { min-height: 380px; }
}
@media (max-width: 620px) {
  .wrap, .hero-grid, .footer-grid, .footer-bottom, .legal-head, .legal-body { padding-left: 1.4rem; padding-right: 1.4rem; }
  .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .chip { display: none; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-rise] { opacity: 1; transform: none; }
  .ring, .sweep, .shield, .chip, .aegis-cap { opacity: 1 !important; }
  .shield-face, .shield-check { stroke-dashoffset: 0 !important; }
}
