/* Atlas Hub official website v0 — static, no JavaScript.
   Colours, type and spacing follow the Atlas Hub design system (tokens.css, single dark theme "夜燈").
   Fonts: Sora is self-hosted below; Chinese uses system fonts. No external requests. */

@font-face{font-family:"Sora";src:url("fonts/sora-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Sora";src:url("fonts/sora-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Sora";src:url("fonts/sora-latin-800-normal.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap}

:root{
  color-scheme: dark;
  --ah-line-input:#5a8781;
  --ah-ground:#0e2423; --ah-ground-deep:#0a1b1a; --ah-panel:#163634;
  --ah-line:#2a524e; --ah-line-strong:#3c6560; --ah-divider:#22423f;
  --ah-text:#eef3e6; --ah-text-soft:#c3d4ce; --ah-text-muted:#a7c2ba; --ah-text-faint:#8fb0a8;
  --ah-lime:#d6eb89; --ah-lime-shade:#a9c25a; --ah-mint:#89d8c0; --ah-mint-shade:#5fb59c;
  --ah-on-accent:#0e2423; --ah-link:#d6eb89;
  --ah-font-display: Sora, "Segoe UI", sans-serif;
  --ah-font-body: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  --ah-radius-sm:6px; --ah-radius-lg:12px; --ah-radius-xl:16px;
  --ah-press-slate: 0 4px 0 #0a1b1a;
  --ah-focus-ring: 0 0 0 2px #0e2423, 0 0 0 4px #d6eb89;
  --page-max: 960px;
  --text-max: 720px;
}

*,*::before,*::after{box-sizing:border-box}
html{background:var(--ah-ground)}
body{
  margin:0; background:var(--ah-ground); color:var(--ah-text);
  min-height:100vh; display:flex; flex-direction:column;
  font-family:var(--ah-font-body); font-size:16px; line-height:1.7;
  -webkit-text-size-adjust:100%; text-size-adjust:100%;
}
html[lang="en"] body{font-family:var(--ah-font-display)}
img{max-width:100%;height:auto;display:block}
a{color:var(--ah-link);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
a:focus-visible,.btn:focus-visible{outline:2px solid transparent;box-shadow:var(--ah-focus-ring);border-radius:var(--ah-radius-sm)}
p{margin:0 0 12px}
h1,h2,h3{margin:0;line-height:1.3}

.skip{position:absolute;left:-9999px;top:8px;background:var(--ah-lime);color:var(--ah-on-accent);padding:8px 12px;border-radius:var(--ah-radius-sm);font-weight:700;z-index:10}
.skip:focus{left:16px}

.wrap{max-width:var(--page-max);margin:0 auto;padding:0 16px}

/* Header */
.site-header{border-bottom:1px solid var(--ah-divider);background:var(--ah-ground)}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ah-text);text-decoration:none;min-height:48px}
.brand img{width:32px;height:32px}
.brand span{font-family:var(--ah-font-display);font-weight:800;font-size:19px;line-height:24px;letter-spacing:.2px}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px}
.nav a{color:var(--ah-text-muted);text-decoration:none;font-size:15px;line-height:24px;padding:12px 0;display:inline-block}
.nav a:hover{color:var(--ah-text)}
.nav a[aria-current="page"]{color:var(--ah-text);box-shadow:inset 0 -3px 0 var(--ah-lime)}
.nav .lang{border:1px solid var(--ah-line);border-radius:var(--ah-radius-sm);padding:4px 10px;margin-left:4px;color:var(--ah-text-soft)}
.nav .lang:hover{border-color:var(--ah-line-strong)}

main{display:block;flex:1 0 auto;padding:40px 0 56px}

/* Chips */
.chip{display:inline-flex;align-items:center;gap:8px;border:1px dashed var(--ah-line-strong);border-radius:var(--ah-radius-sm);padding:2px 10px;color:var(--ah-text-muted);font-size:13px;line-height:22px}
.chip::before{content:"";width:8px;height:8px;border-radius:2px;background:var(--ah-lime);box-shadow:inset 0 -2px 0 var(--ah-lime-shade)}

/* Hero */
.hero{display:grid;grid-template-columns:1fr;gap:24px;align-items:center}
.hero h1{font-family:var(--ah-font-display);font-weight:800;font-size:40px;line-height:1.15;margin:14px 0 12px;letter-spacing:.3px}
.hero .lead{font-size:18px;line-height:1.65;color:var(--ah-text-soft);max-width:34em}
.stage{background:var(--ah-panel);border-radius:var(--ah-radius-xl);padding:24px;display:flex;justify-content:center;align-items:flex-end;min-height:220px;position:relative;overflow:hidden}
.stage::after{content:"";position:absolute;left:0;right:0;bottom:0;height:28px;background:var(--ah-ground-deep);box-shadow:inset 0 3px 0 var(--ah-line)}
.stage img{width:180px;height:180px;position:relative;z-index:1;margin-bottom:6px}

/* Sections */
.section{margin-top:48px}
.section > h2,.page-title{font-size:26px;line-height:1.35;font-weight:900;margin-bottom:12px}
.section > h2{font-size:22px;display:flex;align-items:center;gap:10px}
.section > h2::before{content:"";flex:none;width:12px;height:12px;border-radius:3px;background:var(--ah-line-input);box-shadow:inset 0 -3px 0 var(--ah-line-strong)}
.intro{color:var(--ah-text-soft);max-width:var(--text-max)}

.cards{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:12px}
.card{background:var(--ah-panel);border-radius:var(--ah-radius-xl);padding:20px}
.card h3{font-size:17px;line-height:1.4;font-weight:900;margin-bottom:6px;display:flex;align-items:flex-start;gap:10px}
/* Goals not yet shipped: the dashed "waiting" block from the brand book. */
.card h3::before{content:"";flex:none;width:14px;height:14px;margin-top:5px;border-radius:3px;border:2px dashed var(--ah-line-input)}
.card p{color:var(--ah-text-soft);margin:0}

.status{background:var(--ah-panel);border-radius:var(--ah-radius-xl);padding:20px;max-width:var(--text-max)}
.status p:last-child{margin-bottom:0}

.notice{margin-top:16px;border:1px solid var(--ah-line);border-radius:var(--ah-radius-xl);padding:16px 20px;color:var(--ah-text-soft);max-width:var(--text-max)}
.notice p{margin:0 0 6px}
.notice p:last-child{margin-bottom:0}
.notice .en-legal{font-family:var(--ah-font-display);font-size:15px;line-height:1.6;letter-spacing:.2px;color:var(--ah-text-soft)}
.hero-notice{margin-top:20px;background:var(--ah-ground-deep)}

/* Buttons (slate, secondary) */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 20px;border-radius:var(--ah-radius-lg);background:var(--ah-panel);border:1px solid var(--ah-line);box-shadow:var(--ah-press-slate);color:var(--ah-text);text-decoration:none;font-weight:700;margin-top:4px}
.btn:hover{border-color:var(--ah-line-strong)}
.btn:active{transform:translateY(3px);box-shadow:0 1px 0 #0a1b1a}

/* Facts (company page) */
.facts{margin:16px 0 0;background:var(--ah-panel);border-radius:var(--ah-radius-xl);padding:4px 20px;max-width:var(--text-max)}
.facts div{display:grid;grid-template-columns:1fr;gap:2px;padding:14px 0;border-bottom:1px solid var(--ah-divider)}
.facts div:last-child{border-bottom:0}
.facts dt{color:var(--ah-text-faint);font-size:13px;line-height:20px}
.facts dd{margin:0;color:var(--ah-text)}

/* Contact list */
.contacts{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:12px;max-width:var(--text-max)}
.contacts li{background:var(--ah-panel);border-radius:var(--ah-radius-xl);padding:18px 20px}
.contacts h2,.contacts h3{font-size:17px;line-height:1.4;font-weight:900;margin-bottom:4px}
.contacts .mail{font-family:var(--ah-font-display);font-weight:700;font-size:16px;word-break:break-all}
.contacts p{color:var(--ah-text-soft);margin:4px 0 0}

/* Long text (privacy notice) */
.doc{max-width:var(--text-max)}
.doc .updated{color:var(--ah-text-faint);font-size:14px}
.doc h2{font-size:19px;font-weight:900;margin:32px 0 8px;display:flex;align-items:center;gap:10px}
.doc h2::before{content:"";flex:none;width:10px;height:10px;border-radius:3px;background:var(--ah-line-input);box-shadow:inset 0 -2px 0 var(--ah-line-strong)}
.doc p,.doc li{color:var(--ah-text-soft)}
.doc ul{padding-left:22px;margin:0 0 12px}
.doc li{margin-bottom:6px}
.doc strong{color:var(--ah-text);font-weight:700}
/* Placeholder that must be resolved before publication (preview only). */
.pending{border:1px dashed var(--ah-line-input);border-radius:4px;padding:0 6px;color:var(--ah-text-faint)}

/* Footer */
.site-footer{background:var(--ah-ground-deep);border-top:1px solid var(--ah-divider);padding:28px 0 36px}
.site-footer p{font-size:12.5px;line-height:1.7;color:var(--ah-text-faint);margin:0 0 8px}
.site-footer .legal-name{color:var(--ah-text-muted)}
.site-footer nav{display:flex;flex-wrap:wrap;gap:4px 18px;margin-bottom:14px}
.site-footer nav a{font-size:12.5px;color:var(--ah-text-muted);padding:8px 0;display:inline-block}
.site-footer .en-legal{font-family:var(--ah-font-display);letter-spacing:.2px}

/* 404 */
.notfound{text-align:left;max-width:var(--text-max)}

@media (min-width:680px){
  main{padding:56px 0 72px}
  .hero{grid-template-columns:1.25fr 1fr;gap:40px}
  .hero h1{font-size:52px}
  .stage{min-height:300px}
  .stage img{width:220px;height:220px}
  .cards{grid-template-columns:repeat(3,1fr)}
  .facts div{grid-template-columns:180px 1fr;gap:16px;align-items:baseline}
  .page-title{font-size:32px}
}

@media (prefers-reduced-motion:reduce){
  .btn:active{transform:none}
}
