:root {
  --wl-purple: #7938bb;
  --wl-purple-dark: #7939bb;
  --wl-indigo: #5263d2;
  --wl-gray-bg: #f3f5f8;
  --wl-gray-soft: #f6f7f9;
  --wl-gray-muted: #ececec;
  --wl-text: #222;
  --wl-gradient: linear-gradient(103deg, #4c64d3 0%, #8d62b9 100%);
  --wl-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wl-container: 1200px;
  --wl-radius: 30px;
}

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

body.wl-landing {
  margin: 0;
  font-family: var(--wl-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wl-text);
  background: #fff;
}

.wl-patient-banner {
  position: fixed;
  z-index: 40;
  top: 50%;
  right: max(16px, env(safe-area-inset-right, 0px));
  transform: translateY(-50%);
  width: min(280px, calc(100vw - 32px));
  max-width: 280px;
  padding: 16px 44px 16px 18px;
  background: #5a38b8;
  border: none;
  border-radius: 14px;
  box-shadow:
    0 18px 42px rgba(90, 56, 184, 0.48),
    0 6px 16px rgba(28, 36, 75, 0.22);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: #fff;
}

.wl-patient-banner.is-hidden {
  display: none;
}

.wl-patient-banner__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.wl-patient-banner__close:hover,
.wl-patient-banner__close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}

.wl-patient-banner__text {
  margin: 0;
}

.wl-patient-banner a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wl-patient-banner a:hover {
  color: #f3ebff;
}

.wl-container {
  width: min(100% - 32px, var(--wl-container));
  margin-inline: auto;
}

.wl-container--narrow {
  width: min(100% - 32px, 887px);
}

.wl-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 8px 16px;
  background: #000;
  color: #fff;
}

.wl-skip-link:focus {
  left: 16px;
}

/* Header + barre de langue */
.wl-site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
}

.wl-header {
  background: #fff;
}

.wl-lang-bar {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 0 10px;
}

.wl-lang-bar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.wl-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0;
}

.wl-header__logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.wl-header__logo img {
  display: block;
  height: 48px;
  width: auto;
}

.wl-header__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.wl-header__toggle-icon {
  position: relative;
  width: 22px;
  height: 16px;
  flex-shrink: 0;
}

.wl-header__toggle-icon::before,
.wl-header__toggle-icon::after,
.wl-header__toggle-icon {
  background: transparent;
}

.wl-header__toggle-icon::before,
.wl-header__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--wl-text);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.wl-header__toggle-icon::before {
  top: 0;
  box-shadow: 0 7px 0 var(--wl-text);
}

.wl-header__toggle-icon::after {
  top: 14px;
}

.wl-header__toggle[aria-expanded="true"] .wl-header__toggle-icon::before {
  top: 7px;
  box-shadow: none;
  transform: rotate(45deg);
}

.wl-header__toggle[aria-expanded="true"] .wl-header__toggle-icon::after {
  top: 7px;
  transform: rotate(-45deg);
}

.wl-header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.wl-header__pages {
  display: flex;
  gap: 40px;
  align-items: center;
}

.wl-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .wl-header__nav {
    display: contents;
  }

  .wl-header__actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

.wl-header__page-link {
  text-decoration: none;
  color: var(--wl-text);
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
}

.wl-header__page-link.is-active {
  color: var(--wl-purple);
}

.wl-lang-switch {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wl-lang-switch__item {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--wl-purple);
  font-size: 14px;
  font-weight: 700;
}

.wl-lang-switch__item.is-active {
  background: var(--wl-purple);
  color: #fff;
}

.wl-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
}

.wl-btn--primary {
  background: #764be9;
  color: #fff;
}

.wl-btn--primary:hover {
  background: #5a38b8;
}

.wl-btn--ghost {
  border: 1px solid #ddd;
  color: var(--wl-text);
  background: #fff;
}

.wl-btn--cta {
  background: var(--wl-purple-dark);
  color: #fff;
  font-size: 20px;
  padding: 14px 24px;
  text-transform: capitalize;
}

.wl-btn--cta:hover {
  filter: brightness(0.95);
}

/* Hero */
.wl-hero {
  margin: 50px auto;
}

