:root {
  color-scheme: light;
  --brand-50: #eef6ff;
  --brand-100: #d9ecff;
  --brand-500: #2f8fff;
  --brand-600: #1473e6;
  --brand-800: #083f86;
  --brand-900: #052b5c;
  --neutral-0: #ffffff;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --neutral-950: #020617;
  --mint: #4fd1b8;
  --violet: #8b5cf6;
  --coral: #ff6b6b;
  --amber: #f6b73c;
  --success: #16a34a;
  --danger: #dc2626;
  --page: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --faint: #94a3b8;
  --border: #e2e8f0;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-2: 0 12px 32px rgba(15, 23, 42, 0.14);
  --radius-card: 18px;
  --radius-control: 14px;
  --safe-x: 20px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(20, 115, 230, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--neutral-950);
  color: var(--neutral-0);
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 232, 240, 0.78);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.2);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--max));
  min-height: 68px;
  margin: 0 auto;
  padding: 10px var(--safe-x);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--neutral-900);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-link img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: var(--shadow-1);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.nav-links a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--neutral-100);
  color: var(--neutral-950);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 78svh;
  overflow: hidden;
  background: var(--neutral-900);
  color: var(--neutral-0);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero::before {
  background-image: url("./concept.png");
  background-position: center 38%;
  background-size: cover;
  transform: scale(1.02);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.58) 42%, rgba(2, 6, 23, 0.2) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.62) 0%, rgba(2, 6, 23, 0.08) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 84px var(--safe-x) 72px;
}

.hero-copy {
  max-width: 640px;
  text-shadow: 0 2px 18px rgba(2, 6, 23, 0.48);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  padding: 4px 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 22px 0 0;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  margin: 16px 0 0;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 800;
}

.hero-description {
  max-width: 590px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--brand-600);
  color: var(--neutral-0);
  box-shadow: 0 14px 28px rgba(20, 115, 230, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: var(--neutral-0);
}

.button.light {
  border-color: var(--border);
  background: var(--surface);
  color: var(--neutral-900);
}

.store-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.store-note span {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.22);
  padding: 6px 10px;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 72px var(--safe-x);
}

.section.compact {
  padding-top: 40px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: 0;
}

p {
  margin: 12px 0 0;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow-1);
}

.card strong {
  color: var(--neutral-950);
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.metric-value {
  color: var(--brand-600);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--brand-50);
  color: var(--brand-700, #0c58b8);
  font-size: 22px;
  font-weight: 900;
}

.icon-mark.mint {
  background: rgba(79, 209, 184, 0.16);
  color: #0f766e;
}

.icon-mark.amber {
  background: rgba(246, 183, 60, 0.18);
  color: #92400e;
}

.icon-mark.coral {
  background: rgba(255, 107, 107, 0.14);
  color: #b91c1c;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  counter-increment: flow;
  position: relative;
}

.flow-list li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--neutral-900);
  color: var(--neutral-0);
  font-size: 13px;
  font-weight: 900;
  content: counter(flow);
}

.privacy-band {
  background: var(--neutral-950);
  color: var(--neutral-0);
}

.privacy-band .section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.privacy-band .section-kicker {
  color: var(--mint);
}

.privacy-band .muted {
  color: rgba(248, 250, 252, 0.72);
}

.privacy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.platform-card {
  display: grid;
  gap: 16px;
}

.platform-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-title img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  border-radius: 999px;
  background: var(--neutral-100);
  padding: 7px 10px;
  color: var(--neutral-700);
  font-size: 13px;
  font-weight: 750;
}

.screenshots-section {
  padding-top: 40px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screenshot-item {
  margin: 0;
}

.phone-frame {
  overflow: hidden;
  border: 1px solid var(--neutral-300);
  border-radius: 28px;
  background: var(--neutral-950);
  padding: 8px;
  box-shadow: var(--shadow-2);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 21px;
}

.screenshot-item figcaption {
  margin-top: 12px;
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

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

details {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 0;
  box-shadow: var(--shadow-1);
}

summary {
  cursor: pointer;
  min-height: 56px;
  padding: 16px 18px;
  color: var(--neutral-900);
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px var(--safe-x);
  color: var(--neutral-600);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-hero {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.legal-hero .section {
  padding-top: 56px;
  padding-bottom: 44px;
}

.legal-hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 10px;
  box-shadow: var(--shadow-1);
}

.legal-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-radius: 12px;
  padding: 0 12px;
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.legal-nav a:hover {
  background: var(--neutral-100);
  color: var(--neutral-950);
}

.legal-document {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 36px;
  box-shadow: var(--shadow-1);
}

.legal-document section + section {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.legal-document h2 {
  font-size: 24px;
}

.legal-document ul,
.legal-document ol {
  margin: 14px 0 0;
  padding-left: 1.35em;
}

.legal-document li + li {
  margin-top: 8px;
}

.notice {
  border-left: 4px solid var(--brand-600);
  border-radius: 0 14px 14px 0;
  background: var(--brand-50);
  padding: 14px 16px;
  color: var(--neutral-800);
}

.legal-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.mobile-break {
  display: none;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@media (max-width: 900px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero::before {
    background-position: 58% 40%;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .grid.three,
  .grid.two,
  .screenshots-grid,
  .flow-list,
  .privacy-band .section,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

  .legal-nav {
    position: static;
  }
}

@media (max-width: 560px) {
  :root {
    --safe-x: 16px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    position: static;
  }

  .brand-link {
    font-size: 17px;
  }

  .nav-links a {
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background-position: 64% 35%;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.7) 52%, rgba(2, 6, 23, 0.48) 100%),
      linear-gradient(0deg, rgba(2, 6, 23, 0.78) 0%, rgba(2, 6, 23, 0.2) 54%);
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .screenshots-section {
    padding-top: 48px;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 300px;
    margin: 0 auto;
  }

  .button {
    width: 100%;
  }

  .store-note {
    display: grid;
    justify-items: start;
  }

  .store-note span {
    max-width: 100%;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero h1 {
    font-size: 32px;
  }

  .mobile-break {
    display: block;
  }

  .legal-document {
    padding: 22px;
  }
}
