/* Palette sampled from the user-selected photo-abstract-editorial case 3. */
:root {
  --pink: #eabcb2;
  --yellow: #f6b731;
  --aqua: #9bc4ce;
  --blue: #365963;
  --coral: #ed7053;
  --lime: #d8d5cb;
}

.hero-intro { background: #f5f0e7; }
.hero h1 i { color: #f2a900; }
.hero-actions { background: var(--aqua); }
.hero-actions .explore { background: #fbf8f1; }
.hero-actions .free { background: var(--yellow); }
.free-note { color: #29444a; }
.stage-card { background: var(--pink); }
.stage-abstract { background: #f5f0e7; }
.lesson strong { color: #29444a; }
.bridge small { background: transparent; color: #29444a; font-weight: 400; }

.abc { position: relative; background: #f2b8aa; color: #29444a; }
.abc.ai { background: #c7e1e7; color: #29444a; }
.abc.ai span { color: #29444a; }
.abc.ai strong { font-size: clamp(16px, 2vw, 22px); }

.apple-sketch {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 42%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apple-sketch path:nth-child(2) { stroke-width: 2.6; }

.abc.grown {
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #c7e1e7;
  color: #29444a;
  text-align: center;
  transform: rotate(2deg);
}

.abc.grown span { color: #29444a; }
.abc.grown strong { font-size: clamp(18px, 2.2vw, 25px); }

/* Each World inherits its palette from its own photograph. */
.world {
  --world-bg: #f5f0e7;
  --world-accent: #365963;
  --world-label: #365963;
}
.world div {
  background: var(--world-bg);
  border-top: 5px solid var(--world-accent);
}
.world span { color: var(--world-label); }
.world:nth-child(1) { --world-bg: #40565d; --world-accent: #dda9a5; --world-label: #f0ccc7; }
.world:nth-child(2) { --world-bg: #eef2ef; --world-accent: #3ba2a8; --world-label: #17666c; }
.world:nth-child(3) { --world-bg: #efefec; --world-accent: #e77754; --world-label: #963b20; }
.world:nth-child(4) { --world-bg: #d9eeeb; --world-accent: #df625b; --world-label: #8d2e2a; }
.world:nth-child(5) { --world-bg: #f4e9dd; --world-accent: #c6a52a; --world-label: #725f13; }
.world:nth-child(6) { --world-bg: #e5ecea; --world-accent: #b36e50; --world-label: #74402b; }
.world:nth-child(7) { --world-bg: #f5eee7; --world-accent: #d0833e; --world-label: #854817; }
.world:nth-child(8) { --world-bg: #eed8ae; --world-accent: #756057; --world-label: #55433a; }
.world:nth-child(9) { --world-bg: #eadfd4; --world-accent: #91644c; --world-label: #68422f; }

.world:nth-child(n) div { background: var(--world-bg); }

.topic.live { background: var(--yellow); }
.topic.live:hover { background: var(--aqua); }

.transformation { padding-top: 48px; }

.hero-intro {
  grid-template-rows: auto auto;
  column-gap: clamp(36px, 7vw, 110px);
  align-content: center;
  min-height: 0;
  padding-bottom: 48px;
}

.hero-copy .explore {
  margin-top: 34px;
  min-width: 0;
  padding: 14px 17px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  font: 650 12px/1 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
  justify-content: flex-start;
  gap: 10px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.hero-copy .explore span {
  font: 500 16px/1 var(--sans);
  transition: transform .2s ease;
}

.hero-copy .explore:hover {
  background: var(--ink);
  color: #fbf8f1;
}

.hero-copy .explore:hover span {
  transform: translateY(3px);
}

.hero-line {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-line span {
  font-style: normal;
  font-weight: 600;
}

.hero-line em {
  color: #ffb900;
  font: italic 400 1.18em/1 var(--serif);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--pink);
}

.hero-actions header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-size: 9px;
  letter-spacing: .12em;
}

.hero-actions header b { font-weight: 500; }
.hero-actions .free {
  margin-top: auto;
  border-radius: 999px;
  background: #fbf8f1;
}
.hero-actions .free-note { margin: 28px 0; font-size: 16px; }

.world-list {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .025em;
}

.hero-intro > .world-list {
  font: 500 12px/1.65 var(--sans);
  letter-spacing: .035em;
}

.hero-intro > p.world-list:not(.eyebrow) {
  width: 100%;
  max-width: none;
  font: 500 12px/1.65 var(--sans);
  letter-spacing: .035em;
}

.hero h1 { white-space: nowrap; }

@media (max-width: 650px) {
  .hero-intro { grid-template-rows: auto; }
  .hero-copy .explore { margin-bottom: 50px; }
  .world-list { grid-column: 1; margin-top: 35px; }
  .hero h1 { font-size: 58px; }
}
