:root {
  --md-black: #050505;
  --md-ink: #111318;
  --md-muted: #5b6472;
  --md-line: #dce1e8;
  --md-soft: #f5f7fa;
  --md-white: #ffffff;
  --md-blue: #243882;
  --md-blue-bright: #0066ff;
  --md-shadow: 0 24px 60px rgba(17, 19, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--md-white);
  color: var(--md-ink);
  font-family: Inter, "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--md-blue);
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--md-white);
  color: var(--md-black);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  gap: 24px;
}

.site-logo img {
  display: block;
  max-height: 56px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--md-white);
}

.site-nav__login,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav__login {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--md-white) !important;
}

.site-nav__login:hover {
  border-color: var(--md-blue-bright);
  background: var(--md-blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: transparent;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--md-white);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(100vh - 82px));
  overflow: hidden;
  background: var(--md-black);
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.86) 42%, rgba(5, 5, 5, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.88)),
    url("https://upload.wikimedia.org/wikipedia/commons/b/bd/2022_-_Peugeot_308_III_%28C%29_-_065.jpg") right center / cover no-repeat;
  transform: scale(1.01);
}

.hero__content {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 96px;
  color: var(--md-white);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--md-blue-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--md-white);
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

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

.button {
  border: 1px solid transparent;
}

.button--primary {
  background: var(--md-blue);
  color: var(--md-white);
}

.button--primary:hover {
  background: var(--md-blue-bright);
  color: var(--md-white);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--md-white);
}

.button--ghost:hover {
  border-color: var(--md-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--md-white);
}

.button--outline {
  border-color: var(--md-blue);
  background: var(--md-white);
  color: var(--md-blue);
}

.button--outline:hover {
  background: var(--md-blue);
  color: var(--md-white);
}

.section {
  padding: 92px 0;
}

.section__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section--dark {
  background: var(--md-black);
  color: var(--md-white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 330px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.24);
}

.feature-card span {
  display: block;
  margin-bottom: 56px;
  color: var(--md-blue-bright);
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 14px;
  color: var(--md-white);
  font-size: 24px;
  line-height: 1.16;
}

.feature-card p,
.section--dark p {
  color: rgba(255, 255, 255, 0.76);
}

.section--split {
  background: var(--md-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}

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

.process-list div {
  padding: 24px 26px;
  border: 1px solid var(--md-line);
  border-radius: 6px;
  background: var(--md-white);
  box-shadow: 0 14px 32px rgba(17, 19, 24, 0.06);
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--md-black);
  font-size: 18px;
}

.process-list p {
  margin: 0;
  color: var(--md-muted);
}

.plugin-showcase {
  overflow: hidden;
  background: var(--md-white);
}

.plugin-showcase__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 68px;
  align-items: center;
}

.plugin-showcase__content > p:not(.eyebrow) {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--md-muted);
  font-size: 18px;
}

.plugin-points {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.plugin-points div {
  padding: 20px 22px;
  border: 1px solid var(--md-line);
  border-radius: 6px;
  background: var(--md-soft);
}

.plugin-points strong,
.plugin-points span {
  display: block;
}

.plugin-points strong {
  color: var(--md-black);
  font-size: 17px;
}

.plugin-points span {
  margin-top: 4px;
  color: var(--md-muted);
}

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

.mot-widget-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--md-black);
  box-shadow: var(--md-shadow);
}

.mot-widget-preview__bar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mot-widget-preview__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.mot-widget-preview__body {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(36, 56, 130, 0.28), rgba(0, 102, 255, 0.08)),
    var(--md-black);
}

.mot-widget-preview__label {
  margin: 0 0 14px;
  color: var(--md-white);
  font-size: 24px;
  font-weight: 900;
}

.mot-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 18px;
}

.mot-search span,
.mot-search strong {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-radius: 4px;
  font-weight: 900;
}

.mot-search span {
  padding: 0 16px;
  background: var(--md-white);
  color: var(--md-black);
  font-size: 22px;
  letter-spacing: 0.08em;
}

.mot-search strong {
  justify-content: center;
  padding: 0 18px;
  background: var(--md-blue);
  color: var(--md-white);
  white-space: nowrap;
}

.mot-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mot-summary-grid div,
.mot-history div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
}

.mot-summary-grid div {
  padding: 14px;
}

.mot-summary-grid span,
.mot-history span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mot-summary-grid strong,
.mot-history strong {
  display: block;
  color: var(--md-white);
}

.mot-summary-grid .status-pass {
  color: #78f2a7;
}

.mot-history {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mot-history div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}

.brand-strip {
  padding: 54px 0;
}

.brand-strip__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.brand-strip__logos img,
.brand-strip__logos span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--md-line);
  border-radius: 6px;
  background: var(--md-white);
  color: var(--md-ink);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.brand-strip__logos img {
  max-height: 112px;
  width: 100%;
  object-fit: contain;
}

.cta {
  background: linear-gradient(135deg, #050505 0%, #101522 55%, #18224d 100%);
  color: var(--md-white);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-footer {
  padding: 34px 0;
  background: var(--md-black);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 24px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--md-white);
}

.site-footer p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer__legal a {
  color: var(--md-white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal a:hover {
  color: #9fb7ff;
}

.page-content {
  padding: 120px 0;
}

.page-content__inner {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.page-content h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: var(--md-black);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__menu {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-grid,
  .brand-strip__logos,
  .plugin-showcase__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .mot-search {
    grid-template-columns: 1fr;
  }

  .cta__inner,
  .site-footer__inner,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header__inner,
  .section__inner,
  .hero__content,
  .site-footer__inner,
  .page-content__inner {
    width: min(100% - 28px, 1180px);
  }

  .site-logo img {
    max-height: 44px;
  }

  .hero {
    min-height: 680px;
  }

  .section {
    padding: 68px 0;
  }
}
