:root {
  --ink: #0b1018;
  --ink-soft: #172133;
  --paper: #f8f3e8;
  --white: #fffdfa;
  --mint: #4ee6b3;
  --coral: #ff6f77;
  --lemon: #ffd457;
  --sky: #69b7ff;
  --line: rgba(248, 243, 232, 0.2);
  --content: 1380px;
  color-scheme: dark;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  text-rendering: optimizeLegibility;
}

main,
section {
  min-width: 0;
}

body,
button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

[hidden],
[data-webtoon-access="visitor"] [data-admin-only] {
  display: none !important;
}

.landing-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 2vw, 40px);
  border-bottom: 1px solid transparent;
  background: rgba(11, 16, 24, 0.34);
  backdrop-filter: blur(18px);
  transition: min-height 220ms ease, background 220ms ease, border-color 220ms ease;
}

.landing-header.is-compact {
  min-height: 62px;
  border-color: rgba(248, 243, 232, 0.12);
  background: rgba(11, 16, 24, 0.9);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.landing-brand > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--paper);
  background: var(--mint);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 950;
}

.landing-brand strong {
  font-weight: 850;
}

.landing-header-actions,
.landing-account {
  display: flex;
  min-width: 0;
  align-items: center;
}

.landing-header-actions {
  justify-content: flex-end;
  gap: 18px;
}

.landing-account {
  gap: 5px;
}

.landing-account .account-name,
.landing-account .acorn-pill,
.landing-account .account-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248, 243, 232, 0.24);
  border-radius: 2px;
  padding: 6px 9px;
  background: rgba(248, 243, 232, 0.06);
  color: var(--paper);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.landing-account .account-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-account .acorn-pill {
  border-color: rgba(255, 212, 87, 0.46);
  background: rgba(255, 212, 87, 0.12);
  color: var(--lemon);
}

.landing-account .account-button {
  cursor: pointer;
}

.landing-account .account-button:hover,
.landing-account .account-button:focus-visible {
  border-color: var(--mint);
}

.landing-account .account-button.muted {
  background: var(--mint);
  color: var(--ink);
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.88rem;
  font-weight: 760;
}

.landing-nav a {
  position: relative;
  padding: 9px 0;
}

.landing-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.landing-nav a:hover::after,
.landing-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.landing-nav .nav-studio {
  border: 1px solid var(--paper);
  padding: 10px 15px;
  background: var(--paper);
  color: var(--ink);
}

.landing-nav .nav-studio::after {
  display: none;
}

