/* =============================================
   Clario vitrine — design éditorial
   Vitrine éditoriale (Newsreader + Instrument Sans)
   ============================================= */

:root {
  --cream-50: #FAF6EE;
  --cream-100: #F5F0E8;
  --cream-200: #EBE3D6;
  --cream-300: #DDD2C1;
  --ink: #2C2522;
  --ink-2: #5C524B;
  --ink-3: #857A71;
  --coral: #E07A5F;
  --coral-deep: #C9634A;
  --coral-text: #A94A33;
  --coral-tint: #F8DDD3;
  --logo: #FE7358;
  --sky: #DCE7F0;
  --sky-ink: #2F5D80;
  --peach: #FBE3D0;
  --peach-ink: #8A4A1E;
  --sage: #DDE8D5;
  --sage-ink: #3F6B3A;
  --lilac: #E3E1F3;
  --lilac-ink: #4A4590;
  --bg: var(--cream-100);
  --surface: var(--cream-50);
  --line: var(--cream-300);
  --shadow: 0 1px 2px rgba(44, 37, 34, .06), 0 12px 32px rgba(44, 37, 34, .08);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1120px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream-50: #26201B;
    --cream-100: #1C1815;
    --cream-200: #332B24;
    --cream-300: #463C33;
    --ink: #F3ECE2;
    --ink-2: #C9BEB1;
    --ink-3: #9A8E82;
    --coral: #EE8C72;
    --coral-deep: #F19E87;
    --coral-text: #F2A08A;
    --coral-tint: #4A2E26;
    --sky: #27384A;
    --sky-ink: #A9C8E4;
    --peach: #4A3324;
    --peach-ink: #F0C3A0;
    --sage: #2E3E2B;
    --sage-ink: #B5D3AC;
    --lilac: #35335A;
    --lilac-ink: #C6C3F0;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

:root[data-theme="dark"] {
  --cream-50: #26201B;
  --cream-100: #1C1815;
  --cream-200: #332B24;
  --cream-300: #463C33;
  --ink: #F3ECE2;
  --ink-2: #C9BEB1;
  --ink-3: #9A8E82;
  --coral: #EE8C72;
  --coral-deep: #F19E87;
  --coral-text: #F2A08A;
  --coral-tint: #4A2E26;
  --sky: #27384A;
  --sky-ink: #A9C8E4;
  --peach: #4A3324;
  --peach-ink: #F0C3A0;
  --sage: #2E3E2B;
  --sage-ink: #B5D3AC;
  --lilac: #35335A;
  --lilac-ink: #C6C3F0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
}

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px);
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.wrap,
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 50;
}

.skip:focus {
  left: 8px;
}

/* Header */
header,
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: env(safe-area-inset-top, 0px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand,
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand svg,
.nav-logo svg,
.brand img,
.nav-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand span,
.nav-logo span {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
}

.nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.nav ul a:hover,
.nav ul a[aria-current="page"] {
  color: var(--ink);
}

.nav-right,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 16px var(--sans);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .2s;
  gap: 8px;
}

.btn-primary {
  background: var(--coral);
  color: #2C2522;
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: #2C2522;
}

.btn-quiet,
.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-quiet:hover,
.btn-outline:hover {
  background: var(--cream-200);
  color: var(--ink);
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  display: grid;
  place-items: center;
  transition: background .2s;
  flex: none;
}

.theme-toggle:hover {
  background: var(--cream-200);
}

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

