@font-face {
  font-family: "NotoSansJP";
  src: url("/assets/fonts/NotoSansJP-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSansJP";
  src: url("/assets/fonts/NotoSansJP-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSansJP";
  src: url("/assets/fonts/NotoSansJP-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #242329;
  --muted: #65616d;
  --subtle: #f7f4fb;
  --line: #e4ddec;
  --purple: #5e35b1;
  --purple-deep: #43208e;
  --blue: #2f86ff;
  --cyan: #19b9e9;
  --paper: #ffffff;
  --warm: #ffedc7;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "NotoSansJP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 8px clamp(16px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(94, 53, 177, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 48px;
  height: 48px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.button-primary {
  color: #fff;
  background: var(--purple);
}

.button-primary:hover {
  background: var(--purple-deep);
}

.button-ghost {
  color: var(--purple);
  background: #fff;
  border-color: var(--purple);
}

.button-ghost:hover {
  background: #f3eefb;
}

.button-disabled {
  color: #fff;
  background: #3b3940;
  cursor: not-allowed;
}

.hero {
  padding: 38px 0 22px;
  text-align: center;
  overflow: hidden;
}

.hero-copy {
  width: min(92vw, 760px);
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.15;
  font-weight: 700;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 500;
}

.hero-scene {
  width: min(100%, 1440px);
  height: auto;
  aspect-ratio: 1800 / 542;
  object-fit: contain;
  margin: 22px auto 0;
}

.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.store-badges a {
  display: block;
  width: 140px;
  height: 48px;
}

.store-badges img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pre-register {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 14px 16px;
  color: #fff;
  background: var(--blue);
  text-align: center;
}

.pre-register p {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

.pre-register a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  color: var(--blue);
  background: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.section h2,
.page-hero h1,
.download-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  text-align: center;
}

.feature-list {
  margin-top: 56px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  margin-bottom: 76px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row-reverse .feature-media {
  order: 2;
}

.feature-media img {
  width: min(100%, 600px);
  height: auto;
  margin: 0 auto;
}

.feature-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.capabilities-section {
  padding-top: 36px;
}

.phones-wrap {
  width: min(420px, 80vw);
  margin: 0 auto 28px;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 48px auto 0;
  list-style: none;
}

.capability {
  display: flex;
  align-items: center;
  min-height: 118px;
  gap: 18px;
  padding: 22px;
  background: #f0ecf7;
  border: 1px solid #eee8f8;
  border-radius: 8px;
  font-weight: 700;
}

.capability-icon {
  display: grid;
  flex: none;
  width: 70px;
  height: 70px;
  place-items: center;
  background: #fff;
  border-radius: 50%;
}

.capability-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.voices-section {
  width: 100%;
  max-width: none;
  padding: 76px max(16px, calc((100vw - var(--max)) / 2)) 0;
  background: var(--subtle);
}

.voices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: min(var(--max), 100%);
  padding: 0;
  margin: 48px auto 44px;
  list-style: none;
}

.voice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 24px;
  text-align: center;
  background: #fff;
  border: 2px solid #8f899a;
  border-radius: 50%;
}

.voice-card blockquote {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.voice-card cite {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.students {
  display: block;
  width: min(520px, 88vw);
  height: auto;
  aspect-ratio: 600 / 296;
  margin: 0 auto;
}

.download-cta {
  color: #fff;
  background: var(--purple);
}

.download-cta .inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  text-align: center;
}

.download-cta p {
  margin: 10px 0 0;
  opacity: 0.9;
}

.site-footer {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.footer-heading {
  margin: 0 0 12px;
  font-weight: 700;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--purple);
}

.copyright {
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.simple-page main {
  min-height: 58vh;
}

.page-hero {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 56px;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero p:not(.eyebrow) {
  margin: 0 auto;
  color: var(--muted);
}

.page-button {
  margin-top: 28px;
}

.contact-panel {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto 96px;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-grid {
  display: grid;
  gap: 22px;
}

.contact-form label,
.form-grid label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form em {
  color: var(--accent);
  font-style: normal;
}

.contact-form input,
.contact-form textarea,
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 2px solid #2f2b37;
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--muted);
  background: #f8f8f8;
  font: inherit;
}

.contact-form textarea,
.form-grid textarea {
  min-height: 180px;
  resize: vertical;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.form-status[data-state="success"] {
  color: #146c43;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.contact-panel .button {
  width: min(260px, 100%);
  margin: 28px auto 0;
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.legal-title {
  padding-bottom: 24px;
}

.legal-content {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto 96px;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: 22px;
  line-height: 1.6;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 18px;
  color: #3b3744;
  font-size: 15px;
  line-height: 2;
}

.legal-note {
  font-weight: 700;
}

.mobile-only {
  display: none;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 58px;
    padding: 8px 14px;
  }

  .brand,
  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav-actions {
    gap: 8px;
  }

  .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-copy p {
    line-height: 1.75;
  }

  .store-badges a {
    width: 126px;
    height: 44px;
  }

  .pre-register {
    flex-direction: column;
    gap: 10px;
  }

  .mobile-only {
    display: block;
  }

  .section {
    padding: 58px 0;
  }

  .feature-list {
    margin-top: 38px;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 58px;
  }

  .feature-row-reverse .feature-media {
    order: 0;
  }

  .feature-copy {
    text-align: left;
  }

  .capabilities {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .voices {
    grid-template-columns: 1fr;
    width: min(260px, 100%);
  }

  .voice-card {
    min-height: 220px;
  }

  .footer-grid {
    gap: 30px;
  }

  .page-hero {
    padding-top: 84px;
  }

  .legal-content {
    padding: 24px 18px;
  }
}

@media (max-width: 460px) {
  .nav-actions .button-ghost {
    display: none;
  }

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

  .hero-scene {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .store-badges {
    gap: 8px;
  }

  .store-badges a {
    width: 112px;
    height: 40px;
  }

  .capability {
    min-height: 102px;
    padding: 18px;
  }

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