:root {
  --paper: #f2efe7;
  --card: #fffdf8;
  --ink: #14121b;
  --muted: #6d6a63;
  --line: #ddd7c9;
  --cobalt: #2f4bff;
  --coral: #ff6a4d;
  --lime: #dcff62;
  --mint: #b9f3dc;
  --radius: 26px;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.015em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 86px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 239, 231, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  color: #4c4a44;
}

.nav a {
  padding: 7px 4px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: #e6e1d5;
  color: var(--ink);
}

.header-cta {
  flex: none;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fffdf8;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--cobalt);
}

/* ---------- hero ---------- */
.hero {
  padding: 34px 0 10px;
  background-image:
    linear-gradient(rgba(20, 18, 27, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 18, 27, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center top;
}

.hero-bento {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.tile {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 34px;
}

.tile-headline {
  grid-column: span 7;
  padding: 52px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(500px 300px at 90% 8%, rgba(47, 75, 255, 0.1), transparent 60%),
    var(--card);
}

.tag {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cobalt);
  font-weight: 700;
}

.tile-headline h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.tile-headline h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.tile-headline h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.34em;
  background: var(--lime);
  z-index: -1;
  border-radius: 4px;
}

.lead {
  max-width: 480px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: #fffdf8;
}

.btn-line {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-line:hover,
.btn-line:focus-visible {
  background: var(--ink);
  color: #fffdf8;
}

.tile-icon {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #20204a, #101024 65%);
  border-color: #20204a;
  color: #f4f1ff;
  padding: 36px 24px;
}

.icon-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  border-radius: 34px;
  background: linear-gradient(150deg, #3550ff, #17142c 72%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 76px;
  line-height: 1;
  color: #f7f4ff;
}

.icon-orb::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.icon-word {
  margin-top: 22px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.icon-sub {
  margin-top: 6px;
  font-size: 13px;
  color: #a9a4c8;
  letter-spacing: 0.08em;
}

.tile-stat {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--lime);
  border-color: #c9ed4e;
  padding: 28px;
}

.stat-num {
  font-size: clamp(2.1rem, 3vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: #3f4416;
}

.tile-chat {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 26px 28px;
}

.chat-line {
  max-width: 92%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-left {
  align-self: flex-start;
  background: #efede5;
  border-bottom-left-radius: 5px;
}

.chat-right {
  align-self: flex-end;
  background: var(--cobalt);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.tile-tags {
  grid-column: span 4;
  padding: 26px 28px;
  background: var(--card);
}

.tags-title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  background: #faf8f1;
}

/* ---------- sections ---------- */
.section {
  padding: 100px 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 48px;
}

.kicker {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cobalt);
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.6rem);
  font-weight: 800;
}

.section-panel {
  padding-top: 20px;
}

/* ---------- board ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.board-card {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}

.board-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.board-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.board-wide {
  grid-column: span 8;
  padding: 46px 40px;
}

.board-wide h3 {
  max-width: 460px;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.board-wide p {
  max-width: 430px;
  margin-top: 14px;
}

.board-ink {
  background: linear-gradient(150deg, #1b1a28, #0e0d16);
  border-color: #26243a;
  color: #f7f4ea;
}

.board-ink p {
  color: #b3aec4;
}

.board-mark {
  position: absolute;
  right: -14px;
  bottom: -28px;
  font-size: 110px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: -0.05em;
  line-height: 1;
}

.board-small,
.board-half {
  grid-column: span 6;
}

.board-lime {
  grid-column: span 4;
  background: var(--lime);
  border-color: #c9ed4e;
}

.board-lime h3 {
  margin-top: 4px;
}

.board-lime p {
  color: #3f4416;
}

.board-num {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #3f4416;
}

.board-cobalt {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}

.board-cobalt p {
  color: #d8defe;
}

.wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 38px;
  margin-top: 22px;
}

.wave span {
  width: 6px;
  border-radius: 3px;
  background: var(--coral);
}

.wave span:nth-child(1) { height: 12px; }
.wave span:nth-child(2) { height: 22px; }
.wave span:nth-child(3) { height: 34px; }
.wave span:nth-child(4) { height: 18px; }
.wave span:nth-child(5) { height: 28px; }
.wave span:nth-child(6) { height: 38px; }
.wave span:nth-child(7) { height: 16px; }

/* ---------- gallery panel ---------- */
.panel {
  padding: 44px 0 38px;
  border-radius: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 44px 28px;
}

.panel-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.98rem;
}

.panel-hint {
  flex: none;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.shots {
  display: flex;
  gap: 16px;
  padding: 4px 44px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.shots .shot {
  flex: none;
  width: 218px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f4ec;
  scroll-snap-align: start;
}

.shots .shot img {
  width: 100%;
}

/* ---------- make ---------- */
.make-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.make-card {
  position: relative;
  padding: 34px 30px 36px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.make-card + .make-card::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 46px;
  width: 14px;
  border-top: 1px dashed #bdb6a6;
}

.make-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fffdf8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.make-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.make-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.make-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5f2e9;
  color: #4a4740;
  font-size: 0.9rem;
  border-left: 3px solid var(--cobalt);
}

.avatar-dots {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.avatar-dots span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffd6c9, #ff9d86);
}

.avatar-dots span:nth-child(2) {
  background: linear-gradient(140deg, #c9d4ff, #7d95ff);
}

.avatar-dots span:nth-child(3) {
  background: linear-gradient(140deg, #d9f7c6, #94d97a);
}

/* ---------- scenes ---------- */
.section-scenes {
  background: #eae6da;
}

.scene-box {
  border-radius: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: #55524b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab:hover {
  border-color: var(--ink);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fffdf8;
}

.tab:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.tab-panel {
  border-radius: 22px;
  background: linear-gradient(160deg, #1a1930, #0f0e19);
  color: #f4f1ea;
  padding: 40px;
}

.tab-panel:not([hidden]) {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.scene-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.scene-desc {
  margin-top: 10px;
  color: #b5b0c5;
  font-size: 0.95rem;
}

.demo-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-line {
  max-width: 92%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.demo-left {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 5px;
}

.demo-right {
  align-self: flex-end;
  background: var(--cobalt);
  border-bottom-right-radius: 5px;
}

/* ---------- quote ---------- */
.section-quote {
  padding: 84px 0;
  background: var(--cobalt);
  color: #fff;
}

.quote-inner {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.quote-mark {
  font-size: 84px;
  line-height: 0.6;
  opacity: 0.35;
  font-family: Georgia, "Songti SC", serif;
}

.quote-inner blockquote p {
  margin-top: 14px;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.quote-foot {
  margin-top: 22px;
  color: #d9dfff;
  font-size: 0.95rem;
}

/* ---------- privacy ---------- */
.privacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.privacy-copy h2 {
  margin-bottom: 16px;
}

.privacy-copy p {
  color: var(--muted);
}

.privacy-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.privacy-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.privacy-list strong {
  font-size: 1.02rem;
}

.privacy-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- download ---------- */
.section-download {
  padding-bottom: 110px;
}

.download-card {
  padding: 52px 50px 46px;
  border-radius: 34px;
  background: linear-gradient(150deg, #1c1b2b, #0d0c16);
  color: #f6f3eb;
}

.download-copy .kicker {
  color: var(--lime);
}

.download-copy h2 {
  max-width: 720px;
}

.download-copy p {
  margin-top: 14px;
  color: #b9b4c6;
}

.download-copy {
  margin-bottom: 36px;
}

.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.channel:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 26px 24px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.channel:not([hidden]):hover,
.channel:not([hidden]):focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lime);
}

.channel-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--lime);
  text-transform: uppercase;
}

.channel strong {
  margin-top: 12px;
  font-size: 1.2rem;
}

.channel small {
  color: #b0abbd;
  font-size: 0.86rem;
}

.download-note {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.84rem;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 46px 0 54px;
  border-top: 1px solid var(--line);
  background: #ece8dd;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.brand-footer .brand-text strong {
  font-size: 17px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ink);
}

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background-image:
    linear-gradient(rgba(20, 18, 27, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 18, 27, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.not-found-card {
  width: min(600px, 100%);
  padding: 54px 42px;
  border-radius: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 24px 60px rgba(20, 18, 27, 0.08);
}

.not-found-code {
  font-size: clamp(4rem, 12vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--cobalt);
}

.not-found h1 {
  margin-top: 20px;
  font-size: 1.65rem;
}

.not-found p {
  margin-top: 12px;
  color: var(--muted);
}

.not-found .btn {
  margin-top: 30px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .tile-headline {
    grid-column: span 12;
  }

  .tile-icon {
    grid-column: span 5;
    min-height: 280px;
  }

  .tile-stat {
    grid-column: span 3;
  }

  .tile-chat {
    grid-column: span 4;
  }

  .tile-tags {
    grid-column: span 12;
  }

  .board-wide,
  .board-lime,
  .board-small,
  .board-half {
    grid-column: span 6;
  }

  .make-row {
    grid-template-columns: 1fr;
  }

  .make-card + .make-card::before {
    display: none;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 60px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    padding: 9px 16px;
  }

  .hero {
    padding-top: 20px;
  }

  .tile-headline {
    padding: 36px 26px;
  }

  .tile-headline h1 {
    font-size: 1.9rem;
  }

  .tile-icon,
  .tile-stat,
  .tile-chat,
  .tile-tags,
  .board-wide,
  .board-lime,
  .board-small,
  .board-half {
    grid-column: span 12;
  }

  .board-wide {
    padding: 34px 28px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 24px 22px;
  }

  .shots {
    padding: 2px 24px 14px;
  }

  .shots .shot {
    width: 172px;
  }

  .tab-panel:not([hidden]) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tab-panel {
    padding: 26px 22px;
  }

  .scene-box {
    padding: 18px;
  }

  .privacy-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .download-card {
    padding: 34px 24px 32px;
  }

  .section-download {
    padding-bottom: 80px;
  }

  .footer-inner {
    align-items: flex-start;
    gap: 14px;
  }

  .footer-nav {
    width: 100%;
    margin-left: 0;
  }
}

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

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
