@charset "UTF-8";

:root {
  --violet: #7567d5;
  --violet-deep: #5749b6;
  --violet-soft: #eeeafd;
  --lavender: #b5a6f4;
  --mint: #53c9a4;
  --mint-soft: #e9f8f2;
  --coral: #f28c73;
  --cream: #fcfaf4;
  --paper: #ffffff;
  --ink: #20212a;
  --muted: #686b79;
  --line: #dcd8e8;
  --night: #20222b;
  --header-height: 74px;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  background: var(--cream);
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

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

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

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-menu { background-image: url("../icons/menu.svg"); }
.icon-role { background-image: url("../icons/role.svg"); }
.icon-story { background-image: url("../icons/story.svg"); }
.icon-creator { background-image: url("../icons/creator.svg"); }
.icon-arrow { background-image: url("../icons/arrow.svg"); }
.icon-globe { background-image: url("../icons/globe.svg"); }
.icon-download { background-image: url("../icons/download.svg"); }
.icon-top { background-image: url("../icons/top.svg"); }

.section-shell,
.header-inner,
.hero-grid,
.footer-inner {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-copy,
.footer-brand > span {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 18px;
}

.brand-copy small,
.footer-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 25px 17px 23px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 17px;
  bottom: 13px;
  left: 17px;
  height: 2px;
  content: "";
  background: transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--violet-deep);
}

.site-nav a.is-active::after {
  background: var(--violet);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 9px;
}

.mobile-download {
  padding: 9px 13px;
  color: #ffffff;
  background: var(--violet);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--ink);
  background: #ffffff;
  cursor: pointer;
  place-items: center;
}

main {
  padding-top: var(--header-height);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(rgba(117, 103, 213, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 103, 213, 0.055) 1px, transparent 1px),
    #ffffff;
  background-size: 40px 40px;
}

.hero::before {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 620px;
  height: 300px;
  border-radius: 50%;
  content: "";
  background: var(--violet-soft);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  align-items: center;
  min-height: 720px;
  gap: 60px;
}

.hero-copy {
  padding: 74px 0;
}

