:root {
  color-scheme: light;
  --canvas: #f6f7f4;
  --surface: #ffffff;
  --surface-muted: #eef2ec;
  --ink: #151713;
  --muted: #667064;
  --accent: #4f6f52;
  --accent-soft: #e3ece2;
  --info: #3f6b8f;
  --warning: #b7791f;
  --danger: #b42318;
  --hairline: rgba(21, 23, 19, 0.1);
  --shadow: 0 4px 12px rgba(21, 23, 19, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "SF Pro Text", Inter, Roboto, "PingFang SC", "Noto Sans CJK SC",
    "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  border-bottom: 1px solid var(--hairline);
  background: rgba(246, 247, 244, 0.88);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand span {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 8px;
  color: var(--muted);
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}

main {
  flex: 1;
}

.container {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: end;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(34px, 6vw, 56px);
  margin: 0;
  max-width: 760px;
}

h2 {
  font-size: 24px;
  margin: 0 0 16px;
}

h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

p {
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
  margin-top: 18px;
}

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

.button {
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--hairline);
  color: var(--ink);
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.app-panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.app-panel img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  display: block;
  margin-bottom: 18px;
}

.app-panel dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.app-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.app-panel dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 650;
}

.section {
  padding: 32px 0;
}

.section:last-of-type {
  padding-bottom: 64px;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.stack {
  display: grid;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card p,
.surface p,
.content-list li {
  color: var(--muted);
}

.content-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.notice {
  border-radius: 8px;
  border: 1px solid rgba(183, 121, 31, 0.24);
  background: #fff8e8;
  color: #68430e;
  padding: 16px;
}

.notice strong {
  color: #573808;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--muted);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 650;
}

.policy-block {
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
}

.policy-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.contact-table th,
.contact-table td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
  padding: 14px;
}

.contact-table th {
  color: var(--ink);
  width: 32%;
  font-size: 14px;
}

.contact-table td {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .surface,
  .card {
    padding: 18px;
  }

  .contact-table,
  .contact-table tbody,
  .contact-table tr,
  .contact-table th,
  .contact-table td {
    display: block;
    width: 100%;
  }

  .contact-table th {
    padding-bottom: 4px;
  }

  .contact-table td {
    padding-top: 0;
  }
}
