:root {
  color-scheme: light;
  font-family: Inter, "Yu Gothic UI", Meiryo, sans-serif;
  --ink: #2e2632;
  --muted: #6f6271;
  --pink: #da367f;
  --pink-deep: #b82468;
  --cyan: #39bfe7;
  --line: #e5d8e2;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); }
button, a { font: inherit; }
img { display: block; max-width: 100%; }
.section-band { width: 100%; }
.section-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 250px;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(118deg, #211f27 0%, #33313a 36%, #74415a 72%, #dc6c91 100%);
  color: #fff;
}

.hero-inner { width: min(1180px, calc(100% - 48px)); height: 100%; margin: 0 auto; padding-top: 12px; }
.brand { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.brand img { width: 190px; height: 48px; object-fit: contain; object-position: left center; }
.hero-copy { max-width: 800px; padding-top: 16px; }
.hero-kicker { margin: 0 0 7px; color: #f8e8f0; font-size: 18px; font-weight: 800; line-height: 1.4; }
.hero h1 { max-width: 720px; margin: 0; font-size: 44px; line-height: 1.12; }
.hero-message { display: grid; gap: 1px; margin: 9px 0 0; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.3; }

.audience { padding: 58px 0 64px; background: #f8f4f7; border-bottom: 1px solid var(--line); }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.audience-panel { min-width: 0; padding: 32px; border: 1px solid #ddced8; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px #3522320d; }
.audience-heading {
  display: flex;
  min-height: 64px;
  align-items: center;
  margin: -32px -32px 24px;
  padding: 0 32px;
  border-radius: 7px 7px 0 0;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 1px 2px #0003;
}
.broadcaster-panel .audience-heading { background: linear-gradient(100deg, #ae2465 0%, #e25d93 100%); }
.listener-panel .audience-heading { background: linear-gradient(100deg, #276a83 0%, #5364a9 100%); }
.audience-panel h2 { font-size: 22px; line-height: 1.45; }
.audience-panel > p:not(.audience-heading, .audience-status) { min-height: 48px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.provider-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 23px; }
.provider-button, .store-button {
  display: grid;
  min-width: 0;
  min-height: 62px;
  align-content: center;
  gap: 3px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.provider-button span, .store-button span { overflow-wrap: anywhere; font-size: 14px; font-weight: 900; }
.provider-button small, .store-button small { font-size: 11px; font-weight: 700; opacity: .8; }
.provider-twitch { border-color: #7c33e8; background: #9147ff; color: #fff; }
.provider-twitch:hover, .provider-twitch:focus-visible { background: #7b36e8; outline: 3px solid #d9cbff; outline-offset: 3px; }
.provider-twitch.is-connected { border-color: #bf80e8; background: #63349c; }
.provider-youtube { border: 2px solid #e32636; background: #fff; color: #bd1725; }
.provider-youtube:hover, .provider-youtube:focus-visible { border-color: #c81422; background: #fff5f6; outline: 3px solid #f4c6ca; outline-offset: 3px; }
.store-button { width: 100%; margin-top: 23px; border-color: #0b57d0; background: #0b57d0; color: #fff; }
.store-button:hover, .store-button:focus-visible { border-color: #0842a0; background: #0842a0; outline: 3px solid #c2e7ff; outline-offset: 3px; }
.test-version-link { display: inline-flex; margin-top: 13px; color: var(--pink-deep); font-size: 12px; font-weight: 800; }
.audience-status { min-height: 20px; margin: 12px 0 0; color: #806d7c; font-size: 12px; line-height: 1.6; }

.intro { padding: 88px 0; background: #fff; }
.intro-grid { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: space-between; gap: 60px; }
.section-label { margin: 0 0 12px; color: var(--pink-deep); font-size: 14px; font-weight: 900; line-height: 1.4; }
h2 { margin: 0; font-size: 35px; line-height: 1.42; }
.intro-grid > div > p { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 2; }

.feature { padding: 84px 0; }
.feature-light { background: #faf7fa; }
.feature-dark { background: #25212a; color: #fff; }
.feature-layout { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(480px, 1.22fr); align-items: center; gap: 56px; }
.feature-reverse { grid-template-columns: minmax(480px, 1.22fr) minmax(300px, .78fr); }
.feature-reverse .feature-copy { order: 2; }
.feature-copy h2 { font-size: 31px; }
.feature-copy > p:not(.section-label) { margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.feature-dark .feature-copy > p:not(.section-label) { color: #cfc5d1; }
.feature-copy ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; color: #594e5c; font-size: 14px; }
.feature-dark .feature-copy ul { color: #ded5df; }
.feature-copy li { position: relative; padding-left: 18px; }
.feature-copy li::before { content: ""; position: absolute; top: .55em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 10px 0 0 -2px var(--cyan); }
.feature-visual { margin: 0; overflow: hidden; border: 1px solid #dfceda; border-radius: 8px; background: #fff; box-shadow: 0 20px 46px #35223220; }
.feature-dark .feature-visual { border-color: #ffffff24; box-shadow: 0 24px 58px #0008; }
.feature-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.toolkit { padding: 88px 0 96px; background: #fff; }
.toolkit h2 { max-width: 720px; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 38px; border-block: 1px solid var(--line); }
.tool-grid article { min-width: 0; padding: 26px 22px 30px; border-right: 1px solid var(--line); }
.tool-grid article:first-child { border-left: 1px solid var(--line); }
.tool-number { display: block; color: var(--pink); font-size: 25px; font-weight: 900; line-height: 1; }
.tool-grid h3 { margin: 16px 0 10px; font-size: 18px; }
.tool-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.privacy { padding: 58px 0; background: #eef8fb; border-block: 1px solid #cfe8ef; }
.privacy-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.privacy h2 { font-size: 25px; }
.privacy-layout > p { margin: 0; color: #53686f; font-size: 13px; line-height: 1.9; }

.download-band { padding: 92px 0; background: #f8edf4; }
.download-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr); gap: 70px; }
.download-copy > p:not(.section-label, .download-status) { max-width: 610px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.download-action { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
#downloadButton { min-height: 48px; padding: 10px 18px; border: 1px solid #bd246a; border-radius: 5px; background: var(--pink); color: #fff; cursor: pointer; font-size: 13px; font-weight: 800; }
#downloadButton:hover, #downloadButton:focus-visible { background: var(--pink-deep); outline: 3px solid #efb7d1; outline-offset: 3px; }
#downloadButton:disabled { cursor: wait; opacity: .58; }
#version { color: #806d7c; font-size: 11px; }
.download-status { min-height: 22px; margin: 10px 0 0; color: var(--pink-deep); font-size: 12px; }
.install-steps { padding-left: 36px; border-left: 1px solid #dfc8d6; }
.install-steps h3 { margin: 0 0 18px; font-size: 17px; }
.install-steps ol { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.install-steps li { display: grid; grid-template-columns: 26px 1fr; align-items: start; gap: 9px; }
.install-steps li > span { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #d6a8c1; border-radius: 50%; background: #fff; color: var(--pink-deep); font-size: 10px; font-weight: 800; }
.install-steps p { margin: 2px 0 0; color: #645566; font-size: 12px; line-height: 1.7; }
code { padding: 2px 5px; border-radius: 3px; background: #fff; color: #8f275d; }

footer { display: flex; min-height: 92px; align-items: center; justify-content: center; gap: 9px; padding: 20px 24px; background: #242129; color: #fff; }
footer img { width: 190px; height: 48px; object-fit: contain; }
footer span { margin-left: 5px; color: #bfb5c2; font-size: 10px; }

@media (max-width: 900px) {
  .hero h1 { font-size: 40px; }
  .audience-grid { grid-template-columns: 1fr; }
  .feature-layout, .feature-reverse { grid-template-columns: 1fr; gap: 34px; }
  .feature-reverse .feature-copy { order: 0; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid article:nth-child(3) { border-left: 1px solid var(--line); }
  .tool-grid article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .privacy-layout, .download-layout { grid-template-columns: 1fr; gap: 38px; }
  .install-steps { padding: 30px 0 0; border-top: 1px solid #dfc8d6; border-left: 0; }
}

@media (max-width: 640px) {
  .section-inner, .hero-inner { width: min(100% - 32px, 1180px); }
  .hero { min-height: 250px; height: 250px; }
  .hero-inner { padding-top: 12px; }
  .brand img { width: 172px; height: 44px; }
  .hero-copy { padding-top: 16px; }
  .hero-kicker { font-size: 15px; }
  .hero h1 { font-size: 34px; }
  .hero-message { font-size: 18px; line-height: 1.35; }
  .audience { padding-block: 30px; }
  .audience-panel { padding: 24px 20px; }
  .audience-heading { min-height: 58px; margin: -24px -20px 21px; padding: 0 20px; font-size: 25px; }
  .provider-actions { grid-template-columns: 1fr; }
  .intro, .feature, .toolkit, .download-band { padding-block: 62px; }
  .intro-grid { grid-template-columns: 1fr; gap: 18px; }
  h2, .feature-copy h2 { font-size: 27px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-grid article, .tool-grid article:first-child, .tool-grid article:nth-child(3) { border: 0; border-bottom: 1px solid var(--line); }
  .tool-grid article:last-child { border-bottom: 0; }
  .privacy { padding-block: 48px; }
  .privacy-layout { gap: 22px; }
  .download-action { align-items: flex-start; flex-direction: column; }
  #downloadButton { width: 100%; }
  footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
