/* Homepage-only styles. Do not reuse these selectors on policy, Android, or ops pages. */
[data-joyu-home] {
  --home-page: var(--page);
  --home-ink: var(--ink);
  --home-muted: #705858;
  --home-peach: #E8B7A4;
  --home-sage: #4E7460;
  --home-mist: #D7E4F2;
  --home-lavender: #E6DDF4;
  --home-line: var(--line);
  --home-card: var(--card);
  color: var(--home-ink);
  background: radial-gradient(ellipse 65% 600px at 85% 200px, #FFE7EB 0%, transparent 100%), var(--home-page);
  overflow: visible;
}
[data-joyu-home].site-shell { overflow: visible; }
[data-joyu-home] a { color: inherit; }
[data-joyu-home] .skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 40;
  padding: .6rem 1rem;
  background: #fff;
  color: var(--home-ink);
  border-radius: 999px;
  transform: translateY(-160%);
}
[data-joyu-home] .skip-link:focus { transform: none; }
[data-joyu-home] .home-wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
[data-joyu-home] > .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 84px;
  height: auto;
  padding: 12px max(24px, calc((100% - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: color-mix(in srgb, var(--home-page) 88%, white);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--home-line);
}
[data-joyu-home] .wordmark { color: var(--home-ink); }
[data-joyu-home] .header-cta {
  justify-self: auto;
  min-height: 44px;
  background: var(--home-ink);
  color: #fff;
}
[data-joyu-home] .nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--home-ink);
  border-radius: 999px;
  background: #fff9f6;
  color: var(--home-ink);
  cursor: pointer;
}
[data-joyu-home] .site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
[data-joyu-home] .site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--home-muted);
  font-size: 15px;
}
[data-joyu-home] .site-nav a:hover { color: var(--home-ink); }
@media (min-width: 901px) {
  [data-joyu-home] .site-nav a[href="#get-started"] { display: none; }
}
[data-joyu-home] section[id], [data-joyu-home] .anchor-alias { scroll-margin-top: 104px; }
[data-joyu-home] .scene, [data-joyu-home] .scene-index { position: relative; }
[data-joyu-home] .anchor-alias { position: absolute; top: 0; left: 0; }
[data-joyu-home] .hero {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}
[data-joyu-home] .hero > * { min-width: 0; }
[data-joyu-home] .kicker {
  margin: 0 0 12px;
  color: #A63750;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
[data-joyu-home] .hero h1,
[data-joyu-home] .scene h2,
[data-joyu-home] .trust h2,
[data-joyu-home] .start h2,
[data-joyu-home] .faq h2,
[data-joyu-home] .ending h2 {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
[data-joyu-home] .lede,
[data-joyu-home] .scene p,
[data-joyu-home] .trust p,
[data-joyu-home] .start p,
[data-joyu-home] .ending p,
[data-joyu-home] .quote,
[data-joyu-home] .hint {
  font-size: 16px;
  line-height: 1.6;
  color: var(--home-muted);
}
[data-joyu-home] .lede { margin: 16px 0 0; max-width: 36em; }
[data-joyu-home] .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
[data-joyu-home] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
[data-joyu-home] .btn-primary { background: #B63653; color: #fff; box-shadow: 0 8px 24px #B6365320; }
[data-joyu-home] .btn-ghost { color: var(--home-ink); border: 1px solid var(--home-ink); }
[data-joyu-home] a:focus-visible,
[data-joyu-home] button:focus-visible,
[data-joyu-home] summary:focus-visible {
  outline: 3px solid #654bc0;
  outline-offset: 3px;
}
[data-joyu-home] .scene-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 28px;
}
[data-joyu-home] .scene-index a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #FFF0F2;
  text-decoration: none;
  font-size: 15px;
}
[data-joyu-home] .scene {
  display: grid;
  grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
  grid-template-areas: "copy visual";
  gap: 36px 48px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--home-line);
}
[data-joyu-home] .scene.scene-flip {
  grid-template-areas: "visual copy";
  grid-template-columns: minmax(0, 66fr) minmax(0, 34fr);
}
[data-joyu-home] .scene-copy { grid-area: copy; }
[data-joyu-home] .scene .scene-visual { grid-area: visual; margin: 0; }
[data-joyu-home] .hero .scene-visual { margin: 0; }
[data-joyu-home] .scene h2 { margin-bottom: 16px; font-size: clamp(28px, 3.3vw, 40px); }
[data-joyu-home] .quote {
  margin: 16px 0 0;
  font-family: "Songti SC", STSong, serif;
  color: var(--home-ink);
}
[data-joyu-home] .hint {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--home-sage) 16%, white);
  color: var(--home-ink);
  font-size: 14px;
}
[data-joyu-home] .demo-note {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 14px;
}
[data-joyu-home] .trust { padding: 56px 0; background: #FFF0F2; }
[data-joyu-home] .trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
[data-joyu-home] .trust-item {
  padding: 8px 0;
}
[data-joyu-home] .trust-item h3 { margin: 0 0 8px; font-size: 20px; }
[data-joyu-home] .start { padding: 56px 0; }
[data-joyu-home] .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
[data-joyu-home] .steps li {
  padding: 18px;
  border-radius: 18px;
  background: var(--home-card);
  font-size: 16px;
  line-height: 1.6;
}
[data-joyu-home] .steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--home-sage);
  color: #fff;
  font-size: 14px;
}
[data-joyu-home] .release {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--home-sage);
  background: color-mix(in srgb, var(--home-sage) 10%, white);
}
[data-joyu-home] .faq { padding: 24px 0 56px; }
[data-joyu-home] .faq-list { display: grid; gap: 10px; margin-top: 24px; }
[data-joyu-home] details {
  border-radius: 16px;
  background: var(--home-card);
  padding: 4px 18px;
}
[data-joyu-home] summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
}
[data-joyu-home] details p { margin: 0 0 16px; }
[data-joyu-home] .ending {
  padding: 48px 0 72px;
  text-align: center;
}
[data-joyu-home] .ending .lede { margin-inline: auto; }
[data-joyu-home] .ending .actions { justify-content: center; }
[data-joyu-home] .hero-copy { grid-area: copy; }
[data-joyu-home] .hero { grid-template-areas: "copy visual"; }
[data-joyu-home] .hero h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 1.3;
}
[data-joyu-home] .hero h1 span { color: inherit; }
[data-joyu-home] .hero h1 span:last-child { color: #B63653; }
[data-joyu-home] .hero .scene-visual { grid-area: visual; }
[data-joyu-home] .scene-visual { min-width: 0; }
[data-joyu-home] .scene .scene-label {
  color: #A63750;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 16px;
}
[data-joyu-home] .scene-index { border-bottom: 1px solid var(--home-line); padding-top: 16px; gap: 10px; }
[data-joyu-home] .scene-index a:hover { background: #FADBE2; }
[data-joyu-home] .btn { min-height: 50px; gap: 10px; }
[data-joyu-home] .btn-ghost { border-color: var(--home-line); background: #FFFEFC; }
[data-joyu-home] .site-footer { color: var(--home-muted); }
[data-joyu-home] .site-footer nav a { color: var(--home-muted); min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 900px) {
  [data-joyu-home] > .site-header {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 74px;
  }
  [data-joyu-home] .header-cta {
    margin-left: auto;
    display: inline-flex;
  }
  @media (scripting: enabled) {
  [data-joyu-home] .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  [data-joyu-home] .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    padding: 12px;
    border-radius: 16px;
    background: #fff9f6;
    border: 1px solid var(--home-line);
    flex-direction: column;
    align-items: stretch;
  }
  [data-joyu-home].is-nav-open .site-nav { display: flex; }
  }
  [data-joyu-home] .hero,
  [data-joyu-home] .scene,
  [data-joyu-home] .scene.scene-flip {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual";
  }
  [data-joyu-home] .hero { padding: 36px 0 28px; gap: 28px; }
  [data-joyu-home] .hero h1 { font-size: clamp(32px, 5.4vw, 44px); }
  [data-joyu-home] .trust-grid,
  [data-joyu-home] .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  [data-joyu-home] .home-wrap { width: min(100% - 32px, 1160px); }
  [data-joyu-home] > .site-header { padding-inline: 16px; }
  [data-joyu-home] .scene { padding: 36px 0; gap: 22px; }
  [data-joyu-home] .site-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  [data-joyu-home] .site-footer nav { flex-wrap: wrap; gap: 12px 24px; }
}

@keyframes joyu-rise {
  0% { opacity: 0; transform: translate3d(0, 36px, 0); }
  62% { opacity: 1; transform: translate3d(0, -8px, 0); }
  100% { opacity: 1; transform: none; }
}
@keyframes joyu-rise-media {
  0% { opacity: 0; transform: translate3d(0, 64px, 0); }
  64% { opacity: 1; transform: translate3d(0, -12px, 0); }
  100% { opacity: 1; transform: none; }
}
@keyframes joyu-rise-chip {
  0% { opacity: 0; transform: translate3d(0, 18px, 0); }
  100% { opacity: 1; transform: none; }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-joyu-home] .reveal-stage > *:not(.reveal-stage):not(.is-in),
  [data-joyu-home] [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
  }
  [data-joyu-home] [data-reveal="media"]:not(.is-in) {
    transform: translate3d(0, 64px, 0);
  }
  [data-joyu-home] .scene-index.reveal-stage > *:not(.is-in),
  [data-joyu-home] .actions.reveal-stage > *:not(.is-in) {
    transform: translate3d(0, 18px, 0);
  }
  [data-joyu-home] .reveal-stage > *.is-in,
  [data-joyu-home] [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
  [data-joyu-home] .reveal-stage > *.is-in:not(.is-in-instant),
  [data-joyu-home] [data-reveal].is-in:not(.is-in-instant) {
    animation: joyu-rise 1s cubic-bezier(.16, 1, .3, 1) backwards;
    animation-delay: var(--reveal-delay, 0ms);
  }
  [data-joyu-home] [data-reveal="media"].is-in:not(.is-in-instant) {
    animation-name: joyu-rise-media;
    animation-duration: 1.15s;
  }
  [data-joyu-home] .scene-index.reveal-stage > *.is-in:not(.is-in-instant),
  [data-joyu-home] .actions.reveal-stage > *.is-in:not(.is-in-instant) {
    animation-name: joyu-rise-chip;
    animation-duration: .7s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has([data-joyu-home]) { scroll-behavior: auto; }
  [data-joyu-home] .reveal-stage > *,
  [data-joyu-home] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
