:root {
  --maxw: 1320px;
  --radius: 18px;
}

body {
  font-size: 16px;
}

.container {
  width: min(var(--maxw), calc(100% - 80px));
}

.section {
  padding: 96px 0;
}

h2 {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.eyebrow:before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.btn {
  border-radius: 50px;
  min-height: 52px;
  padding: 15px 25px;
  gap: 14px;
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-white {
  color: var(--deep);
  box-shadow: 0 8px 20px #06172714;
}

.btn-white:hover {
  background: #f1f8ff;
}

.btn-dark {
  background: var(--button);
}

.btn-dark:hover {
  background: #0f63b0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  background: none;
  border: 0;
  color: var(--deep);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--ink);
}

.text-link span {
  font-size: 21px;
  line-height: 1;
}

.card {
  box-shadow: 0 3px 10px #0a152302;
}

.fine {
  line-height: 1.65;
}

header {
  background: #fffffff7;
  color: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 84px;
  gap: 22px;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo b {
  font-size: 20px;
}

.logo small {
  color: var(--muted);
  font-size: 8px;
}

.header-inner nav {
  gap: 22px;
}

.header-inner nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}

.header-phone b {
  font-size: 14px;
}

.header-phone small {
  color: var(--muted);
  font-size: 10px;
}

.header-inner > .btn {
  min-height: 46px;
  font-size: 12px;
  padding: 12px 20px;
  box-shadow: 0 6px 16px #1478ce20;
}

.hero {
  background: var(--paper);
  padding: 32px 0 45px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 20px 40px -30px #0a152355;
}

.hero-content {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 43px 44px 38px;
  color: white;
  background: linear-gradient(135deg, #1478ce 0%, #126dbb 48%, #0d5593 100%);
}

.hero-content:before {
  content: '';
  width: 550px;
  height: 550px;
  background: #ffffff06;
  border: 1px solid #ffffff10;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: -280px;
  z-index: -1;
}

.hero-content:after {
  content: '';
  width: 340px;
  height: 340px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  position: absolute;
  left: -240px;
  bottom: -200px;
  z-index: -1;
}

.hero .eyebrow {
  color: #dceeff;
  margin-bottom: 22px;
  font-size: 10px;
}

.hero-lead {
  color: white;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.45;
  max-width: 540px;
}

.hero h1 {
  color: white;
  text-transform: uppercase;
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 27px 0;
}

.hero h1 em {
  display: inline-block;
  background: white;
  color: #0d609f;
  border-radius: 8px;
  padding: 0 0.14em 0.04em;
  margin: 4px 0 5px -0.03em;
  font-weight: 800;
}

.hero-description {
  font-size: 15px;
  line-height: 1.65;
  color: #e5f2ff;
  max-width: 520px;
}

.hero-description b {
  color: white;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 55px;
  font-size: 14px;
  padding: 16px 26px;
}

.hero-actions .btn span {
  font-size: 20px;
  line-height: 1;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 0;
}

.hero-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}

.hero-visual:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a15232a, transparent 35%, transparent 68%, #0a1523ad);
  pointer-events: none;
}

.visual-top {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font:
    500 9px/1.5 Mono,
    monospace;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 6px #0a152340;
}

.visual-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.visual-caption p {
  color: #d8e4ed;
  font-size: 12px;
  line-height: 1.65;
}

.visual-caption b {
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.visual-line {
  width: 2px;
  height: 42px;
  background: #7fc8ff;
}

.visual-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff50;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 24px;
  margin-left: auto;
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.05fr;
  grid-column: 1/-1;
  color: white;
}

.hero-facts > div {
  padding: 28px 29px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid #ffffff12;
}

