:root {
  --ink: #17112f;
  --deep: #24184d;
  --night: #0f0b24;
  --muted: #6d6691;
  --paper: #f2f0ff;
  --panel: #ffffff;
  --lavender: #9ea0ef;
  --lavender-2: #c8c6ff;
  --purple: #6d55df;
  --yellow: #ffd84d;
  --pink: #ef6b9a;
  --sky: #88c8ff;
  --line: rgba(36, 24, 77, 0.14);
  --shadow: 0 24px 70px rgba(36, 24, 77, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 5vw, 76px);
  background: rgba(242, 240, 255, 0.82);
  border-bottom: 1px solid rgba(36, 24, 77, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--deep);
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(36, 24, 77, 0.25));
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: white;
  background: var(--night);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(15, 11, 36, 0.22);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 800px;
  padding: 124px clamp(24px, 6vw, 86px) 76px;
  background:
    linear-gradient(110deg, rgba(242, 240, 255, 1) 0%, rgba(229, 226, 255, 0.96) 48%, rgba(158, 160, 239, 0.86) 100%);
}

.creator-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 124px clamp(24px, 6vw, 86px) 76px;
  background: linear-gradient(110deg, #f2f0ff 0%, #e7e4ff 52%, #b8b6ff 100%);
}

.creator-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -20%;
  width: 72%;
  height: 44%;
  background: rgba(255, 216, 77, 0.34);
  transform: rotate(-14deg);
  border-radius: 48px;
}

.creator-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.creator-hero h1 {
  max-width: 700px;
}

.creator-visual {
  display: grid;
  place-items: center;
}

.creator-visual img {
  width: min(440px, 100%);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -20%;
  width: 70%;
  height: 44%;
  background: rgba(255, 216, 77, 0.34);
  transform: rotate(-14deg);
  border-radius: 48px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-copy-block {
  padding-top: 24px;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.rating-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(36, 24, 77, 0.12);
  border-radius: 12px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(44px, 5.2vw, 70px);
  line-height: 1.08;
  font-weight: 900;
}

h1 span {
  color: var(--purple);
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 900;
}

.button.primary {
  color: white;
  background: var(--night);
}

.button.secondary {
  color: var(--deep);
  background: white;
  border-color: var(--line);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.hero-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-note strong {
  font-size: 16px;
}

.hero-visual {
  position: relative;
  min-height: 630px;
}

.hero-app-screen {
  position: absolute;
  right: 36px;
  top: 8px;
  width: min(350px, 86%);
  border-radius: 30px;
  box-shadow: 0 34px 80px rgba(36, 24, 77, 0.24);
}

.creator-strip {
  display: grid;
  gap: 18px;
  padding: 34px 24px;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.creator-link {
  background: var(--paper);
}

.creator-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  background: linear-gradient(135deg, var(--night), #4936a5);
  border-radius: 28px;
  color: white;
  box-shadow: var(--shadow);
}

.creator-link-panel h2 {
  margin-bottom: 14px;
  color: white;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 900;
}

.creator-link-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
  font-weight: 600;
}

.creator-link-panel .eyebrow {
  color: var(--yellow);
}

.creator-link-panel .button.primary {
  white-space: nowrap;
  background: white;
  color: var(--deep);
}

.creator-strip p {
  margin: 0;
  color: var(--deep);
  font-size: 14px;
  font-weight: 900;
}

.creator-strip div {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.creator-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--deep);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.section {
  padding: 92px 24px;
}

.section-heading {
  width: min(860px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.copy-block h2,
.offer-card h2,
.entry h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 900;
}

.section-heading p:not(.eyebrow),
.copy-block p,
.offer-card p,
.entry p {
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
  font-weight: 600;
}

.stats {
  background: var(--paper);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.stat-grid article,
.feature-list article,
.flow-grid article,
.faq details,
.entry-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(36, 24, 77, 0.08);
}

.stat-grid article {
  min-height: 164px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.stat-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--purple);
  font-family: Inter, sans-serif;
  font-size: clamp(30px, 3.9vw, 46px);
  line-height: 1;
  font-weight: 900;
}

.stat-grid span {
  color: var(--deep);
  font-size: clamp(12px, 1.25vw, 14px);
  line-height: 1.7;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

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

.feature-list article {
  padding: 26px;
}

.feature-list article:nth-child(1) {
  background: #fff7d9;
}

.feature-list article:nth-child(2) {
  background: #f0efff;
}

.feature-list article:nth-child(3) {
  background: #f7edff;
}

.feature-list span,
.flow-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--purple);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-list h3,
.flow-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
}

.feature-list p,
.flow-grid p,
.mission-grid p,
.review-grid p,
.faq p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 600;
}

.mission-wall {
  background: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.mission-grid article {
  min-height: 188px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(36, 24, 77, 0.08);
}

.mission-grid article:nth-child(odd) {
  background: #f4f2ff;
}

.mission-grid article:nth-child(3n) {
  background: #fff7d9;
}

.mission-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--yellow);
  background: var(--deep);
  border-radius: 12px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.mission-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.creator-brief {
  background: #fff;
}

