:root {
  color-scheme: dark;
  --ink: #141820;
  --night: #182833;
  --panel: #213844;
  --petrol: #2f6f8f;
  --petrol-soft: #3c809d;
  --red: #e63232;
  --paper: #f6f8fb;
  --line: #d8dee8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--night);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

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

.page {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 44px 24px 72px;
}

.entry-strip,
.hero,
.section,
.card {
  border: 1px solid rgba(216, 222, 232, 0.18);
  box-shadow: 0 18px 50px rgba(20, 24, 32, 0.28);
}

.entry-strip {
  display: grid;
  gap: 22px;
  margin-bottom: 32px;
  border-radius: 24px;
  padding: 28px 28px;
  background: linear-gradient(180deg, rgba(64, 137, 172, 0.28), rgba(24, 40, 51, 0.92));
}

.entry-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.15;
}

.entry-strip-copy {
  max-width: 760px;
}

.entry-strip-title {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.entry-strip .muted {
  max-width: 760px;
  margin: 18px 0 0;
}

.entry-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 56px 36px;
  background:
    radial-gradient(circle at top left, rgba(230, 50, 50, 0.14), transparent 34%),
    linear-gradient(135deg, #141820 0%, #213844 48%, #2f6f8f 100%);
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.logo {
  display: block;
  width: min(380px, 100%);
  height: auto;
  margin-bottom: 38px;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h2,
h3,
p {
  margin-top: 0;
}

.lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: #d8dee8;
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  max-width: 760px;
}

.hero-points div {
  position: relative;
  padding-left: 22px;
  color: #f6f8fb;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-points div::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

.audience-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.audience-block h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.15;
}

.audience-block .muted {
  margin: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.mini-button {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
}

.hero-panel-note {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  color: #d8dee8;
  font-size: 14px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.hero-panel,
.section,
.card {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(47, 111, 143, 0.34), rgba(24, 40, 51, 0.94));
}

.hero-panel {
  padding: 34px;
}

.marketing-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-bottom: 24px;
}

.marketing-nav-logo {
  display: inline-flex;
  align-items: center;
}

.marketing-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.marketing-nav-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #f6f8fb;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
}

.marketing-nav-links a:hover {
  border-color: rgba(230, 50, 50, 0.36);
}

.marketing-nav-login {
  background: rgba(60, 128, 157, 0.18) !important;
}

.entry-strip-b2b {
  background: linear-gradient(180deg, rgba(60, 128, 157, 0.28), rgba(24, 40, 51, 0.94));
}

.hero-b2b {
  padding: 64px 40px;
}

.hero-grid-b2b {
  align-items: start;
}

.hero-panel-b2b {
  background: linear-gradient(180deg, rgba(47, 111, 143, 0.3), rgba(20, 24, 32, 0.92));
}

.hero-subpage {
  padding: 52px 36px;
  background:
    radial-gradient(circle at top left, rgba(230, 50, 50, 0.12), transparent 32%),
    linear-gradient(145deg, #1a2531 0%, #244558 58%, #2f6f8f 100%);
}

.marketing-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.18;
}

.panel-list-wide {
  gap: 14px;
}

.cta-band {
  background:
    linear-gradient(180deg, rgba(60, 128, 157, 0.22), rgba(24, 40, 51, 0.96)),
    linear-gradient(135deg, #182833 0%, #244558 100%);
}

.marketing-metrics,
.demo-fit-grid {
  margin-top: 18px;
}

.metric-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(20, 24, 32, 0.22));
}

.metric-card strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 22px;
  line-height: 1.18;
}

.company-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.company-card h3 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.18;
}

.company-card .panel-list {
  margin-top: 22px;
}

.quote-card {
  margin-top: 24px;
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(230, 50, 50, 0.14), rgba(47, 111, 143, 0.18));
  padding: 28px;
}

.quote-card p {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 700;
}

.outreach-card strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 22px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.eyebrow + h2,
.eyebrow + h3 {
  margin-top: 0;
}

.panel-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.panel-list div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  color: #f6f8fb;
  font-weight: 700;
}

