:root {
  --paper: #f3efe6;
  --paper-2: #fffdf8;
  --ink: #1a1916;
  --ink-soft: #5a554c;
  --line: #d9d1c3;
  --pine: #245c4c;
  --pine-deep: #163a31;
  --tea: #d4a574;
  --tea-deep: #8a5a32;
  --mist: #e8e2d6;
  --danger: #8b3a2a;
  --shadow: 0 18px 40px rgba(26, 25, 22, 0.08);
  --radius: 18px;
  --max: 1120px;
  --header: 72px;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pine-deep);
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 1000;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.topbar {
  background: var(--pine-deep);
  color: #efe8db;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

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

.topbar a:hover {
  color: var(--tea);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.brand-text span {
  color: var(--ink-soft);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
}

.nav a:hover,
.nav a.is-active {
  background: var(--mist);
  color: var(--pine-deep);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--pine);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--pine);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
}

.lede {
  max-width: 38em;
  color: var(--ink-soft);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--pine);
  color: #f7f3ea;
}

.btn-primary:hover {
  background: var(--pine-deep);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--pine);
  color: var(--pine-deep);
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.orb {
  position: absolute;
  border-radius: 32% 68% 40% 60% / 46% 30% 70% 54%;
}

.orb-a {
  inset: 20px 40px 60px 20px;
  background: var(--pine);
}

.orb-b {
  right: 8px;
  bottom: 24px;
  width: 58%;
  height: 58%;
  background: var(--tea);
  border-radius: 50%;
  opacity: 0.92;
}

.legal-name {
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

.facts {
  border-block: 1px solid var(--line);
}

.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact b {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.fact span {
  color: var(--ink-soft);
  font-size: 13px;
}

.section {
  padding: 84px 0;
}

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

.kicker {
  margin: 0 0 8px;
  color: var(--pine);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
}

.section-head p {
  max-width: 34em;
  color: var(--ink-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card .num,
.panel .num {
  color: var(--tea-deep);
  font-family: var(--font-serif);
  font-size: 20px;
}

.card h3 {
  margin: 10px 0 12px;
  font-size: 22px;
}

.card p {
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.panel {
  padding: 28px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.stack > * + * {
  margin-top: 18px;
}

.page-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.crumbs {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

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

.legal-table th {
  width: 38%;
  color: var(--ink-soft);
  font-weight: 500;
}

.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.scope {
  display: grid;
  gap: 12px;
}

.scope h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.scope ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}

.contact-item strong,
.contact-item a {
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note,
.form-status {
  font-size: 14px;
  color: var(--ink-soft);
}

.form-status.is-ok {
  color: var(--pine);
}

.form-status.is-err {
  color: var(--danger);
}

.prose {
  max-width: 46em;
}

.prose h2,
.prose h3 {
  margin-top: 2em;
}

.prose ul {
  color: var(--ink-soft);
}

.site-footer {
  padding: 48px 0 28px;
  background: var(--pine-deep);
  color: #efe8db;
}

.site-footer a {
  color: #efe8db;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--tea);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(239, 232, 219, 0.16);
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.muted {
  color: rgba(239, 232, 219, 0.74);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 13px;
}

.en {
  color: var(--ink-soft);
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero-grid,
  .facts-row,
  .cards,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-btn {
    display: inline-block;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    display: none;
    flex-direction: column;
    padding: 12px 20px 20px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .hero-visual {
    min-height: 220px;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .facts-row .fact:last-child {
    border-bottom: 0;
  }
}

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