@charset "UTF-8";
:root {
  --paper: #faf8f4;
  --card: #fffefb;
  --ink: #283a32;
  --muted: #7b8075;
  --line: #e5e7dd;
  --green: #334f40;
  --sage: #eaf0e5;
  --accent: #ad6449;
  --danger: #a54036;
  --radius: 18px;
  --shadow: 0 16px 60px #283a3210;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #ad644969; outline-offset: 3px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.35; }
h1 { font-size: 36px; letter-spacing: -1.2px; }
h2 { font-size: 23px; }
h3 { font-size: 17px; }
p { margin-bottom: 16px; }

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 9px;
  border: 0;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}
.btn.primary { background: var(--green); color: var(--paper); }
.btn.secondary { background: var(--sage); color: var(--green); }
.btn.ghost { background: transparent; color: var(--green); border: 1px solid var(--line); }
.btn.small { padding: 6px 12px; font-size: 12px; }

/* Layout */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; padding: 12px 32px; max-width: 1200px; margin: 0 auto; gap: 32px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 24px; color: var(--green); }
.brand-mark { width: 36px; height: 40px; background: var(--green); color: var(--paper); border-radius: 8px 8px 18px 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; font-weight: normal; }
.brand > span { display: flex; flex-direction: column; line-height: 1; }
.brand-en { font-size: 8px; font-weight: 600; letter-spacing: 2.5px; margin-top: 3px; opacity: 0.8; }
#navigation { display: flex; gap: 32px; font-weight: 500; }
#navigation a { color: var(--muted); padding: 6px 0; }
#navigation a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.language-toggle { border: 1px solid var(--line); border-radius: 7px; background: var(--card); color: var(--green); padding: 5px 9px; min-width: 36px; font-size: 11px; white-space: nowrap; }
.language-toggle:hover { background: var(--sage); }

main { max-width: 1000px; margin: 0 auto; padding: 48px 32px 80px; }
footer { margin: 0 48px; border-top: 1px solid var(--line); padding: 42px 0 64px; display: flex; flex-direction: column; gap: 24px; }
.footer-brand { flex-direction: row; align-items: baseline; font-size: 20px; }
.footer-brand .muted { font-size: 12px; font-weight: normal; margin-left: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 500; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* Common Elements */
.eyebrow { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.card-pad { padding: 32px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 24px; }
.alert.warning { background: #fff3cd; color: #856404; }

/* Home / Hero */
.hero { display: flex; flex-direction: column; gap: 40px; padding-bottom: 40px; text-align: center; align-items: center; }
.hero h1 { font-size: 56px; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p { font-size: 18px; color: var(--muted); max-width: 600px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; margin: 24px 0; }
.hero-trust { display: flex; gap: 24px; justify-content: center; font-size: 11px; font-weight: 600; color: var(--muted); }

/* Home / Promise Strip */
.promise-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 40px 0 80px; }
.promise-strip > div { display: flex; gap: 16px; }
.step-number { font-size: 32px; font-weight: 700; color: var(--sage); line-height: 1; }
.promise-strip b { display: block; margin-bottom: 8px; font-size: 16px; color: var(--green); }
.promise-strip p { font-size: 13px; color: var(--muted); margin: 0; }

.home-note { background: var(--sage); padding: 24px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; }
.home-note p { margin: 8px 0 0 0; color: var(--green); font-size: 13px; }

/* Legal / FAQ */
.legal h1 { font-size: 42px; margin-bottom: 8px; }
.legal > .muted { margin-bottom: 40px; font-size: 16px; }
.legal h2 { font-size: 20px; margin: 32px 0 16px; color: var(--green); }
.legal p { margin-bottom: 16px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details:last-child { border-bottom: 0; }
summary { font-size: 16px; font-weight: 600; cursor: pointer; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 20px; font-weight: normal; }
details[open] summary::after { content: "−"; }
details[open] summary { color: var(--green); margin-bottom: 12px; }
details p { margin: 0; color: var(--muted); font-size: 14px; padding-left: 20px; }

/* Responsive */
@media (max-width: 760px) {
  .header-inner { padding: 16px 20px; gap: 16px; flex-wrap: wrap; }
  .brand { font-size: 20px; }
  #navigation { order: 3; flex-basis: 100%; gap: 25px; }
  main { padding: 28px 20px 42px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 15px; }
  .home-note { flex-direction: column; align-items: flex-start; }
}
html[lang="en"] .brand { font-family: Georgia, serif; letter-spacing: 0; }
html[lang="en"] .hero h1 { font-size: 48px; letter-spacing: -1px; }
