:root {
  color-scheme: light;
  --brand-orange: #fd6602;
  --brand-orange-dark: #ee5802;
  --background: #fbf6ef;
  --surface: #fffcf8;
  --surface-highlight: #f3e4d8;
  --hero-surface: var(--surface-highlight);
  --action: #a94d1a;
  --action-pressed: #8e3f16;
  --action-soft: #f6e8df;
  --on-action: #ffffff;
  --text-primary: #2a211b;
  --text-secondary: #74665c;
  --text-disabled: #aa9b91;
  --border: #e7dacd;
  --border-strong: #d2bfaa;
  --separator: #efe4d8;
  --success: #527609;
  --success-background: #eef5dd;
  --error: #b42318;
  --warning: #8f4c13;
  --warning-background: #fff1d6;
  --shadow: 0 2px 10px rgba(42, 33, 27, 0.045);
  --accent-panel-background: var(--surface-highlight);
  --accent-panel-surface: var(--surface);
  --accent-panel-highlight: var(--action-soft);
  --accent-panel-border: var(--border);
  --accent-panel-border-strong: var(--border-strong);
  --accent-panel-text: var(--text-primary);
  --accent-panel-secondary: var(--text-secondary);
  --container: 1160px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #120e0b;
  --surface: #251c17;
  --surface-highlight: #30231c;
  --hero-surface: #39261c;
  --action: #ff8a4c;
  --action-pressed: #ff9f6c;
  --action-soft: #502d20;
  --on-action: #1b0f09;
  --text-primary: #fffaf6;
  --text-secondary: #e3d5ca;
  --text-disabled: #a58f80;
  --border: #4e3b31;
  --border-strong: #705646;
  --separator: #3c2d25;
  --success: #b7db6a;
  --success-background: #26301a;
  --error: #ef8b83;
  --warning: #efb56f;
  --warning-background: #382b1e;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  --accent-panel-background: #100c09;
  --accent-panel-surface: #251a14;
  --accent-panel-highlight: #5b311f;
  --accent-panel-border: #554034;
  --accent-panel-border-strong: #775b49;
  --accent-panel-text: #fffaf6;
  --accent-panel-secondary: #e4d5c9;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #120e0b;
    --surface: #251c17;
    --surface-highlight: #30231c;
    --hero-surface: #39261c;
    --action: #ff8a4c;
    --action-pressed: #ff9f6c;
    --action-soft: #502d20;
    --on-action: #1b0f09;
    --text-primary: #fffaf6;
    --text-secondary: #e3d5ca;
    --text-disabled: #a58f80;
    --border: #4e3b31;
    --border-strong: #705646;
    --separator: #3c2d25;
    --success: #b7db6a;
    --success-background: #26301a;
    --error: #ef8b83;
    --warning: #efb56f;
    --warning-background: #382b1e;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    --accent-panel-background: #100c09;
    --accent-panel-surface: #251a14;
    --accent-panel-highlight: #5b311f;
    --accent-panel-border: #554034;
    --accent-panel-border-strong: #775b49;
    --accent-panel-text: #fffaf6;
    --accent-panel-secondary: #e4d5c9;
  }
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: auto;
  scrollbar-width: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text-primary);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: color 180ms ease-out, background-color 180ms ease-out;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.6vw, 4.6rem);
  letter-spacing: normal;
}

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

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

.kicker {
  margin-bottom: 12px;
  color: var(--action);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 0;
  border-radius: 999px;
  background: var(--brand-orange);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-orange-dark);
}

