:root {
  --paper: #f6f2e9;
  --paper-light: #fffdf8;
  --ink: #17201e;
  --ink-soft: #69706c;
  --orange: #e95b2a;
  --green: #12845f;
  --line: rgba(23, 32, 30, 0.14);
  --display: "STKaiti", "KaiTi", "FangSong", serif;
  --body: "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.1em;
}

.brand small {
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.header-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.header-note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 132, 95, 0.1);
}

.tool-page {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.tool-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
  min-height: 590px;
  padding: 82px 0;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-copy h1 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(62px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.hero-copy h1 em {
  color: var(--orange);
  font-style: normal;
  white-space: nowrap;
}

.hero-intro {
  max-width: 470px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.tool-card {
  min-width: 0;
  padding: 24px;
  transform: rotate(1.2deg);
  background: var(--ink);
  color: #fff;
  box-shadow: 18px 20px 0 #e7ded0;
}

.tool-card-head,
.tool-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-card-head span {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.tool-card-head small {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.chart-box {
  position: relative;
  height: 230px;
  margin: 22px 0 18px;
  overflow: hidden;
}

.chart-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 25% 33.333%;
}

.chart-box svg {
  position: absolute;
  inset: 20px 0 0;
  width: 100%;
  height: 190px;
  overflow: visible;
}

.chart-box path {
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.chart-box circle {
  fill: var(--orange);
  stroke: #fff;
  stroke-width: 4;
}

.tool-card-foot {
  justify-content: flex-start;
  gap: 18px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
}

.tool-card-foot span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.tool-card-foot span:nth-child(2)::before {
  background: var(--green);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  min-height: 150px;
  align-content: center;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.feature-list article:first-child {
  padding-left: 0;
}

.feature-list article:last-child {
  border-right: 0;
}

.feature-list article > span {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
}

.feature-list h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
}

.feature-list p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.tool-notice {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: center;
  gap: 80px;
  margin: 72px 0 82px;
  padding: 38px 42px;
  background: var(--paper-light);
  border: 1px solid var(--line);
}

.tool-notice h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 30px;
}

.tool-notice > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  min-height: 130px;
  padding: 32px max(24px, calc((100vw - var(--max-width)) / 2));
  background: var(--ink);
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand strong {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.footer-brand p,
.footer-filing p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.footer-links a:hover,
.footer-filing a:hover {
  color: #fff;
}

.footer-filing {
  display: grid;
  justify-items: end;
  gap: 7px;
  text-align: right;
}

.footer-filing a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}

.required-field {
  text-decoration: underline dotted var(--orange);
  text-underline-offset: 4px;
}

/* 隐私说明与使用条款 */
.legal-body {
  min-height: 100vh;
}

.legal-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
}

.header-link span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.46fr 1fr;
  gap: 90px;
  width: min(calc(100% - 48px), 1000px);
  margin: 0 auto;
  padding: 86px 0 110px;
}

.legal-aside {
  position: sticky;
  top: 28px;
  align-self: start;
}

.section-number {
  margin: 0;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.legal-aside h1 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 60px;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.legal-aside > p:not(.section-number) {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.legal-aside > span {
  display: block;
  margin-top: 17px;
  color: var(--ink-soft);
  font-size: 10px;
}

.legal-article {
  border-top: 1px solid var(--line);
}

.legal-article section {
  padding: 27px 0 30px;
  border-bottom: 1px solid var(--line);
}

.legal-article h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 22px;
}

.legal-article p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.legal-footer {
  display: flex;
  min-height: 100px;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .tool-hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .feature-list article {
    grid-template-columns: 32px 1fr;
    padding: 24px 18px;
  }

  .tool-notice {
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .site-header,
  .tool-page,
  .legal-layout {
    width: calc(100% - 36px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .header-note {
    max-width: 112px;
    justify-content: flex-end;
    font-size: 10px;
    text-align: right;
  }

  .tool-hero {
    min-height: auto;
    gap: 42px;
    padding: 62px 0 68px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-intro {
    font-size: 14px;
  }

  .tool-card {
    padding: 18px;
    transform: none;
    box-shadow: 9px 10px 0 #e7ded0;
  }

  .chart-box {
    height: 175px;
  }

  .chart-box svg {
    height: 145px;
  }

  .tool-card-foot {
    gap: 10px;
    font-size: 9px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list article,
  .feature-list article:first-child {
    min-height: 110px;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-list article:last-child {
    border-bottom: 0;
  }

  .tool-notice {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 52px 0 58px;
    padding: 28px 24px;
  }

  .tool-notice h2 {
    font-size: 26px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 24px;
    padding: 34px 18px;
  }

  .footer-filing {
    justify-items: start;
    text-align: left;
  }

  .legal-header {
    grid-template-columns: 1fr 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 65px 0 90px;
  }

  .legal-aside {
    position: static;
  }

  .legal-aside h1 {
    font-size: 52px;
  }

  .legal-footer {
    display: block;
  }
}