.brief-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 42px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.brief-number {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--yellow);
  background: var(--deep);
  border-radius: 22px;
  font-family: Inter, sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.brief-card h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
}

.brief-lead {
  margin-bottom: 18px;
  color: var(--deep);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 900;
}

.brief-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 700;
}

.brief-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 10px;
  background: var(--purple);
  border-radius: 50%;
}

.sleep {
  background: var(--paper);
}

.wake-check {
  background: #fff;
}

.wake-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: center;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  background: linear-gradient(135deg, var(--night), #4936a5);
  border-radius: 28px;
  color: white;
  box-shadow: var(--shadow);
}

.wake-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(29px, 4vw, 46px);
  line-height: 1.25;
  font-weight: 900;
}

.wake-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 2;
  font-weight: 600;
}

.wake-panel .eyebrow {
  color: var(--yellow);
}

.check-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
}

.check-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--yellow);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.check-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 900;
}

.check-progress {
  height: 12px;
  margin-top: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.check-progress i {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--yellow);
  border-radius: inherit;
}

.offer-card {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 58px);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 229, 255, 0.92));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.offer-card p {
  color: var(--muted);
}

.offer-card dl {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
}

.offer-card div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.offer-card dt {
  font-weight: 900;
}

.offer-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
}

.reviews {
  background: #fff;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.review-grid article {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(36, 24, 77, 0.08);
}

.review-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--yellow);
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(36, 24, 77, 0.3);
}

.review-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 900;
}

.flow {
  background: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.flow-grid article {
  padding: 26px;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(820px, 100%);
  margin: 0 auto;
}

.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

.faq p {
  padding: 0 22px 22px;
}

.entry {
  background: var(--night);
}

.entry-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 44px;
  align-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
  color: white;
}

.entry .eyebrow {
  color: var(--yellow);
}

.entry h2 {
  color: white;
}

.entry p {
  color: rgba(255, 255, 255, 0.78);
}

.entry-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.entry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.entry-form input,
.entry-form textarea {
  width: 100%;
  border: 1px solid rgba(36, 24, 77, 0.18);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfaff;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.entry-form input:focus,
.entry-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(109, 85, 223, 0.14);
}

.entry-form .button {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.footer a:first-of-type {
  margin-left: auto;
}

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

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }

  .brand {
    font-size: 24px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 92px 22px 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .creator-hero-inner,
  .creator-link-panel,
  .brief-card {
    grid-template-columns: 1fr;
  }

  .hero-copy-block {
    display: contents;
  }

  .hero .rating-row { order: 1; margin-bottom: 12px; }
  .hero .eyebrow    { order: 2; margin-bottom: 8px; }
  .hero h1          { order: 3; font-size: clamp(30px, 6.4vw, 40px); line-height: 1.15; margin-bottom: 14px; }
  .hero .hero-copy  { order: 4; font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
  .hero-visual      { order: 5; min-height: 0; margin: 4px auto 18px; display: grid; place-items: center; }
  .hero .hero-actions { order: 6; margin-bottom: 14px; }
  .hero .hero-note  { order: 7; }

  .hero-app-screen {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: min(220px, 56vw);
    transform: none;
    margin: 0 auto;
  }

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

  .wake-panel,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .entry-inner {
    grid-template-columns: 1fr;
    width: min(100%, calc(100% - 40px));
  }
}

@media (max-width: 640px) {
  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 12px;
  }

  .hero {
    padding: 84px 20px 44px;
  }

  .creator-hero {
    padding: 96px 20px 52px;
  }

  .creator-hero h1 {
    font-size: 36px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-app-screen {
    width: min(190px, 52vw);
  }

  .section {
    padding: 66px 20px;
  }

  .stat-grid,
  .flow-grid,
  .mission-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .offer-card div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
  }
}

/* Legal pages (terms / privacy) */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  color: #1c1d2b;
}

.legal h1 {
  font-size: clamp(28px, 4.4vw, 38px);
  margin: 0 0 8px;
  line-height: 1.3;
}

.legal .legal-meta {
  color: #6b6f80;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 36px;
}

.legal .legal-intro {
  background: #f4f4fb;
  border: 1px solid #e6e7f2;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 18px;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6e7f2;
}

.legal h3 {
  font-size: 15px;
  margin: 24px 0 10px;
  color: #2a2d3e;
}

.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.9;
  color: #2a2d3e;
}

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

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

.legal .legal-info {
  background: #f9f9fc;
  border: 1px solid #ececf5;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.9;
}

.legal .legal-back {
  display: inline-block;
  margin-top: 40px;
  color: var(--accent, #5350ff);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.legal .legal-back:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .legal {
    padding: 96px 20px 60px;
  }
}