.landing-hero {
  position: relative;
  display: grid;
  width: min(100%, 1700px);
  min-height: 96svh;
  margin: 0 auto;
  grid-template-columns: minmax(370px, 0.74fr) minmax(620px, 1.26fr);
  align-items: center;
  gap: 42px;
  padding: 114px 34px 72px;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(248, 243, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 243, 232, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
}

.hero-copy {
  position: relative;
  z-index: 5;
  min-width: 0;
  max-width: 620px;
}

.hero-kicker,
.section-index,
.beat-label,
.closing-eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker span {
  display: inline-block;
  margin-right: 9px;
  padding: 5px 7px;
  background: var(--coral);
  color: var(--ink);
}

.hero-copy h1 {
  margin: 0;
  font-size: 5.75rem;
  font-weight: 940;
  line-height: 0.98;
  letter-spacing: 0;
  word-break: keep-all;
}

.hero-copy h1 span {
  display: block;
}

.hero-title-accent {
  color: var(--lemon);
}

.hero-summary {
  max-width: 560px;
  margin: 30px 0 0;
  color: rgba(248, 243, 232, 0.72);
  font-size: 1.08rem;
  font-weight: 560;
  line-height: 1.78;
  word-break: keep-all;
}

.hero-flow {
  display: grid;
  gap: 12px;
  max-width: 590px;
  margin-top: 24px;
  border-top: 1px solid rgba(248, 243, 232, 0.2);
  border-bottom: 1px solid rgba(248, 243, 232, 0.2);
  padding: 16px 0;
}

.hero-flow-idea {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.hero-flow-idea span {
  color: var(--mint);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 850;
}

.hero-flow-idea strong {
  min-width: 0;
  overflow: hidden;
  color: rgba(248, 243, 232, 0.88);
  font-size: 0.84rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-flow li {
  position: relative;
  min-width: 0;
  border-top: 2px solid rgba(248, 243, 232, 0.18);
  padding: 10px 8px 0 0;
  color: rgba(248, 243, 232, 0.46);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.35;
  transition: border-color 220ms ease, color 220ms ease;
}

.hero-flow li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  background: rgba(248, 243, 232, 0.36);
  transition: background 220ms ease, transform 220ms ease;
}

.hero-flow li span {
  display: block;
  margin-bottom: 3px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
}

.hero-flow li.is-active {
  border-color: var(--mint);
  color: var(--paper);
}

.hero-flow li.is-active::before {
  background: var(--mint);
  transform: scale(1.35);
}

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

.landing-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--paper);
  border-radius: 4px;
  padding: 0 22px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.landing-button:hover,
.landing-button:focus-visible {
  transform: translateY(-3px);
}

.landing-button.primary {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
  box-shadow: 8px 8px 0 rgba(78, 230, 179, 0.14);
}

.landing-button.secondary {
  background: rgba(11, 16, 24, 0.54);
}

.landing-button.light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.hero-visual {
  --pointer-x: 0;
  --pointer-y: 0;
  position: relative;
  display: grid;
  min-height: 690px;
  grid-template-columns: 0.8fr 1.14fr 0.86fr;
  align-items: stretch;
  gap: 10px;
  perspective: 1300px;
  transform: rotateX(calc(var(--pointer-y) * -2deg)) rotateY(calc(var(--pointer-x) * 2deg));
  transform-style: preserve-3d;
  transition: transform 130ms ease-out;
}

.hero-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(248, 243, 232, 0.36);
  border-radius: 3px;
  background: var(--ink-soft);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  isolation: isolate;
  transform: translateY(var(--panel-shift, 0));
  transition: flex 450ms cubic-bezier(0.22, 1, 0.36, 1), opacity 450ms ease, transform 450ms ease;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(11, 16, 24, 0.04), rgba(11, 16, 24, 0.72));
  pointer-events: none;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 450ms ease;
}

.panel-everyday {
  --panel-shift: 44px;
}

.panel-everyday img {
  width: 220%;
  max-width: none;
  object-position: 0 center;
}

.panel-awakening {
  --panel-shift: -8px;
  z-index: 2;
}

.panel-awakening img {
  width: 180%;
  max-width: none;
  margin-left: -51%;
  object-position: center;
}

.panel-world {
  --panel-shift: 70px;
}

.panel-world img {
  width: 220%;
  max-width: none;
  margin-left: -120%;
  object-position: right center;
}

.hero-panel.is-active img {
  transform: scale(1.01);
  filter: saturate(1.12) brightness(1.05);
}

.panel-number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.82);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 800;
}

.comic-bubble {
  position: absolute;
  z-index: 6;
  max-width: min(240px, calc(100% - 28px));
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 11px 13px;
  background: rgba(255, 253, 250, 0.98);
  color: #0b1018;
  -webkit-text-fill-color: #0b1018;
  font-size: 0.93rem;
  font-weight: 850;
  line-height: 1.45;
  word-break: keep-all;
  box-shadow: 5px 5px 0 rgba(11, 16, 24, 0.6);
  text-shadow: none;
}

.comic-bubble::selection {
  background: #1769d2;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.comic-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--white);
  transform: rotate(45deg);
}

.bubble-left {
  top: 17%;
  left: 14px;
}

.bubble-left::after {
  left: 24px;
}

.bubble-center {
  top: 10%;
  right: 14px;
}

.bubble-center::after {
  right: 28px;
}

.bubble-right {
  right: 14px;
  bottom: 17%;
}

.bubble-right::after {
  right: 25px;
}

.hero-panel .comic-bubble {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 260ms ease, transform 260ms ease;
}

.hero-panel.is-active .comic-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-rail {
  position: absolute;
  right: 0;
  bottom: -28px;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(248, 243, 232, 0.12);
}

.hero-rail span {
  display: block;
  width: var(--hero-progress, 0%);
  height: 100%;
  background: var(--mint);
  transition: width 100ms linear;
}

.hero-footer {
  position: absolute;
  right: 34px;
  bottom: 20px;
  left: 34px;
  display: flex;
  justify-content: space-between;
  color: rgba(248, 243, 232, 0.45);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
}