@supports (-moz-appearance: none) {
  html {
    scrollbar-color: var(--brand-orange) transparent;
    scrollbar-width: thin;
  }
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-toggle,
.theme-toggle {
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: color 180ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out;
}

.language-toggle {
  min-width: 48px;
  font: inherit;
}

.theme-toggle {
  width: 44px;
  flex: 0 0 44px;
}

.language-toggle:hover,
.theme-toggle:hover {
  border-color: var(--action);
}

.language-flag {
  width: 30px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.language-flag .flag {
  width: 30px;
  height: 18px;
  display: none;
  overflow: hidden;
  border-radius: 2px;
}

.language-toggle[data-current-language="fr"] .flag--fr,
.language-toggle[data-current-language="en"] .flag--en {
  display: block;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun {
  display: block;
  color: var(--brand-orange);
}

.theme-toggle .icon-moon {
  display: none;
  color: #ffffff;
}

.theme-toggle[data-current-theme="dark"] .icon-sun {
  display: none;
}

.theme-toggle[data-current-theme="dark"] .icon-moon {
  display: block;
}

.language-toggle:focus-visible,
.theme-toggle:focus-visible,
.button:focus-visible,
.os-choice:focus-visible,
.task-list input:focus-visible,
.footer-contact:focus-visible,
a:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
}

/* Buttons */
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  background: var(--action);
  color: var(--on-action);
  font: inherit;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease-out;
}

.button:hover {
  background: var(--action-pressed);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
}

.platform-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 82px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: -120px;
  right: -120px;
  border-radius: 50%;
  background: var(--action-soft);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 56px;
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(2.85rem, 5.25vw, 4.55rem);
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--text-secondary);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-primary-cta {
  min-width: 220px;
}

.hero-visual {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  overflow: hidden;
  padding: 42px 42px 4px;
  border: 1px solid var(--border);
  background: var(--hero-surface);
  box-shadow: var(--shadow);
}

.goal-transform {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  padding: 24px;
  border: 1px solid var(--border-strong);
  border-left: 5px solid var(--action);
  background: var(--surface);
}

.goal-transform p,
.goal-transform strong {
  display: block;
}

.goal-transform__raw {
  margin: 6px 0 12px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.goal-transform__arrow {
  display: block;
  margin: 8px 0 12px;
  color: var(--action);
  font-size: 22px;
  font-weight: 800;
}

.goal-transform > strong {
  margin-top: 6px;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  line-height: 1.35;
}

.demo-label {
  color: var(--action);
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mascot--hero {
  position: static;
  z-index: 2;
  width: 275px;
  max-height: none;
  flex: 0 0 auto;
  margin: 0 auto -4px;
  object-fit: contain;
  object-position: center;
}

/* Shared sections */
.section {
  padding: 104px 0;
}

.section--white {
  background: var(--surface);
}

.section--cream {
  background: var(--surface-highlight);
}

.section-heading {
  max-width: 760px;
  margin: 0 0 56px;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
  letter-spacing: normal;
}

.section-heading--compact {
  margin-bottom: 38px;
}

.section-heading--compact h2 {
  margin-bottom: 0;
}

.problem-section {
  padding-block: 82px;
}

.problem-copy {
  max-width: 880px;
}

.problem-copy h2,
.rhythm-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.5vw, 3.7rem);
}

.problem-copy > p:last-child,
.rhythm-copy > p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

/* Product explanation */
.process-stack {
  border-bottom: 1px solid var(--border-strong);
}

.process-step {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: 44px;
  padding: 42px 0;
  border-top: 1px solid var(--border-strong);
}

.process-step__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.process-step__title > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid var(--action);
  border-radius: 50%;
  color: var(--action);
  font-size: 13px;
  font-weight: 700;
}

.process-step__title h3 {
  margin: 3px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.process-step__content > p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.before-after {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) auto minmax(0, 1.18fr);
  align-items: stretch;
  gap: 14px;
}

.before-after > div {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.before-after > div:last-child {
  border-color: var(--action);
  background: var(--action-soft);
}

.before-after span:not(.before-after__arrow) {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.before-after strong {
  font-size: 14px;
  line-height: 21px;
}

.before-after__arrow {
  align-self: center;
  color: var(--action);
  font-size: 24px;
  font-weight: 800;
}

.milestone-list {
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  list-style: none;
  counter-reset: milestones;
}

.milestone-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  counter-increment: milestones;
}

.milestone-list li:last-child {
  border-bottom: 0;
}

.milestone-list li span::before {
  content: counter(milestones) ".";
  margin-right: 10px;
  color: var(--text-disabled);
  font-weight: 700;
}

.milestone-list strong {
  min-width: 42px;
  color: var(--action);
  text-align: right;
}

.task-panel {
  border: 1px solid var(--border);
  background: var(--surface);
}

.task-panel__head {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.task-panel__head span {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.task-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-list li {
  display: block;
  padding: 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 20px;
}

.task-list li:last-child {
  border-bottom: 0;
}

.task-list label {
  width: 100%;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 13px 18px;
  cursor: pointer;
}

.task-list input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--action);
  cursor: pointer;
}

.task-list input[type="checkbox"] + span {
  min-width: 0;
  transition: color 150ms ease-out, opacity 150ms ease-out, text-decoration-color 150ms ease-out;
}

.task-list input[type="checkbox"]:checked + span {
  color: var(--text-disabled);
  opacity: 0.72;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
}

/* Progress example */
.rhythm-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(600px, 1.36fr);
  align-items: center;
  gap: 56px;
}

