:root {
  --ink: #17362c;
  --ink-soft: #35574a;
  --cream: #f3efe3;
  --paper: #fbf9f3;
  --paper-strong: #fffdf8;
  --lime: #c9ef7d;
  --sage: #a9c9a8;
  --orange: #e27444;
  --line: rgb(23 54 44 / 18%);
  --line-strong: rgb(23 54 44 / 32%);
  --shadow: 0 28px 80px rgb(23 54 44 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px clamp(24px, 5vw, 72px);
  background: rgb(243 239 227 / 86%);
  backdrop-filter: blur(18px);
}

.home-page .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: "Songti SC", STSong, serif;
  font-size: 20px;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.06em;
}

.brand-copy small {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  font-size: 13px;
}

.main-nav a {
  position: relative;
}

.main-nav a:not(.nav-contact)::after {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-contact {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-contact:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(150px, 18vh, 210px) clamp(24px, 7vw, 112px) 62px;
  background:
    radial-gradient(circle at 88% 15%, rgb(201 239 125 / 62%), transparent 29%),
    radial-gradient(circle at 42% 106%, rgb(226 116 68 / 16%), transparent 30%),
    var(--cream);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 38px;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(58px, 8.5vw, 132px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-intro {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  border-radius: 999px;
  padding: 17px 20px 17px 24px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.text-link {
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  color: var(--ink-soft);
  font-size: 13px;
}

.hero-art {
  position: absolute;
  top: 13%;
  right: max(-7vw, -100px);
  width: min(52vw, 690px);
  height: min(52vw, 690px);
}

.orbit,
.seed {
  position: absolute;
}

.orbit {
  border: 1px solid rgb(23 54 44 / 27%);
  border-radius: 50%;
}

.orbit-one {
  inset: 5%;
}

.orbit-two {
  inset: 25%;
}

.seed {
  border-radius: 70% 30% 68% 32%;
  background: var(--orange);
  filter: drop-shadow(0 28px 50px rgb(23 54 44 / 14%));
  transform: rotate(38deg);
}

.seed-one {
  top: 21%;
  left: 13%;
  width: 22%;
  height: 37%;
}

.seed-two {
  right: 13%;
  bottom: 16%;
  width: 18%;
  height: 30%;
  background: var(--sage);
  transform: rotate(-28deg);
}

.hero-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 160px;
  height: 160px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgb(23 54 44 / 22%);
  border-radius: 50%;
  background: rgb(251 249 243 / 72%);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
}

.hero-seal span {
  font-size: 8px;
  letter-spacing: 0.24em;
}

.hero-seal strong {
  font-family: serif;
  font-size: 54px;
  font-weight: 400;
  line-height: 0.82;
}

.hero-footnote {
  position: relative;
  z-index: 2;
  display: flex;
  align-self: end;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-shell {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 2.2fr);
  gap: clamp(38px, 8vw, 120px);
  padding: clamp(88px, 11vw, 170px) clamp(24px, 7vw, 112px);
}

.section-label {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-copy,
.product-copy {
  max-width: 1040px;
}

.large-copy {
  margin-bottom: 68px;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(34px, 4.1vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.large-copy em {
  color: var(--orange);
  font-style: normal;
}

.about-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.about-grid p,
.product-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.focus {
  grid-template-rows: auto auto;
  background: var(--ink);
  color: var(--paper);
}

.section-label.light {
  border-color: rgb(255 255 255 / 22%);
  color: rgb(255 255 255 / 60%);
}

.focus-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.65fr;
  gap: 28px;
}

.focus-heading h2,
.contact-card h2 {
  margin-bottom: 0;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(38px, 5vw, 74px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.focus-heading > p {
  align-self: end;
  color: rgb(255 255 255 / 62%);
  font-size: 14px;
  line-height: 1.9;
}

.focus-list {
  grid-column: 2;
}

.focus-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 28px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  padding: 28px 0 36px;
}

.focus-list article > span {
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.focus-list h3 {
  margin-bottom: 12px;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 400;
}

.focus-list p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 62%);
  font-size: 14px;
  line-height: 1.85;
}

.boundary-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-list li {
  border-top: 1px solid var(--line);
  padding: 21px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
}

.contact-card > a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  transition: border-color 180ms ease;
}

.contact-card > a:hover {
  border-color: var(--orange);
}

.contact-card > a > span:first-child {
  color: var(--ink-soft);
  font-size: 11px;
}

.contact-card strong {
  grid-column: 1;
  font-size: clamp(16px, 1.6vw, 22px);
}

.contact-arrow {
  grid-area: 1 / 2 / span 2;
  font-size: 28px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 10vw, 150px) clamp(24px, 7vw, 112px) clamp(70px, 9vw, 120px);
  background:
    radial-gradient(circle at 86% 8%, rgb(201 239 125 / 48%), transparent 28%),
    radial-gradient(circle at 4% 105%, rgb(226 116 68 / 14%), transparent 28%),
    var(--cream);
}

.page-hero::after {
  position: absolute;
  right: clamp(-100px, -5vw, -40px);
  bottom: -180px;
  width: min(40vw, 540px);
  height: min(40vw, 540px);
  border: 1px solid rgb(23 54 44 / 16%);
  border-radius: 50%;
  content: "";
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: 12px;
}

.breadcrumb span {
  opacity: 0.45;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin-bottom: 28px;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.page-summary {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.85;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 42px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.document-shell {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1.7fr);
  gap: clamp(42px, 8vw, 130px);
  padding: clamp(72px, 9vw, 130px) clamp(24px, 7vw, 112px);
}

.document-aside {
  align-self: start;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.document-aside strong {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.document-aside a {
  display: block;
  width: fit-content;
  margin: 11px 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.document-aside a:hover {
  color: var(--orange);
}

.document-content {
  max-width: 880px;
}

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

.document-section:first-child {
  border-top-color: var(--line-strong);
}

.document-section h2 {
  margin-bottom: 20px;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.document-section p,
.document-section li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.document-section p:last-child {
  margin-bottom: 0;
}

.document-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.25em;
}

.record-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.record-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: var(--paper-strong);
}

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

.record-card a {
  border-bottom: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 700;
}

.data-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-strong);
}

.data-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 17px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
  vertical-align: top;
}

.data-table th {
  background: rgb(201 239 125 / 18%);
  color: var(--ink);
  font-weight: 700;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.related-pages {
  padding: 0 clamp(24px, 7vw, 112px) clamp(72px, 9vw, 130px);
}

.related-pages-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.related-pages strong {
  width: 100%;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.related-pages a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--ink-soft);
  font-size: 12px;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.related-pages a:hover {
  border-color: var(--orange);
  background: white;
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  margin: 0 clamp(24px, 7vw, 112px);
  border-top: 1px solid var(--line);
  padding: 36px 0 42px;
}

.footer-brand,
.footer-note {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-brand strong {
  font-size: 13px;
}

.footer-brand span,
.footer-note span,
.footer-note a {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.footer-note {
  align-items: flex-end;
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-links a:hover,
[data-icp-record]:hover {
  color: var(--orange);
}

[data-icp-record] {
  width: fit-content;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 76% 20%, rgb(201 239 125 / 56%), transparent 28%),
    var(--cream);
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--orange);
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(90px, 22vw, 240px);
  font-weight: 400;
  line-height: 0.8;
}

.not-found h1 {
  margin: 32px 0 12px;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
}

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

.not-found a {
  display: inline-flex;
  margin-top: 18px;
}

@media (width <= 980px) {
  .hero-art {
    top: 18%;
    right: -18vw;
    opacity: 0.55;
  }

  .section-shell,
  .document-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .focus-list {
    grid-column: 1;
  }

  .focus-heading,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .focus-heading > p {
    max-width: 520px;
  }

  .document-aside {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .document-aside strong {
    width: 100%;
  }

  .document-aside a {
    margin: 0;
  }
}

@media (width <= 760px) {
  .site-header {
    padding: 18px 20px;
  }

  .brand-copy small,
  .main-nav a:not(.nav-contact) {
    display: none;
  }

  .nav-contact {
    padding: 9px 14px;
  }

  .hero {
    min-height: 820px;
    padding: 142px 20px 34px;
  }

  .hero-copy {
    align-self: start;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 80px);
  }

  .hero-intro {
    font-size: 15px;
  }

  .hero-art {
    top: auto;
    right: -150px;
    bottom: 20px;
    width: 390px;
    height: 390px;
    opacity: 0.68;
  }

  .hero-seal {
    width: 112px;
    height: 112px;
  }

  .hero-seal strong {
    font-size: 40px;
  }

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

  .hero-footnote {
    gap: 12px;
  }

  .section-shell {
    padding: 78px 20px;
  }

  .large-copy {
    margin-bottom: 48px;
  }

  .about-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .focus-list article {
    grid-template-columns: 34px 1fr;
  }

  .page-hero {
    padding: 66px 20px 70px;
  }

  .document-shell {
    padding: 58px 20px 76px;
  }

  .record-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .related-pages {
    padding: 0 20px 76px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 26px;
    margin: 0 20px;
  }

  .footer-note {
    align-items: flex-start;
    text-align: left;
  }

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

@media print {
  .site-header,
  .document-aside,
  .related-pages,
  .footer-links {
    display: none;
  }

  body,
  .page-hero {
    background: white;
  }

  .page-hero,
  .document-shell {
    padding: 24px 0;
  }

  .site-footer {
    margin: 0;
  }

  .document-content {
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
