:root {
  --bg: #f7efe3;
  --surface: #f1e5d3;
  --text: #171711;
  --muted: #4a4a42;
  --line: #bdb29f;
  --accent: #c2703e;
  --accent-hover: #b06132;
  --max-width: 1536px;
  --typography-font-family: "Inter", "Segoe UI", Arial, sans-serif;
  --typography-display-font-weight: 400;
  --typography-heading-font-weight: 580;
  --typography-body-font-weight: 400;
  --typography-display-letter-spacing: -0.028em;
  --typography-heading-letter-spacing: -0.018em;
  --typography-body-letter-spacing: -0.005em;
  --typography-display-line-height: 1.08;
  --typography-heading-line-height: 1.12;
  --typography-body-line-height: 1.55;
  --typography-display-sm-font-size: clamp(2rem, 3.7vw, 3.35rem);
  --typography-display-sm-font-weight: 600;
  --typography-display-sm-line-height: 1.02;
  --typography-h1-line-height: 1.14;
  --typography-display-sm-letter-spacing: -0.028em;
  --typography-heading-sm-font-size: clamp(1.2rem, 1.25vw, 1.45rem);
  --typography-heading-sm-font-weight: 600;
  --typography-heading-sm-line-height: 1.2;
  --typography-heading-sm-letter-spacing: -0.015em;
  --typography-body-md-font-size: clamp(1rem, 0.96vw, 1.12rem);
  --typography-body-md-font-weight: 400;
  --typography-body-md-line-height: 1.58;
  --typography-body-md-letter-spacing: -0.003em;
  --typography-body-sm-font-size: 0.96rem;
  --typography-body-sm-font-weight: 400;
  --typography-body-sm-line-height: 1.55;
  --typography-body-sm-letter-spacing: -0.003em;
  --typography-body-sm-em-font-size: 0.76rem;
  --typography-body-sm-em-font-weight: 600;
  --typography-body-sm-em-line-height: 1.1;
  --typography-body-sm-em-letter-spacing: -0.01em;
  --typography-label-md-font-size: 0.74rem;
  --typography-label-md-font-weight: 500;
  --typography-label-md-line-height: 1.2;
  --typography-label-md-letter-spacing: 0.09em;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--typography-font-family);
  background: var(--bg);
  color: var(--text);
  line-height: var(--typography-body-line-height);
  font-weight: var(--typography-body-font-weight);
  letter-spacing: var(--typography-body-letter-spacing);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  padding-inline: 1.5rem;
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.14rem;
  color: var(--text);
  text-decoration: none;
}

.nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.nav-toggle-icon span {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    top 0.2s ease;
}

.nav-toggle-icon span:nth-child(1) {
  top: 0;
}

.nav-toggle-icon span:nth-child(2) {
  top: 7px;
}

.nav-toggle-icon span:nth-child(3) {
  top: 14px;
}

.topbar.nav-open .nav-toggle-icon span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.topbar.nav-open .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.topbar.nav-open .nav-toggle-icon span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.lang-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  padding: 0.42rem 0.65rem;
  font-size: 0.72rem;
  cursor: pointer;
}

.lang-select {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  font-size: 0.72rem;
  cursor: pointer;
}

.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;
}

.section {
  padding: 3.8rem 0;
  border-bottom: 1px solid rgba(125, 113, 96, 0.25);
}

.section-separated::before {
  content: "";
  display: block;
  width: 84px;
  height: 2px;
  margin: 0 auto 1.4rem;
  background: linear-gradient(90deg, rgba(125, 113, 96, 0), rgba(125, 113, 96, 0.65), rgba(125, 113, 96, 0));
}

.eyebrow {
  font-size: var(--typography-label-md-font-size);
  text-transform: uppercase;
  letter-spacing: var(--typography-label-md-letter-spacing);
  font-weight: var(--typography-label-md-font-weight);
  color: var(--muted);
  margin: 0 0 0.9rem;
  line-height: var(--typography-label-md-line-height);
}

h1,
h2,
h3 {
  line-height: var(--typography-heading-line-height);
  letter-spacing: var(--typography-heading-letter-spacing);
  margin: 0;
  font-weight: var(--typography-heading-font-weight);
}

h1 {
  font-size: calc(var(--typography-display-sm-font-size) - 5px);
  line-height: var(--typography-h1-line-height);
  letter-spacing: var(--typography-display-sm-letter-spacing);
  font-weight: var(--typography-display-sm-font-weight);
  max-width: 12.3ch;
}