.section {
  margin-top: 42px;
  padding: 40px 32px;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.card {
  padding: 28px;
}

.muted {
  color: #c9d2df;
  line-height: 1.65;
}

.notice {
  margin-top: 36px;
  color: #aeb8c8;
  font-size: 14px;
  line-height: 1.6;
}

.vehicle-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.vehicle-item {
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  padding: 20px 22px;
}

.vehicle-item strong,
.vehicle-item span {
  display: block;
}

.vehicle-item strong {
  color: #fff;
  font-size: 16px;
}

.vehicle-item span {
  margin-top: 4px;
  color: #aeb8c8;
  font-size: 13px;
}

@media (min-width: 920px) {
  .entry-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  }

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

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

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

@media (max-width: 720px) {
  .page {
    padding: 34px 20px 60px;
  }

  .entry-strip {
    padding: 24px 22px;
    margin-bottom: 28px;
  }

  .entry-strip-title {
    font-size: 34px;
  }

  .hero {
    padding: 44px 22px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-panel,
  .section,
  .card {
    border-radius: 22px;
  }

  .hero-panel {
    padding: 28px 22px;
  }

  .section {
    margin-top: 34px;
    padding: 32px 22px;
  }

  .card {
    padding: 24px 22px;
  }

  .vehicle-item {
    padding: 18px 18px;
  }
}

.login-form {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin-top: 32px;
}

.login-form label {
  color: #f6f8fb;
  font-size: 14px;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  border: 1px solid #3c6678;
  border-radius: 16px;
  background: #274555;
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  padding: 15px 16px;
}

.form-select {
  width: 100%;
  border: 1px solid #3c6678;
  border-radius: 16px;
  background: #274555;
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  padding: 15px 16px;
}

.login-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.login-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.login-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-message {
  max-width: 620px;
  margin-top: 20px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 18px;
  background: rgba(52, 211, 153, 0.12);
  color: #d1fae5;
  padding: 16px 18px;
  line-height: 1.55;
}

.form-message.is-error {
  border-color: rgba(230, 50, 50, 0.35);
  background: rgba(230, 50, 50, 0.12);
  color: #ffe4e6;
}

.nested-section {
  max-width: 620px;
  margin-top: 24px;
  box-shadow: none;
}

.dashboard-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.compact-logo {
  max-width: 260px;
  margin-bottom: 0;
}

.video-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.video-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  color: inherit;
  padding: 18px;
  transition: border-color 160ms ease, background 160ms ease;
}

.addon-item {
  padding: 20px 20px 24px;
}

.addon-copy {
  max-width: 1040px;
}

.video-item:hover {
  border-color: rgba(230, 50, 50, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.video-item h3 {
  margin: 10px 0 0;
  font-size: 18px;
}

.video-item p {
  margin: 10px 0 0;
  color: #c9d2df;
  line-height: 1.55;
}

.addon-description {
  margin-top: 14px;
}

.addon-benefits {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0 0 0 22px;
  color: #d8dee8;
}

.addon-benefits li {
  line-height: 1.55;
}

.addon-price {
  margin-top: 22px;
  font-weight: 700;
}

.video-item strong {
  white-space: nowrap;
  color: #d8dee8;
  font-size: 13px;
}

.video-category {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.top-actions {
  margin-bottom: 20px;
}

.video-player-shell {
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid rgba(216, 222, 232, 0.18);
  border-radius: 24px;
  background: #05090f;
  box-shadow: 0 18px 50px rgba(20, 24, 32, 0.28);
}

.video-player-shell video {
  display: block;
  width: 100%;
  height: auto;
}

.video-placeholder {
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: #c9d2df;
  text-align: center;
}

.dealer-page h1 {
  max-width: 960px;
}

.stat-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  padding: 18px;
}

.stat-card span,
.stat-card small {
  display: block;
  color: #aeb8c8;
  font-size: 13px;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}

.stat-card small {
  margin-top: 6px;
}

.split-section {
  display: grid;
  gap: 22px;
}

.quick-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.quick-grid a {
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  padding: 16px;
  font-weight: 700;
}

.quick-grid a span {
  display: block;
  margin-top: 6px;
  color: #c9d2df;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.side-panel {
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.mini-list div {
  border: 1px solid rgba(216, 222, 232, 0.14);
  border-radius: 14px;
  background: rgba(20, 24, 32, 0.18);
  padding: 12px 14px;
}

.mini-list dt {
  color: #aeb8c8;
  font-size: 12px;
  font-weight: 700;
}

.mini-list dd {
  margin: 4px 0 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.signup-request-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.signup-request-card {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
}

.signup-request-card h3 {
  margin: 8px 0 0;
}

.signup-request-copy .mini-list {
  margin-top: 18px;
}

.request-note {
  margin-top: 18px;
  border: 1px solid rgba(216, 222, 232, 0.12);
  border-radius: 16px;
  background: rgba(20, 24, 32, 0.18);
  padding: 14px 16px;
}

.request-note strong {
  display: block;
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
}

.request-note p {
  margin: 8px 0 0;
  color: #d8dee8;
  line-height: 1.6;
}

.signup-request-form {
  display: grid;
  gap: 12px;
  align-content: start;
}

.signup-request-form label {
  display: grid;
  gap: 8px;
}

.signup-request-form label span {
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 18px;
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid rgba(216, 222, 232, 0.12);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(255, 255, 255, 0.06);
  color: #c9d2df;
  font-size: 13px;
}

.data-table td {
  color: #f6f8fb;
  font-size: 14px;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #d8dee8;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.status-pill.is-good {
  background: rgba(52, 211, 153, 0.16);
  color: #d1fae5;
}

.status-pill.is-info {
  background: rgba(60, 128, 157, 0.24);
  color: #dff7ff;
}

.inline-form {
  margin: 0;
}

.table-button {
  min-height: 36px;
  border: 1px solid rgba(230, 50, 50, 0.35);
  background: rgba(230, 50, 50, 0.12);
  color: #ffe4e6;
  cursor: pointer;
  padding: 0 12px;
  font-size: 13px;
}

.admin-inline-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.admin-inline-form label {
  display: grid;
  gap: 8px;
}

.admin-inline-form span {
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
}

.search-form {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  align-items: end;
}

.search-form label {
  display: grid;
  gap: 8px;
}

.search-form label span {
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
}

.public-signup-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.public-signup-form label {
  display: grid;
  gap: 8px;
}

.public-signup-form label span {
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
}

.admin-inline-form input,
.search-form input,
.table-edit-form input,
.data-table td > input,
.public-signup-form input,
.public-signup-form textarea,
.admin-video-form input,
.admin-video-form textarea,
.table-select {
  width: 100%;
  border: 1px solid #3c6678;
  border-radius: 12px;
  background: #274555;
  color: #fff;
  font: inherit;
  outline: none;
  padding: 10px 12px;
}

.public-signup-form textarea {
  min-height: 130px;
  resize: vertical;
}

.public-signup-actions {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.admin-video-form textarea {
  min-height: 96px;
  resize: vertical;
}

.admin-video-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.admin-video-form label {
  display: grid;
  gap: 8px;
}

.admin-video-form label span {
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
}

.admin-wide-field,
.admin-file-field {
  grid-column: 1 / -1;
}

.table-edit-form {
  display: grid;
  gap: 8px;
  margin: 0;
}

.checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8dee8;
  font-size: 13px;
  font-weight: 700;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.table-save-button {
  min-height: 36px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.12);
  color: #d1fae5;
  cursor: pointer;
  padding: 0 12px;
  font-size: 13px;
}

.table-file-input {
  margin-top: 8px;
  font-size: 12px;
}

.dealer-admin-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.dealer-admin-card {
  display: grid;
  gap: 20px;
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}

.dealer-user-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dealer-user-list h3 {
  flex-basis: 100%;
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.dealer-user-list span {
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 999px;
  background: rgba(20, 24, 32, 0.24);
  color: #d8dee8;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.dealer-model-list {
  display: grid;
  gap: 12px;
}

.dealer-model-row {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(216, 222, 232, 0.14);
  border-radius: 16px;
  background: rgba(20, 24, 32, 0.2);
  padding: 14px;
}

.dealer-model-row strong {
  color: #fff;
}

.dealer-model-row label {
  display: grid;
  gap: 8px;
}

.dealer-model-row label span {
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
}

.dealer-model-row input[type="text"] {
  width: 100%;
  border: 1px solid #3c6678;
  border-radius: 12px;
  background: #274555;
  color: #fff;
  font: inherit;
  outline: none;
  padding: 10px 12px;
}

.offerbox-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.branding-form {
  display: grid;
  gap: 18px;
}

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

.branding-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(216, 222, 232, 0.14);
  border-radius: 18px;
  background: rgba(20, 24, 32, 0.2);
  padding: 18px;
}

.branding-card strong {
  color: #fff;
  font-size: 18px;
}

.branding-card label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.branding-card label span {
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
}

.branding-card label small {
  color: #aeb8c8;
  font-size: 12px;
  line-height: 1.4;
}

.branding-card input,
.branding-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #3c6678;
  border-radius: 12px;
  background: #274555;
  color: #fff;
  font: inherit;
  outline: none;
  padding: 10px 12px;
}

.branding-card input[type="color"] {
  min-height: 46px;
  padding: 4px;
}

.branding-card textarea {
  min-height: 112px;
  resize: vertical;
}

.branding-logo-preview {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid rgba(216, 222, 232, 0.14);
  border-radius: 14px;
  background: rgba(20, 24, 32, 0.24);
  padding: 20px;
}

.branding-logo-preview img {
  max-width: min(280px, 100%);
  max-height: 110px;
  object-fit: contain;
}

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

.offerbox-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(216, 222, 232, 0.14);
  border-radius: 18px;
  background: rgba(20, 24, 32, 0.2);
  padding: 18px;
}

.offerbox-card strong {
  color: #fff;
  font-size: 18px;
}

.offerbox-card label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.offerbox-card label span {
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 700;
}

.offerbox-card label small {
  color: #aeb8c8;
  font-size: 12px;
  line-height: 1.4;
}

.offerbox-card input,
.offerbox-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #3c6678;
  border-radius: 12px;
  background: #274555;
  color: #fff;
  font: inherit;
  outline: none;
  padding: 10px 12px;
}

.offerbox-card textarea {
  min-height: 112px;
  resize: vertical;
}

.offerbox-image-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(216, 222, 232, 0.14);
  border-radius: 14px;
  object-fit: cover;
  background: rgba(20, 24, 32, 0.24);
}

.offerbox-live-preview {
  display: grid;
  gap: 10px;
}

.offerbox-preview-label {
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 800;
}

.offer-url-preview {
  overflow-wrap: anywhere;
}

.offer-preview-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.customer-offer-section {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.customer-branding-card {
  display: grid;
  gap: 28px;
  margin: 26px 0 30px;
  border: 1px solid rgba(216, 222, 232, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--brand-accent) 16%, transparent), transparent 34%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--brand-primary) 32%, transparent), transparent 42%),
    linear-gradient(135deg, rgba(22, 41, 55, 0.92), rgba(42, 86, 109, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 28px 30px;
}

.customer-branding-main {
  display: grid;
  gap: 26px;
  align-items: stretch;
}

.customer-branding-logo {
  display: grid;
  place-items: center start;
  min-height: 180px;
  border: 1px solid rgba(216, 222, 232, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 22, 30, 0.28), rgba(255, 255, 255, 0.03));
  padding: 20px 24px;
}

