:root {
  --bg: #f7f6ff;
  --surface: #ffffff;
  --ink: #161538;
  --muted: #5e5d80;
  --line: #e4e1f6;
  --brand: #1b1450;
  --brand-2: #6b3df5;
  --space-1: #070b24;
  --space-2: #1b1052;
  --space-3: #3a1a7a;
  --cyan: #2ee6f0;
  --pink: #ff4fa3;
  --orange: #ffa53a;
  --violet: #8a5cff;
  --accent: #ff7a45;
  --accent-ink: #ffffff;
  --grad: linear-gradient(100deg, #ff9a3c 0%, #ff4fa3 50%, #8a5cff 100%);
  --grad-cool: linear-gradient(120deg, #2ee6f0 0%, #8a5cff 55%, #ff4fa3 100%);
  --ok: #138a63;
  --warn: #c0334d;
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
img { max-width: 100%; }
a { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 850; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 750; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 780px; }
.sec { padding: 64px 0; }
.center { text-align: center; }
.left { text-align: left; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lead { font-size: 1.15rem; max-width: 60ch; }
.grad-text { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: rgba(46,230,240,.12); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(46,230,240,.35); }

/* Barra in alto */
.demo-bar { background: #fff1d6; color: #5a3d07; text-align: center; font-size: .85rem; padding: 6px 12px; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 11, 36, .82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 850; font-size: 1.15rem; letter-spacing: -.01em; }
.logo img { display: block; height: 42px; width: auto; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #d9d7ff; text-decoration: none; font-size: .96rem; }
.nav a.on, .nav a:hover { color: #fff; }
.nav a.btn { color: #fff; }
.menu-toggle, .menu-btn { display: none; }

/* Pulsanti */
.btn { display: inline-block; background: var(--grad); color: #fff; border: 0; padding: 14px 24px; border-radius: 999px; font: 750 .98rem var(--font); text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(255, 79, 163, .65); transition: transform .12s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255, 79, 163, .8); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand-2); box-shadow: inset 0 0 0 2px var(--brand-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--brand-2); }
.btn-light { background: var(--grad); }
.btn-light-ghost, .on-dark .btn-ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-danger { background: transparent; color: var(--warn); box-shadow: inset 0 0 0 1.5px #f0c3cc; }
.link-btn { background: none; border: 0; color: var(--warn); cursor: pointer; font: inherit; font-size: .88rem; padding: 0; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }

/* Cielo stellato riutilizzabile */
.hero, .band.dark, .page-hero, .foot { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .band.dark::before, .page-hero::before, .foot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background-image: radial-gradient(1.6px 1.6px at 20px 30px, #fff, transparent 60%), radial-gradient(1px 1px at 120px 80px, #cfd6ff, transparent 60%),
    radial-gradient(1.6px 1.6px at 200px 160px, #fff, transparent 60%), radial-gradient(1.2px 1.2px at 60px 190px, #9fe9ff, transparent 60%),
    radial-gradient(1.2px 1.2px at 260px 60px, #ffd0ea, transparent 60%), radial-gradient(1.4px 1.4px at 300px 220px, #fff, transparent 60%);
  background-size: 320px 260px; background-repeat: repeat;
}
.hero { color: #eceaff; padding: 76px 0 96px;
  background: radial-gradient(900px 500px at 85% 10%, rgba(138,92,255,.55), transparent 60%), radial-gradient(700px 420px at 5% 95%, rgba(255,79,163,.35), transparent 60%), linear-gradient(180deg, var(--space-1), var(--space-2) 70%, var(--space-3)); }
.hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 120px; background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero h1 { color: #fff; }
.hero .lead { color: #cfcdf2; }
.hero .muted { color: #a9a6d6; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }

/* Scena spaziale */
.scene { position: relative; min-height: 440px; }
.scene svg.cosmo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rocket { animation: float 6s ease-in-out infinite; transform-origin: center; }
.flame { animation: flicker .25s ease-in-out infinite alternate; transform-origin: 50% 0; }
.twinkle { animation: twinkle 3s ease-in-out infinite; }
.twinkle:nth-child(2n) { animation-delay: 1.2s; }
.orbit-spin { animation: spin 40s linear infinite; transform-origin: 300px 230px; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(-6deg); } }
@keyframes flicker { from { transform: scaleY(.85); opacity: .85; } to { transform: scaleY(1.1); opacity: 1; } }
@keyframes twinkle { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rocket, .flame, .twinkle, .orbit-spin { animation: none; } }

.mock { position: absolute; right: 0; bottom: 0; width: 70%; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.4); overflow: hidden; transform: rotate(2deg); }
.mock-bar { background: var(--grad-cool); padding: 10px 14px; display: flex; gap: 6px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.7); }
.mock-body { padding: 16px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mock-stats b { border-radius: 12px; padding: 10px; font-size: 1.2rem; color: #fff; }
.mock-stats b:nth-child(1) { background: linear-gradient(135deg, #8a5cff, #6b3df5); }
.mock-stats b:nth-child(2) { background: linear-gradient(135deg, #ff4fa3, #e2367f); }
.mock-stats b:nth-child(3) { background: linear-gradient(135deg, #ffa53a, #ff7a45); }
.mock-stats small { display: block; font-size: .7rem; font-weight: 600; opacity: .9; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mock-row em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .82rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #c9c6e8; flex: none; }
.dot.ok { background: #19c48a; } .dot.warn { background: var(--orange); } .dot.info { background: var(--cyan); }
.mock-note { font-size: .7rem; color: var(--muted); margin: 8px 0 0; text-align: right; }

/* Sezioni */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.band { background: linear-gradient(180deg, #efeaff, #f7f6ff); border-block: 1px solid var(--line); }
.band.dark { color: #dcdaf8; border: 0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(46,230,240,.25), transparent 60%), radial-gradient(600px 320px at 0% 100%, rgba(255,79,163,.3), transparent 60%), linear-gradient(135deg, var(--space-1), var(--space-3)); }
.band.dark h2, .band.dark h3 { color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }

.card-glow { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(107,61,245,.45); }
.planet-ico { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 12px; color: #fff; }
.p1 { background: radial-gradient(circle at 30% 30%, #ffd08a, #ff7a45 60%, #c2410c); }
.p2 { background: radial-gradient(circle at 30% 30%, #b8f6ff, #2ee6f0 55%, #0e7490); }
.p3 { background: radial-gradient(circle at 30% 30%, #ffc2e2, #ff4fa3 55%, #9d174d); }
.p4 { background: radial-gradient(circle at 30% 30%, #d8c8ff, #8a5cff 55%, #4c1d95); }
.p5 { background: radial-gradient(circle at 30% 30%, #c8ffd9, #19c48a 55%, #065f46); }

.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li, .crosses li { position: relative; padding-left: 32px; margin-bottom: 11px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-cool); -webkit-mask: none; }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 5px); width: 7px; height: 4px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.crosses li::before { content: "–"; position: absolute; left: 6px; color: var(--muted); font-weight: 800; }
.band.dark .ticks li { color: #e7e5ff; }

.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.who div { background: var(--surface); border-radius: 16px; padding: 18px; box-shadow: 0 0 0 1px var(--line); font-weight: 650; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -32px rgba(107,61,245,.6); }
.steps span { display: flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-weight: 850; margin-bottom: 12px; box-shadow: 0 8px 20px -8px rgba(255,79,163,.8); }

/* Pacchetti */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 26px 0; align-items: stretch; }
.pack { position: relative; background: var(--surface); border-radius: 22px; padding: 30px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -36px rgba(27,20,80,.5); display: flex; flex-direction: column; overflow: hidden; }
.pack::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad-cool); }
.pack .btn { margin-top: auto; text-align: center; }
.pack-hi { background: linear-gradient(160deg, #1b1052, #3a1a7a); color: #eceaff; box-shadow: 0 30px 60px -28px rgba(107,61,245,.9); transform: translateY(-8px); }
.pack-hi::before { background: var(--grad); }
.pack-hi h3, .pack-hi .price strong { color: #fff; }
.pack-hi .muted, .pack-hi .canone, .pack-hi .price small, .pack-hi .old { color: #bdb9ea; }
.pack-hi .ticks li { color: #eceaff; }
.pack-tag { position: absolute; top: 16px; right: 16px; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.price { margin: 6px 0 18px; }
.price strong { font-size: 2.2rem; color: var(--brand); letter-spacing: -.02em; }
.price .old { text-decoration: line-through; color: var(--muted); margin-right: 4px; }
.price small { color: var(--muted); }
.canone { display: block; color: var(--muted); font-size: .95rem; }
.iva { display: inline-block; margin-top: 6px; font-size: .74rem; font-weight: 700; color: var(--brand-2); background: #efe9ff; padding: 2px 9px; border-radius: 999px; }
.pack-hi .iva { background: rgba(255,255,255,.12); color: #e7e2ff; }
.fiscale { border-left: 3px solid var(--violet); padding-left: 10px; }
.callout { position: relative; background: linear-gradient(120deg, #fff4e6, #ffe9f4); border-radius: var(--radius); padding: 20px 24px 20px 70px; margin: 26px 0; box-shadow: inset 0 0 0 1px #ffd3e6; }
.callout::before { content: "🚀"; position: absolute; left: 22px; top: 18px; font-size: 1.7rem; }
.callout p { margin: 6px 0 0; }

.faq { background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 700; list-style: none; position: relative; padding-right: 34px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 11px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-cool); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.faq[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 18px; color: #3a3960; }

.profile { width: 100%; max-width: 360px; aspect-ratio: 4/5; object-fit: cover; border-radius: 26px; display: block; margin: 0 auto 10px; box-shadow: 0 30px 60px -30px rgba(107,61,245,.7); }
.profile-empty { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 25%, #8a5cff, #1b1052 70%); color: #fff; font-size: 5rem; font-weight: 850; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); padding: 24px; margin-bottom: 18px; }
.form label { display: block; margin-bottom: 14px; font-size: .92rem; font-weight: 700; color: #2b2a52; }
input, select, textarea { display: block; width: 100%; margin-top: 5px; padding: 12px 14px; border: 1.5px solid #d9d5f2; border-radius: 12px; font: 16px var(--font); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(107,61,245,.15); }
textarea { resize: vertical; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: auto; margin-top: 5px; flex: none; accent-color: var(--brand-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.hp { position: absolute !important; left: -9999px; }
.notice { background: #dff7ee; color: var(--ok); padding: 12px 16px; border-radius: 12px; }
.alert { background: #fde8ec; color: var(--warn); padding: 12px 16px; border-radius: 12px; }
.prose h2 { margin-top: 1.5em; }
.checks { list-style: none; padding: 0; }

/* Testate delle pagine interne */
.page-hero { color: #fff; padding: 56px 0 70px;
  background: radial-gradient(600px 300px at 90% 0%, rgba(138,92,255,.6), transparent 60%), linear-gradient(160deg, var(--space-1), var(--space-2)); }
.page-hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -50px; height: 90px; background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.page-hero h1 { color: #fff; margin: 0; position: relative; z-index: 1; }
.page-hero p { color: #cfcdf2; margin: 12px 0 0; position: relative; z-index: 1; max-width: 62ch; }

/* Siti realizzati */
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 34px; }
.work { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px 18px; background: var(--surface); border-radius: 16px; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .12s, box-shadow .2s; }
.work::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-cool); }
.work:nth-child(2n)::before { background: var(--grad); }
.work:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(107,61,245,.6); }
.work strong { font-size: 1.08rem; }
.work-tag { align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-2); background: #efe9ff; padding: 3px 9px; border-radius: 999px; }
.work-link { margin-top: auto; padding-top: 6px; color: var(--brand-2); font-weight: 700; font-size: .9rem; }

/* Preventivi */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 16px 0 26px; }
.model { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); border-top: 4px solid var(--violet); }
.model:nth-child(2) { border-top-color: var(--pink); } .model:nth-child(3) { border-top-color: var(--orange); } .model:nth-child(4) { border-top-color: var(--cyan); }
.model:hover { box-shadow: 0 0 0 2px var(--brand-2); }
.tbl.voci input { margin: 0; }
.w-num { max-width: 120px; }

/* Piè di pagina */
.foot { color: #c9c6ef; padding: 46px 0; font-size: .93rem; margin-top: 30px;
  background: linear-gradient(180deg, var(--space-2), var(--space-1)); }
.foot a { color: var(--cyan); }
.foot strong { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); z-index: 30; }

/* Area riservata */
.adm { background: #f3f2fb; }
.adm .top-row { color: #fff; }
.adm-head { background: linear-gradient(120deg, var(--space-1), var(--space-3)); color: #fff; }
.adm-head a { color: var(--cyan); }
.adm-nav { display: flex; gap: 4px; overflow-x: auto; }
.adm-nav a { color: #cfccf5; text-decoration: none; padding: 10px 14px; border-radius: 12px 12px 0 0; white-space: nowrap; font-size: .95rem; }
.adm-nav a.on { background: #f3f2fb; color: var(--ink); }
.pill { background: var(--pink); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .75rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); padding: 14px; color: var(--muted); font-size: .86rem; border-top: 4px solid var(--violet); }
.stat:nth-child(4n+2) { border-top-color: var(--pink); } .stat:nth-child(4n+3) { border-top-color: var(--orange); } .stat:nth-child(4n+4) { border-top-color: var(--cyan); }
.stat span { display: block; font-size: 1.45rem; font-weight: 850; color: var(--ink); }
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); font-size: .93rem; margin-bottom: 24px; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { background: #f6f4ff; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.stato { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #ecebf6; font-size: .8rem; white-space: nowrap; }
.st-nuovo { background: #ffe9d4; color: #8a4508; }
.st-acconto, .st-cliente { background: #dcf6ec; color: var(--ok); }
.st-perso { background: #fde8ec; color: var(--warn); }
.st-demo, .st-preventivo { background: #ece6ff; color: #4c2bb8; }
.filters a { display: inline-block; margin: 0 6px 6px 0; padding: 5px 13px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-size: .88rem; color: var(--ink); }
.filters a.on { background: var(--brand-2); color: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.span2 { grid-column: 1 / -1; }
fieldset.card { margin: 0; border: 0; }
legend { font-weight: 800; padding: 0; margin-bottom: 10px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.inline { display: inline; }
.inline-label { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; }
.w-sm { width: 70px; margin: 0; }
.todo { padding-left: 1.1em; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero-grid, .two, .grid2, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 80px; }
  .scene { min-height: 380px; }
  .mock { width: 88%; }
  .pack-hi { transform: none; }
  .sec { padding: 46px 0; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; content: ""; }
  .menu-btn span::before { position: absolute; top: -7px; } .menu-btn span::after { position: absolute; top: 7px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--space-1); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a.btn { margin-top: 12px; text-align: center; border: 0; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .tbl { display: block; overflow-x: auto; }
}
@media (max-width: 480px) { .row2, .row3 { grid-template-columns: 1fr; } }