.rhythm-demo {
  padding: 30px;
  border: 1px solid var(--accent-panel-border-strong);
  background: var(--accent-panel-background);
  color: var(--accent-panel-text);
}

.completion-line {
  display: flex;
  align-items: center;
  gap: 16px;
}

.completion-line div {
  display: grid;
  gap: 3px;
}

.completion-line small {
  color: var(--success);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.completion-line strong {
  font-size: 17px;
  line-height: 23px;
}

.completion-check {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 50%;
  background: var(--success);
  color: #172005;
  font-size: 17px;
  font-weight: 900;
}

.rhythm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 17px;
  border-block: 1px solid var(--accent-panel-border);
}

.rhythm-stats div {
  display: grid;
  gap: 5px;
  padding: 18px 12px;
  border-right: 1px solid var(--accent-panel-border);
}

.rhythm-stats div:first-child {
  padding-left: 0;
}

.rhythm-stats div:last-child {
  padding-right: 0;
  border-right: 0;
}

.rhythm-stats span {
  color: var(--accent-panel-secondary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.rhythm-stats strong {
  font-size: 16px;
}

.rhythm-stats small {
  color: var(--accent-panel-secondary);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.milestone-progress {
  position: relative;
  height: 28px;
  margin: 10px 10px 21px;
  overflow: visible;
  background: transparent;
}

.milestone-progress::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 10px;
  right: 0;
  left: 0;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-panel-border);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.milestone-progress__fill {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 0;
  width: var(--progress);
  min-width: 10px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-orange-dark), var(--brand-orange));
  box-shadow: 0 0 12px rgba(253, 102, 2, 0.65);
}

.milestone-progress__marker {
  position: absolute;
  z-index: 2;
  top: 3px;
  left: var(--position);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border: 2px solid var(--accent-panel-border-strong);
  border-radius: 50%;
  background: var(--accent-panel-surface);
  color: var(--accent-panel-secondary);
}

.milestone-progress__marker:last-child {
  transform: translateX(-100%);
}

.milestone-progress__marker.is-complete {
  border-color: var(--brand-orange);
  background: var(--brand-orange);
  color: #201108;
  box-shadow: 0 0 12px rgba(253, 102, 2, 0.75);
}

.milestone-progress__marker.is-current {
  border-color: var(--accent-panel-border-strong);
  background: var(--accent-panel-surface);
  color: var(--accent-panel-secondary);
  box-shadow: none;
}

.milestone-progress__marker b {
  font-size: 9px;
  line-height: 1;
}

.milestone-estimates {
  display: block;
  margin-bottom: 25px;
  column-count: 2;
  column-gap: 22px;
}

.milestone-estimate {
  min-width: 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--accent-panel-border);
  break-inside: avoid;
}

.milestone-estimate > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--accent-panel-secondary);
  font-size: 12px;
  font-weight: 800;
}

.milestone-estimate.is-complete > span {
  color: var(--brand-orange);
}

.milestone-estimate p {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.milestone-estimate strong {
  color: var(--accent-panel-text);
  font-size: 13px;
  line-height: 18px;
  white-space: normal;
}

.milestone-estimate small {
  flex: 0 0 auto;
  color: var(--brand-orange);
  font-size: 12px;
  line-height: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.task-panel--adaptive {
  border-color: var(--accent-panel-border);
  background: var(--accent-panel-surface);
}

.task-panel--adaptive .task-panel__head,
.task-panel--adaptive .task-list li {
  border-color: var(--accent-panel-border);
}

.task-panel--adaptive .task-panel__head {
  padding: 17px 19px;
}

.task-panel--adaptive .task-panel__head span {
  color: var(--accent-panel-secondary);
}

.task-panel--adaptive .task-panel__head strong {
  font-size: 16px;
  line-height: 22px;
}

.task-panel--adaptive .task-list label {
  padding: 14px 19px;
  font-size: 14px;
  line-height: 20px;
}

.task-panel--adaptive .task-list input[type="checkbox"]:checked + span {
  color: var(--accent-panel-secondary);
}

/* Goal examples */
.goals-section {
  overflow: hidden;
}

.goals-section > .container {
  max-width: 880px;
}

.goal-ticker {
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid var(--border-strong);
  background: var(--surface);
}

.goal-ticker__track {
  width: max-content;
  display: flex;
  animation: leapo-ticker 58s linear infinite;
  will-change: transform;
}

.goal-ticker:hover .goal-ticker__track,
.goal-ticker:focus-within .goal-ticker__track {
  animation-play-state: paused;
}

.goal-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.goal-ticker__item {
  padding-inline: 34px;
  color: var(--text-primary);
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
}

.goal-ticker__separator {
  color: var(--action);
  font-size: 14px;
}

@keyframes leapo-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Waitlist */
#waitlist {
  scroll-margin-top: 24px;
}

.waitlist {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--accent-panel-background);
  color: var(--accent-panel-text);
}

