* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  --ink: #133640;
  --teal: #087f80;
  --muted: #47636b;
}
body {
  margin: 0;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f3f7f6;
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrap {
  width: min(1180px, 92%);
  margin: auto;
}
.header {
  background: white;
  border-bottom: 1px solid #dbe7e5;
}
.nav, nav, .brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav {
  min-height: 76px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 12px 0;
}
.brand {
  gap: 10px;
  font-weight: 800;
}
.brand span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
nav {
  flex-wrap: wrap;
  font-size: 14px;
}
nav a:hover {
  color: var(--teal);
}
section {
  margin: 36px 0;
  scroll-margin-top: 18px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  background: #102f3a;
  color: #f0fbf8;
  padding: 44px;
  border-radius: 24px;
}
.hero p {
  color: #c8e2df;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal);
  margin: 0 0 10px;
}
.hero .eyebrow {
  color: #a4f5d8;
}
h1 {
  font-size: clamp(27px, 3.6vw, 45px);
  line-height: 1.35;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  margin: 8px 0 18px;
}
h3 {
  font-size: 18px;
  margin: 8px 0;
}
p {
  margin: 8px 0 16px;
}
.lead {
  font-size: 20px;
  font-weight: 600;
}
.button, button {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  padding: 12px 22px;
  font: inherit;
  cursor: pointer;
  font-weight: 600;
}
.hero .button {
  background: #b5f3db;
  color: #143c3c;
}
.tool {
  background: white;
  border: 1px solid #d6e6e2;
  border-radius: 18px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}
.inputrow {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
input[type=text] {
  min-width: 0;
  flex: 1;
  width: 100%;
  padding: 12px;
  font: inherit;
  border: 1px solid #a6c5c0;
  border-radius: 8px;
}
#result {
  overflow-wrap: anywhere;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cards article, .faq article {
  padding: 22px;
  border: 1px solid #d6e6e2;
  background: white;
  border-radius: 14px;
}
.cards span {
  font-size: 30px;
  font-weight: 800;
  color: var(--teal);
}
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.split article {
  border-bottom: 1px solid #cddedb;
  padding: 12px 0;
}
.checklist {
  background: #dcece6;
  padding: 28px;
  border-radius: 16px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-weight: 600;
}
fieldset label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
}
input[type=checkbox] {
  accent-color: var(--teal);
}
.faq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
footer {
  background: #102f3a;
  color: #d2e8e2;
  padding: 28px 0;
}
:focus-visible {
  outline: 3px solid #e5a547;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .hero, .tool, .split {
  grid-template-columns: 1fr;
  gap: 22px;
}
  .hero, .tool {
  padding: 24px;
}
  .cards, .faq {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 480px) {
  .cards, .faq {
  grid-template-columns: 1fr;
}
  .nav, nav {
  gap: 12px;
}
  .brand span {
  display: none;
}
  .inputrow {
  flex-direction: column;
}
  section {
  margin: 24px 0;
}
  .hero {
  padding: 20px;
}
}

/* Extended editorial and tool components */
.answer {
  border-left: 3px solid #a4f5d8;
  padding-left: 14px;
}
.manual {
  background: #fff;
  border: 1px solid #d6e6e2;
  border-radius: 16px;
  padding: clamp(18px, 3vw, 32px);
}
.cards + .manual {
  margin-top: 18px;
}
.manual li {
  margin: 10px 0;
}
.manual a {
  color: #086969;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.examples {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.examples button {
  background: #e2efeb;
  color: #164c4b;
  font-size: 13px;
  padding: 8px 12px;
}
#result ul {
  padding-left: 22px;
}
#result li {
  margin: 5px 0;
}
.table-wrap {
  border: 1px solid #d6e6e2;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
caption {
  text-align: left;
  color: var(--muted);
  padding: 8px;
}
th, td {
  padding: 12px 8px;
  border-bottom: 1px solid #d6e6e2;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}
th {
  background: #e2efeb;
}
.hero > *, .tool > *, .split > *, .cards > *, .faq > * {
  min-width: 0;
}
@media (max-width: 480px) {
  th, td {
  font-size: 13px;
  padding: 8px 5px;
}
  .table-wrap {
  padding: 6px;
}
}
