:root {
  color-scheme: light;
  --story-ink: #282533;
  --story-muted: #625f6b;
  --story-violet: #6e50bf;
  --story-violet-dark: #4d378c;
  --story-lilac: #f0ebfb;
  --story-line: #e7e2f0;
  --story-paper: #fff;
  --story-night: #302747;
}

body {
  background: #faf9fc;
  color: var(--story-ink);
}

.story-topbar {
  width: min(100% - 48px, 1160px);
  border: 0;
  padding-block: 22px;
}

.story-topbar nav {
  display: flex;
  gap: 26px;
}

.story-topbar nav a {
  color: var(--story-muted);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}

.story-topbar nav a:hover,
.story-topbar nav a:focus-visible,
.story-difference a:hover,
.story-difference a:focus-visible {
  color: var(--story-violet-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

main {
  width: min(100% - 48px, 1160px);
  padding-block: 26px 80px;
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: clamp(38px, 7vw, 92px);
  padding: clamp(34px, 6vw, 78px) clamp(28px, 6vw, 72px);
  border: 1px solid #ece8f3;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 92% 9%, rgba(221, 211, 250, .74), transparent 34%),
    linear-gradient(135deg, #fff 5%, #f7f4ff 100%);
  box-shadow: 0 24px 70px rgba(53, 39, 87, .08);
}

.story-hero .eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--story-violet);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.story-hero h1 {
  max-width: 620px;
  margin-top: 10px;
  color: var(--story-ink);
  font-size: clamp(2.35rem, 5.1vw, 4.35rem);
  letter-spacing: -.055em;
  line-height: 1.04;
}

.story-hero .lead {
  color: var(--story-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-actions .button {
  margin: 0;
  padding: 12px 17px;
  border: 1px solid var(--story-violet);
  background: var(--story-violet);
  transition: transform .18s ease, box-shadow .18s ease;
}

.hero-actions .button:hover {
  box-shadow: 0 8px 20px rgba(78, 55, 140, .2);
  transform: translateY(-2px);
}

.hero-actions .button.secondary {
  border-color: #d9d1ec;
  color: var(--story-violet-dark);
}

.hero-note {
  margin: 14px 0 0;
  color: #77727f;
  font-size: .82rem;
}

.story-preview {
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 50px rgba(46, 33, 79, .16);
  transform: rotate(1.2deg);
}

.preview-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 2px 16px;
  color: #4d4857;
  font-size: .85rem;
  font-weight: 750;
}

.preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9a7de3;
  box-shadow: 0 0 0 4px #eee9fa;
}

.preview-label {
  margin-left: auto;
  color: #837d8d;
  font-size: .68rem;
  font-weight: 600;
}

.preview-scene {
  padding: 21px 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, #372d4f, #574678);
  color: white;
}

.scene-location {
  margin: 0 0 17px;
  color: #c9b9f4;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.scene-copy {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.6;
}

.scene-dialogue {
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: #eee8fa;
  font-size: .91rem;
  line-height: 1.6;
}

.scene-dialogue span {
  display: block;
  margin-bottom: 4px;
  color: #d2c4f7;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.preview-choices {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.preview-choices div {
  padding: 10px 12px;
  border: 1px solid #e7e2ef;
  border-radius: 11px;
  background: #fff;
  color: #474351;
  font-size: .82rem;
  font-weight: 650;
}

.preview-choices span {
  margin-right: 9px;
  color: #8e77c9;
  font-size: .72rem;
  font-weight: 800;
}

.preview-caption {
  margin: 12px 2px 0;
  color: #77727f;
  font-size: .72rem;
  line-height: 1.5;
}

.definition-section,
.story-difference {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: 44px;
  margin: 76px auto;
  padding-inline: clamp(4px, 5vw, 58px);
}

.definition-section h2,
.section-heading h2,
.story-difference h2,
.closing-cta h2 {
  margin: 0;
  color: var(--story-ink);
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  letter-spacing: -.04em;
}

.definition-copy {
  max-width: 700px;
  margin: 4px 0 0;
  color: var(--story-muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.steps-section {
  padding: 62px clamp(24px, 5vw, 62px);
  border: 1px solid var(--story-line);
  border-radius: 28px;
  background: #fff;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 30px;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--story-muted);
}

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

.step-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid #eeeaf5;
  border-radius: 20px;
  background: linear-gradient(160deg, #fff, #faf8ff);
}

.step-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--story-lilac);
  color: var(--story-violet-dark);
  font-size: .75rem;
  font-weight: 850;
}

.step-card h3 {
  margin: 18px 0 8px;
  color: var(--story-ink);
  font-size: 1.08rem;
}

.step-card p {
  margin: 0;
  color: var(--story-muted);
  font-size: .92rem;
  line-height: 1.7;
}

.story-difference {
  align-items: center;
  gap: 52px;
  margin-block: 82px;
}

.difference-copy > p:not(.section-kicker) {
  color: var(--story-muted);
  line-height: 1.8;
}

.difference-points {
  display: grid;
  gap: 12px;
}

.difference-points > div {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--story-line);
  border-radius: 17px;
  background: #fff;
}

.point-icon {
  display: grid;
  flex: 0 0 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--story-lilac);
  color: var(--story-violet-dark);
  font-size: 1rem;
  font-weight: 800;
}

.difference-points p {
  margin: 0;
  color: var(--story-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.difference-points strong { color: var(--story-ink); }

.faq-section {
  padding: 58px clamp(22px, 5vw, 60px);
  border-radius: 28px;
  background: #f0edfa;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid rgba(103, 78, 169, .13);
  border-radius: 15px;
  background: rgba(255, 255, 255, .82);
}

.faq-list summary {
  color: var(--story-ink);
  cursor: pointer;
  font-weight: 750;
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--story-muted);
  font-size: .93rem;
}

.closing-cta {
  margin-top: 72px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 28px;
  background: radial-gradient(ellipse at 100% 0, #59467d, transparent 40%), var(--story-night);
  color: #fff;
  text-align: center;
}

.closing-cta .section-kicker { color: #d7c7ff; }
.closing-cta h2 { color: #fff; }
.closing-cta > p:not(.section-kicker) { color: #e5dff0; }
.closing-cta .hero-actions { justify-content: center; }
.closing-cta .button.secondary { border-color: #fff; }

.story-footer {
  width: min(100% - 48px, 1160px);
}

@media (max-width: 820px) {
  .story-hero { grid-template-columns: 1fr; }
  .story-preview { max-width: 560px; margin-inline: auto; transform: none; }
  .definition-section, .story-difference { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 600px) {
  .story-topbar, main, .story-footer { width: min(100% - 28px, 1160px); }
  .story-topbar { align-items: flex-start; flex-wrap: wrap; }
  .story-topbar nav { width: 100%; gap: 18px; }
  .story-topbar nav a { font-size: .84rem; }
  main { padding-top: 16px; }
  .story-hero { gap: 28px; padding: 29px 21px; border-radius: 24px; }
  .story-hero h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .story-hero .lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { text-align: center; }
  .story-preview { padding: 15px; border-radius: 19px; }
  .preview-scene { padding: 18px; }
  .scene-copy { font-size: 1rem; }
  .definition-section, .story-difference { margin-block: 56px; padding-inline: 5px; }
  .steps-section, .faq-section { padding: 34px 19px; border-radius: 22px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .closing-cta { margin-top: 56px; padding: 36px 20px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
