:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --panel: #151923;
  --panel-soft: #111620;
  --text: #f4f7fb;
  --muted: #aab4c3;
  --line: #293142;
  --accent: #49d4ff;
  --accent-strong: #7cf4c8;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at 20% 0%, rgba(73, 212, 255, 0.18), transparent 30rem),
    linear-gradient(180deg, #10141d 0%, var(--bg) 28rem);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(73, 212, 255, 0.16);
  content: "";
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: 440px;
  display: grid;
  align-items: center;
  margin: 20px auto 0;
  padding: 64px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 20px;
  padding: 0 22px;
  border: 1px solid rgba(124, 244, 200, 0.42);
  border-radius: 8px;
  color: #041012;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: var(--shadow);
}

.app-store-link:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.section,
.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 22px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.document,
.faq-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 25, 35, 0.88);
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.card p,
.document p,
.document li,
.faq-list p {
  color: var(--muted);
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.platform-list li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--panel-soft);
}

.page {
  padding: 48px 0 72px;
}

.document {
  max-width: 860px;
  padding: clamp(24px, 5vw, 48px);
}

.document h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.document h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.document ul {
  padding-left: 1.35rem;
}

.updated,
.contact {
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.faq-list article {
  padding: 18px;
  background: var(--panel-soft);
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 56px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 38px 0;
  }
}
