:root {
  --ink: #1b1d1c;
  --paper: #f1f3ef;
  --silver: #b8c0bc;
  --muted: #737c75;
  --pine: #657065;
  --line: #d4d9d2;
  --white: #ffffff;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --display: "Arial Narrow", Impact, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 16px; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }
button:disabled { cursor: not-allowed; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: var(--pine); color: var(--white); }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(2.2rem, 3.35vw, 3.4rem); line-height: 1.38; font-weight: 600; letter-spacing: -.065em; }
.section-wrap { padding-left: max(6.25vw, 24px); padding-right: max(6.25vw, 24px); }
.section-kicker { font-size: .9rem; margin-bottom: 28px; font-weight: 500; letter-spacing: .06em; }
.button { display: inline-flex; min-height: 56px; min-width: 210px; align-items: center; justify-content: space-between; gap: 32px; padding: 0 23px; border: 1px solid transparent; font-size: .95rem; font-weight: 500; }
.button-light { color: var(--ink); background: var(--paper); }
.button-dark { color: var(--paper); background: var(--ink); }
.button:hover { background: var(--silver); color: var(--ink); }
.button-icon { font-size: 1.4rem; font-weight: 300; }
.text-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; padding: 15px 0; background: none; border: 0; border-bottom: 1px solid currentColor; font-size: .95rem; text-align: left; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand > span { font-size: 1.6rem; font-weight: 700; letter-spacing: -.05em; }
.brand-small { font-size: .75rem; margin-left: 9px; font-weight: 400; letter-spacing: .16em; }
.skip-link { position: fixed; left: 15px; top: -100px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 20px; }
.skip-link:focus { top: 15px; }
.site-header { height: 86px; padding: 0 4.1vw; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: absolute; top: 0; left: 0; width: 100%; z-index: 10; color: var(--paper); border-bottom: 1px solid #ffffff30; }
.site-header nav { display: flex; gap: 37px; font-size: .9rem; }
.site-header nav a { padding: 12px 0; }
.site-header nav a:hover { color: var(--silver); }
.header-action { background: none; border: 1px solid #ffffff70; padding: 11px 17px; color: var(--paper); font-size: .875rem; }
.header-action:hover { background: var(--paper); color: var(--ink); }
.menu-toggle { display: none; border: none; background: none; width: 35px; height: 35px; padding: 5px; }
.menu-toggle span { display: block; height: 1px; background: currentColor; margin: 6px 0; }
.site-footer { padding-top: 68px; padding-bottom: 28px; color: var(--paper); background: var(--ink); overflow: hidden; }
.footer-top { display: flex; align-items: center; gap: 50px; }
.footer-top p { font-size: .95rem; color: var(--silver); }
.staff-link { margin-left: auto; border-bottom: 1px solid var(--silver); padding: 8px 0; font-size: .875rem; }
.footer-word { font-family: var(--display); font-size: clamp(3rem, 10.3vw, 10.5rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; padding: 65px 0 40px; white-space: nowrap; color: #e3e8e1; }
.footer-bottom { border-top: 1px solid #ffffff25; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: .8rem; color: var(--silver); }
.footer-bottom a:hover { color: var(--white); }
.planner { color: var(--ink); background: var(--paper); border: none; padding: 48px; width: min(650px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; }
.planner::backdrop { background: #101511ba; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 10px; right: 17px; border: none; background: none; font-size: 2rem; padding: 5px; }
.planner h2 { font-size: 2.1rem; }
.planner-intro { margin: 17px 0 30px; color: var(--muted); line-height: 1.8; }
.planner .section-kicker { margin-bottom: 15px; }
.planner fieldset { padding: 0; margin: 0 0 28px; border: none; }
.planner legend { margin-bottom: 14px; font-weight: 500; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: flex; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: block; border: 1px solid var(--line); padding: 10px 13px; font-size: .875rem; cursor: pointer; }
.choices input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choices input:focus-visible + span { outline: 2px solid var(--pine); outline-offset: 3px; }
.planner-result h3 { font-size: 1.6rem; line-height: 1.5; margin: 28px 0 18px; }
.planner-result p { line-height: 1.9; }
.planner-result .result-note { margin: 20px 0; font-size: .85rem; color: var(--muted); }
.planner-result .text-action { margin-left: 25px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
