/*
 * mirumiru — Landing page styles
 * Layered on top of legal.css (shares :root tokens, .topbar, .foot).
 * Same editorial "ink & paper" register as the rest of the site.
 */

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ───────────────────────────────────────────────── */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 13vw, 132px) 0 clamp(56px, 9vw, 104px);
}
.home-hero__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.home-hero__kicker {
  font-family: var(--poppins);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--fg3);
  margin: 0 0 26px;
}
.home-hero__title {
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(28px, 6.4vw, 64px);
  line-height: 1.38;
  letter-spacing: 0.04em;
  margin: 0;
  max-width: 18em;
}
.home-hero__title b {
  font-weight: 600;
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
}
.home-hero__sub {
  margin: 30px 0 0;
  font-size: clamp(14px, 2.6vw, 17px);
  line-height: 1.9;
  color: var(--fg2);
  max-width: 30em;
}
.home-hero__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--jp);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.12s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.btn--ink {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--ink:hover {
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
}

/* Oversized ultra-thin "26" — the finite-counter motif from the app. */
.home-hero__numeral {
  position: absolute;
  right: -2vw;
  bottom: -4vw;
  z-index: 0;
  font-family: var(--poppins);
  font-weight: 100;
  font-size: clamp(220px, 40vw, 460px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

/* ── Generic section heading ────────────────────────────── */
.block {
  padding: clamp(56px, 9vw, 104px) 0;
}
.block--paper {
  background: var(--paper);
}
.block--card {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.block__kicker {
  font-family: var(--poppins);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--fg3);
  margin: 0 0 16px;
}
.block__title {
  font-family: var(--jp);
  font-weight: 600;
  font-size: clamp(22px, 4.4vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin: 0;
}
.block__title-en {
  font-family: var(--poppins);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.block__lead {
  margin: 22px 0 0;
  max-width: 36em;
  color: var(--fg2);
  font-size: 15px;
  line-height: 1.95;
}

/* ── Concept / quote ────────────────────────────────────── */
.concept {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.concept__quote {
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(20px, 3.8vw, 30px);
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin: 0;
}
.concept__body {
  margin: 30px auto 0;
  max-width: 30em;
  color: var(--fg2);
  font-size: 15px;
  line-height: 2;
}

/* ── Value cards ────────────────────────────────────────── */
.cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
}
.block--card .vcard {
  background: var(--paper);
}
.vcard__no {
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg3);
}
.vcard__title {
  font-family: var(--jp);
  font-weight: 600;
  font-size: 18px;
  margin: 14px 0 12px;
}
.vcard__title .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.vcard__body {
  color: var(--fg2);
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

/* ── Flow steps ─────────────────────────────────────────── */
.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.step {
  position: relative;
}
.step__no {
  font-family: var(--poppins);
  font-weight: 100;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.step__title {
  font-family: var(--jp);
  font-weight: 600;
  font-size: 15px;
  margin: 14px 0 8px;
}
.step__body {
  color: var(--fg2);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* ── Feature list ───────────────────────────────────────── */
.features {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
}
.feature {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
}
.feature__mark {
  flex: 0 0 auto;
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 4px 10px;
  height: fit-content;
}
.feature__title {
  font-family: var(--jp);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
}
.feature__body {
  color: var(--fg2);
  font-size: 13.5px;
  line-height: 1.85;
  margin: 0;
}

/* ── Audience chips ─────────────────────────────────────── */
.audience {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--card);
}
.block--card .chip {
  background: var(--paper);
}

/* ── Closing CTA ────────────────────────────────────────── */
.closer {
  text-align: center;
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 11vw, 120px) 24px;
}
.closer__title {
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(22px, 4.6vw, 38px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin: 0 auto;
  max-width: 20em;
}
.closer__title b {
  font-weight: 600;
}
.closer__cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.closer .btn--ink {
  background: #fff;
  color: var(--ink);
}
.closer .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.closer .btn--ghost:hover {
  border-color: #fff;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 880px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
