/* Evergreen 青松. No web fonts or third-party assets: the site must load in mainland China. */
:root {
  --fog: #e7edea;
  --paper: #fbfcfb;
  --needle: #1f4a3a;
  --needle-soft: #3f6b59;
  --ink: #12261f;
  --muted: #55675f;
  --line: #c9d4ce;
  --bridge: #c0362c; /* International Orange, also the red of a name seal */
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Iowan Old Style", "Palatino Linotype", Palatino, "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Noto Sans CJK SC", sans-serif;
  --measure: 36em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
html[lang="zh-CN"] .en, html[lang="en"] .zh { display: none !important; }

body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.6; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: 0.01em; }
html[lang="zh-CN"] h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.35; }
h1 .clause { display: inline-block; }
html[lang="en"] h1 { letter-spacing: -0.015em; line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; max-width: var(--measure); }
a { color: var(--needle); }
:focus-visible { outline: 3px solid var(--bridge); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 46rem; }
.section { padding-top: 5rem; padding-bottom: 5rem; }
.band { background: var(--paper); padding: 5rem 0; border-block: 1px solid var(--line); }
.two-col { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.section-lede { color: var(--muted); margin-bottom: 2rem; }
.fine, .aside, .hint, .status { font-size: 0.9rem; color: var(--muted); }

/* Notice bar and header */
.notice {
  margin: 0; max-width: none;
  background: var(--needle); color: #eaf3ee;
  font-size: 0.85rem; line-height: 1.5; text-align: center;
  padding: 0.55rem 1rem;
}
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 1.5rem;
  background: color-mix(in srgb, var(--fog) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.seal {
  display: inline-grid; place-items: center;
  width: 2.3rem; height: 2.3rem;
  background: var(--bridge); color: #fff;
  font-family: var(--serif); font-size: 0.85rem; font-weight: 700; line-height: 1;
  border-radius: 4px;
}
.nav { display: flex; align-items: center; gap: 1.25rem; font-size: 0.95rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.lang {
  font: inherit; color: var(--needle); background: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.8rem;
}
.lang:hover { border-color: var(--needle); }

/* Buttons */
.btn {
  display: inline-block; cursor: pointer;
  font: inherit; font-weight: 600; text-decoration: none; text-align: center;
  color: #fff; background: var(--bridge);
  border: 2px solid var(--bridge); border-radius: 6px;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn:hover { background: #a22b22; border-color: #a22b22; }
.btn-small { padding: 0.35rem 0.9rem; font-size: 0.95rem; }
.btn-small, .lang { white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--needle); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--needle); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.text-link { text-underline-offset: 4px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  max-width: 76rem; margin: 0 auto;
  padding: 4.5rem 1.5rem 13rem;
}
.hero-copy, .slip { position: relative; z-index: 1; }
.lede { font-size: 1.15rem; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin: 2rem 0 1.5rem; }
.status { border-left: 3px solid var(--needle-soft); padding-left: 0.9rem; }

.ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 11rem; z-index: 0; }

/* The fee slip: the one loud element on the page */
.slip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -22px rgba(18, 38, 31, 0.45);
  transform: rotate(1.2deg);
}
.slip-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; margin: 0; }
.slip-sub { color: var(--muted); font-size: 0.9rem; margin: 0.15rem 0 1.25rem; }
.slip-rows { margin: 0; }
.slip-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.9rem 0; border-top: 1px dashed var(--line);
}
.slip-row dt { color: var(--muted); }
.slip-row dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.slip-ours dt { color: var(--ink); font-weight: 600; }
.slip-ours dd { font-size: 1.9rem; font-weight: 700; color: var(--needle); }
.slip-note { font-size: 0.8rem; line-height: 1.6; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 0.9rem; margin: 0; padding-right: 4.5rem; }
.stamp {
  position: absolute; right: 1.1rem; bottom: 1rem;
  width: 4.2rem; height: 4.2rem;
  display: grid; place-content: center; text-align: center;
  border: 3px solid var(--bridge); border-radius: 6px;
  color: var(--bridge); font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1.25;
  transform: rotate(-8deg); opacity: 0.85;
}
.stamp span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: stamp 0.5s 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
  @keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.8); } }
}

