/* Legacy structural layer. FinRestore Brandbook v1.0 tokens and typography
   are applied by finrestore_landing_brand.css after this file. */

:root {
  --page: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --surface-3: #e7ecf2;
  --text: #111820;
  --text-soft: #536172;
  --text-muted: #7a8696;
  --border: #d9e1ea;
  --border-strong: #c8d2dd;
  --brand: #336ff2;
  --brand-hover: #285fd2;
  --brand-soft: #eaf1ff;
  --danger: #d65057;
  --warning: #c78622;
  --positive: #198d62;
  --violet: #8067dc;
  --header-bg: rgba(245, 247, 250, .86);
  --radius-lg: 4px;
  --radius-md: 4px;
  --radius-sm: 4px;
  --container: min(1280px, calc(100vw - 40px));
  color-scheme: light;
}

html[data-theme="dark"] {
  --page: #11151b;
  --surface: #171c24;
  --surface-2: #1c232d;
  --surface-3: #242d39;
  --text: #f1f4f8;
  --text-soft: #aab4c1;
  --text-muted: #7f8b9a;
  --border: #2c3541;
  --border-strong: #394553;
  --brand: #5588f4;
  --brand-hover: #6d9af5;
  --brand-soft: rgba(85, 136, 244, .12);
  --danger: #f06a72;
  --warning: #e1a550;
  --positive: #58c99b;
  --violet: #9a82eb;
  --header-bg: rgba(17, 21, 27, .84);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--fr-font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--brand); color: #fff; }

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--text);
  color: var(--page);
  border-radius: 4px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.site-header.scrolled {
  background: var(--header-bg);
  border-color: var(--border);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-copy strong {
  font-size: 17px;
  letter-spacing: -.02em;
}
.brand-copy small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10px;
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--text-soft);
  font-size: 14px;
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--text); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.theme-toggle,
.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
}
.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.theme-toggle svg { width: 18px; height: 18px; }
html[data-theme="dark"] .icon-moon,
html[data-theme="light"] .icon-sun { display: none; }

.button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 650;
  font-size: 14px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button svg { width: 18px; height: 18px; }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-hover); }
.button-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.button-secondary:hover,
.button-ghost:hover { background: var(--surface-2); }
.button-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.button-large { min-height: 50px; padding: 0 22px; font-size: 15px; }
.button-light { background: #fff; color: #142037; }
.button-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 4px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  margin: 6px 0;
  background: currentColor;
}
.mobile-menu { display: none; }