.theme-toggle .i-moon,
.theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="light"] .theme-toggle .i-sun,
:root[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .i-moon,
:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a.active {
  background: var(--ink);
  color: var(--bg);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  place-items: center;
  flex: none;
}

.nav-toggle:hover {
  background: var(--cream-200);
}

.nav-toggle-box {
  position: relative;
  width: 18px;
  height: 14px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.6px;
  border-radius: 1px;
  background: currentColor;
  transition: top .2s, transform .2s, opacity .2s;
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6px; }
.nav-toggle-box span:nth-child(3) { top: 12px; }

header.nav-open .nav-toggle-box span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

header.nav-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

header.nav-open .nav-toggle-box span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-download,
.nav-lang,
.nav-more {
  display: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .nav-right > .btn-primary {
    display: none;
  }

  header.nav-open {
    background: var(--bg);
  }

  .nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(44, 37, 34, .12);
  }

  header.nav-open .nav ul {
    display: flex;
  }

  .nav ul a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-size: 18px;
    border-bottom: 1px solid var(--cream-200);
  }

  .nav ul a[aria-current="page"] {
    color: var(--coral-text);
  }

  .nav-more,
  .nav-download {
    display: block;
  }

  .nav-download a {
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0;
    border-radius: 999px;
    background: var(--coral);
    color: #2C2522;
    font-weight: 600;
  }

  .nav-download a:hover {
    background: var(--coral-deep);
    color: #2C2522;
  }
}

@media (max-width: 560px) {
  header.nav-open .nav-lang {
    display: flex;
    gap: 8px;
    padding-top: 14px;
  }

  .nav-lang a {
    flex: none;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1.5px var(--line);
    font-size: 14px;
    font-weight: 600;
  }

  .nav-lang a.active {
    background: var(--ink);
    color: var(--bg);
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-box span {
    transition: none;
  }
}

@media (max-width: 720px) {
  .nav .btn-outline {
    display: none;
  }

  .brand span,
  .nav-logo span {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .nav .lang-switch {
    display: none;
  }

  .wrap,
  .container {
    padding: 0 16px;
  }

  .nav {
    gap: 8px;
  }

  .nav-right,
  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .nav .btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .brand svg,
  .nav-logo svg,
  .brand img,
  .nav-logo img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 380px) {
  .nav,
  .nav-right {
    gap: 6px;
  }

  .nav-right .btn-quiet {
    padding: 0 10px;
    min-height: 40px;
    font-size: 13px;
  }

  .theme-toggle,
  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

/* Store buttons */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

[data-os="android"] .stores {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 16px;
  background: #2C2522;
  color: #F5F0E8;
  text-decoration: none;
  transition: background .2s;
}

.store:hover {
  background: #000;
  color: #F5F0E8;
}

.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.store small {
  display: block;
  font-size: 12px;
  line-height: 1.1;
  opacity: .8;
}

.store b {
  display: block;
  font: 600 18px/1.15 var(--sans);
}

:root[data-theme="dark"] .hero .store,
:root[data-theme="dark"] .store {
  background: #F3ECE2;
  color: #1C1815;
}

:root[data-theme="dark"] .store:hover {
  background: #fff;
  color: #1C1815;
}

.cta .store {
  background: #2C2522 !important;
  color: #F5F0E8 !important;
}

.cta .store:hover {
  background: #000 !important;
}

.cta .store:focus-visible {
  outline-color: #2C2522;
}

.cta .stores {
  justify-content: center;
}

[data-os="android"] .cta .stores {
  justify-content: center;
}

@media (max-width: 640px) {
  .cta .stores {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .cta .store {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 10px;
  }

  .cta .store small {
    font-size: 10px;
  }

  .cta .store b {
    font-size: 14px;
  }

  .cta .store svg {
    width: 18px;
    height: 18px;
  }
}

/* Hero */
.hero {
  padding: 56px 0 48px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 84px);
  max-width: 11ch;
}

.hero .lede {
  margin-top: 28px;
  font-size: 20px;
  color: var(--ink-2);
  max-width: 34em;
}

.hero .stores {
  margin-top: 36px;
}

.hero .note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }
}

.hero-mark .petals use {
  transform-origin: 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-mark .petals use {
    animation: bloom 1.1s cubic-bezier(.2, .7, .2, 1) both;
    animation-delay: calc(var(--i) * 70ms);
  }

  @keyframes bloom {
    from {
      transform: rotate(calc(var(--r) * 1deg - 50deg)) scale(.2);
      opacity: 0;
    }

    to {
      transform: rotate(calc(var(--r) * 1deg)) scale(1);
      opacity: 1;
    }
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mark {
  position: absolute;
  width: 420px;
  max-width: 120%;
  top: -40px;
  right: -60px;
  opacity: .16;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 860px) {
  .hero-mark {
    width: 300px;
    right: -40px;
  }
}

/* Phone mockup */
.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 610px;
  border-radius: 44px;
  background: #2C2522;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(44, 37, 34, .22), 0 2px 6px rgba(44, 37, 34, .2);
}

.screen {
  height: 100%;
  border-radius: 35px;
  background: var(--surface);
  overflow: hidden;
  position: relative;
  padding: 44px 18px 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  border-radius: 14px;
  background: #2C2522;
}

.hello {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
}

.hello small {
  display: block;
  font: 400 13px var(--sans);
  color: var(--ink-2);
  margin-top: 4px;
}

.s-label {
  font: 600 12px var(--sans);
  color: var(--ink-2);
  margin: 16px 0 8px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.tile {
  border-radius: 12px;
  padding: 8px 2px;
  text-align: center;
  font-size: 9.5px;
  line-height: 1.2;
}

.tile b {
  display: block;
  font: 500 22px var(--serif);
  line-height: 1.1;
}

.t-sky {
  background: var(--sky);
  color: var(--sky-ink);
}

.t-peach {
  background: var(--peach);
  color: var(--peach-ink);
}

.t-sage {
  background: var(--sage);
  color: var(--sage-ink);
}

.t-lilac {
  background: var(--lilac);
  color: var(--lilac-ink);
}

.next {
  background: var(--cream-100);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.next i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
}

.next em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--ink-2);
}

.task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--cream-200);
}

