:root {
  color-scheme: dark;
  --bg: #130b0d;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.74);
  --ink-muted: rgba(255, 255, 255, 0.56);
  --ink-dim: rgba(255, 255, 255, 0.42);
  --surface: #201417;
  --surface-2: #2a191b;
  --surface-3: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 219, 125, 0.24);
  --line-strong: rgba(255, 219, 125, 0.44);
  --accent: #ff244f;
  --accent-strong: #ff5a70;
  --gold: #ffd45a;
  --gold-strong: #ffeaa3;
  --cream: #fff6dd;
  --blue: #64c7ff;
  --shadow: rgba(0, 0, 0, 0.52);
  --max-width: 1120px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", "Meiryo", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--gold-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #ffffff;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
dl {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0;
}

ul {
  padding-left: 1.2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: var(--gold);
  color: #140900;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(19, 11, 13, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner,
.site-shell,
.hero__inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 4.5rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-lockup__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px var(--shadow);
}

.brand-lockup__text {
  display: grid;
  gap: 0.1rem;
}

.brand-lockup__name {
  font-size: 1.2rem;
  line-height: 1.1;
  font-weight: 900;
}

.brand-lockup__note {
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav__link[aria-current="page"] {
  color: #1b080a;
  background: var(--gold);
  border-color: var(--gold);
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(19, 11, 13, 0.96) 0%, rgba(19, 11, 13, 0.76) 48%, rgba(19, 11, 13, 0.42) 100%),
    url("stage_background.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  background: linear-gradient(0deg, var(--bg), rgba(19, 11, 13, 0));
  pointer-events: none;
  z-index: -1;
}

.hero__inner {
  display: grid;
  gap: 1.2rem;
  padding: 4.5rem 0 5rem;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: 4rem;
  text-wrap: balance;
}

.hero__lead {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 212, 90, 0.13);
  border: 1px solid var(--line-strong);
  color: var(--gold-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero__links,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.05rem;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(255, 36, 79, 0.24);
}

.button-link--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  box-shadow: none;
}

.site-shell {
  padding: 1rem 0 3rem;
}

.section-block,
.policy-article,
.site-footer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: 0 22px 54px var(--shadow);
}

.section-block,
.policy-article,
.site-footer {
  padding: 2rem;
}

.section-block + .section-block,
.policy-section + .policy-section {
  margin-top: 1rem;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.section-heading h2,
.policy-section h2 {
  font-size: 1.65rem;
}

.section-heading p,
.policy-section p,
.policy-list,
.site-footer__note {
  color: var(--ink-soft);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.screen-shot {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #000000;
  aspect-ratio: 1290 / 2796;
}

.screen-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-grid,
.commerce-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature-card,
.commerce-card,
.notice-box,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-3);
}

.feature-card,
.commerce-card,
.notice-box {
  padding: 1.15rem;
}

.feature-card h3,
.commerce-card h3 {
  color: var(--gold-strong);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.feature-card p,
.commerce-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.commerce-card strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.notice-box {
  border-color: var(--line-strong);
  background: rgba(255, 36, 79, 0.11);
}

.policy-article {
  max-width: 58rem;
  margin: 0 auto;
}

.policy-header {
  display: grid;
  gap: 0.85rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.policy-header h1 {
  font-size: 2.45rem;
}

.policy-header p {
  color: var(--ink-soft);
}

.policy-section {
  display: grid;
  gap: 0.85rem;
  padding-top: 1.35rem;
}

.policy-section h3 {
  color: var(--gold-strong);
  font-size: 1.08rem;
  margin-top: 0.3rem;
}

.policy-list {
  display: grid;
  gap: 0.55rem;
}

.contact-block {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.policy-meta {
  color: var(--ink-dim);
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
}

.info-table th,
.info-table td {
  padding: 0.95rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.info-table th {
  width: 13rem;
  color: var(--ink);
  font-weight: 800;
}

.info-table td {
  color: var(--ink-soft);
}

.site-footer {
  margin-top: 1.4rem;
}

.site-footer__primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.site-footer__brand {
  color: var(--ink);
  font-weight: 900;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.site-footer__note {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  .site-header__inner,
  .site-footer__primary {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .commerce-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .site-shell,
  .hero__inner {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .brand-lockup__note {
    display: none;
  }

  .site-nav__link {
    font-size: 0.84rem;
    min-height: 2.2rem;
    padding: 0.35rem 0.65rem;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(19, 11, 13, 0.86) 0%, rgba(19, 11, 13, 0.78) 100%),
      url("stage_background.png");
  }

  .hero__inner {
    padding: 3.2rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .section-block,
  .policy-article,
  .site-footer {
    padding: 1.15rem;
  }

  .policy-header h1 {
    font-size: 1.85rem;
  }

  .screens-grid {
    gap: 0.55rem;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: auto;
  }

  .info-table th {
    padding-bottom: 0.2rem;
    border-bottom: 0;
  }

  .info-table td {
    padding-top: 0;
  }
}

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