.scroll-cue::after {
  content: "";
  display: inline-block;
  width: 54px;
  height: 1px;
  margin: 0 0 3px 10px;
  background: var(--mint);
  animation: scroll-cue 1.8s ease-in-out infinite;
  transform-origin: left;
}

@keyframes scroll-cue {
  0%, 100% { transform: scaleX(0.25); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

.story-section {
  display: grid;
  grid-template-columns: minmax(440px, 0.9fr) minmax(480px, 1.1fr);
  background: var(--paper);
  color: var(--ink);
}

.story-sticky {
  position: sticky;
  top: 0;
  display: grid;
  height: 100svh;
  grid-template-rows: auto 1fr;
  align-content: center;
  gap: 22px;
  padding: 82px 7vw 58px;
  overflow: hidden;
}

.section-heading h2,
.dialogue-heading h2,
.workflow-intro h2,
.guide-copy h2,
.closing-section h2 {
  margin: 0;
  font-size: 4.4rem;
  font-weight: 940;
  line-height: 1.04;
  letter-spacing: 0;
  word-break: keep-all;
}

.story-section .section-index,
.dialogue-section .section-index,
.workflow-section .section-index {
  color: #18785d;
}

.story-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--ink);
  box-shadow: 18px 18px 0 rgba(11, 16, 24, 0.1);
}

.story-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.story-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 52%, rgba(11, 16, 24, 0.88));
}

.story-art img {
  width: 210%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--story-position, 18%) center;
  transform: translateX(var(--story-drift, 0)) scale(1.05);
  transition: object-position 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.focus-frame {
  position: absolute;
  top: 17%;
  left: 16%;
  z-index: 3;
  width: 38%;
  height: 52%;
  border: 1px solid rgba(255, 212, 87, 0.8);
  pointer-events: none;
  transition: inset 550ms ease, width 550ms ease, height 550ms ease;
}

.focus-frame::before,
.focus-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--lemon);
}

.focus-frame::before {
  top: -3px;
  left: -3px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.focus-frame::after {
  right: -3px;
  bottom: -3px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.story-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 4;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--white);
}

.story-caption span {
  color: var(--mint);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
}

.story-caption p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 850;
  text-align: right;
}

.story-beats {
  border-left: 1px solid rgba(11, 16, 24, 0.12);
}

.story-beat {
  display: flex;
  min-height: 92svh;
  flex-direction: column;
  justify-content: center;
  padding: 90px 9vw 90px 7vw;
  border-bottom: 1px solid rgba(11, 16, 24, 0.1);
  opacity: 0.36;
  transition: opacity 350ms ease;
}

.story-beat.is-active {
  opacity: 1;
}

.story-beat h3 {
  max-width: 760px;
  margin: 0;
  font-size: 3.3rem;
  line-height: 1.12;
  letter-spacing: 0;
  word-break: keep-all;
}

.story-beat > p:last-child {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(11, 16, 24, 0.64);
  font-size: 1.05rem;
  line-height: 1.8;
  word-break: keep-all;
}

.beat-label {
  color: #18785d;
}

.dialogue-section {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(350px, 0.62fr) minmax(620px, 1.38fr);
  align-items: center;
  gap: 64px;
  padding: 120px max(34px, calc((100vw - var(--content)) / 2));
  background: #dcecff;
  color: var(--ink);
}

.dialogue-heading > p:not(.section-index) {
  max-width: 480px;
  margin: 26px 0 0;
  color: rgba(11, 16, 24, 0.65);
  line-height: 1.75;
  word-break: keep-all;
}

.language-switch {
  display: inline-grid;
  margin-top: 30px;
  border: 1px solid var(--ink);
  grid-template-columns: repeat(3, 1fr);
}

.language-switch button {
  min-width: 76px;
  min-height: 44px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 850;
  cursor: pointer;
}

.language-switch button:last-child {
  border-right: 0;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.dialogue-comic {
  display: grid;
  height: 700px;
  grid-template-columns: 0.86fr 0.14fr 1.18fr;
  grid-template-rows: 0.82fr 1.18fr;
  gap: 10px;
}

.dialogue-panel {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--ink);
}

.dialogue-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dialogue-panel:hover img {
  transform: scale(1.035);
}

.dialogue-panel-a {
  grid-row: 1 / 3;
}