.task::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
  flex: none;
}

.task.habit-row::before {
  border-radius: 50%;
}

.tabbar {
  margin: auto -18px 0;
  background: var(--surface);
  border-top: 1px solid var(--cream-200);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 9px 6px 16px;
  font-size: 9.5px;
  text-align: center;
  color: var(--ink-3);
}

.tabbar span:first-child {
  color: var(--ink);
  font-weight: 600;
}

.fab {
  position: absolute;
  right: 16px;
  bottom: 64px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2C2522;
  color: #F5F0E8;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: var(--shadow);
}

/* Sections */
section {
  padding: 88px 0;
}

.sec-head {
  max-width: 660px;
  margin-bottom: 48px;
}

.sec-head h2 {
  font-size: clamp(34px, 4.6vw, 54px);
}

.sec-head p {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 19px;
}

/* Why — carte fermée, mêmes teintes que les fonctionnalités */
.why {
  padding: 8px 0 72px;
}

.why-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: 32px;
  padding: 40px 40px 28px;
  box-shadow: var(--shadow);
}

.why-mark {
  position: absolute;
  width: 320px;
  height: auto;
  right: -48px;
  top: -36px;
  fill: var(--coral);
  opacity: .16;
  pointer-events: none;
}

.why-copy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  gap: 24px 64px;
  align-items: end;
}

.why h2 {
  font-size: clamp(34px, 4vw, 48px);
  max-width: 14em;
}

.why p {
  margin: 0;
  max-width: 34em;
  padding-bottom: .15em;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
}

.why-tones {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.why-tones li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 18px;
  font: 600 15px var(--sans);
}

.why-tones svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.why-tones .t-peach { background: var(--peach); color: var(--peach-ink); }
.why-tones .t-sage { background: var(--sage); color: var(--sage-ink); }
.why-tones .t-lilac { background: var(--lilac); color: var(--lilac-ink); }
.why-tones .t-sky { background: var(--sky); color: var(--sky-ink); }