.waitlist::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -90px;
  bottom: -190px;
  border-radius: 50%;
  background: var(--accent-panel-highlight);
  opacity: 0.38;
}

.waitlist-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 900px);
  max-width: 900px;
  margin-inline: auto;
}

.waitlist .kicker {
  color: var(--action);
}

.waitlist h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: normal;
}

.waitlist p {
  max-width: 650px;
  color: var(--accent-panel-secondary);
}

.waitlist-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.waitlist-benefits li {
  position: relative;
  padding-left: 28px;
  color: var(--accent-panel-text);
  font-size: 14px;
  line-height: 20px;
}

.waitlist-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.os-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.os-options {
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.os-choice {
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 2px solid var(--accent-panel-border-strong);
  border-radius: 8px;
  background: var(--accent-panel-surface);
  color: var(--accent-panel-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out;
}

.os-choice:hover {
  border-color: var(--action);
  background: var(--accent-panel-highlight);
}

.os-choice.is-selected {
  border-color: var(--action);
  background: var(--action);
  color: var(--on-action);
}

.os-choice__copy {
  display: grid;
  gap: 3px;
}

.os-choice__copy strong {
  font-size: 16px;
  line-height: 20px;
}

.os-choice__check {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  font-weight: 800;
}

.os-choice.is-selected .os-choice__check {
  opacity: 1;
}

.platform-choice-status {
  margin: 12px 0 0;
  color: var(--accent-panel-secondary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.platform-choice-status:empty {
  display: none;
}

.platform-choice-status.is-error {
  color: var(--error);
}

.waitlist-form-shell {
  max-width: 900px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--accent-panel-border);
  background: var(--accent-panel-surface);
}

.waitlist-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.waitlist-field {
  min-width: 0;
  flex: 1;
}

.waitlist-field label {
  display: block;
  margin: 0 0 8px 4px;
  color: var(--accent-panel-secondary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.waitlist-field input {
  width: 100%;
}

.waitlist-placeholder input[type="email"] {
  min-width: 0;
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid var(--accent-panel-border-strong);
  border-radius: 16px;
  background: var(--accent-panel-surface);
  color: var(--accent-panel-text);
  font: inherit;
}

.waitlist-placeholder input[type="email"]::placeholder {
  color: var(--accent-panel-secondary);
}

.waitlist-placeholder > .button {
  min-height: 48px;
  height: 48px;
  align-self: flex-end;
  padding-inline: 18px;
  font-size: 15px;
}

.waitlist-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  color: var(--accent-panel-secondary);
  font-size: 13px;
  line-height: 19px;
  cursor: pointer;
}

.waitlist-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 1px 0 0;
  accent-color: var(--action);
}

.waitlist-form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--accent-panel-secondary);
  font-size: 14px;
  line-height: 20px;
}

.waitlist-form-status:empty {
  display: none;
}

.waitlist-form-status.is-error {
  color: var(--error);
}

.waitlist-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.waitlist-success {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--success);
  background: var(--success-background);
  color: var(--accent-panel-text);
}

.waitlist-success h3 {
  margin-bottom: 12px;
}

.waitlist-success p:last-child {
  margin-bottom: 0;
}

/* Legal pages */
.legal-page {
  min-height: calc(100vh - 76px);
  padding: 60px 0 96px;
  background: var(--background);
}

