:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5d6f67;
  --paper: #f6fbf8;
  --surface: #ffffff;
  --line: #dbe9e2;
  --forest-950: #052e24;
  --forest-900: #064e3b;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --mint-300: #6ee7b7;
  --mint-100: #dff8ed;
  --warning: #b7791f;
  --danger: #c24141;
  --shadow: 0 18px 60px rgba(6, 78, 59, 0.12);
  --radius: 8px;
  --max: 1160px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

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

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef8f3;
  color: var(--forest-900);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  padding: 0.12rem 0.36rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(246, 251, 248, 0.84);
  border-bottom: 1px solid rgba(219, 233, 226, 0.72);
  display: flex;
  gap: 24px;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 760;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  background:
    linear-gradient(135deg, var(--forest-900), var(--emerald-500)),
    var(--emerald-700);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  display: inline-block;
  height: 28px;
  position: relative;
  width: 28px;
}

.brand-mark::after {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 10px;
  position: absolute;
  top: 10px;
  width: 8px;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2.6vw, 30px);
  font-size: 14px;
  font-weight: 650;
  color: #3d5148;
}

.nav a {
  border-radius: 999px;
  padding: 8px 0;
}

.nav a:hover {
  color: var(--emerald-700);
}

.hero {
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(246, 251, 248, 0.98) 0%, rgba(246, 251, 248, 0.9) 34%, rgba(246, 251, 248, 0.18) 72%),
    linear-gradient(180deg, rgba(246, 251, 248, 0.04) 0%, rgba(246, 251, 248, 0.94) 100%);
  inset: 0;
  position: absolute;
}

.hero-content {
  margin: 0 auto;
  max-width: var(--max);
  padding: 168px 24px 120px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--emerald-700);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  color: var(--forest-950);
  font-size: clamp(46px, 6.2vw, 82px);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 28px;
  max-width: 980px;
  text-wrap: balance;
}

.title-phrase {
  display: inline-block;
  white-space: nowrap;
}

.hero-copy {
  color: #34473f;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.72;
  margin-bottom: 34px;
  max-width: 670px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
}

.hero-actions span,
.quality-strip span,
.state {
  border: 1px solid rgba(4, 120, 87, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--forest-900);
  display: inline-flex;
  font-size: 13px;
  font-weight: 720;
  line-height: 1;
  padding: 11px 14px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 108px 24px;
}

.band {
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  position: relative;
}

.band::before {
  background: #edf8f2;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.section-heading {
  margin-bottom: 42px;
  max-width: 980px;
}

h2 {
  color: var(--forest-950);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.12;
  margin-bottom: 0;
  text-wrap: balance;
}

h3 {
  color: var(--forest-950);
  font-size: 22px;
  line-height: 1.22;
  margin-bottom: 12px;
}

h4 {
  color: var(--forest-900);
  font-size: 15px;
  margin-bottom: 6px;
}

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

.principles article,
.stack-card,
.palette,
.type-scale,
.component-guides,
.motion,
.timeline article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.principles article {
  padding: 26px;
}

.number {
  color: var(--emerald-600);
  display: block;
  font-size: 13px;
  font-weight: 820;
  margin-bottom: 32px;
}

.principles p,
.stack-card p,
.text-block p,
.rules-list p,
.type-scale p,
.component-guides li,
.motion p,
.timeline p,
.footer p {
  color: var(--muted);
}

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

.stack-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.card-kicker {
  align-self: flex-start;
  background: var(--mint-100);
  border-radius: 999px;
  color: var(--forest-900);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 6px 10px;
}

ul {
  margin: 0;
  padding-left: 18px;
}

li + li {
  margin-top: 8px;
}

.stack-card li {
  color: #3f554c;
}

.two-column {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.text-block {
  align-self: start;
  border-left: 4px solid var(--emerald-500);
  padding-left: 24px;
}

.rules-list {
  display: grid;
  gap: 14px;
}

.rules-list div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.rules-list p {
  margin-bottom: 0;
}

.quality-strip {
  border: 1px solid rgba(4, 120, 87, 0.16);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding: 14px;
}

.quality-strip span {
  background: #edf8f2;
}

.design-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.08fr 0.92fr;
}

.palette,
.type-scale,
.component-guides,
.motion {
  padding: 28px;
}

.swatches {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swatches div {
  align-items: flex-end;
  aspect-ratio: 2.1 / 1;
  background: var(--swatch);
  border: 1px solid rgba(23, 33, 29, 0.12);
  border-radius: var(--radius);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 118px;
  padding: 14px;
}

.swatches div:nth-child(5) {
  color: var(--forest-900);
}

.swatches span {
  font-size: 12px;
  opacity: 0.86;
}

.swatches strong {
  font-size: 14px;
}

.type-row {
  border-top: 1px solid var(--line);
  color: var(--forest-950);
  font-weight: 760;
  padding: 16px 0;
}

.type-row.display {
  font-size: 40px;
  line-height: 1.1;
}

.type-row.title {
  font-size: 28px;
  line-height: 1.18;
}

.type-row.body {
  font-size: 16px;
}

.component-guides,
.motion {
  align-self: stretch;
}

.state-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.state.success {
  background: #e7f8ef;
}

.state.warning {
  background: #fff7df;
  border-color: rgba(183, 121, 31, 0.28);
  color: var(--warning);
}

.state.danger {
  background: #fff0f0;
  border-color: rgba(194, 65, 65, 0.22);
  color: var(--danger);
}

.delivery {
  padding-bottom: 96px;
}

.timeline {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  padding: 24px;
  position: relative;
}

.timeline span {
  color: var(--emerald-700);
  display: block;
  font-size: 12px;
  font-weight: 820;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.timeline p {
  margin-bottom: 0;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 30px 24px 42px;
}

.footer p {
  margin-bottom: 0;
}

.footer a {
  color: var(--emerald-700);
  font-weight: 760;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .nav {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 178px;
  }

  .principles,
  .stack-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .two-column,
  .design-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(246, 251, 248, 0.96), rgba(246, 251, 248, 0.78)),
      linear-gradient(180deg, rgba(246, 251, 248, 0.12), rgba(246, 251, 248, 0.96));
  }

  .hero-content {
    padding: 172px 20px 90px;
  }

  .section {
    padding: 76px 20px;
  }

  .band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .principles,
  .stack-grid,
  .timeline,
  .swatches {
    grid-template-columns: 1fr;
  }

  .stack-card,
  .palette,
  .type-scale,
  .component-guides,
  .motion {
    padding: 22px;
  }

  .type-row.display {
    font-size: 32px;
  }

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