:root {
  color-scheme: light;
  --ink: #24202b;
  --muted: #6f6977;
  --paper: #f8f5fc;
  --surface: rgba(255, 255, 255, 0.78);
  --line: rgba(64, 48, 76, 0.12);
  --purple: #7c4dff;
  --purple-dark: #5531be;
  --pink: #e95f9f;
  --shadow: 0 24px 70px rgba(67, 43, 87, 0.15);
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf9fd 0%, #f7f3fb 42%, #fbf9fd 100%);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(rgba(71, 49, 83, 0.09) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.24;
  content: "";
  pointer-events: none;
}

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

img,
svg {
  display: block;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.page-glow {
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.42;
  pointer-events: none;
}

.page-glow--one {
  top: -160px;
  right: -130px;
  background: radial-gradient(circle, rgba(221, 184, 255, 0.7), transparent 70%);
}

.page-glow--two {
  top: 800px;
  left: -260px;
  background: radial-gradient(circle, rgba(255, 196, 223, 0.55), transparent 70%);
}

.light-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.light-button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: 56px 0 42px;
  align-content: center;
  grid-template-columns: 1fr;
}

.hero-orb {
  position: absolute;
  z-index: -1;
  top: 21%;
  right: 6%;
  left: auto;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(124, 77, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(223, 202, 250, 0.24) 45%, transparent 70%);
}

.hero-orb::before,
.hero-orb::after {
  position: absolute;
  border: 1px solid rgba(124, 77, 255, 0.1);
  border-radius: inherit;
  content: "";
}

.hero-orb::before {
  inset: 34px;
}

.hero-orb::after {
  inset: 72px;
}

