:root {
  color-scheme: dark;
  --page-bg: #071018;
  --card-bg: rgba(18, 24, 33, 0.82);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f4f7fb;
  --text-secondary: #aeb9c8;
  --accent: #73c5ff;
  --accent-strong: #4cb1ff;
  --accent-soft: rgba(115, 197, 255, 0.16);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
  --font-sans: "Avenir Next", "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  --font-ja: "Hiragino Sans", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(115, 197, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(83, 196, 180, 0.14), transparent 28%),
    linear-gradient(180deg, #09111a 0%, #05090d 100%);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body[data-locale="ja"] {
  font-family: var(--font-ja);
  line-break: strict;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 26px 0 56px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.topnav a:hover,
.topnav a.is-current,
.footer-links a:hover {
  color: var(--text-primary);
}

.locale-switcher {
  display: inline-flex;
  padding: 6px;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.locale-button {
  border: 0;
  padding: 10px 15px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.locale-button.is-active {
  background: var(--accent-soft);
  color: var(--text-primary);
}

.hero,
.split-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 440px);
  gap: 36px;
  align-items: center;
}

.hero {
  padding: 48px;
  min-height: 720px;
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius-xl) + 8px);
  background:
    linear-gradient(135deg, rgba(115, 197, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(18, 24, 33, 0.94), rgba(9, 13, 18, 0.92));
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(115, 197, 255, 0.12);
  color: #bfe6ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-locale="ja"] .eyebrow {
  letter-spacing: 0.02em;
}

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

h1 {
  max-width: 12ch;
  font-size: clamp(50px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

body[data-locale="ja"] h1 {
  max-width: 10ch;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.lede,
.section-copy p,
.info-card p,
.legal-section p,
.footer,
.meta-line {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.62;
}

body[data-locale="ja"] .lede,
body[data-locale="ja"] .section-copy p,
body[data-locale="ja"] .info-card p,
body[data-locale="ja"] .legal-section p,
body[data-locale="ja"] .footer,
body[data-locale="ja"] .meta-line {
  line-height: 1.8;
}

.hero-copy .lede {
  max-width: 34rem;
  margin-top: 20px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.signal-card {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.signal-card strong,
.step-kicker {
  display: block;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.signal-card span {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-link {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #071018;
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.device-hero {
  justify-self: end;
  width: min(100%, 400px);
}

.device-shot,
.screenshot-grid img {
  width: 100%;
  border-radius: 34px;
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.32);
}

.section-block {
  margin-top: 28px;
  padding: 38px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-head h2,
.section-copy h2,
.cta-block h2,
.legal-intro h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

body[data-locale="ja"] .section-head h2,
body[data-locale="ja"] .section-copy h2,
body[data-locale="ja"] .cta-block h2,
body[data-locale="ja"] .legal-intro h1 {
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.info-card h3,
.legal-section h2 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

body[data-locale="ja"] .info-card h3,
body[data-locale="ja"] .legal-section h2 {
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.compact {
  min-height: 100%;
}

.step-card {
  background:
    linear-gradient(180deg, rgba(115, 197, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.step-kicker {
  margin-bottom: 18px;
  color: #bfe6ff;
  font-size: 14px;
  letter-spacing: 0.12em;
}

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

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.28;
}

.cta-block {
  text-align: center;
}

.cta-block p {
  max-width: 720px;
  margin: 16px auto 0;
}

.cta-block .hero-actions {
  justify-content: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 6px 0;
}

.footer-links {
  display: inline-flex;
  gap: 18px;
}

.legal-shell .site-shell,
.legal-shell.site-shell {
  max-width: 980px;
}

.legal-layout {
  display: grid;
  gap: 18px;
}

.legal-intro {
  margin-top: 0;
}

.legal-section {
  padding: 28px 30px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
}

.contact-line {
  margin-top: 12px;
  font-weight: 700;
}

.contact-line a {
  color: #bfe6ff;
}

@media (max-width: 960px) {
  .topbar,
  .footer,
  .hero,
  .split-block {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer {
    display: grid;
    justify-items: start;
  }

  .topnav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: unset;
    padding: 34px 24px;
  }

  .device-hero {
    justify-self: start;
    width: min(100%, 340px);
  }

  .three-up,
  .two-up,
  .signal-row,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .section-block,
  .legal-section {
    padding: 26px 20px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--content-width));
    padding-top: 14px;
  }

  .topbar {
    padding: 14px;
    border-radius: 24px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .topnav {
    gap: 14px;
    font-size: 14px;
  }

  h1 {
    max-width: none;
    font-size: clamp(38px, 12vw, 58px);
  }

  .section-head h2,
  .section-copy h2,
  .cta-block h2,
  .legal-intro h1 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .lede,
  .section-copy p,
  .info-card p,
  .legal-section p,
  .footer,
  .meta-line {
    font-size: 16px;
  }
}