/* Lists */
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { position: relative; padding: 0.7rem 0 0.7rem 1.6rem; border-top: 1px solid var(--line); max-width: var(--measure); }
.plain li::before { content: ""; position: absolute; left: 0.1rem; top: 1.35rem; width: 0.6rem; height: 0.6rem; background: var(--needle); border-radius: 50%; }
.plain-no li::before { background: none; border: 2px solid var(--bridge); }
.aside { margin-top: 1.25rem; }

/* Pricing table */
.table-scroll { overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.prices th, .prices td { padding: 0.95rem 1.25rem; text-align: left; border-top: 1px solid var(--line); vertical-align: baseline; }
.prices thead th { font-size: 0.9rem; font-weight: 600; color: var(--muted); border-top: 0; }
.prices tbody th { font-weight: 600; }
.prices td { color: var(--muted); }
.prices .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices td.num { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--needle); }
.fine { margin-top: 1rem; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: step; display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 3px solid var(--needle); padding-top: 1rem; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--needle-soft); line-height: 1; display: block; margin-bottom: 0.5rem; }
.steps p { color: var(--muted); margin: 0.4rem 0 0; font-size: 0.98rem; }

/* FAQ */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.95rem; font-size: 1.4rem; font-weight: 400; color: var(--needle-soft); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* Intake form */
.intake, .done { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 2rem; max-width: 46rem; }
.progress { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.5rem; }
.bar { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: 2rem; overflow: hidden; }
.bar span { display: block; height: 100%; width: 20%; background: var(--needle); transition: width 0.25s; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .q { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1.4; padding: 0; margin: 0 0 1rem; max-width: none; }
.q { margin-top: 2rem; }
.hint { margin: -0.5rem 0 1rem; }
.choices { display: grid; gap: 0.6rem; }
.choices-row { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.choices label { position: relative; display: block; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choices label > span { display: block; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; line-height: 1.45; }
.choices label:hover > span { border-color: var(--needle-soft); }
.choices input:checked + span { border-color: var(--needle); background: #e9f1ec; box-shadow: inset 0 0 0 1px var(--needle); font-weight: 600; }
.choices input:focus-visible + span { outline: 3px solid var(--bridge); outline-offset: 2px; }

.fields { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.field { display: block; }
.field-wide { grid-column: 1 / -1; }
.label { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 0.3rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.7rem 0.85rem; background: #fff;
  border: 1.5px solid var(--line); border-radius: 6px;
}
.field input:focus, .field textarea:focus { border-color: var(--needle); outline: none; box-shadow: 0 0 0 3px rgba(31, 74, 58, 0.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.5rem; font-size: 0.92rem; color: var(--muted); cursor: pointer; }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.3rem; flex: none; accent-color: var(--needle); }
.form-error { color: var(--bridge); font-weight: 600; margin: 1.5rem 0 0; }
.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.form-nav .btn:not(.btn-ghost) { margin-left: auto; }
.done h3 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--needle); }
.done p:last-child { margin-bottom: 0; }

/* Footer */
.foot { background: var(--ink); color: #c5d2cc; padding: 3rem 0; font-size: 0.88rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: minmax(12rem, 1fr) minmax(0, 3fr); }
.foot-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1.15rem; color: #fff; margin-bottom: 0.4rem; }
.foot p { margin-bottom: 0; }
.foot-legal { max-width: 52rem; }

[hidden] { display: none !important; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 10rem; }
  .slip { transform: none; }
  .nav a:not(.btn) { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .section, .band { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
@media (max-width: 480px) {
  .top { padding: 0.6rem 1rem; }
  .brand-name { display: none; }
  .nav { gap: 0.6rem; }
  .wrap, .hero { padding-left: 1rem; padding-right: 1rem; }
  .intake, .done { padding: 1.25rem; }
  .slip { padding: 1.5rem 1.25rem 1.25rem; }
  .slip-ours dd { font-size: 1.5rem; }
  .prices th, .prices td { padding: 0.8rem 0.75rem; }
  .form-nav .btn { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