.wl-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 600;
  line-height: 1.2;
}

.wl-hero__subtitle {
  margin: 0;
  font-size: clamp(20px, 3vw, 24px);
  color: var(--wl-purple);
  line-height: 1.2;
}

.wl-band {
  padding: 80px 0;
}

.wl-band--gray {
  background: var(--wl-gray-bg);
}

.wl-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wl-lead {
  flex: 1 1 320px;
  margin: 0;
  max-width: 680px;
}

.wl-text-accent {
  color: var(--wl-purple);
}

.wl-section {
  padding: 30px 0;
}

.wl-section--gray {
  background: var(--wl-gray-bg);
  padding: 30px 0;
}

.wl-section--soft {
  background: var(--wl-gray-soft);
}

.wl-section--muted {
  background: var(--wl-gray-muted);
}

.wl-section--muted-bottom {
  padding-bottom: 100px;
}

.wl-section--indigo {
  background: var(--wl-indigo);
  color: #fff;
}

.wl-section--indigo-bottom {
  padding-bottom: 100px;
}

.wl-section--gradient {
  background: var(--wl-gradient);
  color: #fff;
  margin-top: 100px;
  padding: 50px 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  box-sizing: border-box;
}

.wl-section--closing {
  padding: 120px 0 50px;
  text-align: center;
}

.wl-section__title {
  margin: 50px 0 0;
  font-size: clamp(27px, 4vw, 44px);
  color: var(--wl-purple);
  line-height: 1.2;
}

.wl-section__title--center {
  text-align: center;
}

.wl-block-title {
  padding-top: 50px;
}

.wl-block-title--gray {
  background: var(--wl-gray-bg);
}

.wl-block-title--soft {
  background: var(--wl-gray-soft);
}

.wl-block-title--muted {
  background: var(--wl-gray-muted);
}

.wl-block-title--indigo {
  background: var(--wl-indigo);
}

.wl-block-title--indigo-text .wl-block-title__h {
  color: var(--wl-indigo);
}

.wl-block-title__h {
  margin: 0;
  font-size: clamp(27px, 3vw, 30px);
  color: var(--wl-purple);
  line-height: 1.2;
}

.wl-block-title--indigo .wl-block-title__h {
  color: #fff;
}

.wl-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
}

.wl-split--center {
  justify-content: center;
}

.wl-split--wide {
  max-width: 1500px;
  margin-inline: auto;
  width: min(100% - 32px, 1500px);
}

.wl-split__text {
  flex: 1 1 280px;
  max-width: 520px;
}

.wl-split__text--center {
  text-align: center;
}

.wl-split__aside {
  flex: 0 1 280px;
}

.wl-split__media {
  flex: 1 1 320px;
  min-height: 380px;
  background-image: var(--wl-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.wl-split__media--devices {
  min-height: 340px;
  flex: 0 1 36%;
}

.wl-split__media--tall {
  min-height: 330px;
  flex: 0 1 60%;
}

.wl-split__media.wl-freq-demo {
  min-height: 0;
  max-width: 500px;
  margin-inline: auto;
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.wl-freq-demo *,
.wl-freq-demo *::before {
  box-sizing: border-box;
}

.wl-freq-demo__header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
}

.wl-freq-demo__panel {
  margin: 20px 10px 0;
  padding: 33px 15px 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wl-freq-demo__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.wl-freq-demo__switch-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.wl-freq-demo__switch-label {
  font-size: 18px;
  color: #57574e;
  min-width: 20px;
}

.wl-freq-demo__switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  margin-left: 4px;
  background-color: #e0e6ef;
  border-radius: 18px;
  transition: background 0.2s;
}

.wl-freq-demo__switch::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}

.wl-freq-demo__switch.is-on {
  background-color: #667eea;
}

.wl-freq-demo__switch.is-on::before {
  transform: translateX(20px);
}

.wl-freq-demo__input {
  display: flex;
  align-items: center;
  min-height: 37px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 18px;
  font-size: 16px;
  line-height: 1.2;
  white-space: pre;
}

.wl-freq-demo__caret {
  display: inline-block;
  width: 1px;
  height: 1.15em;
  margin-left: 1px;
  background: #000;
  animation: wl-freq-caret 1s steps(1) infinite;
}

@keyframes wl-freq-caret {
  50% { opacity: 0; }
}

.wl-freq-demo__results {
  list-style: none;
  margin: 40px 0 0;
  padding: 0 8px;
  min-height: 9.5em;
  overflow-wrap: anywhere;
}

.wl-freq-demo__results li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #e0e6ef;
  font-size: 16px;
  line-height: 1.25;
  animation: wl-freq-row-in 0.35s ease-out both;
}