.hero {
  min-height: 820px;
  padding: 136px 0 82px;
  position: relative;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-orb-a {
  width: 420px;
  height: 420px;
  right: 4%;
  top: 90px;
  background: color-mix(in srgb, var(--brand) 17%, transparent);
}
.hero-orb-b {
  width: 320px;
  height: 320px;
  left: -100px;
  top: 280px;
  background: color-mix(in srgb, var(--violet) 9%, transparent);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(42px, 5vw, 76px);
  align-items: center;
}
.hero h1 {
  max-width: 690px;
  margin: 24px 0 20px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -.05em;
  font-weight: 760;
}
.hero-lead {
  max-width: 660px;
  margin: 0;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.7;
}
.hero-actions {
  margin-top: 31px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.hero-proof {
  margin-top: 42px;
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.hero-proof div {
  padding-right: 16px;
  display: flex;
  flex-direction: column;
}
.hero-proof strong { font-size: 14px; }
.hero-proof span {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.hero-product { min-width: 0; }
.product-frame {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.frame-top {
  min-height: 41px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.frame-dots { display: flex; gap: 5px; }
.frame-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
}
.frame-address {
  max-width: 340px;
  margin: 0 auto;
  padding: 5px 12px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 8px;
  text-align: center;
}
.frame-online {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--positive);
  font-size: 8px;
}
.frame-online span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.dashboard {
  height: 500px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 148px;
  background: var(--page);
  font-size: 8px;
}
.dash-sidebar,
.dash-inspector { background: var(--surface); }
.dash-sidebar {
  padding: 14px 9px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.dash-logo {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.dash-sidebar nav {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dash-sidebar nav b {
  padding: 7px 7px;
  border-radius: 4px;
  color: var(--text-soft);
  font-weight: 520;
  line-height: 1.2;
}
.dash-sidebar nav .active {
  background: var(--surface-2);
  color: var(--text);
}
.dash-sidebar > small {
  margin-top: auto;
  color: var(--text-muted);
}
.dash-content {
  min-width: 0;
  padding: 14px;
  overflow: hidden;
}
.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.dash-header span {
  color: var(--brand);
  font-size: 6px;
}
.dash-header h2 {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.1;
}
.dash-header p {
  margin: 4px 0 0;
  color: var(--text-muted);
}
.dash-header button {
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-size: 6px;
}
.dash-top-grid {
  margin-top: 13px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
.dash-verdict {
  padding: 10px;
  border-right: 1px solid var(--border);
}
.dash-verdict span,
.dash-ratings span,
.dash-kpis span {
  color: var(--text-muted);
  font-size: 5.5px;
}
.dash-verdict strong {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}
.dash-verdict p {
  margin: 5px 0 0;
  color: var(--text-soft);
  line-height: 1.45;
}
.dash-ratings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.dash-ratings article {
  padding: 9px;
  border-right: 1px solid var(--border);
}
.dash-ratings article:last-child { border-right: 0; }
.dash-ratings strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}
.dash-ratings small { color: var(--text-muted); }
.dash-kpis {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
.dash-kpis article {
  padding: 8px;
  border-right: 1px solid var(--border);
}
.dash-kpis article:last-child { border-right: 0; }
.dash-kpis span {
  display: block;
  min-height: 16px;
}
.dash-kpis strong { font-size: 10px; }
.positive { color: var(--positive); }

.timeline-card {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}
.timeline-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.timeline-title strong,
.timeline-title small { display: block; }
.timeline-title small {
  margin-top: 2px;
  color: var(--text-muted);
}
.timeline-title > span { color: var(--text-muted); }
.timeline-title > span i {
  width: 7px;
  height: 3px;
  margin-right: 3px;
  display: inline-block;
  border-radius: 3px;
  background: var(--danger);
}
.timeline-years {
  margin: 9px 0 6px 82px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 5px;
}
.timeline-row {
  min-height: 32px;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  border-top: 1px solid var(--border);
}
.timeline-row b {
  color: var(--text-soft);
  font-weight: 520;
}
.timeline-row > div {
  position: relative;
  height: 15px;
  background-image: repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 20%);
}
.bar {
  position: absolute;
  top: 5px;
  height: 6px;
  border-radius: 4px;
}
.bar.blue { background: var(--brand); }
.bar.amber { background: var(--warning); }
.bar.violet { background: var(--violet); }
.bar.red {
  top: 6.5px;
  z-index: 2;
  height: 3px;
  background: var(--danger);
}
.activity-bars {
  height: 24px !important;
  padding: 3px 2px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  background-image: none !important;
}
.activity-bars i {
  flex: 1;
  min-width: 2px;
  border-radius: 2px 2px 0 0;
  background: color-mix(in srgb, var(--brand) 65%, var(--surface));
}
.dash-inspector {
  padding: 15px 11px;
  border-left: 1px solid var(--border);
}
.dash-inspector > span {
  color: var(--brand);
  font-size: 5.5px;
}
.dash-inspector h3 {
  margin: 5px 0 12px;
  font-size: 11px;
}
.dash-inspector ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dash-inspector li {
  padding: 9px 0;
  display: flex;
  gap: 7px;
  border-top: 1px solid var(--border);
}
.dash-inspector li > i {
  width: 6px;
  height: 6px;
  margin-top: 2px;
  flex: 0 0 auto;
  border-radius: 50%;
}
.dash-inspector li > i.danger { background: var(--danger); }
.dash-inspector li > i.warning { background: var(--warning); }
.dash-inspector li > i.neutral { background: var(--brand); }
.dash-inspector li b,
.dash-inspector li small { display: block; }
.dash-inspector li small {
  margin-top: 2px;
  color: var(--text-muted);
  line-height: 1.35;
}
.client-note {
  margin-top: 12px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-2);
}
.client-note span {
  color: var(--text-muted);
  font-size: 5px;
}
.client-note p {
  margin: 5px 0 0;
  color: var(--text-soft);
  line-height: 1.4;
}
.product-caption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-muted);
  font-size: 11px;
}
.product-caption strong {
  color: var(--text-soft);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.source-line {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.source-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 12px;
}
.source-inner i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}
.source-inner strong { color: var(--text); }

.section { padding: 108px 0; }
.section-heading {
  display: grid;
  grid-template-columns: 52px 1.1fr .7fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 54px;
}
.section-heading.compact { margin-bottom: 48px; }
.section-number {
  color: var(--brand);
  font-size: 12px;
  font-weight: 750;
}
.section-heading h2,
.report-copy h2,
.security-copy h2,
.faq-heading h2,
.cta-card h2 {
  margin: 12px 0 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-heading p,
.report-copy > p,
.security-copy > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.story-list {
  border-top: 1px solid var(--border);
}
.story {
  min-height: 480px;
  padding: 52px 0;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.story-reverse .story-copy { order: 2; }
.story-reverse .story-visual { order: 1; }
.story-label {
  color: var(--brand);
  font-size: 12px;
  font-weight: 750;
}
.story-copy h3 {
  margin: 13px 0 15px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.story-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}
.story-copy ul,
.report-copy ul {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
  display: grid;
  gap: 10px;
}
.story-copy li,
.report-copy li {
  padding-left: 24px;
  position: relative;
  color: var(--text-soft);
}
.story-copy li::before,
.report-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--positive);
  font-weight: 800;
}
.story-visual {
  min-height: 320px;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.source-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: center;
}
.source-node {
  padding: 18px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.source-connector {
  grid-column: 1 / -1;
  height: 38px;
  position: relative;
}
.source-connector::before,
.source-connector::after {
  content: "";
  position: absolute;
  background: var(--border-strong);
}
.source-connector::before {
  left: 16%;
  right: 16%;
  top: 10px;
  height: 1px;
}
.source-connector::after {
  left: 50%;
  top: 10px;
  width: 1px;
  height: 28px;
}
.source-result {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--border));
  border-radius: var(--radius-md);
  background: var(--brand-soft);
}
.source-result span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
}
.source-result strong,
.source-result small { display: block; }
.source-result strong {
  margin-top: 7px;
  font-size: 22px;
}
.source-result small {
  margin-top: 5px;
  color: var(--text-soft);
}

.timeline-demo {
  display: grid;
  align-content: center;
}
.mini-years {
  margin: 0 0 8px 128px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 10px;
}
.mini-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  border-top: 1px solid var(--border);
}
.mini-row b {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
}
.mini-row > div {
  position: relative;
  height: 21px;
  background-image: repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 20%);
}
.mini-row i {
  position: absolute;
  top: 7px;
  height: 8px;
  border-radius: 4px;
}
.mini-row i.blue,
.mini-legend i.blue { background: var(--brand); }
.mini-row i.amber { background: var(--warning); }
.mini-row i.violet { background: var(--violet); }
.mini-row i.red,
.mini-legend i.red {
  top: 9px;
  z-index: 2;
  height: 4px;
  background: var(--danger);
}
.mini-legend {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  color: var(--text-muted);
  font-size: 11px;
}
.mini-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-legend i {
  width: 14px;
  height: 4px;
  border-radius: 3px;
}