.legal-layout {
  width: min(calc(100% - 40px), 900px);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 42px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.legal-back:hover {
  color: var(--action);
}

.legal-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.legal-updated {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.legal-content {
  font-size: 16px;
}

.legal-language--en {
  display: none;
}

:root[data-language="en"] .legal-language--fr {
  display: none;
}

:root[data-language="en"] .legal-language--en {
  display: block;
}

.legal-intro {
  max-width: 720px;
  margin: 34px 0 10px;
  color: var(--text-primary);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.5;
  font-weight: 600;
}

.legal-content section {
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.legal-content section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
}

.legal-content p:last-child,
.legal-content ul:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 9px;
}

.legal-content mark {
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--warning-background);
  color: var(--warning);
}

.legal-private-link {
  color: var(--action);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-private-link:hover {
  color: var(--action-pressed);
}

.legal-details {
  margin: 0;
  border-top: 1px solid var(--border);
}

.legal-details div {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.6fr);
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.legal-details dt {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.legal-details dd {
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
}

.legal-table {
  margin: 22px 0;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.legal-table__row {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(200px, 1.4fr) minmax(170px, 1fr);
  gap: 18px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.legal-table__row:last-child {
  border-bottom: 0;
}

.legal-table__head {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-table code {
  color: var(--action);
  font-size: 13px;
  font-weight: 700;
}

.content-page {
  max-width: 900px;
}

/* Footer */
.site-footer {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-identity {
  display: grid;
  gap: 3px;
}

.footer-brand {
  color: var(--text-primary);
  font-weight: 700;
}

.footer-contact {
  width: fit-content;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 12px;
  line-height: 17px;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-contact:hover {
  color: var(--action);
  text-decoration-color: currentColor;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal__link {
  min-height: auto;
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease;
}

a.footer-legal__link:hover {
  border-bottom-color: currentColor;
  color: var(--action);
}

.footer-legal__link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.52;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .rhythm-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 50px;
  }

  .hero-visual {
    width: 100%;
  }

  .rhythm-grid {
    gap: 38px;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav {
    min-height: 66px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-toggle {
    min-width: 44px;
  }

  .hero {
    padding: 42px 0 62px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .hero-primary-cta {
    width: 100%;
  }

  .hero-visual {
    gap: 12px;
    padding: 24px 18px 4px;
  }

  .goal-transform {
    padding: 18px;
  }

  .mascot--hero {
    width: 205px;
    margin-bottom: -2px;
  }

  .section {
    padding: 76px 0;
  }

  .process-step {
    padding-block: 34px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .milestone-list li {
    align-items: start;
    gap: 12px;
    padding-inline: 14px;
  }

  .rhythm-demo {
    padding: 22px 18px;
  }

  .rhythm-stats {
    grid-template-columns: 1fr;
  }

  .rhythm-stats div,
  .rhythm-stats div:first-child,
  .rhythm-stats div:last-child {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--accent-panel-border);
  }

  .rhythm-stats div:last-child {
    border-bottom: 0;
  }

  .milestone-estimates {
    column-count: 1;
  }

  .goal-ticker {
    padding-block: 22px;
  }

  .goal-ticker__item {
    padding-inline: 20px;
    font-size: 1rem;
  }

  .waitlist-benefits {
    grid-template-columns: 1fr;
  }

  .os-choice {
    gap: 8px;
    padding-inline: 12px;
  }

  .os-choice .platform-icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .waitlist-placeholder {
    grid-template-columns: 1fr;
  }

  .waitlist-placeholder > .button {
    grid-column: 1;
    align-self: stretch;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page {
    min-height: calc(100vh - 66px);
    padding: 38px 0 72px;
  }

  .legal-layout {
    width: min(calc(100% - 28px), 900px);
  }

  .legal-back {
    margin-bottom: 30px;
  }

  .legal-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal-table {
    border: 0;
  }

  .legal-table__row {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid var(--border);
  }

  .legal-table__head {
    display: none;
  }
}

@media (max-width: 760px) {
  .waitlist {
    padding: 58px 0;
  }

  .waitlist-inner {
    width: min(calc(100% - 28px), 900px);
  }
}

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

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

  .goal-ticker {
    overflow-x: auto;
  }

  .goal-ticker__track {
    animation: none !important;
  }

  .goal-ticker__group[aria-hidden="true"] {
    display: none;
  }
}