.wl-freq-demo__results li:nth-child(2) { animation-delay: 0.08s; }
.wl-freq-demo__results li:nth-child(3) { animation-delay: 0.16s; }

.wl-freq-demo__results.is-leaving li {
  animation: wl-freq-row-out 0.25s ease-in both;
}

.wl-freq-demo__type {
  color: #447bc1;
  font-weight: bold;
}

.wl-freq-demo__freq {
  margin: 0 8px;
  color: #888;
  white-space: nowrap;
}

@keyframes wl-freq-row-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes wl-freq-row-out {
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wl-freq-demo__caret,
  .wl-freq-demo__results li {
    animation: none;
  }
}

.wl-card-shot.wl-history-demo {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.wl-history-demo *,
.wl-history-demo *::before,
.wl-history-demo *::after {
  box-sizing: border-box;
}

.wl-history-demo__viewport {
  position: relative;
  overflow: hidden;
}

.wl-history-demo__stage {
  position: relative;
  width: 900px;
  padding: 24px 26px;
  transform-origin: 0 0;
  transition: transform 0.7s ease-in-out;
}

.wl-history-demo__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #333;
}

.wl-history-demo__track {
  position: relative;
  display: flex;
  justify-content: center;
  padding-right: 58px;
}

.wl-history-demo__line {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--hti-line-y, 50%);
  transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(90deg, #848484, #3f3f3f);
  border-radius: 2px;
}

.wl-history-demo__nodes {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding-left: 55px;
  padding-right: 55px;
}

.wl-history-demo__slot {
  position: relative;
  flex: 0 0 170px;
  height: 0;
}

.wl-history-demo__add {
  position: absolute;
  right: 8px;
  top: var(--hti-line-y, 50%);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #8a4fc6;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 5;
  transition: scale 0.15s, background 0.15s;
}

.wl-history-demo__add.is-pressed {
  scale: 0.88;
  background: #4e2d95;
}

.wl-hti {
  --hti-color: #bbb;
  --hti-connector: 18px;
  --hti-connector-bottom: 23px;
  --hti-dot-half: 7px;
  position: absolute;
  left: 50%;
  width: 260px;
  padding: 8px;
  padding-bottom: 10px;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateX(-50%);
  opacity: 0;
  scale: 0.92;
  transition: opacity 0.35s, scale 0.35s, border-color 0.3s, box-shadow 0.3s;
}

.wl-hti.is-visible {
  opacity: 1;
  scale: 1;
}

.wl-hti.is-draft {
  border-style: dashed;
}

.wl-hti.has-color {
  border-color: var(--hti-color);
  box-shadow: inset 0 0 0 2px var(--hti-color);
}

.wl-hti::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  background: #bbb;
  transform: translateX(-50%);
}

.wl-hti::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hti-color);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--hti-color);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.wl-hti.placement-top { bottom: var(--hti-connector); }
.wl-hti.placement-top::before { top: 100%; height: var(--hti-connector); }
.wl-hti.placement-top::after { top: calc(100% + var(--hti-connector) - var(--hti-dot-half)); }
.wl-hti.placement-bottom { top: var(--hti-connector-bottom); }
.wl-hti.placement-bottom::before {
  top: calc(-1 * var(--hti-connector-bottom));
  height: var(--hti-connector-bottom);
}
.wl-hti.placement-bottom::after { bottom: calc(100% + var(--hti-connector-bottom) - var(--hti-dot-half)); }

.wl-hti__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 4px;
}

.wl-hti__date,
.wl-hti__title {
  min-height: calc(1.25em + 4px);
  padding: 2px 0;
  line-height: 1.25;
  font-weight: 600;
  color: #333;
}

.wl-hti__date {
  margin-bottom: 4px;
}