.action-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.action-visual > div {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}
.action-visual > div.action-final {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--border));
  background: var(--brand-soft);
}
.action-visual span,
.action-visual strong,
.action-visual small { display: block; }
.action-visual span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
}
.action-visual strong { margin-top: 42px; }
.action-visual small {
  margin-top: 5px;
  color: var(--text-muted);
}
.action-visual > i {
  width: 18px;
  height: 1px;
  background: var(--border-strong);
}

.workflow-section {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  min-height: 290px;
  padding: 25px;
  border-right: 1px solid var(--border);
  background: var(--page);
}
.step:last-child { border-right: 0; }
.step > span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 750;
}
.step h3 {
  margin: 98px 0 12px;
  font-size: 25px;
  letter-spacing: -.035em;
}
.step p {
  margin: 0;
  color: var(--text-soft);
}

.report-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(60px, 8vw, 110px);
  align-items: center;
}
.report-copy > p { margin-top: 20px; }
.report-stack {
  min-height: 480px;
  position: relative;
}
.report-page {
  width: min(540px, 80vw);
  height: 382px;
  position: absolute;
  right: 0;
  top: 46px;
  padding: 25px;
  border: 1px solid #d9dee5;
  border-radius: 4px;
  background: #fff;
  color: #17202b;
  transform-origin: bottom right;
}
.report-page-back {
  transform: translate(-72px, -14px) rotate(-7deg) scale(.92);
  opacity: .58;
}
.report-page-middle {
  transform: translate(-34px, -4px) rotate(-3deg) scale(.96);
  opacity: .82;
}
.report-page-front { transform: rotate(1.8deg); }
.report-page-head {
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e1e6ed;
  font-size: 8px;
}
.report-page-head span {
  color: #336ff2;
  font-weight: 800;
}
.report-title-line {
  margin: 23px 0 18px;
  font-size: 17px;
  font-weight: 800;
}
.report-ratings,
.report-kpis {
  display: grid;
  gap: 8px;
}
.report-ratings { grid-template-columns: repeat(3, 1fr); }
.report-kpis {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 9px;
}
.report-ratings i,
.report-kpis i,
.report-notes i {
  display: block;
  border-radius: 4px;
  background: #edf1f5;
}
.report-ratings i { height: 64px; }
.report-kpis i { height: 43px; }
.report-notes {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}
.report-notes i {
  height: 28px;
  border-left: 3px solid #df5860;
}
.report-chart {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}
.report-chart i {
  height: 23px;
  border-radius: 4px;
  background: linear-gradient(90deg, #edf1f5 0 25%, #6f93df 25% 70%, #df5860 70% 76%, #edf1f5 76%);
}
.report-table {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.report-table i {
  height: 40px;
  display: block;
  border-bottom: 1px solid #e1e6ed;
}

.audience-section {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.audience-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.audience-list article {
  min-height: 280px;
  padding: 24px;
  border-right: 1px solid var(--border);
  background: var(--page);
}
.audience-list article:last-child { border-right: 0; }
.audience-list span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 750;
}
.audience-list h3 {
  margin: 82px 0 12px;
  font-size: 22px;
  letter-spacing: -.035em;
}
.audience-list p {
  margin: 0;
  color: var(--text-soft);
}

.security-section { background: var(--surface); }
.security-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(60px, 8vw, 110px);
  align-items: center;
}
.security-copy > p { margin-top: 20px; }
.operator-card {
  margin-top: 29px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--page);
}
.operator-card span,
.operator-card strong,
.operator-card small { display: block; }
.operator-card span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 750;
}
.operator-card strong { margin-top: 8px; }
.operator-card small {
  margin-top: 5px;
  color: var(--text-soft);
}
.security-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.security-flow article {
  min-height: 220px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: var(--page);
}
.security-flow article.active {
  background: var(--brand);
  color: #fff;
}
.security-flow article span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 750;
}
.security-flow article.active span { color: rgba(255,255,255,.78); }
.security-flow article strong {
  margin-top: auto;
  font-size: 17px;
}
.security-flow article small {
  margin-top: 6px;
  color: var(--text-muted);
}
.security-flow article.active small { color: rgba(255,255,255,.72); }
.security-flow > i {
  width: 44px;
  display: grid;
  place-items: center;
  border-inline: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-style: normal;
}

.faq-section {
  border-block: 1px solid var(--border);
}
.faq-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(60px, 8vw, 110px);
}
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  padding: 24px 48px 24px 0;
  position: relative;
  list-style: none;
  cursor: pointer;
  font-weight: 650;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--text-muted);
  font-size: 24px;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list p {
  max-width: 760px;
  margin: -2px 0 24px;
  color: var(--text-soft);
}

.cta-section { padding: 72px 0 110px; }
.cta-card {
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 52px;
  align-items: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2f66da, #4a7de8);
  color: #fff;
}
.cta-card > div > span {
  color: #d8e4ff;
  font-size: 12px;
  font-weight: 750;
}
.cta-card h2 {
  max-width: 760px;
  margin-top: 12px;
}
.cta-card p {
  max-width: 700px;
  margin: 17px 0 0;
  color: #dfe8ff;
  font-size: 17px;
}
.cta-actions {
  min-width: 205px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-main {
  padding: 58px 0 40px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}
.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: var(--text-soft);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links strong {
  margin-bottom: 5px;
  font-size: 13px;
}
.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 13px;
  text-align: left;
}
.footer-links a:hover,
.footer-links button:hover { color: var(--text); }
.footer-operator {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1.25fr .8fr 1.25fr .9fr;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
}
.footer-bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
}

