* {
  box-sizing: border-box;
}

:root {
  --fdl-bg: #f5f8fc;
  --fdl-surface: #ffffff;
  --fdl-ink: #19212f;
  --fdl-body: #2a3242;
  --fdl-muted: #586074;
  --fdl-soft: #828ca0;
  --fdl-faint: #a7b0c2;
  --fdl-line: #e5eaf3;
  --fdl-line-2: #e7ebf2;
  --fdl-pink: #ff4d79;
  --fdl-pink-deep: #e0356a;
  --fdl-blue: #2f6bed;
  --fdl-green: #12b886;
  --fdl-green-deep: #0d9d6b;
  --fdl-indigo: #4d59b8;
  --fdl-orange: #f47b35;
  --fdl-font-display: "Newsreader", serif;
  --fdl-font-body: "Hanken Grotesk", system-ui, sans-serif;
  --fdl-font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--fdl-bg);
  color: var(--fdl-ink);
  font-family: var(--fdl-font-body);
}

[hidden] {
  display: none !important;
}

body.has-modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

textarea {
  resize: vertical;
}

.fdl-app {
  min-height: 100vh;
  padding: 0 20px 90px;
}

.fdl-topbar {
  align-items: center;
  background: rgba(245, 248, 252, 0.92);
  border-bottom: 1px solid var(--fdl-line);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  margin: 0 -20px;
  min-height: 62px;
  padding: 14px clamp(16px, 5vw, 56px);
  position: sticky;
  top: 0;
  z-index: 24;
}

.fdl-brand-group,
.fdl-logo {
  align-items: center;
  display: inline-flex;
}

.fdl-brand-group {
  gap: 11px;
  min-width: 0;
}

.fdl-logo {
  color: var(--fdl-ink);
  font-family: var(--fdl-font-display);
  font-size: 1.28rem;
  font-weight: 500;
  gap: 11px;
  line-height: 1;
  text-decoration: none;
}

.fdl-logo-mark {
  display: inline-flex;
  flex: none;
  height: 22px;
  position: relative;
  width: 22px;
}

.fdl-logo-mark::before,
.fdl-logo-mark::after {
  border-radius: 50%;
  content: "";
  position: absolute;
}

.fdl-logo-mark::before {
  background: var(--fdl-indigo);
  height: 22px;
  width: 22px;
}

.fdl-logo-mark::after {
  background: var(--fdl-orange);
  height: 9px;
  right: -1px;
  top: -1px;
  width: 9px;
}

.fdl-logo-word {
  color: var(--fdl-ink);
}

.fdl-brand-divider {
  color: var(--fdl-faint);
  font-family: var(--fdl-font-mono);
  font-size: 0.86rem;
}