.section-title-center {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: none;
}

.section-subtitle-center {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 58ch;
}

.services-hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.products-subtitle {
  margin-top: 0.8rem;
  margin-bottom: 1.8rem;
}

.bottom-intro {
  max-width: 72rem;
  margin: 0 auto;
}

h2 {
  font-size: var(--typography-display-sm-font-size);
  line-height: var(--typography-display-sm-line-height);
  letter-spacing: var(--typography-display-sm-letter-spacing);
  font-weight: var(--typography-display-sm-font-weight);
}

h3 {
  font-size: var(--typography-heading-sm-font-size);
  font-weight: var(--typography-heading-sm-font-weight);
  line-height: var(--typography-heading-sm-line-height);
  letter-spacing: var(--typography-heading-sm-letter-spacing);
}

p {
  margin: 0;
  letter-spacing: var(--typography-body-letter-spacing);
  line-height: var(--typography-body-line-height);
}

.lead {
  margin-top: 1rem;
  max-width: 44ch;
  color: #292920;
  font-size: var(--typography-body-md-font-size);
  line-height: var(--typography-body-md-line-height);
  letter-spacing: var(--typography-body-md-letter-spacing);
  font-weight: var(--typography-body-md-font-weight);
}

.contact-intro {
  font-size: clamp(1.16rem, 1.5vw, 1.34rem);
  line-height: 1.5;
  max-width: 52ch;
}

.contact-intro-followup {
  margin-top: 0.65rem;
  font-size: clamp(1.16rem, 1.5vw, 1.34rem);
  line-height: 1.5;
  letter-spacing: var(--typography-body-md-letter-spacing);
  font-weight: var(--typography-body-md-font-weight);
  color: #292920;
}

.button-row {
  margin-top: 1.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.72rem 1.26rem;
  font-weight: var(--typography-body-sm-em-font-weight);
  font-size: var(--typography-body-sm-em-font-size);
  line-height: var(--typography-body-sm-em-line-height);
  letter-spacing: var(--typography-body-sm-em-letter-spacing);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #150c05;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.9rem;
  align-items: center;
}

.hero-art {
  border: 0;
  aspect-ratio: 1 / 1;
  width: min(100%, 535px);
  display: grid;
  place-items: center;
  font-size: clamp(16rem, 42vw, 38rem);
  font-weight: 300;
  color: #000;
  text-align: center;
  position: relative;
  margin-left: auto;
}

.hero-art::before {
  content: none;
  position: absolute;
  left: -36px;
  right: -36px;
  top: 50%;
  height: 5px;
  transform: translateY(-50%);
  background: transparent;
  z-index: -1;
}

.hero-grid h1 {
  font-size: clamp(2.5rem, 6.2vw, 5.4rem);
  line-height: 1.04;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 16ch;
}

.hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero-grid > div:first-child {
  text-align: center;
}

.hero-grid .lead {
  margin-top: 0.8rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 56ch;
}

.hero-grid .button-row {
  margin-top: 1.15rem;
  justify-content: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
}

.product-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.7rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin-bottom: 1.8rem;
}

.product-head .btn {
  white-space: nowrap;
  padding: 0.95rem 1.55rem;
  font-size: 0.92rem;
  margin-bottom: 2.8rem;
}

.product-head h1 {
  max-width: none;
}

.card-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 112px;
}

.card p {
  font-size: var(--typography-body-sm-font-size);
  line-height: var(--typography-body-sm-line-height);
  letter-spacing: var(--typography-body-sm-letter-spacing);
  font-weight: var(--typography-body-sm-font-weight);
}

.card-media {
  margin: -0.82rem -0.82rem 0.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.usecase-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.usecase-header {
  max-width: 62rem;
  padding-top: 0.35rem;
}

.usecase-header--right {
  text-align: right;
  margin-left: auto;
  position: relative;
  padding: 0.6rem 0 1rem;
  border-right: 2px solid #000;
  padding-right: 2rem;
  padding-bottom: 1.4rem;
}

.usecase-header--right::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 2px;
  background: #000;
}

.usecase-header--right h1 {
  margin-left: auto;
  max-width: none;
  display: inline-block;
}

.usecase-header h1,
.usecase-header h2 {
  margin-bottom: 0.95rem;
}

