:root {
  color-scheme: dark;
  --bg: #07090b;
  --ink: #f8f5ed;
  --muted: #b8b0a2;
  --quiet: #7d766b;
  --line: rgba(248, 245, 237, 0.13);
  --gold: #d4a85d;
  --gold-2: #f0ce88;
  --green: #6ec7b0;
  --paper: #f4f0e7;
  --paper-ink: #161616;
  --paper-muted: rgba(22, 22, 22, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

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

p,
h1,
h2 {
  margin: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 max(28px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(248, 245, 237, 0.08);
  background: rgba(7, 9, 11, 0.82);
  backdrop-filter: blur(22px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(212, 168, 93, 0.88);
  background:
    linear-gradient(135deg, transparent 0 52%, rgba(212, 168, 93, 0.22) 52% 100%),
    rgba(248, 245, 237, 0.04);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
}

.brand-mark::before {
  left: 8px;
  bottom: 8px;
  width: 17px;
  height: 17px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
}

.brand-mark::after {
  right: -6px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--gold);
}

.brand-name {
  font-size: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 36px;
  color: rgba(248, 245, 237, 0.72);
  font-size: 14px;
  font-weight: 760;
}

.nav-links a:hover {
  color: #fff;
}

.header-action,
.primary-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-action {
  justify-self: end;
  min-height: 40px;
  padding: 0 20px;
  color: #15110b;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 38%),
    #07090b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 72px max(28px, calc((100vw - 1280px) / 2)) auto;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 93, 0.52), transparent);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 11, 0.98) 0%, rgba(7, 9, 11, 0.9) 39%, rgba(7, 9, 11, 0.3) 70%, rgba(7, 9, 11, 0.72) 100%),
    radial-gradient(circle at 78% 30%, rgba(212, 168, 93, 0.28), transparent 28rem),
    radial-gradient(circle at 28% 82%, rgba(110, 199, 176, 0.12), transparent 22rem);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("./assets/golden-pathways-hero.jpg") right center / min(1000px, 62vw) auto no-repeat,
    #07090b;
  filter: saturate(0.92) contrast(1.02);
}

.hero-inner {
  position: relative;
  width: min(1280px, calc(100% - 56px));
  min-height: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.48fr);
  grid-template-rows: 1fr auto;
  gap: 38px 54px;
  align-items: center;
  padding: 128px 0 54px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-heading span,
.download-copy span,
.service-section span,
.panel-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-top: 22px;
  font-size: clamp(50px, 6.2vw, 92px);
  font-weight: 880;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  max-width: 670px;
  margin-top: 26px;
  color: rgba(248, 245, 237, 0.77);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}

.primary-button {
  min-height: 52px;
  padding: 0 30px;
  color: #15110b;
  font-size: 16px;
  font-weight: 900;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 46px rgba(212, 168, 93, 0.15);
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(212, 168, 93, 0.22);
}

.text-link {
  min-height: 52px;
  color: rgba(248, 245, 237, 0.82);
  font-size: 15px;
  font-weight: 800;
  border-bottom: 1px solid rgba(248, 245, 237, 0.34);
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(248, 245, 237, 0.14);
  background: rgba(10, 13, 14, 0.64);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  font-size: 26px;
  line-height: 1.2;
}

.hero-panel p {
  color: rgba(248, 245, 237, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4px;
  background: rgba(248, 245, 237, 0.12);
}

.panel-grid span {
  min-height: 46px;
  display: grid;
  place-items: center;
  color: rgba(248, 245, 237, 0.86);
  font-size: 13px;
  font-weight: 800;
  background: rgba(7, 9, 11, 0.9);
}

.hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metrics span {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  color: rgba(248, 245, 237, 0.78);
  font-size: 15px;
  font-weight: 780;
  border-right: 1px solid var(--line);
}

.hero-metrics span:last-child {
  border-right: 0;
}

.hero-metrics strong {
  color: var(--gold);
  font-size: 13px;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 78px max(28px, calc((100vw - 1280px) / 2));
  color: var(--paper-ink);
  background: var(--paper);
}

.download-copy h2,
.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
  font-weight: 860;
  letter-spacing: 0;
  text-wrap: balance;
}

.download-copy p {
  max-width: 600px;
  margin-top: 18px;
  color: var(--paper-muted);
  font-size: 17px;
  line-height: 1.75;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.82fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(248, 245, 237, 0.08), transparent 42%),
    #0c0f10;
  border: 1px solid rgba(22, 22, 22, 0.12);
  box-shadow: 0 28px 70px rgba(31, 27, 21, 0.18);
}

.download-product {
  display: grid;
  gap: 8px;
}

.release-tag {
  width: fit-content;
  padding: 7px 10px;
  color: #101010;
  font-size: 12px;
  font-weight: 900;
  background: var(--green);
}

.download-card strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
}