@media (max-width: 860px) {
  .why {
    padding: 8px 0 48px;
  }

  .why-card {
    padding: 28px 22px 20px;
    border-radius: 24px;
  }

  .why-copy {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .why-mark {
    width: 180px;
    right: -30px;
    top: -20px;
  }

  .why-tones {
    grid-template-columns: 1fr 1fr;
  }
}

/* Fonctions secondaires : équipe et créneaux */
.flag {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px 48px;
  align-items: center;
  background: var(--surface);
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.flag + .flag {
  margin-top: 18px;
}

.flag h3 {
  font-size: clamp(32px, 3.6vw, 44px);
  max-width: 14em;
}

.flag .kicker {
  margin-bottom: 8px;
}

.flag-copy p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 18px;
}

.flag-copy .btn {
  margin-top: 22px;
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mini-board .bcard strong {
  font-size: 13px;
}

.mini-book {
  background: var(--cream-100);
  border-radius: 22px;
  padding: 18px;
}

.mini-book .who {
  display: block;
  margin-top: 8px;
  font: 400 26px/1.1 var(--serif);
  color: var(--ink);
}

.mini-book .kind {
  margin: 6px 0 0;
  font: 600 14px var(--sans);
  color: var(--ink-2);
}

.mini-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mini-times span {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  font: 600 14px var(--sans);
}

.mini-times .on {
  background: var(--ink);
  color: var(--cream-50);
}

@media (max-width: 860px) {
  .flag {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .flag .flag-visual {
    order: 2;
  }
}

/* Features */
.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.four article {
  border-radius: 24px;
  padding: 28px 24px 32px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.four article:nth-child(2),
.four article:nth-child(4) {
  margin-top: 28px;
}

.four h3 {
  font-size: 30px;
}

.four p {
  font-size: 16px;
  margin-top: 10px;
}

.four .ico {
  width: 44px;
  height: 44px;
}

@media (max-width: 940px) {
  .four {
    grid-template-columns: 1fr 1fr;
  }

  .four article:nth-child(n) {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .four {
    grid-template-columns: 1fr;
  }

  .four article {
    min-height: 0;
    gap: 32px;
  }
}

/* Guide */
.guide {
  background: var(--cream-200);
}

.guide .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.guide h2 {
  font-size: clamp(34px, 4.6vw, 54px);
}

.guide .txt p {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 19px;
}

.guide ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.guide li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-2);
}

.guide li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

@media (max-width: 860px) {
  .guide .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.chat {
  background: var(--surface);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.chat .cap {
  font-size: 13px;
  color: var(--ink-3);
}

.bubble {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 16px;
  line-height: 1.45;
}

.bubble.g {
  background: var(--cream-100);
  border-bottom-left-radius: 6px;
}

.bubble.u {
  background: var(--coral);
  color: #2C2522;
  margin-left: auto;
  border-bottom-right-radius: 6px;
}

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

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
}

/* Programs */
.mod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mod {
  background: var(--surface);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mod h3 {
  font-size: 32px;
}

.mod p {
  color: var(--ink-2);
  margin-top: 10px;
}

@media (max-width: 860px) {
  .mod-grid {
    grid-template-columns: 1fr;
  }
}

.domains {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  max-width: 820px;
}

.ring-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.ring {
  position: relative;
  width: 150px;
  height: 150px;
  flex: none;
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring div {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font: 500 34px/1 var(--serif);
}

.ring small {
  font: 400 12px var(--sans);
  color: var(--ink-2);
  margin-top: 6px;
}

.macros {
  flex: 1;
  min-width: 190px;
  display: grid;
  gap: 14px;
  font-size: 14px;
}

.macros > div {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
}

.bar {
  height: 6px;
  border-radius: 9px;
  background: var(--cream-200);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 9px;
}

.bar .m1 {
  width: 84%;
  background: var(--sage-ink);
}

.bar .m2 {
  width: 73%;
  background: #7C6BB0;
}

.bar .m3 {
  width: 79%;
  background: #D9A03C;
}

.search {
  border-radius: 14px;
  background: var(--cream-100);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ink-3);
}

.mini-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 600 16px var(--sans);
}

.example {
  font-size: 13px;
  color: var(--ink-3);
}

.plan-form {
  display: grid;
  gap: 14px;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 16px;
  background: var(--cream-100);
  color: var(--ink);
  font-size: 15px;
}

.plan-list span {
  flex: none;
  min-width: 2.6em;
  font: 600 13px var(--sans);
  color: var(--ink-3);
}

.plan-list li.on {
  background: var(--coral-tint);
  box-shadow: inset 0 0 0 1.5px var(--coral);
}

.plan-list li.on span {
  color: var(--coral-text);
}

/* Duo */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 0;
  padding-bottom: 88px;
}

.duo .box {
  border-radius: 28px;
  padding: 40px;
}

.duo h3 {
  font-size: 34px;
}

.duo p {
  margin-top: 14px;
  font-size: 18px;
}

@media (max-width: 860px) {
  .duo {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.plans {
  background: var(--cream-200);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  background: var(--surface);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.plan.feat {
  box-shadow: inset 0 0 0 2px var(--coral);
}

.plan h3 {
  font-size: 30px;
}

.price {
  font: 500 44px/1 var(--serif);
  letter-spacing: -.02em;
}

.price small {
  font: 400 15px var(--sans);
  color: var(--ink-2);
  letter-spacing: 0;
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--ink-2);
  font-size: 16px;
}

.plan li {
  padding-left: 24px;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--coral-text);
  border-bottom: 2px solid var(--coral-text);
  transform: rotate(-45deg);
}

.plan .sub {
  color: var(--ink-2);
  font-size: 15px;
}

.sparks {
  margin-top: 28px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 720px;
}

.sparks b {
  color: var(--ink);
}

.fine {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .plan-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .plan-grid::-webkit-scrollbar {
    display: none;
  }

  .plan {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
}

/* FAQ */
.faq {
  max-width: 780px;
}

details {
  border-top: 1px solid var(--line);
  padding: 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font: 400 24px/1.25 var(--serif);
  position: relative;
  letter-spacing: -.01em;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}

details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

details p {
  padding: 0 40px 24px 0;
  color: var(--ink-2);
}

details a {
  color: var(--coral-text);
}

/* CTA + footer */
.cta {
  background: var(--coral);
  color: #2C2522;
  border-radius: 36px;
  padding: 72px 48px;
  text-align: center;
  margin-bottom: 24px;
}

.cta h2 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 16ch;
  margin: 0 auto;
}

.cta p {
  margin: 20px auto 32px;
  max-width: 32em;
  font-size: 19px;
}

@media (max-width: 600px) {
  .cta {
    padding: 48px 24px;
    border-radius: 28px;
  }
}

footer,
.footer {
  padding: 40px 0 56px;
  color: var(--ink-2);
  font-size: 15px;
}

footer .wrap,
.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

footer .brand span,
.footer .brand span {
  font-size: 24px;
  color: var(--ink);
}

footer .brand svg,
.footer .brand svg {
  width: 26px;
  height: 26px;
}

footer nav,
.footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

footer a,
.footer a {
  text-decoration: none;
}

footer a:hover,
.footer a:hover {
  color: var(--coral-text);
}

.made {
  width: 100%;
  font-size: 14px;
  color: var(--ink-3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

/* Legal pages */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-content h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--ink-2);
}

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

.legal-content a {
  color: var(--coral-text);
}

/* Pages produit : équipe, rendez-vous */
.quick-links {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.quick-links a {
  text-decoration: none;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  font: 600 14px var(--sans);
  display: inline-flex;
  align-items: center;
}

.quick-links a:hover {
  background: var(--cream-200);
}

@media (max-width: 980px) {
  .quick-links {
    display: flex;
  }
}

.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--coral-text);
  margin: 0 0 10px;
}

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

.band {
  background: var(--cream-200);
}

.hero.stage .wrap {
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero.stage .wrap > * {
  min-width: 0;
}

.hero.stage h1 {
  max-width: 16ch;
}

a.more {
  display: inline-block;
  margin-top: 16px;
  color: var(--coral-text);
  font-weight: 600;
}

.duo .box a.more {
  color: inherit;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pillars a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  border-radius: 24px;
  padding: 28px 24px;
  text-decoration: none;
  transition: transform .2s;
}

.pillars a:nth-child(2) {
  margin-top: 28px;
}

.pillars a:hover {
  transform: translateY(-4px);
}

.pillars h3 {
  font-size: 32px;
  margin-top: 28px;
}

.pillars p {
  margin-top: 10px;
  font-size: 16px;
}

.board-frame {
  min-width: 0;
  background: var(--surface);
  border-radius: 28px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}

.board-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px 8px 14px;
}

.board-bar b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
}

.board-bar span {
  font: 600 13px var(--sans);
  color: var(--ink-3);
}

.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bcol {
  background: color-mix(in srgb, var(--cream-200) 72%, var(--surface));
  border-radius: 20px;
  padding: 12px;
  min-width: 0;
}

.bcol header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 4px 6px 10px;
  font: 600 13px var(--sans);
  color: var(--ink-2);
}

.bcol header b {
  font: 500 13px var(--serif);
  color: var(--ink-3);
}

.bcard {
  background: var(--surface);
  border-radius: 16px;
  padding: 12px 12px 10px;
  box-shadow: var(--shadow);
}

.bcard + .bcard {
  margin-top: 8px;
}

.bcard.hot {
  box-shadow: inset 0 0 0 1.6px var(--coral), var(--shadow);
}

.bcard strong {
  display: block;
  font: 600 14.5px/1.3 var(--sans);
}

.bcard.did strong {
  color: var(--ink-3);
  text-decoration: line-through;
}

.btag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--coral-tint);
  color: var(--coral-text);
  font: 600 11px var(--sans);
}

