:root {
  --bg: #08111d;
  --panel: rgba(10, 26, 43, 0.82);
  --panel-strong: rgba(7, 18, 30, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(129, 215, 255, 0.18);
  --line-strong: rgba(129, 215, 255, 0.32);
  --text: #eef7ff;
  --muted: #abc6d8;
  --accent: #5ce1ff;
  --accent-strong: #00b8e8;
  --warm: #ffcb59;
  --warm-soft: rgba(255, 203, 89, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 0%, rgba(0, 184, 232, 0.16), transparent 26%),
    radial-gradient(circle at 100% 10%, rgba(255, 203, 89, 0.15), transparent 18%),
    linear-gradient(180deg, #07101a 0%, #081726 34%, #0b1d2f 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 96%);
}

body::after {
  background:
    linear-gradient(180deg, rgba(7, 16, 26, 0.3), rgba(7, 16, 26, 0.52)),
    url('./assets/images/auto-ca-background.png') center top / cover no-repeat;
  opacity: 0.5;
  mix-blend-mode: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
}

main,
footer,
header {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(calc(100% - 32px), var(--max));
  margin: 18px auto 0;
  padding: 8px 12px;
  position: sticky;
  top: 14px;
  z-index: 10;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(7, 17, 29, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  flex: 0 0 auto;
}

.topbar-brand-logo-wrap {
  width: clamp(78px, 8vw, 118px);
  height: 54px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.topbar-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  object-position: left center;
}

.eyebrow,
.hero-kicker,
.card-label,
.dealer-badge,
.play-pill,
.button,
h1,
h2,
h3,
figcaption {
  font-family: "Space Grotesk", sans-serif;
}

.nav a,
.lead,
.section-head p,
.feature-card p,
.detail-card p,
.extra-card p,
.module-overview-card li,
.support-card p,
.dealer-top p,
.compat-card span,
.footer p,
.ribbon-card span,
.metric-card p,
.tutorial-overlay span,
.dealer-meta li,
.form-note,
.form-status,
.field span,
.checkbox-field span,
.tutorial-copy p,
.partner-card p,
.brand-card p,
figcaption {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 0;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  font-size: 0.88rem;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 68px 0;
}

section[id] {
  scroll-margin-top: 140px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #041018;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.button-small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.8rem;
  box-shadow: none;
  white-space: nowrap;
}

.topbar-auth-status {
  min-height: 48px;
  max-width: min(245px, 28vw);
  padding: 6px 18px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  overflow: hidden;
  line-height: 1.08;
  white-space: normal;
}

.topbar-auth-label,
.topbar-auth-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-auth-label {
  font-size: 0.72rem;
  color: var(--muted);
}

.topbar-auth-name {
  font-size: 0.86rem;
  color: var(--text);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.topbar-auth {
  color: var(--text);
}

.language-dock {
  width: auto;
  position: static;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: -4px;
  margin-right: 6px;
  pointer-events: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 17, 29, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: none;
  pointer-events: auto;
}

.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.language-option.is-active {
  color: #041018;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.button-secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.button-link {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding-inline: 8px;
}

.hero,
.content-split,
.section-media-grid,
.partner-grid,
.brand-grid,
.contact-grid,
.hero-metrics,
.value-grid,
.detail-grid,
.extra-grid,
.tutorial-grid,
.dealer-grid,
.compat-grid,
.module-overview-grid,
.form-grid {
  display: grid;
  gap: 16px;
}

.hero {
  align-items: center;
  padding-top: 30px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-kicker,
.card-label,
.dealer-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--accent);
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1;
}

h1 span,
.form-status.is-success {
  color: var(--accent);
}

h2 {
  margin: 0 0 16px;
  max-width: 24ch;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
  line-height: 1.06;
}

.lead,
.section-head p,
.feature-card p,
.detail-card p,
.extra-card p,
.support-card p,
.dealer-top p,
.dealer-meta li,
.compat-card span,
.metric-card p,
.ribbon-card span,
.tutorial-copy p,
.partner-card p,
.brand-card p {
  line-height: 1.7;
}

.lead {
  max-width: 58ch;
  font-size: 0.98rem;
}

.hero-actions,
.card-actions,
.dealer-links,
.form-actions,
.partner-logo-bar,
.brand-logo-row,
.hero-brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 22px 0;
}

.download-card-actions {
  align-items: center;
  flex-wrap: nowrap;
}

.download-card-actions .button-secondary {
  margin-left: 2px;
  padding-inline: 20px;
}

.download-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 12px;
}

.download-card-grid.is-single-download {
  grid-template-columns: minmax(0, min(100%, 720px));
  justify-content: start;
}

.download-card {
  min-height: 285px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(117, 190, 224, 0.32);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(9, 24, 37, 0.9), rgba(15, 55, 78, 0.72));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
}

