/* danna landing page. Plain CSS, no build step. Two looks, chosen on this device: Classic (the default) and Playful.
   The colours, type and edges follow the app's own tokens. Every Playful rule sits under :root[data-look='playful']. */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Unbounded';
  src: url('fonts/unbounded-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* Only downloaded when the Playful look is shown */
@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f1b33;
  --ink-2: #3a4560;
  --muted: #646c82;
  --line: #e6eaf2;
  --line-2: #d5dce8;
  --canvas: #ffffff;
  --card: #ffffff;
  --surface-2: #f6f8fb;
  --primary: #5337d2;
  --primary-600: #4429b8;
  --primary-700: #3a2693;
  --primary-50: #f1eefc;
  --primary-line: #beb2f0;
  --eyebrow: #5337d2;
  --focus: rgba(83, 55, 210, 0.5);
  --on-primary: #ffffff;
  --btn-radius: 12px;
  --card-radius: 18px;
  --card-shadow: 0 1px 2px rgba(15, 27, 51, 0.04), 0 12px 28px -18px rgba(15, 27, 51, 0.22);
  --look-selected: 0 0 0 4px var(--primary-50), 0 12px 28px -18px rgba(15, 27, 51, 0.22);
  --heading-weight: 700;
  --heading-tracking: -0.03em;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: 16px;
  --nav-h: 64px;
}

:root[data-look='playful'] {
  --font: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --ink: #1d1a3d;
  --ink-2: #41406a;
  --muted: #5d5b7d;
  --line: #dde3f7;
  --line-2: #c4cbea;
  --canvas: #f1f5ff;
  --card: #ffffff;
  --surface-2: #eaf0ff;
  --primary: #5337d2;
  --primary-600: #4429b8;
  --primary-700: #3a2693;
  --primary-50: #efeaff;
  --primary-line: #beb2f0;
  --eyebrow: #5337d2;
  --focus: rgba(83, 55, 210, 0.45);
  --btn-radius: 16px;
  --card-radius: 22px;
  --card-shadow: 0 6px 0 var(--line-2);
  --look-selected: 0 6px 0 var(--primary-700);
  --heading-weight: 900;
  --heading-tracking: -0.02em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -56px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* Reading progress along the top edge */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 2px;
  background: var(--primary);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--canvas);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__link {
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-2);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--ink);
}

/* Sign in stays in the nav on phones, where the other links are hidden */
.nav__signin {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.nav__signin:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Language switch: a flag for each language ---------- */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}

.lang__btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.lang__btn img {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 27, 51, 0.12);
}

.lang__btn:hover {
  background: var(--surface-2);
}

/* The language in use shows as a soft grey fill, and the other flag is faded. No ring or purple outline around the switch. */
.lang__btn[aria-pressed='true'] {
  background: var(--line);
}

.lang__btn:not([aria-pressed='true']) {
  opacity: 0.55;
}

.lang__btn:not([aria-pressed='true']):hover {
  opacity: 1;
}

/* Keyboard focus keeps a visible ring, in ink rather than purple */
.lang__btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- Buttons and text links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.08s ease,
    transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn--primary:hover {
  background: var(--primary-600);
}

.btn--ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--primary-line);
  background: var(--primary-50);
}

.btn--large {
  height: 56px;
  padding: 0 26px;
  font-size: 17px;
}

.btn--small {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 15px;
}

.btn .icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.h2 {
  margin-top: 16px;
  max-width: 20em;
  text-wrap: balance;
  font-family: var(--display);
  font-weight: var(--heading-weight);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: var(--heading-tracking);
}

.body {
  margin-top: 20px;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 120px) clamp(72px, 9vw, 112px);
}