.dialogue-panel-a img {
  width: 220%;
  max-width: none;
  object-position: left center;
}

.dialogue-panel-b {
  grid-column: 2 / 4;
}

.dialogue-panel-b img {
  width: 180%;
  max-width: none;
  margin-left: -42%;
  object-position: center 32%;
}

.dialogue-panel-c {
  grid-column: 2 / 4;
}

.dialogue-panel-c img {
  width: 175%;
  max-width: none;
  margin-left: -73%;
  object-position: right center;
}

.dialogue-gap {
  display: none;
}

.dialogue-comic .comic-bubble {
  transition: opacity 180ms ease, transform 180ms ease;
}

.dialogue-comic.is-switching .comic-bubble {
  opacity: 0;
  transform: translateY(8px);
}

.dialogue-bubble-a {
  top: 9%;
  left: 7%;
}

.dialogue-bubble-a::after,
.dialogue-bubble-b::after {
  left: 26px;
}

.dialogue-bubble-b {
  top: 12%;
  left: 7%;
}

.dialogue-bubble-c {
  right: 7%;
  bottom: 10%;
}

.dialogue-bubble-c::after {
  right: 25px;
}

.workflow-section {
  padding: 130px max(34px, calc((100vw - var(--content)) / 2));
  background: var(--white);
  color: var(--ink);
}

.workflow-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 80px;
}

.workflow-line {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}

.workflow-line li {
  position: relative;
  min-height: 310px;
  padding: 26px 30px 30px 0;
  border-right: 1px solid rgba(11, 16, 24, 0.15);
}

.workflow-line li:not(:first-child) {
  padding-left: 30px;
}

.workflow-line li:last-child {
  border-right: 0;
}

.workflow-line li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  background: var(--step-color, var(--mint));
}

.workflow-line li:nth-child(2) { --step-color: var(--lemon); }
.workflow-line li:nth-child(3) { --step-color: var(--coral); }
.workflow-line li:nth-child(4) { --step-color: var(--sky); }
.workflow-line li:nth-child(5) { --step-color: var(--mint); }

.workflow-line span {
  color: rgba(11, 16, 24, 0.4);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.workflow-line strong {
  display: block;
  margin-top: 74px;
  font-size: 1.7rem;
}

.workflow-line p {
  max-width: 240px;
  margin: 14px 0 0;
  color: rgba(11, 16, 24, 0.62);
  line-height: 1.7;
  word-break: keep-all;
}

.guide-section {
  display: grid;
  min-height: 94svh;
  grid-template-columns: minmax(360px, 0.7fr) minmax(560px, 1.3fr);
  align-items: center;
  gap: 80px;
  padding: 110px max(34px, calc((100vw - var(--content)) / 2));
  background: var(--lemon);
  color: var(--ink);
}

.guide-copy .section-index {
  color: #9b253e;
}

.guide-copy > p:not(.section-index) {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(11, 16, 24, 0.68);
  line-height: 1.78;
  word-break: keep-all;
}

.guide-copy .landing-button {
  margin-top: 30px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: 8px 8px 0 rgba(155, 37, 62, 0.22);
}

.guide-preview {
  position: relative;
  display: grid;
  min-height: 620px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0.8fr 1.2fr;
  gap: 8px;
  padding: 8px;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 22px 22px 0 rgba(155, 37, 62, 0.2);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.guide-preview:hover,
.guide-preview:focus-visible {
  transform: translate(-4px, -4px);
  box-shadow: 30px 30px 0 rgba(155, 37, 62, 0.24);
}

.guide-preview-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  padding: 7px 9px;
  background: var(--paper);
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
}

.guide-preview-cut {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 24px;
  background-color: var(--ink-soft);
  background-image: url("./assets/webtoon-studio-hero-v1.webp");
  background-repeat: no-repeat;
  background-size: auto 125%;
}

.guide-preview-cut::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(11, 16, 24, 0.78));
}

.guide-preview-cut span {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 850;
}

.cut-one {
  background-position: 2% center;
}

.cut-two {
  background-position: 52% center;
}

.cut-three {
  grid-column: 1 / 3;
  background-position: 95% center;
  background-size: 150% auto;
}

.guide-preview > strong {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  border: 1px solid var(--ink);
  padding: 12px 16px;
  background: var(--mint);
  color: var(--ink);
}