.eyebrow,
.section-index {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin-top: 15px;
  color: var(--violet);
  font-size: clamp(74px, 8vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero h2 {
  margin-top: 28px;
  font-size: clamp(33px, 3.3vw, 50px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.hero-description {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
  gap: 16px 34px;
}

.hero-capabilities li {
  display: flex;
  align-items: center;
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 800;
  gap: 9px;
}

.hero-capabilities .icon {
  width: 20px;
  height: 20px;
}

.hero-action-row {
  display: flex;
  align-items: center;
  margin-top: 36px;
  gap: 28px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  min-width: 182px;
  padding: 15px 20px;
  color: #ffffff;
  background: var(--violet);
  font-weight: 800;
  gap: 28px;
}

.text-action:hover {
  background: var(--violet-deep);
}

.text-action .icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.age-label {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  gap: 9px;
}

.age-label b {
  display: grid;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--ink);
  place-items: center;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 650px;
}

.hero-visual::before {
  position: absolute;
  right: -110px;
  width: 510px;
  height: 510px;
  border-radius: 50%;
  content: "";
  background: linear-gradient(145deg, var(--violet-soft), #dff8ef);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  right: -45px;
  border: 1px solid rgba(117, 103, 213, 0.35);
  border-radius: 50%;
}

.orbit-one {
  width: 430px;
  height: 430px;
}

.orbit-two {
  right: 40px;
  width: 260px;
  height: 260px;
  border-color: rgba(83, 201, 164, 0.5);
}

.hero-dot {
  position: absolute;
  z-index: 2;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.dot-one {
  top: 100px;
  right: 60px;
}

.dot-two {
  right: 350px;
  bottom: 95px;
  background: var(--mint);
}

.phone-frame {
  position: relative;
  z-index: 3;
  width: 325px;
  padding: 15px;
  border: 2px solid #30313a;
  border-radius: 44px;
  background: #111219;
  box-shadow: 24px 28px 0 rgba(117, 103, 213, 0.16), 0 24px 60px rgba(30, 31, 40, 0.2);
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 19px;
  left: 50%;
  width: 94px;
  height: 22px;
  border-radius: 18px;
  background: #111219;
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 554 / 984;
  border-radius: 31px;
  background: #292a31;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.character-atlas,
.creator-archive,
.support-section {
  padding: 104px 0;
}

.character-atlas {
  background: var(--violet-soft);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 46px;
  gap: 36px;
}

.section-heading h2 {
  margin-top: 7px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 470px;
  color: var(--muted);
}

.atlas-board {
  display: grid;
  grid-template-columns: 215px minmax(460px, 1fr) 260px;
  min-height: 450px;
  border: 1px solid #cbc4ed;
  background: #ffffff;
}

.atlas-index,
.relation-map {
  padding: 30px;
}

.atlas-index {
  border-right: 1px solid #d9d4ec;
}

.atlas-index > p,
.relation-map > p {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.atlas-filters {
  display: grid;
  margin-top: 28px;
  gap: 11px;
}

.atlas-filters button {
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.atlas-filters button:hover,
.atlas-filters button.is-active {
  color: #ffffff;
  border-color: var(--violet);
  background: var(--violet);
}

.character-document {
  position: relative;
  display: grid;
  align-items: center;
  padding: 44px;
  background:
    linear-gradient(rgba(117, 103, 213, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 103, 213, 0.05) 1px, transparent 1px),
    #fdfcff;
  background-size: 30px 30px;
}

.document-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
}

.profile-panel {
  display: grid;
  grid-template-columns: 155px 1fr;
  align-items: center;
  padding: 26px;
  border: 1px solid #d7d1eb;
  background: #ffffff;
  box-shadow: 10px 10px 0 rgba(117, 103, 213, 0.08);
  gap: 30px;
}

.profile-mark {
  display: grid;
  width: 150px;
  height: 190px;
  overflow: hidden;
  border-radius: 80px 80px 18px 18px;
  background: linear-gradient(160deg, var(--violet), var(--mint));
  place-items: center;
}

.profile-mark img {
  width: 82px;
  height: 82px;
  border: 5px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  object-fit: cover;
}

.profile-content > p {
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
}

.profile-content h3 {
  margin: 4px 0 18px;
  font-size: 30px;
}

.profile-content dl {
  display: grid;
  gap: 8px;
}

.profile-content dl div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
}

.profile-content dt {
  color: var(--muted);
  font-size: 12px;
}

.profile-content dd {
  font-size: 13px;
}

.profile-tags,
.story-tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
  gap: 7px;
}

.profile-tags span,
.story-tags b {
  padding: 5px 10px;
  color: var(--violet-deep);
  border-radius: 20px;
  background: var(--violet-soft);
  font-size: 12px;
}

.relation-map {
  border-left: 1px solid #d9d4ec;
  background: #faf9fd;
}

.relation-map h3 {
  margin-top: 5px;
  font-size: 24px;
}

.relation-canvas {
  position: relative;
  min-height: 290px;
  margin-top: 18px;
}

.relation-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 1px;
  background: #b9b0df;
  transform-origin: left;
}

.line-a {
  transform: rotate(35deg);
}

.line-b {
  transform: rotate(145deg);
}

.relation-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 68px;
  height: 68px;
  padding: 0;
  color: var(--violet-deep);
  border: 1px solid #bdb4e4;
  border-radius: 50%;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  place-items: center;
}

.relation-node:hover {
  color: #ffffff;
  border-color: var(--violet);
  background: var(--violet);
}

.node-main {
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  color: #ffffff;
  background: var(--violet);
  font-size: 22px;
  transform: translate(-50%, -50%);
}

.node-a {
  top: 30px;
  right: 4px;
}

.node-b {
  right: 4px;
  bottom: 25px;
}

.story-workshop,
.interface-showcase,
.reviews-section {
  padding: 104px 0;
  background: #ffffff;
}

.compact-heading {
  margin-bottom: 38px;
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #ded8c9;
  background: var(--cream);
}

.story-steps button {
  position: relative;
  display: grid;
  min-height: 124px;
  padding: 22px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  gap: 3px;
}

.story-steps button + button {
  border-left: 1px solid #ded8c9;
}

.story-steps button::after {
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 3px;
  content: "";
  background: transparent;
}

.story-steps button:hover,
.story-steps button.is-active {
  background: #ffffff;
}

.story-steps button.is-active::after {
  background: var(--coral);
}

.story-steps button span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.story-steps button strong {
  font-size: 16px;
}

.story-steps button small {
  color: var(--muted);
  font-size: 12px;
}

.story-stage {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  min-height: 360px;
  margin-top: 16px;
  border: 1px solid #ded8c9;
}

.story-preview {
  display: grid;
  align-items: center;
  padding: 44px;
  border-right: 1px solid #ded8c9;
  background: var(--cream);
}

.story-panel > p {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.story-panel h3 {
  max-width: 570px;
  margin: 14px 0;
  font-size: 30px;
  line-height: 1.35;
}

.story-panel > span {
  display: block;
  max-width: 590px;
  color: var(--muted);
}

.story-tags b {
  color: #7a4c3f;
  background: #fae6df;
  font-weight: 700;
}

.branch-map {
  position: relative;
  min-height: 360px;
  background:
    radial-gradient(circle at center, rgba(117, 103, 213, 0.08), transparent 58%),
    #ffffff;
}

.branch-card {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 128px;
  padding: 12px 16px;
  border: 1px solid #cfc9e6;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.branch-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.branch-start {
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.branch-choice {
  top: 148px;
  left: 50%;
  color: #ffffff;
  border-color: var(--violet);
  background: var(--violet);
  transform: translateX(-50%);
}

.branch-end-a {
  right: 36px;
  bottom: 30px;
}

.branch-end-b {
  bottom: 30px;
  left: 36px;
}

.branch-line {
  position: absolute;
  z-index: 1;
  top: 92px;
  left: 50%;
  width: 1px;
  height: 145px;
  background: #bdb5df;
}

.branch-line-two {
  top: 220px;
  width: 60%;
  height: 80px;
  border-top: 1px solid #bdb5df;
  border-right: 1px solid #bdb5df;
  border-left: 1px solid #bdb5df;
  background: transparent;
  transform: translateX(-50%);
}

.creator-archive {
  background: var(--mint-soft);
}

.archive-desk {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  padding: 28px;
  border: 1px solid #c7e5da;
  background:
    linear-gradient(rgba(83, 201, 164, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 201, 164, 0.08) 1px, transparent 1px),
    #f6fcf9;
  background-size: 28px 28px;
  gap: 18px;
}

.archive-paper {
  position: relative;
  min-height: 310px;
  padding: 30px 25px;
  border: 1px solid #d6dedb;
  background: #fffefa;
  box-shadow: 7px 8px 0 rgba(42, 101, 80, 0.07);
}

.archive-paper::before {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 72px;
  height: 18px;
  content: "";
  background: rgba(117, 103, 213, 0.18);
  transform: translateX(-50%) rotate(-2deg);
}

.archive-paper > span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.archive-paper h3 {
  margin: 12px 0 23px;
  font-size: 23px;
}

.archive-paper dl {
  display: grid;
  gap: 12px;
}

.archive-paper dl div {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding-bottom: 9px;
  border-bottom: 1px solid #e4e4df;
  gap: 9px;
}

.archive-paper dt,
.archive-paper dd,
.archive-paper p {
  font-size: 13px;
}

.archive-paper dt {
  color: var(--muted);
}

.tone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tone-tags button {
  padding: 7px 11px;
  color: #457c69;
  border: 1px solid #b7dfd1;
  border-radius: 20px;
  background: #eff9f5;
  font-size: 12px;
  cursor: pointer;
}

.tone-tags button:hover,
.tone-tags button.is-active {
  color: #ffffff;
  border-color: var(--mint);
  background: var(--mint);
}

.status-line {
  display: grid;
  margin-top: 40px;
  gap: 10px;
}

.status-line i {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--mint) 76%, #e1e6e3 76%);
}

.status-line b {
  color: #477e6b;
  font-size: 12px;
}

.interface-showcase {
  background: #ffffff;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--cream);
}

.screenshot-media {
  display: grid;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #ffffff;
  place-items: center;
}

.screenshot-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screenshot-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border-top: 1px solid var(--line);
  gap: 2px 12px;
}

.screenshot-card figcaption span {
  grid-row: span 2;
  color: var(--violet);
  font-size: 20px;
  font-weight: 900;
}

.screenshot-card figcaption strong {
  font-size: 16px;
}

.screenshot-card figcaption small {
  color: var(--muted);
  font-size: 12px;
}

.support-section {
  background: var(--violet-soft);
}

.support-heading {
  align-items: flex-end;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.faq-item h3,
.website-info h3 {
  margin: 0;
}

.faq-item button,
.website-info button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.faq-item button {
  min-height: 68px;
  padding: 16px 20px;
  text-align: left;
}

.faq-item button span {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-item button b {
  color: var(--violet);
  font-size: 12px;
}

.faq-item button i {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item button[aria-expanded="true"] i::after {
  display: none;
}

.faq-answer,
.website-answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.website-info {
  width: 100%;
  max-width: var(--content-width);
  margin-top: 20px;
  border: 1px solid var(--violet);
  background: #ffffff;
}

.website-info button {
  min-height: 72px;
  padding: 18px 20px;
  text-align: left;
}

.website-info button > span {
  display: flex;
  align-items: center;
  font-size: 16px;
  gap: 12px;
}

.website-info button[aria-expanded="true"] > .icon-arrow {
  transform: rotate(90deg);
}

.reviews-section {
  background: #ffffff;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  position: relative;
  display: grid;
  min-height: 236px;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--violet);
  background: var(--cream);
}

.review-card:nth-child(even) {
  border-top-color: var(--mint);
}

.review-number {
  position: absolute;
  top: 19px;
  right: 23px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
}

.review-card > p {
  align-self: center;
  padding: 32px 0 22px;
}

.review-card footer {
  display: flex;
  align-items: center;
  align-self: end;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  gap: 11px;
}

.review-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--violet);
  font-size: 12px;
  font-weight: 800;
  place-items: center;
}

.review-card footer > span:last-child {
  display: grid;
}

.review-card footer strong {
  font-size: 13px;
}

.review-card time {
  color: var(--muted);
  font-size: 12px;
}

.download-section {
  padding: 72px 0;
  background: var(--violet-soft);
}

.download-panel {
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid #c8c0ec;
  background: #ffffff;
}

.download-brand,
.download-copy,
.download-action {
  display: flex;
  align-items: center;
  padding: 28px;
}

.download-brand,
.download-copy {
  border-right: 1px solid #d8d3eb;
}

.download-brand {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.download-brand img {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
}

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

.download-copy {
  display: grid;
  align-content: center;
}

.download-copy p {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.download-copy h2 {
  margin: 4px 0;
  font-size: 25px;
}

.download-copy span {
  color: var(--muted);
  font-size: 13px;
}

.download-action {
  justify-content: space-between;
  color: #ffffff;
  background: var(--violet);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.download-action:hover {
  background: var(--violet-deep);
}

.site-footer {
  padding: 52px 0 23px;
  color: #ffffff;
  background: var(--night);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
}

.footer-brand strong {
  color: #ffffff;
}

.footer-brand small {
  color: #aeb1bd;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  color: #d0d2dc;
  font-size: 13px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-inner > p {
  padding-top: 17px;
  color: #a7aab6;
  border-top: 1px solid #ffffff;
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 13px;
  border: 0;
  background: var(--violet);
  box-shadow: 0 12px 25px rgba(32, 33, 42, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  place-items: center;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .atlas-board {
    grid-template-columns: 200px 1fr;
  }

  .relation-map {
    grid-column: 1 / -1;
    border-top: 1px solid #d9d4ec;
    border-left: 0;
  }

  .relation-canvas {
    max-width: 520px;
    min-height: 240px;
    margin-right: auto;
    margin-left: auto;
  }

  .archive-desk {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  .section-shell,
  .header-inner,
  .hero-grid,
  .footer-inner {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    padding: 10px 14px 17px;
    border-top: 1px solid var(--line);
    background: #ffffff;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 0 80px;
    text-align: center;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-capabilities,
  .hero-action-row {
    justify-content: center;
  }

  .hero-visual {
    justify-content: center;
    min-height: 630px;
  }

  .hero-visual::before,
  .hero-orbit {
    right: 50%;
    transform: translateX(50%);
  }

  .dot-one {
    right: 25%;
  }

  .dot-two {
    right: 72%;
  }

  .character-atlas,
  .story-workshop,
  .creator-archive,
  .interface-showcase,
  .support-section,
  .reviews-section {
    padding: 82px 0;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 18px;
  }

  .section-heading > p {
    max-width: none;
  }

  .atlas-board {
    grid-template-columns: 1fr;
  }

  .atlas-index {
    border-right: 0;
    border-bottom: 1px solid #d9d4ec;
  }

  .atlas-filters {
    grid-template-columns: repeat(4, 1fr);
  }

  .atlas-filters button {
    text-align: center;
  }

  .story-stage {
    grid-template-columns: 1fr;
  }

  .story-preview {
    border-right: 0;
    border-bottom: 1px solid #ded8c9;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 66px;
  }

  .hero h2 {
    font-size: 31px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-action-row {
    flex-direction: column;
    gap: 15px;
  }

  .text-action {
    justify-content: center;
    width: min(100%, 320px);
  }

  .hero-visual {
    min-height: 590px;
  }

  .phone-frame {
    width: min(100%, 315px);
  }

  .hero-visual::before {
    width: 440px;
    height: 440px;
  }

  .orbit-one {
    width: 390px;
    height: 390px;
  }

  .orbit-two {
    width: 230px;
    height: 230px;
  }

  .section-heading h2 {
    font-size: 43px;
  }

  .atlas-filters {
    grid-template-columns: repeat(2, 1fr);
  }

  .character-document {
    padding: 28px 20px;
  }

  .profile-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .profile-mark {
    width: 130px;
    height: 150px;
  }

  .profile-content dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .profile-tags,
  .story-tags {
    justify-content: center;
  }

  .story-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-steps button:nth-child(3) {
    border-top: 1px solid #ded8c9;
    border-left: 0;
  }

  .story-steps button:nth-child(4) {
    border-top: 1px solid #ded8c9;
  }

  .story-preview {
    padding: 28px;
  }

  .branch-map {
    min-height: 330px;
  }

  .branch-end-a {
    right: 14px;
  }

  .branch-end-b {
    left: 14px;
  }

  .archive-desk {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .archive-paper {
    min-height: 250px;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .screenshot-card figcaption {
    min-height: 104px;
    padding: 12px;
    gap: 2px 8px;
  }

  .screenshot-card figcaption span {
    font-size: 16px;
  }

  .screenshot-card figcaption strong {
    font-size: 13px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 215px;
  }

  .download-section {
    padding: 50px 0;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-brand,
  .download-copy {
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid #d8d3eb;
    text-align: center;
  }

  .download-copy {
    justify-items: center;
  }

  .download-action {
    justify-content: center;
    min-height: 76px;
    gap: 22px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 27px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 12px 22px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .mobile-download {
    padding: 9px 10px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .phone-frame {
    transform: scale(0.94);
  }

  .branch-card {
    min-width: 112px;
    padding: 10px;
  }
}
