/* Mochi LP — page styles (loaded after style.css) */

/* ============ Device frames (static mock screens) ============ */
.dev {
  position: relative;
  flex-shrink: 0;
  padding: var(--bz);
  border-radius: calc(var(--r) + var(--bz));
  background: linear-gradient(145deg, #4a4d55 0%, #1b1c20 38%, #0b0c0e 62%, #3a3d44 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 3px #0b0c0e,
    0 2px 6px rgba(15, 17, 21, 0.08),
    0 40px 90px rgba(15, 17, 21, 0.28);
}
.dev-btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #5b5e66, #2a2c31);
}
.dev-btn.l1 {
  left: -3px;
  top: 18%;
  height: 6%;
}
.dev-btn.l2 {
  left: -3px;
  top: 27%;
  height: 10%;
}
.dev-btn.l3 {
  left: -3px;
  top: 39%;
  height: 10%;
}
.dev-btn.r1 {
  right: -3px;
  top: 30%;
  height: 14%;
}
.dev-screen {
  position: relative;
  width: var(--w);
  height: var(--h);
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
}
.dev-ui {
  position: absolute;
  left: 0;
  top: 0;
  width: 390px;
  height: 844px;
  transform: scale(var(--k));
  transform-origin: 0 0;
  pointer-events: none;
}
.dev-island {
  position: absolute;
  left: 50%;
  top: calc(var(--k) * 11px);
  transform: translateX(-50%);
  width: calc(var(--k) * 120px);
  height: calc(var(--k) * 34px);
  border-radius: 999px;
  background: #000;
}
.dev-gloss {
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}
.dev--50 {
  --k: 0.5;
  --w: 195px;
  --h: 422px;
  --r: 22px;
  --bz: 7px;
}
.dev--58 {
  --k: 0.58;
  --w: 226px;
  --h: 490px;
  --r: 26px;
  --bz: 8px;
}
.dev--62 {
  --k: 0.62;
  --w: 242px;
  --h: 523px;
  --r: 27px;
  --bz: 9px;
}

/* app UI inside the frames (390 x 844 canvas) */
.sh .phone {
  width: 390px;
  height: 844px;
  border-radius: 44px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sh .muted {
  color: #5c6270;
}
.sh .ib {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.sh .ring {
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
  background: var(--teal);
}
.sh .av {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: #e4e6eb;
}
.sh .tabs {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 6px 8px 26px;
}
.sh .tab,
.sh .tabon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  min-height: 48px;
  color: #5c6270;
}
.sh .tabon {
  font-weight: 700;
  color: var(--ink);
}
.sh .me {
  align-self: flex-end;
  max-width: 76%;
  background: var(--teal);
  color: var(--teal-deep);
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 15px;
  line-height: 1.55;
}
.sh .her {
  max-width: 76%;
  background: #f2f3f5;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 15px;
  line-height: 1.55;
}
.sh .ts {
  font-size: 11px;
  color: #5c6270;
}
.sh p {
  margin: 0;
}

.sc .phone {
  width: 390px;
  height: 844px;
  border-radius: 44px;
  background: #111214;
  color: #f2f3f5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sc .ring {
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
  background: var(--teal);
}
.sc .av {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #111214;
  display: block;
  object-fit: cover;
  background: #2c2e33;
}
.sc .rb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc .ctl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dark-soft);
}
.sc .cb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: #1f2024;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc .pill {
  background: #1f2024;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}