.eyebrow {
  display: flex;
  margin: 0 0 22px;
  align-items: center;
  gap: 11px;
  color: var(--purple-dark);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow > span {
  width: 31px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.hero h1,
.section-heading h2,
.feature-copy h2,
.app-cta h2,
.youtube-copy h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 960px;
  font-size: clamp(2.85rem, 5.6vw, 5.65rem);
  line-height: 1.15;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(105deg, #2d2733 6%, var(--purple) 52%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 2;
}

.text-link {
  position: relative;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-notes {
  display: grid;
  align-self: center;
  gap: 18px;
}

.mini-card {
  display: flex;
  min-height: 136px;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease;
}

.mini-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
}

.mini-card--story {
  margin-left: 38px;
}

.mini-card-icon {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: var(--purple-dark);
  background: #eee7ff;
  font-size: 1.6rem;
}

.mini-card--story .mini-card-icon {
  color: #9e376b;
  background: #ffe7f1;
}

.mini-card div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mini-card small {
  color: var(--muted);
  font-size: 0.75rem;
}

.mini-card strong {
  font-size: 1rem;
  line-height: 1.5;
}

.scroll-hint {
  position: absolute;
  bottom: 31px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.scroll-hint i {
  position: relative;
  display: block;
  width: 56px;
  height: 1px;
  overflow: hidden;
  background: rgba(70, 61, 77, 0.2);
}

.scroll-hint i::after {
  position: absolute;
  inset: 0;
  background: var(--purple);
  content: "";
  transform: translateX(-100%);
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  50%,
  100% {
    transform: translateX(100%);
  }
}

.features {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: 0 0 96px;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 90px;
}

.section-heading h2 {
  font-size: clamp(2.35rem, 4.7vw, 4.4rem);
  line-height: 1.25;
}

.feature {
  display: grid;
  min-height: 620px;
  align-items: center;
  grid-template-columns: minmax(330px, 0.85fr) minmax(420px, 1fr);
  gap: clamp(52px, 8vw, 108px);
}

.feature + .feature {
  margin-top: 72px;
}

.feature--story {
  grid-template-columns: minmax(420px, 1fr) minmax(330px, 0.85fr);
}

.feature-visual {
  position: relative;
  display: flex;
  min-height: 570px;
  align-items: center;
  justify-content: center;
}

.phone-halo {
  position: absolute;
  width: min(100%, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 177, 255, 0.44), rgba(232, 216, 255, 0.16) 46%, transparent 70%);
}

.phone-halo::before,
.phone-halo::after {
  position: absolute;
  border: 1px solid rgba(124, 77, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.phone-halo::before {
  inset: 8%;
}

.phone-halo::after {
  inset: 20%;
}

.phone-halo--warm {
  background: radial-gradient(circle, rgba(255, 202, 158, 0.4), rgba(255, 229, 194, 0.12) 48%, transparent 70%);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(72vw, 330px);
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 32px 80px rgba(52, 36, 61, 0.22), inset 0 0 0 1px rgba(60, 48, 70, 0.09);
  transform: rotate(-2.5deg);
  transition: transform 350ms ease, box-shadow 350ms ease;
}

.feature--story .phone-frame {
  transform: rotate(2.5deg);
}

.feature-visual:hover .phone-frame {
  box-shadow: 0 38px 88px rgba(52, 36, 61, 0.28);
  transform: rotate(-1deg) translateY(-8px);
}

.feature--story .feature-visual:hover .phone-frame {
  transform: rotate(1deg) translateY(-8px);
}

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

.image-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 48px;
  display: flex;
  margin: 0;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.image-caption span {
  color: var(--purple);
  font-size: 1.2rem;
}

.feature-copy {
  max-width: 530px;
}

.feature-copy h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
  line-height: 1.28;
}

.feature-copy > p {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2.15;
}

.feature-point {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.feature-point > span {
  display: grid;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px;
  color: var(--purple);
  background: #eee7ff;
}

.feature-point p {
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 6px;
}

.feature-point strong {
  font-size: 0.92rem;
}

.feature-point small {
  color: var(--muted);
  font-size: 0.77rem;
}

.app-cta {
  display: grid;
  width: min(calc(100% - 48px), var(--page-width));
  min-height: 400px;
  margin: 0 auto 44px;
  align-items: center;
  grid-template-areas:
    "copy screens"
    "action screens";
  grid-template-columns: minmax(0, 1fr) clamp(260px, 27vw, 340px);
  column-gap: 48px;
  padding: clamp(38px, 4.5vw, 60px);
  overflow: hidden;
  border-radius: 46px;
  color: #fff;
  background: radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.2), transparent 24%), linear-gradient(120deg, #2e213b, #5534a6 58%, #8e4ed1);
  box-shadow: 0 28px 80px rgba(73, 43, 108, 0.22);
}

.app-cta-copy {
  position: relative;
  z-index: 2;
  grid-area: copy;
  max-width: 590px;
  align-self: end;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow--light > span {
  background: rgba(255, 255, 255, 0.8);
}

.app-cta h2 {
  font-size: clamp(2rem, 3.9vw, 3.7rem);
  line-height: 1.3;
}

.app-cta p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.app-cta > .light-button {
  position: relative;
  grid-area: action;
  margin-top: 28px;
  align-self: start;
  justify-self: start;
  isolation: isolate;
  animation: cta-button-glow 2s ease-in-out infinite;
}

.app-cta > .light-button::before {
  position: absolute;
  z-index: -1;
  inset: -5px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  content: "";
  pointer-events: none;
  animation: cta-button-ring 2s ease-out infinite;
}

.app-cta-screens {
  position: relative;
  grid-area: screens;
  width: 100%;
  height: 330px;
  align-self: flex-end;
}

.app-cta-phone {
  position: absolute;
  width: clamp(148px, 13vw, 172px);
  margin: 0;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 52px rgba(26, 15, 46, 0.3);
}

.app-cta-phone--talk {
  bottom: -50px;
  left: 2%;
  transform: rotate(-4deg);
}

.app-cta-phone--story {
  right: 2%;
  bottom: -30px;
  transform: rotate(4deg);
}

.app-cta-phone img {
  width: 100%;
  height: auto;
  border-radius: 19px;
}

.light-button {
  flex: 0 0 auto;
  min-height: 62px;
  padding: 0 25px;
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 14px 30px rgba(30, 18, 45, 0.2);
  font-size: 0.9rem;
}

.light-button span {
  font-size: 1.1rem;
  animation: cta-button-arrow 2s ease-in-out infinite;
}

@keyframes cta-button-glow {
  0%,
  34%,
  100% {
    box-shadow: 0 14px 30px rgba(30, 18, 45, 0.2);
  }

  52% {
    box-shadow: 0 20px 42px rgba(30, 18, 45, 0.34), 0 0 0 9px rgba(255, 255, 255, 0.2);
  }
}

@keyframes cta-button-ring {
  0%,
  34% {
    opacity: 0;
    transform: scale(0.99);
  }

  48% {
    opacity: 0.88;
  }

  72%,
  100% {
    opacity: 0;
    transform: scale(1.09);
  }
}

@keyframes cta-button-arrow {
  0%,
  44%,
  72%,
  100% {
    transform: translateX(0);
  }

  54%,
  66% {
    transform: translateX(7px);
  }
}

.youtube-section {
  display: grid;
  width: min(calc(100% - 48px), var(--page-width));
  min-height: 560px;
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(460px, 0.9fr) minmax(500px, 1.1fr);
  gap: 40px;
}

.youtube-copy {
  position: relative;
  z-index: 2;
}

.youtube-copy h2 {
  font-size: clamp(2.6rem, 3.8vw, 3.8rem);
  line-height: 1.25;
}

.youtube-copy h2 > span {
  display: block;
  white-space: nowrap;
}

.youtube-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.pointing-note {
  display: inline-flex;
  margin-top: 30px;
  align-items: center;
  gap: 10px;
  color: var(--purple-dark);
  font-size: 0.79rem;
  font-weight: 800;
}

.pointing-note b {
  font-size: 1.2rem;
}

.character-stage {
  position: relative;
  min-height: 560px;
}

.character-stage::before {
  position: absolute;
  z-index: -1;
  right: 1%;
  bottom: 4%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 54%, rgba(228, 211, 255, 0.58), rgba(255, 226, 239, 0.22) 52%, transparent 70%);
  content: "";
}

.pointing-character {
  position: absolute;
  right: -3%;
  bottom: 0;
  width: min(100%, 650px);
  filter: drop-shadow(0 26px 24px rgba(72, 51, 84, 0.16));
}

.youtube-icon {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 8px;
  display: flex;
  width: 126px;
  height: 126px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  border: 1px solid rgba(255, 0, 51, 0.1);
  border-radius: 50%;
  color: #ff0033;
  background: #fff;
  box-shadow: 0 18px 42px rgba(255, 0, 51, 0.27);
  transform: rotate(4deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.youtube-icon::after {
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(255, 0, 51, 0.28);
  border-radius: 50%;
  content: "";
  animation: youtube-ring 18s linear infinite;
}

.youtube-icon:hover {
  box-shadow: 0 23px 52px rgba(255, 0, 51, 0.37);
  transform: rotate(0) scale(1.06);
}

.youtube-icon svg {
  width: 58px;
}

.youtube-icon .youtube-logo-body {
  fill: #ff0033;
}

.youtube-icon .youtube-play {
  fill: #fff;
}

.youtube-icon > span {
  font-family: "Inter", sans-serif;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

@keyframes youtube-ring {
  to {
    transform: rotate(360deg);
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    padding-top: 52px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .feature,
  .feature--story {
    min-height: auto;
    grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1fr);
    gap: 60px;
  }

  .feature--story {
    grid-template-columns: minmax(340px, 1fr) minmax(280px, 0.8fr);
  }

  .feature-visual {
    min-height: 540px;
  }

  .phone-frame {
    width: min(34vw, 300px);
  }

  .youtube-section {
    grid-template-columns: minmax(410px, 0.9fr) minmax(430px, 1.1fr);
  }

  .character-stage {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .page-glow {
    width: 260px;
    height: 260px;
  }

  .page-glow--one {
    right: 0;
  }

  .page-glow--two {
    left: 0;
  }

  .hero,
  .features,
  .app-cta,
  .youtube-section {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .hero {
    padding: 36px 0 34px;
  }

  .hero-orb {
    top: 18%;
    right: 0;
    left: auto;
    width: 300px;
    height: 300px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
    line-height: 1.2;
  }

  .desktop-break {
    display: none;
  }

  .features {
    padding: 0 0 76px;
  }

  .feature,
  .feature--story {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .feature + .feature {
    margin-top: 72px;
  }

  .feature-copy {
    order: -1;
    max-width: none;
  }

  .feature--story .feature-copy {
    order: 1;
  }

  .feature--story .feature-visual {
    order: 2;
  }

  .feature-visual {
    width: 100%;
    min-height: 520px;
  }

  .phone-frame {
    width: min(70vw, 310px);
  }

  .image-caption {
    right: 3%;
    bottom: 50px;
  }

  .feature-copy h2 {
    font-size: clamp(2.25rem, 10.3vw, 3.5rem);
  }

  .feature-copy > p {
    font-size: 0.94rem;
    line-height: 2;
  }

  .app-cta {
    min-height: auto;
    margin-bottom: 20px;
    grid-template-areas:
      "copy"
      "screens"
      "action";
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
    column-gap: 0;
    padding: 40px 28px;
    border-radius: 34px;
  }

  .light-button {
    width: 100%;
  }

  .app-cta > .light-button {
    margin-top: 4px;
    justify-self: stretch;
  }

  .app-cta-screens {
    width: min(100%, 330px);
    height: 330px;
    align-self: center;
  }

  .app-cta-phone--talk {
    bottom: 0;
  }

  .app-cta-phone--story {
    bottom: 12px;
  }

  .app-cta-phone {
    width: min(43vw, 156px);
  }

  .youtube-section {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 18px;
  }

  .youtube-copy {
    width: 100%;
  }

  .youtube-copy h2 {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
  }

  .character-stage {
    width: 100%;
    min-height: min(110vw, 580px);
  }

  .pointing-character {
    right: -8%;
    width: 110%;
  }

  .youtube-icon {
    top: 0;
    right: 4px;
    width: 102px;
    height: 102px;
  }

  .youtube-icon svg {
    width: 38px;
  }

  .youtube-icon > span {
    font-size: 0.5rem;
  }

}

@media (max-width: 430px) {
  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.9;
  }

  .feature-visual {
    min-height: 480px;
  }

  .phone-frame {
    width: min(73vw, 285px);
    border-radius: 38px;
  }

  .phone-frame img {
    border-radius: 30px;
  }

  .feature-copy h2 {
    font-size: 2.35rem;
  }

  .feature-point {
    align-items: flex-start;
  }

  .feature-point small {
    line-height: 1.7;
  }

  .app-cta {
    padding: 34px 22px;
  }

  .app-cta-screens {
    height: 300px;
  }

  .app-cta-phone {
    width: min(43vw, 142px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
