:root {
  --brand: #3ca2e7;
  --brand-dark: #177ec2;
  --brand-soft: #e9f7ff;
  --ink: #233244;
  --ink-soft: #647386;
  --muted: #8c9aae;
  --line: #dceaf4;
  --surface-soft: #f7fbfe;
  --page: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgb(255 217 232 / 48%), transparent 18rem),
    radial-gradient(circle at 90% 18%, rgb(255 242 172 / 50%), transparent 18rem),
    linear-gradient(180deg, #f8fdff 0%, #fff 46%, #f7fbfe 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero-preview,
.category-bar,
.work-grid {
  font-family: Verdana, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Yu Gothic UI", "Yu Gothic", Meiryo, "MS PGothic", sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

details,
summary {
  display: block;
}

summary {
  cursor: pointer;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgb(60 162 231 / 36%);
  outline-offset: 4px;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--page));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 60px;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid rgb(60 162 231 / 10%);
  box-shadow: 0 0.45rem 1.25rem rgb(35 50 68 / 9%);
}

.header-inner {
  display: flex;
  height: 60px;
  align-items: center;
  gap: 1.5rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 800;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--brand-dark);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.header-action {
  gap: 0.35rem;
  min-height: 2.4rem;
  padding-inline: 1.125rem;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 0.6rem 1.5rem rgb(60 162 231 / 24%);
  font-size: 0.875rem;
}

.header-action svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 48rem;
  padding: clamp(2rem, 4.5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-layout {
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin-inline: auto;
  padding-block: 1rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgb(60 162 231 / 32%);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 13ch;
  margin: 0.7rem auto 0;
  font-size: clamp(2.25rem, 4.4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 44rem;
  margin: 1.3rem auto 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2rem;
}

.button {
  min-width: 8.5rem;
  padding-inline: 2.1rem;
}

.button-primary {
  gap: 0.35rem;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 0.8rem 1.7rem rgb(60 162 231 / 26%);
}

.button-primary svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.button-secondary {
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid rgb(60 162 231 / 24%);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.6rem;
  margin-top: 1.5rem;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 800;
}

.hero-notes span::before {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f4a8bf;
  content: "";
}

.hero-preview {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.2rem, 4vw, 3.5rem);
  padding: 0 0 3.5rem;
}

.hero-preview::before {
  position: absolute;
  z-index: 0;
  top: 2.65rem;
  bottom: -1.25rem;
  left: 50%;
  width: 100vw;
  background: var(--brand);
  content: "";
  transform: translateX(-50%) skewY(-2deg);
}

.hero-card-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: start;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: 100%;
  margin-inline: auto;
  perspective: 80rem;
}

.hero-work-card {
  flex: 0 0 clamp(8.5rem, 20vw, 16rem);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 88%);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1.3rem 2.8rem rgb(31 96 138 / 24%);
  transform-origin: center center;
}

.hero-work-card:nth-child(1) {
  z-index: 1;
  transform: translateY(1.7rem) rotate(-4deg);
}

.hero-work-card:nth-child(2) {
  z-index: 3;
  transform: translateY(0.1rem) rotate(2deg);
}

.hero-work-card:nth-child(3) {
  z-index: 2;
  transform: translateY(2.5rem) rotate(-1.5deg);
}

.hero-work-card:nth-child(4) {
  z-index: 1;
  transform: translateY(0.8rem) rotate(3.5deg);
}

.hero-work-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--brand-soft);
}

.hero-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-work-category {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  background: #55bbdd;
  font-size: 0.7rem;
  font-weight: 900;
}

.hero-work-category.category-yellow {
  color: var(--ink);
  background: #eebb00;
}

.hero-work-category.category-green {
  color: var(--ink);
  background: #bfda80;
}

.hero-work-locked {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.4rem;
  color: var(--muted);
  background: #f1f5f7;
  text-align: center;
}

.hero-work-locked strong {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  font-size: 1.2rem;
}

