@font-face{font-family:"Onest";font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/onest-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/onest-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 900;font-display:swap;src:url('/assets/golos-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 900;font-display:swap;src:url('/assets/golos-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  /* палитра a-scan.ru */
  --canvas-dark: #001e2b;
  --hairline-dark: #1c2d38;
  --on-dark: #ffffff;
  --on-dark-muted: #a8b3bc;
  --canvas: #ffffff;
  --hairline: #e1e5e8;
  --ink: #001e2b;
  --nl-slate: #3d4f5b;
  --nl-stone: #7c8c9a;
  --indigo-dark: #4f46e5;
  --indigo-soft: #eef2ff;
  --accent-red: #ef4444;
  --btn-dark: #0f172a;

  /* страница */
  --night-raise: #0a2a38;
  --paper: #f4f7f7;
  --surface: #ffffff;
  --ink-soft: #344b54;
  --muted: #5f727a;
  --line: #dbe3e5;
  --violet: #7a6cf0;
  --violet-soft: rgba(122, 108, 240, 0.16);
  --pos: #2d8a5e;
  --neu: #93a3a9;
  --neg: #c9453c;

  --display: "Onest", "Golos Text", ui-sans-serif, system-ui, sans-serif;
  --text: "Golos Text", "Onest", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--indigo-dark); outline-offset: 2px; border-radius: 4px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
::selection { background: var(--violet-soft); }

/* Контейнер как max-w-7xl + px-6 на a-scan.ru */
.wrap { width: min(1232px, 100% - 48px); margin-inline: auto; }

/* ——— Шапка: копия шапки a-scan.ru ——— */
.site-header { font-family: var(--display); font-size: 16px; line-height: 24px; }
.site-header-dark { background: var(--canvas-dark); color: var(--on-dark); border-bottom: 1px solid var(--hairline-dark); }
.site-header-inner {
  max-width: 1280px; margin-inline: auto; padding-inline: 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex-shrink: 0; display: block; }
.brand-name { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -0.45px; }
.brand-badge {
  margin-left: 4px; display: inline-flex; align-items: center;
  padding: 2px 6px; border-radius: 6px;
  font-size: 10px; line-height: 1.5; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1); color: var(--on-dark-muted);
}
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }
.site-nav a { color: inherit; text-decoration: none; transition: color 0.15s; }
.site-nav a:hover { color: var(--on-dark); }
.site-actions { display: flex; align-items: center; gap: 8px; }

.site-header-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--ink);
  transform: translateY(-100%); transition: transform 0.3s;
}
.site-header-fixed.is-visible { transform: none; }
.site-header-fixed .brand-badge { background: rgba(0, 0, 0, 0.06); color: rgba(0, 30, 43, 0.6); }
.site-header-fixed .site-nav { color: rgba(0, 30, 43, 0.6); }
.site-header-fixed .site-nav a:hover { color: var(--ink); }

/* Кнопки — правила .btn-pill / .btn-* с a-scan.ru */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  border-radius: 9999px; padding: 11px 22px;
  font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1;
  transition: all 0.15s; white-space: nowrap; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--btn-dark); color: #ffffff; border: none; }