.hero__title {
  margin-top: 0;
  text-wrap: balance;
  font-family: var(--display);
  font-weight: var(--heading-weight);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__also {
  margin-top: 22px;
  font-size: 16px;
}

/* The hero's roadmap: a path from A1 to C1 that draws itself in, with the current node pulsing */
.roadmap {
  width: 100%;
  max-width: 520px;
}

.roadmap svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.roadmap__track {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.roadmap__progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}

.roadmap__node {
  fill: var(--canvas);
  stroke: var(--line-2);
  stroke-width: 2.5;
}

.roadmap__node--done,
.roadmap__node--current {
  fill: var(--primary);
  stroke: var(--canvas);
  stroke-width: 3;
}

.roadmap__pulse {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  opacity: 0;
}

.roadmap__label {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-anchor: middle;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
}

/* The two looks: the cards pick one, and the page and its screenshots follow */
.looks__head {
  max-width: 46rem;
}

.look-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.look-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px 14px 24px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.look-card:hover {
  border-color: var(--primary-line);
}

.look-card[aria-checked='true'] {
  border-color: var(--primary);
  box-shadow: var(--look-selected);
}

.look-card__preview {
  position: relative;
  display: block;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
}

.look-card__preview > span {
  position: absolute;
  display: block;
}

.look-card__bar {
  left: 12px;
  right: 12px;
  top: 12px;
  height: 14px;
  border-radius: 6px;
}

.look-card__block {
  left: 12px;
  top: 38px;
  width: 56%;
  height: 72px;
  border-radius: 10px;
}

.look-card__button {
  right: 12px;
  bottom: 12px;
  width: 36%;
  height: 34px;
  border-radius: 10px;
}

.look-card__xp {
  right: 12px;
  top: 38px;
  width: 26%;
  height: 22px;
  border-radius: 999px;
}

/* The previews keep their own colours, so each look shows what it really looks like, whichever look is on */
.look-card__preview--classic {
  background: #f6f8fb;
}

.look-card__preview--classic .look-card__bar,
.look-card__preview--classic .look-card__block {
  background: #ffffff;
  border: 1px solid #d5dce8;
}

.look-card__preview--classic .look-card__button {
  background: #5337d2;
}

.look-card__preview--playful {
  background: linear-gradient(160deg, #3d24b5 0%, #6a4bef 100%);
}

.look-card__preview--playful .look-card__bar {
  background: rgba(255, 255, 255, 0.85);
}

.look-card__preview--playful .look-card__block {
  background: #ffffff;
  border: 2px solid #c4cbea;
}

.look-card__preview--playful .look-card__button {
  background: #5337d2;
  box-shadow: 0 4px 0 #3a2693;
}

.look-card__preview--playful .look-card__xp {
  background: #ffc62b;
  box-shadow: 0 3px 0 #d89b00;
}

.look-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.look-card__title {
  font-family: var(--display);
  font-size: 21px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.look-card__tick {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: var(--card);
  color: transparent;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.look-card[aria-checked='true'] .look-card__tick {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.look-card__tick svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.look-card__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Screenshots: the two of the chosen look are shown, in the look's own frame */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 32px 24px;
  margin-top: 56px;
}

.shot {
  display: grid;
  gap: 14px;
  margin: 0;
}

.shot__frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.shot__frame img {
  width: 100%;
  height: auto;
}

.shot figcaption {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

html:not([data-look='playful']) .shot--playful,
html[data-look='playful'] .shot--classic {
  display: none;
}

/* Features: six cards, each with its own icon */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--primary-50);
  color: var(--primary);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.feature p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* The colour of each feature's tile, used by the Playful look */
.feature--sun {
  --tone: #ffc62b;
  --edge: #d89b00;
}

.feature--violet {
  --tone: #5b3fd9;
  --edge: #3f27b0;
}

.feature--blue {
  --tone: #1566d6;
  --edge: #0f4fa3;
}

.feature--green {
  --tone: #12803c;
  --edge: #0b5a2a;
}

.feature--teal {
  --tone: #0f8f86;
  --edge: #0b6d66;
}

.feature--red {
  --tone: #d9363e;
  --edge: #a8232b;
}

/* ---------- Skills ---------- */
.skills {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line);
}

.skill {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: baseline;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.skill__name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.skill p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* How it works: the intro stays put while the steps pass, and the rail fills as you scroll */
.steps-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.steps__intro {
  position: sticky;
  top: 112px;
}

.steps {
  position: relative;
}

.steps__list {
  display: grid;
  gap: 64px;
}

.steps__rail {
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  overflow: hidden;
  background: var(--line);
}

.steps__fill {
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform-origin: 50% 0;
  transform: scaleY(0);
}

.step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 24px;
  transition: opacity 0.5s var(--ease);
}

.js .step:not(.is-active) {
  opacity: 0.45;
}

.step__num {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: var(--card);
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    color 0.4s var(--ease);
}

.step.is-active .step__num {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.step h3 {
  padding-top: 2px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.step p {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Privacy */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.facts {
  border-top: 1px solid var(--line);
}

.facts li {
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.facts h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.facts p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Open source band */
.band {
  padding-block: clamp(72px, 10vw, 120px);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}

.band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

/* Final call to action */
.cta {
  padding-block: clamp(80px, 12vw, 140px);
  border-top: 1px solid var(--line);
}

.cta .actions {
  margin-top: 36px;
}

.cta__account {
  margin-top: 24px;
  font-size: 16px;
  color: var(--ink-2);
}

/* ---------- botdanna: the second app, in its own coral ---------- */
/* Inside .bot the accent is botdanna's coral, so the buttons, eyebrows and icon tiles there take it up. White text sits on
   #d52b50 (4.9 to 1), and coral text uses #a71d3c (7.3 to 1 on white). */
.bot {
  --primary: #d52b50;
  --primary-600: #b8203f;
  --primary-700: #a71d3c;
  --primary-50: #feeef2;
  --primary-line: #f5a3b6;
  --eyebrow: #a71d3c;
  --focus: rgba(213, 43, 80, 0.5);
}

/* The banner: a coral panel, the copy on the left and what you get on a white card on the right */
.bot-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 60px);
  border-radius: 28px;
  background: var(--primary);
  color: #ffffff;
}

.bot-banner .eyebrow {
  color: #ffffff;
}

.bot-banner .h2 {
  margin-top: 14px;
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.bot-banner .body {
  color: #ffffff;
}

.bot-banner__icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 14px 30px -12px rgba(60, 0, 16, 0.55);
}

.bot-banner .actions {
  margin-top: 32px;
  align-items: center;
}

.bot-banner__note {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #ffffff;
}

/* On the coral panel the button is white with coral text, and the link is white and underlined */
.btn--light {
  background: #ffffff;
  color: var(--primary-700);
}

.btn--light:hover {
  background: var(--primary-50);
}

.text-link--light {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link--light:hover {
  text-decoration-thickness: 3px;
}

.bot-banner :focus-visible {
  outline-color: #ffffff;
}

.bot-banner__card {
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 40px -24px rgba(60, 0, 16, 0.5);
}

.bot-banner__card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.bot-banner__list {
  margin-top: 8px;
}

.bot-banner__list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}

.bot-banner__list li:first-child {
  border-top: 0;
}

.bot-banner__list h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.bot-banner__list p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

.bot-banner__tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-50);
  color: var(--primary-700);
}

.bot-banner__tile svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* danna and botdanna side by side: one card each, and the botdanna card takes the coral accent */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.diff-card {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.diff-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.diff-card__icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.diff-card h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.diff-card__role {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 650;
  color: var(--eyebrow);
}

.diff-card ul {
  display: grid;
  gap: 12px;
}

.diff-card li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.diff-card li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- Footer: the wordmark fills the width, letter by letter ---------- */
.foot {
  padding: clamp(56px, 8vw, 96px) var(--gutter) 32px;
  border-top: 1px solid var(--line);
}

.foot__mark {
  display: flex;
  width: 100%;
  font-family: var(--display);
  font-size: 24vw; /* the script sets the exact size once the font has loaded */
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--primary);
  white-space: nowrap;
  user-select: none;
}

.foot__letters {
  display: flex;
  width: max-content;
}

.foot__row {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  font-size: 15px;
  color: var(--ink-2);
}

.foot__row a {
  color: var(--ink);
  font-weight: 550;
  text-underline-offset: 4px;
}

.foot__row a:hover {
  text-decoration: underline;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot__small {
  margin-top: 32px;
  max-width: 70ch;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- The Playful look ---------- */
:root[data-look='playful'] .wordmark,
:root[data-look='playful'] .skill__name,
:root[data-look='playful'] .feature h3,
:root[data-look='playful'] .facts h3,
:root[data-look='playful'] .step h3 {
  font-weight: 900;
}

:root[data-look='playful'] .wordmark {
  letter-spacing: -0.02em;
}

:root[data-look='playful'] .eyebrow {
  font-weight: 800;
}

:root[data-look='playful'] .hero__title {
  letter-spacing: -0.025em;
}

/* 3D buttons: a bottom edge, and the press sinks the button into the page */
:root[data-look='playful'] .btn {
  font-weight: 800;
}

:root[data-look='playful'] .btn:hover {
  transform: none;
}

:root[data-look='playful'] .btn--primary {
  box-shadow: 0 5px 0 var(--primary-700);
}

:root[data-look='playful'] .btn--ghost {
  border-width: 2px;
  border-color: var(--line-2);
  box-shadow: 0 5px 0 var(--line-2);
}

:root[data-look='playful'] .btn--ghost:hover {
  background: var(--surface-2);
}

:root[data-look='playful'] .btn:active {
  transform: translateY(4px);
  box-shadow: none;
}

/* The hero's roadmap sits on a violet panel, like the banner on Today */
:root[data-look='playful'] .roadmap {
  --canvas: #ffffff;
  --line-2: #8f7ce8;
  --primary: #7ef3c2;
  --ink: #ffffff;
  padding: 26px 24px 20px;
  border-radius: 28px;
  background: linear-gradient(160deg, #3d24b5 0%, #6a4bef 100%);
  box-shadow: 0 8px 0 #2b1a86;
}

/* Cards: chunky 2px borders with a bottom edge */
:root[data-look='playful'] .look-card,
:root[data-look='playful'] .feature,
:root[data-look='playful'] .shot__frame {
  border-width: 2px;
  border-color: var(--line-2);
}

:root[data-look='playful'] .look-card:hover {
  border-color: var(--primary-line);
}

:root[data-look='playful'] .look-card[aria-checked='true'] {
  border-color: var(--primary);
}

:root[data-look='playful'] .look-card__title {
  font-weight: 900;
}

:root[data-look='playful'] .shot__frame {
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--line-2);
}

:root[data-look='playful'] .feature {
  border-radius: 22px;
}

:root[data-look='playful'] .feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--tone, var(--primary));
  color: #ffffff;
  box-shadow: 0 4px 0 var(--edge, var(--primary-700));
}

:root[data-look='playful'] .feature--sun .feature__icon {
  color: #3d2b00;
}

:root[data-look='playful'] .step__num {
  box-shadow: 0 3px 0 var(--line-2);
}

:root[data-look='playful'] .step.is-active .step__num {
  box-shadow: 0 3px 0 var(--primary-700);
}

:root[data-look='playful'] .band {
  background: var(--surface-2);
}

/* botdanna in the Playful look: the coral panel and its card get the chunky edge, and the white button a 3D edge */
:root[data-look='playful'] .bot-banner {
  box-shadow: 0 8px 0 var(--primary-700);
}

:root[data-look='playful'] .bot-banner__card {
  border: 2px solid var(--primary-line);
  box-shadow: 0 6px 0 var(--primary-700);
}

:root[data-look='playful'] .btn--light {
  box-shadow: 0 5px 0 var(--primary-700);
}

:root[data-look='playful'] .bot-banner__list h3,
:root[data-look='playful'] .diff-card h3 {
  font-weight: 900;
}

:root[data-look='playful'] .diff-card {
  border-width: 2px;
  border-color: var(--line-2);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--line-2);
}

/* ---------- Motion (skipped for people who ask for less) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.9s var(--ease),
      transform 0.9s var(--ease);
    transition-delay: calc(var(--d, 0) * 120ms);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .roadmap__track {
    animation: fade-in 0.9s var(--ease) both;
  }

  .roadmap__progress {
    animation: draw 2.2s var(--ease) 0.3s both;
  }

  .roadmap__node,
  .roadmap__label {
    animation-duration: 0.6s;
    animation-timing-function: var(--ease);
    animation-fill-mode: both;
    animation-delay: var(--d, 0s);
  }

  .roadmap__node {
    animation-name: pop;
    transform-box: fill-box;
    transform-origin: center;
  }

  .roadmap__label {
    animation-name: fade-in;
  }

  .roadmap__pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: ring 2.8s var(--ease) 2.4s infinite;
  }

  .js .foot__letters span {
    opacity: 0;
    transform: translateY(0.45em);
    transition:
      opacity 1.1s var(--ease),
      transform 1.1s var(--ease);
    transition-delay: calc(var(--i, 0) * 110ms);
  }

  .js .foot__mark.is-in .foot__letters span {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pop {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes ring {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Layout for narrower screens ---------- */
@media (max-width: 920px) {
  .hero,
  .steps-layout,
  .split,
  .band__inner,
  .bot-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps__intro {
    position: static;
  }

  .roadmap {
    max-width: 480px;
  }

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

@media (max-width: 760px) {
  .nav__link {
    display: none;
  }

  .look-grid,
  .shots,
  .features,
  .diff-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .nav__links {
    gap: 12px;
  }

  .btn--small {
    padding: 0 14px;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn,
  .band__actions .btn {
    width: 100%;
  }

  .skill {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .bot-banner {
    padding: 20px;
    border-radius: 22px;
  }

  .bot-banner__card {
    padding: 18px;
  }

  .bot-banner__list li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .bot-banner__tile {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .bot-banner__tile svg {
    width: 20px;
    height: 20px;
  }

  /* The longer Portuguese label wraps inside the button rather than running into its edges */
  .bot-banner .btn {
    height: auto;
    min-height: 56px;
    padding: 14px 18px;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
    line-height: 1.25;
  }

  .bot-banner .text-link--light {
    align-self: flex-start;
  }
}
