:root {
  --paper: #f2eee4;
  --card: #fcfaf4;
  --ink: #18352b;
  --ink-2: #4d5e54;
  --muted: #7f877c;
  --line: rgba(24, 53, 43, 0.13);
  --green: #1d4a38;
  --green-deep: #112e26;
  --sage: #cad8b8;
  --gold: #c5a56c;
  --terracotta: #bb664a;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "Noto Serif CJK SC", Georgia, "Microsoft YaHei", serif;
  --sans: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #dcd7cc;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 100% 0%, rgba(202, 216, 184, 0.25), transparent 30%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 32px;
}

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

.brand-mark {
  display: flex;
  width: 38px;
  height: 38px;
  color: var(--green);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.top-meta {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 30px;
  min-height: 500px;
  padding: 42px 0 20px;
}

.hero h1 {
  margin: 16px 0 18px;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.hero h1 em {
  color: var(--terracotta);
  font-style: normal;
}

.hero-copy > p {
  max-width: 500px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  gap: 9px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform 0.18s, background 0.2s, border 0.2s;
}

.button:active {
  transform: scale(0.98);
}

.button--primary {
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 8px 22px rgba(24, 53, 43, 0.17);
}

.button--primary:hover {
  background: var(--green-deep);
}

.button--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.hero-orbit {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(24, 53, 43, 0.16);
}

.orbit--one {
  inset: 4%;
}

.orbit--two {
  inset: 18%;
  border-style: dashed;
  border-color: rgba(197, 165, 108, 0.55);
}

.orbit--three {
  inset: 33%;
  border-color: rgba(24, 53, 43, 0.25);
}

.orbit-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: var(--green);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.04em;
  box-shadow: 0 14px 35px rgba(24, 53, 43, 0.2);
}

.orbit-label {
  position: absolute;
  padding: 5px 9px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(252, 250, 244, 0.8);
  color: var(--muted);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}

.orbit-label--one {
  top: 12%;
  left: 2%;
}

.orbit-label--two {
  right: 0;
  top: 46%;
}

.orbit-label--three {
  left: 16%;
  bottom: 12%;
}

.stat-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 26px 0 64px;
}

.stat-line > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 17px 18px;
  border-left: 1px solid var(--line);
}

.stat-line > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-line strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.stat-line span {
  font-size: 8.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.section-note {
  font-size: 8.5px;
  color: var(--muted);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.app-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.app-card--live {
  background: var(--green-deep);
  color: #fbf5e8;
  box-shadow: 0 22px 55px rgba(17, 46, 38, 0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}

.app-card--live:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 65px rgba(17, 46, 38, 0.26);
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 0;
}

.app-index {
  font-family: var(--serif);
  font-size: 11px;
  color: rgba(251, 245, 232, 0.42);
}

.app-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: rgba(251, 245, 232, 0.55);
}

.app-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(202, 216, 184, 0.12);
}

.app-status--soon {
  color: var(--muted);
}

.app-visual {
  position: relative;
  height: 220px;
  margin: 17px 18px 0;
  border-radius: 20px;
  overflow: hidden;
}

.app-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.app-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 20, 17, 0.42));
}

.app-visual-title {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 12px;
  font-size: 7px;
  letter-spacing: 0.18em;
  color: rgba(251, 245, 232, 0.72);
}

.app-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 21px 24px 23px;
}

