/* WaitForYes — estilos compartidos (tema cálido y luminoso) */
@font-face {
  font-family:"Bricolage Grotesque";
  src:url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight:200 800; font-style:normal; font-display:swap;
}
:root {
  --bg:#fffaf2; --bg2:#fff3e3; --card:#ffffff; --card2:#fbf6ee; --line:#eadfce; --line2:#f1e8da;
  --text:#1d1a2e; --muted:#6b6478; --ink:#1d1a2e;
  --yes:#22c55e; --teal:#14b8a6; --yes-ink:#0b2a1c; --link:#0b7f4b;
  --grad:linear-gradient(135deg,#22c55e 0%,#14b8a6 100%);
  --grad-text:linear-gradient(90deg,#16a34a,#0d9488);
  --coral:#ff6b4a; --sun:#ffc23d; --violet:#7c5cff;
  --red:#e5383b; --amber:#f59e0b; --green:#22c55e; --gray:#94a3b8;
  --red-ink:#b42318; --amber-ink:#9a5800; --green-ink:#0b7a3e;
  --radius:18px;
  --shadow:0 1px 2px rgba(29,26,46,.05), 0 10px 30px -12px rgba(29,26,46,.14);
  --shadow-lg:0 2px 4px rgba(29,26,46,.05), 0 24px 50px -20px rgba(29,26,46,.25);
  --display:"Bricolage Grotesque",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:clip; }
body { margin:0; font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; background:var(--bg); color:var(--text); line-height:1.65; overflow-x:clip; }
a { color:var(--link); text-underline-offset:3px; }
a:hover { color:#076b3d; }
img, svg { max-width:100%; }
.wrap { max-width:1040px; margin:0 auto; padding:0 16px; }
.narrow { max-width:780px; }
::selection { background:#bbf7d0; }

.skip { position:absolute; left:-9999px; top:8px; z-index:50; background:var(--ink); color:#fff; padding:8px 12px; border-radius:8px; font-weight:700; }
.skip:focus { left:16px; }

/* ---------- Logo ---------- */
.logo { display:flex; align-items:center; gap:10px; font-family:var(--display); font-weight:800; font-size:22px; letter-spacing:-.03em; color:var(--text); text-decoration:none; white-space:nowrap; }
.logo:hover { color:var(--text); }
.logo b { font-weight:800; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.mark { width:46px; height:29px; flex:0 0 auto; overflow:visible; filter:drop-shadow(0 4px 8px rgba(20,184,166,.35)); }
.mark .d { transform-box:fill-box; transform-origin:center; animation:wait 1.8s ease-in-out infinite; }
.mark .d:nth-of-type(2) { animation-delay:.2s; }
.mark .d:nth-of-type(3) { animation-delay:.4s; }
@keyframes wait { 0%, 70%, 100% { opacity:.45; transform:translateY(0); } 30% { opacity:1; transform:translateY(-2.5px); } }
.logo:hover .knob, .logo:hover .chk { transform:scale(1.06); }
.mark .knob, .mark .chk { transform-box:view-box; transform-origin:45px 20px; transition:transform .25s ease; }

/* ---------- Header ---------- */
.site-header { position:sticky; top:0; z-index:20; background:rgba(255,250,242,.85); backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--line2); }
.site-header .wrap { display:flex; justify-content:space-between; align-items:center; gap:12px; height:66px; }
.nav { display:flex; align-items:center; gap:2px; }
.nav a { color:var(--muted); text-decoration:none; font-size:15px; font-weight:500; padding:8px 12px; border-radius:999px; }
.nav a:hover, .nav a[aria-current="page"] { color:var(--text); background:#fff; box-shadow:0 1px 0 var(--line); }
.nav a.cta { background:var(--ink); color:#fff; font-weight:700; margin-left:8px; padding:9px 16px; box-shadow:none; }
.nav a.cta:hover { background:#000; }
.menu-btn { display:none; background:#fff; border:1px solid var(--line); color:var(--text); border-radius:999px; padding:8px 14px; font-size:15px; font-weight:600; cursor:pointer; }
@media (max-width:820px) {
  .menu-btn { display:block; }
  .nav { display:none; position:absolute; top:66px; left:0; right:0; flex-direction:column; align-items:stretch; background:var(--bg); border-bottom:1px solid var(--line); padding:8px 16px 16px; box-shadow:var(--shadow); }
  .nav.open { display:flex; }
  .nav a { padding:12px; font-size:16px; border-radius:12px; }
  .nav a.cta { margin:8px 0 0; text-align:center; }
}

/* ---------- Typography / sections ---------- */
h1, h2, h3, h4, h5 { font-family:var(--display); letter-spacing:-.02em; }
h1 { font-size:clamp(34px,6.4vw,60px); line-height:1.04; margin:0 0 16px; font-weight:800; letter-spacing:-.035em; }
h2 { font-size:clamp(27px,4.2vw,38px); line-height:1.12; margin:64px 0 14px; font-weight:800; letter-spacing:-.03em; }
h3 { font-size:20px; margin:24px 0 8px; font-weight:700; }
.lead { color:var(--muted); font-size:clamp(17px,2.2vw,20px); }
.small { font-size:13px; color:var(--muted); }
.muted { color:var(--muted); }
.page-head { position:relative; padding:56px 0 12px; }
.page-head::before { content:""; position:absolute; z-index:-1; inset:-40px -10vw auto auto; width:420px; height:300px; background:radial-gradient(closest-side,rgba(255,194,61,.35),transparent), radial-gradient(closest-side at 30% 70%,rgba(34,197,94,.22),transparent); filter:blur(10px); pointer-events:none; }
.page-head p { color:var(--muted); font-size:19px; margin:0; max-width:680px; }
.center { text-align:center; }
section { scroll-margin-top:84px; }
main { position:relative; isolation:isolate; }
.hl { position:relative; white-space:nowrap; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hl::after { content:""; position:absolute; left:-2%; right:-2%; bottom:.02em; height:.22em; background:var(--sun); opacity:.55; border-radius:999px; z-index:-1; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:6px 14px 6px 10px; font-size:14px; font-weight:600; color:var(--text); box-shadow:var(--shadow); margin-bottom:20px; }
.eyebrow .led { width:9px; height:9px; }

/* ---------- Buttons / forms ---------- */
.btn, button.btn { display:inline-block; padding:13px 24px; font-size:16px; font-weight:700; font-family:inherit; border:0; border-radius:999px; background:var(--grad); color:var(--yes-ink); cursor:pointer; text-decoration:none; text-align:center; box-shadow:0 8px 20px -8px rgba(20,184,166,.7), inset 0 1px 0 rgba(255,255,255,.35); transition:transform .15s ease, box-shadow .15s ease; }
.btn:hover { color:var(--yes-ink); transform:translateY(-1px); box-shadow:0 12px 24px -8px rgba(20,184,166,.75), inset 0 1px 0 rgba(255,255,255,.35); }
.btn:active { transform:translateY(0); }
.btn.ghost { background:#fff; color:var(--text); border:1px solid var(--line); box-shadow:none; }
.btn.ghost:hover { border-color:#d6c7b0; }
.btn:disabled { opacity:.6; cursor:wait; transform:none; }
.linkbtn { background:none; border:0; color:var(--link); text-decoration:underline; text-underline-offset:3px; font-size:14px; font-family:inherit; padding:8px; cursor:pointer; }
input[type=text], input[type=email], input[type=password], select, textarea { width:100%; padding:13px 16px; font-size:16px; font-family:inherit; border-radius:12px; border:1px solid var(--line); background:#fff; color:var(--text); }
input::placeholder, textarea::placeholder { color:#a39b8d; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--teal); box-shadow:0 0 0 4px rgba(20,184,166,.18); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline:3px solid var(--teal); outline-offset:3px; }

/* ---------- Cards / grids ---------- */
.card { background:var(--card); border:1px solid var(--line2); border-radius:var(--radius); padding:24px; margin:18px 0; box-shadow:var(--shadow); }
.grid2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.grid3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; }
.tile { background:var(--card); border:1px solid var(--line2); border-radius:16px; padding:20px; box-shadow:var(--shadow); transition:transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.tile h4 { margin:0 0 6px; font-size:18px; display:flex; align-items:center; gap:8px; }
.tile p { margin:0; color:var(--muted); font-size:15px; }
.tag { font-family:system-ui,sans-serif; letter-spacing:0; font-size:12px; font-weight:700; padding:2px 9px; border-radius:999px; margin-left:auto; white-space:nowrap; }
.tag.active { background:#ffe4e1; color:var(--red-ink); }
.tag.changed { background:#fff1d6; color:var(--amber-ink); }
.steps { counter-reset:s; }
.steps .tile::before { counter-increment:s; content:counter(s); display:inline-grid; place-items:center; width:38px; height:38px; border-radius:12px; background:var(--grad); color:var(--yes-ink); font-family:var(--display); font-size:18px; font-weight:800; margin-bottom:12px; box-shadow:0 6px 14px -6px rgba(20,184,166,.7); }
.steps .tile:nth-child(2)::before { background:linear-gradient(135deg,#ffd166,#ff9f43); color:#4a2800; box-shadow:0 6px 14px -6px rgba(255,159,67,.8); }
.steps .tile:nth-child(3)::before { background:linear-gradient(135deg,#a78bfa,#7c5cff); color:#fff; box-shadow:0 6px 14px -6px rgba(124,92,255,.8); }
.tablewrap { overflow-x:auto; background:var(--card); border:1px solid var(--line2); border-radius:16px; padding:4px 10px; box-shadow:var(--shadow); }
table { width:100%; border-collapse:collapse; font-size:15px; min-width:520px; }
th, td { text-align:left; padding:12px 10px; border-top:1px solid var(--line2); vertical-align:top; }
th { color:var(--muted); font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.06em; border-top:0; }
details { border-top:1px solid var(--line); padding:16px 0; }
details:last-of-type { border-bottom:1px solid var(--line); }
summary { cursor:pointer; font-weight:700; font-size:17px; list-style:none; display:flex; justify-content:space-between; gap:12px; align-items:center; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; flex:0 0 auto; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#fff; border:1px solid var(--line); font-weight:600; color:var(--muted); transition:transform .2s ease; }
details[open] summary::after { transform:rotate(45deg); background:var(--sun); border-color:var(--sun); color:var(--ink); }
details p, details li { color:var(--muted); }

/* ---------- LEDs ---------- */
.led { width:12px; height:12px; border-radius:50%; flex:0 0 auto; display:inline-block; background:var(--gray); }
.led.red { background:var(--red); box-shadow:0 0 0 3px rgba(229,56,59,.15), 0 0 10px rgba(229,56,59,.55); }
.led.amber { background:var(--amber); box-shadow:0 0 0 3px rgba(245,158,11,.18), 0 0 10px rgba(245,158,11,.5); }
.led.green { background:var(--green); box-shadow:0 0 0 3px rgba(34,197,94,.18), 0 0 10px rgba(34,197,94,.5); }
.led.blink { animation:blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity:.35; } }
.legend { display:flex; gap:10px 18px; flex-wrap:wrap; color:var(--muted); font-size:14px; margin-top:12px; }
.legend span { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line2); padding:6px 12px; border-radius:999px; }
.legend .led { width:9px; height:9px; }

/* ---------- Pricing ---------- */
.plans { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:18px; margin-top:22px; align-items:stretch; }
.plan { position:relative; background:var(--card); border:1px solid var(--line2); border-radius:22px; padding:26px; display:flex; flex-direction:column; box-shadow:var(--shadow); transition:transform .2s ease, box-shadow .2s ease; }
.plan:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.plan.featured { border:2px solid transparent; background:linear-gradient(#fff,#fff) padding-box, var(--grad) border-box; box-shadow:0 24px 50px -24px rgba(20,184,166,.55); }
.plan .kicker { font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.plan .price { font-family:var(--display); font-size:44px; font-weight:800; letter-spacing:-.04em; line-height:1.05; margin:10px 0 2px; }
.plan .price small { white-space:nowrap; display:inline-block; font-family:system-ui,sans-serif; font-size:14px; color:var(--muted); font-weight:500; letter-spacing:0; }
.plan ul { padding-left:0; list-style:none; margin:16px 0 20px; flex:1; }
.plan li { display:flex; gap:10px; align-items:flex-start; margin:9px 0; color:#4a4458; font-size:15px; }
.plan li::before { content:""; width:18px; height:18px; margin-top:3px; border-radius:50%; flex:0 0 auto; background:#dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.badge-pop { position:absolute; top:-13px; left:24px; display:inline-block; font-size:12px; font-weight:800; background:var(--ink); color:#fff; padding:4px 12px; border-radius:999px; }
.plan .btn { width:100%; }

/* ---------- Scanner (home) ---------- */
.hero { position:relative; padding:64px 0 22px; text-align:center; }
.hero::before { content:""; position:absolute; z-index:-1; inset:-20px -30vw 0; background:
  radial-gradient(260px 220px at 18% 28%, rgba(255,194,61,.40), transparent 70%),
  radial-gradient(300px 240px at 82% 22%, rgba(20,184,166,.28), transparent 70%),
  radial-gradient(260px 220px at 70% 85%, rgba(255,107,74,.22), transparent 70%),
  radial-gradient(240px 200px at 28% 88%, rgba(124,92,255,.16), transparent 70%);
  filter:blur(6px); pointer-events:none; animation:drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform:translate3d(0,14px,0) scale(1.04); } }
.hero .lead { max-width:660px; margin:0 auto 30px; }
.scanform { display:flex; gap:8px; max-width:640px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:999px; padding:7px; box-shadow:var(--shadow-lg); }
.scanform:focus-within { border-color:var(--teal); box-shadow:var(--shadow-lg), 0 0 0 5px rgba(20,184,166,.15); }
.scanform input { flex:1; min-width:0; border:0; background:transparent; font-size:17px; padding:12px 16px; box-shadow:none; }
.scanform input:focus { box-shadow:none; }
.scanform .btn { padding:14px 26px; }
#status { text-align:center; margin:22px 0; color:var(--muted); min-height:24px; display:flex; justify-content:center; align-items:center; gap:10px; }
.bar { height:6px; background:var(--line2); border-radius:6px; max-width:420px; margin:0 auto; overflow:hidden; display:none; }
.bar i { display:block; height:100%; width:0; background:var(--grad); border-radius:6px; transition:width 1s linear; }
.riskhead { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.lights { display:flex; gap:8px; padding:8px 12px; background:#1d1a2e; border-radius:999px; box-shadow:inset 0 2px 6px rgba(0,0,0,.4); }
.lights .led { width:16px; height:16px; opacity:.2; box-shadow:none; }
.lights .led.on { opacity:1; }
.lights .led.r { background:var(--red); } .lights .led.r.on { box-shadow:0 0 8px var(--red), 0 0 18px rgba(229,56,59,.7); }
.lights .led.a { background:var(--amber); } .lights .led.a.on { box-shadow:0 0 8px var(--amber), 0 0 18px rgba(245,158,11,.6); }
.lights .led.g { background:var(--green); } .lights .led.g.on { box-shadow:0 0 8px var(--green), 0 0 18px rgba(34,197,94,.6); }
.badge { font-weight:800; padding:6px 14px; border-radius:999px; font-size:14px; letter-spacing:.04em; }
.HIGH { background:#ffe4e1; color:var(--red-ink); }
.MEDIUM { background:#fff1d6; color:var(--amber-ink); }
.LOW { background:#dcfce7; color:var(--green-ink); }
.host { font-family:var(--display); font-size:20px; font-weight:700; word-break:break-all; }
.meter { height:10px; border-radius:10px; background:var(--line2); overflow:hidden; margin:16px 0 4px; }
.meter i { display:block; height:100%; border-radius:10px; }
.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-top:16px; }
.stat { background:var(--card2); border:1px solid var(--line2); border-radius:14px; padding:14px; display:flex; gap:10px; align-items:flex-start; min-width:0; }
.stat .led { margin-top:8px; }
.stat b { display:block; font-family:var(--display); font-size:24px; line-height:1.2; }
.stat small { color:var(--muted); word-break:break-word; }
ul.tr { list-style:none; padding:0; margin:8px 0 0; }
ul.tr li { display:flex; gap:12px; padding:12px 0; border-top:1px solid var(--line2); align-items:flex-start; }
ul.tr li .led { margin-top:7px; }
ul.tr li > div { flex:1; min-width:0; }
ul.tr .name { font-weight:700; }
ul.tr .why { color:var(--muted); font-size:14px; }
ul.tr .when { margin-left:auto; color:var(--muted); font-size:13px; white-space:nowrap; padding-left:8px; }
.conseq { border-left:5px solid var(--red); }
.conseq.HIGH { background:linear-gradient(90deg,#fff5f4,#fff 40%); color:var(--text); }
.conseq.MEDIUM { border-left-color:var(--amber); background:linear-gradient(90deg,#fff8eb,#fff 40%); color:var(--text); }
.conseq.LOW { border-left-color:var(--green); background:linear-gradient(90deg,#f0fdf4,#fff 40%); color:var(--text); }
.conseq ul { padding-left:20px; margin:8px 0; }
.conseq li { margin:6px 0; }
.cta-card { text-align:center; background:linear-gradient(135deg,#ecfdf5,#fff7e6); border-color:#d9f2e3; }
.zero { display:flex; gap:10px; align-items:center; justify-content:center; flex-wrap:wrap; font-size:14px; color:var(--muted); background:#fff; border:1px solid var(--line2); border-radius:999px; padding:9px 18px; width:fit-content; max-width:100%; margin:22px auto 0; box-shadow:var(--shadow); }
@media (max-width:560px) {
  .scanform { flex-direction:column; border-radius:22px; }
  .scanform .btn { width:100%; }
  ul.tr li { flex-wrap:wrap; }
  ul.tr .when { flex-basis:100%; margin-left:24px; padding-left:0; }
  .stats { grid-template-columns:1fr 1fr; gap:10px; }
  .stat { padding:12px; }
  .riskhead { gap:10px; }
  .card { padding:18px; }
  .hero { padding-top:40px; }
  .hl { white-space:normal; }
}

/* ---------- Share + history ---------- */
.share { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:18px; padding-top:16px; border-top:1px solid var(--line2); }
.share .small { margin-right:4px; }
.sbtn { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px; border:1px solid var(--line); background:#fff; color:var(--text); font-family:inherit; font-size:14px; font-weight:600; line-height:1.2; text-decoration:none; cursor:pointer; }
.sbtn:hover { border-color:#d6c7b0; color:var(--text); }
.sbtn.wa { background:#25d366; border-color:#25d366; color:#052e16; }
.sbtn.wa:hover { background:#1fc15b; color:#052e16; }
.savednote { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; justify-content:space-between; margin-top:18px; }
.history .hhead { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.history h3 { margin:0; }
.history > .small { margin:2px 0 8px; }
.hlist { list-style:none; padding:0; margin:0; }
.hlist li { display:flex; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line2); }
.hmain { flex:1; min-width:0; display:flex; flex-direction:column; }
.hmain b { word-break:break-all; }
.hlist .badge { font-size:12px; padding:3px 10px; }
.hbtn { padding:7px 14px; font-size:14px; }
.hdel { background:none; border:0; color:var(--muted); font-size:22px; line-height:1; cursor:pointer; padding:4px 6px; border-radius:8px; }
.hdel:hover { background:var(--card2); color:var(--text); }
@media (max-width:560px) {
  .hlist li { flex-wrap:wrap; }
  .hmain { flex-basis:calc(100% - 30px); }
  .hlist .badge { margin-left:24px; }
  .hbtn { margin-left:auto; }
}

/* ---------- Legal pages ---------- */
.legal h2 { font-size:24px; margin-top:38px; }
.legal p, .legal li { color:#3d3850; }
.legal .updated { color:var(--muted); font-size:14px; }
.notice { background:#fff8e6; border:1px solid #f6d98f; border-radius:14px; padding:14px 16px; color:var(--text); font-size:15px; }

/* ---------- Modal ---------- */
dialog { border:0; border-radius:22px; background:var(--card); color:var(--text); padding:0; width:min(560px, calc(100% - 24px)); max-height:calc(100dvh - 24px); box-shadow:0 30px 80px -20px rgba(29,26,46,.45); }
dialog::backdrop { background:rgba(29,26,46,.45); backdrop-filter:blur(3px); }
.mhead { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:22px 24px 0; }
.mhead h3 { margin:0; font-size:22px; }
.mclose { background:var(--card2); border:0; color:var(--muted); font-size:22px; line-height:1; width:34px; height:34px; border-radius:50%; cursor:pointer; }
.mbody { padding:12px 24px 24px; }
.scanbox { display:flex; gap:10px; align-items:center; background:var(--card2); border:1px solid var(--line2); border-radius:12px; padding:10px 12px; margin:10px 0 14px; font-size:14px; }
.scanbox b { word-break:break-all; }
.field { margin:12px 0; }
.field label { display:block; font-size:14px; font-weight:700; margin-bottom:6px; }
.field textarea { min-height:84px; resize:vertical; }
.row2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.mbody button[type=submit] { width:100%; margin-top:6px; }
.done { text-align:center; padding:26px 6px 4px; }
.done h3 { margin:12px 0 6px; font-size:26px; outline:none; }
.done p { color:var(--muted); margin:0 auto 20px; max-width:380px; }
.done .btn { min-width:160px; }
.done-ico { width:76px; height:76px; animation:pop .45s cubic-bezier(.2,1.4,.4,1) both; }
.done-ico path { stroke-dasharray:40; stroke-dashoffset:0; animation:draw .45s .25s ease-out both; }
@keyframes pop { from { transform:scale(.4); opacity:0; } to { transform:scale(1); opacity:1; } }
@keyframes draw { from { stroke-dashoffset:40; } to { stroke-dashoffset:0; } }
.done-bar { height:4px; background:var(--line2); border-radius:4px; overflow:hidden; margin:22px auto 0; max-width:220px; }
.done-bar i { display:block; height:100%; width:100%; background:var(--grad); transform-origin:left; animation:shrink 6s linear forwards; }
@keyframes shrink { to { transform:scaleX(0); } }
.formmsg { margin-top:12px; font-size:14px; display:flex; gap:8px; align-items:center; }
@media (max-width:560px) { .row2 { grid-template-columns:1fr; } .mhead, .mbody { padding-left:16px; padding-right:16px; } }

/* ---------- Footer ---------- */
.site-footer { position:relative; background:#1d1a2e; color:#b9b3c7; margin-top:88px; padding:48px 0 30px; font-size:14px; overflow:hidden; }
.site-footer::before { content:""; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,#22c55e,#14b8a6,#ffc23d,#ff6b4a,#7c5cff); }
.site-footer .logo { color:#fff; }
.site-footer p { color:#b9b3c7; }
.fgrid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:24px; }
.fgrid h5 { color:#fff; font-size:15px; margin:0 0 10px; }
.fgrid a { display:block; color:#b9b3c7; text-decoration:none; margin:6px 0; }
.fgrid a:hover { color:#fff; }
.fgrid a.logo { display:inline-flex; margin:0 0 4px; color:#fff; }
.fine { margin-top:30px; padding-top:18px; border-top:1px solid rgba(255,255,255,.1); font-size:13px; color:#8f88a0 !important; }
@media (max-width:720px) { .fgrid { grid-template-columns:1fr 1fr; } .fgrid > div:first-child { grid-column:1 / -1; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; }
  html { scroll-behavior:auto; }
}