.hero-facts strong {
  font-family: Grotesk, Inter, sans-serif;
  font-size: 30px;
  line-height: 1.15;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-facts span {
  font:
    500 9px/1.6 Mono,
    monospace;
  text-transform: uppercase;
  color: #aebfd0;
  letter-spacing: 0.025em;
}

.hero-facts .fact-note {
  display: block;
  border: 0;
}

.fact-note b {
  display: block;
  font:
    500 10px/1.5 Mono,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8dccfc;
  margin-bottom: 6px;
}

.fact-note p {
  color: #c5d0dc;
  font-size: 11px;
  line-height: 1.5;
}

.hero-footnote {
  font-size: 10px;
  line-height: 1.6;
  margin: 12px 4px 0;
  color: #70808f;
}

.quick-order-wrap {
  margin-top: 30px;
}

.quick-order {
  grid-template-columns: 1fr 1.15fr 0.85fr 0.9fr auto;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 10px 22px -14px #0a152328;
}

.quick-order label {
  font-size: 9px;
}

.quick-order input {
  background: #fbfcfd;
  min-height: 50px !important;
  padding: 12px;
  border-radius: 9px;
}

.quick-order .btn {
  min-height: 50px;
  font-size: 12px;
  padding: 14px 20px;
}

.eligibility-strip {
  padding-top: 18px;
  font-size: 11px;
  gap: 9px;
}

.eligibility-strip > span {
  padding: 7px 12px;
  color: #415363;
  font-size: 10px;
}

.purchase-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.purchase-heading h2 span {
  color: var(--deep);
  font-weight: 500;
}

.purchase .intro {
  margin-top: 17px;
  max-width: 820px;
  font-size: 16px;
}

.trade-example {
  margin: 0;
}

.trade-example-grid {
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 20px;
}

.trade-direction {
  width: 48px;
  height: 48px;
  font-size: 26px;
  box-shadow: 0 8px 18px #1478ce22;
}

.trade-car {
  border-radius: 18px;
}

.trade-car-image {
  aspect-ratio: 2.2;
  padding: 54px 55px 24px;
  background: linear-gradient(135deg, #eaf0f5, #d9e2eb);
}

.trade-car-image .car {
  max-width: 430px;
  filter: drop-shadow(0 12px 8px #0a152317);
}

.trade-car-body {
  padding: 25px 27px 26px;
}

.trade-car-body h3 {
  font-size: 23px;
}

.trade-car-body > p {
  font-size: 13px;
}

.trade-car-body > strong {
  font-size: 32px;
  margin-top: 22px;
}

.trade-car-body > p:last-child {
  font-size: 12px;
}

.image-badge {
  border-radius: 7px;
  font-family: Mono, monospace;
  font-size: 9px;
  letter-spacing: 0.02em;
}

.trade-car-image .image-badge {
  background: var(--ink);
  color: white;
}

.trade-car:last-child .image-badge {
  background: var(--button);
}

.contribution-bar {
  height: 7px;
  margin-top: 22px;
}

.contribution-legend {
  font-size: 10px;
  justify-content: space-between;
  gap: 7px;
}

.trade-disclaimer {
  font-size: 11px;
  margin-top: 16px;
  color: #7b8995;
  max-width: 100%;
}

#benefits .section-heading {
  display: block;
  margin-bottom: 33px;
}

#benefits .section-heading p {
  margin-top: 18px;
  max-width: 740px;
  font-size: 16px;
}

.benefits-grid {
  gap: 18px;
}

.benefit {
  padding: 29px;
  border-radius: 16px;
}

.benefit-top {
  margin-bottom: 18px;
}

.benefit-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
}

.benefit h3 {
  font-size: 19px;
}

.benefit p {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 12px;
}

.number {
  font-size: 10px;
}

.inspection-section {
  padding: 0 0 96px;
  background: var(--paper);
}

.inspection {
  background: radial-gradient(ellipse at 100% 0%, #1478ce35, transparent 45%), var(--ink);
  color: white;
  grid-template-columns: 1fr 1.05fr;
  border: 0;
  border-radius: 22px;
  gap: 28px;
  padding: 42px;
}

.inspection-price {
  background: none;
  padding: 0;
  align-self: center;
}

.inspection-price .eyebrow {
  margin-bottom: 19px;
}

.inspection-price h2 {
  font-size: clamp(30px, 2.8vw, 39px);
  max-width: 540px;
}

.inspection .price {
  margin: 33px 0 16px;
  gap: 15px;
  flex-wrap: wrap;
}

.price strong {
  font-size: 53px;
  font-weight: 750;
}

.price del {
  font-size: 20px;
}

.discount {
  font:
    600 11px/1 Mono,
    monospace;
  background: #158657;
  padding: 8px;
  border-radius: 6px;
  align-self: center;
}

.inspection-price > p:not(.eyebrow) {
  font-size: 12px;
  max-width: 450px;
}

.inspection-price .btn {
  margin-top: 26px;
}

.inspection-list {
  padding: 0;
  gap: 10px;
}

.inspection-list li {
  border: 1px solid #ffffff08 !important;
  border-radius: 13px;
  background: #142236d9;
  padding: 17px 18px;
  gap: 14px;
}

.inspection-list li:before {
  content: counter(inspection, decimal-leading-zero);
  width: 29px;
  height: 29px;
  border-radius: 7px;
  font:
    500 10px/1 Mono,
    monospace;
  color: #8dccfc;
  background: #1e3550;
}

.inspection-list h3 {
  color: white;
  font-size: 15px;
  line-height: 1.4;
}

.inspection-list p {
  color: #a9b8c9;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 5px;
}

#process {
  padding-top: 0;
}

#process .section-heading {
  align-items: flex-end;
  gap: 30px;
}

#process h2 {
  font-size: clamp(30px, 2.8vw, 39px);
}

.legend {
  gap: 14px;
  font:
    500 9px/1.5 Mono,
    monospace;
  text-transform: uppercase;
}

.road {
  border-radius: 22px;
  height: 690px;
}

.road-steps {
  grid-template-rows: repeat(3, 223px);
  inset: 41px 26px 0;
}

.road-label {
  font-size: 10px;
  color: var(--deep);
  top: 30px;
}

.road-delivery {
  top: 480px;
}

.step-icon {
  width: 78px;
  height: 78px;
  margin-top: 36px;
  margin-bottom: 16px;
}

.step-icon svg {
  width: 29px;
  height: 29px;
}

.step-icon > b {
  width: 28px;
  height: 23px;
  border-radius: 6px;
  background: var(--ink);
  font-size: 9px;
  right: -8px;
}

.step h3 {
  font-size: 16px;
}

.step p {
  font-size: 12px;
  max-width: 245px;
  line-height: 1.5;
}

.step.client .step-icon {
  width: 64px;
  height: 64px;
  margin-top: 43px;
  margin-bottom: 23px;
}

