/* Established homepage direction: product proof first, one visual idea per section. */

.hero {
  min-height: auto;
  padding: calc(var(--nav-height) + clamp(48px, 6vw, 82px)) 0 clamp(72px, 8vw, 108px);
}

.hero__split {
  display: grid;
  grid-template-columns: minmax(350px, 0.82fr) minmax(570px, 1.18fr);
  gap: clamp(34px, 4vw, 72px);
  align-items: center;
  width: min(100%, 1280px);
}

.hero .hero__content {
  width: auto;
  max-width: 500px;
  margin: 0;
  padding: 0;
  text-align: start;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.25rem, 4.25vw, 4.3rem);
  letter-spacing: -0.035em;
}

.hero__copy {
  max-width: 43ch;
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
}

.hero__actions {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.hero-scene {
  position: relative;
  width: 100%;
  height: clamp(530px, 47vw, 620px);
  margin: 0;
  isolation: isolate;
  animation: hero-scene-arrive 900ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-scene__page {
  position: absolute;
  inset: 8% 11% 8% 14%;
  z-index: 1;
  overflow: hidden;
  padding: clamp(70px, 7vw, 94px) clamp(58px, 6vw, 86px);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-editor-surface);
}

.hero-scene__page > strong {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  line-height: 1.15;
  text-align: center;
}

.hero-scene__page > strong::before,
.hero-scene__page > strong::after {
  height: 1px;
  flex: 1;
  background: rgba(var(--ink-rgb), 0.12);
  content: "";
}

.hero-scene__page p {
  max-width: 37ch;
  margin: 0 auto 12px;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.68;
}

.hero-scene__page u {
  text-decoration: underline dashed;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hero-scene__panel {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  border-radius: 9px;
  color: var(--body);
  background: rgb(var(--white-rgb));
  box-shadow: var(--shadow-editor-panel);
  font-family: var(--sans);
  font-size: 0.7rem;
}

.hero-scene__panel--plan {
  top: 29%;
  left: clamp(-40px, -3vw, -28px);
  width: min(220px, 36%);
}

.hero-scene__panel--context {
  top: 16%;
  right: clamp(-96px, -7vw, -64px);
  width: min(226px, 36%);
  min-height: 214px;
  padding-bottom: 10px;
}

.hero-scene__search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding-inline: 12px;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.1);
  color: var(--body);
}

.hero-scene__search-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-scene__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 36px;
  align-items: center;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.1);
  color: var(--ink);
  font-size: 0.62rem;
  text-align: center;
}

.hero-scene__tabs span:first-child {
  margin: 4px;
  padding-block: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--coral) 18%, var(--paper-2));
}

.hero-scene__scene {
  min-height: 38px;
  padding: 12px 14px 10px 24px;
}

.hero-scene__scene.is-selected {
  color: var(--ink);
  background: color-mix(in srgb, var(--coral) 18%, var(--paper-2));
}

.hero-scene__panel--context > strong {
  display: block;
  margin: 0 12px;
  padding: 13px 2px 11px;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.1);
  color: var(--ink);
  font-weight: var(--weight-action);
}

.hero-scene__entity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 7px 13px;
}

.hero-scene__entity > i {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 8px;
}