.btag.sky {
  background: var(--sky);
  color: var(--sky-ink);
}

.btag.lilac {
  background: var(--lilac);
  color: var(--lilac-ink);
}

.bmeta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 12px;
}

.ava {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--peach);
  color: var(--peach-ink);
  font: 600 11px var(--sans);
  flex: none;
}

.ava.b {
  background: var(--sky);
  color: var(--sky-ink);
}

.ava.c {
  background: var(--lilac);
  color: var(--lilac-ink);
}

.checks {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.checks i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.4px var(--ink-3);
}

.checks i.on {
  background: var(--coral);
  box-shadow: none;
  position: relative;
}

.checks i.on::after,
.tick.on::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 3px;
  height: 7px;
  border: solid #FAF6EE;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(38deg);
}

.tick {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.4px var(--ink-3);
  flex: none;
  position: relative;
}

.tick.on {
  background: var(--coral);
  box-shadow: none;
}

:root[data-theme="dark"] .checks i.on::after,
:root[data-theme="dark"] .tick.on::after {
  border-color: #1C1815;
}

.open-card,
.dayline,
.feed,
.book {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.open-card {
  padding: 22px;
}

.open-card h3 {
  font-size: 32px;
  margin-top: 8px;
}

.open-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-200);
  font-size: 14px;
  color: var(--ink-2);
}