.closing-section {
  min-height: 92svh;
  padding: 150px max(34px, calc((100vw - var(--content)) / 2));
  background: var(--coral);
  color: var(--ink);
}

.closing-eyebrow {
  color: var(--ink);
}

.closing-section h2 {
  display: grid;
  max-width: 1300px;
  gap: 24px;
  font-size: 7.5rem;
  line-height: 0.96;
}

.closing-section h2 span {
  display: block;
}

.closing-section h2 .closing-title-main {
  color: var(--ink);
}

.closing-section h2 .closing-title-accent {
  color: var(--paper);
}

.closing-actions {
  align-items: center;
  margin-top: 60px;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  padding: 14px 4px 8px;
  font-weight: 850;
}

.landing-footer {
  display: grid;
  min-height: 110px;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px max(34px, calc((100vw - var(--content)) / 2));
  background: var(--ink);
  color: rgba(248, 243, 232, 0.58);
  font-size: 0.76rem;
}

.landing-footer p {
  margin: 0;
  text-align: center;
}

.landing-footer span {
  text-align: right;
}

.mobile-dock {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .landing-hero {
    grid-template-columns: minmax(330px, 0.78fr) minmax(540px, 1.22fr);
  }

  .hero-copy h1 {
    font-size: 4.75rem;
  }

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

  .section-heading h2,
  .dialogue-heading h2,
  .workflow-intro h2,
  .guide-copy h2 {
    font-size: 3.7rem;
  }

  .story-beat h3 {
    font-size: 2.8rem;
  }

  .closing-section h2 {
    gap: 18px;
    font-size: 6.2rem;
  }
}