.hero-work-locked p {
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-work-info {
  padding: 0.9rem 1rem 1rem;
}

.hero-work-info > span {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-work-info > p {
  overflow: hidden;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-work-info div {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.7rem;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 400;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 43rem;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.stream-heading h2 {
  margin-top: 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.feature-grid,
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article,
.scene-grid article {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.875rem 2rem rgb(35 50 68 / 7%);
}

.feature-icon {
  position: relative;
  display: block;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: var(--brand-soft);
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
}

.icon-stack::before {
  inset: 0.75rem 0.58rem 1.05rem 0.58rem;
  border: 0.2rem solid var(--brand);
  border-radius: 0.3rem;
  transform: rotate(-6deg);
}

.icon-stack::after {
  inset: 1.05rem 0.85rem 0.66rem 0.85rem;
  border: 0.2rem solid var(--brand-dark);
  border-radius: 0.3rem;
  transform: rotate(8deg);
}

.icon-lock::before {
  width: 1.25rem;
  height: 0.95rem;
  left: 0.74rem;
  bottom: 0.65rem;
  border-radius: 0.25rem;
  background: var(--brand);
}

.icon-lock::after {
  width: 1.05rem;
  height: 0.9rem;
  left: 0.84rem;
  top: 0.6rem;
  border: 0.2rem solid var(--brand);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.icon-smile::before {
  inset: 0.72rem;
  border: 0.22rem solid var(--brand);
  border-radius: 50%;
}

.icon-smile::after {
  width: 1rem;
  height: 0.45rem;
  left: 0.85rem;
  top: 1.36rem;
  border-bottom: 0.2rem solid var(--brand-dark);
  border-radius: 0 0 999px 999px;
}

.icon-image::before {
  inset: 0.7rem;
  border: 0.2rem solid var(--brand);
  border-radius: 0.35rem;
}

.icon-image::after {
  width: 1.1rem;
  height: 0.8rem;
  left: 0.85rem;
  bottom: 0.78rem;
  background: linear-gradient(135deg, transparent 48%, var(--brand-dark) 50%);
}

.feature-grid h3,
.scene-grid h3 {
  margin-bottom: 0.5rem;
  font-size: 1.06rem;
}

.feature-grid p,
.scene-grid p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.75;
}

.stream-section {
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  color: #fff;
  background:
    var(--brand);
}

.stream-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.stream-heading h2 {
  color: #fff;
  margin-bottom: 3rem;
}

.category-bar {
  display: flex;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 92%);
  border-radius: 999px;
  margin: 0 auto 2rem;
  max-width: 58rem;
  background: rgb(60 162 231 / 20%);
}

.category-bar span {
  flex: 1 1 auto;
  min-width: max-content;
  padding: 0.38rem 0.8rem;
  border-left: 1px solid rgb(255 255 255 / 70%);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.category-bar span:first-child {
  border-left: 0;
}

.category-bar .active {
  color: var(--brand-dark);
  background: #fff;
}

.card-fade {
  position: relative;
  max-height: 37rem;
  overflow: hidden;
}

.card-fade::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 13rem;
  background: linear-gradient(180deg, rgb(60 162 231 / 0), var(--brand));
  content: "";
  pointer-events: none;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.7rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.work-card {
  position: relative;
  min-width: 0;
  min-height: 17.1rem;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0.8rem 1.5rem rgb(24 92 138 / 13%);
}

.card-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.45rem;
  height: 2.25rem;
  padding: 0.35rem 0.55rem;
  border-bottom: 1px solid #edf2f6;
}

.card-author b {
  overflow: hidden;
  color: #59616c;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #dce3e9;
}

.avatar-pink {
  background: linear-gradient(135deg, #ffc5de, #ff86af);
}

.avatar-blue {
  background: linear-gradient(135deg, #c9efff, #3ca2e7);
}

.avatar-yellow {
  background: linear-gradient(135deg, #fff2ac, #f6c44a);
}

.avatar-pale {
  background: linear-gradient(135deg, #fff, #d8f2ff);
}

.status {
  display: inline-flex;
  min-height: 1.35rem;
  align-items: center;
  margin: 0.45rem 0 0 0.55rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.status-green {
  background: #b7d96b;
}

.status-cyan {
  background: #4bbfe0;
}

.status-yellow {
  background: #f6c400;
}

.status-blue {
  background: #087ad8;
}

.work-card p {
  min-height: 2.9rem;
  padding: 0.45rem 0.55rem 0;
  color: #566273;
  font-size: 0.82rem;
  line-height: 1.55;
}

.work-card img,
.empty-art {
  width: 100%;
  height: 11.45rem;
  margin-top: 0.2rem;
  object-fit: cover;
}

.empty-art {
  display: grid;
  place-items: center;
  align-content: center;
  color: #54bddf;
  background: #fff;
}

.empty-art strong {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 0.28rem solid currentColor;
  border-radius: 0.5rem;
  font-size: 1.6rem;
  line-height: 1;
  transform: rotate(45deg);
}

.warning-state strong {
  font-family: Arial, sans-serif;
  transform: rotate(45deg);
}

.warning-state strong {
  color: transparent;
}

.warning-state strong::before {
  color: #54bddf;
  content: "!";
  display: inline-block;
  transform: rotate(-45deg);
}

.empty-art small {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.password-state strong {
  position: relative;
  border-radius: 50%;
  transform: none;
}

.password-state strong::before,
.password-state strong::after {
  position: absolute;
  content: "";
}

.password-state strong::before {
  width: 1.6rem;
  height: 0.36rem;
  border-radius: 999px;
  background: currentColor;
}

.password-state strong::after {
  width: 0.42rem;
  height: 1.1rem;
  top: 0.78rem;
  border-radius: 999px;
  background: currentColor;
}

.card-meta {
  position: absolute;
  bottom: 0.35rem;
  left: 0.35rem;
  display: flex;
  gap: 0.25rem;
}

.card-meta span {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 0.72rem;
  font-weight: 900;
}

.scenes {
  background: #fff;
}

.scene-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq {
  background: var(--surface-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  padding: 1rem 1.1rem;
  font-weight: 900;
}

.faq-list p {
  padding: 0 1.1rem 1.1rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.download-section {
  padding: clamp(3rem, 5vw, 4rem) 0;
  background: #eef9ff;
}

.download-copy {
  max-width: 50rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.download-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.28;
}

.download-lead {
  max-width: 37rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
}

.download-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.download-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.85rem;
}

.download-points li::before {
  color: #26b971;
  content: "✓";
  font-weight: 900;
}

.download-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.25rem;
  margin-top: 1.8rem;
  padding-inline: 2rem;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 0.9rem 2rem rgb(60 162 231 / 28%);
  font-weight: 800;
}

.download-cta svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.download-meta {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer {
  padding: 2rem 0;
  color: #fff;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand img {
  width: 8.5rem;
  height: auto;
  filter: drop-shadow(0 0.25rem 0.75rem rgb(0 0 0 / 20%));
}

.footer-inner p {
  color: rgb(255 255 255 / 76%);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .desktop-extra {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1.25rem), var(--page));
  }

  .header-action {
    min-height: 2.25rem;
    padding-inline: 0.85rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero h1 {
    max-width: 10ch;
    margin-top: 0;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    flex: 1 1 8rem;
    min-width: 0;
  }

  .hero-preview {
    margin-top: 1rem;
    padding-bottom: 2.5rem;
  }

  .hero-preview::before {
    top: -0.35rem;
    bottom: -0.5rem;
  }

  .hero-card-row {
    gap: 0.65rem;
  }

  .hero-work-card {
    flex-basis: clamp(7.5rem, 34vw, 8.5rem);
  }

  .hero-work-card:nth-child(1) {
    transform: translateY(0.8rem) rotate(-2.5deg);
  }

  .hero-work-card:nth-child(2) {
    transform: rotate(1.5deg);
  }

  .hero-work-card:nth-child(3) {
    transform: translateY(1.3rem) rotate(-1.5deg);
  }

  .hero-work-card:nth-child(4) {
    transform: translateY(0.45rem) rotate(2.5deg);
  }

  .hero-work-info {
    padding: 0.75rem;
  }

  .category-bar {
    overflow-x: auto;
    justify-content: flex-start;
    border-radius: 8px;
  }

  .category-bar span {
    flex: 0 0 auto;
  }

  .feature-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .download-section {
    padding-block: 2.5rem;
  }

  .download-copy {
    padding: 2rem 1.25rem;
  }

  .download-copy h2 {
    font-size: 1.8rem;
  }

  .download-points {
    display: grid;
    gap: 0.7rem;
  }

  .download-cta {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