.usecase-intro {
  max-width: 52ch;
  color: #2f2f2a;
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.usecase-header--right .usecase-intro {
  margin-left: auto;
  text-align: right;
}

.autodata-head {
  margin-bottom: 2.2rem;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.9rem 3.2rem;
  padding-bottom: 0.4rem;
}

.usecase-item {
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
}

.usecase-item .mini-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 0.1rem;
  color: rgba(0, 0, 0, 0.62);
}

.usecase-item h3 {
  font-size: var(--typography-heading-sm-font-size);
  line-height: var(--typography-heading-sm-line-height);
  letter-spacing: var(--typography-heading-sm-letter-spacing);
  font-weight: var(--typography-heading-sm-font-weight);
}

.usecase-item p {
  color: #2f2f2a;
  font-size: var(--typography-body-sm-font-size);
  line-height: 1.6;
  max-width: 52ch;
}

.muted {
  color: var(--muted);
}

main a:not(.btn) {
  color: var(--text);
  text-decoration-color: rgba(23, 23, 17, 0.45);
}

main a:not(.btn):hover {
  color: var(--text);
  text-decoration-color: rgba(23, 23, 17, 0.75);
}

.list {
  margin: 0;
  padding-left: 1rem;
}

.list li + li {
  margin-top: 0.5rem;
}

.cta {
  text-align: center;
}

.cta .lead {
  margin: 1rem auto 0;
}

.dark-band {
  background: linear-gradient(125deg, #2a2018, #1f1b18 45%, #241d1a);
  color: #f4eee6;
}

.dark-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.dark-band-title {
  color: #fff7ed;
}

.dark-band-text {
  color: rgba(255, 244, 230, 0.86);
  max-width: 48ch;
  margin-top: 0.8rem;
}

.dark-band-image {
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 30% 20%, rgba(255, 153, 72, 0.25), transparent 45%);
  margin: 0;
  overflow: hidden;
}

.dark-band-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.value-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.value-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.95rem;
}

.icon-wrap {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.icon-wrap svg {
  width: 18px;
  height: 18px;
  color: rgba(0, 0, 0, 0.74);
}

.value-card h3 {
  margin-bottom: 0.45rem;
}

.value-card p {
  font-size: var(--typography-body-sm-font-size);
  color: #2f2f2a;
}

.autodata-quote-title {
  max-width: 44ch;
  margin: 6rem auto 5.6rem;
  text-align: center;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  line-height: 1.24;
}

.image-grid-6 {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.image-cell {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.015));
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
  overflow: hidden;
}

.image-cell svg {
  width: 74%;
  height: 74%;
  stroke-width: 1.6;
}

.image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.trust-points article {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.02);
  padding: 0.85rem;
}

.mini-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 0.35rem;
  color: rgba(0, 0, 0, 0.7);
}

.mini-icon svg {
  width: 100%;
  height: 100%;
}

.dark-band .mini-icon,
.dark-band .icon-wrap svg {
  color: rgba(255, 242, 228, 0.92);
}

.trust-points .mini-icon,
.value-card .icon-wrap svg {
  color: #9a5b34;
}

.trust-points h3 {
  margin-bottom: 0.35rem;
}

.footer {
  padding: 1.7rem 0;
}

.footer-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 0;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
}

.footer-brand {
  text-align: center;
  margin-top: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.8rem;
}

