/* RSDiag homepage: open automotive layout, shared carbon and wedge buttons. */
.home-editorial { --ed-width: 1280px; }
.home-editorial .ed-wrap { width: 100%; max-width: var(--ed-width); margin-inline: auto; padding-inline: 48px; }
.home-editorial main { display: block; }
.home-editorial .ed-hero { position: relative; min-height: 680px; padding: 0; isolation: isolate; overflow: hidden; background: #101011; }
.home-editorial .ed-photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 63% 57%; }
.home-editorial .ed-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(6,6,8,.94), rgba(6,6,8,.65) 32%, rgba(6,6,8,.05) 66%), linear-gradient(0deg, #08070c 0, transparent 27%); }
.home-editorial .ed-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 9px); mask-image: linear-gradient(90deg, #000, transparent 58%); pointer-events: none; }
.home-editorial .ed-hero-inner { min-height: 680px; display: flex; flex-direction: column; justify-content: space-between; padding-block: 76px 24px; }
.home-editorial .ed-hero-copy { max-width: 650px; }
.home-editorial .ed-kicker { display: block; margin: 0 0 22px; color: var(--or2); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.home-editorial .ed-hero h1 { font-size: clamp(50px, 5.7vw, 80px); font-weight: 700; letter-spacing: -.06em; line-height: 1.04; text-wrap: initial; }
.home-editorial .ed-hero h1 span { color: var(--or); }
.home-editorial .ed-intro { max-width: 400px; color: #ccc6cf; font-size: 15px; line-height: 1.75; margin: 27px 0 30px; }
.home-editorial .ed-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.home-editorial .ed-text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 13px; font-weight: 500; color: var(--text); }
.home-editorial .ed-text-link::after { content: "↗"; font-size: 19px; color: var(--or); }
.home-editorial .ed-text-link:hover { color: var(--or2); }
.home-editorial .ed-hero-foot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-top: 65px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); }
.home-editorial .ed-hero-foot strong { font-size: 16px; font-weight: 500; letter-spacing: .06em; }
.home-editorial .ed-hero-foot span { color: #aaa3ac; font-size: 11px; letter-spacing: .04em; }
.home-editorial .ed-section { padding: 88px 0; }
.home-editorial .ed-section-head { display: grid; grid-template-columns: 1fr 2.15fr; column-gap: 54px; margin-bottom: 52px; align-items: start; }
.home-editorial .ed-section-tag { color: #a9a1ae; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin: 9px 0 0; }
.home-editorial .ed-section-tag b { color: var(--or); margin-right: 17px; font-weight: 500; }
.home-editorial h2 { font-size: clamp(30px, 3.6vw, 47px); font-weight: 600; line-height: 1.15; letter-spacing: -.045em; text-wrap: initial; }
.home-editorial .ed-features { margin: 0; border-top: 1px solid var(--hair); }
.home-editorial .ed-feature { display: grid; grid-template-columns: 1fr 2.15fr; column-gap: 54px; padding: 28px 0 30px; border-bottom: 1px solid var(--hair); }
.home-editorial .ed-feature dt { font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.home-editorial .ed-feature dd { margin: 0; color: #aca5b2; font-size: 14px; line-height: 1.8; max-width: 620px; }
.home-editorial .ed-feature dd a { color: var(--text); border-bottom: 1px solid #5c4a3e; }
.home-editorial .ed-feature dd a:hover { color: var(--or2); }
.home-editorial .ed-section-tail { display: flex; justify-content: flex-end; padding-top: 22px; }
.home-editorial .ed-coverage { background-color: rgba(25,22,28,.53); border-block: 1px solid var(--hair2); }
.home-editorial .ed-coverage-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.home-editorial .ed-coverage h2 { margin: 25px 0 22px; }
.home-editorial .ed-note { font-size: 14px; color: #aaa3af; line-height: 1.8; max-width: 410px; margin: 0 0 25px; }
.home-editorial .ed-engines { margin: 0; }
.home-editorial .ed-engine { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--hair); }
.home-editorial .ed-engine:first-child { padding-top: 0; }
.home-editorial .ed-engine dt { font-size: clamp(48px, 5vw, 68px); font-weight: 600; letter-spacing: -.055em; line-height: 1.2; }
.home-editorial .ed-engine dd { margin: 0; font-size: 14px; line-height: 1.7; color: #c4bdc9; }
.home-editorial .ed-engine dd small { display: block; color: #9e95a5; font-size: 11px; margin-top: 4px; }
.home-editorial .ed-engine-note { margin: 20px 0 0; color: #968d9f; font-size: 11px; line-height: 1.7; }
.home-editorial .ed-start-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 42px; list-style: none; margin: 0; padding: 0; }
.home-editorial .ed-start-list li { border-top: 1px solid #524030; padding-top: 19px; }
.home-editorial .ed-start-list .ed-step-number { font-family: ui-monospace, monospace; font-size: 12px; color: var(--or); display: block; margin-bottom: 24px; }
.home-editorial .ed-start-list h3 { font-size: 21px; font-weight: 500; line-height: 1.35; letter-spacing: -.035em; }
.home-editorial .ed-start-list p { margin: 13px 0 14px; color: #a8a0af; font-size: 13px; line-height: 1.85; }
.home-editorial .ed-start-list .ed-text-link { font-size: 12px; }
.home-editorial .ed-end { padding-block: 62px 70px; border-top: 1px solid var(--hair); }
.home-editorial .ed-end .ed-wrap { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.home-editorial .ed-end h2 { font-size: clamp(29px, 3.6vw, 48px); }
.home-editorial .ed-end h2 span { color: var(--or); }
.home-editorial footer { margin-top: 0; background: rgba(0,0,0,.16); }
.home-editorial footer > .wrap { max-width: var(--ed-width); padding-inline: 48px; }
.home-editorial .ed-skip { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); }
.home-editorial .ed-skip:focus { transform: none; }
.home-editorial main a:focus-visible { outline: 2px solid var(--or2); outline-offset: 6px; }
@media (min-width: 1600px) {
  .home-editorial .ed-photo { object-position: center 61%; }
}
@media (max-width: 1000px) {
  .home-editorial .ed-wrap, .home-editorial footer > .wrap { padding-inline: 32px; }
  .home-editorial .ed-hero, .home-editorial .ed-hero-inner { min-height: 630px; }
  .home-editorial .ed-hero h1 { font-size: 64px; max-width: 570px; }
  .home-editorial .ed-hero::before { background: linear-gradient(90deg, rgba(6,6,8,.92), rgba(6,6,8,.64) 46%, rgba(6,6,8,.12)), linear-gradient(0deg, #08070c, transparent 35%); }
  .home-editorial .ed-coverage-layout { gap: 42px; }
  .home-editorial .ed-section-head, .home-editorial .ed-feature { column-gap: 32px; }
  .home-editorial .ed-start-list { gap: 28px; }
}
@media (max-width: 680px) {
  .home-editorial .ed-wrap, .home-editorial footer > .wrap { padding-inline: 22px; }
  .home-editorial .ed-hero { min-height: 0; }
  .home-editorial .ed-hero-inner { min-height: clamp(540px, calc(100svh - 124px), 700px); padding-block: 36px 24px; }
  .home-editorial .ed-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 43% 50%; mask-image: none; }
  .home-editorial .ed-hero::before { background: linear-gradient(180deg, rgba(8,7,12,.84), rgba(8,7,12,.62) 38%, rgba(8,7,12,.18) 67%, #08070c 100%), linear-gradient(90deg, rgba(8,7,12,.46), transparent 86%); }
  .home-editorial .ed-hero::after { opacity: .65; mask-image: linear-gradient(180deg, #000, transparent 70%); }
  .home-editorial .ed-kicker { font-size: 10px; letter-spacing: .12em; margin-bottom: 20px; }
  .home-editorial .ed-hero h1 { font-size: clamp(32px, 9.6vw, 60px); letter-spacing: -.06em; }
  .home-editorial .ed-intro { max-width: 340px; margin-block: 21px 24px; font-size: 14px; line-height: 1.7; color: #e3dfe5; text-shadow: 0 1px 8px #08070c; }
  .home-editorial .ed-actions { gap: 12px 18px; }
  .home-editorial .ed-hero .ed-actions .btn { font-size: 13px; padding: 14px 18px; min-height: 48px; }
  .home-editorial .ed-hero .ed-text-link { font-size: 12px; color: #eeeaf0; text-shadow: 0 1px 8px #08070c; }
  .home-editorial .ed-hero-foot { display: grid; grid-template-columns: auto 1fr; margin-top: 48px; padding-top: 18px; gap: 7px 12px; }
  .home-editorial .ed-hero-foot > span:nth-child(2) { text-align: right; }
  .home-editorial .ed-hero-foot > span:last-child { grid-column: 1 / -1; }
  .home-editorial .ed-hero-foot strong { font-size: 13px; }
  .home-editorial .ed-hero-foot span { font-size: 10px; }
  .home-editorial .ed-section { padding-block: 55px; }
  .home-editorial .ed-section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 34px; }
  .home-editorial .ed-section-tag { font-size: 10px; margin: 0; }
  .home-editorial .ed-feature { grid-template-columns: 1fr; gap: 14px; padding-block: 25px; }
  .home-editorial .ed-feature dt { font-size: 22px; }
  .home-editorial .ed-feature dd { font-size: 14px; line-height: 1.75; color: #bbb4c2; }
  .home-editorial .ed-section-tail { justify-content: flex-start; padding-top: 17px; }
  .home-editorial .ed-coverage-layout { grid-template-columns: 1fr; gap: 36px; }
  .home-editorial .ed-coverage h2 { margin-top: 22px; }
  .home-editorial .ed-coverage .ed-note { margin-bottom: 10px; }
  .home-editorial .ed-engine { padding-block: 23px; }
  .home-editorial .ed-engine dt { font-size: 57px; }
  .home-editorial .ed-start-list { grid-template-columns: 1fr; gap: 27px; }
  .home-editorial .ed-start-list li { position: relative; padding: 23px 0 0 43px; }
  .home-editorial .ed-start-list .ed-step-number { position: absolute; left: 0; top: 27px; margin: 0; }
  .home-editorial .ed-start-list p { margin-block: 10px 4px; font-size: 14px; }
  .home-editorial .ed-end { padding-block: 42px 50px; }
  .home-editorial .ed-end .ed-wrap { flex-direction: column; align-items: flex-start; gap: 25px; }
  .home-editorial .ed-engine { grid-template-columns: .8fr 1.2fr; gap: 16px; }
  .home-editorial .ed-engine-note { font-size: 12px; }
  .home-editorial .ed-end .ed-actions { width: 100%; }
  .home-editorial .ed-end .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-editorial { scroll-behavior: auto; }
}