.subtasks {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.subtasks li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
}

.subtasks li.did {
  color: var(--ink-3);
}

.subtasks li.did span:last-child {
  text-decoration: line-through;
}

.comment {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--cream-100);
  color: var(--ink-2);
  font-size: 15px;
}

.comment b {
  color: var(--ink);
  font-weight: 600;
}

.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mode {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.mode h3 {
  font-size: 30px;
}

.mode p,
.mode li {
  color: var(--ink-2);
  font-size: 16px;
}

.mode ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mode li {
  padding-left: 16px;
  position: relative;
}

.mode li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  position: absolute;
  left: 0;
  top: .55em;
}

.feed {
  padding: 8px 8px 12px;
}

.feed li {
  list-style: none;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 15px;
  color: var(--ink-2);
}

.feed li + li {
  border-top: 1px solid var(--cream-200);
}

.feed {
  list-style: none;
  margin: 0;
  padding: 8px 18px;
}

.feed b {
  color: var(--ink);
  font-weight: 600;
}

.dayline {
  padding: 8px;
  display: grid;
  gap: 8px;
}

.ev {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
}

.ev time {
  font: 600 13px var(--sans);
  color: var(--ink-3);
}

.ev b {
  display: block;
  font: 600 16px/1.3 var(--sans);
}

.ev small {
  color: var(--ink-2);
  font-size: 13px;
}

.ev.gcal {
  background: var(--sky);
  color: var(--sky-ink);
}

.ev.gcal time,
.ev.gcal small,
.ev.task small,
.ev.habit small {
  color: inherit;
  opacity: .8;
}

.ev.task {
  background: var(--peach);
  color: var(--peach-ink);
}

.ev.habit {
  background: var(--sage);
  color: var(--sage-ink);
}

.quiet {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--cream-100);
  color: var(--ink-2);
  font-size: 15px;
}

.quiet a {
  color: var(--coral-text);
}