.sc p {
  margin: 0;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 8px 0 0;
}
.hero-logo {
  margin: 0;
  text-align: center;
  font-size: clamp(120px, 24vw, 340px);
  color: var(--ink);
  letter-spacing: -0.02em;
  user-select: none;
  line-height: 1;
}
.hero-phones {
  position: relative;
  margin-top: clamp(-170px, -11vw, -80px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px;
}
.hero-phones .dev-side-l {
  transform: rotate(-7deg) translate(40px, 70px);
  z-index: 1;
}
.hero-phones .dev-center {
  z-index: 3;
  box-shadow:
    0 2px 6px rgba(15, 17, 21, 0.08),
    0 50px 100px rgba(11, 127, 113, 0.35);
}
.hero-phones .dev-side-r {
  transform: rotate(7deg) translate(-40px, 70px);
  z-index: 2;
}
.hero-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px var(--gutter) 112px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.hero-bottom h1 {
  margin: 0;
  font-family: var(--font-jp);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.hero-cta p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-cta .age-note {
  font-size: 12px;
  line-height: 1.7;
  max-width: 30em;
}
.badge {
  display: inline-flex;
  transition: transform 0.2s var(--ease-out);
}
.badge:hover {
  transform: translateY(-3px);
}
.badge img {
  display: block;
  height: 52px;
  width: auto;
}

/* ============ Voices ============ */
.voices {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-title {
  margin: 0;
  font-family: var(--font-jp);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.section-aside {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.voice-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.voice-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 0 rgba(15, 17, 21, 0.05);
}
.voice-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.voice-who .ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 2px;
  background: var(--teal);
  flex-shrink: 0;
}
.voice-who img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  display: block;
}
.voice-name {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}
.voice-tone {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}
.voice-quote {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.voice-wave {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.voice-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
  overflow: hidden;
}
.wave i {
  width: 3px;
  border-radius: 2px;
  background: var(--ink);
  flex-shrink: 0;
}
.wave i.off {
  background: #c9cdd5;
}
.voice-len {
  font-size: 12px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* ============ Moments ============ */
.moments {
  background: var(--surface);
  border-radius: 48px 48px 0 0;
}
.moments-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.moments-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.moment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 8vw, 120px);
}
.moment-text {
  flex: 1;
  min-width: 260px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.moment-num {
  font-family: var(--font-body);
  font-size: 120px;
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.moment-title {
  margin: 0;
  font-family: var(--font-jp);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.moment-visual {
  position: relative;
  flex-shrink: 0;
  width: 380px;
  max-width: 100%;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.moment-visual .disc {
  position: absolute;
  width: 340px;
  max-width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--teal);
  top: 40px;
}
.moment-visual .ring-o {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  bottom: 40px;
}
.moment-visual.right .disc {
  right: -10px;
}
.moment-visual.right .ring-o {
  left: 10px;
}
.moment-visual.left .disc {
  left: -10px;
}
.moment-visual.left .ring-o {
  right: 10px;
}
.moment-visual .dev {
  z-index: 1;
}

/* ============ Plans ============ */
.plans {
  background: var(--surface);
  padding: 0 0 120px;
}
.plans-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.plan {
  background: var(--bg);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan.main {
  background: var(--ink);
  color: #fff;
}
.plan-name {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--teal-ink);
}
.plan.main .plan-name {
  color: var(--teal);
}
.plan-price {
  margin: 0;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.plan-price small {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.7;
}
.plan ul {
  margin: 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.7;
}
.plan-badge {
  align-self: flex-start;
  background: var(--teal);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
}
.plans-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.plans-note a {
  color: var(--teal-ink);
}

/* ============ CTA ============ */
.cta {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  max-width: 100vw;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.14;
  filter: blur(80px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.cta-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.cta .eyebrow {
  color: var(--teal);
}
.cta h2 {
  margin: 0;
  font-family: var(--font-jp);
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.cta-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--dark-soft);
  max-width: 36em;
}

@media (max-width: 720px) {
  .hero-phones .dev-side-l,
  .hero-phones .dev-side-r {
    display: none;
  }
  .hero-logo {
    font-size: clamp(96px, 30vw, 160px);
  }
  .hero-phones {
    margin-top: -28px;
  }
  .hero-bottom {
    padding-top: 48px;
    padding-bottom: 72px;
  }
  .voices {
    padding-bottom: 72px;
  }
  .moments-inner {
    padding-top: 72px;
    padding-bottom: 72px;
    gap: 72px;
  }
  .moments {
    border-radius: 32px 32px 0 0;
  }
  .moment-visual {
    height: 520px;
  }
  .moment-text {
    order: -1;
    max-width: 100%;
  }
  .moment-num {
    font-size: 88px;
  }
  .plans {
    padding-bottom: 72px;
  }
  .cta-inner {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}
