:root {
  color: #eef0ff;
  background: #070a1a;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  --surface: rgba(19, 23, 51, .82);
  --surface-strong: #151936;
  --border: rgba(184, 164, 255, .18);
  --muted: #a8afcb;
  --purple: #8b5cf6;
  --purple-light: #c4b5fd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: radial-gradient(circle at 75% 4%, #24205c 0, transparent 31%), #070a1a; line-height: 1.65; }
a { color: var(--purple-light); text-decoration: none; }
a:hover { color: white; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 76px; padding: 13px max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--border); background: rgba(7, 10, 26, .86); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; color: white; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, #a78bfa, #6d28d9); font-weight: 850; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; }
.brand small { color: var(--muted); font-size: 10px; }
nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
nav a { color: #c9cee3; }
.admin-link { padding: 8px 13px; border: 1px solid var(--border); border-radius: 9px; }

main { overflow: hidden; }
.hero, .section { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.hero { min-height: 720px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 66px; padding: 76px 0; }
.eyebrow { margin-bottom: 12px; color: #b69aff; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin-bottom: 24px; font-size: clamp(42px, 5.2vw, 70px); line-height: 1.12; letter-spacing: -.055em; }
.hero h1 span { color: #bda8ff; }
.hero-lead { max-width: 700px; color: #b9bfd8; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; padding: 10px 19px; font-weight: 750; }
.button.primary { color: white; background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 12px 34px rgba(109, 40, 217, .25); }
.button.secondary { color: white; border-color: var(--border); background: rgba(255,255,255,.035); }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px 22px; padding: 0; color: #aeb5d0; font-size: 12px; list-style: none; }
.hero-points li::before { content: "✓"; margin-right: 7px; color: #a78bfa; }
.cover-card { width: min(520px, 100%); margin: 0; overflow: hidden; justify-self: end; border: 1px solid rgba(196,181,253,.28); border-radius: 26px; background: #0e1230; box-shadow: 0 34px 100px rgba(0,0,0,.45); transform: rotate(1.5deg); }
.cover-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.cover-card figcaption { padding: 12px 16px; text-align: center; font-size: 12px; }

.section { padding: 92px 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2, .download-section h2, .notice-section h2 { margin-bottom: 13px; font-size: clamp(30px, 4vw, 44px); line-height: 1.22; letter-spacing: -.035em; }
.section-heading > p:last-child, .download-section > div > p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-grid article, .notice-grid article { padding: 25px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.feature-grid article > span { color: #9c7cf9; font: 700 11px ui-monospace, monospace; }
.feature-grid h3, .notice-grid h3 { margin: 14px 0 8px; font-size: 17px; }
.feature-grid p, .notice-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.guide-section { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - 1180px) / 2)); border-block: 1px solid var(--border); background: rgba(15, 18, 43, .6); }
.guide-section + .guide-section { border-top: 0; }
.guide-section .section-heading { width: min(760px, 100%); }
.step-list { display: grid; gap: 22px; }
.step-card { overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: #0d112b; }
.step-copy { padding: 20px 22px 15px; }
.step-copy span { color: #a98bff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.step-copy h3 { margin: 5px 0; font-size: 18px; }
.step-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.step-card > a { display: block; overflow: hidden; border-top: 1px solid var(--border); background: white; }
.step-card img { width: 100%; height: auto; transition: transform .25s ease; }
.step-card a:hover img { transform: scale(1.008); }
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.download-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 70px; }
.download-meta { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.download-meta div { display: grid; grid-template-columns: 125px 1fr; gap: 18px; padding: 15px 18px; border-top: 1px solid var(--border); }
.download-meta div:first-child { border-top: 0; }
.download-meta dt { color: var(--muted); font-size: 12px; }
.download-meta dd { margin: 0; overflow-wrap: anywhere; font: 12px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; }
.notice-section { padding-top: 30px; }
.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
footer { display: flex; justify-content: space-between; gap: 20px; width: min(1180px, calc(100% - 48px)); margin: 30px auto 0; padding: 28px 0 42px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  nav a:not(.admin-link) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; }
  .cover-card { width: min(620px, 100%); justify-self: center; transform: none; }
  .feature-grid, .notice-grid { grid-template-columns: 1fr 1fr; }
  .download-section { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; }
  .brand small { display: none; }
  .hero, .section { width: min(100% - 32px, 1180px); }
  .hero { padding: 54px 0; }
  .hero h1 { font-size: 39px; }
  .feature-grid, .step-grid, .notice-grid { grid-template-columns: 1fr; }
  .guide-section { width: 100%; padding-inline: 16px; }
  .download-meta div { grid-template-columns: 1fr; gap: 3px; }
  footer { width: calc(100% - 32px); }
}