.app-kicker {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.app-card h3 {
  margin: 6px 0 7px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.app-card-body > p {
  max-width: 430px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(251, 245, 232, 0.62);
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.app-tags span {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(251, 245, 232, 0.14);
  background: rgba(251, 245, 232, 0.05);
  font-size: 8px;
  color: rgba(251, 245, 232, 0.68);
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  border-top: 1px solid rgba(251, 245, 232, 0.12);
  border-bottom: 1px solid rgba(251, 245, 232, 0.12);
}

.app-stats > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 11px 0;
  border-left: 1px solid rgba(251, 245, 232, 0.1);
}

.app-stats > div:first-child {
  border-left: 0;
}

.app-stats strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.app-stats span {
  font-size: 7.5px;
  color: rgba(251, 245, 232, 0.42);
}

.app-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.app-card-foot > span {
  font-size: 8px;
  color: rgba(251, 245, 232, 0.4);
  letter-spacing: 0.05em;
}

.app-card-foot strong {
  font-size: 10.5px;
  font-weight: 650;
  color: var(--gold);
}

.app-card--soon {
  grid-column: 1 / -1;
  min-height: 280px;
  border: 1px dashed rgba(24, 53, 43, 0.22);
  background: rgba(252, 250, 244, 0.45);
  color: var(--ink);
}

.app-card--meridian {
  background: #162c36;
}

.app-card--meridian .app-kicker {
  color: #d39a78;
}

.app-card--meridian .app-visual {
  margin-top: 17px;
}

.app-card--meridian h3 {
  font-size: 44px;
}

.soon-body {
  max-width: 720px;
}

.soon-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 34px 24px 23px;
}

.app-card--soon .app-kicker {
  color: var(--terracotta);
}

.app-card--soon h3 {
  margin-top: 12px;
  font-size: 35px;
  line-height: 1.08;
}

.app-card--soon p {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
}

.soon-line {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 24px 0 13px;
}

.soon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.soon-meta span {
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--paper);
  color: var(--muted);
  font-size: 7.5px;
}

.about {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 35px;
  margin: 88px 0 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--green);
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.05em;
}

.about h2 {
  margin: 4px 0 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.about p {
  max-width: 620px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.about-links {
  display: flex;
  gap: 22px;
  margin-top: 16px;
}

.about-links a {
  font-size: 9px;
  font-weight: 650;
  color: var(--green);
  border-bottom: 1px solid rgba(24, 53, 43, 0.25);
  padding-bottom: 2px;
}

.migration-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(197, 165, 108, 0.13);
  margin-bottom: 42px;
}

.migration-icon {
  flex: none;
  color: var(--terracotta);
  font-size: 16px;
}

.migration-note p {
  font-size: 9.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.migration-note strong {
  color: var(--ink);
}

.migration-note a {
  color: var(--green);
  border-bottom: 1px solid rgba(24, 53, 43, 0.25);
}

.legacy-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -22px 0 42px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}

.legacy-data[hidden] {
  display: none;
}

.legacy-data h2 {
  margin: 3px 0 5px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.legacy-data p {
  max-width: 560px;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
}

.legacy-data button {
  flex: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  color: var(--green);
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 32px 38px;
  border-top: 1px solid var(--line);
}

.footer > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.footer span {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.footer-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-right a {
  font-size: 8px;
  color: var(--green);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 24px;
  }

  .hero-orbit {
    width: 270px;
    grid-row: 1;
  }

  .hero-copy {
    grid-row: 2;
  }

  .hero h1 {
    font-size: 48px;
  }

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

  .app-card {
    min-height: 530px;
  }

  .app-card--soon {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 16px 20px;
  }

  .top-meta {
    display: none;
  }

  main {
    padding: 0 20px;
  }

  .hero {
    gap: 8px;
    padding-top: 8px;
  }

  .hero-orbit {
    width: 220px;
    margin-top: 10px;
  }

  .hero h1 {
    margin: 11px 0 13px;
    font-size: 34px;
  }

  .hero-copy > p {
    font-size: 11.5px;
  }

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

  .button {
    min-height: 43px;
    padding: 0 16px;
    font-size: 10.5px;
  }

  .stat-line {
    grid-template-columns: 1fr 1fr;
    margin: 20px 0 40px;
  }

  .stat-line > div {
    padding: 13px 10px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-line > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .section-head h2 {
    font-size: 31px;
  }

  .section-note {
    display: none;
  }

  .app-card {
    min-height: 520px;
    border-radius: 23px;
  }

  .app-card h3 {
    font-size: 40px;
  }

  .app-visual {
    height: 180px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 55px 0 30px;
    padding: 28px 0;
  }

  .about-mark {
    width: 76px;
    height: 76px;
    font-size: 21px;
  }

  .about h2 {
    font-size: 28px;
  }

  .legacy-data {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 20px 30px;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
  }
}
