:root {
  color-scheme: light;
  --ink: #121416;
  --muted: #596168;
  --paper: #fbfbf8;
  --white: #fff;
  --line: #d8dde1;
  --red: #b42c25;
  --red-dark: #7f1d19;
  --blue: #24558a;
  --green: #31785f;
  --gold: #a27318;
  --shadow: 0 18px 55px rgba(18, 20, 22, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); }
a { color: inherit; }
code { border-radius: 5px; padding: 0.08em 0.32em; background: rgba(18,20,22,.08); font-size: .92em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(18, 20, 22, 0.08);
  background: rgba(251, 251, 248, 0.94);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-weight: 760; text-decoration: none; }
.brand span:last-child { overflow-wrap: anywhere; }
.mark { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: var(--ink); color: var(--white); font-weight: 780; }
.nav-links { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; color: var(--muted); font-size: 14px; }
.nav-links a, .language-switch a { text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 760; }
.language-switch { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.language-switch span { margin-right: 3px; }
.language-switch a { display: inline-flex; min-width: 34px; min-height: 32px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 720; }
.language-switch a[aria-current="true"] { border-color: var(--ink); color: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr); gap: clamp(32px, 6vw, 86px); align-items: center; padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px) 58px; }
.compact-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 42px; }
.hero > *, .split > *, .cards > *, .language-row > *, .topic-grid > *, .download-grid > *, .setup-steps > * { min-width: 0; }
.eyebrow { margin: 0 0 14px; color: var(--red); font-size: 13px; font-weight: 780; letter-spacing: 0; }
h1, .page-title { max-width: 820px; margin: 0; font-size: clamp(42px, 6.2vw, 84px); line-height: 1; letter-spacing: 0; overflow-wrap: anywhere; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.05; letter-spacing: 0; overflow-wrap: anywhere; }
h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.25; }
.lead { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.62; overflow-wrap: anywhere; }
.body-copy { color: var(--muted); font-size: 16px; line-height: 1.78; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--ink); border-radius: 8px; font-size: 14px; font-weight: 730; text-decoration: none; }
.button.primary { border-color: var(--red); background: var(--red); color: var(--white); }
.button.primary:hover { background: var(--red-dark); }
.button:hover { background: var(--ink); color: var(--white); }
.hero-media { margin: 0; overflow: hidden; border: 1px solid rgba(18,20,22,.1); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.hero-media img { display: block; width: 100%; max-width: 100%; height: auto; }
.band { padding: 58px clamp(20px, 5vw, 72px); border-top: 1px solid rgba(18,20,22,.08); }
.band.white { background: var(--white); }
.section-head { max-width: 860px; margin-bottom: 24px; }
.cards, .topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.setup-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.language-row, .download-grid, .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card, .topic-card, .setup-step { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.78); }
.topic-card, .setup-step { text-decoration: none; }
.topic-card:hover, .setup-step:hover { border-color: rgba(18,20,22,.45); }
.setup-step span { display: grid; width: 34px; height: 34px; margin-bottom: 16px; place-items: center; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 800; }
.card p, .card li, .topic-card p, .setup-step p { color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.card ul { margin: 0; padding-left: 20px; }
.accent-blue { border-top: 4px solid var(--blue); }
.accent-green { border-top: 4px solid var(--green); }
.accent-gold { border-top: 4px solid var(--gold); }
.accent-red { border-top: 4px solid var(--red); }
.tag-list { display: flex; max-width: 900px; flex-wrap: wrap; gap: 10px; }
.tag-list a { display: inline-flex; min-height: 38px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: var(--white); color: var(--muted); font-size: 14px; font-weight: 680; text-decoration: none; }
.tag-list a:hover { border-color: var(--ink); color: var(--ink); }
.release-card { padding: 26px; border-radius: 8px; background: var(--ink); color: var(--white); }
.release-card p { color: rgba(255,255,255,.78); line-height: 1.6; }
.release-links { display: grid; gap: 10px; margin-top: 18px; }
.release-links a { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; color: var(--white); font-weight: 690; text-decoration: none; }
pre { overflow-x: auto; margin: 18px 0 0; padding: 18px; border-radius: 8px; background: #0f1112; color: #f5f7f8; font-size: 13px; line-height: 1.6; }
.crumbs { padding: 26px clamp(20px, 5vw, 72px) 0; color: var(--muted); font-size: 13px; }
.crumbs a { text-decoration: none; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 760; }
.faq p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.simple-redirect { max-width: 720px; padding: 70px clamp(20px, 5vw, 72px); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 30px clamp(20px, 5vw, 72px); border-top: 1px solid rgba(18,20,22,.08); color: var(--muted); font-size: 14px; }
@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr; align-items: flex-start; }
  .nav-links { justify-content: flex-start; }
  .setup-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero, .cards, .topic-grid, .language-row, .download-grid, .split { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  h1, .page-title { font-size: clamp(34px, 10.5vw, 52px); line-height: 1.05; overflow-wrap: anywhere; }
  h2 { font-size: clamp(28px, 8.5vw, 42px); overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  .hero, .band, .site-header, .crumbs { padding-left: 22px; padding-right: 22px; }
  .setup-steps { grid-template-columns: 1fr; }
  .button { min-width: 0; padding-right: 16px; padding-left: 16px; }
}