.customer-branding-logo img,
.customer-branding-main img {
  width: min(320px, 100%);
  max-height: 132px;
  object-fit: contain;
  justify-self: start;
}

.customer-branding-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding-right: 8px;
}

.customer-branding-main span {
  color: var(--brand-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.customer-branding-main h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.02;
  max-width: 12ch;
}

.customer-branding-main p {
  max-width: 560px;
  margin: 0;
  color: #d8dee8;
  font-size: 18px;
  line-height: 1.6;
}

.customer-branding-contact {
  display: grid;
  gap: 16px;
  align-content: start;
  border: 1px solid rgba(216, 222, 232, 0.1);
  border-radius: 20px;
  background: rgba(16, 29, 39, 0.26);
  padding: 22px 20px;
}

.customer-branding-contact-meta {
  display: grid;
  gap: 10px;
}

.customer-branding-contact strong {
  color: #fff;
  font-size: 18px;
}

.customer-branding-contact span,
.customer-branding-contact a {
  color: #d8dee8;
  font-size: 15px;
  line-height: 1.5;
}

.customer-branding-link {
  width: fit-content;
  border-bottom: 1px solid rgba(216, 222, 232, 0.45);
  padding-bottom: 3px;
}

.customer-branding-contact small {
  max-width: 100%;
  color: #aeb8c8;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.customer-branding-contact .button {
  justify-self: start;
  margin-top: 6px;
  min-width: 170px;
}

.customer-offer-grid {
  display: grid;
  gap: 14px;
}

.customer-offer-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  gap: 0;
  border: 1px solid rgba(216, 222, 232, 0.14);
  border-radius: 18px;
  background: rgba(20, 24, 32, 0.22);
  padding: 0;
}

