:root {
  --ink: #161533;
  --muted: #555772;
  --purple: #5132cf;
  --purple-dark: #3b22aa;
  --violet-line: #e2dcf5;
  --surface: #f8f7fc;
  --lime: #dfff83;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--purple-dark); text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid #8a6cff; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 12px; transform: translateY(-170%); z-index: 10; padding: .5em 1em; background: white; }
.skip:focus { transform: none; }

.header { position: relative; z-index: 1; background: white; border-bottom: 1px solid #ece9f7; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 74px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.12rem; color: var(--ink); font-weight: 780; text-decoration: none; white-space: nowrap; }
.brand-mark { display: inline-flex; align-items: end; justify-content: center; gap: 3px; padding-bottom: 8px; width: 35px; height: 35px; border-radius: 10px; background: var(--purple); }
.brand-mark i { width: 4px; height: 8px; background: white; border-radius: 3px; }
.brand-mark i:nth-child(2) { height: 13px; }
.brand-mark i:nth-child(3) { height: 18px; background: var(--lime); }
.header nav, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.2rem); }
.header nav a, .footer-links a { color: #41405d; text-decoration: none; font-weight: 600; }
.header nav a:hover, .footer-links a:hover { color: var(--purple); }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: .6rem 1.15rem; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 700; text-align: center; }
.header-cta { background: #eee9fc; color: var(--purple-dark); }
.header-cta:hover, .secondary:hover { background: #e9e1fc; }
.primary { background: var(--purple); color: white; }
.primary:hover { background: var(--purple-dark); }
.secondary { background: #fff; border-color: var(--violet-line); color: var(--purple-dark); }
.lime { background: var(--lime); color: #28203f; }
.lime:hover { background: #edffb5; }

.hero { overflow: hidden; background: radial-gradient(ellipse at 90% 20%, #dcd0ff 0, transparent 54%), linear-gradient(120deg, #f3edff, #ebe4ff 62%, #e2d7fa); border-bottom: 1px solid var(--violet-line); }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(40px, 8vw, 110px); min-height: 472px; padding-block: clamp(42px, 6vw, 76px); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.05rem; color: var(--purple-dark); font-weight: 750; font-size: .92rem; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.65rem); margin-bottom: 1.2rem; letter-spacing: -.045em; font-weight: 820; }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero-copy > p:not(.eyebrow) { max-width: 31rem; color: #4a466b; margin-bottom: 1.45rem; font-size: 1.05rem; }
.hero-buttons { display: flex; gap: .65rem; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: .4rem; margin-top: 1.65rem; color: #515070; font-size: .9rem; }
.hero-meta strong { color: var(--ink); font-size: 1rem; }
.hero-meta span { width: 1px; height: 14px; background: #a99fcb; margin-inline: .65rem; }

.invite-card { isolation: isolate; position: relative; overflow: hidden; padding: clamp(20px, 3vw, 35px); border-radius: 24px; color: white; background: linear-gradient(143deg, #21164d, #382476 62%, #4c308e); box-shadow: 0 14px 32px #2f1d641f; }
.invite-card::before { content: ""; position: absolute; z-index: -1; top: -68px; right: -66px; width: 236px; height: 236px; border-radius: 50%; border: 1px solid #b8a7f14a; box-shadow: 0 0 0 22px #b8a7f126, 0 0 0 45px #b8a7f11a, 0 0 0 69px #b8a7f112; }
.invite-heading { display: flex; align-items: center; gap: .65rem; font-weight: 700; }
.invite-mark { display: grid; place-items: center; border-radius: 8px; width: 30px; height: 30px; background: #ffffff1f; color: var(--lime); }
.invite-content { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-block: 1.3rem; }
.invite-label { display: block; color: #dfd4f8; font-size: .92rem; }
.invite-code { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.15; letter-spacing: .035em; font-variant-numeric: tabular-nums; }
.invite-content img { flex: 0 0 auto; inline-size: clamp(76px, 10vw, 106px); border-radius: 10px; }
.invite-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.15rem; border-top: 1px dashed #cbbbf078; }
.ticket-link { color: white; font-weight: 600; }

.listing { padding-block: 2.55rem 1rem; scroll-margin-block-start: 15px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-head h2 { margin-bottom: .35rem; }
.section-head p, .project-card p, .guide-grid p { color: var(--muted); }
.section-head p { margin-bottom: 0; }
.search-box { display: flex; align-items: center; gap: .75rem; background: white; border: 1px solid var(--violet-line); border-radius: 10px; padding-inline: .85rem; }
.search-box:focus-within { outline: 2px solid #8a6cff; }
.search-icon { position: relative; width: 12px; height: 12px; border: 1.5px solid var(--muted); border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.5px; background: var(--muted); transform: rotate(45deg); bottom: -3px; right: -4px; }
.search-box input { min-height: 44px; width: min(13rem, 100%); color: var(--ink); border: none; background: transparent; outline: none; }
.tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin-block-end: 1.15rem; }
.tabs a { padding: .42rem .78rem; color: #4f4c69; background: #fff; border: 1px solid var(--violet-line); border-radius: 8px; font-size: .93rem; font-weight: 650; text-decoration: none; }
.tabs a:hover { border-color: #a18cea; color: var(--purple-dark); }
.tabs a[aria-current="page"] { background: var(--purple); color: white; border-color: var(--purple); }
.tabs small { margin-inline-start: .3rem; font-size: .8rem; }
.search-status { color: var(--muted); }
.project-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.project-card, .guide-grid article, .article, .poster { background: white; border: 1px solid var(--violet-line); border-radius: 16px; }
.project-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2vw, 23px); }
.project-card:hover { border-color: #b9a8ed; box-shadow: 0 6px 20px #2f1d640a; }
.card-top, .detail-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: .9rem; gap: 1rem; }
.detail-top { justify-content: start; align-items: center; }
.tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #eee9f9; color: #5b4394; font-size: 1.2rem; font-weight: 800; }
.tile.cloud { background: #e7e8ff; color: #4937c4; }
.tile.search { background: #e1f4f0; color: #116251; }
.tile.ai { background: #eee6fe; color: #7437bc; }
.tile.app { background: #ffe8ef; color: #a12a53; }
.tile.video { background: #ffefde; color: #984b20; }
.tile.game { background: #e0eefc; color: #285d99; }
.tag { display: inline-block; padding: .16rem .52rem; border-radius: 6px; background: #f1eef9; color: #565071; white-space: nowrap; font-size: .81rem; }
.project-card h3 { font-size: 1.2rem; margin-bottom: .5rem; overflow-wrap: anywhere; }
.project-card h3 a, .guide-grid h3 a { color: var(--ink); text-decoration: none; }
.project-card h3 a:hover, .guide-grid h3 a:hover { color: var(--purple); text-decoration: underline; }
.project-card p { margin-bottom: 1.15rem; }
.card-bottom { display: flex; justify-content: space-between; align-items: end; gap: .55rem; margin-top: auto; border-top: 1px solid #efedf7; padding-top: .75rem; }
.card-bottom small { display: block; color: #67637f; }
.card-bottom strong { color: var(--purple-dark); font-size: 1.3rem; }
.card-bottom a { white-space: nowrap; font-weight: 650; }
.quote-conflict { font-weight: 700; font-size: .9rem; color: #59438c; }
.guide-section { margin-block: 2.3rem 4rem; }
.guide-grid article { padding: 1.25rem; }
.guide-grid h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.guide-grid p { margin-bottom: 0; }

.page-head { padding-top: 3rem; }
.page-head h1, .article h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); margin-bottom: .75rem; overflow-wrap: anywhere; }
.page-head p, .lede { color: var(--muted); font-size: 1.08rem; }
.page-head .guide-grid { margin-block: 2rem 4rem; }
.crumbs { width: min(1160px, calc(100% - 48px)); margin: 1.4rem auto 1rem; display: flex; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .9rem; }
.crumbs a { text-decoration: none; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(285px, 1fr); gap: 1.2rem; align-items: start; }
.article { padding: clamp(20px, 4vw, 43px); }
.article h2 { font-size: clamp(1.32rem, 2.5vw, 1.65rem); margin-top: 1.9rem; margin-bottom: .65rem; }
.article ol, .article ul { padding-inline-start: 1.45rem; }
.article li + li { margin-top: .45rem; }
.article > :last-child { margin-bottom: 0; }
.prose { max-width: 760px; }
.quotes { border: 1px solid var(--violet-line); border-radius: 11px; margin-bottom: .75rem; padding-inline: 1rem; }
.quote-row { display: flex; align-items: center; justify-content: space-between; gap: .55rem; padding-block: .65rem; }
.quote-row + .quote-row { border-top: 1px solid #f1eff7; }
.quote-row strong { color: var(--purple-dark); font-size: 1.3rem; }
.quote-date { color: var(--muted); margin-bottom: .55rem; font-size: .93rem; }
.project-summary, .project-scenario { border: 1px solid var(--violet-line); background: #f8f5ff; border-radius: 12px; padding: .95rem 1.1rem; }
.project-summary h2 { margin: 0 0 .4rem; font-size: 1.12rem; }
.project-summary p, .project-scenario p { margin: 0; }
.project-scenario h3 { font-size: 1.13rem; margin-bottom: .6rem; }
.section-index { display: flex; flex-wrap: wrap; gap: .5rem .65rem; margin-block-start: .95rem; }
.section-index a { padding: .35rem .7rem; border: 1px solid var(--violet-line); border-radius: 9px; text-decoration: none; }
.section-index a:hover { border-color: #a18cea; background: #f8f5ff; }
.article section[id] { scroll-margin-top: 1.2rem; }
.project-checks { margin: 0 0 .85rem; border-block: 1px solid var(--violet-line); }
.project-checks div { display: grid; grid-template-columns: minmax(5.2rem, 1fr) minmax(0, 4fr); align-items: start; gap: .85rem; padding-block: .75rem; }
.project-checks div + div { border-top: 1px solid #f0edf7; }
.project-checks dt { font-weight: 750; }
.project-checks dd { margin: 0; color: #41405d; }
.worksheet, .project-apply { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.05rem; }
.worksheet span { color: var(--muted); font-size: .9rem; }
.table-wrap { overflow: auto; border: 1px solid var(--violet-line); border-radius: 11px; }
.project-compare { border-collapse: collapse; width: 100%; text-align: start; }
.project-compare td, .project-compare th { text-align: start; padding: .68rem .7rem; vertical-align: top; }
.project-compare thead { background: #f8f5ff; color: var(--ink); }
.project-compare tbody tr { border-top: 1px solid var(--violet-line); }
.project-compare td:last-child { font-variant-numeric: tabular-nums; }
.project-questions h3 { font-size: 1.06rem; margin-bottom: .32rem; }
.project-questions > div + div { padding-top: .85rem; border-top: 1px solid #f0edf7; }
.evidence-list a { display: inline-block; }
.project-side { position: sticky; top: 1rem; }
.notice, .copy-box { background: #f3edff; border-radius: 11px; padding: .85rem 1rem; }
.copy-box { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; margin-block: 1.4rem 1rem; }
.copy-box strong { color: var(--purple-dark); font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: .05em; }
.copy-status { min-height: 1.7rem; color: var(--muted); }
.poster { padding: .8rem; }
.poster img { width: 100%; border-radius: 11px; }
.poster .button { display: flex; margin-top: .85rem; }
footer { margin-top: 3.5rem; padding-block: 1.7rem; border-top: 1px solid var(--violet-line); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.footer-inner p { color: var(--muted); margin: .45rem 0 0; }

@media (max-width: 900px) {
  .hero-inner { gap: 1.5rem; }
  .project-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .container, .crumbs { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; flex-wrap: wrap; gap: .65rem; padding-block: .65rem; }
  .header nav { gap: .8rem; margin-left: auto; font-size: .86rem; }
  .header-cta { display: none; }
  .hero-inner, .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding-block: 2rem; }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3.4rem); }
  .hero-copy > p:not(.eyebrow) { margin-bottom: 1.1rem; }
  .hero-meta { margin-top: .9rem; }
  .section-head { align-items: start; flex-direction: column; gap: .6rem; }
  .search-box, .search-box input { width: 100%; }
  .invite-content img { inline-size: 90px; }
  .footer-inner { flex-direction: column; }
  .project-side { position: static; }
}
@media (max-width: 470px) {
  .project-grid, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .header nav { margin-left: 0; }
  .project-checks div { grid-template-columns: 1fr; gap: .15rem; }
  .project-compare td, .project-compare th { padding-inline: .4rem; overflow-wrap: anywhere; }
}
