/* DMARC Reaper: stessa identità del sito www.atworkstudio.it.
   Neutri "mist" (grigi freddi, dal quasi-nero mist-950 delle sezioni scure al mist-100 dello sfondo), accento viola,
   font Söhne, angoli e ombre come nel sito. Colori semantici separati (ok / attenzione / problema). */
@font-face { font-family: "Soehne"; src: url("fonts/soehne-buch.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Soehne"; src: url("fonts/soehne-buch-kursiv.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Soehne"; src: url("fonts/soehne-kraftig.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Soehne"; src: url("fonts/soehne-halbfett.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Soehne"; src: url("fonts/soehne-dreiviertelfett.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
:root {
  --mist-50: #f9fbfb; --mist-100: #f1f3f3; --mist-200: #e3e7e8; --mist-300: #d0d6d8; --mist-400: #9ca8ab; --mist-500: #67787c;
  --mist-600: #4b585b; --mist-700: #394447; --mist-800: #22292b; --mist-900: #161b1d; --mist-950: #090b0c;
  --ink: var(--mist-950); --ink-2: var(--mist-900); --on-ink: #ffffff; --on-ink-muted: rgba(255, 255, 255, .72);
  --brand: #8b5cf6;
  --bg: var(--mist-100); --card: #ffffff; --text: var(--mist-950); --muted: var(--mist-600); --border: rgba(9, 11, 12, .1);
  --accent: #7c3aed; --accent-hover: #8b5cf6; --accent-soft: #f3effd;
  --ok: #15803d; --ok-bg: #e6f4ea; --bad: #dc2626; --bad-bg: #fdeceb; --warn: #b45309; --warn-bg: #fdf1dc;
  --shadow: 0 1px 2px rgba(9, 11, 12, .05);
  --radius: 12px; --radius-sm: 6px;
  --sans: "Soehne", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #050607; --ink-2: var(--mist-900); --on-ink: #ffffff; --on-ink-muted: rgba(255, 255, 255, .66);
    --bg: var(--mist-950); --card: var(--mist-900); --text: var(--mist-100); --muted: var(--mist-400); --border: rgba(255, 255, 255, .1);
    --accent: #a78bfa; --accent-hover: #c4b5fd; --accent-soft: rgba(139, 92, 246, .16);
    --ok: #4ade80; --ok-bg: rgba(74, 222, 128, .14); --bad: #f87171; --bad-bg: rgba(248, 113, 113, .14); --warn: #fbbf24; --warn-bg: rgba(251, 191, 36, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main.container { flex: 1 0 auto; }
.footer { margin-top: auto; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { letter-spacing: -0.01em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
code { font-family: var(--mono); font-size: .92em; background: var(--accent-soft); padding: 1px 5px; border-radius: 4px; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.small { font-size: .86em; }
.nowrap { white-space: nowrap; }
.wrap { overflow-wrap: anywhere; }
.hidden { display: none !important; }
.ok-text { color: var(--ok); }
.bad-text { color: var(--bad); font-weight: 600; }

/* testata: stessa barra scura del sito (mist-950), co-branding con il marchio AtWorkStudio */
.topbar { background: var(--ink); color: var(--on-ink); position: sticky; top: 0; z-index: 10; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.topbar-inner, .toolbar-inner, .container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.topbar-inner { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; margin-right: 10px; }
.brand img { height: 18px; width: auto; display: block; }
.brand:hover { text-decoration: none; opacity: .85; }
@media (max-width: 640px) { .topbar-inner { gap: 12px; } .brand img { height: 15px; } }
.nav { display: flex; gap: 4px; flex: 1; height: 60px; }
.nav a { position: relative; display: flex; align-items: center; padding: 0 12px; color: var(--on-ink-muted); font-weight: 500; }
.nav a:hover { color: var(--on-ink); text-decoration: none; }
.nav a.active { color: var(--on-ink); }
.nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--brand); }
.ver { color: var(--on-ink-muted); font-size: .8em; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); white-space: nowrap; }
.ver:hover, .ver.active { color: var(--on-ink); border-color: rgba(255, 255, 255, .34); text-decoration: none; }
.who { color: var(--on-ink-muted); font-size: .92em; padding: 7px 12px; border-radius: 8px; font-weight: 500; }
.who:hover, .who.active, .user-menu[open] .who { color: var(--on-ink); background: rgba(255, 255, 255, .1); text-decoration: none; }
.who-arrow { opacity: .6; transition: transform .2s; display: inline-block; }
.user-menu[open] .who-arrow { transform: rotate(180deg); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.topbar .dot.pulse { background: var(--brand); }
.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* barra dei filtri */
.toolbar { background: var(--card); border-bottom: 1px solid var(--border); }
.toolbar-inner { display: flex; align-items: center; min-height: 52px; }
.filters { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; width: 100%; padding: 8px 0; }
.field { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.field select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; min-width: 200px; }
.segmented { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg); }
.segmented a { padding: 6px 12px; color: var(--muted); font-weight: 500; border-right: 1px solid var(--border); }
.segmented a:last-child { border-right: 0; }
.segmented a:hover { text-decoration: none; color: var(--text); }
.segmented a.on { background: var(--ink); color: var(--on-ink); }
.segmented.small a { padding: 4px 10px; font-size: .9em; }

/* layout */
.container { padding-top: 20px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.grid-2 > * { min-width: 0; }
.grid-wide { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .grid-wide { grid-template-columns: minmax(0, 1fr); } }
.card { min-width: 0; }
.table-wrap { max-width: 100%; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } .nav { gap: 0; } .nav a { padding: 0 8px; } .who { display: none; } .ver { display: none; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.count { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .8em; font-weight: 600; vertical-align: middle; }
.empty { text-align: center; padding: 48px 20px; }
.empty h2 { margin: 0 0 8px; }
/* piè di pagina come il sito: marchio, colonne di collegamenti, riga finale */
.footer { margin-top: 28px; margin-top: max(28px, auto); background: rgba(9, 11, 12, .025); border-top: 1px solid var(--border); color: var(--text); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 44px 20px 40px; display: flex; flex-direction: column; gap: 34px; }
.footer-top { display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-start; }
.footer-logo { display: block; flex: 0 0 auto; }
.footer-logo img { height: 20px; width: auto; display: block; }
.footer-nav { flex: 1 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 32px; }
.footer-cat h3 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: 0; }
.footer-cat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-cat a { color: var(--muted); font-size: 14px; line-height: 1.5; }
.footer-cat a:hover { color: var(--text); text-decoration: none; }
.footer-fine { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
@media (prefers-color-scheme: dark) { .footer { background: rgba(255, 255, 255, .04); } }
.breadcrumb { margin: 0; }
.link { font-weight: 500; }

/* kpi */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.kpi { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--border); }
.kpi.good { border-top-color: var(--ok); }
.kpi.warn { border-top-color: var(--warn); }
.kpi.bad { border-top-color: var(--bad); }
.kpi-label { color: var(--muted); font-size: .9em; font-weight: 600; }
.kpi-value { font-size: 28px; font-weight: 700; line-height: 1.15; }
.kpi.good .kpi-value { color: var(--ok); }
.kpi.warn .kpi-value { color: var(--warn); }
.kpi.bad .kpi-value { color: var(--bad); }
.kpi-sub { color: var(--muted); font-size: .86em; }

/* avviso in pagina */
.alert { background: var(--warn-bg); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); border-radius: var(--radius); padding: 14px 18px; }
.alert-title { font-weight: 700; margin-bottom: 6px; }
.alert-list { margin: 0 0 8px; padding-left: 18px; }

/* grafico (SVG generato in app.js) */
.chart-wrap { position: relative; height: 260px; }
.chart-wrap svg { display: block; }
.chart-grid { stroke: var(--border); stroke-width: 1; }
.chart-axis { stroke: var(--muted); stroke-width: 1; opacity: .6; }
.chart-tick, .chart-empty { fill: var(--muted); font-size: 11px; }
.chart-empty { font-size: 13px; }
.chart-ok { fill: var(--ok); } .chart-bad { fill: var(--bad); }
.chart-hit { fill: transparent; }
.chart-bar:hover .chart-ok, .chart-bar:hover .chart-bad { opacity: .8; }
.chart-legend { display: flex; gap: 18px; justify-content: center; margin-top: 8px; color: var(--muted); font-size: .86em; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 5px; }
.swatch-ok { background: var(--ok); } .swatch-bad { background: var(--bad); }

/* tabelle */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: .86em; white-space: nowrap; }
.table tbody tr:hover { background: color-mix(in srgb, var(--accent-soft) 50%, transparent); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table .rate { min-width: 130px; }
.bar { height: 6px; background: var(--bad-bg); border-radius: 3px; overflow: hidden; margin-bottom: 3px; }
.bar span { display: block; height: 100%; background: var(--ok); }
.src { display: flex; flex-direction: column; }
.src-name { font-weight: 600; }
.src-meta { color: var(--muted); font-size: .8em; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .82em; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.policy, .badge.muted-badge { background: var(--accent-soft); color: var(--text); border-color: var(--border); }
.pager { display: flex; justify-content: center; gap: 18px; margin-top: 14px; color: var(--muted); }

/* elenchi di proprietà */
.props { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.props dt { color: var(--muted); }
.props dd { margin: 0; }

/* buttons & progress */
.btn { font: inherit; font-weight: 500; color: #fff; background: var(--accent); border: 0; border-radius: var(--radius-sm); padding: 8px 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.4; }
.btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: default; }
.progress { display: flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 12px; }

/* diagnosi */
.badge.diag-ok { background: var(--ok-bg); color: var(--ok); }
.badge.diag-bad { background: var(--bad-bg); color: var(--bad); }
.badge.diag-warn { background: var(--warn-bg); color: var(--warn); }
.badge.diag-muted { background: var(--accent-soft); color: var(--muted); border-color: var(--border); }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.cat { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.cat-ok { border-left-color: var(--ok); } .cat-bad { border-left-color: var(--bad); } .cat-warn { border-left-color: var(--warn); } .cat-muted { border-left-color: var(--muted); }
.cat-title { font-weight: 700; margin-bottom: 4px; }
.cat-nums { font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.cat-blurb { color: var(--muted); font-size: .86em; line-height: 1.45; }
.diag { border-left: 5px solid var(--border); }
.diag.diag-bad { border-left-color: var(--bad); } .diag.diag-warn { border-left-color: var(--warn); } .diag.diag-ok { border-left-color: var(--ok); } .diag.diag-muted { border-left-color: var(--muted); }
.diag-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.diag-kicker { font-size: .86em; font-weight: 600; color: var(--muted); }
.diag.diag-bad .diag-kicker { color: var(--bad); } .diag.diag-warn .diag-kicker { color: var(--warn); } .diag.diag-ok .diag-kicker { color: var(--ok); }
.diag-title { margin: 2px 0 2px; font-size: 22px; }
.diag-stats { display: flex; gap: 22px; }
.diag-stats div { display: flex; flex-direction: column; align-items: flex-end; }
.diag-stats b { font-size: 22px; font-variant-numeric: tabular-nums; }
.diag-stats span { color: var(--muted); font-size: .82em; }
.diag-summary { font-size: 16px; line-height: 1.5; margin: 14px 0 6px; }
.diag h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 0 6px; }
.card h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 18px 0 6px; }
.diag-list { margin: 0; padding-left: 20px; line-height: 1.55; }
.diag-list li { margin-bottom: 6px; }
.chip { display: inline-block; margin: 0 6px 4px 0; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); border: 1px solid var(--border); font-size: .88em; }
.chip b { font-variant-numeric: tabular-nums; }
.chip-ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.chip-bad { background: var(--bad-bg); border-color: transparent; color: var(--bad); }
.glossary-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .92em; }
.glossary-list dt { font-weight: 600; }
.glossary-list dd { margin: 0; color: var(--muted); }
.table.compact th, .table.compact td { padding: 5px 8px; }

/* profilo e wizard */
.wizard-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 18px; align-items: start; }
.wizard-form .full { grid-column: 1 / -1; }
.wizard-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9em; }
.wizard-form input[type=text], .wizard-form input[type=number], .wizard-form select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.wizard-form .hint { color: var(--muted); font-weight: 400; font-size: .86em; }
.radio-list { display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
.radio-list label { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; }
.radio-list b { font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { background: var(--accent-soft); border-radius: 10px; padding: 12px 14px 12px 44px; position: relative; font-size: .92em; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: .8em; display: grid; place-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.check-icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85em; color: #fff; background: var(--muted); }
.check.ok .check-icon { background: var(--ok); } .check.bad .check-icon { background: var(--bad); } .check.info .check-icon { background: var(--muted); }
.check-title { font-weight: 600; }
.check-detail { color: var(--muted); font-size: .9em; overflow-wrap: anywhere; }
.check-fix { margin-top: 4px; font-size: .9em; }
.check.bad .check-fix { color: var(--bad); }
.status-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .85em; }
.status-pill.ready { background: var(--ok-bg); color: var(--ok); }
.status-pill.todo { background: var(--warn-bg); color: var(--warn); }
.copy { font: inherit; font-size: .8em; padding: 2px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); color: var(--accent); cursor: pointer; margin-left: 6px; }
.copy:hover { background: var(--accent-soft); }
.btn-danger { background: var(--bad); }
.btn-danger:hover { background: #ef4444; }
.btn-ghost { background: rgba(9, 11, 12, .08); color: var(--text); border: 0; padding: 6px 12px; font-size: .9em; }
.btn-ghost:hover { background: rgba(9, 11, 12, .14); color: var(--text); text-decoration: none; }
@media (prefers-color-scheme: dark) { .btn-ghost { background: rgba(255, 255, 255, .1); } .btn-ghost:hover { background: rgba(255, 255, 255, .18); } }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chips a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); font-size: .9em; }
.account { display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; }

/* changelog */
.release { border-left: 3px solid var(--border); padding-left: 16px; margin-bottom: 22px; }
.release:first-child { border-left-color: var(--brand); }
.release h2 { margin: 0 0 4px; font-size: 17px; }
.release .date { color: var(--muted); font-size: .9em; }
.release h3 { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 12px 0 4px; }
.release ul { margin: 0; padding-left: 20px; line-height: 1.55; }

/* sezione Domini */
.domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.domain-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: var(--bg); border-top: 4px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.domain-card.tone-ok { border-top-color: var(--ok); } .domain-card.tone-warn { border-top-color: var(--warn); } .domain-card.tone-bad { border-top-color: var(--bad); }
.domain-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.domain-name { font-weight: 700; font-size: 17px; }
.score { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.score-pct { font-size: 30px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.tone-ok .score-pct, .diag-ok .score-pct { color: var(--ok); } .tone-warn .score-pct, .diag-warn .score-pct { color: var(--warn); } .tone-bad .score-pct { color: var(--bad); }
.score-sub { color: var(--muted); font-size: .8em; }
.score-bar { height: 8px; border-radius: 4px; background: var(--bad-bg); overflow: hidden; }
.score-bar span { display: block; height: 100%; background: var(--ok); }
.tone-warn .score-bar span { background: var(--warn); } .tone-bad .score-bar span { background: var(--bad); }
.domain-missing { margin: 0; padding-left: 18px; font-size: .9em; line-height: 1.5; color: var(--bad); }
.domain-missing li { margin-bottom: 4px; }
.domain-missing b { color: var(--text); }
.props.small dt, .props.small dd { font-size: .9em; }

/* menu utente: lo stesso pannello a vetro dei menu del sito */
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu .menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 264px; color: var(--text); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); border: 1px solid rgba(9, 11, 12, .1); border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(9, 11, 12, .25); padding: 6px; z-index: 30; display: flex; flex-direction: column; transform-origin: top right; animation: menu-in .18s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .user-menu .menu { animation: none; } }
.user-menu .menu a { padding: 8px 12px; border-radius: 8px; color: var(--mist-900); font-weight: 500; line-height: 1.5; }
.user-menu .menu a:hover, .user-menu .menu a.active { background: rgba(9, 11, 12, .06); color: var(--mist-950); text-decoration: none; }
.menu-head { display: flex; flex-direction: column; gap: 1px; padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid rgba(9, 11, 12, .1); }
.menu-head b { color: var(--mist-950); font-weight: 600; }
.menu-head .muted { color: var(--mist-600); }
.menu-group { margin: 6px 0 2px; padding: 4px; border-radius: 10px; background: rgba(9, 11, 12, .045); display: flex; flex-direction: column; }
.menu-label { padding: 6px 10px 4px; font-size: .92em; color: var(--mist-700); font-weight: 600; }
.menu-group a { padding-left: 10px; }
.menu-sep { height: 1px; background: rgba(9, 11, 12, .1); margin: 4px 0; }
@media (prefers-color-scheme: dark) {
  .user-menu .menu { background: rgba(22, 27, 29, .82); border-color: rgba(255, 255, 255, .1); }
  .user-menu .menu a { color: rgba(255, 255, 255, .85); }
  .user-menu .menu a:hover, .user-menu .menu a.active { background: rgba(255, 255, 255, .08); color: #fff; }
  .menu-head b { color: #fff; } .menu-head .muted { color: var(--mist-400); } .menu-label { color: var(--mist-300); } .menu-group { background: rgba(255, 255, 255, .06); } .menu-head, .menu-sep { border-color: rgba(255, 255, 255, .1); background-color: transparent; }
  .menu-sep { background: rgba(255, 255, 255, .1); }
}

.domain-card.is-hidden { opacity: .7; border-style: dashed; }
form.inline { display: inline; }

/* percorso verso l'enforcement */
.journey-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.journey-phase { font-size: 20px; font-weight: 700; margin: 2px 0 10px; }
.ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ladder li { display: flex; align-items: center; gap: 6px; font-size: .9em; color: var(--muted); }
.ladder-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border); background: var(--card); }
.ladder li.done .ladder-dot { background: var(--ok); border-color: var(--ok); }
.ladder li.done .ladder-label { color: var(--text); }
.ladder li.current .ladder-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ladder li.current .ladder-label { color: var(--accent); font-weight: 700; }
.ladder-min { font-size: .8em; opacity: .7; }
.readiness { text-align: right; display: flex; flex-direction: column; align-items: flex-end; min-width: 140px; }
.readiness .score-pct { font-size: 44px; }
.components { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.component { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); }
.component.blocking { border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.component-head { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: .92em; margin-bottom: 5px; }
.component-detail { font-size: .86em; margin-top: 5px; line-height: 1.45; }
.next-step { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.next-step.allowed { border-color: var(--ok); } .next-step.held { border-color: var(--warn); }
.next-step-title { font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.phase-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .82em; font-weight: 600; background: var(--accent-soft); color: var(--text); border: 1px solid var(--border); }
.phase-pill.tone-ok { color: var(--ok); background: var(--ok-bg); border-color: transparent; }
.phase-pill.tone-warn { color: var(--warn); background: var(--warn-bg); border-color: transparent; }
.phase-pill.tone-bad { color: var(--bad); background: var(--bad-bg); border-color: transparent; }
.domain-status { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* wizard a passaggi */
.wizard-steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.wizard-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: .9em; }
.ws-num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--border); color: var(--text); font-weight: 700; font-size: .8em; }
.wizard-steps li.current { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.wizard-steps li.current .ws-num { background: var(--accent); color: #fff; }
.wizard-steps li.done { color: var(--ok); }
.wizard-steps li.done .ws-num { background: var(--ok); color: #fff; }
.table tr.changed td { background: color-mix(in srgb, var(--warn-bg) 60%, transparent); }

/* guide */
.guide-steps { list-style: none; margin: 16px 0; padding: 0; counter-reset: gstep; display: flex; flex-direction: column; gap: 14px; }
.guide-step { position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.guide-step::before { counter-increment: gstep; content: counter(gstep); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.guide-step-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.guide-step p { margin: 4px 0 8px; }


.chip-warn { background: var(--warn-bg); border-color: transparent; color: var(--warn); }
.chip-muted { background: var(--accent-soft); border-color: var(--border); color: var(--muted); }
.chip .code { opacity: .75; font-size: .85em; }
.legend { margin-top: 12px; color: var(--muted); line-height: 1.8; }

/* autenticazione vista dai destinatari */
.auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.auth-panel { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.auth-title { font-weight: 700; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.auth-title .muted { font-weight: 400; font-size: .82em; text-align: right; }
.auth-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--border); }
.auth-bar .seg { display: block; height: 100%; min-width: 2px; }
.seg-ok { background: var(--ok); } .seg-bad { background: var(--bad); } .seg-warn { background: var(--warn); } .seg-muted { background: var(--muted); }
.auth-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .92em; }
.auth-list li { display: flex; align-items: center; gap: 8px; }
.auth-list b { margin-left: auto; font-variant-numeric: tabular-nums; }
.auth-label { cursor: help; }
.dot-ok { background: var(--ok); } .dot-bad { background: var(--bad); } .dot-warn { background: var(--warn); } .dot-muted { background: var(--muted); }
.auth-sub { font-size: .9em; line-height: 1.7; border-top: 1px solid var(--border); padding-top: 8px; }
.auth-sub .chip { margin: 0 4px 0 0; }
.auth-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: .92em; line-height: 1.8; }
.auth-foot .muted { margin-right: 6px; }
.legend { margin-top: 12px; color: var(--muted); font-size: .85em; line-height: 1.8; }
.legend .dot { width: 10px; height: 10px; }
.spf-record { display: block; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; padding: 6px 8px; }

.check.ok .check-fix.check-note { color: var(--warn); }

/* barra comandi a destra nelle intestazioni delle card */
.toolbar-right { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.toolbar-right .btn, .toolbar-right .btn-ghost { padding: 8px 14px; font-size: .92em; line-height: 1.2; }
.inline-form { display: inline-flex; margin: 0; }
.select-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92em; }
.select-inline select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; min-width: 170px; }
.card-head > h2 { margin-right: 12px; }

/* strumento MX */
.tool-hero { display: flex; flex-direction: column; gap: 14px; }
.tool-intro h1 { margin: 0 0 6px; font-size: 22px; }
.tool-intro p { margin: 0; color: var(--muted); max-width: 70ch; }
.tool-form { display: flex; gap: 10px; flex-wrap: wrap; }
.tool-form input { flex: 1 1 320px; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; }
.tool-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tool-form .btn { padding: 11px 18px; font-size: 15px; }
.problems { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.problems li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.problems li .dot { flex: 0 0 10px; width: 10px; height: 10px; margin-top: 6px; }
.problem-bad { color: var(--text); } .problem-warn { color: var(--text); } .problem-info { color: var(--muted); }
ul.plain { list-style: none; margin: 0; padding: 0; line-height: 1.8; }

/* stato "in corso" per i controlli DNS che richiedono qualche secondo */
.busybar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; overflow: hidden; background: var(--accent-soft); pointer-events: none; }
.busybar::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: var(--accent); border-radius: 3px; animation: busy-slide 1.2s ease-in-out infinite; }
@keyframes busy-slide { to { left: 100%; } }
body.is-busy { cursor: progress; }
.btn.is-busy, a.is-busy { pointer-events: none; opacity: .8; }
.btn.is-busy::before { content: ""; display: inline-block; width: .8em; height: .8em; margin-right: .5em; vertical-align: -0.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: busy-spin .8s linear infinite; }
@keyframes busy-spin { to { transform: rotate(360deg); } }
.busy-note { margin: 8px 0 0; font-size: .9em; color: var(--muted); flex-basis: 100%; }
.tool-form .busy-note { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) {
  .busybar::after { animation: none; left: 0; width: 100%; opacity: .6; }
  .btn.is-busy::before { animation: none; border-right-color: currentColor; opacity: .5; }
}

/* pagina report: storie invece di righe grezze */
.story { border-left: 5px solid var(--border); }
.story.tone-bad { border-left-color: var(--bad); } .story.tone-warn { border-left-color: var(--warn); }
.story.tone-ok { border-left-color: var(--ok); } .story.tone-muted { border-left-color: var(--muted); }
.story .card-head h2 .dot { margin-right: 6px; vertical-align: 1px; }
.status-pill.bad { background: var(--bad-bg); color: var(--bad); }
.mini-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 4px 0 14px; }
.mini-kpi { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.mini-kpi b { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mini-kpi span { color: var(--muted); font-size: .84em; }
.mini-kpi.ok b { color: var(--ok); } .mini-kpi.warn b { color: var(--warn); } .mini-kpi.bad b { color: var(--bad); }
.story-sentences { margin: 0 0 10px; padding-left: 20px; font-size: 15.5px; line-height: 1.6; }
.story-sentences li { margin-bottom: 6px; }
.story-blurb { margin: 0 0 6px; color: var(--muted); line-height: 1.5; }
.story-action { margin: 0 0 12px; line-height: 1.5; }
.story-note { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); line-height: 1.5; }
.story-table td.what { line-height: 1.45; max-width: 62ch; }
.story-table .src-name { color: inherit; }
.story-table .src-name:hover { color: var(--accent); }
.disclosure { padding-top: 14px; padding-bottom: 14px; }
.disclosure > summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::before { content: "▸"; color: var(--muted); font-size: .9em; }
.disclosure[open] > summary::before { content: "▾"; }
.disclosure[open] > summary { margin-bottom: 12px; }

/* inventario, cronologia, avvisi */
.chip-tiny { font-size: .74em; padding: 0 6px; margin: 2px 0 0; align-self: flex-start; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 8px; border-left: 2px solid var(--border); }
.tl { position: relative; padding: 0 0 14px 16px; }
.tl:last-child { padding-bottom: 2px; }
.tl-dot { position: absolute; left: -8px; top: 5px; width: 12px; height: 12px; border: 2px solid var(--card); box-sizing: border-box; }
.tl-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.tl-detail { color: var(--muted); white-space: pre-line; line-height: 1.5; margin-top: 2px; }
h3.sub { font-size: 13px; font-weight: 600; color: var(--muted); margin: 4px 0 10px; }
h4.dns-kind { margin: 10px 0 4px; font-size: 13px; }
.dns-hist { list-style: none; margin: 0 0 8px; padding: 0; }
.dns-hist li { padding: 6px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.dns-hist li.current code { font-weight: 600; }
.dns-hist code { font-family: var(--mono); font-size: .82em; word-break: break-all; }
.flash { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.flash-bad { background: var(--bad-bg); color: var(--bad); }

/* stato del servizio (Panoramica) e anello di prontezza */
.ring { position: relative; width: 84px; height: 84px; flex: 0 0 84px; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring-track { stroke: var(--border); }
.ring-fill { stroke: var(--muted); stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.ring-ok .ring-fill { stroke: var(--ok); } .ring-warn .ring-fill { stroke: var(--warn); } .ring-bad .ring-fill { stroke: var(--bad); }
.ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ring-text b { font-size: 22px; font-weight: 800; }
.ring-text span { font-size: .7em; color: var(--muted); margin-top: 3px; }
.service { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 22px; border-left: 5px solid var(--border); }
.service.tone-ok { border-left-color: var(--ok); } .service.tone-warn { border-left-color: var(--warn); } .service.tone-bad { border-left-color: var(--bad); }
.service-main { display: flex; gap: 20px; align-items: center; }
.service-kicker { font-size: .86em; font-weight: 600; color: var(--muted); }
.service-title { margin: 2px 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.service-next { margin: 10px 0 0; font-size: 15px; }
.service-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; align-content: center; }
.service-facts dt { color: var(--muted); font-size: .84em; }
.service-facts dd { margin: 0; font-weight: 600; }
.service-links { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; } .service-main { align-items: flex-start; } }
.domain-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.strip-item { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); border-left: 4px solid var(--border); }
.strip-item:hover { text-decoration: none; border-color: var(--accent); }
.strip-item.tone-ok { border-left-color: var(--ok); } .strip-item.tone-warn { border-left-color: var(--warn); } .strip-item.tone-bad { border-left-color: var(--bad); }
.strip-item .ring { width: 64px; height: 64px; flex-basis: 64px; }
.strip-item .ring svg { width: 64px; height: 64px; }
.strip-item .ring-text b { font-size: 17px; }
.strip-item .ring-text span { display: none; }
.strip-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.strip-text b { font-size: 15px; overflow-wrap: anywhere; }

/* scheda del dominio (stampabile) */
.sheet { display: flex; flex-direction: column; gap: 18px; }
.sheet-head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 6px 4px; }
.sheet-id { flex: 1 1 320px; }
.sheet-id h1 { margin: 2px 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.sheet-id p { margin: 0; }
.checks.compact { gap: 6px; }
.checks.compact .check { padding: 7px 10px; }
.sheet-events li { display: flex; gap: 8px; align-items: baseline; line-height: 1.6; }
.sheet-events .dot { flex: 0 0 8px; }
.sheet-foot { border-top: 1px solid var(--border); padding-top: 12px; line-height: 1.6; }
.sheet-foot p { margin: 0 0 6px; }

@media print {
  .topbar, .toolbar, .footer, .no-print, .busybar, .busy-note { display: none !important; }
  body { background: #fff; color: #000; font-size: 12px; }
  .container { max-width: none; padding: 0; gap: 12px; }
  .card, .kpi, .mini-kpi, .strip-item, .check, .component, .next-step { box-shadow: none; break-inside: avoid; background: #fff; }
  .card { padding: 12px 14px; }
  .grid-2 { gap: 12px; }
  a { color: inherit; }
  .sheet-id h1 { font-size: 24px; }
  .ring-fill { transition: none; }
}

/* pagina Privacy: un documento da leggere, colonna stretta e indice laterale */
.legal-page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.legal-nav { position: sticky; top: 72px; font-size: .9em; padding-top: 6px; }
.legal-nav-title { font-weight: 700; margin: 0 0 8px 12px; color: var(--muted); font-size: .9em; }
.legal-nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; counter-reset: sec; }
.legal-nav a { display: block; padding: 6px 12px; border-left: 2px solid var(--border); color: var(--muted); line-height: 1.35; }
.legal-nav a::before { counter-increment: sec; content: counter(sec) ". "; color: var(--muted); }
.legal-nav a:hover { color: var(--text); border-left-color: var(--accent); text-decoration: none; }
.legal { padding: 30px 40px 36px; max-width: 860px; }
.legal-head { padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.legal-kicker { margin: 0; color: var(--muted); font-size: .9em; font-weight: 600; }
.legal-head h1 { margin: 4px 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.legal-meta { margin: 0 0 16px; color: var(--muted); font-size: .9em; }
.legal-lead { margin: 0; font-size: 16px; line-height: 1.6; max-width: 66ch; }
.legal section { padding: 22px 0 10px; border-bottom: 1px solid var(--border); scroll-margin-top: 80px; }
.legal section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.legal section h2 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--text); }
.legal p, .legal li, .legal dd { font-size: 14.5px; line-height: 1.65; max-width: 68ch; }
.legal p { margin: 0 0 10px; }
.legal p:last-child { margin-bottom: 0; }
.legal-terms { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.legal-terms dt { font-weight: 700; }
.legal-terms dd { margin: 2px 0 0; }
.legal-ul { margin: 0 0 12px; padding-left: 20px; }
.legal-ul li { margin-bottom: 8px; }
.legal-note { background: var(--accent-soft); border-radius: 8px; padding: 10px 14px; }
.legal-table { max-width: 68ch; }
.legal-table th, .legal-table td { padding: 8px 10px; }
@media (max-width: 900px) { .legal-page { grid-template-columns: 1fr; } .legal-nav { position: static; } .legal { padding: 22px 20px 26px; } }
@media print { .legal { max-width: none; border: 0; padding: 0; } .legal section { break-inside: avoid; } }

/* home pubblica */
.btn-login { margin-left: auto; padding: 7px 16px; }
.btn-lg { padding: 11px 20px; font-size: 15px; }
.hero { background: var(--ink); color: var(--on-ink); border-top: 1px solid rgba(255, 255, 255, .06); }
.hero-inner { max-width: 1240px; margin: 0 auto; padding: 64px 20px 72px; }
.hero-kicker { margin: 0 0 12px; color: var(--on-ink-muted); font-weight: 500; }
.hero h1 { margin: 0 0 18px; font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; max-width: 22ch; }
.hero-lead { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 62ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.hero-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.landing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.landing-grid h2 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.landing-grid p { margin: 0; line-height: 1.6; font-size: 14.5px; color: var(--muted); }
.landing-note p { margin: 0; line-height: 1.6; max-width: 80ch; }

/* piè di pagina pubblico: marchio con presentazione e tre colonne */
.footer-brand { flex: 0 1 300px; display: flex; flex-direction: column; gap: 14px; }
.footer-blurb { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 36ch; }
.landing-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 24px; }
.landing-note > div { flex: 1 1 480px; }
.landing-note h2 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.landing-note p { margin: 0; line-height: 1.6; max-width: none; }
.landing-grid .card { scroll-margin-top: 80px; }
