:root {
  color-scheme: dark;
  --background: #111112;
  --panel: #19191b;
  --text: #f4f2ef;
  --muted: #b1ada8;
  --line: #353435;
  --accent: #ff703b;
  --width: 1232px;
  font-family: Manrope, 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(var(--width), calc(100% - 112px)); margin-inline: auto; }
.accent { color: var(--accent); }
.skip { position: fixed; top: 12px; left: 12px; padding: 12px 18px; z-index: 4; background: var(--accent); color: #12100f; transform: translateY(-200%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid #ffffff15; background: #111112; }
.header-inner { min-height: 79px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; width: fit-content; align-items: center; gap: 13px; white-space: nowrap; font-size: 21px; font-weight: 800; letter-spacing: -.055em; }
.wordmark-accent { color: var(--accent); }
.mark { display: inline-block; position: relative; width: 21px; height: 21px; transform: skewX(-18deg); }
.mark::before, .mark::after { content: ''; position: absolute; top: 0; bottom: 0; background: var(--accent); }
.mark::before { left: 4px; width: 7px; }
.mark::after { left: 14px; width: 4px; }
.nav { display: flex; gap: clamp(20px, 3.1vw, 44px); align-items: center; font-size: 14px; font-weight: 700; color: #c1bdba; }
.nav a:hover, .back-link:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 52px; padding: 12px 19px; border: 1px solid transparent; border-radius: 4px; font-weight: 800; font-size: 14px; line-height: 1.25; transition: background-color .18s, border-color .18s, color .18s; }
.button span { font-size: 19px; line-height: 1; }
.button-outline { border-color: #575251; background: transparent; color: var(--text); }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.header-action { justify-self: end; min-height: 43px; padding: 9px 13px; }
.button-primary { background: var(--accent); color: #15100e; }
.button-primary:hover { background: #ff9068; }
.button-primary:focus-visible { outline-color: var(--text); }
.button-quiet { color: var(--text); }
.button-quiet:hover { background: #ffffff13; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #151516; }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 10%; background: #151516 url('./assets/hero.jpg') right 58% / cover no-repeat; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #111112 0%, #111112eb 17%, #111112a8 37%, #1111120a 64%), linear-gradient(0deg, #11111291 0%, transparent 28%); }
.hero-inner { min-height: clamp(580px, 45vw, 700px); display: flex; align-items: center; padding-block: 70px 80px; }
.hero-copy { max-width: 825px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; line-height: 1.5; }
.signal { width: 7px; height: 7px; background: var(--accent); transform: skewX(-18deg); }
h1, h2 { font-weight: 800; letter-spacing: -.065em; line-height: 1.02; }
h1 { font-size: clamp(56px, 6.2vw, 98px); margin-block: 19px 23px; }
h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 435px; font-size: 16px; color: #d5d0cc; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 31px; }

.brands { border-block: 1px solid var(--line); background: #151516; }
.brands-inner { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 83px; align-items: stretch; }
.brand { display: grid; place-items: center; min-width: 0; padding: 14px 7px; color: #c6c2be; font-size: clamp(14px, 1.7vw, 22px); font-weight: 800; letter-spacing: -.035em; border-right: 1px solid #ffffff12; }
.brand:first-child { border-left: 1px solid #ffffff12; }
.section { padding-block: 98px; }
.section h2, .reading h2, .request h2 { font-size: clamp(44px, 5vw, 72px); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-block: 14px 32px; }
.section-intro p, .reading p:not(.eyebrow), .request p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.65; }
.section-intro p { max-width: 330px; padding-bottom: 3px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-card { display: flex; flex-direction: column; padding: 28px 30px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.service-icon { display: inline-grid; place-items: center; width: 47px; height: 47px; border: 1px solid #7b402d; background: #251d19; color: var(--accent); border-radius: 5px; }
.engine-icon i { position: relative; width: 21px; height: 13px; border: 2px solid; border-radius: 3px; }
.engine-icon i::before, .engine-icon i::after { content: ''; position: absolute; background: currentColor; }
.engine-icon i::before { width: 12px; height: 2px; left: 2px; top: -6px; box-shadow: 0 3px 0 -0.4px; }
.engine-icon i::after { width: 2px; height: 8px; top: 1px; right: -5px; box-shadow: -23px 0; }
.gearbox-icon i { width: 21px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; border-inline: 2px solid; }
.service-label { color: #b1aba6; font: 600 12px ui-monospace, Consolas, monospace; letter-spacing: .11em; }
.service-card h3 { font-size: clamp(24px, 2.5vw, 33px); font-weight: 800; letter-spacing: -.052em; }
.service-card p { max-width: 460px; margin-block: 9px 23px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.text-link { width: fit-content; margin-top: auto; color: var(--accent); font-size: 14px; font-weight: 800; }
.text-link span, .back-link span { padding-left: 5px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.results { margin-top: clamp(48px, 6vw, 82px); }
.results h3 { font-size: clamp(32px, 4vw, 54px); font-weight: 800; letter-spacing: -.06em; line-height: 1.1; }
.results-intro { max-width: 620px; margin-top: 12px; color: var(--muted); line-height: 1.65; }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); margin-top: 28px; }
.results-group h4 { margin: 0; padding-block: 0 12px; border-bottom: 1px solid #6d4335; font-size: 23px; letter-spacing: -.035em; }
.results-list { margin: 0; padding: 0; list-style: none; }
.results-list li { padding-block: 17px; border-bottom: 1px solid var(--line); }
.results-list strong { display: block; font-size: 16px; line-height: 1.4; }
.results-list p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.results-sources { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
.results-sources a { padding-block: 3px; color: var(--accent); font-size: 13px; font-weight: 700; }
.results-sources a:hover { text-decoration: underline; text-underline-offset: 4px; }

.reading { border-block: 1px solid var(--line); background: #181719; }
.reading-inner, .faq, .request-inner { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(34px, 7vw, 110px); }
.reading-inner { align-items: center; padding-block: 80px; }
.reading h2, .faq h2, .request h2 { margin-top: 13px; }
.reading p:not(.eyebrow), .request p:not(.eyebrow) { max-width: 420px; margin-top: 18px; }
.reading-links { display: grid; gap: 12px; }
.reading-links a { padding: 18px 19px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border: 1px solid #4b4240; border-radius: 5px; transition: background .18s, border-color .18s; }
.reading-links a:hover { border-color: var(--accent); background: #251d19; }
.reading-links strong, .reading-links small { display: block; }
.reading-links small { color: var(--muted); font-size: 13px; margin-top: 5px; }
.link-arrow { font-size: 23px; color: var(--accent); }
.faq-items { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; gap: 16px; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; padding-block: 17px; font-size: 16px; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { padding: 0 20px 18px 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.request { border-block: 1px solid #543427; background: radial-gradient(ellipse at 0 100%, #2a1c17, #1a1717 65%); }
.request-inner { padding-block: 78px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.form-grid label, .message label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; min-width: 0; color: var(--text); background: #141313; border: 1px solid #524745; border-radius: 4px; padding: 11px 10px; font-size: 16px; font-weight: 500; }
input, select { min-height: 47px; }
select:disabled { opacity: .55; }
.button:disabled { opacity: .55; cursor: default; }
input::placeholder { color: #a8a09a; opacity: 1; }
textarea { resize: vertical; line-height: 1.5; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; }
.request .form-actions p, .request .copy-status { margin: 0; font-size: 13px; }
.message { margin-top: 20px; display: grid; justify-items: start; gap: 10px; }
.copy-status:empty { display: none; }
.footer-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.back-link { color: var(--muted); font-size: 14px; font-weight: 700; }

@media (max-width: 970px) {
  .wrap { width: calc(100% - 72px); }
  .hero-photo { left: 0; background-position: 63% 55%; }
  .hero-inner { min-height: 565px; }
  .section { padding-block: 74px; }
  .reading-inner, .request-inner { padding-block: 66px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; padding-top: 13px; }
  .wordmark { font-size: 19px; gap: 8px; }
  .header-action { min-height: 37px; font-size: 12px; gap: 7px; padding-inline: 9px; }
  .nav { order: 1; width: 100%; justify-content: flex-start; gap: 24px; min-height: 45px; font-size: 13px; }
  .hero-inner { align-items: flex-start; padding-block: 34px 210px; min-height: 0; }
  .hero-photo { top: auto; height: 310px; background-position: 76% 75%; }
  .hero-photo::after { background: linear-gradient(180deg, #151516 0%, #15151615 44%, transparent 74%, #11111233 100%); }
  h1 { font-size: clamp(45px, 9.7vw, 64px); margin-block: 12px 15px; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 5px 8px; margin-top: 20px; }
  .hero-actions .button { min-height: 44px; padding: 10px 11px; gap: 8px; font-size: 12px; }
  .brands-inner { min-height: 61px; }
  .brand:first-child { border-left: 0; }
  .brand:last-child { border-right: 0; }
  .section, .reading-inner, .request-inner { padding-block: 53px; }
  .section-intro { display: block; margin-bottom: 22px; }
  .section-intro p { margin-top: 12px; }
  .service-grid, .results-grid, .reading-inner, .faq, .request-inner { grid-template-columns: 1fr; }
  .reading-inner, .faq, .request-inner { gap: 25px; }
  .service-card { padding: 20px; }
  .service-top { margin-bottom: 16px; }
  .reading h2 br, .faq h2 br { display: none; }
  .footer-inner { min-height: 72px; }
}

@media (max-width: 480px) {
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 385px) {
  .brand { padding-inline: 3px; font-size: 13px; }
  h1 { font-size: clamp(36px, 10.6vw, 45px); }
}

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