.home-section-inner { width: min(100%, 80rem); margin-inline: auto; padding-inline: 1rem; }
.home-island-hero { background: linear-gradient(oklch(var(--b2)), oklch(var(--b3))); }
.home-island-copy h1 { font-weight: 700; letter-spacing: -.03em; }
.home-island-intro { color: oklch(var(--bc) / .7); line-height: 1.4; }
.home-island-account, .home-island-community { color: oklch(var(--bc) / .6); line-height: 1.25rem; }
.home-island-copy .hero-cta .button, .home-start .button-primary { border-radius: var(--rounded-btn); font-weight: 600; box-shadow: 0 4px 0 var(--nd-btn-primary-shadow); }
.home-island-copy .hero-cta .button:active, .home-start .button-primary:active { translate: 0 3px; box-shadow: 0 1px 0 var(--nd-btn-primary-shadow); }
.home-island-copy h1 span { color: oklch(var(--p)); }
.home-island-account a { white-space: nowrap; }
.home-section-inner h2 { margin: 0 0 3rem; text-align: center; font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.12; }
.home-features, .home-numbers, .home-reviews, .home-start, .home-faq { padding-block: 4rem; }
.home-features, .home-start { background: var(--panel); }
.home-features { position: relative; isolation: isolate; margin-top: -5rem; padding-bottom: 10rem; background: linear-gradient(oklch(var(--b3)),oklch(var(--b2))); }
.home-features .home-section-inner { position: relative; isolation: isolate; }
.home-glyphs { position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.home-glyphs span { position: absolute; opacity: .08; color: oklch(var(--glyph-color)); animation: guest-glyph-float 12s ease-in-out infinite; }
@keyframes guest-glyph-float { 50% { transform: translateY(-1.25rem) rotate(6deg); } }
.home-features h2, .home-numbers h2, .home-reviews h2 { font: 700 2.25rem/1.6 "Press Start 2P",system-ui,sans-serif; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.home-features h2::after, .home-numbers h2::after, .home-reviews h2::after { content: ''; display: block; width: 6rem; height: .25rem; margin: 1rem auto 0; border-radius: 1rem; background: oklch(var(--p) / .5); }
.home-island-next { z-index: 1; bottom: 8rem; }
.home-features { margin-bottom: -5rem; }
.home-numbers { position: relative; padding-block: 0 1rem; }
.home-numbers::before, .home-start::before { content: ''; display: block; width: min(calc(100% - 2rem),78rem); height: 1px; margin: 1.5rem auto; background: oklch(var(--p) / .1); }
.home-numbers::before { margin-top: 0; border-top: 1.5rem solid transparent; background-clip: content-box; box-sizing: content-box; }
.home-numbers h2::after { content: none; }
.home-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: clamp(2rem,6vw,6rem); align-items: center; }
.home-feature + .home-feature { margin-top: 3.5rem; }
.home-feature:nth-of-type(even) { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
.home-feature:nth-of-type(even) .home-film { grid-column: 1; grid-row: 1; }
.home-feature-copy { max-width: 28rem; }
.home-feature-copy > span { display: inline-flex; color: var(--primary); background: oklch(var(--p) / .1); border-radius: 1rem; padding: .5rem; font-size: 1.875rem; line-height: 2.25rem; }
.home-feature-copy h3 { font-size: 1.5rem; line-height: 2rem; margin: .75rem 0; }
.home-feature-copy ul { list-style: none; margin: 0; padding: 0; }
.home-feature-copy li { margin: .375rem 0 0; font-size: .875rem; line-height: 1.25rem; }
.home-feature-copy li::before { content: '✓'; color: var(--primary); font-weight: 700; margin-right: .6rem; }
.home-extras { margin: 3rem auto 0; text-align: center; }
.home-extras ul { display: flex; list-style: none; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; }
.home-extras li { padding: .2rem .65rem; background: var(--soft); border-radius: 1rem; font-size: .875rem; }
.home-film { position: relative; aspect-ratio: 16 / 9; border-radius: 1.5rem; background: #101117; }
.home-film button, .home-film iframe, .home-film img { display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.home-film button { position: relative; padding: 0; overflow: hidden; background: none; transition: transform 220ms; }
.home-film button:hover { transform: rotate(-1deg); }
.home-feature:nth-of-type(even) .home-film button:hover { transform: rotate(1deg); }
.home-film img { object-fit: cover; filter: brightness(.65); }
.home-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border: 3px solid #fff9; background: #15151bcc; border-radius: 1rem; font-size: 1.6rem; }
.home-film button:hover .home-play { border-color: white; }
.home-film a { position: absolute; bottom: .5rem; right: .5rem; padding: .3rem .6rem; background: #15151bee; color: white; border-radius: .4rem; font-size: .8rem; }
.home-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; }
.home-stat-grid div { --stat-accent: var(--primary); background: var(--panel); border-radius: .75rem; padding: 1rem; }
.home-stat-grid div:nth-child(2) { --stat-accent: oklch(var(--s)); }
.home-stat-grid div:nth-child(3) { --stat-accent: oklch(var(--a)); }
.home-stat-grid div:nth-child(4) { --stat-accent: var(--green); }
.home-stat-grid b { float: right; margin: 1rem 0 0 .5rem; font-size: 1.85rem; color: var(--stat-accent); }
.home-stat-grid small { display: block; color: var(--muted); font-size: .75rem; line-height: 1rem; }
.home-stat-grid span { font-size: 1rem; line-height: 1.5rem; }
.home-stat-grid strong, .home-stat-grid span, .review-person small { display: block; }
.home-stat-grid strong { font-size: 2.25rem; line-height: 2.5rem; color: var(--stat-accent); }
.home-stat-grid span, .review-person small, .home-reviews p { color: var(--muted); }
.home-reviews { text-align: center; padding-block: 5rem; }
.home-reviews .home-section-inner { max-width: 72rem; }
.home-reviews h2 { margin-bottom: 1rem; }
.home-reviews p { margin: 0 auto 1.5rem; }
.home-review-window { overflow: hidden; margin-bottom: 1.5rem; }
.home-review-track { display: flex; width: max-content; padding-block: .35rem; animation: home-review-scroll 85s linear infinite; }
.home-review { flex: 0 0 20rem; width: 20rem; min-height: 13rem; padding: 1rem; margin-right: 1rem; border-radius: .75rem; border: 1px solid var(--line); background: var(--panel); text-align: left; font-size: .92rem; }
.home-review:hover { border-color: var(--primary); }
.review-person { display: flex; gap: .65rem; align-items: center; }
.review-initial { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--soft); color: var(--primary); }
.review-rating { display: block; color: #e6a823; letter-spacing: .06em; margin: .4rem 0; }
@keyframes home-review-scroll { to { transform: translateX(-50%); } }
.home-review-window:hover .home-review-track { animation-play-state: paused; }
.home-review-window:focus-within { overflow-x: auto; }
.home-review-window:focus-within .home-review-track { animation: none; }
.home-start, .home-faq { padding-block: 5rem; }
.home-start h2 { margin-bottom: 1.5rem; }
.home-start { text-align: center; }
.home-start p { color: var(--muted); }
.home-start .home-start-community { font-size: .875rem; }
.home-start-community a:hover { color: var(--primary); }
.home-start .hero-cta { justify-content: center; }
.home-start .hero-cta i { margin-right: .4rem; }
.home-faq { min-height: 100svh; }
.home-faq h2 { margin-bottom: 1.5rem; font: 700 3rem/1 "Press Start 2P",system-ui,sans-serif; letter-spacing: -.02em; }
.faq-intro { margin: 0 auto 5rem; max-width: 42rem; font-size: 1.25rem; text-align: center; }
.home-questions { max-width: 56rem; margin: auto; display: grid; gap: 2rem; }
.home-questions details { border-bottom: 1px solid var(--line); }
.home-questions summary { position: relative; padding: 1.5rem 3rem 1.5rem 1rem; cursor: pointer; list-style: none; font-size: 1.5rem; line-height: 2rem; font-weight: 500; }
.home-questions summary::-webkit-details-marker { display: none; }
.home-questions summary::after { content: '+'; position: absolute; right: 1rem; }
.home-questions details[open] summary::after { content: '−'; }
.home-questions p { color: var(--muted); margin: 0; padding: .25rem 1rem 1rem; }
.home-questions a { color: var(--primary); text-decoration: underline; }
@media (min-width:1024px) {
  .home-features { padding-top: 10rem; }
  .home-feature .home-film { transform: rotate(2deg); transition: transform .5s; }
  .home-feature:nth-of-type(even) .home-film { transform: rotate(-2deg); }
  .home-feature .home-film:is(:hover,:focus-within), .home-feature .home-film button:hover { transform: none; }
  .home-feature-copy { margin-top: 3rem; }
  .home-feature:nth-of-type(even) .home-feature-copy { justify-self: end; margin: 0; }
  .home-island-hero { min-height: max(37rem,calc(100svh - 4rem)); padding-bottom: 10rem; }
  .home-island-copy h1 { line-height: 1; }
}
@keyframes home-reveal { from { opacity: .15; translate: 0 .75rem; } to { opacity: 1; translate: 0; } }
.home-revealed { animation: home-reveal .38s ease-out both; }
@media (max-width:1023px) {
  body:has(.home-island-hero) .public-header { position: relative; }
  .home-features { margin-top: -2rem; }
  .home-island-hero { padding: 6rem 1rem 5rem; }
  .home-island-next { margin-top: 1.5rem; }
  .home-island-intro { line-height: 1.75rem; }
  .home-feature, .home-feature:nth-of-type(even) { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .home-feature:nth-of-type(even) .home-film { grid-column: auto; grid-row: auto; }
  .home-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:639px) {
  .home-review { width: 18rem; flex-basis: 18rem; }
  .home-feature-copy h3 { font-size: 1.25rem; }
  .home-stat-grid { grid-template-columns: minmax(0,1fr); }
  .home-island-copy h1 { font-size: 2.25rem; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .home-review-window { overflow-x: auto; }
  .home-review-track { animation: none; }
  .home-review[aria-hidden="true"] { display: none; }
  .home-film button:hover, .home-feature:nth-of-type(even) .home-film button:hover { transform: none; }
}

/* Screenshots of the site instead of videos: shown as they are, in a frame with a soft shadow.
   The island block shows the island illustration on a light sky. */
.home-film { overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgb(20 22 40 / .45); transition: transform 260ms ease, box-shadow 260ms ease; }
.home-film img { object-fit: cover; object-position: top left; filter: none; }
.home-film:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 30px 60px -30px rgb(20 22 40 / .55); }
.home-feature:nth-of-type(even) .home-film:hover { transform: translateY(-4px) rotate(.4deg); }
.home-film.is-art { background: radial-gradient(120% 90% at 50% 0%, color-mix(in oklab, var(--primary, #5b4bc4) 14%, var(--panel)), var(--panel)); }
.home-film.is-art img { object-fit: contain; padding: 1rem; }
.home-extras ul a { color: inherit; text-decoration: none; }
.home-extras ul a:hover { color: var(--primary); text-decoration: underline; }
.home-feature-copy > span[lang="ja"] { font-family: "Noto Sans JP", system-ui, sans-serif; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .home-film, .home-film:hover { transform: none; transition: none; } }
