:root {
  color-scheme: light;
  --ink: #173047;
  --ink-soft: #41576a;
  --deep: #10283d;
  --teal: #087d72;
  --teal-dark: #06645c;
  --line: #d9e2e4;
  --paper: #f7f8f5;
  --white: #fff;
  --notice: #fff4d9;
  --notice-line: #e3bd60;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.7;
}
a { color: var(--teal-dark); text-underline-offset: .22em; }
a:hover { color: #004d46; }
a:focus-visible, button:focus-visible { outline: 3px solid #f0ae32; outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.notice {
  background: var(--notice);
  border-bottom: 1px solid var(--notice-line);
  color: #644b18;
  font-size: .9rem;
}
.notice .container { padding-block: 7px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 18px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--deep); white-space: nowrap; }
.brand strong { font-size: 1.55rem; letter-spacing: .07em; line-height: 1; }
.brand span { font-size: .84rem; color: var(--ink-soft); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .93rem; }
.nav a { color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-dark); border-bottom-color: var(--teal); }
.page-hero { background: linear-gradient(135deg, #10283d 0%, #153e50 60%, #087d72 100%); color: var(--white); }
.page-hero .container { padding-block: 64px 70px; }
.page-hero.home .container { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr); gap: 50px; align-items: center; }
.eyebrow { color: #78ded0; font-size: .83rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.28; margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.025em; margin-block: 14px 22px; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 16px; }
h3 { font-size: 1.12rem; margin-bottom: 8px; }
.lead { font-size: 1.12rem; color: #d8e8eb; max-width: 680px; }
.hero-panel { border: 1px solid #7ebeb8; border-radius: 16px; padding: 24px; background: #ffffff13; box-shadow: 0 18px 38px #09223344; }
.hero-panel strong { display: block; color: #a1ede2; margin-bottom: 12px; }
.hero-panel p { margin: 0; font-size: .94rem; color: #e6f2f2; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.button.primary { color: var(--deep); background: #9ce5d9; }
.button.primary:hover { background: #c5f3eb; }
.button.ghost { color: var(--white); border: 1px solid #93b6bd; }
.button.ghost:hover { background: #ffffff20; }
.section { padding-block: 62px; }
.section.compact { padding-block: 42px; }
.section.white { background: var(--white); }
.section-intro { max-width: 760px; color: var(--ink-soft); margin-bottom: 27px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px; box-shadow: 0 5px 18px #1530470a; }
.white .card { background: var(--paper); }
.card p:last-child { margin-bottom: 0; }
.card .number { display: inline-block; color: var(--teal-dark); font-weight: 800; margin-bottom: 14px; font-size: .9rem; }
.callout { border-left: 4px solid var(--teal); background: #e9f4f1; padding: 18px 22px; border-radius: 0 9px 9px 0; }
.callout.warning { border-left-color: var(--notice-line); background: var(--notice); }
.page-content { padding-block: 54px 80px; }
.prose { max-width: 800px; }
.prose > p:first-child { font-size: 1.08rem; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 28px; }
.prose li { margin-bottom: 8px; }
.prose .callout { margin-block: 28px; }
.split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, .7fr); gap: 38px; align-items: start; }
.sidebox { border-radius: 12px; padding: 24px; background: var(--white); border: 1px solid var(--line); }
.sidebox h2 { font-size: 1.17rem; margin-bottom: 14px; }
.sidebox ul { padding-left: 19px; margin-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.table-hint { color: var(--ink-soft); font-size: .86rem; margin-top: 28px; }
table { width: 100%; border-collapse: collapse; min-width: 740px; font-size: .91rem; }
caption { text-align: left; font-weight: 700; padding: 15px 18px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
th { background: #ebf1f0; white-space: nowrap; }
tr:nth-child(even) td { background: #fbfcfb; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.03rem; }
details p { margin-bottom: 0; }
.field-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; font-weight: 700; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; border: 1px solid #aebfc5; border-radius: 7px; padding: 11px 12px;
  color: #52636d; background: #eef1f1; font: inherit;
}
.field-placeholder {
  display: block; width: 100%; border: 1px solid #aebfc5; border-radius: 7px;
  padding: 11px 12px; color: #52636d; background: #eef1f1; font-weight: 400;
}
.field textarea { min-height: 100px; resize: none; }
.field small { font-weight: 400; color: var(--ink-soft); }
.allwin-test-form { display: grid; gap: 14px; max-width: 520px; }
.allwin-test-form .field input, .allwin-test-form .field select {
  background: #fff; color: var(--ink); border: 1px solid #7899a0;
  border-radius: 7px; padding: 11px 12px; font: inherit;
}
.allwin-test-form .field select { width: 100%; }
.allwin-test-form .button { justify-self: start; border: 0; cursor: pointer; }
.site-footer { background: var(--deep); color: #d9e6e8; padding-block: 34px; font-size: .9rem; }
.site-footer a { color: #a0eadf; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
@media (max-width: 800px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 15px; }
  .page-hero.home .container, .split { grid-template-columns: 1fr; }
  .hero-panel { max-width: 620px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { gap: 8px 14px; }
  .page-hero .container { padding-block: 46px 52px; }
  .section { padding-block: 45px; }
  .grid, .grid.two, .field-preview { grid-template-columns: 1fr; }
  .card { padding: 21px; }
}
