:root {
  color-scheme: light;
  --ink: #14221c;
  --ink-soft: #263a31;
  --green: #126642;
  --green-dark: #0d4d32;
  --forest: #153d2f;
  --forest-deep: #0e2d22;
  --lime: #d9f45d;
  --lime-soft: #efffa6;
  --page: #f1f5f2;
  --paper: #fbfcf8;
  --muted: #68766f;
  --line: #d9e3dd;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(14, 45, 34, .13);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  background:
    linear-gradient(rgba(18, 102, 66, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 102, 66, .035) 1px, transparent 1px),
    var(--page);
  background-size: 48px 48px;
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
  font: inherit;
}

a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}

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

.page-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.page-glow-top {
  top: -220px;
  right: -100px;
  background: rgba(217, 244, 93, .38);
}

.page-glow-bottom {
  bottom: -270px;
  left: -150px;
  background: rgba(18, 102, 66, .12);
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(20, 34, 28, .12);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--lime);
  font-size: 20px;
  font-weight: 950;
  place-items: center;
  box-shadow: 7px 7px 0 var(--lime);
}

.brand-name,
.brand-caption,
.system-state,
.hero-copy,
.section-heading p,
footer p {
  margin: 0;
}

.brand-name {
  font-size: 17px;
  font-weight: 950;
  letter-spacing: .08em;
}

.brand-caption {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.system-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.system-state span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(217, 244, 93, .26);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .72fr);
  gap: 28px 72px;
  padding: clamp(72px, 11vw, 134px) 0 clamp(66px, 9vw, 112px);
}

.eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -.045em;
}

h1 {
  max-width: 770px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: .94;
}

h1 span {
  color: var(--green-dark);
}

.hero-copy {
  align-self: end;
  max-width: 480px;
  padding: 0 0 7px 24px;
  border-left: 4px solid var(--lime);
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.85;
}

.model-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin: 8px 0 0;
  padding: 0;
  border-radius: 15px;
  background: var(--forest);
  box-shadow: var(--shadow);
  color: var(--white);
  list-style: none;
}

.model-strip li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  padding: 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, .13);
}

.model-strip li:last-child {
  border-right: 0;
}

.model-strip strong {
  color: var(--lime);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.03em;
}

.model-strip span {
  color: #d5e0da;
  font-size: 12px;
  font-weight: 800;
}

.platform-section {
  padding: clamp(58px, 8vw, 88px) 0;
  border-top: 1px solid rgba(20, 34, 28, .12);
}

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

.section-heading .eyebrow {
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-heading > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.section-heading > p strong {
  color: var(--green-dark);
  font-size: 18px;
}

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

.platform-card {
  position: relative;
  display: flex;
  min-height: 480px;
  overflow: hidden;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(20, 34, 28, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 48px rgba(14, 45, 34, .09);
  flex-direction: column;
}

.platform-card::after {
  position: absolute;
  top: -105px;
  right: -105px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(18, 102, 66, .07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.platform-card-macau {
  background: var(--forest);
  color: var(--white);
}

.platform-card-macau::after {
  border-color: rgba(217, 244, 93, .12);
}

.card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.platform-index {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
  place-items: center;
}

.platform-card-macau .platform-index {
  border-color: rgba(255, 255, 255, .22);
  color: var(--lime);
}

.platform-tag {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

.platform-card-macau .platform-tag {
  color: #aebfb6;
}

.card-copy {
  position: relative;
  z-index: 1;
  margin: auto 0;
  padding: 50px 0 42px;
}

.card-copy h3 {
  font-size: clamp(34px, 5vw, 57px);
  line-height: 1;
}

.card-copy p {
  max-width: 450px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.platform-card-macau .card-copy p {
  color: #c4d1ca;
}

.card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-meta div {
  padding: 14px 0;
}

.card-meta div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.card-meta dt,
.card-meta dd {
  margin: 0;
}

.card-meta dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.card-meta dd {
  margin-top: 3px;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 950;
}

.platform-card-macau .card-meta {
  border-color: rgba(255, 255, 255, .18);
}

.platform-card-macau .card-meta div + div {
  border-color: rgba(255, 255, 255, .18);
}

.platform-card-macau .card-meta dt {
  color: #9eb1a7;
}

.platform-card-macau .card-meta dd {
  color: var(--lime-soft);
}

.entry-button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 14px 18px 14px 23px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.entry-button b {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--forest-deep);
  color: var(--lime);
  font-size: 17px;
  place-items: center;
}

.entry-button:hover {
  background: var(--lime-soft);
  box-shadow: 0 12px 28px rgba(14, 45, 34, .18);
  transform: translateY(-2px);
}

.hermes-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 20px;
  padding: 24px 28px;
  border: 1px solid rgba(20, 34, 28, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 36px rgba(14, 45, 34, .07);
}

.hermes-entry h3 {
  margin-top: 4px;
  color: var(--forest-deep);
  font-size: clamp(22px, 3vw, 30px);
}

.hermes-entry p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.hermes-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 220px;
  min-height: 58px;
  padding: 12px 15px 12px 20px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--white);
  font-weight: 950;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.hermes-button b {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-deep);
  place-items: center;
}

.hermes-button:hover {
  background: var(--forest-deep);
  box-shadow: 0 12px 28px rgba(14, 45, 34, .18);
  transform: translateY(-2px);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0 40px;
  border-top: 1px solid rgba(20, 34, 28, .12);
  color: var(--muted);
  font-size: 11px;
}

footer p:last-child {
  text-align: right;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .model-strip {
    margin-top: 16px;
  }

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

  .platform-card {
    min-height: 430px;
  }

  .hermes-entry {
    align-items: flex-start;
    flex-direction: column;
  }

  .hermes-button {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    padding: 22px 0;
    flex-direction: column;
  }

  .hero {
    padding: 66px 0 62px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .hero-copy {
    padding-left: 18px;
  }

  .model-strip {
    grid-template-columns: 1fr;
  }

  .model-strip li {
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

  .model-strip li:last-child {
    border-bottom: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .section-heading > p {
    text-align: left;
  }

  .platform-card {
    min-height: 0;
    padding: 23px;
    border-radius: 18px;
  }

  .card-copy {
    padding: 62px 0;
  }

  .card-copy h3 {
    font-size: 39px;
  }

  .card-meta {
    grid-template-columns: 1fr;
  }

  .card-meta div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .platform-card-macau .card-meta div + div {
    border-color: rgba(255, 255, 255, .18);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-button,
  .hermes-button {
    transition: none;
  }
}
