:root {
  color-scheme: light dark;
  --paper: #f7f5f3;
  --card: #ffffff;
  --cream: #f3eee7;
  --ink: #000000;
  --charcoal: #222222;
  --graphite: #6a6559;
  --linen: #dcd8cf;
  --smoke: #e2e2e2;
  --yellow: #ffdd33;
  --pink: #f5c4cc;
  --obs: #007eae;
  --obs-soft: #e7f5fa;
  --discord: #75508f;
  --discord-soft: #f2ebf6;
  --success: #3e6b15;
  --success-soft: #edf5e7;
  --attention: #c74725;
  --attention-soft: #fff0ea;
  --tip: #8a682b;
  --focus: #005fcc;
  font-family: Inter, "Segoe UI", "Noto Sans JP", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); }
a { color: inherit; }
section, article[id], div[id] { scroll-margin-top: 110px; }

.site-header, main, footer { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--linen);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 28px; display: flex; align-items: center; justify-content: center; gap: 3px; color: var(--paper); background: var(--ink); border-radius: 9999px; }
.brand-mark i { width: 2px; border-radius: 2px; background: currentColor; }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 11px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--charcoal); text-decoration: none; font-size: 15px; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.eyebrow { width: fit-content; margin: 0 auto 22px; padding: 5px 11px; color: #000; background: var(--yellow); border-radius: 9999px; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.text-link, .card-link { font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
.primary-button, .secondary-button, .download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 9999px;
  font-weight: 750;
  text-decoration: none;
}
.primary-button { min-height: 48px; padding: 11px 19px; }
.primary-button:hover { color: #000; background: var(--yellow); }
.secondary-button { width: fit-content; min-height: 42px; padding: 9px 15px; font-size: 14px; }
.secondary-button:hover { color: #000; background: var(--yellow); }

.hero { padding: 86px 0 100px; text-align: center; }
.hero-copy { max-width: 980px; margin-inline: auto; }
h1 { margin: 0; font-size: clamp(58px, 8.7vw, 108px); line-height: .95; letter-spacing: -.055em; }
h1 span { position: relative; z-index: 0; white-space: nowrap; }
h1 span::before { content: ""; position: absolute; z-index: -1; left: -.03em; right: -.04em; bottom: .03em; height: .3em; background: var(--pink); clip-path: polygon(1% 14%, 99% 0, 97% 92%, 0 100%); }
.lead { margin: 34px 0 0; color: var(--charcoal); font-size: 18px; line-height: 1.7; letter-spacing: -.01em; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.download-note { margin: 14px 0 0; color: var(--graphite); font-size: 13px; }

.demo-figure { max-width: 960px; margin: 48px auto 0; }
.demo-player { position: relative; overflow: hidden; background: #151411; border: 1px solid var(--linen); border-radius: 14px; box-shadow: 0 20px 50px rgb(0 0 0 / 12%); }
.demo-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.demo-play { position: absolute; bottom: max(44px, 10%); left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 14px 24px; color: #151411; background: #ffdd33; border: 0; border-radius: 9999px; box-shadow: 0 4px 24px rgb(0 0 0 / 25%); font: inherit; font-size: 16px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.demo-play[hidden] { display: none; }
.demo-play:hover { background: #ffe76b; }
.demo-play:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.demo-figure figcaption { margin-top: 12px; color: var(--graphite); font-size: 14px; text-align: right; }
.wave-icon { display: flex; align-items: center; justify-content: center; gap: 2px; }
.wave-icon i { width: 2px; border-radius: 2px; background: currentColor; }
.wave-icon i:nth-child(1), .wave-icon i:nth-child(5) { height: 8px; }
.wave-icon i:nth-child(2), .wave-icon i:nth-child(4) { height: 15px; }
.wave-icon i:nth-child(3) { height: 23px; }
.share-icon::before { content: ""; position: absolute; inset: 11px 9px 13px; border: 1.5px solid currentColor; border-radius: 2px; }
.share-icon::after { content: "↗"; position: absolute; left: 15px; top: 8px; font-size: 18px; font-weight: 800; }
.preview-guide { margin: 15px 0 0; padding: 9px 13px; color: var(--graphite); background: #d2c7b8; border: 1px solid #c8beb1; border-radius: 10px; font-size: 12px; }

.download-section, .setup-section, .trouble-section { padding: 96px 0; border-top: 1px solid var(--linen); }
.section-heading { max-width: 790px; margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(43px, 5vw, 70px); line-height: 1; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 21px auto 0; color: var(--graphite); font-size: 18px; line-height: 1.55; }

.platform-grid { margin-top: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.platform-card { padding: 30px; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--linen); border-radius: 14px; }
.platform-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.platform-label { margin: 0 0 8px; color: var(--graphite); font-size: 12px; font-weight: 800; letter-spacing: .09em; }
.platform-card h3 { margin: 0; font-size: 38px; line-height: 1; letter-spacing: -.035em; }
.stage-badge { padding: 5px 10px; color: var(--ink); background: var(--smoke); border-radius: 9999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.platform-summary { min-height: 54px; margin: 20px 0 0; color: var(--graphite); font-size: 16px; line-height: 1.55; }
.purpose-chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.purpose-chips span { padding: 5px 10px; color: #fff; border-radius: 9999px; font-size: 12px; font-weight: 800; }
.purpose-chips .obs-chip { background: var(--obs); }
.purpose-chips .discord-chip { background: var(--discord); }
.purpose-chips .native-chip { background: var(--success); }
.download-button { width: 100%; min-height: 66px; margin-top: 24px; padding: 12px 18px; text-align: left; }
.download-button:hover { color: #000; background: var(--yellow); }
.download-button strong, .download-button small { display: block; }
.download-button strong { font-size: 15px; }
.download-button small { margin-top: 2px; opacity: .72; font-size: 11px; }
.download-icon { font-size: 23px; line-height: 1; }
.mac-download { color: var(--ink); background: var(--card); }
.mac-download:hover { color: var(--paper); background: var(--ink); }
.platform-facts { margin: 24px 0 0; padding: 20px 0 0 19px; color: var(--graphite); border-top: 1px solid var(--linen); font-size: 15px; line-height: 1.8; }
.platform-facts strong { display: inline-block; min-width: 88px; color: var(--charcoal); font-size: 12px; letter-spacing: .03em; }
.install-warning { margin: 18px 0 0; color: var(--attention); font-size: 12px; font-weight: 750; line-height: 1.5; }
.card-link { margin-top: auto; padding-top: 22px; }

.setup-section { position: relative; }
.anchor-alias { position: absolute; pointer-events: none; }
.setup-flow { margin-top: 54px; padding: 34px; background: var(--card); border: 1px solid var(--linen); border-radius: 16px; }
.flow-heading { margin-top: 48px; display: flex; align-items: flex-start; gap: 16px; }
.flow-heading:first-child { margin-top: 0; }
.flow-heading > span { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; color: #000; background: var(--yellow); border-radius: 9999px; font-size: 14px; font-weight: 850; }
.flow-heading h3 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.flow-heading p { max-width: 760px; margin: 7px 0 0; color: var(--graphite); font-size: 15px; line-height: 1.55; }
.install-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.install-card { padding: 24px; background: var(--cream); border: 1px solid var(--linen); border-radius: 12px; }
.install-card h4 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.install-card > p:not(.platform-label) { margin: 12px 0 0; color: var(--graphite); font-size: 15px; line-height: 1.6; }
.install-card small { display: block; margin-top: 14px; padding-top: 14px; color: var(--graphite); border-top: 1px solid var(--linen); font-size: 12px; line-height: 1.5; }

.daw-block { margin-top: 22px; padding: 27px; background: var(--cream); border-radius: 12px; }
.subheading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.subheading h4, .destination-heading h4 { margin: 0; font-size: 23px; letter-spacing: -.02em; }
.subheading p, .destination-heading p { margin: 0; color: var(--graphite); font-size: 14px; }
.daw-list { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.daw-card { background: var(--card); border: 1px solid var(--linen); border-radius: 10px; }
.daw-card header { padding: 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.daw-card header strong { font-size: 16px; }
.daw-card header span { padding: 4px 8px; color: #fff; background: var(--success); border-radius: 9999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.daw-card p { margin: 0; padding: 0 17px 18px; color: var(--graphite); font-size: 14px; line-height: 1.55; }

.route-choice-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.route-choice { position: relative; min-height: 210px; padding: 24px 62px 24px 24px; color: inherit; background: var(--cream); border: 1px solid var(--linen); border-top-width: 7px; border-radius: 12px; text-decoration: none; }
.route-choice:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(0 0 0 / 10%); }
.obs-choice { border-top-color: var(--obs); }
.discord-choice { border-top-color: var(--discord); }
.route-choice h4 { margin: 19px 0 0; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; }
.route-choice p { max-width: 440px; margin: 10px 0 0; color: var(--graphite); font-size: 15px; line-height: 1.55; }
.route-arrow { position: absolute; right: 24px; bottom: 22px; font-size: 24px; font-weight: 800; }
.route-details { margin-top: 44px; display: grid; gap: 22px; }
.destination-card { position: relative; padding: 30px; border: 1px solid var(--linen); border-left-width: 7px; border-radius: 12px; }
.obs-guide { background: var(--obs-soft); border-top-color: var(--obs); }
.discord-guide { background: var(--discord-soft); border-top-color: var(--discord); }
.obs-guide { border-left-color: var(--obs); }
.discord-guide { border-left-color: var(--discord); }
.detail-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.platform-scope { color: var(--graphite); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.destination-label { display: flex; align-items: center; gap: 10px; }
.destination-label > span { position: relative; width: 38px; height: 38px; color: currentColor; border: 1.5px solid currentColor; border-radius: 50%; }
.destination-label strong { padding: 5px 10px; color: #fff; border-radius: 9999px; font-size: 12px; letter-spacing: .06em; }
.obs-label { color: var(--obs); }
.obs-label strong { background: var(--obs); }
.discord-label { color: var(--discord); }
.discord-label strong { background: var(--discord); }
.destination-card > h4 { margin: 24px 0 0; font-size: 30px; line-height: 1.1; letter-spacing: -.03em; }
.destination-card > p:not(.result-note) { margin: 12px 0 0; color: var(--graphite); font-size: 15px; line-height: 1.55; }
.destination-card > ol { margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; list-style: none; }
.destination-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.destination-card li span { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; color: #fff; border-radius: 9999px; font-size: 11px; font-weight: 800; }
.obs-guide li span { background: var(--obs); }
.discord-guide li span { background: var(--discord); }
.result-note { width: fit-content; margin: 22px 0 0; padding: 6px 10px; border-radius: 9999px; font-size: 12px; font-weight: 800; }
.success-note { color: #fff; background: var(--success); }
.dependency-box { margin-top: 22px; padding: 20px; background: var(--card); border: 1px solid #d8cce0; border-radius: 10px; }
.dependency-box > strong { font-size: 16px; }
.dependency-box ol { margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; list-style: none; }
.dependency-box .secondary-button { margin-top: 20px; }
.discord-final-steps { grid-template-columns: repeat(2, 1fr) !important; padding-top: 20px !important; border-top: 1px solid #d8cce0; }
.native-mac-note { margin-top: 22px; padding: 16px 18px; display: flex; align-items: baseline; gap: 18px; background: var(--success-soft); border-left: 5px solid var(--success); border-radius: 8px; }
.native-mac-note strong { flex: 0 0 auto; color: var(--success); font-size: 14px; }
.native-mac-note p { margin: 0; color: var(--graphite); font-size: 14px; line-height: 1.55; }
.important-note { position: relative; margin-top: 32px; padding: 27px 19px 18px; background: var(--attention-soft); border: 1px solid var(--attention); border-radius: 10px; }
.important-note strong { position: absolute; top: -13px; left: 15px; padding: 4px 9px; color: #fff; background: var(--attention); border-radius: 9999px; font-size: 12px; }
.important-note p { margin: 0; color: var(--graphite); font-size: 14px; line-height: 1.55; }
.advanced-tip { margin-top: 18px; padding: 19px 21px; background: var(--card); border: 1px solid var(--linen); border-left: 7px solid var(--tip); border-radius: 10px; }
.advanced-tip summary { cursor: pointer; font-size: 15px; font-weight: 750; }
.advanced-tip p { margin: 13px 0 0; color: var(--graphite); font-size: 14px; line-height: 1.6; }

.faq-grid { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-grid details { padding: 20px 22px; background: var(--card); border: 1px solid var(--linen); border-radius: 10px; }
.faq-grid summary { cursor: pointer; font-size: 16px; font-weight: 750; }
.faq-grid p { margin: 14px 0 0; color: var(--graphite); font-size: 15px; line-height: 1.6; }
.faq-grid a { text-underline-offset: 3px; }

footer { padding: 27px 0 42px; display: flex; flex-wrap: wrap; gap: 19px; color: var(--graphite); border-top: 1px solid var(--linen); font-size: 12px; }
footer a { text-underline-offset: 3px; }
.trademark-note { margin-left: auto; }

@media (max-width: 900px) {
  .platform-grid { grid-template-columns: 1fr; }
  .platform-summary { min-height: 0; }
  .daw-list { grid-template-columns: 1fr; }
  .destination-card > ol, .dependency-box ol { grid-template-columns: 1fr; }
  .discord-final-steps { grid-template-columns: 1fr !important; }
  .trademark-note { margin-left: 0; width: 100%; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 28px, 1200px); }
  .site-header { min-height: 0; padding: 13px 0 11px; flex-wrap: wrap; }
  .brand span:last-child { font-size: 14px; }
  nav { width: 100%; margin-top: 11px; justify-content: space-between; gap: 10px; }
  nav a { font-size: 12px; }
  nav a:last-child { display: none; }
  .hero { padding: 62px 0 72px; }
  h1 { font-size: 44px; }
  h1 span { white-space: normal; }
  .lead br { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-button { width: 100%; }
  .demo-figure { margin-top: 36px; }
  .demo-player { border-radius: 10px; }
  .demo-play { min-height: 48px; padding: 11px 18px; }
  .download-section, .setup-section, .trouble-section { padding: 72px 0; }
  .section-heading h2 { font-size: 36px; }
  .section-heading > p:last-child { font-size: 16px; }
  .platform-grid { margin-top: 40px; }
  .platform-card, .setup-flow { padding: 23px; }
  .platform-card h3 { font-size: 32px; }
  .download-button { justify-content: flex-start; }
  .install-grid, .route-choice-grid { grid-template-columns: 1fr; }
  .flow-heading { gap: 13px; }
  .flow-heading > span { flex-basis: 34px; width: 34px; height: 34px; }
  .flow-heading h3 { font-size: 25px; }
  .install-card { padding: 20px; }
  .daw-block { margin-inline: -8px; padding: 18px; }
  .subheading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .daw-card header { align-items: flex-start; }
  .route-choice { min-height: 190px; padding: 22px 58px 22px 22px; }
  .destination-card { padding: 22px; }
  .destination-card > h4 { font-size: 26px; }
  .detail-header { align-items: flex-start; }
  .platform-scope { padding-top: 12px; text-align: right; }
  .native-mac-note { align-items: flex-start; flex-direction: column; gap: 6px; }
  .dependency-box { padding: 17px; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151411;
    --card: #211f1b;
    --cream: #2a2721;
    --ink: #f7f3eb;
    --charcoal: #eee9df;
    --graphite: #bcb4a5;
    --linen: #484239;
    --smoke: #3a3630;
    --yellow: #f2cd32;
    --pink: #8f4355;
    --obs-soft: #142b34;
    --discord-soft: #2b2031;
    --success-soft: #1d2a18;
    --attention-soft: #351d17;
    --focus: #78baff;
  }
  .demo-player { border-color: #554d42; box-shadow: 0 20px 54px rgb(0 0 0 / 40%); }
  .dependency-box { border-color: #55435f; }
  .discord-final-steps { border-color: #55435f; }
  .native-mac-note strong { color: #95c96a; }
  .route-choice:hover { box-shadow: 0 10px 28px rgb(0 0 0 / 35%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-choice:hover { transform: none; }
}