.wl-hti__title {
  margin-bottom: 4px;
  color: #000;
}

.wl-hti__delete {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
  line-height: 1;
}

.wl-hti__desc {
  min-height: calc(1.35em * 2 + 4px);
  padding: 2px 0;
  font-size: 0.85rem;
  line-height: 1.35;
  color: #666;
  white-space: pre-wrap;
  word-break: break-word;
}

.wl-hti__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.wl-hti__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ccc;
  transition: box-shadow 0.2s, scale 0.15s;
}

.wl-hti__dot.is-selected {
  box-shadow: 0 0 0 2px #333;
}

.wl-hti__dot.is-pressed {
  scale: 1.3;
}

.wl-hti__caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: #000;
  animation: wl-freq-caret 1s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wl-history-demo__stage,
  .wl-hti {
    transition: none;
  }
}

.wl-tagline {
  margin: 20px 0 0;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--wl-purple);
  line-height: 1.2;
  text-align: center;
}

.wl-tagline--left {
  text-align: left;
}

.wl-tagline--white {
  color: #fff;
}

.wl-tagline--indigo {
  color: var(--wl-indigo);
}

.wl-text-white {
  color: #fff;
}

.wl-card-shot {
  flex: 1 1 400px;
  min-height: 400px;
  background-color: #fff;
  background-image: var(--wl-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: var(--wl-radius);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.wl-card-shot--report {
  min-height: 450px;
  background-color: #fafafa;
  flex: 1 1 900px;
  max-width: 900px;
}

.wl-gradient__title {
  margin: 0;
  text-align: center;
  font-size: clamp(27px, 3vw, 30px);
}

.wl-gradient__lead {
  text-align: center;
  margin: 30px 0 0;
}

.wl-gradient__body p {
  text-align: center;
  margin: 30px 0 0;
}

.wl-checklist {
  list-style: none;
  margin: 24px auto 0;
  padding: 0 0 0 100px;
  max-width: 640px;
}

.wl-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.wl-checklist li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #fff;
  font-size: 20px;
}

.wl-gradient__footer {
  text-align: center;
  margin: 30px 0 0;
}

.wl-closing-cta {
  margin-top: 32px;
}

/* Footer */
.wl-footer {
  background: #1a1a1a;
  color: #efefef;
  padding: 48px 0 24px;
  font-size: 16px;
  font-weight: 500;
}

.wl-footer__title {
  font-size: 22px;
  margin: 0 0 8px;
  color: #fff;
}

.wl-footer__subtitle {
  margin: 0 0 20px;
  color: #ccc;
}

.wl-footer__community,
.wl-footer__contact {
  margin-bottom: 32px;
}

.wl-social {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wl-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.wl-social svg {
  fill: currentColor;
}

.wl-footer__address {
  margin: 0;
  line-height: 1.6;
}

.wl-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 14px;
}

.wl-footer__copy {
  margin: 0;
}

.wl-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wl-footer__links a {
  color: #efefef;
  text-decoration: none;
}

.wl-footer__links a:hover {
  text-decoration: underline;
}

/* Demo form page */
.wl-demo {
  padding: 48px 0 80px;
}

.wl-demo__card {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.wl-demo h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  color: var(--wl-purple);
}

.wl-demo__intro {
  margin: 0 0 24px;
  color: #555;
  font-weight: 500;
  font-size: 17px;
}

.wl-field {
  margin-bottom: 18px;
}

.wl-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.wl-field input,
.wl-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

.wl-field textarea {
  min-height: 140px;
  resize: vertical;
}

.wl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wl-alert {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 15px;
}

.wl-alert--ok {
  background: #e7f7ed;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.wl-alert--err {
  background: #fdebea;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.wl-demo__note {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.wl-demo__back {
  display: inline-block;
  margin-top: 20px;
  color: var(--wl-purple);
}

/* ——— Mobile (phones & small tablets) ——— */
@media (max-width: 767px) {
  body.wl-landing {
    font-size: 16px;
    line-height: 1.45;
    -webkit-text-size-adjust: 100%;
  }

  body.wl-landing.wl-nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .wl-container,
  .wl-container--narrow,
  .wl-split--wide {
    width: min(100% - 20px, var(--wl-container));
  }

  .wl-site-top {
    padding-top: env(safe-area-inset-top, 0);
  }

  .wl-header__inner {
    position: relative;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 10px 0;
  }

  .wl-header__logo {
    position: static;
    transform: none;
  }

  .wl-header__logo img {
    height: 40px;
  }

  .wl-header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

  .wl-header__nav {
    display: none;
    position: fixed;
    z-index: 60;
    top: calc(var(--wl-site-top-bar, 108px) + env(safe-area-inset-top, 0));
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    background: #fff;
    padding: 20px 16px calc(24px + env(safe-area-inset-bottom, 0));
    box-shadow: none;
    border-top: 1px solid #eee;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wl-header__nav.is-open {
    display: flex;
  }

  .wl-header__pages {
    width: 100%;
    justify-content: center;
    order: -1;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
  }

  .wl-lang-bar__inner {
    justify-content: center;
  }

  .wl-lang-switch {
    flex-wrap: wrap;
    justify-content: center;
  }

  .wl-lang-switch__item {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
  }

  .wl-header__actions {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .wl-header__nav .wl-btn,
  .wl-header__actions .wl-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wl-hero {
    margin: 32px auto 24px;
    text-align: left;
  }

  .wl-hero__subtitle {
    line-height: 1.15;
  }

  .wl-band {
    padding: 40px 0;
  }

  .wl-band__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .wl-lead {
    max-width: none;
  }

  .wl-btn--block-mobile {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wl-section {
    padding: 24px 0;
  }

  .wl-section--gray,
  .wl-section--soft,
  .wl-section--muted {
    padding: 24px 0;
  }

  .wl-section--muted-bottom,
  .wl-section--indigo-bottom {
    padding-bottom: 48px;
  }

  .wl-section--gradient {
    margin-top: 48px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 36px 0;
    border-radius: 0;
  }

  .wl-section--gradient .wl-container,
  .wl-section--gradient .wl-container--narrow {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 16px;
    box-sizing: border-box;
  }

  .wl-section--closing {
    padding: 64px 0 40px;
  }

  .wl-section__title {
    margin-top: 32px;
    line-height: 1.1;
  }

  .wl-block-title {
    padding-top: 32px;
    padding-bottom: 8px;
  }

  .wl-block-title__h {
    line-height: 1.1;
  }

  .wl-split,
  .wl-split--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .wl-split--reverse-mobile {
    flex-direction: column-reverse;
  }

  .wl-split__text,
  .wl-split__aside,
  .wl-split__media {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  .wl-split__text--center,
  .wl-tagline,
  .wl-tagline--left {
    text-align: center;
  }

  .wl-split__media,
  .wl-split__media--devices,
  .wl-split__media--tall {
    min-height: 220px;
    flex: none;
    margin-inline: auto;
    width: 100%;
  }

  .wl-split__media--devices {
    min-height: 200px;
  }

  .wl-card-shot,
  .wl-card-shot--report {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: 240px;
    margin-inline: 0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  .wl-card-shot--report {
    min-height: 260px;
  }

  .wl-tagline {
    margin-top: 12px;
    font-size: 22px;
  }

  .wl-checklist {
    padding-left: 8px;
    padding-right: 8px;
    max-width: none;
  }

  .wl-checklist li {
    padding-left: 24px;
    font-size: 15px;
  }

  .wl-gradient__lead,
  .wl-gradient__footer {
    font-size: 15px;
  }

  .wl-footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0));
  }

  .wl-footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .wl-footer__links {
    flex-direction: column;
    gap: 12px;
  }

  .wl-footer__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .wl-demo {
    padding: 32px 0 48px;
  }

  .wl-demo__card {
    padding: 20px 16px;
    border-radius: 10px;
    box-shadow: none;
    border: none;
  }

  .wl-field input,
  .wl-field textarea {
    font-size: 16px;
    min-height: 48px;
  }

  .wl-demo .wl-btn--cta {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  .wl-hero__title {
    font-size: 26px;
  }

  .wl-section__title,
  .wl-block-title__h {
    font-size: 24px;
  }

  .wl-split__media,
  .wl-card-shot {
    min-height: 200px;
  }
}