.fit {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}

.fit ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.fit li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.fit li span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--coral-text);
  line-height: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.steps.steps-3 {
  grid-template-columns: repeat(3, 1fr);
}

.step {
  background: var(--surface);
  border-radius: 24px;
  padding: 22px 20px 26px;
  box-shadow: var(--shadow);
}

.step em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--coral-text);
  margin-bottom: 8px;
}

.step h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.35;
}

.step p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
}

.pipe {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.pipe li {
  border-radius: 16px;
  padding: 14px 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 600 13px/1.3 var(--sans);
  text-align: center;
}

.pipe li.done {
  background: var(--sage);
  color: var(--sage-ink);
  box-shadow: none;
}

.pipe li.now {
  background: var(--ink);
  color: var(--cream-50);
  box-shadow: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.detail-grid.quad {
  grid-template-columns: 1fr 1fr;
}

.detail-grid article {
  background: var(--surface);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.detail-grid h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.detail-grid p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
}

.book-fig {
  margin: 0;
}

.book-fig figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
}

.book {
  padding: 18px;
  max-width: 380px;
  margin-left: auto;
}

.hero.book-hero .wrap {
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero.book-hero h1 {
  max-width: 16ch;
}

.hero.book-hero .lede {
  max-width: 38em;
}

.book.book-cal {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.book-side {
  padding: 22px 20px 24px;
  background: var(--cream-100);
  border-right: 1px solid var(--line);
}

.book-event {
  margin: 14px 0 0;
  font: 600 16px var(--sans);
  color: var(--ink);
}

.book-pick {
  padding: 22px 22px 20px;
}

.book-pick-label {
  margin: 0;
  font: 600 14px var(--sans);
  color: var(--ink-2);
}

.book-cal .book-meta {
  min-height: 0;
}

@media (max-width: 720px) {
  .book.book-cal {
    grid-template-columns: 1fr;
  }

  .book-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.book-url {
  font: 500 12px var(--sans);
  color: var(--ink-3);
  margin-bottom: 12px;
}

.book-who {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.book-who b {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.book-who span {
  font: 600 12px var(--sans);
  color: var(--coral-text);
}

.book-modes,
.book-durs,
.book-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.book button {
  font: 600 14px var(--sans);
  color: var(--ink);
  background: var(--cream-100);
  border: 0;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
}

.book button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream-50);
}

.book-meta {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  min-height: 2.6em;
}

.book-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 14px;
  text-align: center;
}

.book-days span,
.book-days b {
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 50%;
  font: 500 13px var(--sans);
  color: var(--ink-3);
}

.book-days b {
  background: var(--coral);
  color: #2C2522;
  font-weight: 600;
}

.book-go {
  width: 100%;
  margin-top: 16px;
  min-height: 48px !important;
  border-radius: 999px !important;
  background: var(--coral) !important;
  color: #2C2522 !important;
  font: 600 16px var(--sans) !important;
}

.book-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--sage-ink);
  font-size: 14px;
}

.cta .btn-ink {
  background: #2C2522;
  color: #F5F0E8;
  min-height: 56px;
  padding: 0 28px;
}

.cta .btn-ink:hover {
  background: #000;
  color: #F5F0E8;
}

.cta .hero-actions,
.cta-actions {
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 28px;
}

@media (max-width: 940px) {
  .pillars,
  .steps,
  .steps.steps-3,
  .detail-grid,
  .detail-grid.quad {
    grid-template-columns: 1fr 1fr;
  }

  .pillars a:nth-child(2) {
    margin-top: 0;
  }

  .pipe {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .modes,
  .fit {
    grid-template-columns: 1fr;
  }

  .book {
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .pillars,
  .steps,
  .steps.steps-3,
  .detail-grid,
  .detail-grid.quad,
  .pipe {
    grid-template-columns: 1fr;
  }

  .board {
    grid-template-columns: repeat(3, 200px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .bcol {
    scroll-snap-align: start;
  }

  .duo .box {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pillars a {
    transition: none;
  }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--ink-2);
  text-decoration: none;
}

.back-link:hover {
  color: var(--coral-text);
}
