:root {
  --teal: #0d7377;
  --teal-ink: #095255;
  --teal-mid: #14919b;
  --sand: #e8d5b7;
  --sand-deep: #d9c29a;
  --ink: #1a1a1a;
  --mute: #3f3f3f;
  --paper: #f4efe6;
  --white: #ffffff;
  --hair: #cfc3a8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.util {
  height: 48px;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.util .mark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 15px;
  text-decoration: none;
}

.util .mark:hover {
  text-decoration: none;
  color: var(--sand);
}

.util svg {
  display: block;
}

.util nav {
  display: flex;
  height: 48px;
}

.util nav a {
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.util nav a:hover,
.util nav a.on {
  background: var(--teal-ink);
  text-decoration: none;
}

.util nav a.on {
  box-shadow: inset 0 -3px 0 var(--sand);
}

.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-bottom: 4px solid var(--teal);
}

.hero-copy {
  padding: 40px 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy .kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: 1.62rem;
  line-height: 1.35;
  margin-bottom: 14px;
}

.hero-copy .lead {
  color: var(--mute);
  margin-bottom: 20px;
  max-width: 36em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  width: fit-content;
}

.btn:hover {
  background: var(--teal-ink);
  text-decoration: none;
}

.btn svg {
  display: block;
}

.hero-visual {
  background: var(--teal-ink);
  display: flex;
  align-items: stretch;
}

.chart-mock {
  margin: 22px;
  flex: 1;
  background: #102f31;
  border: 1px solid #2a6a6d;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.chart-mock .ch-top {
  height: 28px;
  border-bottom: 1px solid #2a6a6d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: var(--sand);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.chart-mock .ch-top b {
  color: var(--white);
  font-weight: 600;
}

.chart-grid {
  flex: 1;
  position: relative;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 31px,
      rgba(232, 213, 183, 0.12) 31px,
      rgba(232, 213, 183, 0.12) 32px
    ),
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 39px,
      rgba(13, 115, 119, 0.35) 39px,
      rgba(13, 115, 119, 0.35) 40px
    );
  padding: 18px 36px 28px 16px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.cd {
  display: block;
  width: 9px;
  position: relative;
  flex: 0 0 9px;
}

.cd::before {
  content: "";
  position: absolute;
  left: 4px;
  width: 1px;
  background: var(--sand);
  top: -12px;
  bottom: -10px;
}

.cd.up {
  background: var(--teal-mid);
}

.cd.dn {
  background: #c45c26;
}

.chart-grid .y {
  position: absolute;
  right: 8px;
  color: var(--sand);
  font-size: 10px;
  line-height: 1;
}

.chart-grid .y1 { top: 16px; }
.chart-grid .y2 { top: 46%; }
.chart-grid .y3 { bottom: 22px; }

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 22px 8px;
  background: var(--white);
}

.tile-dl {
  border: 1px solid var(--hair);
  background: var(--paper);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.tile-dl:hover {
  border-color: var(--teal);
  background: #eef6f6;
  text-decoration: none;
}

.tile-dl svg {
  flex: 0 0 28px;
  margin-top: 2px;
}

.tile-dl strong {
  display: block;
  font-size: 14px;
  color: var(--teal-ink);
}

.tile-dl span {
  display: block;
  font-size: 12px;
  color: var(--mute);
  margin-top: 2px;
}

.note-mt5 {
  margin: 0 22px 18px;
  padding: 10px 12px;
  border-left: 4px solid var(--teal);
  background: #eef6f6;
  font-size: 13px;
  color: var(--mute);
}

.wrap {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
}

article.page {
  padding: 28px 0 48px;
}

article.page h2 {
  font-size: 1.28rem;
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--teal);
}

article.page p {
  margin-bottom: 12px;
}

article.page time {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.stepper {
  display: flex;
  gap: 0;
  margin: 16px 0 18px;
  border: 1px solid var(--hair);
  background: var(--white);
}

.stepper li {
  list-style: none;
  flex: 1;
  padding: 14px 12px 14px 16px;
  border-right: 1px solid var(--hair);
  font-size: 13px;
  color: var(--mute);
  position: relative;
}

.stepper li:last-child {
  border-right: 0;
}

.stepper li b {
  display: block;
  color: var(--teal);
  font-size: 18px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.chip-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--hair);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink);
}

.chip-news time {
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  padding: 2px 6px;
  font-weight: 700;
}

.bar-cmp {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 16px;
}

.bar-cmp > div {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--hair);
  padding: 14px 16px 14px 18px;
  border-left: 8px solid var(--teal);
}

.bar-cmp > div.alt {
  border-left-color: var(--sand-deep);
  background: #fbf6ec;
}

.bar-cmp strong {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-ink);
}

.sand-risk {
  background: var(--sand);
  padding: 18px 22px;
  margin: 16px 0;
  color: var(--ink);
}

.sand-risk p:last-child {
  margin-bottom: 0;
}

.faq {
  margin: 8px 0 0;
}

.faq .qa {
  border-left: 4px solid var(--teal);
  background: var(--white);
  padding: 10px 14px;
  margin-bottom: 8px;
}

.faq .q {
  font-weight: 700;
  color: var(--teal-ink);
}

.faq .qa p {
  margin: 8px 0 4px;
  color: var(--mute);
}

footer {
  background: var(--ink);
  color: #d7d7d7;
  padding: 22px;
  font-size: 13px;
  line-height: 1.7;
}

footer p {
  max-width: 1080px;
  margin: 0 auto 6px;
}

footer p:last-child {
  margin-bottom: 0;
  color: var(--sand);
}

@media (max-width: 860px) {
  .split-hero,
  .tiles {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 28px 20px;
  }

  .hero-visual {
    min-height: 240px;
  }

  .stepper {
    flex-wrap: wrap;
  }

  .stepper li {
    flex: 1 1 46%;
    border-bottom: 1px solid var(--hair);
  }

  .util {
    padding: 0 10px;
  }

  .util nav a {
    padding: 0 8px;
    font-size: 12px;
  }
}