@media (max-width: 980px) {
  .landing-header {
    padding-right: 22px;
    padding-left: 22px;
  }

  .landing-nav a:not(.nav-studio) {
    display: none;
  }

  .landing-header-actions {
    gap: 8px;
  }

  .landing-account .account-name {
    display: none;
  }

  .landing-hero {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
    padding: 132px 22px 88px;
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
  }

  .hero-copy h1 {
    font-size: 4.15rem;
  }

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

  .hero-footer {
    display: none;
  }

  .story-section {
    display: block;
  }

  .story-sticky {
    z-index: 4;
    height: 74svh;
    padding: 70px 22px 30px;
    background: var(--paper);
  }

  .section-heading h2,
  .dialogue-heading h2,
  .workflow-intro h2,
  .guide-copy h2 {
    font-size: 3.35rem;
  }

  .story-beats {
    position: relative;
    z-index: 5;
    border-left: 0;
    background: var(--paper);
  }

  .story-beat {
    min-height: 68svh;
    padding: 74px 9vw;
  }

  .dialogue-section,
  .guide-section {
    grid-template-columns: 1fr;
    gap: 58px;
    padding: 100px 22px;
  }

  .dialogue-comic {
    height: 760px;
  }

  .workflow-section,
  .closing-section {
    padding-right: 22px;
    padding-left: 22px;
  }

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

  .workflow-line li:nth-child(2) {
    border-right: 0;
  }

  .workflow-line li:nth-child(3),
  .workflow-line li:nth-child(4),
  .workflow-line li:nth-child(5) {
    border-top: 1px solid rgba(11, 16, 24, 0.15);
  }

  .workflow-line li:nth-child(4) {
    border-right: 0;
  }

  .mobile-dock {
    position: fixed;
    right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 14px;
    z-index: 96;
    display: grid;
    min-height: 58px;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    border: 1px solid rgba(248, 243, 232, 0.24);
    background: rgba(11, 16, 24, 0.94);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  .mobile-dock a {
    display: grid;
    min-width: 0;
    place-items: center;
    border-right: 1px solid rgba(248, 243, 232, 0.14);
    color: rgba(248, 243, 232, 0.72);
    font-size: 0.8rem;
    font-weight: 850;
  }

  .mobile-dock a:last-child {
    border-right: 0;
  }

  .mobile-dock a.is-primary {
    background: var(--mint);
    color: var(--ink);
  }

  .landing-footer {
    padding-bottom: 94px;
  }

  .closing-section h2 {
    font-size: 5.2rem;
  }
}

@media (max-width: 640px) {
  .landing-header {
    width: 100vw;
    max-width: 100vw;
  }

  .landing-header {
    min-height: 62px;
  }

  .landing-brand strong {
    display: none;
  }

  .landing-brand > span {
    width: 34px;
    height: 34px;
  }

  .landing-nav {
    gap: 0;
  }

  .landing-nav .nav-studio {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .landing-account .account-button.muted {
    display: none;
  }

  .landing-account .account-name,
  .landing-account .acorn-pill,
  .landing-account .account-button {
    min-height: 32px;
    padding: 5px 7px;
    font-size: 0.68rem;
  }

  .landing-account {
    gap: 3px;
  }

  .landing-header-actions {
    gap: 5px;
  }

  .landing-hero {
    width: 100vw;
    max-width: 100vw;
    gap: 42px;
    padding-top: 104px;
    padding-bottom: 72px;
    overflow: hidden;
  }

  .hero-kicker,
  .section-index,
  .beat-label,
  .closing-eyebrow {
    font-size: 0.7rem;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
    line-height: 1.02;
  }

  .hero-summary {
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
    font-size: 0.98rem;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-flow {
    gap: 10px;
    margin-top: 20px;
    padding: 13px 0;
  }

  .hero-flow-idea {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-flow-idea strong {
    font-size: 0.8rem;
  }

  .hero-flow li {
    padding-right: 5px;
    font-size: 0.66rem;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .landing-button {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 570px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 0.8fr);
    gap: 5px;
    transform: none;
  }

  .hero-panel {
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
  }

  .panel-everyday {
    --panel-shift: 24px;
  }

  .panel-world {
    --panel-shift: 34px;
  }

  .comic-bubble {
    max-width: calc(100% - 14px);
    padding: 8px 9px;
    font-size: 0.72rem;
  }

  .hero-panel .comic-bubble {
    right: 7px;
    left: 7px;
  }

  .hero-rail {
    bottom: -18px;
  }

  .story-sticky {
    height: 62svh;
    gap: 16px;
    padding-top: 54px;
  }

  .section-heading h2,
  .dialogue-heading h2,
  .workflow-intro h2,
  .guide-copy h2 {
    font-size: 2.65rem;
  }

  .story-stage {
    min-height: 0;
  }

  .story-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .story-beat {
    min-height: 48svh;
    padding: 48px 22px;
  }

  .story-beat h3 {
    font-size: 2.15rem;
  }

  .story-beat > p:last-child {
    font-size: 0.96rem;
  }

  .dialogue-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .language-switch {
    display: grid;
    width: 100%;
  }

  .language-switch button {
    min-width: 0;
  }

  .dialogue-comic {
    display: flex;
    height: auto;
    flex-direction: column;
    gap: 10px;
  }

  .dialogue-panel {
    min-height: 390px;
  }

  .dialogue-panel-a img,
  .dialogue-panel-b img,
  .dialogue-panel-c img {
    width: 200%;
    max-width: none;
    height: 390px;
  }

  .dialogue-panel-b img {
    margin-left: -53%;
  }

  .dialogue-panel-c img {
    margin-left: -100%;
  }

  .dialogue-gap {
    display: grid;
    min-height: 96px;
    place-items: center;
    color: var(--ink);
    font-size: 2rem;
  }

  .workflow-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .workflow-intro {
    margin-bottom: 52px;
  }

  .workflow-line {
    grid-template-columns: 1fr;
  }

  .workflow-line li,
  .workflow-line li:not(:first-child) {
    min-height: 220px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(11, 16, 24, 0.15);
  }

  .workflow-line li:last-child {
    border-bottom: 0;
  }

  .workflow-line strong {
    margin-top: 42px;
  }

  .guide-section {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .guide-preview {
    min-height: 520px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    box-shadow: 12px 12px 0 rgba(155, 37, 62, 0.2);
  }

  .cut-three {
    grid-column: auto;
  }

  .guide-preview > strong {
    right: 14px;
    bottom: 14px;
  }

  .closing-section {
    min-height: 78svh;
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .closing-section h2 {
    gap: 12px;
    font-size: 2.35rem;
    line-height: 1;
  }

  .closing-actions {
    display: grid;
    align-items: stretch;
    margin-top: 44px;
  }

  .text-link {
    text-align: center;
  }

  .landing-footer {
    grid-template-columns: 1fr auto;
    padding-right: 22px;
    padding-left: 22px;
  }

  .landing-footer p {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
