:root {
  --ink: #11191a;
  --ink-soft: #344244;
  --paper: #f4f6f4;
  --white: #ffffff;
  --line: #ccd4d2;
  --sea: #1f6570;
  --sea-deep: #164951;
  --signal: #d5a23a;
  --header-height: 76px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-fixed,
.site-header.header-solid {
  position: fixed;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(calc(100% - 48px), var(--content-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-link {
  flex: 0 0 auto;
  width: 188px;
  height: 48px;
  overflow: hidden;
  background: transparent;
}

.brand-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 180ms ease;
}

.site-header.is-fixed .brand-link img,
.site-header.header-solid .brand-link img {
  filter: invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 22px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: auto;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--signal);
  font-size: 14px;
  font-weight: 700;
}

.home-hero {
  position: relative;
  height: 84svh;
  min-height: 640px;
  max-height: 840px;
  color: var(--white);
  background-image: url("../products/ls500-gen1/web/R0006225.jpg");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 20, 0.46);
}

.home-hero .hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--content-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: var(--header-height);
}

.hero-copy {
  width: min(620px, 56%);
  padding: 30px 0 22px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: 68px;
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: 0;
}

.hero-title-brand,
.hero-title-product {
  display: block;
}

.hero-title-brand {
  margin-bottom: 8px;
}

.hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--sea);
  border-color: var(--sea);
}

.button-secondary {
  color: var(--white);
  background: transparent;
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  background: var(--sea);
  border-color: var(--sea);
}

.arrow {
  font-size: 20px;
  line-height: 1;
}

.hero-caption {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.section {
  padding: 96px 0;
}

.section-white {
  background: var(--white);
}

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

.section-inner {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: 72px;
  align-items: start;
  margin-bottom: 58px;
}

.section-kicker {
  margin: 0;
  color: var(--sea);
  font-size: 14px;
  font-weight: 700;
}

.section-title {
  margin: 8px 0 0;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 750;
}

.section-intro {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-item {
  min-height: 240px;
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.system-item:last-child {
  border-right: 1px solid var(--line);
}

.system-number {
  color: var(--sea);
  font-size: 13px;
  font-weight: 700;
}

.system-item h3 {
  margin: 42px 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.system-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.archive-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: 590px;
  background: var(--ink);
}

.archive-media {
  min-height: 520px;
  background-image: url("../products/ls500-gen1/web/R0006441.jpg");
  background-position: center;
  background-size: cover;
}

.archive-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px max(40px, calc((100vw - var(--content-width)) / 2));
  padding-left: 64px;
  color: var(--white);
}

.archive-copy h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.15;
}

.archive-copy p {
  max-width: 460px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.status-line {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--signal);
  font-size: 13px;
  font-weight: 700;
}

.status-line::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.company-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.company-band h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.2;
}

.company-copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--sea-deep);
  font-weight: 700;
}

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

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #0b1112;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 58px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
  align-items: start;
  padding-bottom: 46px;
}

.footer-brand {
  width: 220px;
  background: transparent;
}

.footer-note {
  max-width: 420px;
  margin: 20px 0 0;
  font-size: 14px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-nav h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 14px;
}

.footer-nav a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  font-size: 14px;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.page-main {
  padding-top: var(--header-height);
}

.page-hero {
  position: relative;
  height: 68svh;
  min-height: 540px;
  max-height: 720px;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.page-hero--next {
  background-image: url("../products/ls500-gen1/web/R0006328.jpg");
}

.page-hero--legacy {
  background-image: url("../products/ls500-gen1/web/R0006441.jpg");
  background-position: center 42%;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--content-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: 58px;
}

.page-hero p:not(.eyebrow):not(.hero-caption) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.overview-stripe {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.overview-stripe h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.25;
}

.overview-stripe p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 18px;
}

.roadmap-list {
  border-top: 1px solid var(--line);
}