.download-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.download-card p {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.download-card .download-card-note {
  margin-top: -6px;
  color: rgba(231, 245, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 800;
}

.download-card-kicker {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.download-card-logo {
  width: min(230px, 70%);
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 18px;
}

.download-card-zwcad {
  background:
    radial-gradient(circle at 86% 12%, rgba(35, 193, 238, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(8, 26, 42, 0.92), rgba(15, 62, 91, 0.72));
}

.zwcad-section {
  padding-bottom: 30px;
}

.zwcad-video-section {
  padding-top: 0;
  padding-bottom: 22px;
}

.zwcad-video-section .tutorial-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
}

.zwcad-video-section .tutorial-card {
  width: 100%;
  max-width: none;
  padding: clamp(18px, 2.4vw, 28px);
}

.zwcad-video-section .tutorial-media {
  min-height: clamp(260px, 32vw, 410px);
}

.zwcad-video-section .tutorial-copy {
  display: grid;
  align-content: center;
}

.zwcad-video-placeholder {
  cursor: default;
}

.zwcad-video-library-grid {
  align-items: stretch;
}

.zwcad-video-card .video-library-thumb {
  min-height: 94px;
}

.zwcad-video-card .video-library-copy {
  display: grid;
  gap: 14px;
}

.zwcad-video-card .video-library-copy h3 {
  min-height: 2.7em;
}

.download-login-note {
  max-width: 620px;
  margin: -10px 0 20px;
  color: rgba(231, 245, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chip-list li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
}

.hero-media-card,
.feature-card,
.detail-card,
.extra-card,
.module-overview-card,
.support-card,
.form-card,
.dealer-card,
.compat-card,
.ribbon-card,
.metric-card,
.tutorial-card,
.list-panel,
.brand-card,
.partner-card,
.image-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
}

.hero-media-card {
  padding: 14px;
}

.logo-pill {
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 120px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.logo-pill-wide {
  flex-basis: 220px;
}

.logo-pill img {
  max-height: 44px;
  width: auto;
}

.hero-cover-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-cover-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-image-frame,
.brand-image-wrap,
.image-card {
  overflow: hidden;
}

.hero-image-frame {
  margin-top: 10px;
  border-radius: 20px;
  border: 1px solid var(--line);
  max-height: 350px;
}

.hero-image-frame img,
.brand-image-wrap img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-metrics-compact {
  margin-top: 10px;
}

.hero-pdf-showcase {
  margin-top: 10px;
  display: grid;
  gap: 14px;
}

.hero-pdf-video-frame,
.pdf-thumb-card,
.example-pdf-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hero-pdf-video-frame {
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(7, 18, 30, 0.92);
  box-shadow: var(--shadow);
}

.hero-pdf-video {
  display: block;
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  background: #08111d;
}

.pdf-thumb-card,
.example-pdf-card {
  border-radius: 18px;
  background: #ffffff;
}

.pdf-thumb-card img,
.example-pdf-card img {
  width: 100%;
  height: 100%;
  display: block;
  background: #ffffff;
  object-fit: cover;
}

.hero-pdf-copy {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(6, 17, 29, 0.74);
}

.hero-pdf-copy strong {
  display: block;
}

.hero-pdf-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.zwcad-section .section-head h2,
.zwcad-section .section-head p {
  max-width: 58ch;
}

.zwcad-grid {
  display: grid;
  gap: 18px;
}

.zwcad-banner,
.naming-note {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
}

.zwcad-banner {
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.zwcad-banner-link {
  display: block;
  border-radius: 18px;
  transition: transform 180ms ease, filter 180ms ease;
}

.zwcad-banner-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.zwcad-banner img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(129, 215, 255, 0.14);
  display: block;
}

.zwcad-highlight {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #f4f8fb;
}

.zwcad-copy {
  display: grid;
  gap: 16px;
}

.zwcad-copy-visual {
  align-items: center;
}

.zwcad-copy-content {
  display: grid;
  gap: 16px;
}

.zwcad-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.zwcad-actions .button {
  min-height: 48px;
}

.zwcad-info-button {
  padding-inline: 18px;
}

.zwcad-side-visual {
  min-height: 220px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(129, 215, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.zwcad-side-visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.diametrix-section {
  padding-top: 18px;
}

.diametrix-card {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(92, 225, 255, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 184, 232, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(7, 17, 29, 0.96), rgba(10, 37, 52, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.diametrix-copy {
  display: grid;
  gap: 16px;
}

.diametrix-copy h2 {
  max-width: 760px;
}

.diametrix-copy p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.diametrix-copy ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.diametrix-visual {
  border-radius: 28px;
  border: 1px solid rgba(129, 215, 255, 0.18);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(235, 249, 255, 0.1), rgba(6, 17, 29, 0.44));
  padding: 10px;
}

.diametrix-image-card {
  margin: 0;
  border-radius: 22px;
  border: 1px solid rgba(129, 215, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.diametrix-image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
}

.extra-section-head {
  margin-top: 28px;
}

.extra-grid-pro {
  margin-top: 4px;
}

.price-section {
  padding-top: 8px;
}

.pricing-panel {
  position: relative;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(120, 92, 8, 0.22);
  background: linear-gradient(180deg, rgba(255, 215, 77, 0.95), rgba(239, 191, 33, 0.94));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  color: #3d2b00;
  overflow: hidden;
}

.pricing-panel-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.pricing-panel-head strong {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.pricing-private-summary p,
.pricing-notes p {
  margin: 0;
  color: rgba(61, 43, 0, 0.86);
}

.pricing-private-summary {
  display: grid;
  gap: 3px;
}

.pricing-private-summary {
  transition: filter 180ms ease, opacity 180ms ease;
}

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(61, 43, 0, 0.18);
  background: rgba(255, 250, 219, 0.72);
}

.pricing-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(61, 43, 0, 0.14);
  text-align: center;
  color: #3d2b00;
  white-space: nowrap;
}

.pricing-table thead th {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 247, 204, 0.72);
}

.pricing-table thead th span,
.pricing-table thead th small {
  display: block;
}

.pricing-table thead th small {
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  color: rgba(61, 43, 0, 0.72);
  white-space: normal;
}

.pricing-table tbody th {
  text-align: left;
  white-space: nowrap;
  background: rgba(255, 247, 204, 0.45);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-notes {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-notes .button-secondary {
  border-color: rgba(61, 43, 0, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: #3d2b00;
  margin-left: auto;
}

.pricing-locked-content {
  transition: filter 180ms ease, opacity 180ms ease;
}

.pricing-panel-locked .pricing-locked-content {
  filter: blur(6px);
  opacity: 0.62;
  pointer-events: none;
  user-select: none;
}

.pricing-panel-locked .pricing-private-summary {
  filter: blur(8px);
  opacity: 0.34;
  pointer-events: none;
  user-select: none;
}

.pricing-lock-overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 2;
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: linear-gradient(135deg, rgba(7, 26, 40, 0.94), rgba(10, 48, 70, 0.9));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  color: var(--text);
  text-align: left;
}

.pricing-lock-overlay .eyebrow,
.pricing-lock-overlay h3,
.pricing-lock-overlay p {
  margin: 0;
}

.pricing-lock-copy {
  display: grid;
  gap: 2px;
}

.pricing-lock-overlay p:not(.eyebrow) {
  color: var(--muted);
}

.pricing-lock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pricing-panel-unlocked .pricing-lock-overlay {
  display: none;
}

.zwcad-logo-badge {
  width: min(240px, 100%);
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(129, 215, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.zwcad-logo-badge img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.naming-note {
  display: grid;
  gap: 10px;
}

.naming-note h3,
.naming-note p {
  margin: 0;
}

.example-pdf-grid {
  display: grid;
  gap: 18px;
}

.example-pdf-mobile-shell {
  display: none;
}

.example-pdf-mobile-document {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.example-pdf-stack {
  display: grid;
  gap: 18px;
}

.example-pdf-browser {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.example-pdf-sidebar {
  display: grid;
  gap: 0;
  max-height: 960px;
  overflow-y: auto;
  background: #f4f8fb;
  border-right: 1px solid rgba(16, 34, 53, 0.1);
}

.example-pdf-select {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(16, 34, 53, 0.08);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.example-pdf-select img {
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(16, 34, 53, 0.08);
}

.example-pdf-select span {
  color: #102235;
  font-size: 0.84rem;
  line-height: 1.4;
}

.example-pdf-select.is-active {
  background: #eaf7fd;
}

.example-pdf-stage {
  min-width: 0;
  background: #ffffff;
}

.example-pdf-viewer-card {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.example-pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 34, 53, 0.1);
}

.example-pdf-toolbar h3 {
  margin: 0;
  font-size: 0.96rem;
  color: #102235;
}

.example-pdf-toolbar a {
  color: #0b84a6;
  font-size: 0.86rem;
  white-space: nowrap;
}

.example-pdf-mobile-preview {
  display: none;
  padding: 14px;
  border-bottom: 1px solid rgba(16, 34, 53, 0.1);
  background: linear-gradient(180deg, #f8fbfe 0%, #eef5fa 100%);
}

.example-pdf-mobile-card {
  border: 1px solid rgba(16, 34, 53, 0.08);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.example-pdf-mobile-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 0.8;
  object-fit: contain;
  background: #ffffff;
}

.example-pdf-mobile-note {
  margin: 12px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #466173;
}

.example-pdf-mobile-note-standalone {
  margin: 0;
  padding: 14px 16px 0;
}

.example-pdf-mobile-document-frame {
  display: block;
  width: 100%;
  height: 82svh;
  min-height: 620px;
  border: 0;
  background: #ffffff;
}

.example-pdf-viewer {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  background: #ffffff;
}

.example-pdf-card {
  box-shadow: var(--shadow);
}

.example-pdf-card img {
  aspect-ratio: 0.78;
  object-fit: contain;
  padding: 8px;
}

.example-pdf-copy {
  padding: 10px 12px 12px;
  display: grid;
  gap: 6px;
  background: #ffffff;
}

.example-pdf-copy h3 {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #102235;
}

.example-pdf-copy p {
  margin: 0;
  color: #0b84a6;
  font-size: 0.78rem;
}

.metric-card,
.feature-card,
.detail-card,
.extra-card,
.module-overview-card,
.support-card,
.form-card,
.dealer-card,
.compat-card,
.tutorial-card,
.partner-card,
.brand-card {
  padding: 20px;
}

.metric-card {
  background: rgba(6, 17, 29, 0.74);
}

.hero-metrics .metric-card {
  padding: 16px 18px;
}

.hero-metrics .metric-card p {
  line-height: 1.55;
  font-size: 0.92rem;
}

.metric-card strong,
.ribbon-card strong,
.compat-card strong {
  display: block;
  margin-bottom: 6px;
}

.ribbon {
  display: grid;
  gap: 16px;
  padding-top: 0;
}

.ribbon-card {
  padding: 18px;
}

.section-head {
  max-width: 1120px;
  margin-bottom: 22px;
}

.section-head-wide {
  max-width: 1200px;
}

.section-head-compact h2 {
  max-width: none;
  font-size: clamp(1.3rem, 2.7vw, 2rem);
}

.content-split,
.section-media-grid,
.partner-grid,
.brand-grid,
.contact-grid {
  align-items: start;
}

.media-stack {
  display: grid;
  gap: 16px;
}

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

.media-stack-examples .image-card:last-child {
  grid-column: 1 / -1;
}

.image-card {
  background: var(--panel-strong);
}

.image-card img {
  min-height: 190px;
}

figcaption {
  padding: 16px 18px 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.module-overview-card ul,
.list-panel ul {
  margin: 0;
  padding-left: 18px;
}

.module-overview-card li,
.list-panel li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.list-panel {
  padding: 24px;
}

.brand-card,
.partner-card,
.support-card,
.form-card,
.extra-card {
  background: linear-gradient(180deg, rgba(92, 225, 255, 0.08), transparent 32%), var(--panel-strong);
}

.brand-logo-wrap,
.brand-image-wrap {
  min-height: 180px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.brand-logo-wrap img {
  max-width: 88%;
  max-height: 110px;
}

.brand-logo-row {
  align-items: center;
  justify-content: space-between;
  min-height: 180px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 18px;
}

.brand-logo-large {
  width: min(220px, 48%);
}

.detail-grid-wide {
  grid-template-columns: 1fr;
}

.tutorial-card {
  display: grid;
  gap: 20px;
}

.tutorial-media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.tutorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutorial-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.tutorial-media-official {
  background:
    radial-gradient(circle at 20% 10%, rgba(92, 225, 255, 0.22), transparent 26%),
    linear-gradient(180deg, #0c2134 0%, #081624 100%);
}

.tutorial-media-featured {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 203, 89, 0.25), transparent 26%),
    linear-gradient(180deg, #1e1c2d 0%, #0b1727 100%);
}

.tutorial-media-custom {
  background:
    radial-gradient(circle at 50% 0%, rgba(106, 255, 198, 0.2), transparent 26%),
    linear-gradient(180deg, #0d2130 0%, #0a1825 100%);
}

.tutorial-media-thumb {
  display: block;
  background: #0b1826;
}

.tutorial-media-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 13, 22, 0.04) 0%, rgba(4, 13, 22, 0.72) 100%);
}

.tutorial-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(4, 13, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  z-index: 2;
}

.tutorial-overlay strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
  color: #f7fbff;
}

.tutorial-card-video .play-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: #0a1a27;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

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

.tutorial-card-feature .tutorial-media {
  min-height: 260px;
}

.section-tight {
  padding-top: 0;
}

.video-library-hero .section-head {
  max-width: 920px;
}

.video-library-grid {
  display: grid;
  gap: 18px;
}

.video-folder-grid {
  display: grid;
  gap: 18px;
}

.video-folder-card {
  display: grid;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.video-folder-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.video-folder-thumb {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(92, 225, 255, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-bottom: 1px solid var(--line);
}

.video-folder-thumb img {
  width: min(220px, 82%);
  height: auto;
  object-fit: contain;
}

.video-folder-thumb img.video-folder-logo {
  width: min(210px, 74%);
  max-height: 118px;
  opacity: 0.86;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
}

.video-folder-thumb img.is-cover {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(129, 215, 255, 0.16);
}

.video-folder-copy {
  padding: 18px;
}

.video-folder-copy h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.video-folder-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.video-category-list {
  display: grid;
  gap: 24px;
}

.video-category {
  display: grid;
  gap: 16px;
}

.video-category-head {
  max-width: 760px;
}

.video-category-head p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.video-library-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-library-thumb {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background:
    radial-gradient(circle at top left, rgba(92, 225, 255, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-bottom: 1px solid var(--line);
}

.video-library-thumb img {
  max-width: 100%;
}

.video-library-thumb img.is-logo {
  width: min(136px, 62%);
  height: auto;
  object-fit: contain;
}

.video-library-thumb img.is-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.video-library-thumb.video-library-brand {
  min-height: 76px;
  padding: 10px 14px;
}

.video-library-thumb.video-library-brand img.auto-ca-video-logo {
  width: min(92px, 42%);
  opacity: 0.82;
}

.video-library-copy {
  padding: 18px;
}

.video-library-copy h3 {
  margin-bottom: 14px;
  font-size: 1.16rem;
  line-height: 1.28;
  text-transform: capitalize;
  text-align: center;
}

.video-library-copy video {
  width: 100%;
  display: block;
  border-radius: 16px;
  background: #02070c;
  object-fit: contain;
}

.video-library-copy video.is-playing {
  aspect-ratio: var(--video-aspect-ratio, auto);
}

.video-library-copy video:fullscreen {
  aspect-ratio: auto;
  object-fit: contain;
}

.video-library-copy video:-webkit-full-screen {
  aspect-ratio: auto;
  object-fit: contain;
}

.dealer-top {
  margin-bottom: 14px;
}

.dealer-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dealer-title-row h3 {
  margin-bottom: 0;
  flex: 1 1 auto;
  font-size: 1rem;
}

.dealer-logo {
  width: auto;
  max-width: 136px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 5px 10px;
}

.dealer-logo-wide {
  max-width: 188px;
  height: 52px;
  padding: 4px 10px;
}

.dealer-logo-medium {
  max-width: 156px;
  height: 48px;
  padding: 4px 10px;
}

.dealer-logo-sip {
  max-width: 88px;
  height: 72px;
  padding: 5px;
}

.dealer-logo-dark {
  background: rgba(11, 29, 47, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dealer-badge {
  margin-bottom: 10px;
}

.dealer-card {
  display: grid;
  align-content: start;
  padding: 16px;
}


.dealer-card-soon {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.16);
}


.dealer-badge-soon {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-flex;
  width: fit-content;
  font-size: 0.8rem;
}

.dealer-map {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 20%, rgba(92, 225, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  position: relative;
}

.dealer-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  pointer-events: none;
}

.dealer-map svg {
  width: 100%;
  height: 118px;
  display: block;
  position: relative;
  z-index: 1;
}

.dealer-map img {
  width: 100%;
  height: 118px;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dealer-map-base {
  fill: rgba(187, 202, 219, 0.18);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 2;
}

.dealer-map-focus {
  fill: rgba(92, 225, 255, 0.24);
  stroke: rgba(92, 225, 255, 0.65);
  stroke-width: 2;
}

.dealer-map-island {
  fill: rgba(187, 202, 219, 0.16);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 2;
}

.dealer-map-pin {
  fill: var(--accent);
  stroke: rgba(4, 16, 24, 0.8);
  stroke-width: 3;
}

.dealer-map-pin-soft {
  fill: rgba(92, 225, 255, 0.55);
}

.dealer-map-label {
  fill: rgba(241, 247, 255, 0.94);
  font: 700 14px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}

.dealer-map-copy {
  display: grid;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.dealer-map-copy strong {
  font-size: 0.88rem;
}

.dealer-map-copy span {
  color: var(--muted);
  line-height: 1.35;
  font-size: 0.82rem;
}

.dealer-meta {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
  font-size: 0.88rem;
}

.dealer-meta a,
.dealer-links a {
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text);
}

.dealer-links a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.dealer-meta a {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--accent);
}

.dealer-note {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(92, 225, 255, 0.12), transparent 30%),
    var(--panel-strong);
}

.dealer-note h3 {
  margin: 0 0 12px;
}

.dealer-note p:last-child {
  margin-bottom: 0;
}

.dealer-cta {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top left, rgba(92, 225, 255, 0.1), transparent 30%),
    rgba(8, 17, 29, 0.78);
  box-shadow: var(--shadow);
}

.dealer-cta-copy {
  max-width: 560px;
}

.dealer-cta-copy h3 {
  margin-bottom: 12px;
}

.dealer-cta-map {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dealer-cta-map img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.compat-card {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-section .form-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  color: #102235;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding: 24px;
}

.contact-section .form-card .field span,
.contact-section .form-card .checkbox-field span,
.contact-section .form-card .form-note,
.contact-section .form-card .form-status {
  color: rgba(16, 34, 53, 0.74);
}

.contact-section .form-card .field input,
.contact-section .form-card .field select,
.contact-section .form-card .field textarea {
  border-color: rgba(16, 34, 53, 0.14);
  background: rgba(255, 255, 255, 0.97);
  color: #102235;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-section .form-card .field input::placeholder,
.contact-section .form-card .field textarea::placeholder {
  color: rgba(16, 34, 53, 0.44);
}

.contact-section .form-card .button {
  box-shadow: none;
}

.contact-section .form-card .form-status.is-success {
  color: #0d8b65;
}

.contact-section .form-card .form-status.is-error {
  color: #b42318;
  font-weight: 800;
}

.request-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 124px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(171, 198, 216, 0.72);
}

.field-full {
  grid-column: 1 / -1;
}

.checkbox-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-field input {
  margin-top: 4px;
}

.form-note,
.form-status {
  margin: 0;
}

.form-status {
  min-height: 24px;
}

.form-status.is-success {
  color: #92ffe1;
}

.form-status.is-error {
  color: #ffb4a8;
  font-weight: 800;
}

.registration-section {
  padding-top: 72px;
}

.registration-card {
  width: min(100%, 980px);
  margin-inline: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  color: #102235;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
}

.registration-card .field span,
.registration-card .form-note,
.registration-card .form-status {
  color: rgba(16, 34, 53, 0.74);
}

.registration-card .field input,
.registration-card .field select,
.registration-card .field textarea {
  border-color: rgba(16, 34, 53, 0.14);
  background: rgba(255, 255, 255, 0.97);
  color: #102235;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.registration-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(16, 34, 53, 0.12);
}

.registration-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(16, 34, 53, 0.14);
  border-radius: 999px;
  background: rgba(16, 34, 53, 0.06);
  color: #102235;
  cursor: pointer;
  font-weight: 800;
}

.registration-tab.is-active {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border-color: transparent;
  color: #041018;
}

.registration-panel[hidden] {
  display: none;
}

.registration-actions {
  margin-top: 18px;
}

.form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
}

.form-alert-success {
  border: 1px solid rgba(13, 139, 101, 0.24);
  background: rgba(13, 139, 101, 0.1);
  color: #0d7355;
}

.form-alert-error {
  border: 1px solid rgba(180, 35, 24, 0.24);
  background: rgba(180, 35, 24, 0.1);
  color: #9c251a;
}

.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 36px;
  padding: 0 0 24px;
}

.footer-panel {
  display: grid;
  gap: 22px;
  padding: 28px;
  width: min(100%, 1120px);
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(9, 25, 40, 0.96), rgba(8, 19, 31, 0.94)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  gap: 22px;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-brand-mark {
  width: min(220px, 72%);
}

.footer-brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand-cluster {
  display: grid;
  gap: 14px;
}

.footer-partner-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(129, 215, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.footer-partner-chip img {
  max-height: 68px;
  width: auto;
  object-fit: contain;
}

.footer-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-brand h3,
.footer-col h3 {
  margin: 0;
  font-size: 1rem;
}

.footer-brand p,
.footer-col p,
.footer-col li,
.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.footer-col {
  display: grid;
  gap: 10px;
}

.footer-links,
.footer-legal-list,
.footer-company-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--text);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(129, 215, 255, 0.14);
}

.footer-panel-home {
  gap: 18px;
  padding: 22px;
  width: min(100%, 1080px);
}

.footer-grid-home {
  gap: 10px;
}

.footer-grid-home .footer-col {
  gap: 8px;
}

.footer-company-col {
  justify-self: end;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

.footer-legal-col {
  justify-self: end;
  width: 100%;
  max-width: 180px;
}

.footer-legal-partner {
  margin-top: 8px;
}

.footer-legal-list a {
  color: var(--text);
}

.footer-legal-list a:hover {
  color: var(--accent);
}

.footer-link-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-link-button:hover {
  color: var(--accent);
}

.footer-legal-notes {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.footer-legal-card {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(129, 215, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  scroll-margin-top: 140px;
}

.footer-legal-card h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.footer-legal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-company-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.footer-company-label {
  color: var(--text);
  white-space: nowrap;
}

.footer-company-value {
  min-width: 0;
  word-break: normal;
}

.footer-company-value a {
  font: inherit;
  line-height: inherit;
  color: var(--text);
  word-break: normal;
  text-decoration: none;
}

.footer-company-value a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .topbar {
    gap: 10px;
    padding: 14px 20px;
    border-radius: 22px;
  }

  .topbar-brand-logo-wrap {
    width: clamp(84px, 7.5vw, 120px);
    height: 46px;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    padding: 9px 12px;
    font-size: 0.94rem;
  }

  .topbar-actions {
    gap: 10px;
  }

  .language-option {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.8rem;
  }

  .button-small {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.86rem;
  }

  .ribbon,
  .compat-grid,
  .module-overview-grid,
  .extra-grid,
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics,
  .value-grid,
  .detail-grid,
  .form-grid,
  .section-media-grid,
  .content-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .list-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

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

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

  .zwcad-video-section .tutorial-card {
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .zwcad-copy-visual {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  }

  .diametrix-card {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    align-items: center;
  }

  .example-pdf-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.25fr 0.85fr 0.85fr 1.05fr;
    align-items: start;
  }

  .footer-grid-home {
    grid-template-columns: 0.74fr 1.16fr 0.5fr;
    align-items: start;
  }

  .footer-company-list li {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .footer-company-value,
  .footer-company-value a {
    white-space: nowrap;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    min-height: calc(100vh - 210px);
  }

  .hero-metrics,
  .detail-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tutorial-grid {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    align-items: start;
  }

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

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

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

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

  .example-pdf-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .dealer-cta {
    grid-template-columns: 0.72fr 1.28fr;
    align-items: center;
  }

  .diametrix-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  }
}

@media (max-width: 759px) {
  .topbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    width: min(calc(100% - 18px), var(--max));
    border-radius: 16px;
  }

  .topbar-brand-logo-wrap {
    width: 84px;
    height: 38px;
  }

  .language-dock {
    width: auto;
    position: static;
    left: auto;
    justify-content: center;
    margin: 0 0 0 auto;
    transform: none;
    order: 2;
  }

  .language-switcher {
    border-radius: 15px;
    padding: 4px;
  }

  .language-option {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 6px;
    padding-top: 0;
    order: 4;
  }

  .nav a {
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 0;
    order: 3;
  }

  .button-small {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .topbar-auth-status {
    max-width: 100%;
    min-height: 42px;
    padding: 5px 12px;
  }

  .topbar-auth-label {
    font-size: 0.68rem;
  }

  .topbar-auth-name {
    font-size: 0.78rem;
  }

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

  .download-card {
    min-height: 0;
    border-radius: 22px;
  }

  .download-card-actions {
    flex-wrap: wrap;
  }

  .download-card-logo {
    width: min(210px, 80%);
  }

  .hero {
    padding-top: 22px;
  }

  .hero-media-card {
    padding: 8px;
    border-radius: 18px;
  }

  .diametrix-card {
    padding: 18px;
    border-radius: 24px;
  }

  .diametrix-visual {
    border-radius: 22px;
  }

  .diametrix-image-card img {
    height: auto;
  }

  .hero-pdf-showcase {
    margin-top: 0;
    gap: 10px;
  }

  .hero-pdf-video-frame {
    border-radius: 16px;
  }

  .hero-pdf-video {
    aspect-ratio: 16 / 9;
    max-height: 52svh;
    object-fit: contain;
  }

  .hero-pdf-copy {
    padding: 10px 12px;
    border-radius: 16px;
  }

  .tutorial-media {
    min-height: 220px;
  }

  .video-library-thumb {
    min-height: 88px;
    padding: 10px;
  }

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

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

  .pricing-panel {
    padding: 14px;
  }

  .pricing-table-wrap {
    margin-inline: -4px;
  }

  .pricing-table {
    min-width: 520px;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 12px 10px;
    font-size: 0.92rem;
  }

  .pricing-table thead th {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .pricing-table thead th small {
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .pricing-notes {
    align-items: flex-start;
  }

  .example-pdf-mobile-shell {
    display: block;
    margin-bottom: 14px;
  }

  .example-pdf-browser {
    display: none;
  }

  .example-pdf-toolbar-mobile {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 14px 12px;
  }

  .example-pdf-mobile-document-frame {
    height: 76svh;
    min-height: 560px;
  }

  .example-pdf-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 14px 12px;
  }

  .example-pdf-toolbar h3 {
    font-size: 0.9rem;
  }

  .example-pdf-toolbar a {
    white-space: normal;
    font-size: 0.84rem;
  }

  .example-pdf-mobile-preview {
    display: block;
  }

  .example-pdf-viewer {
    display: none;
  }

  .video-folder-thumb {
    min-height: 140px;
    padding: 18px;
  }

  .video-library-copy {
    padding: 14px;
  }

  .video-folder-copy {
    padding: 14px;
  }

  .video-library-copy h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .video-folder-copy h3 {
    font-size: 0.92rem;
    margin-bottom: 8px;
  }

  .video-folder-copy p {
    font-size: 0.88rem;
  }

  .contact-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .contact-section .section-head {
    margin-bottom: 16px;
  }

  .contact-section .form-card {
    padding: 16px;
    border-radius: 18px;
  }

  .request-form {
    gap: 12px;
  }

  .field {
    gap: 6px;
  }

  .field span,
  .checkbox-field span,
  .form-note,
  .form-status {
    font-size: 0.86rem;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .field textarea {
    min-height: 96px;
  }

  .form-actions {
    gap: 10px;
  }

  .dealer-title-row {
    align-items: flex-start;
  }

  .dealer-logo {
    max-width: 112px;
    height: 38px;
  }

  .dealer-logo-wide {
    max-width: 148px;
    height: 44px;
  }

  .dealer-logo-medium {
    max-width: 128px;
    height: 40px;
  }

  .dealer-logo-sip {
    max-width: 72px;
    height: 60px;
  }

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

  .media-stack-examples .image-card:last-child {
    grid-column: auto;
  }

  .brand-logo-row {
    justify-content: center;
  }

  .footer-panel {
    width: min(100%, 96%);
    padding: 20px 16px;
    border-radius: 22px;
  }

  .footer-panel-home {
    width: min(100%, 94%);
    padding: 18px 14px;
  }

  .footer-company-col {
    max-width: none;
    justify-self: stretch;
  }

  .footer-brand-mark {
    width: min(196px, 78%);
  }

  .footer-brand h3,
  .footer-col h3 {
    font-size: 0.96rem;
  }

  .footer-brand p,
  .footer-col p,
  .footer-col li,
  .footer-bottom p {
    font-size: 0.88rem;
  }

  .footer-legal-card {
    padding: 12px 14px;
  }

  .footer-legal-card p {
    font-size: 0.84rem;
  }

  .footer-company-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-company-label {
    white-space: normal;
  }

.footer-company-value,
.footer-company-value a {
  white-space: normal;
}
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  width: min(calc(100% - 28px), 920px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(129, 215, 255, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(35, 211, 255, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(5, 18, 30, 0.96), rgba(11, 34, 49, 0.94));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  transform: translate(-50%, calc(100% + 28px));
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.cookie-consent.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-copy {
  display: grid;
  gap: 8px;
}

.cookie-consent-kicker {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.cookie-consent-text {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}

.cookie-consent-links a {
  color: var(--accent);
  font-weight: 700;
}

.cookie-consent-preferences {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(129, 215, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.cookie-consent-preferences[hidden] {
  display: none;
}

.cookie-consent-preferences-title {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.cookie-consent-row {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.cookie-consent-row strong {
  color: var(--text);
}

.cookie-consent-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 330px;
}

.cookie-consent-actions .button {
  min-height: 42px;
  padding-inline: 16px;
  box-shadow: none;
  font-size: 0.88rem;
}

.cookie-consent-actions .button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(129, 215, 255, 0.2);
}

@media (max-width: 760px) {
  .cookie-consent {
    bottom: 12px;
    width: min(calc(100% - 18px), 430px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
  }

  .cookie-consent-text {
    font-size: 0.84rem;
  }

  .cookie-consent-actions {
    min-width: 0;
    justify-content: stretch;
  }

  .cookie-consent-actions .button {
    flex: 1 1 120px;
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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