.resource-document-dialog {
  width: min(1040px, calc(100vw - 32px));
  height: min(820px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
}
.resource-document-dialog::backdrop {
  background: rgba(4, 8, 14, .68);
  backdrop-filter: blur(5px);
}
.resource-document-dialog__header {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 9px 12px 9px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.resource-document-dialog__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}
.resource-document-dialog__actions > a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
.resource-document-dialog__actions > a:hover,
.resource-document-dialog__actions > a:focus-visible {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.resource-document-dialog__actions > a[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
}
.resource-document-dialog__close {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  display: inline-grid;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 23px;
  line-height: 1;
}
.resource-document-dialog__body {
  height: calc(100% - 56px);
  overflow-y: auto;
  padding: 28px clamp(20px, 5vw, 64px) 48px;
  background: var(--page);
  overscroll-behavior: contain;
}
.resource-document-dialog__status { margin: 0; color: var(--text-muted); }
.resource-document-dialog__status--error { color: var(--danger); }
.resource-document-content {
  width: min(820px, 100%);
  margin: 0 auto;
  color: var(--text);
  font-size: 14px;
  line-height: 1.62;
}
.resource-document-content .resource-document-title {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
}
.resource-document-content h2,
.resource-document-content h3,
.resource-document-content h4 {
  margin: 24px 0 10px;
  color: var(--text);
  line-height: 1.3;
}
.resource-document-content h2:first-child { margin-top: 0; }
.resource-document-content p { margin: 0 0 12px; }
.resource-document-content ul,
.resource-document-content ol { margin: 8px 0 16px; padding-left: 22px; }
.resource-document-content li + li { margin-top: 5px; }
.resource-document-content code { overflow-wrap: anywhere; }
.resource-document-content table {
  width: 100%;
  margin: 14px 0 20px;
  border-collapse: collapse;
  font-size: 12px;
}
.resource-document-content th,
.resource-document-content td {
  padding: 9px 10px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.resource-document-content th { background: var(--surface-2); }
.resource-document-content .legal-lead { color: var(--text-soft); font-size: 15px; }
.resource-document-content .resource-document-subtitle {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 400;
}
.resource-document-content .legal-notice {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--warning);
  background: color-mix(in srgb, var(--warning) 10%, transparent);
}
.resource-document-content .legal-notice p:last-child { margin-bottom: 0; }
.resource-document-content .legal-meta {
  display: grid;
  grid-template-columns: minmax(130px, .38fr) minmax(0, 1fr);
  gap: 8px 18px;
  margin: 14px 0 20px;
}

.cookie-notice {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  left: 24px;
  width: min(920px, calc(100vw - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice__copy { display: grid; gap: 5px; }
.cookie-notice__copy strong { font-size: 15px; }
.cookie-notice__copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.48;
}
.cookie-notice__copy a {
  width: fit-content;
  color: var(--brand);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-notice__accept {
  min-width: 100px;
  flex: 0 0 auto;
}

.access-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100dvh - 20px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--text);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.access-dialog::backdrop {
  background: rgba(4, 8, 14, .72);
  backdrop-filter: blur(7px);
}

.identity-auth-dialog {
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  overflow: auto;
  overscroll-behavior: contain;
}
.identity-auth-dialog::backdrop {
  background: rgba(4, 8, 14, .72);
  backdrop-filter: blur(7px);
}
.identity-auth-dialog__panel {
  min-height: 340px;
  padding: 36px;
  position: relative;
}
.identity-auth-dialog__panel h2 {
  margin: 10px 44px 8px 0;
  font-size: 34px;
  letter-spacing: -.035em;
}
.identity-auth-dialog__panel > p:not(.identity-auth-dialog__eyebrow):not(.form-note) {
  margin: 0 0 24px;
  color: var(--text-soft);
}
.identity-auth-dialog__eyebrow {
  margin: 0 44px 8px 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
}
.identity-auth-dialog__loading {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-soft);
}
.identity-auth-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.identity-auth-dialog [hidden] {
  display: none !important;
}
.identity-auth-form label {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
}
.identity-auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--page);
  color: var(--text);
}
.identity-auth-form input:focus {
  border-color: var(--brand);
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.auth-code-sent {
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--positive) 35%, var(--border));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--positive) 9%, transparent);
  color: var(--positive);
  font-size: 13px;
}
.identity-auth-dialog__secondary-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.identity-auth-dialog__fallback {
  width: fit-content;
  margin-top: 18px;
  display: inline-block;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.access-form {
  padding: 34px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.dialog-close {
  width: 36px;
  height: 36px;
  position: absolute;
  right: 18px;
  top: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 22px;
}
.access-form h2 {
  margin: 10px 0 8px;
  font-size: 34px;
  letter-spacing: -.035em;
}
.access-form > p {
  margin: 0 0 24px;
  color: var(--text-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-grid label span {
  color: var(--text-soft);
  font-size: 12px;
}
.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
  background: var(--page);
  color: var(--text);
}
.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--brand);
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.form-wide { grid-column: 1 / -1; }
.consent-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 12px;
}
.consent-row input { margin-top: 3px; }
.consent-row a { color: var(--brand); text-decoration: underline; }
.dialog-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}
.form-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--warning) 11%, transparent);
  color: var(--warning);
  font-size: 11px;
}

.form-note.is-success {
  background: color-mix(in srgb, var(--positive) 12%, transparent);
  color: var(--positive);
}

