:root {
  --paper: #faf8fb;
  --ink: #181419;
  --muted: #6d6670;
  --purple: #74249b;
  --purple-deep: #251329;
  --purple-soft: #efe3f4;
  --lime: #caff3d;
  --line: #e6dfe8;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: radial-gradient(circle at 85% 0, #eadbf1 0, transparent 30rem), var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap, .branch-inner { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.branch-bar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(37, 19, 41, .1); background: rgba(250, 248, 251, .88); backdrop-filter: blur(18px) saturate(150%); }
.branch-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.branch-inner strong { font-size: 17px; }
.branch-inner a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 17px; border-radius: 999px; color: #fff; background: var(--purple-deep); font-size: 14px; font-weight: 800; text-decoration: none; }
main { padding: 66px 0 110px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); gap: 58px; align-items: end; padding: 38px 0 78px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 18px; color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 23px; font-family: ui-serif, "Songti SC", serif; font-size: clamp(54px, 7vw, 88px); font-weight: 750; line-height: 1.02; letter-spacing: -.055em; }
h1 span { color: var(--purple); }
.lead { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.current { min-height: 230px; padding: 28px; display: flex; flex-direction: column; border-radius: 28px; color: #fff; background: linear-gradient(145deg, var(--purple-deep), var(--purple)); box-shadow: 0 28px 70px rgba(47, 18, 57, .14); }
.current small { color: var(--lime); font-weight: 900; letter-spacing: .08em; }
.current strong { margin: 24px 0 2px; font-size: 44px; line-height: 1; }
.current span { color: rgba(255, 255, 255, .72); }
.current p { margin: auto 0 0; font-size: 13px; font-weight: 750; }
.story { padding: 84px 0; border-bottom: 1px solid var(--line); }
.story h2, .section-head h2 { max-width: 800px; margin: 0; font-family: ui-serif, "Songti SC", serif; font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: -.045em; }
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px; border-top: 1px solid var(--line); }
.milestones article { min-height: 220px; padding: 28px 25px 20px; border-right: 1px solid var(--line); }
.milestones article:first-child { padding-left: 0; }
.milestones article:last-child { border-right: 0; }
.milestones time { color: var(--purple); font-size: 11px; font-weight: 900; }
.milestones strong { display: block; margin-top: 42px; font-size: 19px; }
.milestones p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.releases { padding-top: 84px; }
.section-head { margin-bottom: 46px; }
.timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.release { min-height: 282px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, .72); box-shadow: 0 14px 44px rgba(43, 22, 47, .05); }
.current-release { color: #fff; border-color: var(--purple-deep); background: linear-gradient(150deg, var(--purple-deep), #562269); }
.meta { display: flex; justify-content: space-between; gap: 16px; color: var(--purple); font-size: 12px; font-weight: 850; }
.meta time { color: var(--muted); }
.current-release .meta { color: var(--lime); }
.current-release .meta time { color: rgba(255, 255, 255, .58); }
.release h3 { margin: 34px 0 14px; font-size: 26px; line-height: 1.2; }
.release p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.current-release p { color: rgba(255, 255, 255, .72); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 24px; }
.tags span { padding: 5px 10px; border-radius: 999px; color: var(--purple); background: var(--purple-soft); font-size: 11px; font-weight: 800; }
.current-release .tags span { color: var(--lime); background: rgba(202, 255, 61, .1); }
.footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 820px) {
  .wrap, .branch-inner { width: min(100% - 36px, 700px); }
  main { padding-top: 42px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-bottom: 58px; }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .milestones article:nth-child(2) { border-right: 0; }
  .milestones article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; }
  .release { min-height: 0; }
}

@media (max-width: 460px) {
  .wrap, .branch-inner { width: min(100% - 24px, 420px); }
  .branch-inner { min-height: 64px; }
  .branch-inner a { min-height: 42px; padding-inline: 14px; font-size: 13px; }
  main { padding: 28px 0 78px; }
  h1 { font-size: 43px; }
  .lead { font-size: 16px; }
  .current { min-height: 210px; padding: 23px; border-radius: 22px; }
  .story { padding: 64px 0; }
  .milestones { grid-template-columns: 1fr; }
  .milestones article, .milestones article:first-child { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .milestones article:last-child { border-bottom: 0; }
  .milestones strong { margin-top: 20px; }
  .releases { padding-top: 64px; }
  .release { padding: 23px; border-radius: 20px; }
  .release h3 { margin-top: 26px; font-size: 23px; }
  .meta { align-items: flex-start; flex-direction: column; gap: 3px; }
}