.customer-offer-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(20, 24, 32, 0.24);
  border-bottom: 1px solid rgba(216, 222, 232, 0.1);
  overflow: hidden;
}

.customer-offer-media span {
  color: #aeb8c8;
  font-size: 14px;
  font-weight: 700;
}

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

.customer-offer-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.customer-offer-body > span {
  color: #e63232;
  font-size: 13px;
  font-weight: 800;
}

.customer-offer-body h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.customer-offer-body p {
  margin: 0;
  color: #d8dee8;
  line-height: 1.55;
}

.customer-offer-body .button {
  justify-self: start;
  margin-top: 4px;
}

.customer-offer-button {
  cursor: pointer;
}

@media (min-width: 760px) {
  .page {
    padding: 48px 32px 72px;
  }

  .hero {
    padding: 56px 40px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

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

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

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

  .admin-inline-form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
  }

  .search-form {
    grid-template-columns: minmax(260px, 1fr) auto auto;
  }

  .admin-video-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .public-signup-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .dealer-admin-card {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  }

  .signup-request-card {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    align-items: start;
  }

  .dealer-model-row {
    grid-template-columns: minmax(180px, 1fr) minmax(110px, 0.4fr) auto auto;
    align-items: end;
  }

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

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

  .branding-card-wide {
    grid-column: 1 / -1;
  }

  .public-signup-wide {
    grid-column: 1 / -1;
  }

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

  .offerbox-card strong,
  .offerbox-full {
    grid-column: 1 / -1;
  }

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

  .customer-branding-card,
  .customer-branding-main {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.2fr);
  }
}

@media (min-width: 980px) {
  .customer-branding-card {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.72fr);
    align-items: stretch;
  }
}

@media (min-width: 980px) {
  .split-section {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  }
}
