:root {
  color-scheme: light;
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #17201d;
  background: #f4f7f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #17201d;
  --muted: #5e6a66;
  --line: #d8e0dd;
  --surface: #ffffff;
  --soft: #eef3f1;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --blue: #356fa5;
  --violet: #6d5db3;
  --amber: #b7791f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f4f7f6;
  color: var(--ink);
  letter-spacing: 0;
}

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

a:focus-visible {
  outline: 3px solid rgba(53, 111, 165, 0.35);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 76px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(23, 32, 29, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 7px;
  background: var(--teal);
  color: #ffffff;
  font-size: 16px;
  font-weight: 760;
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.site-header nav a,
.back-link {
  color: #3c4844;
}

.site-header nav a:hover,
.back-link:hover {
  color: var(--teal);
}

.personal-badge {
  justify-self: end;
  padding: 7px 10px;
  border: 1px solid rgba(23, 32, 29, 0.2);
  border-radius: 6px;
  color: #394540;
  font-size: 12px;
  font-weight: 650;
}

.hero {
  position: relative;
  display: flex;
  min-height: 86svh;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("/assets/app-overview.png");
  background-position: center 22%;
  background-size: cover;
  transform: scale(1.015);
}

.hero-overlay {
  background: rgba(244, 247, 246, 0.84);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 86px auto 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: 88px;
  font-weight: 760;
  line-height: 1.02;
}

.title-latin,
.title-cn {
  display: block;
}

.hero-summary {
  max-width: 720px;
  margin: 28px 0 0;
  color: #34413d;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.primary-link,
.quiet-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}

.primary-link {
  background: var(--teal);
  color: #ffffff;
}

.primary-link:hover {
  background: var(--teal-dark);
}

.quiet-link {
  border: 1px solid rgba(23, 32, 29, 0.24);
  background: rgba(255, 255, 255, 0.52);
}

.hero-facts {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, 1fr);
  margin: 52px 0 0;
  border-top: 1px solid rgba(23, 32, 29, 0.22);
}

.hero-facts > div {
  padding: 17px 18px 0 0;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-facts dd {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 680;
}

.section {
  padding: 104px max(24px, calc((100% - 1180px) / 2));
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 18px;
}

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

.section-heading h2,
.personal-use-band h2 {
  margin: 0;
  font-size: 50px;
  line-height: 1.12;
}

.section-heading > p:last-child,
.personal-use-band > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.capability {
  min-width: 0;
  padding: 30px 34px 34px 0;
}

.capability + .capability {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.capability-index {
  color: var(--teal);
  font-size: 12px;
  font-weight: 760;
}

.capability h3 {
  margin: 36px 0 14px;
  font-size: 22px;
}

.capability p {
  min-height: 86px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.capability ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 620;
}

.capability li::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.trust-section {
  background: #17201d;
  color: #f7faf9;
}

.trust-heading p {
  color: #b7c3bf;
}

.trust-heading .eyebrow {
  color: #81d1c8;
}

.trust-flow {
  display: grid;
  grid-template-columns: 1fr 74px 1fr 74px 1fr;
  align-items: center;
  margin-top: 68px;
}

.trust-node {
  min-height: 194px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
}

.trust-node span {
  color: #81d1c8;
  font-size: 12px;
  font-weight: 760;
}

.trust-node strong {
  display: block;
  margin-top: 36px;
  font-size: 19px;
}

.trust-node p {
  margin: 12px 0 0;
  color: #b7c3bf;
  font-size: 13px;
  line-height: 1.7;
}

.trust-external {
  border-color: rgba(183, 121, 31, 0.65);
}

.trust-external span {
  color: #e7b765;
}

.trust-connector {
  height: 1px;
  background: rgba(129, 209, 200, 0.56);
}

.trust-connector-guarded {
  background: rgba(231, 183, 101, 0.7);
}

.boundary-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.boundary-notes p {
  margin: 0;
  color: #b7c3bf;
  font-size: 13px;
  line-height: 1.7;
}

.boundary-notes strong {
  color: #ffffff;
}

.status-section {
  background: var(--surface);
}

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

.status-list > div {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.status-list strong {
  font-size: 15px;
}

.status-list small {
  color: var(--muted);
  font-size: 13px;
}

.status-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-ready {
  background: var(--teal);
}

.status-progress {
  background: var(--amber);
}

.status-reserved {
  background: var(--violet);
}

.personal-use-band {
  padding: 90px max(24px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #e9f0ed;
}

.personal-use-band h2,
.personal-use-band > p:last-child {
  max-width: 840px;
}

.personal-use-band > p:last-child {
  margin-top: 22px;
}

.site-footer {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(24px, calc((100% - 1180px) / 2));
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer > div:first-child {
  display: grid;
  gap: 5px;
}

.site-footer strong {
  font-size: 15px;
}

.site-footer span,
.footer-links {
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--teal);
}

.document-page {
  background: #ffffff;
}

.document-page .site-header {
  position: relative;
  left: auto;
  transform: none;
}

.back-link {
  grid-column: 3;
  justify-self: end;
  font-size: 13px;
  font-weight: 650;
}

.document-main {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 120px;
}

.document-title {
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.document-title h1 {
  font-size: 64px;
}

.document-title > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.document-main section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.document-main section h2 {
  margin: 0;
  font-size: 22px;
}

.document-main section p {
  margin: 14px 0 0;
  color: #48544f;
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: calc(100% - 32px);
  }

  .site-header nav {
    display: none;
  }

  .personal-badge,
  .back-link {
    grid-column: 2;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-top: 82px;
  }

  h1 {
    font-size: 64px;
  }

  .hero-summary {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-facts > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    padding-top: 10px;
  }

  .hero-facts dd {
    margin: 0;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .capability,
  .capability + .capability {
    padding: 28px 0;
    border-left: 0;
  }

  .capability + .capability {
    border-top: 1px solid var(--line);
  }

  .capability h3 {
    margin-top: 18px;
  }

  .capability p {
    min-height: 0;
  }

  .trust-flow {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .trust-connector {
    width: 1px;
    height: 28px;
    justify-self: center;
  }

  .trust-node {
    min-height: 0;
  }

  .boundary-notes {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .status-list > div {
    grid-template-columns: 16px minmax(0, 1fr);
    padding: 16px 0;
  }

  .status-list small {
    grid-column: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .personal-badge {
    max-width: 96px;
    text-align: center;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    background-position: 38% 18%;
  }

  .hero-overlay {
    background: rgba(244, 247, 246, 0.88);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .section-heading h2,
  .personal-use-band h2 {
    font-size: 34px;
  }

  h1 {
    font-size: 54px;
  }

  .document-main {
    width: calc(100% - 32px);
    padding-top: 72px;
  }
}

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