:root {
  --ink: #102a2a;
  --muted: #66736f;
  --paper: #f4f0e7;
  --paper-2: #e9e3d7;
  --white: #fffdf8;
  --accent: #e55d3f;
  --accent-dark: #b83b25;
  --green: #1d665c;
  --line: rgba(16, 42, 42, .16);
  --shadow: 0 18px 50px rgba(26, 44, 40, .1);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.site-header {
  height: 76px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center;
  gap: 36px; border-bottom: 1px solid var(--line); position: sticky; top: 0;
  background: rgba(244, 240, 231, .92); backdrop-filter: blur(16px); z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 Georgia, serif; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--white); background: var(--accent); border-radius: 50% 50% 50% 14%; font: 700 16px/1 Georgia, serif; }
nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: 14px; font-weight: 650; }
nav a:hover { color: var(--accent-dark); }
.nav-submit { border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.language-toggle { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 11px; cursor: pointer; font-size: 12px; font-weight: 750; }
.hero { min-height: 680px; padding: clamp(72px, 10vw, 140px) clamp(22px, 7vw, 110px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(50px, 8vw, 130px); align-items: center; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid var(--line); border-radius: 50%; right: -180px; top: -180px; box-shadow: 0 0 0 70px rgba(16,42,42,.025), 0 0 0 140px rgba(16,42,42,.018); pointer-events: none; }
.eyebrow { margin: 0 0 18px; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font: 700 clamp(30px, 3.8vw, 48px)/1.16 Georgia, "Noto Serif SC", serif; letter-spacing: -.03em; max-width: 900px; }
.hero-intro { max-width: 720px; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.75; margin: 28px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 3px; border: 1px solid transparent; font-weight: 750; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: white; background: var(--accent); }
.primary:hover { background: var(--accent-dark); }
.secondary { border-color: var(--line); background: transparent; }
.principles { background: var(--ink); color: var(--white); padding: 38px; box-shadow: 18px 18px 0 var(--paper-2); position: relative; }
.principles > p { color: #9eb5ae; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin: 28px 0 12px; }
.principles > strong { font: 600 19px/1.6 Georgia, "Noto Serif SC", serif; }
.principles dl { border-top: 1px solid rgba(255,255,255,.14); margin: 30px 0 0; padding-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.principles dt { color: #91aaa4; font-size: 11px; margin-bottom: 5px; }
.principles dd { margin: 0; font-size: 13px; font-weight: 700; }
.signal { height: 42px; display: flex; align-items: end; gap: 6px; }
.signal i { display: block; width: 5px; background: var(--accent); border-radius: 5px; }
.signal i:nth-child(1) { height: 15px; }.signal i:nth-child(2) { height: 29px; }.signal i:nth-child(3) { height: 42px; }
.event-section { background: var(--white); padding: 92px clamp(22px, 7vw, 110px) 110px; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
h2 { margin: 0; font: 700 clamp(30px, 3.8vw, 48px)/1.16 Georgia, "Noto Serif SC", serif; letter-spacing: -.03em; }
.section-heading > p { max-width: 410px; color: var(--muted); line-height: 1.65; font-size: 14px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 18px; }
.filter { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 15px; white-space: nowrap; cursor: pointer; font-size: 13px; }
.filter.active { color: white; background: var(--green); border-color: var(--green); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; min-height: 220px; }
.event-card { border: 1px solid var(--line); background: white; padding: 25px; min-height: 260px; display: flex; flex-direction: column; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.category { color: var(--accent-dark); font-weight: 800; }
.event-card h3 { font: 650 19px/1.42 Georgia, "Noto Serif SC", serif; margin: 20px 0 11px; }
.event-card p { color: var(--muted); line-height: 1.55; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.confidence { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.confidence-bar { height: 4px; flex: 1; background: var(--paper-2); }
.confidence-bar i { display: block; height: 100%; background: var(--green); }
.loading-card, .empty-card { grid-column: 1/-1; padding: 50px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.method-section { background: var(--ink); color: var(--white); padding: 100px clamp(22px, 7vw, 110px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 150px); }
.eyebrow.light { color: #86b8ac; }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.method-steps li { padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 50px 1fr; gap: 20px; }
.method-steps li > span { color: var(--accent); font: 700 13px Georgia, serif; }
.method-steps h3 { margin: 0 0 8px; font-size: 16px; }
.method-steps p { color: #a9bdb8; line-height: 1.65; margin: 0; font-size: 14px; }
.submit-section { padding: 110px clamp(22px, 7vw, 110px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 150px); }
.submit-copy > p { color: var(--muted); line-height: 1.7; }
.privacy-note { margin-top: 30px; padding: 20px; border-left: 3px solid var(--accent); background: var(--paper-2); }
.privacy-note p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 7px 0 0; }
.receipt-check { margin-top: 34px; }
.receipt-check label { font-size: 13px; font-weight: 750; }
.receipt-check > div { display: flex; margin-top: 9px; }
.receipt-check input { min-width: 0; flex: 1; border-right: 0; }
.receipt-check button { background: var(--ink); color: white; border: 0; padding: 0 18px; cursor: pointer; }
#receipt-status { font-size: 13px; color: var(--green); min-height: 20px; }
.tip-form { background: var(--white); padding: clamp(24px, 4vw, 46px); box-shadow: var(--shadow); }
.tip-form label { display: block; margin-bottom: 22px; font-size: 13px; font-weight: 750; }
.tip-form label > span { display: block; margin-bottom: 8px; }
.site-checking > header,.site-checking > main,.site-checking > footer,.site-checking > dialog{visibility:hidden}
.maintenance-screen{min-height:100vh;background:var(--ink);color:var(--white);display:grid;place-content:center;justify-items:center;text-align:center;padding:30px}.maintenance-screen h1{font:700 clamp(34px,6vw,64px) Georgia,"Noto Serif SC",serif;margin:8px 0 12px}.maintenance-screen>p:last-child{color:#aac0ba;max-width:520px;line-height:1.7}.maintenance-orbit{position:relative;width:150px;height:150px;margin-bottom:22px;border:1px solid rgba(255,255,255,.18);border-radius:50%;display:grid;place-items:center}.maintenance-orbit:before,.maintenance-orbit:after{content:"";position:absolute;border:1px solid rgba(229,93,63,.5);border-radius:50%;inset:18px;animation:maintenance-pulse 2.4s ease-in-out infinite}.maintenance-orbit:after{inset:38px;animation-delay:.8s}.maintenance-orbit span{width:46px;height:46px;display:grid;place-items:center;background:var(--accent);border-radius:50% 50% 50% 12px;font:700 27px Georgia,serif;z-index:2}.maintenance-orbit i{position:absolute;width:9px;height:9px;background:#e7d7a8;border-radius:50%;top:5px;left:70px;transform-origin:5px 70px;animation:maintenance-orbit 4s linear infinite}.maintenance-orbit i:nth-child(2){animation-duration:6s;animation-delay:-2s}.maintenance-orbit i:nth-child(3){animation-duration:8s;animation-delay:-5s}@keyframes maintenance-orbit{to{transform:rotate(360deg)}}@keyframes maintenance-pulse{50%{opacity:.25;transform:scale(.86)}}
.maintenance-screen{position:relative}.maintenance-language{position:absolute;right:28px;top:24px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:transparent;color:#fff;padding:8px 14px;font-size:12px;font-weight:800;cursor:pointer}
.geo-attribution{position:absolute;bottom:18px;color:#78908a;font-size:10px}
.account-section{padding:clamp(50px,8vw,100px) clamp(20px,7vw,100px);background:#e9e4d8}.account-auth{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-card,.account-dashboard{background:var(--white);padding:clamp(22px,4vw,40px);box-shadow:var(--shadow)}.account-card h3{font:700 24px Georgia,"Noto Serif SC",serif;margin:0 0 20px}.account-card label{display:block;font-size:12px;font-weight:750;margin:15px 0}.account-card label span{display:block;margin-bottom:7px}.account-card input{width:100%;padding:12px;border:1px solid var(--line);background:#fff}.account-card .button{width:100%;border:0}.account-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin-bottom:18px}.account-heading button{border:1px solid var(--line);background:transparent;padding:8px 12px}.user-tip{padding:18px 0;border-bottom:1px solid var(--line)}.user-tip h3{font-size:15px;margin:5px 0}.user-tip p{font-size:13px;color:var(--muted);line-height:1.6}.user-tip .badge{font-size:10px}
.password-help{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.password-help summary{cursor:pointer;font-size:12px;font-weight:800}.account-heading>div{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:760px){.account-auth{grid-template-columns:1fr}}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
input, textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 13px 14px; color: var(--ink); outline: none; border-radius: 2px; }
input:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,102,92,.1); }
textarea { resize: vertical; line-height: 1.5; }
.consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; color: var(--muted); }
.consent input { width: 17px; margin-top: 2px; }
.website-field { position: absolute; left: -10000px; }
.submit-button { width: 100%; border: 0; }
.form-message { min-height: 24px; font-size: 13px; line-height: 1.55; color: var(--green); }
footer { padding: 45px clamp(22px, 7vw, 110px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--ink); margin-right: auto; }
dialog { width: min(720px, calc(100% - 30px)); border: 0; padding: 42px; color: var(--ink); background: var(--white); box-shadow: 0 30px 100px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(9,25,24,.72); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
#dialog-content h2 { margin: 15px 0 20px; }
#dialog-content p { color: var(--muted); line-height: 1.75; }
#dialog-content a { color: var(--accent-dark); text-decoration: underline; }
.dossier { margin-top: 34px; border-top: 1px solid var(--line); }
.dossier section { padding: 25px 0 5px; border-bottom: 1px solid var(--line); }
.dossier h3 { margin: 0 0 16px; font: 700 18px/1.4 Georgia, "Noto Serif SC", serif; }
.dossier ul, .dossier ol { margin: 0; padding: 0; list-style: none; }
.dossier li { padding: 12px 0; }
.dossier li p { margin: 5px 0 0 !important; font-size: 13px; }
.dossier-empty { padding: 24px 0 0; font-style: italic; }
.claim-list li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; }
.claim-list li p { margin: 0 !important; }
.dossier-status, .evidence-relation { display: inline-block; padding: 4px 8px; border-radius: 2px; background: var(--paper-2); font-size: 11px; font-weight: 750; }
.evidence-list li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; }
.evidence-relation.supports { color: var(--green); background: rgba(29,102,92,.1); }
.evidence-relation.contradicts { color: var(--accent-dark); background: rgba(229,93,63,.1); }
.timeline-list li { display: grid; grid-template-columns: 150px 1fr; gap: 15px; border-left: 2px solid var(--paper-2); padding-left: 15px; }
.timeline-list time { color: var(--muted); font-size: 11px; }
.question-list { list-style: disc !important; padding-left: 20px !important; color: var(--muted); }
@media (max-width: 900px) {
  .hero, .method-section, .submit-section { grid-template-columns: 1fr; }
  .hero { padding-top: 75px; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  nav a:not(.nav-submit) { display: none; }
}
@media (max-width: 600px) {
  .site-header { height: 66px; gap: 12px; padding: 0 16px; }
  .brand { font-size: 17px; }.brand-mark { width: 27px; height: 27px; }
  nav { margin-left: auto; }.nav-submit { font-size: 12px; }
  .hero { min-height: auto; padding: 62px 20px 80px; }
  .principles { padding: 28px; box-shadow: 10px 10px 0 var(--paper-2); }
  .event-section, .method-section, .submit-section { padding: 72px 20px; }
  .section-heading { display: block; }.section-heading > p { margin-top: 16px; }
  .event-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  footer { align-items: flex-start; flex-wrap: wrap; }.footer-brand { width: 100%; }
  dialog { padding: 30px 22px; }
  .claim-list li, .evidence-list li, .timeline-list li { grid-template-columns: 1fr; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  * { transition: none !important; }
}
