:root {
  color-scheme: dark;
  --bg: #1a1a1a;
  --panel: #222;
  --panel-alt: #2a2a2a;
  --text: #f6f7f8;
  --muted: #c1c9cb;
  --teal: #30b0c7;
  --line: rgba(255, 255, 255, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: none; }
a:hover, a:focus-visible { color: var(--teal); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.page { max-width: 1120px; margin: 0 auto; background: var(--panel); }
.inner { width: min(100% - 40px, 1000px); margin-inline: auto; }

.site-header { padding: 20px 0 28px; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; }
.social, .nav-links, .language-links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.social img { width: 28px; height: 28px; object-fit: contain; }
.nav-links { font-size: 13px; }
.language-links { gap: 8px; border-left: 1px solid var(--line); padding-left: 14px; }
.language-links a, .language-links span { display: inline-flex; align-items: center; gap: 4px; }
.language-links img { width: 20px; height: 13px; }
.language-links [aria-current="page"] { color: var(--teal); }
.brand { text-align: center; padding: 35px 0 12px; }
.brand img { width: min(100%, 512px); margin: 0 auto 8px; }
.brand p { margin: 0; color: var(--muted); }
.press { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.press a { text-decoration: underline; text-underline-offset: 3px; }
.store-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.store-links img { height: 42px; width: auto; max-width: 100%; }
.hero-stores { margin-top: 22px; }
.video-section { padding-bottom: 32px; }
.video { width: min(100%, 900px); aspect-ratio: 16 / 9; margin: 0 auto; background: #111; border: 1px solid var(--line); }
.video iframe { display: block; width: 100%; height: 100%; border: 0; }

.feature { padding: clamp(28px, 4vw, 46px) 0; background: var(--panel-alt); }
.feature-heading { padding-block: clamp(14px, 2vw, 23px); }
.feature:nth-of-type(even) { background: var(--panel); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 48px); }
.feature.reverse .feature-media { order: 2; }
.feature-media { min-width: 0; }
.feature-media img { width: 100%; border-radius: 4px; }
.feature-media.pair { display: flex; align-items: center; justify-content: center; gap: 12px; }
.feature-media.pair img { width: calc(50% - 6px); max-width: 252px; }
.feature-copy { min-width: 0; }
.feature h2 { margin: 0 0 12px; font-size: clamp(21px, 2.5vw, 27px); line-height: 1.35; }
.feature-heading h2 { margin-bottom: 0; }
.feature-subsection h3 { margin: 0 0 12px; font-size: clamp(21px, 2.3vw, 25px); line-height: 1.35; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature p br + br { content: ""; display: block; margin-top: 10px; }

.details { padding: 34px 0; }
.store-block + .store-block { margin-top: 32px; }
.details .store-links { margin-bottom: 16px; }
.requirements { border-collapse: collapse; width: 100%; max-width: 850px; margin: 0 auto; font-size: 14px; }
.requirements th, .requirements td { border: 1px solid var(--line); padding: 12px 15px; text-align: left; vertical-align: top; }
.requirements th { width: 165px; color: var(--teal); background: #1b272a; }
.requirements td { color: var(--muted); }
.site-footer { padding: 30px 0 35px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: flex-start; gap: 24px; }
.footer-top p { flex: 1; margin: 0; color: var(--muted); font-size: 12px; }
.footer-top img { width: 80px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 24px; color: #999; font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; }

@media (max-width: 720px) {
  .inner { width: min(100% - 28px, 1000px); }
  .topbar { justify-content: center; }
  .nav-links { justify-content: center; }
  .brand { padding-top: 28px; }
  .video-section { padding-bottom: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .feature-media { max-width: 570px; width: 100%; margin: auto; }
  .feature h2 { font-size: 22px; }
  .requirements th { width: 110px; }
}

@media (max-width: 480px) {
  .social { justify-content: center; width: 100%; }
  .nav-links { gap: 10px 14px; }
  .store-links img { height: 40px; }
  .feature p { font-size: 14px; }
  .requirements { font-size: 12px; }
  .requirements th, .requirements td { padding: 10px; overflow-wrap: anywhere; }
  .footer-top { flex-direction: column-reverse; gap: 16px; }
}
