:root {
  color-scheme: light dark;
  --bg: #f7f5ef;
  --surface: #fffdf7;
  --surface-alt: #eeeae0;
  --ink: #2b3428;
  --muted: #65705f;
  --line: #d8dace;
  --accent: #334a35;
  --on-accent: #fffdf4;
  --gold: #e6b653;
  --placeholder-bg: #fff0ca;
  --placeholder-ink: #7e490d;
  --placeholder-line: #be8b3e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171d18;
    --surface: #202820;
    --surface-alt: #2a3329;
    --ink: #eeeee3;
    --muted: #afb9a7;
    --line: #414b3d;
    --accent: #c0d5a4;
    --on-accent: #1c2a1a;
    --gold: #e8b95b;
    --placeholder-bg: #48381e;
    --placeholder-ink: #ffdc95;
    --placeholder-line: #b39156;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 650; letter-spacing: -.045em; }
h2 { font-size: clamp(27px, 3vw, 36px); font-weight: 620; letter-spacing: -.035em; }
h3 { font-size: 19px; font-weight: 600; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 10px 20px; background: var(--accent); color: var(--on-accent); }
.skip-link:focus { top: 12px; }
.site-header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 650; line-height: 1.35; flex-shrink: 0; }
.brand-note { display: block; font-size: 10px; color: var(--muted); font-weight: 500; letter-spacing: .15em; margin-top: 4px; }
.egg-mark { width: 30px; height: 38px; display: inline-block; position: relative; border-radius: 50% 50% 46% 46% / 65% 65% 35% 35%; border: 1.5px solid var(--ink); background: var(--surface); transform: rotate(-12deg); }
.egg-mark::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); left: 7px; bottom: 6px; }
.site-header nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.nav-community { border-left: 1px solid var(--line); padding-left: 28px; }
.home-hero, .community-hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 70px; padding: 76px 0 80px; align-items: center; }
.eyebrow { font-size: 12px; line-height: 1.5; color: var(--muted); font-weight: 600; letter-spacing: .12em; }
.tiny-line { display: inline-block; width: 28px; height: 2px; background: var(--gold); margin: 0 8px 4px 0; }
.hero-copy h1 { margin-top: 25px; }
.hero-intro { margin-top: 24px; font-size: 20px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 35px; font-size: 14px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 6px; }
.button-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.button-primary:hover { color: var(--on-accent); filter: brightness(1.12); }
.text-link { display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.directory { padding: 26px 30px 18px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 8px; transform: rotate(1.5deg); }
.directory-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.large { width: 40px; height: 51px; }
.large::after { width: 18px; height: 18px; left: 9px; bottom: 8px; }
.directory > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 15px 0; font-size: 17px; }
.directory > a span:last-child { font-size: 12px; color: var(--muted); }
.section { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin-top: 10px; }
.section-heading > p { font-size: 14px; color: var(--muted); padding-bottom: 3px; }
.grid { display: grid; gap: 18px; }
.accounts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.card-top { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.platform-index { font-size: 11px; line-height: 27px; width: 27px; flex-shrink: 0; text-align: center; background: var(--surface-alt); border-radius: 50%; color: var(--muted); }
.account-card h3 { font-size: 17px; }
.account-card > p { font-size: 12px; margin-top: 10px; }
.placeholder { color: var(--placeholder-ink); background: var(--placeholder-bg); box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 3px; padding: 2px 4px; overflow-wrap: anywhere; }
h1 .placeholder { line-height: 1.65; }
.placeholder-link { border-bottom: 1px dashed var(--placeholder-line); }
.qr-slot { margin: 23px auto 0; max-width: 100%; width: 145px; min-height: 145px; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font-size: 12px; border: 1px dashed var(--placeholder-line); border-radius: 6px; background: var(--placeholder-bg); }
.card-number { display: block; margin-bottom: 20px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.content-card { display: flex; flex-direction: column; }
.content-card h3 { font-size: 18px; line-height: 1.7; }
.content-card > p { margin: 16px 0 27px; font-size: 14px; }
.card-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; font-size: 12px; }
.card-link > span:last-child:not(.placeholder) { flex-shrink: 0; color: var(--muted); }
.featured-project { display: grid; grid-template-columns: 260px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.project-symbol { display: flex; flex-direction: column; justify-content: center; padding: 32px; position: relative; font-size: 37px; line-height: 1.05; letter-spacing: -.06em; font-weight: 650; background: var(--surface-alt); }
.project-symbol-dot { margin-top: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); }
.featured-copy { padding: 30px 36px; }
.featured-copy h3 { font-size: 30px; letter-spacing: -.03em; margin: 10px 0 14px; }
.featured-copy > p { font-size: 14px; }
.featured-copy .eyebrow { font-size: 12px; }
.secondary { color: var(--muted); margin-top: 10px; }
.license { display: inline-block; margin: 18px 0 20px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; }
.featured-copy .license { font-size: 12px; }
.subsection-title { margin: 32px 0 18px; }
.community-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--surface-alt); border: 1px solid var(--line); padding: 42px; border-radius: 8px; margin: 14px 0 65px; }
.community-banner h2 { font-size: clamp(25px, 3vw, 34px); margin-top: 14px; line-height: 1.45; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
/* Community */
.community-hero { padding-top: 66px; padding-bottom: 72px; }
.community-wordmark { display: block; margin-top: 6px; font-size: 1.15em; font-weight: 500; letter-spacing: -.065em; }
.community-lead { font-size: 21px; max-width: 24em; line-height: 1.65; margin-top: 24px; }
.community-description { margin-top: 12px; max-width: 29em; font-size: 15px; color: var(--muted); }
.community-hero .text-link { margin-top: 26px; font-size: 14px; }
.community-art { min-height: 330px; position: relative; display: grid; place-items: center; background: var(--surface-alt); border-radius: 48% 48% 8px 8px; overflow: hidden; border: 1px solid var(--line); }
.orbit { position: absolute; width: 80%; height: 140px; border: 1px solid var(--muted); border-radius: 50%; opacity: .35; transform: rotate(-35deg); }
.orbit-two { transform: rotate(35deg); }
.art-egg { position: relative; height: 180px; width: 140px; border: 1px solid var(--ink); background: var(--surface); border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%; transform: rotate(-10deg); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding-bottom: 24px; box-shadow: 8px 12px 0 color-mix(in srgb, var(--ink) 8%, transparent); }
.art-egg > span:first-child { font-size: 13px; }
.egg-yolk { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); }
.art-node { position: absolute; z-index: 1; border: 1px solid var(--line); border-radius: 30px; padding: 5px 15px; background: var(--surface); font-size: 12px; }
.node-one { top: 85px; left: 25px; }
.node-two { bottom: 85px; right: 25px; }
.art-caption { position: absolute; bottom: 17px; font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.principles-section { display: grid; grid-template-columns: 1fr 1.8fr; gap: 50px; }
.principles-section > .section-heading { align-self: start; }
.principles-list { list-style: none; padding: 0; margin: 0; }
.principles-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.principles-list li:first-child { padding-top: 0; }
.principles-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.principle-number { font-size: 12px; color: var(--muted); padding-top: 5px; }
.principles-list h3 { font-size: 19px; line-height: 1.5; }
.principles-list p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.steps li { min-width: 0; position: relative; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 28px; }
.step-number { display: inline-grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-alt); color: var(--muted); font-size: 12px; margin-bottom: 28px; }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: 14px; }
.step-arrow { position: absolute; right: -24px; top: 50%; width: 20px; text-align: center; color: var(--muted); }
.stage-current { border: 1px solid var(--line); border-radius: 30px; padding: 5px 14px !important; }
.stage-track { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 34px 0; }
.stage-track li { display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 14px; }
.stage-bar { display: block; height: 7px; border-radius: 8px; background: var(--line); }
.is-current .stage-bar { background: var(--accent); }
.stage-track .is-current { color: var(--ink); font-weight: 600; }
.stage-track small { font-size: 11px; color: var(--muted); font-weight: 400; margin-top: -8px; }
.login-area { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 25px 0 8px; border-top: 1px solid var(--line); }
.login-area button { min-width: 112px; cursor: not-allowed; color: var(--muted); background: var(--surface-alt); }
.login-area p { color: var(--muted); font-size: 14px; }
@media (max-width: 950px) {
  .site-header { gap: 22px; }
  .site-header nav { gap: 18px; font-size: 13px; }
  .nav-community { padding-left: 18px; }
  .home-hero, .community-hero { gap: 35px; }
  .accounts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles-section { grid-template-columns: 1fr 2fr; gap: 30px; }
  .card { padding: 22px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { align-items: flex-start; flex-direction: column; padding-top: 24px; padding-bottom: 22px; gap: 22px; }
  .site-header nav { gap: 12px 20px; line-height: 1.6; }
  .nav-community { border-left: 0; padding-left: 0; }
  .home-hero, .community-hero { grid-template-columns: minmax(0, 1fr); padding: 44px 0 48px; gap: 40px; }
  .home-hero h1 { font-size: clamp(29px, 8.4vw, 45px); letter-spacing: -.04em; }
  .hero-intro { font-size: 17px; margin-top: 19px; }
  .hero-actions { gap: 20px; margin-top: 28px; font-size: 13px; }
  .button { padding: 11px 17px; gap: 16px; font-size: 13px; }
  .directory { transform: none; padding: 22px 24px 12px; }
  .directory-top { margin-bottom: 16px; }
  .directory > a { font-size: 15px; }
  .section { padding: 35px 0 40px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 23px; }
  .section-heading > p { font-size: 13px; }
  .grid { gap: 14px; }
  .accounts-grid, .three-grid, .two-grid { grid-template-columns: minmax(0, 1fr); }
  .account-card { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 0 16px; align-content: center; padding: 22px; }
  .account-card .card-top { grid-column: 1; margin-bottom: 8px; gap: 8px; }
  .account-card h3 { font-size: 15px; }
  .account-card > p { grid-column: 1; margin-top: 8px; }
  .qr-slot { width: 112px; min-height: 112px; grid-column: 2; grid-row: 1 / 4; margin: auto 0; padding: 8px; font-size: 11px; }
  .content-card > p { margin-bottom: 24px; }
  .featured-project { grid-template-columns: minmax(0, 1fr); }
  .project-symbol { padding: 26px; min-height: 150px; font-size: 32px; }
  .project-symbol-dot { position: absolute; right: 30px; bottom: 30px; }
  .featured-copy { padding: 26px; }
  .featured-copy h3 { font-size: 27px; }
  .community-banner { flex-direction: column; align-items: flex-start; padding: 28px; gap: 25px; margin: 7px 0 40px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 24px 0; }
  .community-hero h1 { font-size: 45px; }
  .community-lead { font-size: 20px; margin-top: 22px; }
  .community-description { font-size: 14px; }
  .community-art { min-height: 290px; }
  .principles-section { display: block; }
  .principles-list li { grid-template-columns: 23px minmax(0, 1fr); gap: 13px; padding: 22px 0; }
  .principles-list li:first-child { padding-top: 9px; }
  .principles-list h3 { font-size: 17px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li { padding: 24px; }
  .step-number { margin-bottom: 20px; }
  .step-arrow { right: calc(50% - 10px); top: auto; bottom: -29px; transform: rotate(90deg); }
  .stage-section .section-heading { flex-direction: row; align-items: center; gap: 12px; }
  .stage-section .stage-current { font-size: 11px; white-space: nowrap; padding: 4px 10px !important; }
  .stage-track { gap: 8px; }
  .stage-track li { font-size: 12px; gap: 10px; }
  .stage-track small { font-size: 10px; }
  .login-area { gap: 16px; margin-top: 28px; }
  .login-area p { font-size: 12px; }
  .login-area button { min-width: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