.hero-scene__entity--location > i {
  color: #4e79a7;
  background: color-mix(in srgb, #4e79a7 15%, var(--paper-2));
}

.hero-scene__entity--character > i {
  color: #e15759;
  background: color-mix(in srgb, #e15759 15%, var(--paper-2));
}

.hero-scene__entity svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-scene__entity b {
  display: grid;
  gap: 2px;
  color: var(--ink);
  font-weight: var(--weight-display-regular);
}

.hero-scene__entity small {
  color: currentColor;
  font-size: 0.55rem;
  font-weight: var(--weight-emphasis);
  text-transform: uppercase;
}

.hero-scene__entity--location small {
  color: #4e79a7;
}

.hero-scene__entity--character small {
  color: #e15759;
}

.hero-cursor {
  --cursor-color: var(--person-color);
  position: absolute;
  z-index: 5;
  width: 25px;
  height: 25px;
  pointer-events: none;
}

.hero-scene.is-playing .hero-cursor {
  animation: hero-cursor-drift 5.8s var(--ease-out) 1 both;
}

.hero-cursor i {
  position: absolute;
  inset: 0;
  background: var(--cursor-color);
  filter: drop-shadow(0 2px 3px rgba(var(--ink-rgb), 0.18));
  -webkit-mask: url("../assets/pointer.svg") center / contain no-repeat;
  mask: url("../assets/pointer.svg") center / contain no-repeat;
}

.hero-cursor b {
  position: absolute;
  top: 22px;
  left: 14px;
  padding: 3px 6px;
  border-radius: 4px;
  color: rgb(var(--white-rgb));
  background: var(--cursor-color);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: var(--weight-regular);
  line-height: 1.1;
  white-space: nowrap;
}

.hero-cursor--claire {
  top: 39%;
  left: 50%;
}

.hero-cursor--mara {
  top: 61%;
  left: 69%;
  animation-delay: -2s;
}

.hero-cursor--sol {
  top: 75%;
  left: 38%;
  animation-delay: -3.7s;
}

@keyframes hero-cursor-drift {
  0%, 100% { transform: translate(0, 0); }
  42% { transform: translate(5px, -4px); }
  76% { transform: translate(2px, 3px); }
}

@keyframes hero-scene-arrive {
  from { opacity: 0; transform: perspective(1200px) rotateX(4deg) translateY(28px); }
  to { opacity: 1; transform: perspective(1200px) rotateX(0) translateY(0); }
}

.proof-strip {
  padding-block: clamp(88px, 10vw, 132px);
}

.proof-strip__grid {
  gap: 0;
  border-block: 1px solid rgba(var(--ink-rgb), 0.15);
}

.proof-strip article {
  min-height: 278px;
  padding: 28px 22px 32px;
  border: 0;
  border-inline-end: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.proof-strip article:last-child {
  border-inline-end: 0;
}

.proof-strip article::before {
  display: none;
}

.proof-strip article:hover {
  transform: none;
  border-color: rgba(var(--ink-rgb), 0.12);
  background: transparent;
  box-shadow: none;
}

.proof-strip article h3 {
  margin-top: 86px;
  font-size: clamp(1.65rem, 2.25vw, 2rem);
}

.proof-strip .proof-art {
  top: 24px;
  right: 18px;
  display: grid;
}

.home-stories {
  padding-block: clamp(104px, 13vw, 176px);
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--coral-rgb), 0.12), transparent 28%),
    var(--paper-grid),
    var(--paper);
}

.home-stories__intro {
  margin-bottom: clamp(72px, 9vw, 118px);
}

.home-stories__list {
  display: grid;
  gap: clamp(112px, 15vw, 210px);
}

.home-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(54px, 8vw, 128px);
  align-items: center;
}

.home-story--reverse .home-story__copy {
  grid-column: 2;
}

