:root {
  --ink: #1a2332;
  --mist: #e8eef4;
  --accent: #c45c26;
  --pine: #1f4d3a;
  --sand: #f3ebe2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.font-display {
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}

.site-header__inner,
.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.logo {
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.nav a:hover {
  color: #fff;
}

main {
  flex: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #1a2332;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, #2d4a3e 0%, transparent 45%),
    radial-gradient(ellipse at 80% 70%, #5a3218 0%, transparent 40%),
    linear-gradient(160deg, #15202b 0%, #1f4d3a 55%, #1a2332 100%);
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  animation: drift 6s ease-in-out infinite alternate;
}

.blob--a {
  right: -4rem;
  top: 6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(196, 92, 38, 0.2);
}

.blob--b {
  left: -2.5rem;
  bottom: 5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(31, 77, 58, 0.4);
  animation-delay: 1.5s;
}

.hero__content {
  position: relative;
  min-height: 100svh;
  max-width: 64rem;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .hero__content {
    justify-content: center;
    padding-bottom: 4rem;
  }
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  animation: rise 0.8s ease-out both;
}

.hero h1 {
  margin: 1rem 0 0;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  animation: rise 0.9s ease-out 0.15s both;
}

.hero__lead {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  animation: rise 0.9s ease-out 0.15s both;
}

.actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: rise 0.9s ease-out 0.15s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: #b04f1f;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.section {
  padding: 5rem 0;
}

.section h2 {
  margin: 0;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.85rem;
}

.section p {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: rgba(26, 35, 50, 0.75);
}

.section a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.section a:hover {
  text-decoration: underline;
}

.cards {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards h3 {
  margin: 0;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.25rem;
}

.cards p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(26, 35, 50, 0.65);
}

.page-top {
  background: linear-gradient(180deg, #1a2332 0%, #1a2332 180px, #f3ebe2 180px);
  padding: 9rem 0 6rem;
}

.page-top h1 {
  margin: 0;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: #fff;
}

.page-top .lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.7);
}

.content {
  margin-top: 3rem;
  max-width: 40rem;
  color: rgba(26, 35, 50, 0.8);
}

.content p + p {
  margin-top: 1.5rem;
}

.content strong {
  color: var(--ink);
}

.content a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.content a:hover {
  text-decoration: underline;
}

.content .muted {
  font-size: 0.9rem;
  color: rgba(26, 35, 50, 0.55);
}

.dl {
  margin: 3rem 0 0;
}

.dl > div + div {
  margin-top: 1.5rem;
}

.dl dt {
  font-size: 0.85rem;
  color: rgba(26, 35, 50, 0.5);
}

.dl dd {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
  color: var(--ink);
}

.dl dd.scope {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(26, 35, 50, 0.8);
}

.site-footer {
  border-top: 1px solid rgba(26, 35, 50, 0.1);
  background: var(--ink);
  color: var(--mist);
}

.site-footer__inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer .brand {
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
}

.site-footer .company {
  margin: 0.25rem 0 0;
  color: rgba(232, 238, 244, 0.8);
}

.site-footer .meta {
  color: rgba(232, 238, 244, 0.75);
}

.site-footer .meta p {
  margin: 0.25rem 0 0;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -12px, 0);
  }
}