.btn-primary:hover { background: #1e293b; }
.btn-primary-on-dark { background: #ffffff; color: var(--btn-dark); border: none; }
.btn-primary-on-dark:hover { background: #e2e8f0; }
.btn-sec { background: transparent; color: var(--btn-dark); border: 1px solid #c1ccd6; }
.btn-sec:hover { border-color: var(--btn-dark); }
.btn-on-dark { background: transparent; color: #ffffff; border: 1px solid var(--hairline-dark); }
.btn-on-dark:hover { border-color: #ffffff; }

/* ——— Первый экран ——— */
.night { background: var(--canvas-dark); color: var(--on-dark); }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 56px; align-items: center;
  padding-block: 72px 80px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.06; font-weight: 600; letter-spacing: -0.025em;
}
.lede { margin-top: 22px; max-width: 34em; font-size: 18.5px; line-height: 1.6; color: var(--on-dark-muted); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-sources { margin-top: 26px; max-width: 34em; font-size: 15.5px; color: var(--on-dark-muted); }
.hero-sources a { color: var(--on-dark); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.hero-sources a:hover { text-decoration-color: var(--on-dark); }

/* Лента упоминаний */
.feed {
  margin: 0; padding: 14px; border-radius: 16px;
  background: var(--night-raise); border: 1px solid var(--hairline-dark);
  display: grid; gap: 10px;
}
.feed-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 2px 6px 4px; font-size: 14px; color: var(--on-dark); font-weight: 500;
}
.feed-when { font-size: 13px; font-weight: 400; color: var(--on-dark-muted); }
.post {
  background: var(--surface); color: var(--ink);
  border-radius: 11px; padding: 14px 16px 12px;
  display: grid; gap: 8px;
}
.post-meta { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.35; color: var(--muted); min-width: 0; }
.post-icon {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: -1px; background: var(--brand);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.post-source { color: var(--ink-soft); font-weight: 500; min-width: 0; }
.post-meta time { margin-left: auto; font-variant-numeric: tabular-nums; }
.post p { font-size: 15.5px; line-height: 1.5; }
.post mark { background: var(--violet-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tone { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.tone::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tone-pos { color: var(--pos); }
.tone-neg { color: var(--neg); }
.tone-neu { color: #6f8087; }

/* ——— Площадки и отчёт ——— */
.block { padding-block: 76px 0; }
.block-head { display: grid; gap: 10px; margin-bottom: 30px; max-width: 40em; }
.block-head h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.block-head p { color: var(--muted); }

.sources {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.sources li {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 16px; font-family: var(--display); font-size: 17px; font-weight: 500;
}
.sources sup, .footnote sup { font-size: 0.7em; color: var(--muted); margin-left: 1px; }
.badge { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--bg); }
.badge::after {
  content: ""; position: absolute; inset: 6px; background: #ffffff;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.badge-img { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; object-fit: cover; }
.footnote { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 46em; }

.views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.view { display: grid; grid-template-rows: auto auto 1fr; gap: 10px; align-content: start; }
.view h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-top: 8px; }
.view p { color: var(--ink-soft); font-size: 16px; }
.viz {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; height: 150px; display: flex; flex-direction: column; justify-content: flex-end;
}
.bars { flex: 1; display: flex; align-items: flex-end; gap: 5px; }
.bars i { flex: 1; height: var(--h); background: #c9d6da; border-radius: 3px 3px 0 0; }
.bars i.peak { background: var(--violet); }
.viz-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.tone-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; margin-bottom: auto; margin-top: 18px; }
.tone-bar i { width: var(--w); }
i.pos { background: var(--pos); } i.neu { background: var(--neu); } i.neg { background: var(--neg); }
.tone-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.tone-legend li { display: flex; align-items: center; gap: 8px; }
.tone-legend li i { width: 8px; height: 8px; border-radius: 50%; }
.tone-legend b { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.authors { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.authors li { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 5px; font-size: 14px; color: var(--ink-soft); }
.authors li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.authors li b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.authors li i { grid-column: 1 / -1; height: 5px; width: var(--w); border-radius: 3px; background: var(--violet); opacity: 0.8; }
.authors li:nth-child(n+2) i { background: #b8c7cc; opacity: 1; }
.also { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); max-width: 46em; }

/* ——— Как это работает ——— */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  counter-reset: none;
}
.step {
  position: relative; display: grid; align-content: start; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 20px 24px;
}
/* соединительная стрелка между шагами */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 40px; right: -9px; z-index: 1;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' fill='none' stroke='%237c8c9a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--line);
}
.step-num {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--display); font-size: 13px; font-weight: 500; color: var(--nl-stone); font-variant-numeric: tabular-nums;
}
.step-icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--indigo-soft); color: var(--indigo-dark);
}
.step h3 { margin-top: 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }

/* ——— Уведомления ——— */
.alerts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; }
.alerts .block-head { margin-bottom: 24px; }
.alert-kinds { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.alert-kinds li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--line); }
.alert-kinds b { font-family: var(--display); font-weight: 600; font-size: 16.5px; }
.alert-kinds span { color: var(--ink-soft); font-size: 15.5px; }

.chat {
  background: var(--canvas-dark); border-radius: 16px; padding: 14px;
  display: grid; gap: 10px; box-shadow: 0 18px 40px -24px rgba(0, 30, 43, 0.55);
}
.chat-head {
  display: flex; align-items: center; gap: 10px; padding: 4px 6px 10px;
  border-bottom: 1px solid var(--hairline-dark); color: var(--on-dark);
}
.chat-head svg { border-radius: 50%; flex-shrink: 0; }
.chat-head div { display: grid; line-height: 1.3; }
.chat-head b { font-family: var(--display); font-size: 15px; font-weight: 600; }
.chat-head span { font-size: 12.5px; color: var(--on-dark-muted); }
.msg {
  justify-self: start; max-width: 92%;
  background: #ffffff; color: var(--ink); border-radius: 12px 12px 12px 4px;
  padding: 10px 12px 8px; display: grid; gap: 4px;
}
.msg p { font-size: 14.5px; line-height: 1.45; }
.msg time { justify-self: end; font-size: 11.5px; color: var(--nl-stone); font-variant-numeric: tabular-nums; }
.msg-tag { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.tag-spike { color: var(--indigo-dark); }
.tag-neg { color: var(--neg); }
.tag-day { color: var(--pos); }

/* ——— Контакты и форма: копия блока #contact с a-scan.ru ——— */
.contact { margin-top: 96px; background: var(--canvas); color: var(--ink); font-family: var(--display); font-size: 16px; line-height: 1.5; border-top: 1px solid var(--hairline); }
.contact-inner { max-width: 1280px; margin-inline: auto; padding: 112px 24px; }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
.contact-intro { grid-column: span 5 / span 5; }
.contact-form-col { grid-column: span 7 / span 7; }
.micro-up { font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--indigo-dark); margin-bottom: 16px; }
.t-h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -0.8px; font-weight: 500; }
.subtitle { margin-top: 20px; font-size: 18px; line-height: 1.55; color: var(--nl-slate); }
.contacts { margin: 40px 0 0; display: grid; gap: 20px; }
.contacts > div { display: flex; gap: 16px; align-items: flex-start; }
.c-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--indigo-soft); color: var(--indigo-dark);
}
.contacts dt { font-size: 14px; line-height: 1.5; color: var(--nl-stone); }
.contacts dd { margin: 2px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.contacts a { color: var(--ink); text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.contacts a:hover { text-decoration: underline; }

.nl-card { background: #ffffff; border: 1px solid var(--hairline); border-radius: 12px; }
.request-card { padding: 40px; }
.t-h3 { font-size: 28px; line-height: 1.25; font-weight: 500; letter-spacing: -0.3px; }
.form-lead { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--nl-stone); }
.fields { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: block; }
.field > span { font-size: 14px; line-height: 1.5; color: var(--nl-slate); }
.req { color: var(--accent-red); }
.field-wide { grid-column: 1 / -1; }
.nl-input {
  display: inline-block; vertical-align: baseline; width: 100%; margin-top: 8px; padding: 11px 14px;
  border: 1px solid #c1ccd6; border-radius: 8px; background: #ffffff; color: var(--ink);
  font-family: inherit; font-size: 14px; line-height: 1.5;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.nl-input::placeholder { color: rgba(0, 30, 43, 0.5); }
.nl-input:focus { outline: none; border-color: var(--btn-dark); box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.18); }
textarea.nl-input { min-height: 120px; resize: vertical; }
.form-foot { margin-top: 28px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.consent { max-width: 384px; font-size: 13px; line-height: 1.4; color: var(--nl-stone); }
.consent a { color: inherit; text-decoration: underline; }
.consent a:hover { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--accent-red); }
.btn-pill[disabled] { opacity: 0.7; cursor: default; }

/* Заявка принята — как на a-scan.ru */
.contact-success-card {
  padding: 40px; min-height: 520px; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(92, 244, 184, 0.16), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(126, 97, 255, 0.12), transparent 30%),
    linear-gradient(#ffffff, #f7fbfa);
}
.contact-success-card:focus { outline: none; }
.success-icon {
  width: 64px; height: 64px; border-radius: 16px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  background: #d1fae5; color: #047857;
}
.micro-green { color: #047857; margin-bottom: 12px; }
.t-h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.5px; font-weight: 500; max-width: 36rem; }
.contact-success-card .subtitle { max-width: 36rem; }
.success-notes { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.success-notes > div { border: 1px solid var(--hairline); border-radius: 12px; background: rgba(255, 255, 255, 0.7); padding: 16px; }
.success-notes b { display: block; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.success-notes p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--nl-slate); }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  padding-block: 26px 34px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted);
}
.footer a { color: var(--ink); text-underline-offset: 3px; }

/* ——— Адаптив (брейкпоинты как у a-scan.ru: sm 640, md 768, lg 1024) ——— */
@media (max-width: 1023px) {
  .contact-intro, .contact-form-col { grid-column: 1 / -1; }
  .request-card, .contact-success-card { padding: 32px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .alerts { grid-template-columns: 1fr; gap: 36px; }
  .chat { max-width: 520px; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 52px 56px; }
  .feed { max-width: 560px; }
  .views { grid-template-columns: 1fr 1fr; }
  .views .view:last-child { grid-column: 1 / -1; max-width: calc(50% - 16px); }
}
@media (max-width: 900px) {
  .sources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .site-nav { display: none; }
}
@media (max-width: 639px) {
  body { font-size: 16px; }
  .login { display: none; }
  .btn-pill { min-height: 44px; }
  .hero { padding-block: 40px 44px; }
  .lede { font-size: 17px; }
  .hero-sources { margin-top: 22px; font-size: 15px; }
  .feed { padding: 10px; }
  .post { padding: 12px 13px 11px; }
  .block { padding-top: 56px; }
  .sources { gap: 10px; }
  .sources li { padding: 12px; font-size: 15px; gap: 9px; overflow-wrap: anywhere; }
  .badge, .badge-img { width: 26px; height: 26px; border-radius: 7px; }
  .badge::after { inset: 5px; }
  .views { grid-template-columns: 1fr; gap: 36px; }
  .views .view:last-child { max-width: none; }
  .contact { margin-top: 64px; }
  .contact-inner { padding-block: 72px; }
  .t-h1 { font-size: 32px; line-height: 1.14; letter-spacing: 0; }
  .t-h3 { font-size: 26px; line-height: 1.22; letter-spacing: 0; }
  .subtitle { font-size: 16px; line-height: 1.58; }
  .contacts dd { font-size: 15px; line-height: 1.58; }
  .fields { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step:not(:last-child)::after { display: none; }
  .step { padding: 18px 16px 20px; }
  .t-h2 { font-size: 28px; line-height: 1.18; letter-spacing: 0; }
  .contact-success-card { min-height: 0; }
  .success-notes { grid-template-columns: 1fr; }
  .msg { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