.form-note.is-error {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .header-demo,
  .header-access { display: none; }
  .mobile-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 66px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
  }
  .mobile-menu.open { display: grid; }
  .mobile-menu a,
  .mobile-menu button {
    padding: 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--text);
    text-align: left;
  }
  .mobile-menu button { background: var(--brand); color: #fff; }
  .hero-grid,
  .report-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy { max-width: 760px; }
  .hero-product { max-width: 900px; }
  .section-heading {
    grid-template-columns: 42px 1fr;
  }
  .section-heading > p {
    grid-column: 2;
    max-width: 740px;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .story-reverse .story-copy,
  .story-reverse .story-visual { order: initial; }
  .steps-grid,
  .audience-list { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2),
  .audience-list article:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2),
  .audience-list article:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .report-stack { min-height: 460px; }
  .security-flow { max-width: 900px; }
  .faq-grid { grid-template-columns: 1fr; gap: 42px; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1280px); }
  .header-inner { min-height: 64px; }
  .brand-copy small { display: none; }
  .hero {
    min-height: auto;
    padding: 112px 0 64px;
  }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 17px; }
  .hero-proof { grid-template-columns: 1fr; gap: 16px; }
  .hero-proof div { padding: 0; }
  .product-frame { border-radius: 4px; }
  .dashboard {
    height: 420px;
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .dash-inspector { display: none; }
  .dash-sidebar { padding: 10px 6px; }
  .dash-sidebar nav b {
    padding: 6px 4px;
    font-size: 6px;
  }
  .dash-content { padding: 10px; }
  .dash-header h2 { font-size: 13px; }
  .dash-top-grid { grid-template-columns: 1fr; }
  .dash-verdict { display: none; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-kpis article:nth-child(2) { border-right: 0; }
  .dash-kpis article:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .timeline-years { margin-left: 72px; }
  .timeline-row { grid-template-columns: 68px 1fr; }
  .product-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .source-inner {
    min-height: 62px;
    gap: 13px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .source-inner i { display: none; }
  .section { padding: 76px 0; }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 38px;
  }
  .section-heading > p { grid-column: auto; }
  .section-heading h2,
  .report-copy h2,
  .security-copy h2,
  .faq-heading h2,
  .cta-card h2 { font-size: 36px; }
  .story {
    min-height: auto;
    padding: 38px 0;
  }
  .story-visual { min-height: 280px; padding: 20px; }
  .action-visual {
    grid-template-columns: 1fr 1fr;
  }
  .action-visual > i { display: none; }
  .steps-grid,
  .audience-list { grid-template-columns: 1fr; }
  .step,
  .step:nth-child(n),
  .audience-list article,
  .audience-list article:nth-child(n) {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .step:last-child,
  .audience-list article:last-child { border-bottom: 0; }
  .step h3,
  .audience-list h3 { margin-top: 62px; }
  .report-stack { min-height: 330px; }
  .report-page {
    width: 92%;
    height: 260px;
    padding: 15px;
  }
  .report-page-back { transform: translate(-28px, -8px) rotate(-6deg) scale(.94); }
  .report-page-middle { transform: translate(-14px, -2px) rotate(-3deg) scale(.97); }
  .report-title-line { margin: 14px 0 10px; font-size: 12px; }
  .report-ratings i { height: 42px; }
  .report-kpis i { height: 30px; }
  .security-flow {
    grid-template-columns: 1fr;
  }
  .security-flow > i {
    width: auto;
    min-height: 40px;
    border: 0;
    border-block: 1px solid var(--border);
  }
  .security-flow article { min-height: 150px; }
  .cta-card { padding: 34px 26px; }
  .cta-actions { flex-direction: column; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-operator {
    padding: 18px 0;
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .resource-document-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
  }
  .resource-document-dialog__header { gap: 8px; padding-left: 12px; }
  .resource-document-dialog__actions > a { padding-inline: 6px; font-size: 10px; }
  .resource-document-dialog__body { padding: 20px 14px 36px; }
  .resource-document-content .legal-meta { grid-template-columns: 1fr; gap: 2px; }
  .cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
  .cookie-notice__accept { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .dialog-actions { flex-direction: column; }
}

/* ===================== ТАРИФЫ И ПОКУПКА ===================== */
.pricing-section { border-top: 1px solid var(--border); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.pricing-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}
.pricing-card-recommended { border-color: var(--primary); background: var(--primary-soft); }
.pricing-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border: 1px solid var(--primary-border);
  border-radius: 4px;
  color: var(--primary-text);
  font-size: 11px;
  font-weight: 700;
}
.pricing-name { color: var(--text-muted); font-size: 14px; font-weight: 700; }
.pricing-price { margin-top: 8px; color: var(--text); font-family: var(--fr-font-display); font-size: 28px; line-height: 1.1; }
.pricing-count { color: var(--text); font-size: 17px; font-weight: 700; }
.pricing-unit { color: var(--primary-text); font-size: 14px; font-weight: 600; }
.pricing-term { margin-top: auto; color: var(--text-muted); font-size: 13px; }
.pricing-card .button { width: 100%; margin-top: 10px; }
.pricing-card .button:disabled {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}
.purchase-dialog { width: min(560px, calc(100% - 28px)); padding: 0; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); color: var(--text); }
.purchase-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.purchase-form { display: grid; gap: 16px; padding: 34px; }
.purchase-form h2 { margin: 0; font-family: var(--fr-font-display); font-size: 32px; line-height: 1.1; }
.purchase-form label { display: grid; gap: 7px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.purchase-form input[type='email'], .purchase-form input[type='text'] { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg); color: var(--text); font: inherit; }
.purchase-summary { padding: 14px; border: 1px solid var(--primary-border); border-radius: 4px; color: var(--text); background: var(--primary-soft); font-weight: 700; }
.purchase-result { display: grid; gap: 12px; padding-top: 6px; border-top: 1px solid var(--border); }
.purchase-result output { color: var(--text); }
.purchase-issued-key { padding: 12px; border: 1px solid var(--positive-border); border-radius: 4px; color: var(--positive-text); overflow-wrap: anywhere; font-family: var(--fr-font-mono); font-size: 13px; }

@media (max-width: 1120px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: 0; }
  .purchase-form { padding: 26px 20px 22px; }
  .purchase-form h2 { padding-right: 34px; font-size: 28px; }
  .identity-auth-dialog__panel { min-height: 0; padding: 28px 20px 22px; }
  .identity-auth-dialog__panel h2 { font-size: 29px; }
  .identity-auth-dialog__secondary-actions { display: grid; grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Prepared-case positioning: the dashboard and its case-aware assistant are
   presented as one working surface. All values mirror the synthetic demo. */
.hero-trust {
  margin: 18px 0 0;
  padding-left: 18px;
  position: relative;
  color: var(--text-soft);
  font-size: 13px;
}

.hero-trust::before {
  width: 8px;
  height: 8px;
  position: absolute;
  top: .48em;
  left: 0;
  border: 1px solid var(--positive);
  border-radius: 2px;
  content: "";
}

.product-frame,
.dashboard {
  position: relative;
}

.hero-chat {
  width: 282px;
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  overflow: hidden;
  border: 1px solid #b9c9e8;
  border-radius: 4px;
  background: #fff;
  color: #172033;
  font-size: 11px;
}

.hero-chat header,
.assistant-conversation header {
  min-height: 44px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: #fff;
}

.hero-chat header strong,
.assistant-conversation header strong {
  font-size: 12px;
}

.hero-chat header small,
.assistant-conversation header small {
  margin-left: auto;
  color: rgba(255, 255, 255, .78);
}

.hero-chat-status,
.assistant-conversation header > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #93c5fd;
}

.hero-chat-body {
  padding: 12px;
  display: grid;
  gap: 8px;
  background: #f7f9fd;
}

.chat-message {
  max-width: 88%;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #d8e0ed;
  border-radius: 4px;
  line-height: 1.4;
}

.chat-message-user {
  margin-left: auto;
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.chat-message-assistant {
  background: #fff;
}

.chat-context-note {
  color: #6d7890;
  font-size: 8px;
}

.work-section {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.work-results-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  list-style: none;
}

.work-result {
  min-height: 295px;
  padding: 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--page);
}

.work-result > span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 750;
}

.work-result h3 {
  margin: 72px 0 14px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.work-result p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.assistant-section {
  border-block: 1px solid var(--border);
  background: var(--brand-soft);
}

.assistant-heading {
  max-width: 940px;
}

.assistant-heading h2 {
  max-width: 880px;
  margin: 14px 0 20px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.assistant-heading > p {
  max-width: 820px;
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.assistant-showcase {
  margin-top: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 18px;
  align-items: stretch;
}

.assistant-conversation,
.natural-query {
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface);
}

.assistant-conversation {
  overflow: hidden;
}

.assistant-conversation header {
  min-height: 58px;
  padding-inline: 20px;
}

.assistant-conversation header strong {
  font-size: 15px;
}

.assistant-thread {
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  gap: 14px;
}

.assistant-question,
.assistant-answer {
  margin: 0;
  border-radius: 4px;
  line-height: 1.65;
}

.assistant-question {
  max-width: 470px;
  margin-left: auto;
  padding: 14px 17px;
  background: #2563eb;
  color: #fff;
  font-size: 17px;
  font-weight: 650;
}

.assistant-answer {
  max-width: 760px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 15px;
}

.assistant-answer p {
  margin: 0 0 12px;
}

.assistant-answer p:last-child {
  margin-bottom: 0;
}

.answer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.answer-facts span {
  padding: 7px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
}

.natural-query {
  padding: clamp(24px, 3vw, 34px);
}

.natural-query > span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 750;
}

.natural-query blockquote {
  margin: 26px 0 18px;
  padding: 15px 17px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.natural-query p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.natural-query .natural-answer {
  padding: 13px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
}

.natural-query > strong {
  display: block;
  margin-top: 24px;
  color: var(--brand);
  line-height: 1.5;
}

.assistant-boundary {
  margin-top: 18px;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 50px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

.assistant-boundary h3 {
  margin: 12px 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.assistant-boundary p {
  margin: 0;
  color: var(--text-soft);
}

.assistant-boundary ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.assistant-boundary li {
  min-height: 66px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.assistant-boundary li span {
  color: var(--brand);
  font-size: 10px;
}

.outcome-card {
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.outcome-card p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.outcome-card a {
  margin-top: 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 750;
}

.coverage-section {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.coverage-flow {
  min-height: 112px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) auto minmax(340px, 1.2fr);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--page);
}

.bureau-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.bureau-strip span {
  padding: 12px 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.coverage-flow > i {
  color: var(--brand);
  font-size: 22px;
  font-style: normal;
}

.coverage-flow > strong {
  font-size: 18px;
  line-height: 1.4;
}

.coverage-points {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  list-style: none;
}

.coverage-points li {
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.coverage-points span {
  color: var(--brand);
  font-size: 10px;
}

.coverage-points p {
  margin: 35px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .work-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-showcase,
  .assistant-boundary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-bottom: 52px;
  }

  .hero-proof {
    display: none;
  }

  .hero-trust {
    margin-bottom: 28px;
  }

  .dashboard {
    height: 365px;
  }

  .hero-chat {
    width: auto;
    margin: 0 11px 11px;
    position: relative;
    right: auto;
    bottom: auto;
    font-size: 12px;
  }

  .hero-chat header {
    min-height: 48px;
  }

  .hero-chat header strong {
    font-size: 13px;
  }

  .hero-chat-body {
    padding: 14px;
  }

  .chat-context-note {
    font-size: 9px;
  }

  .work-results-grid,
  .coverage-points {
    grid-template-columns: 1fr;
  }

  .work-result {
    min-height: 0;
  }

  .work-result h3 {
    margin-top: 42px;
  }

  .assistant-heading h2 {
    font-size: 36px;
  }

  .assistant-heading > p {
    font-size: 16px;
  }

  .assistant-showcase {
    margin-top: 36px;
  }

  .assistant-conversation header small {
    display: none;
  }

  .assistant-thread {
    padding: 16px;
  }

  .assistant-question {
    font-size: 15px;
  }

  .assistant-answer {
    font-size: 14px;
  }

  .assistant-boundary {
    padding: 24px 18px;
    gap: 28px;
  }

  .coverage-flow {
    grid-template-columns: 1fr;
  }

  .coverage-flow > i {
    transform: rotate(90deg);
    justify-self: start;
  }

  .bureau-strip {
    grid-template-columns: 1fr;
  }

  .coverage-points li {
    min-height: 0;
  }

  .coverage-points p {
    margin-top: 24px;
  }
}

/* Shared landing foundations retained for the prepared synthetic case. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button:hover {
  transform: none;
}

.hero {
  min-height: 760px;
  padding-bottom: 72px;
}

.hero-grid {
  grid-template-columns: minmax(360px, .84fr) minmax(620px, 1.16fr);
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(45px, 3.75vw, 54px);
}

.hero-copy {
  min-width: 0;
}


.hero-lead {
  max-width: 680px;
}

.hero-proof {
  margin: 38px 0 0;
}

.hero-proof div {
  min-width: 0;
}

.hero-proof dt,
.hero-proof dd {
  margin: 0;
}

.hero-proof dt {
  color: var(--text);
  font-weight: 750;
}

.hero-proof dd {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
}

.case-ready {
  padding: 5px 7px;
  border: 1px solid color-mix(in srgb, var(--positive) 48%, var(--border));
  border-radius: 4px;
  color: var(--positive) !important;
  font-size: 6px !important;
  font-weight: 750;
  white-space: nowrap;
}

.case-flow {
  min-height: 86px;
  justify-content: space-between;
  gap: 16px;
  text-align: center;
}

.case-flow span,
.case-flow strong {
  flex: 1 1 0;
  line-height: 1.4;
}

.case-flow i {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  background: none;
  color: var(--brand);
  font-style: normal;
  font-size: 18px;
}

.section-heading {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
}

.section-heading > p {
  grid-column: auto;
}

.outcome-section {
  background: var(--page);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.outcome-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.outcome-label {
  color: var(--brand);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.01em;
}

.walkthrough-section {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.walkthrough-list {
  border-top: 1px solid var(--border);
}

.case-level {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: clamp(46px, 7vw, 100px);
  align-items: center;
  min-height: 530px;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.case-level-reverse .case-level-copy {
  order: 2;
}

.case-level-copy h3 {
  margin: 13px 0 17px;
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.case-level-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.case-fragment {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--page);
}

.fragment-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 10px;
}

.fragment-head b {
  color: var(--brand);
}

.overview-fragment > strong {
  display: block;
  max-width: 530px;
  margin-top: 24px;
  font-size: 25px;
  line-height: 1.25;
}

.fragment-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
  border: 1px solid var(--border);
}

.fragment-kpis > span {
  min-width: 0;
  padding: 13px;
  border-right: 1px solid var(--border);
}

.fragment-kpis > span:last-child {
  border-right: 0;
}

.fragment-kpis small,
.fragment-kpis b {
  display: block;
}

.fragment-kpis small {
  color: var(--text-muted);
  font-size: 10px;
}

.fragment-kpis b {
  margin-top: 6px;
  font-size: 14px;
}

.fragment-ratings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 8px;
}

.fragment-ratings span {
  padding: 12px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
}

.fragment-ratings b {
  float: right;
  color: var(--text);
  font-size: 15px;
}

.contract-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) minmax(145px, .8fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.contract-row span,
.contract-row b,
.contract-row small {
  display: block;
}

.contract-row small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 10px;
}

.contract-row em {
  padding: 5px 7px;
  border: 1px solid color-mix(in srgb, var(--positive) 42%, var(--border));
  border-radius: 4px;
  color: var(--positive);
  font-size: 10px;
  font-style: normal;
}

.contract-row em.is-closed {
  border-color: var(--border);
  color: var(--text-muted);
}

.contract-note {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 18px;
  color: var(--text-soft);
  font-size: 11px;
}

.contract-note i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--warning);
}

.plan-fragment ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-fragment li {
  position: relative;
  padding: 17px 0 17px 34px;
  border-bottom: 1px solid var(--border);
}

.plan-fragment li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  color: var(--positive);
  content: "✓";
  font-size: 10px;
}

.plan-fragment li span,
.plan-fragment li b,
.plan-fragment li small {
  display: block;
}

.plan-fragment li span {
  color: var(--brand);
  font-size: 9px;
}

.plan-fragment li b {
  margin-top: 5px;
  font-size: 14px;
}

.plan-fragment li small {
  margin-top: 4px;
  color: var(--text-muted);
}

.fragment-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 18px;
  color: var(--text-soft);
  font-size: 11px;
}

.fragment-footer b {
  padding: 5px 7px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--brand);
  font-size: 10px;
}

ol.steps-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step h3 {
  margin-top: 76px;
}

.security-points {
  margin: 0;
  border-top: 1px solid var(--border);
}

.security-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.security-points span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 750;
}

.security-points p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}

.audience-list {
  grid-template-columns: repeat(3, 1fr);
}

.audience-list article {
  min-height: 300px;
}

.cta-actions {
  min-width: 220px;
}

.cta-card {
  border: 1px solid color-mix(in srgb, var(--brand) 75%, var(--border));
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .hero-grid,
  .section-heading,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    grid-column: auto;
  }

  .hero-product {
    max-width: none;
  }

  .case-level {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .case-level-reverse .case-level-copy {
    order: initial;
  }

  .audience-list {
    grid-template-columns: 1fr 1fr;
  }

  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .dashboard {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    overflow: visible;
  }

  .dash-sidebar {
    display: none;
  }

  .dash-content {
    overflow: visible;
  }

  .timeline-card {
    display: none;
  }

  .dash-verdict {
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .dash-verdict p {
    display: none;
  }

  .timeline-row {
    grid-template-columns: 62px 1fr;
  }

  .timeline-years {
    margin-left: 66px;
  }

  .case-flow {
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px 0;
    text-align: left;
  }

  .case-flow i {
    display: block;
    transform: rotate(90deg);
    justify-self: start;
  }

  .outcome-grid,
  .audience-list {
    grid-template-columns: 1fr;
  }

  .outcome-card {
    min-height: 0;
    padding: 24px;
  }

  .case-level {
    min-height: 0;
    padding: 46px 0;
  }

  .case-fragment {
    padding: 16px;
  }

  .fragment-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .fragment-kpis > span:nth-child(2) {
    border-right: 0;
  }

  .fragment-kpis > span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .fragment-ratings {
    grid-template-columns: 1fr;
  }

  .contract-row {
    grid-template-columns: 1fr auto;
    padding: 14px 0;
  }

  .contract-row > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .contract-row em {
    grid-column: 2;
    grid-row: 1;
  }

  .security-points {
    margin-top: 40px;
  }

  .cta-actions {
    min-width: 0;
  }

  .access-form {
    padding: 26px 20px 22px;
  }

  .access-form h2 {
    padding-right: 34px;
    font-size: 28px;
  }
}

/* Commercial and legal contour. */
.commercial-section {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.commercial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.commercial-copy h2 {
  max-width: 780px;
  margin: 14px 0 24px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.04;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}

.commercial-copy p {
  max-width: 780px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}

.commercial-copy .commercial-lead {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
}

.activity-boundary {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--border-strong);
  border-top: 4px solid var(--brand);
  background: var(--page);
}

.activity-boundary > span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 750;
}

.activity-boundary strong {
  display: block;
  margin: 28px 0 14px;
  font-size: 25px;
  line-height: 1.2;
}

.activity-boundary p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.pricing-card {
  align-items: stretch;
}

.pricing-card .pricing-price {
  margin: 14px 0 4px;
}

.pricing-access,
.pricing-renewal {
  display: block;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.pricing-access {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pricing-renewal {
  margin: 5px 0 16px;
  color: var(--positive);
  font-weight: 700;
}

.analysis-includes {
  margin-top: 24px;
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 80px);
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

.analysis-includes h3 {
  margin: 13px 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.analysis-includes p,
.analysis-includes li {
  color: var(--text-soft);
}

.analysis-includes ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  list-style: none;
}

.analysis-includes li {
  min-height: 70px;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.payment-information-grid a,
.legal a:not(.button):not(.brand) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.access-process-section {
  border-bottom: 1px solid var(--border);
  background: var(--page);
}

.access-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  list-style: none;
}

.access-steps li {
  min-height: 205px;
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.access-steps li > span {
  color: var(--brand);
  font-size: 11px;
}

.access-steps strong {
  display: block;
  margin-top: 48px;
  font-size: 19px;
}

.access-steps p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.payment-information-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.payment-information-grid article {
  padding: 24px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  background: var(--surface);
}

.payment-information-grid h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.payment-information-grid p {
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.payment-provider-summary > a,
.payment-provider-summary img {
  display: block;
}

.payment-provider-summary > a {
  width: max-content;
  margin-bottom: 14px;
}

.legal-shell {
  width: min(920px, calc(100vw - 40px));
  margin-inline: auto;
}

.legal {
  padding-block: 64px 100px;
}

.legal h1 {
  max-width: 820px;
  margin: 16px 0 26px;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.legal h2 {
  margin: 44px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 25px;
  line-height: 1.2;
}

.legal p,
.legal li {
  color: var(--text-soft);
  line-height: 1.72;
}

.legal li + li {
  margin-top: 7px;
}

.legal-lead {
  max-width: 800px;
  color: var(--text) !important;
  font-size: 19px;
}

.legal-note,
.legal-notice {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

.legal-notice strong {
  display: block;
  margin-bottom: 8px;
}

.legal-notice p {
  margin: 0;
}

.legal-notice-warning {
  border-left: 4px solid var(--warning);
}

.legal-notice-danger {
  border-left: 4px solid var(--danger);
}

.payment-provider-info {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.payment-provider-info a,
.payment-provider-info img {
  display: block;
}

.payment-provider-info p {
  margin: 0;
}

@media (max-width: 640px) {
  .payment-provider-info {
    grid-template-columns: 1fr;
  }
}

.legal-meta {
  padding: 22px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.legal-meta span {
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.legal-document code {
  padding: 2px 5px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font: 500 .92em/1.4 var(--fr-font-mono);
}

.legal-document blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
}

.legal-document blockquote p { margin: 0; color: var(--text); }

.legal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
}

.legal-document table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--surface);
}

.legal-document th,
.legal-document td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  color: var(--text-soft);
  line-height: 1.5;
}

.legal-document th { color: var(--text); background: var(--surface-2); }

.publication-placeholder {
  color: var(--danger) !important;
  font-weight: 750;
}

@media (max-width: 1120px) {
  .commercial-grid,
  .analysis-includes {
    grid-template-columns: minmax(0, 1fr);
  }

  .access-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .commercial-copy h2 {
    font-size: 36px;
  }

  .analysis-includes ul,
  .access-steps,
  .payment-information-grid {
    grid-template-columns: 1fr;
  }

  .analysis-includes li {
    min-height: 0;
  }

  .access-steps li {
    min-height: 0;
  }

  .access-steps strong {
    margin-top: 30px;
  }

  .legal-shell {
    width: min(100% - 28px, 920px);
  }

  .legal {
    padding-block: 46px 76px;
  }

  .legal h1 {
    font-size: 38px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }
}