.download-card small {
  color: rgba(248, 245, 237, 0.62);
  font-size: 14px;
  font-weight: 760;
}

.os-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.download-option {
  display: grid;
  gap: 6px;
  min-height: 82px;
  align-content: center;
  padding: 18px 20px;
  color: #15110b;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 42px rgba(212, 168, 93, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.download-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(212, 168, 93, 0.22);
}

.download-option.is-disabled {
  color: rgba(248, 245, 237, 0.74);
  cursor: not-allowed;
  background: rgba(248, 245, 237, 0.08);
  border: 1px solid rgba(248, 245, 237, 0.14);
  box-shadow: none;
}

.download-option.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.download-option span {
  font-size: 18px;
  font-weight: 900;
}

.download-option small {
  color: rgba(21, 17, 11, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.download-option.is-disabled small {
  color: rgba(248, 245, 237, 0.48);
}

.capability-section {
  padding: 96px max(28px, calc((100vw - 1280px) / 2)) 104px;
  background: #0b0e10;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

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

.capability-grid article {
  min-height: 260px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid article span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.capability-grid strong {
  display: block;
  margin-top: 64px;
  font-size: 24px;
  line-height: 1.24;
}

.capability-grid p {
  margin-top: 14px;
  color: rgba(248, 245, 237, 0.62);
  font-size: 15px;
  line-height: 1.72;
}

.service-section,
.platform-section,
.site-footer {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.74fr);
  gap: 80px;
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.service-section h2 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(38px, 4.8vw, 72px);
  font-weight: 840;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.service-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 72px;
  align-items: start;
  padding: 92px 0 106px;
}

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

.platform-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.platform-list strong {
  color: var(--gold);
  font-size: 22px;
}

.platform-list p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 13px;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 9, 11, 0.82) 0%, rgba(7, 9, 11, 0.72) 42%, rgba(7, 9, 11, 0.96) 100%),
      radial-gradient(circle at 70% 28%, rgba(212, 168, 93, 0.22), transparent 24rem);
  }

  .hero-visual {
    background-position: center 12%;
    background-size: 980px auto;
    opacity: 0.56;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 820px;
    align-content: center;
  }

  .hero-panel {
    max-width: 560px;
  }

  .download-section,
  .service-section,
  .platform-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    height: 62px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-action {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-inner,
  .service-section,
  .platform-section,
  .site-footer {
    width: calc(100% - 30px);
  }

  .hero-inner {
    min-height: 780px;
    gap: 28px;
    padding: 96px 0 34px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1.08;
  }

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

  .hero-actions {
    gap: 14px;
  }

  .primary-button,
  .text-link {
    width: 100%;
  }

  .hero-panel {
    padding: 20px;
  }

  .hero-panel strong {
    font-size: 22px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics span {
    min-height: 54px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics span:last-child {
    border-bottom: 0;
  }

  .download-section,
  .capability-section {
    padding: 62px 15px 70px;
  }

  .download-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .os-downloads {
    grid-template-columns: 1fr;
  }

  .download-copy h2,
  .section-heading h2,
  .service-section h2 {
    font-size: 34px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid article {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
  }

  .capability-grid strong {
    margin-top: 26px;
    font-size: 22px;
  }

  .service-section {
    gap: 28px;
    padding: 76px 0;
  }

  .service-section p {
    font-size: 16px;
  }

  .platform-section {
    gap: 34px;
    padding: 74px 0 80px;
  }

  .platform-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 32px;
  }
}