.decision-note {
  border-radius: 7px;
  font-size: 10px;
  padding: 5px 10px;
  top: 0;
  left: 52%;
}

.finish {
  top: calc(82.2581% - 43px);
}

.finish > span {
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
}

.finish h3 {
  font-size: 17px;
}

.finish p {
  font-size: 10px;
  color: var(--deep);
}

.process-note {
  border-left-color: #cd4942;
  font-size: 12px;
  padding: 17px 20px;
}

.auction-grid {
  gap: 68px;
  grid-template-columns: 1fr 1fr;
}

.auction-grid h2 {
  max-width: 560px;
}

.auction-grid .intro {
  font-size: 16px;
  margin-top: 23px;
}

.auction-cta {
  margin-top: 30px;
}

.auction-card {
  border-radius: 18px;
  box-shadow: 0 20px 40px -28px #0a152338;
}

.auction-image {
  padding: 60px 70px 24px;
  background: linear-gradient(135deg, #eaf0f5, #d9e2eb);
}

.auction-image > .image-badge:first-child {
  color: white;
  background: var(--green);
}

.auction-image > .car {
  filter: drop-shadow(0 12px 8px #0a152317);
}

.auction-body {
  padding: 25px;
}

.auction-body > h3 {
  font-size: 22px;
}

.auction-body > p {
  font-size: 12px;
  margin: 5px 0 20px;
}

.bid {
  padding: 12px 14px;
  margin: 7px 0;
  border-radius: 10px;
}

.bid b {
  font-size: 15px;
}

.bid small {
  font-size: 11px;
  margin-top: 1px;
}

.bid > span {
  font-size: 10px;
}

.auction-total {
  margin-top: 19px;
  padding-top: 19px;
}

.auction-total strong {
  font-size: 28px;
}

.auction-stats {
  margin-top: 48px;
  border-radius: 18px;
}

.auction-stats > div {
  padding: 28px;
}

.auction-stats strong {
  font-size: 32px;
}

.auction-stats span {
  font:
    500 10px/1.6 Mono,
    monospace;
  text-transform: uppercase;
  margin-top: 12px;
}

.stats-note {
  font-size: 10px;
  color: #778593;
}

.report-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.report-intro {
  max-width: 800px;
  margin: 18px 0 0;
  font-size: 16px;
}

.report-grid {
  gap: 18px;
}

.gallery {
  border-radius: 18px;
  padding: 16px;
}

.gallery-main {
  aspect-ratio: 1.65;
  border-radius: 11px;
  background: linear-gradient(135deg, #eaf0f5, #d9e2eb);
}

.gallery-label {
  font-family: Inter, sans-serif;
  letter-spacing: 0;
  font-size: 11px;
}

.thumb {
  border-radius: 8px;
  min-height: 64px;
  font-size: 10px;
}

.report-summary {
  padding: 28px;
  border-radius: 18px;
}

.report-summary h3 {
  font-size: 26px;
  margin: 6px 0 20px;
}

.report-summary dl > div {
  font-size: 13px;
  padding: 11px 0;
}

.report-summary .fine {
  font:
    500 10px/1.5 Mono,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.report-indicators {
  margin: 23px 0;
  gap: 6px;
}

.report-indicators b {
  font-size: 23px;
}

.report-indicators span {
  font-size: 10px;
}

.report-summary .btn {
  min-height: 51px;
  font-size: 13px;
}

.report-details {
  gap: 14px;
  margin-top: 18px;
}

.detail-card {
  padding: 23px 20px;
  border-radius: 15px;
}

.detail-title h3 {
  font-size: 15px;
}

.detail-card li,
.paint p {
  font-size: 12px;
}

.tag {
  border-radius: 6px;
  font:
    500 8px/1.5 Mono,
    monospace;
  text-transform: uppercase;
}

#report > .container > .fine {
  margin-top: 18px;
  color: #70808f;
  font-size: 11px;
}

.faq-list {
  max-width: 1020px;
  margin: 32px 0 0;
}

.faq-list details {
  border-radius: 13px;
  padding: 20px 24px;
  margin: 9px 0;
}

.faq-list summary {
  font-size: 16px;
  min-height: 28px;
}

.faq-list details p {
  font-size: 14px;
  margin-top: 18px;
  line-height: 1.7;
  max-width: 920px;
}

.faq-list summary .faq-chevron {
  width: 22px;
  height: 22px;
  background: none;
  border-radius: 0;
  position: relative;
  color: var(--deep);
}

.faq-chevron:before {
  content: '';
  width: 8px;
  height: 8px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  position: absolute;
  left: 6px;
  top: 4px;
}

.faq-list details[open] summary .faq-chevron {
  transform: rotate(180deg);
  background: none;
  color: var(--deep);
}

.contacts {
  padding-top: 0;
}

.cta {
  background: radial-gradient(ellipse at 100% 0%, #1478ce55, transparent 65%), var(--ink);
  padding: 36px;
  border-radius: 20px;
  gap: 32px;
}

.cta-copy {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #1e3550;
  color: #8dccfc;
  font-size: 31px;
  flex: none;
}

.cta h2 {
  font-size: 25px;
  letter-spacing: -0.03em;
}

.cta p {
  color: #a9b8c9;
  font-size: 13px;
  margin-top: 9px;
  max-width: 720px;
}

.cta .btn {
  flex: none;
}

.contact-grid {
  gap: 14px;
  margin-top: 16px;
}

.contact {
  padding: 23px;
  border-radius: 14px;
}

.contact b {
  font-size: 16px;
}

.contact small {
  font-size: 11px;
}

.contact img,
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.phone-icon {
  background: var(--button);
}

footer {
  padding: 55px 0 26px;
}

footer .logo small {
  color: #93a4b5;
}

.footer-grid {
  gap: 65px;
}

.footer-grid p {
  font-size: 13px;
  line-height: 1.75;
  max-width: 440px;
}

.footer-grid h3 {
  font:
    500 10px/1.5 Mono,
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-grid > div > a:not(.logo),
.text-button {
  font-size: 12px;
  line-height: 1.6;
}

.footer-bottom {
  font-size: 10px;
  line-height: 1.8;
  padding-top: 22px;
  margin-top: 36px;
}

dialog {
  border-radius: 22px;
  padding: 30px;
  width: 520px;
}

dialog .close {
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

dialog h2 {
  font-size: 25px;
}

.progress {
  gap: 5px;
}

.progress span {
  height: 4px;
  border-radius: 5px;
}

.demo-note {
  background: #f4f7fa;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  padding: 10px 12px;
}

dialog .btn {
  min-height: 49px;
}

dialog input,
dialog textarea {
  border-radius: 10px;
}

.mobile-cta {
  box-shadow: 0 -4px 20px #0a152309;
}

.mobile-cta .btn {
  min-height: 48px;
  padding: 12px 20px;
}

@media (max-width: 1200px) {
  .container {
    width: calc(100% - 56px);
  }

  .header-inner {
    gap: 18px;
  }

  .header-inner nav {
    gap: 16px;
  }

  .header-inner nav a {
    font-size: 11px;
  }

  .header-phone {
    display: none;
  }

  .hero-content {
    padding: 35px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-facts > div {
    padding: 23px;
    gap: 12px;
  }

  .hero-facts strong {
    font-size: 26px;
  }

  .hero-facts span {
    font-size: 8px;
  }

  .hero-facts .fact-note {
    padding: 20px;
  }

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

  .quick-order .btn {
    grid-column: 1/-1;
  }

  .inspection {
    padding: 34px;
  }

  .inspection-price h2 {
    font-size: 32px;
  }

  .road {
    height: 670px;
  }

  .road-steps {
    grid-template-rows: repeat(3, 216px);
    inset: 40px 20px 0;
  }

  .road-delivery {
    top: 465px;
  }

  .step h3 {
    font-size: 14px;
  }

  .step p {
    font-size: 11px;
    max-width: 210px;
  }

  .auction-grid {
    gap: 40px;
  }

  .auction-grid .intro {
    font-size: 15px;
  }

  .auction-image {
    padding: 60px 45px 24px;
  }

  .report-summary {
    padding: 23px;
  }

  .report-summary h3 {
    font-size: 23px;
  }

  .report-summary dl > div {
    font-size: 12px;
  }

  .detail-title {
    align-items: flex-start;
  }

  .detail-title h3 {
    font-size: 14px;
  }

  .detail-card {
    padding: 20px 17px;
  }

  .cta h2 {
    font-size: 23px;
  }

  .cta {
    padding: 30px;
  }
}

@media (min-width: 901px) and (max-width: 1050px) {
  .hero-content {
    padding: 30px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 44px;
    margin: 23px 0;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions .btn {
    padding: 15px 20px;
    font-size: 12px;
  }

  .hero-facts > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px;
  }

  .hero-facts strong {
    font-size: 27px;
  }

  .hero-facts span br {
    display: none;
  }

  .hero-facts span {
    font-size: 8px;
  }

  .hero-facts .fact-note {
    display: flex;
    justify-content: center;
  }

  .fact-note p {
    font-size: 11px;
  }

  .inspection {
    gap: 24px;
  }

  .price strong {
    font-size: 44px;
  }

  .price del {
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 76px;
    justify-content: space-between;
  }

  .header-inner nav {
    display: none;
  }

  .header-phone {
    display: block;
    margin-left: auto;
  }

  .header-inner > .btn {
    min-height: 44px;
  }

  .hero {
    padding: 24px 0 35px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .hero-content {
    padding: 40px;
  }

  .hero-lead {
    max-width: 650px;
    font-size: 19px;
  }

  .hero h1 {
    font-size: 64px;
    margin: 27px 0;
  }

  .hero-description {
    max-width: 650px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 26px;
  }

  .hero-actions .btn {
    font-size: 14px;
  }

  .hero-visual {
    height: 440px;
  }

  .hero-visual > img {
    object-position: 50% 65%;
  }

  .visual-top {
    top: 25px;
  }

  .visual-caption {
    bottom: 25px;
  }

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

  .hero-facts > div {
    padding: 25px 30px;
    border-right: 1px solid #ffffff12;
  }

  .hero-facts > div:nth-child(2n) {
    border-right: 0;
  }

  .hero-facts > div:nth-child(n + 3) {
    border-top: 1px solid #ffffff12;
  }

  .hero-facts strong {
    font-size: 30px;
  }

  .hero-facts span {
    font-size: 9px;
  }

  .hero-facts .fact-note {
    padding: 23px 30px;
  }

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

  .quick-order .btn {
    font-size: 14px;
  }

  .quick-order label {
    font-size: 10px;
  }

  .purchase-heading {
    display: block;
  }

  .purchase-heading .text-link {
    margin-top: 15px;
  }

  .purchase .intro {
    font-size: 16px;
  }

  .purchase .intro br {
    display: none;
  }

  .trade-example-grid {
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
    gap: 12px;
    max-width: none;
  }

  .trade-direction {
    width: 38px;
    height: 38px;
    font-size: 22px;
    transform: none;
  }

  .trade-car-image {
    padding: 48px 20px 22px;
    aspect-ratio: 1.85;
  }

  .trade-car-body {
    padding: 22px;
  }

  .trade-car-body h3 {
    font-size: 20px;
  }

  .trade-car-body > strong {
    font-size: 27px;
  }

  .trade-car-body > p {
    font-size: 12px;
  }

  #benefits .section-heading p {
    font-size: 15px;
  }

  .benefit {
    padding: 25px;
  }

  .benefit h3 {
    font-size: 18px;
  }

  .inspection-section {
    padding: 0 0 72px;
  }

  .inspection {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px;
  }

  .inspection-price h2 {
    max-width: 660px;
    font-size: 35px;
  }

  .inspection .price {
    margin: 25px 0 15px;
  }

  .price strong {
    font-size: 50px;
  }

  .inspection-list li {
    padding: 19px;
  }

  .inspection-list h3 {
    font-size: 16px;
  }

  .inspection-list p {
    font-size: 13px;
  }

  #process {
    padding-top: 0;
  }

  #process .section-heading {
    align-items: flex-start;
    gap: 22px;
  }

  .road {
    height: auto;
    padding: 32px;
    margin-top: 25px;
  }

  .road-steps {
    position: static;
  }

  .road-label {
    display: none;
  }

  .step-icon {
    margin: 0;
    width: 54px;
    height: 54px;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .step.client .step-icon {
    width: 46px;
    height: 46px;
  }

  .step h3 {
    font-size: 17px;
  }

  .step p {
    font-size: 14px;
    max-width: none;
  }

  .finish {
    position: static;
  }

  .finish > span {
    width: 54px;
    height: 54px;
    margin: 0;
  }

  .finish h3 {
    font-size: 17px;
  }

  .decision-note {
    font-size: 11px;
  }

  .legend {
    font-size: 9px;
  }

  .auction-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .auction-grid h2 {
    max-width: 650px;
    font-size: 37px;
  }

  .auction-grid > div:first-child {
    max-width: 740px;
  }

  .auction-card {
    max-width: 620px;
    justify-self: center;
    width: 100%;
  }

  .auction-grid .intro {
    font-size: 16px;
  }

  .auction-image {
    padding: 60px 70px 24px;
  }

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

  .auction-stats > div:nth-child(3) {
    border-left: 0;
  }

  .auction-stats > div:nth-child(n + 3) {
    border-top: 1px solid #243448;
  }

  .report-heading {
    display: block;
  }

  .report-heading .text-link {
    margin-top: 12px;
  }

  .report-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .report-summary {
    padding: 28px;
  }

  .report-summary h3 {
    font-size: 27px;
  }

  .report-summary dl > div {
    font-size: 15px;
  }

  .report-indicators span {
    font-size: 11px;
  }

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

  .detail-title h3 {
    font-size: 16px;
  }

  .detail-card {
    padding: 24px;
  }

  .detail-card li,
  .paint p {
    font-size: 13px;
  }

  .contacts {
    padding-top: 0;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 24px;
  }

  .cta h2 {
    font-size: 27px;
  }

  .cta p {
    font-size: 14px;
  }

  .cta > .btn {
    margin-left: 74px;
  }

  .contact {
    padding: 20px 14px;
    gap: 12px;
  }

  .contact b {
    font-size: 13px;
  }

  .contact small {
    font-size: 10px;
  }

  .contact img,
  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .footer-grid {
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 58px 0;
  }

  h2 {
    font-size: 30px;
  }

  .eyebrow {
    font-size: 10px;
    margin-bottom: 16px;
  }

  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .header-phone {
    display: none;
  }

  .header-inner > .btn {
    padding: 11px 16px;
    font-size: 11px;
  }

  .logo {
    gap: 8px;
  }

  .logo img {
    width: 34px;
    height: 34px;
  }

  .logo b {
    font-size: 17px;
  }

  .logo small {
    font-size: 6px;
  }

  .hero {
    padding: 18px 0 28px;
  }

  .hero-panel {
    border-radius: 17px;
  }

  .hero-content {
    padding: 28px 24px 29px;
  }

  .hero .eyebrow {
    font-size: 8px;
    margin-bottom: 20px;
    letter-spacing: 0.07em;
    gap: 7px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: clamp(34px, 8.8vw, 49px);
    margin: 25px 0;
    line-height: 1.05;
  }

  .hero h1 em {
    border-radius: 5px;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    padding: 14px 15px;
    font-size: 12px;
    gap: 12px;
  }

  .hero-link {
    font-size: 12px;
  }

  .hero-visual {
    height: 320px;
  }

  .hero-visual > img {
    object-position: 50% 63%;
  }

  .visual-top {
    top: 20px;
    left: 20px;
    right: 20px;
    font-size: 7px;
    gap: 12px;
  }

  .visual-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
    gap: 11px;
  }

  .visual-caption p {
    font-size: 10px;
  }

  .visual-caption b {
    font-size: 13px;
  }

  .visual-line {
    height: 35px;
  }

  .visual-arrow {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  .hero-facts > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 20px;
  }

  .hero-facts strong {
    font-size: 27px;
  }

  .hero-facts span {
    font-size: 8px;
  }

  .hero-facts span br {
    display: none;
  }

  .hero-facts .fact-note {
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 4px;
  }

  .fact-note b {
    font-size: 8px;
    margin: 0;
  }

  .fact-note p {
    font-size: 10px;
    line-height: 1.6;
  }

  .hero-footnote {
    font-size: 9px;
    margin: 12px 2px 0;
  }

  .quick-order-wrap {
    margin-top: 22px;
  }

  .quick-order {
    padding: 19px;
    gap: 15px 12px;
  }

  .quick-order label {
    font-size: 9px;
  }

  .quick-order input {
    padding: 12px 10px;
  }

  .quick-order .btn {
    font-size: 12px;
    padding: 13px 12px;
  }

  .eligibility-strip {
    font-size: 10px;
    gap: 6px;
    padding-top: 16px;
  }

  .eligibility-strip > b {
    width: 100%;
    font-size: 11px;
    margin-bottom: 4px;
  }

  .eligibility-strip > span {
    font-size: 9px;
    padding: 7px 9px;
  }

  .purchase-heading {
    margin-bottom: 25px;
  }

  .purchase-heading h2 {
    max-width: 370px;
    font-size: 31px;
  }

  .purchase-heading h2 span {
    display: inline;
  }

  .purchase .intro {
    font-size: 14px;
    line-height: 1.7;
  }

  .purchase-heading .text-link {
    font-size: 13px;
    margin-top: 12px;
  }

  .trade-example-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .trade-direction {
    transform: rotate(90deg);
    width: 40px;
    height: 40px;
  }

  .trade-car-image {
    aspect-ratio: 1.95;
    padding: 50px 28px 21px;
  }

  .trade-car-body {
    padding: 23px;
  }

  .trade-car-body h3 {
    font-size: 22px;
  }

  .trade-car-body > strong {
    font-size: 30px;
  }

  .trade-car-body > p {
    font-size: 12px;
  }

  .trade-disclaimer {
    font-size: 10px;
    margin-top: 16px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit {
    padding: 25px;
  }

  .benefit h3 {
    font-size: 19px;
  }

  .benefit p {
    font-size: 14px;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
  }

  .benefit-top {
    margin-bottom: 16px;
  }

  #benefits .section-heading {
    margin-bottom: 26px;
  }

  #benefits .section-heading p {
    font-size: 14px;
  }

  .inspection-section {
    padding: 0 0 58px;
  }

  .inspection {
    padding: 27px 23px;
    border-radius: 17px;
    gap: 26px;
  }

  .inspection-price h2 {
    font-size: 30px;
  }

  .inspection-price .eyebrow {
    font-size: 9px;
  }

  .price strong {
    font-size: 44px;
  }

  .price del {
    font-size: 17px;
  }

  .inspection .price {
    gap: 12px;
    margin: 27px 0 15px;
  }

  .discount {
    font-size: 10px;
    padding: 7px;
  }

  .inspection-price > p:not(.eyebrow) {
    font-size: 11px;
  }

  .inspection-price .btn {
    width: 100%;
    font-size: 13px;
    margin-top: 22px;
  }

  .inspection-list {
    gap: 9px;
  }

  .inspection-list li {
    padding: 15px 13px;
    gap: 10px;
  }

  .inspection-list li:before {
    width: 26px;
    height: 26px;
    font-size: 9px;
  }

  .inspection-list h3 {
    font-size: 14px;
  }

  .inspection-list p {
    font-size: 11px;
  }

  #process {
    padding-top: 0;
  }

  #process h2 {
    font-size: 29px;
  }

  #process h2 br {
    display: none;
  }

  .legend {
    font-size: 8px;
    gap: 12px;
  }

  .road {
    padding: 27px 20px;
    margin-top: 25px;
    border-radius: 17px;
  }

  .step h3 {
    font-size: 16px;
  }

  .step p {
    font-size: 12px;
  }

  .step-icon {
    width: 48px;
    height: 48px;
  }

  .step-icon svg {
    width: 22px;
    height: 22px;
  }

  .step.client .step-icon {
    width: 42px;
    height: 42px;
  }

  .finish > span {
    width: 48px;
    height: 48px;
  }

  .finish h3 {
    font-size: 15px;
  }

  .process-note {
    font-size: 11px;
    padding: 14px 15px;
  }

  .auction-grid {
    gap: 28px;
  }

  .auction-grid h2 {
    font-size: 31px;
  }

  .auction-grid .intro {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 19px;
  }

  .auction-cta {
    font-size: 13px;
    margin-top: 25px;
  }

  .auction-image {
    padding: 56px 30px 24px;
  }

  .auction-body {
    padding: 22px;
  }

  .auction-body > p {
    font-size: 11px;
  }

  .bid {
    padding: 12px;
  }

  .bid b {
    font-size: 14px;
  }

  .bid small {
    font-size: 10px;
  }

  .bid > span {
    font-size: 8px;
  }

  .auction-total strong {
    font-size: 25px;
  }

  .auction-total > div span {
    font-size: 10px;
  }

  .auction-stats {
    margin-top: 30px;
  }

  .auction-stats > div {
    padding: 22px 19px;
  }

  .auction-stats strong {
    font-size: 28px;
  }

  .auction-stats span {
    font-size: 8px;
    margin-top: 8px;
  }

  .stats-note {
    font-size: 9px;
  }

  .report-intro {
    font-size: 14px;
    line-height: 1.7;
  }

  .report-heading {
    margin-bottom: 26px;
  }

  .report-heading .text-link {
    font-size: 13px;
  }

  .report-grid {
    gap: 14px;
  }

  .gallery {
    padding: 13px;
    border-radius: 16px;
  }

  .gallery-main {
    aspect-ratio: 1.5;
  }

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

  .thumb {
    min-height: 60px;
    font-size: 10px;
  }

  .more-photos {
    font-size: 19px;
  }

  .gallery-label {
    font-size: 9px;
  }

  .report-summary {
    padding: 24px 21px;
    border-radius: 16px;
  }

  .report-summary h3 {
    font-size: 23px;
    margin: 8px 0 17px;
  }

  .report-summary dl > div {
    font-size: 12px;
  }

  .report-summary dl > div:first-child {
    flex-direction: column;
    gap: 5px;
  }

  .report-summary dl > div:first-child dd {
    text-align: left;
  }

  .report-indicators {
    gap: 4px;
    margin: 19px 0 23px;
  }

  .report-indicators b {
    font-size: 22px;
  }

  .report-indicators span {
    font-size: 8px;
  }

  .report-summary .btn {
    font-size: 11px;
    padding: 13px;
    min-height: 48px;
  }

  .report-details {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .detail-card {
    padding: 24px;
  }

  .detail-title h3 {
    font-size: 17px;
  }

  .detail-card li,
  .paint p {
    font-size: 13px;
  }

  .tag {
    font-size: 9px;
  }

  .paint-map {
    width: 76px;
  }

  .paint-map span {
    font-size: 7px;
  }

  .paint p {
    max-width: 210px;
  }

  #report > .container > .fine {
    font-size: 10px;
  }

  .faq-list {
    margin-top: 25px;
  }

  .faq-list details {
    padding: 19px 20px;
  }

  .faq-list summary {
    font-size: 14px;
    gap: 18px;
  }

  .faq-list details p {
    font-size: 13px;
    padding: 0;
    margin-top: 17px;
  }

  .contacts {
    padding-top: 0;
  }

  .cta {
    padding: 27px 24px;
    gap: 23px;
    border-radius: 17px;
  }

  .cta-copy {
    align-items: flex-start;
    gap: 16px;
  }

  .cta-icon {
    display: none;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta p {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 15px;
  }

  .cta > .btn {
    margin: 0;
    width: 100%;
    font-size: 13px;
  }

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

  .contact {
    padding: 22px;
    gap: 16px;
  }

  .contact b {
    font-size: 16px;
  }

  .contact small {
    font-size: 11px;
  }

  .contact img,
  .contact-icon {
    width: 40px;
    height: 40px;
  }

  footer {
    padding: 38px 0 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .footer-grid h3 {
    margin-bottom: 13px;
  }

  .footer-grid > div > a:not(.logo),
  .text-button {
    font-size: 12px;
  }

  .footer-grid p {
    font-size: 12px;
    max-width: 440px;
  }

  .footer-bottom {
    font-size: 9px;
    margin-top: 28px;
    padding-top: 22px;
  }

  dialog {
    padding: 25px 20px;
    border-radius: 19px;
    width: calc(100% - 32px);
    max-width: 500px;
  }

  dialog h2 {
    font-size: 23px;
  }

  .demo-note {
    font-size: 10px;
  }

  .mobile-cta {
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .header-inner > .btn {
    padding: 10px 13px;
    font-size: 10px;
    min-width: 109px;
  }

  .header-inner .logo b {
    font-size: 14px;
  }

  .header-inner .logo b span {
    display: block;
  }

  .header-inner .logo small {
    display: none;
  }

  .header-inner .logo img {
    width: 31px;
    height: 31px;
  }

  .hero-content {
    padding: 26px 21px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero .eyebrow {
    font-size: 7px;
  }

  .hero-actions .btn {
    font-size: 11px;
    gap: 9px;
    padding: 13px 11px;
  }

  .hero-visual {
    height: 285px;
  }

  .hero-facts > div,
  .hero-facts .fact-note {
    padding: 18px 16px;
  }

  .hero-facts strong {
    font-size: 25px;
  }

  .hero-facts span {
    font-size: 7px;
  }

  .quick-order {
    grid-template-columns: 1fr;
  }

  .quick-order .btn {
    font-size: 11px;
  }

  .inspection {
    padding: 26px 21px;
  }

  .inspection-price h2 {
    font-size: 28px;
  }

  .price strong {
    font-size: 40px;
  }

  .price del {
    font-size: 15px;
  }

  .inspection .price {
    gap: 9px;
  }

  .discount {
    font-size: 9px;
  }

  .auction-total strong {
    font-size: 22px;
  }

  .auction-stats strong {
    font-size: 25px;
  }

  .auction-stats > div {
    padding: 20px 16px;
  }

  .report-summary {
    padding: 22px 18px;
  }

  .report-summary h3 {
    font-size: 21px;
  }

  .report-summary dl > div {
    font-size: 11px;
  }

  .report-summary .fine {
    font-size: 9px;
  }

  .report-indicators span {
    font-size: 7px;
  }

  .report-summary .btn {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

.trade-car-image,
.auction-image {
  padding: 0;
  aspect-ratio: 1.65;
  background: #e7eaed;
}

.example-car {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 1201px) {
  .step-icon {
    margin-top: 42px;
  }

  .step.client .step-icon {
    margin-top: 49px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .step-icon {
    margin-top: 40px;
  }

  .step.client .step-icon {
    margin-top: 47px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .cta > .btn {
    width: auto;
  }
}

@media (min-width: 1101px) {
  .header-inner nav a {
    font-size: 13px;
  }

  .header-inner > .btn {
    font-size: 14px;
  }

  .eligibility-strip {
    font-size: 12px;
  }

  .eligibility-strip > span,
  .contribution-legend {
    font-size: 11px;
  }

  .auction-image > .image-badge {
    font-size: 10px;
  }
}

@media (min-width: 1201px) {
  .header-inner nav a {
    font-size: 15px;
  }

  .hero-facts span {
    font-size: 10px;
  }

  .quick-order label {
    font-size: 10px;
  }
}

.cta-copy {
  min-width: 0;
  max-width: 100%;
  flex: 1;
}

.cta-copy > div {
  min-width: 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-height: 44px;
  border-radius: 5px;
}

.header-brand img {
  width: 36px;
  height: 36px;
  flex: none;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.header-brand-name {
  font-family: Grotesk, Inter, system-ui, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #0f1720;
}

.header-brand-name > span {
  color: var(--accent);
}

.header-brand-domain {
  font-family: Mono, monospace;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.16em;
  color: #8b99a7;
  white-space: nowrap;
}

.header-brand:hover .header-brand-domain {
  color: #193fa7;
}

.header-inner nav {
  margin-left: auto;
}

.header-inner > .btn {
  white-space: nowrap;
  flex: none;
}

@media (max-width: 900px) {
  .header-inner > .btn {
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  .header-brand-name {
    font-size: 0.96rem;
  }

  .header-brand img {
    width: 32px;
    height: 32px;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .header-inner > .btn {
    display: none;
  }
}

@media (max-width: 400px) {
  .header-brand-name {
    font-size: 0.88rem;
  }

  .header-brand img {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 340px) {
  .header-brand {
    gap: 6px;
  }

  .header-brand-name {
    font-size: 0.82rem;
  }
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d0e6f8;
  border-radius: 50%;
  background: var(--soft);
  color: var(--deep);
  flex: none;
  transition: background 150ms ease, border-color 150ms ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded='true'] {
  background: #d9edfc;
  border-color: #91c6ee;
}

.menu-dialog {
  inset: max(12px, env(safe-area-inset-top)) 12px auto auto;
  width: min(420px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px - env(safe-area-inset-top));
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  scrollbar-gutter: auto;
  box-shadow: 0 24px 70px #0a15233d;
}

.menu-dialog[open] {
  animation: menu-enter 180ms ease-out;
}

.menu-dialog::backdrop {
  background: #0a152380;
  backdrop-filter: blur(3px);
}

.menu-heading {
  position: sticky;
  top: 0;
  z-index: 1;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.menu-heading:focus {
  outline: none;
}

.menu-dialog .menu-close {
  position: static;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid #d0e6f8;
  border-radius: 50%;
  background: var(--soft);
  color: var(--deep);
}

.menu-dialog .menu-close:hover {
  background: #d9edfc;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.4;
}

.menu-links a > span:last-child {
  color: var(--deep);
  font-size: 20px;
  font-weight: 400;
}

.menu-links a:hover,
.menu-links a:focus-visible {
  background: var(--soft);
  color: var(--deep);
}

.menu-footer {
  margin-top: 19px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.menu-footer .btn {
  min-height: 50px;
  font-size: 13px;
}

.menu-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.menu-dialog .menu-hours {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.menu-messengers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.menu-messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
}

.menu-messengers a:hover {
  background: var(--paper);
}

.menu-messengers img {
  flex: none;
}

@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .header-inner nav,
  .header-phone {
    display: none;
  }

  .header-inner > .btn {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .menu-toggle {
    margin-left: auto;
  }

  .menu-dialog {
    padding: 20px;
    border-radius: 18px;
  }

}

@media (max-height: 650px) {
  .menu-dialog {
    padding: 16px;
  }

  .menu-heading {
    margin-bottom: 8px;
  }

  .menu-links a {
    min-height: 44px;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 15px;
  }

  .menu-footer {
    margin-top: 14px;
    padding-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-dialog[open] {
    animation: none;
  }
}
