:root {
  --bg: #ffffff;
  --bg-soft: #f3f7ff;
  --bg-blue: #eaf2ff;
  --text: #16243a;
  --muted: #5c6b80;
  --line: #dce5f2;
  --blue: #2f73ff;
  --blue-dark: #0b4fd6;
  --navy: #0a2b5f;
  --yellow: #f5bd38;
  --green: #a7dd93;
  --shadow: 0 20px 60px rgba(22, 36, 58, 0.12);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 229, 242, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo {
  width: 76px;
  height: auto;
}

.brand-x {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-left: 2px;
  padding-left: 10px;
  border-left: 2px solid rgba(55, 90, 209, 0.24);
  color: var(--blue);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--blue-dark);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 115, 255, 0.22);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: #b9c8dc;
}

.menu-button {
  display: none;
}

.section-pad {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(36px, 5vw, 70px);
  min-height: 620px;
  padding-top: clamp(56px, 6vw, 82px);
  padding-bottom: clamp(56px, 6vw, 82px);
  background:
    linear-gradient(90deg, #fff 0%, #fff 48%, var(--bg-soft) 48%, var(--bg-soft) 100%);
}

.hero-copy {
  max-width: 590px;
  margin-left: auto;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 5.7vw, 74px);
  font-weight: 850;
  line-height: 0.98;
}

.hero-copy p,
.section-heading p,
.lender-copy > p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-copy p {
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span::before {
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  content: "";
}

.product-preview {
  width: min(100%, 720px);
  max-width: 100%;
  border: 1px solid #cfdced;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.preview-toolbar strong {
  margin-left: 10px;
  color: var(--text);
}

.dot {
  width: 10px;
  height: 10px;
  background: #d8e2f0;
  border-radius: 50%;
}

.dot:first-child {
  background: #ffcf56;
}

.preview-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.15fr;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(135deg, #f8fbff, #edf5ff);
}

.preview-grid > * {
  min-width: 0;
}

.request-panel,
.valuation-card,
.chart-panel,
.report-sheet,
.steps article,
.email-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.request-panel {
  padding: 18px;
}

.request-panel h2,
.valuation-content h2,
.report-sheet h2 {
  font-size: 20px;
  line-height: 1.2;
}

.ui-label {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.field-row,
.value-row,
.report-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #edf2f8;
  color: var(--muted);
  font-size: 13px;
}

.field-row strong,
.value-row strong,
.report-line strong {
  color: var(--text);
  text-align: right;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin-top: 16px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.valuation-card {
  overflow: hidden;
}

.valuation-card img {
  width: 100%;
  height: 174px;
  object-fit: cover;
}

.valuation-content {
  padding: 16px;
}

.report-link {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--bg-blue);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
}

.chart-panel {
  grid-column: 1 / -1;
  padding: 18px;
}

.bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
  height: 120px;
  padding-top: 12px;
  border-bottom: 1px solid var(--line);
}

.bars span {
  height: var(--height);
  min-height: 18px;
  border-radius: 8px 8px 0 0;
  background: var(--blue);
}

.bars span:nth-child(2) {
  background: var(--green);
}

.bars span:nth-child(3) {
  background: var(--yellow);
}

.bars span:nth-child(4) {
  background: #ef7890;
}

.bars span:nth-child(5) {
  background: #7a5bd8;
}

.chart-key {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.lender-copy h2,
.contact-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.coverage {
  background: #fff;
}

.portal {
  background: #fff;
}

.portal-showcase {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr 0.9fr;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: stretch;
}

.portal-screen {
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(22, 36, 58, 0.08);
}

.dashboard-screen {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.screen-header strong {
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--bg-blue);
  color: var(--blue-dark);
  font-size: 11px;
  text-transform: uppercase;
}

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

.form-preview label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-preview label span {
  display: block;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7f9fc;
}

.asset-buttons {
  display: grid;
  gap: 8px;
}

.asset-buttons button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  padding: 0 14px;
}

.asset-buttons button:first-child {
  border-color: rgba(47, 115, 255, 0.28);
  background: var(--bg-blue);
  color: var(--blue-dark);
}

.dashboard-list {
  display: grid;
  gap: 14px;
}

.dashboard-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dashboard-list img {
  width: 92px;
  height: 70px;
  object-fit: cover;
  border-radius: 7px;
}

.dashboard-list strong,
.dashboard-list small {
  display: block;
}

.dashboard-list strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 15px;
}

.dashboard-list small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.report-screen h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.report-screen p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.report-values {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.report-values span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 7px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.report-values strong {
  color: var(--text);
}

.asset-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.asset-strip article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-blue);
}

.asset-strip img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.asset-strip article:hover img {
  transform: scale(1.035);
}

.asset-strip span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.workflow {
  background: var(--bg-soft);
}

.workflow .section-heading,
.steps {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps article {
  min-height: 260px;
  padding: 28px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.steps h3,
.feature-list h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.steps p,
.feature-list p,
.report-note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.lenders {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  max-width: calc(var(--max) + 112px);
  margin: 0 auto;
  background: #fff;
}

.lender-visual {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(47, 115, 255, 0.14), rgba(245, 189, 56, 0.16)),
    url("assets/truck.jpg") center/cover;
  border-radius: var(--radius);
}

.report-sheet {
  max-width: 360px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(22, 36, 58, 0.2);
}

.report-note {
  margin-top: 18px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 7px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  margin-top: 30px;
}

.feature-list div {
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--navy);
  color: #fff;
}

.contact-copy {
  max-width: 560px;
  margin-left: auto;
}

.contact-copy p {
  color: #cbd8ed;
}

.contact-copy .button + .button {
  margin-left: 10px;
}

.email-panel {
  display: grid;
  gap: 12px;
  max-width: 520px;
  padding: 28px;
  color: var(--text);
}

.email-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.email-panel a {
  color: var(--blue-dark);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 850;
  line-height: 1.08;
}

.email-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: inline-grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .menu-button span {
    height: 2px;
    background: var(--text);
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .site-header.is-open .nav-links,
  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.is-open .nav-links {
    flex-direction: column;
    gap: 14px;
    padding-top: 10px;
  }

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

  .hero {
    min-height: auto;
    display: block;
    background: linear-gradient(180deg, #fff 0%, #fff 45%, var(--bg-soft) 45%, var(--bg-soft) 100%);
  }

  .hero-copy,
  .contact-copy {
    max-width: 760px;
    margin: 0;
  }

  .product-preview {
    width: 100%;
  }

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

  .portal-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-pad {
    padding: 56px 18px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-copy,
  .product-preview {
    min-width: 0;
    width: 100%;
  }

  .hero-copy {
    max-width: calc(100vw - 36px);
  }

  .hero-copy p {
    max-width: 100%;
  }

  .product-preview {
    margin-top: 38px;
  }

  .hero-actions,
  .header-actions,
  .site-header.is-open .header-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .preview-grid,
  .steps,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .field-row,
  .value-row,
  .report-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .field-row strong,
  .value-row strong,
  .report-line strong {
    max-width: 100%;
    text-align: left;
  }

  .asset-strip {
    display: flex;
    margin-right: -18px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .asset-strip article {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .contact-copy .button + .button {
    margin-top: 10px;
    margin-left: 0;
  }

  .site-footer {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero-copy,
  .product-preview {
    max-width: 354px;
  }

  .menu-button {
    position: fixed;
    top: 17px;
    right: max(18px, calc(100vw - 372px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