.footer-meta {
  text-align: center;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.contact-form label {
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  color: var(--text);
  padding: 0.66rem 0.75rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.media-grid-1,
.media-grid-2,
.media-grid-3 {
  display: grid;
  gap: 0.8rem;
  margin: 0.7rem 0 1.2rem;
}

.media-grid-1 {
  grid-template-columns: 1fr;
}

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

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

.media-frame {
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.bars-visual-frame {
  background: #efefef;
}

.bars-visual {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 100%;
  min-height: 200px;
  padding: 1rem;
}

.bars-visual span {
  display: block;
  height: 100%;
  background: linear-gradient(180deg, #cfcfcf, #9f9f9f);
  border-radius: 2px;
}

.bars-visual span:nth-child(1) { width: 6px; }
.bars-visual span:nth-child(2) { width: 8px; }
.bars-visual span:nth-child(3) { width: 10px; }
.bars-visual span:nth-child(4) { width: 13px; }
.bars-visual span:nth-child(5) { width: 16px; }
.bars-visual span:nth-child(6) { width: 20px; }
.bars-visual span:nth-child(7) { width: 24px; }
.bars-visual span:nth-child(8) { width: 28px; }

.hero-bars-visual {
  width: 100%;
  min-height: 360px;
  justify-content: stretch;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-bars-visual span {
  width: auto;
  min-width: 18px;
}

.hero-bars-visual span:nth-child(1) { flex: 1; }
.hero-bars-visual span:nth-child(2) { flex: 1.2; }
.hero-bars-visual span:nth-child(3) { flex: 1.45; }
.hero-bars-visual span:nth-child(4) { flex: 1.75; }
.hero-bars-visual span:nth-child(5) { flex: 2.1; }
.hero-bars-visual span:nth-child(6) { flex: 2.5; }
.hero-bars-visual span:nth-child(7) { flex: 3; }
.hero-bars-visual span:nth-child(8) { flex: 3.6; }
.hero-bars-visual span:nth-child(9) { flex: 4.3; }
.hero-bars-visual span:nth-child(10) { flex: 5.2; }

.products-media-grid,
.products-card-grid {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.products-media-grid .media-frame img {
  min-height: 0;
  height: 100%;
}

.products-media-grid .media-frame {
  aspect-ratio: 16 / 9;
}

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

.products-card-grid .card {
  min-height: 96px;
  padding: 0.72rem;
}

.autodata-detail-split {
  margin-top: 2.2rem;
  gap: 1.2rem;
}

.autodata-detail-split > div {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.95rem;
}

.autodata-detail-split h3 {
  margin-bottom: 0.45rem;
}

.autodata-tech-note {
  margin-top: 1rem;
  text-align: center;
  max-width: 74ch;
  margin-left: auto;
  margin-right: auto;
}

.autodata-cta-row {
  margin-top: 1.25rem;
  justify-content: center;
}

.autodata-matrix-section {
  margin-top: 1.2rem;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.9rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-size: 0.93rem;
}

.compare-table th,
.compare-table td {
  padding: 0.62rem 0.72rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.compare-table thead th {
  background: rgba(0, 0, 0, 0.04);
  font-weight: 700;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.015);
}

.compare-table th:nth-child(2),
.compare-table th:nth-child(3),
.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
  width: 140px;
  text-align: center;
  font-weight: 700;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.robot-mirror {
  transform: scaleX(-1);
  transform-origin: center;
}

.legal-content--compact h1 {
  font-size: calc(var(--typography-display-sm-font-size) - 12px);
}

.legal-content--compact h3 {
  font-size: 1.02rem;
}

.legal-content--compact p,
.legal-content--compact li {
  font-size: 0.92rem;
  line-height: 1.48;
}

.legal-content {
  max-width: 78ch;
  margin: 0 auto;
}

.legal-content .eyebrow {
  margin-bottom: 0.65rem;
}

.legal-content h1 {
  max-width: none;
  margin-bottom: 1.1rem;
}

.legal-content h3 {
  margin-top: 1.45rem;
  margin-bottom: 0.45rem;
}

.legal-content p + p {
  margin-top: 0.78rem;
}

.legal-content .lead {
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

@media (max-width: 1000px) {
  .hero-grid,
  .split,
  .product-head,
  .dark-band-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

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

  .value-grid,
  .image-grid-6,
  .trust-points,
  .media-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .media-grid-2 {
    grid-template-columns: 1fr;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 58px;
  }

  .hero-grid h1 {
    font-size: clamp(2.2rem, 9.5vw, 3rem);
    line-height: 1.08;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .image-grid-6,
  .trust-points,
  .media-grid-2,
  .media-grid-3 {
    grid-template-columns: 1fr;
  }

  .compare-table {
    font-size: 0.88rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.5rem 0.48rem;
  }

  .compare-table th:nth-child(2),
  .compare-table th:nth-child(3),
  .compare-table td:nth-child(2),
  .compare-table td:nth-child(3) {
    width: 72px;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.35rem 0 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(23, 23, 17, 0.08);
    z-index: 30;
    max-height: min(72vh, 520px);
    overflow-y: auto;
  }

  .nav a,
  .nav .lang-select {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(189, 178, 159, 0.45);
    font-size: 1rem;
  }

  .nav .lang-select {
    margin-top: 0.35rem;
    align-self: flex-start;
    max-width: 100%;
  }

  .topbar.nav-open .nav {
    display: flex;
  }

  body.nav-menu-open {
    overflow: hidden;
  }
}