.fdl-subapp-label {
  color: var(--fdl-muted);
  font-family: var(--fdl-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fdl-top-actions {
  align-items: center;
  color: var(--fdl-muted);
  display: flex;
  font-family: var(--fdl-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  gap: clamp(14px, 4vw, 30px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fdl-top-actions a {
  align-items: center;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 78%;
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  color: inherit;
  display: inline-flex;
  min-height: 38px;
  text-decoration: none;
  transition: background-size 180ms ease;
}

.fdl-top-actions a:hover {
  background-size: 100% 1.5px;
}

.fdl-account-link {
  background: var(--fdl-surface);
  background-image: none !important;
  border: 1px solid var(--fdl-line);
  border-radius: 50%;
  color: var(--fdl-muted);
  display: inline-grid !important;
  height: 34px;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: transform 160ms ease, border-color 160ms ease;
  width: 34px;
}

.fdl-account-link:hover {
  background-size: 0;
  border-color: var(--fdl-faint);
  transform: translateY(-1px);
}

.fdl-account-link svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 18px;
}

.fdl-account-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(25, 33, 47, 0.38);
  backdrop-filter: blur(10px);
}

.fdl-account-modal {
  width: min(92vw, 430px);
  padding: 26px;
  border: 1px solid var(--fdl-line);
  border-radius: 8px;
  background: var(--fdl-surface);
  box-shadow: 0 30px 70px rgba(25, 33, 47, 0.22);
}

.fdl-account-header,
.fdl-account-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.fdl-account-eyebrow {
  margin: 0 0 7px;
  color: var(--fdl-orange);
  font-family: var(--fdl-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fdl-account-header h2 {
  margin: 0;
  color: var(--fdl-ink);
  font-family: var(--fdl-font-display);
  font-size: 2rem;
  line-height: 0.95;
}

.fdl-account-close {
  display: inline-grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--fdl-line);
  border-radius: 50%;
  background: transparent;
  color: var(--fdl-muted);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.fdl-account-details {
  display: grid;
  gap: 8px;
  margin: 26px 0 16px;
  padding: 18px 0;
  border-block: 1px solid var(--fdl-line);
}

.fdl-account-details span {
  color: var(--fdl-soft);
  font-family: var(--fdl-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fdl-account-details strong {
  overflow-wrap: anywhere;
  color: var(--fdl-ink);
  font-size: 1rem;
}

.fdl-account-note {
  margin: 0 0 24px;
  color: var(--fdl-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.fdl-account-signout,
.fdl-account-signin {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--fdl-line);
  border-radius: 999px;
  background: var(--fdl-bg);
  color: var(--fdl-ink);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.fdl-account-signout:disabled {
  cursor: wait;
  opacity: 0.72;
}

.fdl-welcome {
  margin: 0 auto;
  max-width: 740px;
  padding: 44px 0 0;
  text-align: center;
}

.fdl-eyebrow {
  color: var(--fdl-pink-deep);
  font-family: var(--fdl-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.fdl-hero {
  font-family: var(--fdl-font-display);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0 0 18px;
  text-wrap: balance;
}

.fdl-hero em {
  color: var(--fdl-blue);
  font-style: italic;
}

.fdl-subhead {
  color: var(--fdl-muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 auto 22px;
  max-width: 540px;
}

.fdl-read-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.fdl-read-button,
.fdl-mic-button {
  align-items: center;
  background: #e7efff;
  border: 1px solid #cbddfb;
  border-radius: 999px;
  color: var(--fdl-blue);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--fdl-font-mono);
  font-size: 10.5px;
  gap: 7px;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  text-transform: uppercase;
  transition: background 0.16s ease, color 0.16s ease;
}

.fdl-read-button:hover,
.fdl-mic-button:hover {
  background: #dce8ff;
}

.fdl-mic-button.is-listening {
  background: #ffe1e9;
  border-color: #ffd0dc;
  color: var(--fdl-pink-deep);
}

.fdl-ladder {
  align-items: center;
  color: var(--fdl-soft);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--fdl-font-mono);
  font-size: 11px;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.fdl-ladder-sep {
  color: #bcc6d6;
}

.fdl-input-title,
.fdl-choice-title,
.fdl-material-title {
  color: #8a93a6;
  font-family: var(--fdl-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fdl-input-title {
  margin: 8px 0 14px;
}

.fdl-custom-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--fdl-line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 28, 45, 0.05);
  display: flex;
  gap: 10px;
  padding: 10px 10px 10px 18px;
}

.fdl-custom-row input {
  background: transparent;
  border: 0;
  color: var(--fdl-ink);
  flex: 1;
  font-size: 16.5px;
  min-width: 0;
  padding: 8px 0;
}

.fdl-custom-row input:focus {
  outline: 0;
}

.fdl-primary-button {
  align-items: center;
  background: var(--fdl-pink);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 22px -12px rgba(255, 77, 121, 0.7);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: none;
  font-size: 15px;
  font-weight: 600;
  gap: 7px;
  justify-content: center;
  padding: 12px 20px;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.fdl-primary-button:hover {
  box-shadow: 0 14px 26px -12px rgba(255, 77, 121, 0.8);
  transform: translateY(-1px);
}

.fdl-choice-title {
  margin: 30px 0 14px;
}

.fdl-examples-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  text-align: left;
}

.fdl-example-card {
  background: #fff;
  border: 1px solid var(--fdl-line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 28, 45, 0.05);
  cursor: pointer;
  padding: 20px 22px;
  text-align: left;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.fdl-example-card:hover {
  border-color: #cbddfb;
  box-shadow: 0 14px 26px -18px rgba(20, 28, 45, 0.4);
  transform: translateY(-3px);
}

.fdl-example-card strong {
  color: var(--fdl-ink);
  display: block;
  font-family: var(--fdl-font-display);
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 4px;
}

.fdl-example-card span {
  color: var(--fdl-soft);
  font-size: 13.5px;
}

.fdl-material-panel {
  background: #fff2f5;
  border: 1px solid #ffccd7;
  border-radius: 18px;
  margin-top: 42px;
  padding: 24px 26px;
}

.fdl-home .fdl-material-panel {
  margin-top: 22px;
  padding: 22px 26px;
}

.fdl-material-title {
  color: var(--fdl-pink-deep);
  margin-bottom: 16px;
}

.fdl-home .fdl-material-title {
  margin-bottom: 14px;
}

.fdl-material-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.fdl-home .fdl-material-chips {
  justify-content: flex-start;
}

.fdl-material-chip {
  align-items: center;
  background: #fff;
  border: 1px solid #ffccd7;
  border-radius: 999px;
  color: var(--fdl-muted);
  display: inline-flex;
  font-size: 14.5px;
  gap: 9px;
  padding: 9px 16px;
}

.fdl-material-chip::before {
  background: var(--fdl-pink);
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.fdl-home {
  margin: 0 auto;
  max-width: 920px;
  padding: 30px 0 0;
}

.fdl-home-card {
  background: #fff;
  border: 1px solid var(--fdl-line);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(20, 28, 45, 0.05);
  padding: 34px 40px 38px;
}

.fdl-home-header,
.fdl-home-title-row {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.fdl-home-header {
  align-items: center;
  margin-bottom: 26px;
}

.fdl-blue-label {
  color: var(--fdl-blue);
  font-family: var(--fdl-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fdl-saved-pill {
  align-items: center;
  background: #eef2f9;
  border-radius: 999px;
  color: var(--fdl-soft);
  display: inline-flex;
  font-family: var(--fdl-font-mono);
  font-size: 10.5px;
  gap: 7px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
}

.fdl-saved-pill::before {
  background: var(--fdl-green);
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.fdl-home-title-row {
  gap: 24px;
  margin-bottom: 8px;
}

.fdl-project-title {
  font-family: var(--fdl-font-display);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 8px;
  text-wrap: balance;
}

.fdl-step-label {
  color: var(--fdl-soft);
  font-size: 14.5px;
}

.fdl-cta-top {
  padding: 14px 24px;
  white-space: nowrap;
}

.fdl-trail {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin: 34px 0 8px;
}

.fdl-stop {
  align-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  flex: none;
  flex-direction: column;
  font-family: inherit;
  padding: 0;
  width: 104px;
}

.fdl-stop.is-locked {
  cursor: default;
  opacity: 0.5;
}

.fdl-stop-dot {
  align-items: center;
  border-radius: 50%;
  display: flex;
  flex: none;
  font-family: var(--fdl-font-display);
  font-size: 21px;
  height: 50px;
  justify-content: center;
  position: relative;
  width: 50px;
}

.fdl-stop.is-done .fdl-stop-dot {
  background: var(--fdl-green);
  color: #fff;
  font-family: var(--fdl-font-body);
}

.fdl-stop.is-current .fdl-stop-dot {
  background: var(--fdl-blue);
  color: #fff;
}

.fdl-stop.is-locked .fdl-stop-dot {
  background: #eef2f8;
  border: 2px solid #d7deea;
  color: var(--fdl-faint);
}

.fdl-stop.is-current .fdl-stop-dot::after {
  animation: fdlpulse 2.4s ease-out infinite;
  border: 2px solid var(--fdl-blue);
  border-radius: 50%;
  content: "";
  inset: -6px;
  position: absolute;
}

.fdl-stop-word {
  color: var(--fdl-ink);
  font-family: var(--fdl-font-display);
  font-size: 16px;
  line-height: 1.15;
  margin-top: 10px;
  text-align: center;
}

.fdl-stop.is-current .fdl-stop-word {
  color: var(--fdl-blue);
  font-weight: 500;
}

.fdl-stop-term {
  color: var(--fdl-faint);
  font-family: var(--fdl-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.fdl-stop-status {
  font-family: var(--fdl-font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-top: 8px;
  text-transform: uppercase;
}

.fdl-stop.is-current .fdl-stop-status {
  background: #dce8ff;
  border-radius: 999px;
  color: var(--fdl-blue);
  padding: 3px 8px;
}

.fdl-stop.is-done .fdl-stop-status {
  color: var(--fdl-green-deep);
}

.fdl-connector {
  border-top: 2px dashed #d7deea;
  flex: 1;
  margin: 24px 3px 0;
  min-width: 10px;
}

.fdl-connector.is-done {
  border-color: #9fdcc4;
}

.fdl-upnext {
  align-items: flex-start;
  background: #e7efff;
  border: 1px solid #cbddfb;
  border-radius: 16px;
  display: flex;
  gap: 18px;
  margin-top: 30px;
  padding: 18px 22px;
}

.fdl-upnext > div {
  flex: 1;
  min-width: 0;
}

.fdl-upnext-label {
  color: var(--fdl-blue);
  flex: none;
  font-family: var(--fdl-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-top: 4px;
  text-transform: uppercase;
}

.fdl-upnext-title {
  color: var(--fdl-ink);
  font-family: var(--fdl-font-display);
  font-size: 19px;
}

.fdl-upnext p {
  color: var(--fdl-muted);
  font-size: 13.5px;
  margin: 0;
}

.fdl-finished {
  animation: fdlpop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
  background: #ecfaf4;
  border: 1px solid #b2ecd4;
  border-radius: 18px;
  margin-top: 30px;
  overflow: hidden;
  padding: 32px 28px 28px;
  position: relative;
  text-align: center;
}

.fdl-badge-button {
  align-items: center;
  animation: fdlbadge 0.6s 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
  background: var(--fdl-green);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 22px -8px rgba(18, 184, 134, 0.8);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  margin-bottom: 16px;
  width: 56px;
}

.fdl-finished-eyebrow {
  color: var(--fdl-green-deep);
  font-family: var(--fdl-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.fdl-finished h3 {
  color: #0c6b4d;
  font-family: var(--fdl-font-display);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 8px;
  text-wrap: balance;
}

.fdl-finished p {
  color: #2f8f6a;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 430px;
}

.fdl-start-over {
  background: none;
  border: 0;
  border-bottom: 1px solid #bcc6d6;
  color: #8a93a6;
  cursor: pointer;
  font-family: var(--fdl-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-top: 20px;
  padding: 0 0 1px;
}

.fdl-start-over-row {
  text-align: center;
}

.fdl-home-stickybar {
  display: none;
}

.fdl-stage {
  margin: 0 auto;
  max-width: 680px;
  padding: 26px 0 0;
}

.fdl-stage-top,
.fdl-stage-kicker {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.fdl-stage-top {
  margin-bottom: 30px;
}

.fdl-map-button,
.fdl-back-button {
  align-items: center;
  background: none;
  border: 0;
  color: var(--fdl-soft);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--fdl-font-mono);
  font-size: 11.5px;
  gap: 6px;
  letter-spacing: 0.04em;
  margin: 0;
  padding: 0;
}

.fdl-map-button:hover,
.fdl-back-button:hover {
  color: var(--fdl-ink);
}

.fdl-mini-dots {
  align-items: center;
  display: flex;
  gap: 7px;
}

.fdl-mini-dot {
  background: #d7deea;
  border-radius: 999px;
  display: block;
  height: 6px;
  width: 6px;
}

.fdl-mini-dot.is-current {
  background: var(--fdl-pink);
  width: 30px;
}

.fdl-mini-dot.is-done {
  background: var(--fdl-green);
}

.fdl-stage-kicker {
  gap: 12px;
  margin-bottom: 12px;
}

.fdl-step-eyebrow {
  color: var(--fdl-pink-deep);
  font-family: var(--fdl-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  min-width: 0;
  text-transform: uppercase;
}

.fdl-stage-read {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 6px 11px;
}

.fdl-stage-title {
  font-family: var(--fdl-font-display);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0 0 14px;
  text-wrap: balance;
}

.fdl-stage-blurb {
  color: var(--fdl-muted);
  font-size: 17.5px;
  line-height: 1.55;
  margin: 0 0 30px;
}

.fdl-section {
  margin-bottom: 38px;
}

.fdl-section-head {
  align-items: center;
  display: flex;
  gap: 13px;
  margin-bottom: 16px;
}

.fdl-section-head h3 {
  color: var(--fdl-ink);
  flex: none;
  font-family: var(--fdl-font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  order: 1;
}

.fdl-section-head::after {
  background: var(--fdl-line-2);
  content: "";
  flex: 1;
  height: 1px;
  order: 2;
}

.fdl-role-tag {
  color: #aeb6c6;
  flex: none;
  font-family: var(--fdl-font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  order: 3;
  text-transform: uppercase;
}

.fdl-guide-card {
  background: #edf5ff;
  border: 1px solid #8cbcff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(47, 107, 237, 0.05);
  padding: 22px 24px;
}

.fdl-guide-label {
  color: #6f89ad;
  font-family: var(--fdl-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.fdl-guide-card p {
  color: var(--fdl-body);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.fdl-guide-rule {
  background: rgba(47, 107, 237, 0.1);
  height: 1px;
  margin: 0 0 20px;
}

.fdl-activity {
  color: var(--fdl-body);
}

.fdl-activity-title {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  margin-bottom: 9px;
}

.fdl-activity-title b {
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #173b68;
  border-radius: 50%;
  color: #173b68;
  display: inline-flex;
  font-family: var(--fdl-font-mono);
  font-size: 10px;
  font-weight: 600;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.fdl-activity-title strong {
  color: var(--fdl-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.fdl-activity-body {
  color: var(--fdl-body);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 12px 29px;
}

.fdl-small-green {
  color: var(--fdl-blue);
  font-size: 12.5px;
  font-weight: 600;
  margin: 0 0 9px 29px;
}

.fdl-example-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 14px 29px;
}

.fdl-example-dots span,
.fdl-step-list li,
.fdl-talk-list li {
  align-items: flex-start;
  display: flex;
  gap: 11px;
}

.fdl-example-dots span {
  align-items: center;
  color: var(--fdl-body);
  font-size: 15px;
}

.fdl-example-dots span::before {
  background: #9db4d1;
  border-radius: 50%;
  content: "";
  flex: none;
  height: 5px;
  width: 5px;
}

.fdl-step-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  margin: 0 0 4px 29px;
  padding: 0;
}

.fdl-step-list li {
  color: var(--fdl-body);
  font-size: 15.5px;
  line-height: 1.45;
}

.fdl-step-list li::before {
  background: #9db4d1;
  border-radius: 50%;
  content: "";
  flex: none;
  height: 7px;
  margin-top: 8px;
  width: 7px;
}

.fdl-activity-sep {
  background: rgba(47, 107, 237, 0.1);
  height: 1px;
  margin: 18px 0;
}

.fdl-guide-note {
  border-top: 1px solid var(--fdl-line-2);
  color: var(--fdl-muted);
  font-family: var(--fdl-font-display);
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
  margin: 20px 0 0;
  padding-top: 20px;
}

.fdl-talk-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fdl-talk-list li {
  color: var(--fdl-body);
  font-size: 16px;
  line-height: 1.45;
}

.fdl-talk-list li::before {
  background: var(--fdl-pink);
  border-radius: 50%;
  content: "";
  flex: none;
  height: 7px;
  margin-top: 9px;
  width: 7px;
}

.fdl-quote-card {
  background: #fbfcfe;
  border: 1px solid var(--fdl-line);
  border-left: 3px solid var(--fdl-pink);
  border-radius: 0 12px 12px 0;
  padding: 16px 22px;
}

.fdl-quote-card p:first-child {
  color: #8a6470;
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 9px;
}

.fdl-quote-card p:last-child {
  color: var(--fdl-ink);
  font-family: var(--fdl-font-display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.4;
  margin: 0;
}

.fdl-hmw-card {
  background: #eef4ff;
  border: 1px solid #d4e2fb;
  border-radius: 16px;
  padding: 22px 24px;
}

.fdl-hmw-card > p {
  color: var(--fdl-muted);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.fdl-hmw-input {
  background: #fff;
  border: 1px solid #cbddfb;
  border-radius: 12px;
  padding: 12px 14px;
  position: relative;
}

.fdl-hmw-input textarea {
  background: transparent;
  border: 0;
  color: var(--fdl-ink);
  display: block;
  font-size: 15.5px;
  line-height: 1.5;
  padding: 0;
  width: 100%;
}

.fdl-hmw-input textarea:focus {
  outline: 0;
}

.fdl-hmw-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.fdl-secondary-button {
  align-items: center;
  background: transparent;
  border: 1px solid #d3d9e4;
  border-radius: 999px;
  color: #5a6478;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 9px;
  padding: 9px 16px;
}

.fdl-secondary-button:hover {
  background: #eef1f6;
  color: var(--fdl-ink);
}

.fdl-spinner {
  animation: fdlspin 0.7s linear infinite;
  border: 2px solid rgba(90, 100, 120, 0.3);
  border-radius: 50%;
  border-top-color: #5a6478;
  display: inline-block;
  height: 14px;
  width: 14px;
}

.fdl-error {
  color: #b06a4a;
  font-size: 13px;
}

.fdl-gen-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.fdl-gen-title {
  color: var(--fdl-blue);
  font-family: var(--fdl-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.fdl-gen-option {
  align-items: center;
  background: #fff;
  border: 1px solid #cbddfb;
  border-radius: 12px;
  color: var(--fdl-blue);
  cursor: pointer;
  display: flex;
  gap: 14px;
  padding: 13px 15px;
  text-align: left;
}

.fdl-gen-option.is-chosen {
  background: #ecfaf4;
  border-color: #b2ecd4;
  color: #0c6b4d;
}

.fdl-gen-option span:first-child {
  flex: 1;
  font-family: var(--fdl-font-display);
  font-size: 17px;
  font-style: italic;
  line-height: 1.4;
}

.fdl-gen-option span:last-child {
  color: var(--fdl-green-deep);
  flex: none;
  font-family: var(--fdl-font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fdl-your-turn {
  background: #fff;
  border: 2px solid #ffd0dc;
  border-radius: 18px;
  box-shadow: 0 16px 34px -22px rgba(255, 77, 121, 0.55);
  margin-bottom: 22px;
  padding: 22px 24px 24px;
}

.fdl-your-turn-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.fdl-your-turn-title {
  align-items: center;
  display: flex;
  gap: 11px;
}

.fdl-pencil-chip {
  align-items: center;
  background: var(--fdl-pink);
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.fdl-your-turn-title span:last-child {
  color: var(--fdl-ink);
  font-family: var(--fdl-font-display);
  font-size: 25px;
}

.fdl-write-tag {
  background: #ffe1e9;
  border-radius: 4px;
  color: var(--fdl-pink-deep);
  flex: none;
  font-family: var(--fdl-font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  padding: 3px 7px;
  text-transform: uppercase;
}

.fdl-turn-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.fdl-save-button {
  background: #fff;
  border: 1px solid #ffd0dc;
  border-radius: 999px;
  color: var(--fdl-pink-deep);
  cursor: pointer;
  font-family: var(--fdl-font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  text-transform: uppercase;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.fdl-save-button:hover {
  background: #fff6f9;
  transform: translateY(-1px);
}

.fdl-save-button.is-saved {
  background: #e9fbf4;
  border-color: #9fdcc4;
  color: var(--fdl-green-deep);
}

.fdl-input-label {
  color: var(--fdl-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  margin: 2px 0 16px;
}

.fdl-answer-box {
  position: relative;
}

.fdl-answer-box .fdl-mic-button {
  bottom: 14px;
  position: absolute;
  right: 14px;
  z-index: 2;
}

.fdl-answer {
  background: #fdfdff;
  border: 1.5px solid var(--fdl-line);
  border-radius: 14px;
  color: var(--fdl-ink);
  display: block;
  font-size: 16.5px;
  line-height: 1.55;
  min-height: 138px;
  padding: 16px 18px 60px;
  width: 100%;
}

.fdl-answer:focus {
  border-color: var(--fdl-pink);
  box-shadow: 0 0 0 3px rgba(255, 77, 121, 0.12);
  outline: 0;
}

.fdl-nav {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-top: 6px;
}

.fdl-nav-caption {
  color: #8a93a6;
  font-size: 13px;
  margin-top: 16px;
  text-align: center;
}

.fdl-confetti {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 9999;
}

@keyframes fdlpulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  70% {
    opacity: 0;
    transform: scale(1.5);
  }

  100% {
    opacity: 0;
  }
}

@keyframes fdlspin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fdlpop {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }

  60% {
    transform: scale(1.015);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fdlbadge {
  0% {
    transform: scale(0) rotate(-25deg);
  }

  65% {
    transform: scale(1.18) rotate(8deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

@media (max-width: 820px) {
  .fdl-upnext {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 10px;
  }
}

@media (max-width: 640px) {
  .fdl-app {
    padding-inline: 20px;
  }

  .fdl-topbar {
    padding-inline: 16px;
  }

  .fdl-logo {
    font-size: 1.05rem;
    gap: 9px;
  }

  .fdl-logo-mark {
    height: 22px;
    width: 22px;
  }

  .fdl-top-actions {
    font-size: 0.68rem;
    gap: 12px;
  }

  .fdl-brand-divider,
  .fdl-subapp-label {
    display: none;
  }

  .fdl-hero {
    font-size: 34px;
  }

  .fdl-custom-row {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .fdl-custom-row input {
    flex-basis: 100%;
  }

  .fdl-examples-grid {
    grid-template-columns: 1fr;
  }

  .fdl-home {
    padding-bottom: 92px;
  }

  .fdl-home-card {
    border-radius: 20px;
    padding: 24px 20px 28px;
  }

  .fdl-home-title-row {
    flex-wrap: wrap;
  }

  .fdl-project-title {
    font-size: 32px;
  }

  .fdl-cta-top {
    display: none;
  }

  .fdl-home-stickybar {
    background: rgba(245, 248, 252, 0.94);
    border-top: 1px solid var(--fdl-line);
    bottom: 0;
    display: block;
    left: 0;
    padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 50;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .fdl-home-stickybar button {
    border-radius: 14px;
    width: 100%;
  }

  .fdl-trail {
    margin-left: -4px;
    margin-right: -4px;
    overflow-x: auto;
    padding: 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .fdl-trail::-webkit-scrollbar {
    display: none;
  }

  .fdl-upnext {
    display: flex;
    flex-direction: column;
  }

  .fdl-turn-actions {
    justify-content: flex-start;
  }

  .fdl-answer-box .fdl-mic-button {
    bottom: 12px;
    right: 12px;
  }

  .fdl-answer {
    padding-bottom: 58px;
  }

  .fdl-stage {
    padding-bottom: 104px;
  }

  .fdl-stage-title {
    font-size: 27px;
  }

  .fdl-section-head h3 {
    font-size: 19px;
  }

  .fdl-stage-kicker,
  .fdl-section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .fdl-nav {
    background: rgba(245, 248, 252, 0.94);
    border-top: 1px solid var(--fdl-line);
    bottom: 0;
    gap: 10px;
    left: 0;
    margin: 0;
    padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    transform: translateY(0);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .fdl-nav.is-hidden {
    transform: translateY(140%);
  }
}