.roadmap-row {
  display: grid;
  grid-template-columns: 80px minmax(180px, 0.7fr) minmax(280px, 1.3fr) 120px;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.roadmap-row .index {
  color: var(--sea);
  font-weight: 700;
}

.roadmap-row h3 {
  margin: 0;
  font-size: 22px;
}

.roadmap-row p {
  margin: 0;
  color: var(--ink-soft);
}

.roadmap-status {
  color: var(--sea-deep);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.notice-band {
  padding: 34px 0;
  color: var(--white);
  background: var(--sea-deep);
}

.notice-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.notice-band p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d9dfdd;
}

.gallery-grid figure:first-child {
  grid-row: 1 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 8px;
  color: var(--white);
  background: rgba(11, 17, 18, 0.76);
  font-size: 12px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-item {
  min-height: 180px;
  padding: 28px;
  border-left: 1px solid var(--line);
}

.fact-item:last-child {
  border-right: 1px solid var(--line);
}

.fact-item h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.fact-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.document-hero {
  padding: 92px 0 68px;
  color: var(--white);
  background: var(--ink);
}

.document-hero h1 {
  margin: 0;
  font-size: 50px;
  line-height: 1.2;
}

.document-hero p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.document-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 80px;
  align-items: start;
}

.document-aside {
  position: sticky;
  top: 110px;
  padding-top: 4px;
  color: var(--ink-soft);
  font-size: 14px;
}

.document-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.prose h2 {
  margin: 52px 0 14px;
  font-size: 27px;
  line-height: 1.3;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose a {
  color: var(--sea-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-hero {
  padding: 118px 0 86px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.about-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 60px;
  line-height: 1.15;
}

.about-hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-panel > div {
  min-height: 190px;
  padding: 34px;
  border-left: 1px solid var(--line);
}

.contact-panel > div:last-child {
  border-right: 1px solid var(--line);
}

.contact-panel h2 {
  margin: 0 0 32px;
  font-size: 15px;
  color: var(--sea);
}

.contact-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
}

.contact-followup {
  max-width: 760px;
  margin-top: 54px;
}

@media (max-width: 980px) {
  .site-nav {
    gap: 18px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 54px;
  }

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

  .system-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .system-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .archive-band {
    grid-template-columns: 1fr;
  }

  .archive-copy {
    padding: 64px 48px;
  }

  .roadmap-row {
    grid-template-columns: 48px minmax(160px, 0.7fr) minmax(240px, 1.3fr);
  }

  .roadmap-status {
    grid-column: 2 / 4;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .header-inner,
  .home-hero .hero-inner,
  .page-hero-inner,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .brand-link {
    width: 150px;
    height: 42px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 24px;
    color: var(--ink);
    background: var(--white);
  }

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

  .site-nav a {
    padding: 18px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .site-nav a::after {
    display: none;
  }

  .home-hero {
    height: 78svh;
    min-height: 590px;
    max-height: 720px;
    background-position: 38% center;
  }

  .home-hero .hero-inner {
    align-items: flex-end;
    padding-bottom: 56px;
  }

  .hero-copy {
    width: 100%;
    padding: 22px 0;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: 12ch;
    font-size: 42px;
  }

  .hero-lead,
  .page-hero p:not(.eyebrow):not(.hero-caption) {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
  }

  .hero-caption {
    right: 16px;
    bottom: 10px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head,
  .company-band,
  .overview-stripe,
  .document-layout,
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-title,
  .overview-stripe h2,
  .company-band h2 {
    font-size: 34px;
  }

  .section-intro,
  .company-copy p,
  .overview-stripe p {
    font-size: 16px;
  }

  .system-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .system-item,
  .system-item:nth-child(odd),
  .fact-item {
    min-height: auto;
    border-right: 1px solid var(--line);
  }

  .system-item:nth-child(n + 2),
  .fact-item:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .system-item h3 {
    margin-top: 18px;
  }

  .archive-media {
    min-height: 400px;
    background-position: 58% center;
  }

  .archive-copy {
    padding: 52px 24px 60px;
  }

  .archive-copy h2 {
    font-size: 38px;
  }

  .footer-main {
    gap: 44px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-legal {
    flex-direction: column;
  }

  .page-hero {
    height: 64svh;
    min-height: 500px;
    max-height: 620px;
  }

  .page-hero--next {
    background-position: 50% center;
  }

  .page-hero--legacy {
    background-position: 57% center;
  }

  .roadmap-row {
    grid-template-columns: 42px 1fr;
    gap: 14px 18px;
  }

  .roadmap-row p,
  .roadmap-status {
    grid-column: 2;
  }

  .notice-band .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 360px 220px 220px;
  }

  .gallery-grid figure:first-child {
    grid-row: auto;
  }

  .document-hero {
    padding: 72px 0 54px;
  }

  .document-hero h1,
  .about-hero h1 {
    font-size: 40px;
  }

  .document-aside {
    position: static;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .about-hero {
    padding: 84px 0 62px;
  }

  .about-hero p {
    font-size: 17px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel > div {
    min-height: auto;
    border-right: 1px solid var(--line);
  }

  .contact-panel > div + div {
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