.home-story--reverse {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.home-story--reverse .home-story__media {
  grid-column: 1;
  grid-row: 1;
}

.home-story__copy {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.home-story__copy h3 {
  max-width: 20ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 2.625rem);
  font-weight: var(--weight-title);
  line-height: var(--title-line-height);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.home-story__copy > p {
  max-width: 54ch;
  margin: 0;
  color: var(--body);
  line-height: 1.68;
  text-wrap: pretty;
}

.home-story__media {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(var(--ink-rgb), 0.14);
}

.home-story__media img {
  display: block;
  width: 100%;
  height: auto;
}

.home-story__media-crop {
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.home-story__media--writing .home-story__media-crop img {
  width: 135%;
  max-width: none;
  transform: translateX(-6%);
}

.home-story__media figcaption {
  padding: 13px 16px;
  color: var(--body);
  background: var(--white);
  font-size: 0.78rem;
  line-height: 1.45;
}

.home-manuscript-arch {
  --entity-character: #e15759;
  --entity-location: #4e79a7;
  position: relative;
  min-height: 500px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.home-manuscript-arch__editor,
.home-manuscript-arch__panel {
  border-radius: 10px;
  background: var(--white);
}

.home-manuscript-arch__editor {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 50%;
  width: min(78%, 500px);
  min-height: 330px;
  padding: clamp(38px, 5vw, 58px);
  box-shadow: var(--shadow-editor-surface);
  transform: translateX(-50%);
}

.home-manuscript-arch__editor > .overline {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-manuscript-arch__editor > strong {
  display: block;
  margin-top: 22px;
  padding-block-end: 18px;
  border-block-end: 1px solid rgba(var(--ink-rgb), 0.12);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.12;
  text-align: center;
}

.home-manuscript-arch__editor p {
  margin: 24px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

.home-manuscript-arch__editor u {
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-manuscript-arch__panel {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  width: min(39%, 245px);
  min-height: 182px;
  padding: 14px;
  box-shadow: var(--shadow-editor-panel);
  font-family: var(--sans);
}

.home-manuscript-arch__panel--scenes {
  left: 0;
}

.home-manuscript-arch__panel--context {
  right: 0;
}

.home-manuscript-arch__panel > strong {
  display: block;
  min-height: 34px;
  padding: 4px 6px 10px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: var(--weight-action);
}

.home-manuscript-arch__panel--scenes > span {
  display: block;
  overflow: hidden;
  padding: 9px 10px;
  color: var(--body);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-manuscript-arch__panel--scenes > span.is-selected {
  color: var(--ink);
  background: rgba(var(--coral-rgb), 0.18);
}

.home-manuscript-arch__panel--context > span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 54px;
  padding: 7px 6px;
}

.home-manuscript-arch__panel--context i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-style: normal;
}

.home-manuscript-arch__panel--context i.is-location {
  color: var(--entity-location);
  background: color-mix(in srgb, var(--entity-location) 16%, var(--paper-2));
}

.home-manuscript-arch__panel--context i.is-character {
  color: var(--entity-character);
  background: color-mix(in srgb, var(--entity-character) 16%, var(--paper-2));
}

.home-manuscript-arch__panel--context svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-manuscript-arch__panel--context b {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: var(--weight-display-regular);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-manuscript-arch__panel--context small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: var(--weight-emphasis);
  text-transform: uppercase;
}

.home-world-demo {
  --entity-character: #e15759;
  min-height: 430px;
  margin: 0;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(var(--ink-rgb), 0.14);
}

.home-world-demo blockquote {
  max-width: 30ch;
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.48;
}

.home-world-demo mark {
  padding: 0;
  color: inherit;
  background: transparent;
  text-decoration: underline dashed;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-world-demo__target {
  text-decoration-color: color-mix(in srgb, var(--entity-character) 70%, var(--ink));
}

.home-world-demo__tooltip {
  position: relative;
  width: min(360px, 100%);
  margin-inline-start: clamp(22px, 10%, 44px);
  padding: 16px 20px;
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 4px 8px rgba(var(--ink-rgb), 0.1);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.35;
}

.home-world-demo__tooltip::before {
  position: absolute;
  inset: -6px auto auto 34px;
  width: 10px;
  height: 10px;
  border-block-start: 1px solid rgba(var(--ink-rgb), 0.18);
  border-inline-start: 1px solid rgba(var(--ink-rgb), 0.18);
  background: var(--paper);
  content: "";
  transform: rotate(45deg);
}

.home-world-demo__tooltip-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-world-demo__tooltip-header strong {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: var(--weight-display-regular);
  line-height: 1.2;
}

.home-world-demo__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--entity-character);
  background: color-mix(in srgb, var(--entity-character) 16%, var(--paper-2));
  font-size: 0.62rem;
  font-weight: var(--weight-emphasis);
  text-transform: uppercase;
}

.home-world-demo__chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.home-world-demo__tooltip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}

.home-world-demo__tooltip-chips span {
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.07);
  font-size: 0.72rem;
}

.home-world-demo__tooltip p {
  margin: 10px 0 0;
  color: var(--body);
}

.home-story--delivery {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.home-review-demo {
  position: relative;
  display: grid;
  min-height: 360px;
  padding: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(142px, 12vw, 160px);
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 16%, rgba(var(--ink-glow-rgb), 0.3), transparent 28%),
    var(--ink);
  box-shadow: 0 8px 28px rgba(var(--ink-rgb), 0.18);
}

.home-review-demo__page {
  position: relative;
  align-self: end;
  min-height: 230px;
  padding: clamp(30px, 4vw, 48px);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.home-review-demo__page > p {
  max-width: 34ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.6;
}

.home-collab-pointer {
  --presence-color: var(--person-color);
  position: absolute;
  z-index: 2;
  display: block;
  width: 26px;
  height: 26px;
  pointer-events: none;
}

.home-review-demo.is-playing .home-collab-pointer {
  animation: home-collab-pointer-drift 5.4s var(--ease-out) 1 both;
}

.home-collab-pointer i {
  position: absolute;
  inset: 0;
  background: var(--presence-color);
  filter: drop-shadow(0 2px 3px rgba(var(--ink-rgb), 0.18));
  -webkit-mask: url("../assets/pointer.svg") center / contain no-repeat;
  mask: url("../assets/pointer.svg") center / contain no-repeat;
}

.home-collab-pointer b {
  position: absolute;
  top: 22px;
  padding: 2px 6px;
  border-radius: 4px;
  color: rgb(var(--white-rgb));
  background: var(--presence-color);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: var(--weight-regular);
  line-height: 1.2;
  white-space: nowrap;
}

.home-collab-pointer--mara {
  top: 44%;
  left: 14px;
}

.home-collab-pointer--mara b {
  left: -12px;
}

.home-collab-pointer--sol {
  top: 24%;
  right: 14px;
  animation-delay: -2.2s;
}

.home-collab-pointer--sol b {
  right: -12px;
}

@keyframes home-collab-pointer-drift {
  0%, 100% { transform: translate(0, 0) rotate(-5deg); }
  38% { transform: translate(5px, -4px) rotate(-2deg); }
  72% { transform: translate(2px, 3px) rotate(-7deg); }
}

.home-comment-card {
  position: absolute;
  top: calc(100% - 18px);
  right: clamp(-42px, -2.5vw, -24px);
  bottom: auto;
  display: grid;
  max-width: 250px;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: 8px;
  background: rgb(var(--white-rgb));
  box-shadow: 0 6px 14px rgba(var(--ink-rgb), 0.05);
  font-size: 0.78rem;
}

.home-comment-card header {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.home-comment-card header span { display: grid; gap: 0; }
.home-comment-card header b { line-height: 1.2; }
.home-comment-card header small { color: var(--muted); font-size: 0.7rem; line-height: 1.2; }
.home-comment-card__more { color: var(--muted); fill: currentColor; }
.home-comment-card > p { margin: 0; color: var(--body); font-family: var(--sans); font-size: 0.78rem; line-height: 1.45; }

.home-comment-highlight {
  padding: 0;
  color: inherit;
  background: rgba(var(--coral-rgb), 0.42);
  text-decoration: underline solid var(--coral-ink) 2px;
  text-underline-offset: 0.14em;
  box-decoration-break: slice;
  -webkit-box-decoration-break: slice;
}

.home-export-demo {
  display: grid;
  align-items: center;
  min-height: 430px;
  padding: clamp(28px, 4vw, 48px);
  color: var(--paper-2);
  background: var(--ink);
}

.home-export-demo__workspace {
  display: grid;
  grid-template-columns: minmax(130px, 0.72fr) minmax(230px, 1.28fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.home-export-demo__book {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: 30px 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(var(--white-rgb), 0.14);
}

.home-export-demo__book::after {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 28px;
  height: 3px;
  background: var(--coral);
}

.home-export-demo__book strong {
  margin-top: 38px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 1.5rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.home-export-demo__book small {
  margin-top: 10px;
  color: var(--body);
}

.home-export-demo__book i {
  margin-top: auto;
  padding-top: 42px;
  color: var(--muted);
  font-size: 0.66rem;
  font-style: normal;
}

.home-export-demo__routes {
  display: grid;
  gap: 6px;
  font-family: var(--sans);
}

.home-export-demo__routes > p {
  margin: 0 0 5px;
  color: rgba(var(--white-rgb), 0.66);
  font-size: 0.7rem;
}

.home-export-demo__routes > div {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--white-rgb), 0.16);
  border-radius: 8px;
}

.home-export-demo__routes > div.is-selected {
  border-color: var(--coral);
  background: rgba(var(--coral-rgb), 0.1);
}

.home-export-demo__routes > div span {
  display: grid;
  gap: 3px;
}

.home-export-demo__routes b {
  font-size: 0.76rem;
}

.home-export-demo__routes small {
  color: rgba(var(--white-rgb), 0.62);
  font-size: 0.64rem;
}

.home-export-demo__routes em {
  margin-inline-start: auto;
  color: var(--coral);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: var(--weight-emphasis);
}

.home-export-demo__routes footer {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding-top: 14px;
  border-block-start: 1px solid rgba(var(--white-rgb), 0.2);
}

.home-export-demo__routes footer span {
  color: rgba(var(--white-rgb), 0.62);
  font-size: 0.62rem;
}

.home-export-demo__routes footer b {
  overflow: hidden;
  color: var(--paper-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__split {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero .hero__content {
    max-width: 660px;
  }

  .hero-scene {
    width: min(720px, 100%);
    height: 590px;
    margin-inline: auto;
  }

  .hero-scene__page {
    padding-inline: 110px;
  }

  .hero-scene__panel--plan {
    left: -20px;
    width: 210px;
  }

  .hero-scene__panel--context {
    right: -20px;
    width: 200px;
  }

  .proof-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-block-end: 0;
  }

  .proof-strip article {
    border-block-end: 1px solid rgba(var(--ink-rgb), 0.12);
  }

  .proof-strip article:nth-child(2n) {
    border-inline-end: 0;
  }

  .home-story,
  .home-story--delivery {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-story--reverse .home-story__copy,
  .home-story--reverse .home-story__media {
    grid-column: 1;
    grid-row: auto;
  }

  .home-story--reverse .home-story__copy {
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 46px) 0 72px;
  }

  .hero__split {
    gap: 38px;
  }

  .hero .hero__content {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 12vw, 3.7rem);
  }

  .hero__copy {
    margin-top: 22px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero-scene {
    width: 100%;
    height: 720px;
  }

  .hero-scene__page {
    inset: 5% 4% 4% 6%;
    padding: 165px 28px 240px;
  }

  .hero-scene__page > strong {
    gap: 10px;
    margin-bottom: 28px;
    font-size: 1.32rem;
  }

  .hero-scene__page p {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .hero-scene__page p:last-child {
    display: none;
  }

  .hero-scene__panel {
    font-size: 0.62rem;
  }

  .hero-scene__panel--plan {
    top: auto;
    bottom: 0;
    left: 0;
    width: min(220px, 66%);
  }

  .hero-scene__panel--context {
    top: 0;
    right: 0;
    width: min(204px, 61%);
    min-height: 202px;
  }

  .hero-scene__search {
    min-height: 36px;
    padding-inline: 9px;
  }

  .hero-scene__search-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .hero-scene__tabs {
    min-height: 32px;
    font-size: 0.55rem;
  }

  .hero-scene__scene {
    min-height: 34px;
    padding: 10px 10px 8px 16px;
  }

  .hero-scene__panel--context > strong {
    padding-block: 10px;
  }

  .hero-scene__entity {
    min-height: 48px;
    padding: 6px 10px;
  }

  .hero-scene__entity > i {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .hero-cursor--claire {
    top: 36%;
    left: 38%;
  }

  .hero-cursor--mara {
    top: 49%;
    left: 72%;
  }

  .hero-cursor--sol {
    top: 61%;
    left: 43%;
  }

  .proof-strip__grid {
    grid-template-columns: 1fr;
  }

  .proof-strip article,
  .proof-strip article:nth-child(2n) {
    border-inline-end: 0;
  }

  .proof-strip article h3 {
    margin-top: 78px;
  }

  .home-stories {
    padding-block: 94px;
  }

  .home-stories__list {
    gap: 104px;
  }

  .home-story__copy h3 {
    font-size: 2rem;
  }

  .home-story__media {
    border-radius: 10px;
  }

  .home-story__media--writing .home-story__media-crop {
    aspect-ratio: 4 / 3;
  }

  .home-story__media--writing .home-story__media-crop img {
    width: 190%;
    max-width: none;
    transform: translateX(-8%);
  }

  .home-manuscript-arch {
    display: grid;
    min-height: 0;
    gap: 14px;
  }

  .home-manuscript-arch__editor,
  .home-manuscript-arch__panel {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .home-manuscript-arch__editor {
    padding: 34px 28px 42px;
  }

  .home-manuscript-arch__panel--scenes {
    width: 94%;
    margin-inline-end: auto;
    margin-top: -28px;
  }

  .home-manuscript-arch__panel--context {
    width: 94%;
    margin-inline-start: auto;
    margin-top: -8px;
  }

  .home-world-demo {
    min-height: 0;
  }

  .home-world-demo__tooltip::before {
    left: 60px;
  }

  .home-comment-card {
    right: -14px;
  }

  .home-collab-pointer--mara {
    top: auto;
    bottom: 4px;
    left: 8px;
  }

  .home-collab-pointer--mara b {
    left: -2px;
  }

  .home-export-demo {
    min-height: 0;
    padding: 26px;
  }

  .home-export-demo__workspace {
    grid-template-columns: 1fr;
  }

  .home-export-demo__book {
    width: min(180px, 72%);
    min-height: 220px;
    margin-inline: auto;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-scene,
  .home-story__media,
  .home-review-demo {
    animation: none;
    transform: none;
  }

  .home-collab-pointer {
    animation: none;
  }

  .hero-cursor {
    animation: none;
  }
}
