/* TaskForce product page. Mobile first, no web fonts, no third-party request. */
:root {
  color-scheme: dark;
  --bg: #121418;
  --bg-alt: #15171b;
  --bg-deep: #0f1114;
  --panel: #17191d;
  --card: #1a1d22;
  --card-hi: #1f2228;
  --side: #1b1e23;
  --chip: #262a31;
  --line: #22262d;
  --border: #2c3139;
  --border-hi: #3a404a;
  --text: #e4e6ea;
  --muted: #b9bec7;
  --dim: #8d94a0;
  --faint: #656c78;
  --green: #3fb68b;
  --green-hi: #57c9a0;
  --green-lite: #7fdcb9;
  --on-green: #0e231b;
  --green-bg: #1d3a2f;
  --green-line: #2f6b55;
  --yellow: #e0b04f;
  --yellow-bg: #3a3120;
  --red: #e05f6f;
  --blue: #4fa3e0;
  /* AI colour: to align with the app's (task #1522) */
  --ai: #e48ac4;
  --ai-bg: #2a1f28;
  --ai-track: #3a2f38;
  --gv: #6c8cf5;
  --eo: #e0735a;
  /* the app's own fonts (web/src/styles.css), so the site reads like TaskForce (E14.71) */
  --font-display: Inter, 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --font-body: Inter, 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: 'Cascadia Code', Consolas, ui-monospace, monospace;
  --gutter: 20px;
  /* paper sections (promises, the sentence of the hour) */
  --paper: #efe9dd;
  --paper-ink: #1c1a16;
  --paper-dim: #5f5a50;
  --paper-line: #d8d0bf;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
h1, h2, h3, h4, p, ul { margin: 0; }
p { text-wrap: pretty; }
a { color: var(--green-hi); text-decoration: none; }
a:hover { color: var(--green-lite); }
p a { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--green-lite); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--green); color: var(--on-green); padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 12px; font-size: 16px; font-weight: 600; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--green-hi); color: var(--on-green); }
.btn-ghost { border: 1px solid var(--border-hi); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--dim); color: var(--text); }
.btns { display: flex; flex-direction: column; gap: 10px; }
.btn .short { display: none; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.site-head .wrap { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand span { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; }
.nav, .head-actions { display: none; }
.nav a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover, .head-actions a.link:hover { color: var(--text); }
.lang { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.lang:hover { color: var(--text); border-color: var(--border-hi); }

.menu { position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .ic { width: 22px; height: 22px; }
.menu .close { display: none; }
.menu[open] .open { display: none; }
.menu[open] .close { display: block; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 2 * var(--gutter))); background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.55); display: flex; flex-direction: column; }
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 8px; color: var(--text); font-size: 16px; }
.menu-panel a:not(.btn):hover { background: var(--chip); }
.menu-panel .btn { margin-top: 8px; }
.menu-panel .lang-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px 4px; margin-top: 4px; border-top: 1px solid var(--border); color: var(--dim); font-size: 14px; }
.menu-panel .lang-row a { min-height: 44px; padding: 0 12px; border: 1px solid var(--border); }

/* ---------- common section parts ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--green-hi); text-transform: uppercase; }
.h2 { font-family: var(--font-display); font-size: 34px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.lead { font-size: 16px; line-height: 1.6; color: var(--muted); }
.body { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.note { font-size: 15px; line-height: 1.6; color: var(--dim); }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- shared vocabulary (E14.78): what the product page set, for every page and the generated roadmap ---------- */
/* four sizes only: huge, big, text, small */
.huge { font-family: var(--font-display); font-weight: 750; letter-spacing: -0.045em; line-height: .9; font-variant-numeric: tabular-nums; }
.big { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
.text { font-size: 17px; line-height: 1.6; color: var(--muted); }
.small { font-size: 15px; line-height: 1.5; color: var(--dim); }
.kicker { font-size: 15px; font-weight: 650; color: var(--green-hi); }
/* the opening of a page: never animated */
.hero { padding: 56px 0 24px; text-align: left; }
.hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 750; font-size: clamp(34px, 9vw, 44px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--green-hi); }
.hero .text { margin: 0; max-width: 600px; }
.hero .btns { margin: 4px 0 0; justify-content: flex-start; }
.hero-note { font-size: 15px; line-height: 1.5; color: var(--dim); }
/* a picture beside the opening from 960 px (the home uses .open-side and .open-shot the same way), hidden on a phone */
.hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero-shot { display: none; margin: 0; }
/* a section of a secondary page */
.sec { padding: 64px 0 0; scroll-margin-top: 8px; }
.sec .wrap { display: flex; flex-direction: column; gap: 18px; }
.sec h2 { font-size: clamp(30px, 7.5vw, 38px); }
.sec .text { max-width: 640px; }
/* on paper */
.paper { background: var(--paper); color: var(--paper-ink); padding: 64px 0; }
.paper h2 { color: var(--paper-ink); }
.paper .text { color: var(--paper-dim); }
.paper a { color: var(--green-line); }
/* the sentence that matters: a marker stroke behind the words (E14.72) */
.aside { font-size: 16.5px; line-height: 1.7; color: var(--text); font-weight: 600; max-width: 560px; }
mark { padding: .1em .35em; margin-left: -.35em; border-radius: 4px; background: linear-gradient(180deg, transparent 6%, rgba(63, 182, 139, .34) 6%, rgba(63, 182, 139, .34) 94%, transparent 94%); color: #fff; font-weight: 650; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.paper mark { color: var(--paper-ink); }
/* what comes from the app: a screen, a menu or a button as a chip, a key as a key (E14.71) */
.ui { display: inline-block; padding: 0 .4em; border: 1px solid var(--border-hi); border-radius: 6px; background: var(--chip); color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: .94em; line-height: 1.45; white-space: nowrap; vertical-align: .02em; }
kbd { display: inline-block; min-width: 1.6em; padding: 0 .4em; border: 1px solid var(--border-hi); border-bottom-width: 3px; border-radius: 6px; background: var(--card-hi); color: var(--text); font-family: var(--font-mono); font-size: .88em; line-height: 1.45; text-align: center; white-space: nowrap; vertical-align: .05em; }
.paper .ui, .paper kbd { background: #fff; border-color: var(--paper-line); color: var(--paper-ink); }
/* real pictures of the app */
.shot { margin: 8px 0 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.shot img { display: block; width: 100%; height: auto; }
.shot.phone { width: min(300px, 100%); margin-inline: auto; border-radius: 28px; border: 6px solid #2a2e35; }
.shot figcaption { padding: 10px 14px; font-size: 13.5px; line-height: 1.45; color: var(--dim); border-top: 1px solid var(--border); }
/* motion (E14.76): a block slides in once as it comes into view, a card lifts under the pointer; nothing moves for people who asked for less motion */
html.reveals .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease-out, transform .55s ease-out; }
html.reveals .reveal.in { opacity: 1; transform: none; }
.shot, .plan { transition: transform .25s ease, border-color .25s ease; }
.shot:hover, .plan:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.plan.team:hover { border-color: var(--green); }
@media (prefers-reduced-motion: reduce) {
  html.reveals .reveal { opacity: 1; transform: none; transition: none; }
  .shot:hover, .plan:hover { transform: none; }
}

/* ---------- shared blocks of the pages (E14.79): rule sentences, promises on paper, the four-column sheet, the fact list, the side layout ---------- */
.rules { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 6px; }
.rules li { border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 16px 18px; font-size: 16px; line-height: 1.95; color: var(--muted); }
.rules .w, .rules .i, .rules .t { border-radius: 7px; padding: 3px 8px; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rules .w { background: #4fa3e01f; color: #8cc4ef; }
.rules .i { background: #e0b04f1f; color: #ecc77a; }
.rules .t { background: #3fb68b1f; color: #7fdcb9; }
/* promises: a numbered list on paper (the section carries .refus.paper) */
.refus h2 { font-size: clamp(32px, 8vw, 40px); }
.refus ol { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: r; }
.refus li { counter-increment: r; position: relative; padding: 18px 0 18px 48px; border-top: 1px solid var(--paper-line); font-size: 17px; line-height: 1.55; color: var(--paper-dim); }
.refus li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-family: var(--font-mono); font-size: 15px; color: var(--paper-dim); }
.refus li strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.2; color: var(--paper-ink); margin-bottom: 4px; }
.refus-sign { margin-top: 28px; font-weight: 500; font-size: 19px; line-height: 1.45; color: var(--paper-ink); max-width: 560px; }

/* a fact list: three columns from 600 px */
.exit { padding: 64px 0 0; }
.exit h2 { font-size: clamp(30px, 7.5vw, 38px); }
.exit h2 + .text { margin-top: 12px; max-width: 640px; }
.exit dl { margin: 28px 0 0; display: grid; gap: 22px; }
.exit dt { font-size: 15px; font-weight: 650; color: var(--green-hi); }
.exit dd { margin: 6px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.exit dd strong { color: var(--text); font-weight: 600; }

/* the sheet: four themes, a short list each (E14.73) */
.all { padding: 72px 0 24px; }
.all .wrap { display: flex; flex-direction: column; gap: 18px; }
.all h2 { font-size: clamp(30px, 7.5vw, 38px); }
.all .text { max-width: 640px; }
.all-cols { display: grid; gap: 28px; margin-top: 8px; }
.all-col h3 { font-size: 17px; font-weight: 700; color: var(--text); padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.all-col ul { list-style: none; margin: 0; padding: 0; }
.all-col li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.all-foot { font-size: 15.5px; color: var(--dim); }

/* a plain list of sentences, one per line */
.plain { list-style: none; margin: 8px 0 0; padding: 0; max-width: 720px; }
.plain li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.6; color: var(--muted); }
.plain li:last-child { border-bottom: 1px solid var(--line); }
/* the comparison table (self-hosting page): a row per subject, cloud and your place side by side */
.cmp { width: 100%; max-width: 900px; border-collapse: collapse; margin-top: 8px; }
.cmp th, .cmp td { padding: 12px 10px 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15.5px; line-height: 1.5; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.cmp th { color: var(--text); font-weight: 600; }
.cmp thead th { border-top: 0; color: var(--green-hi); font-size: 15px; }
.cmp td { color: var(--muted); }
.cmp td + td, .cmp th + th { padding-left: 14px; }
/* a section whose picture stands beside the text from 960 px */
.side .shot { margin: 0; width: min(420px, 100%); }
.side .shot.phone { width: min(300px, 100%); }
@media (min-width: 600px) {
  .all-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exit dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .refus li { padding-left: 64px; }
}
@media (min-width: 960px) {
  .refus { padding: 110px 0; }
  .refus .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  .refus h2 { font-size: 52px; position: sticky; top: 40px; }
  .refus ol { margin-top: 8px; }
  .refus li { padding: 22px 0 22px 64px; font-size: 18px; }
  .refus li::before { top: 28px; }
  .refus li strong { font-size: 26px; }
  .refus-sign { grid-column: 2; margin-top: 12px; font-size: 21px; }
  .exit { padding-top: 120px; }
  .exit h2 { font-size: 46px; }
  .exit dl { margin-top: 28px; gap: 40px; }
  .exit dd { font-size: 17.5px; }
  .all { padding-top: 120px; }
  .all h2 { font-size: 44px; }
  .all .text { font-size: 18px; }
  .all-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 20px; }
  .all-col li { font-size: 16px; }
  .side .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px clamp(40px, 5vw, 80px); align-items: center; }
  .side .stack { display: flex; flex-direction: column; gap: 18px; }
  .side .shot { justify-self: center; }
  .side.flip .stack { order: 2; }
}

/* ---------- pricing ---------- */
.pricing { padding: 72px 0 0; }
.pricing .head { display: flex; flex-direction: column; gap: 12px; }
.plans { display: grid; gap: 14px; margin-top: 22px; }
.plan { border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.plan.team { border-color: var(--green-line); background: #182520; }
.plan.soon { border-style: dashed; border-color: var(--border-hi); background: var(--bg-alt); }
.plan h3 { font-size: 18px; font-weight: 700; }
.plan .price { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--dim); line-height: 1.15; }
.plan .price.free { color: var(--text); }
.plan .price small { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--dim); margin-top: 2px; }
.plan ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); flex-grow: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li .ic { width: 16px; height: 16px; color: var(--green); margin-top: 4px; }
.plan .btn { margin-top: 8px; }
.plan .grow { flex-grow: 1; }

/* ---------- FAQ ---------- */
.faq { padding: 72px 0 0; }
.faq .wrap { display: grid; gap: 18px; }
.qa { border-top: 1px solid var(--border); padding: 18px 0; }
.qa:last-child { border-bottom: 1px solid var(--border); }
.qa h3 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.qa p { font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 6px; }
.qa p + p { margin-top: 8px; }
.qa code, .body code { font-family: var(--font-mono); font-size: .9em; background: var(--chip); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }

/* ---------- CTA and footer ---------- */
.cta { padding: 80px 0 64px; text-align: center; }
.cta .wrap { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.cta h2 { font-family: var(--font-display); font-size: 38px; line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.cta .btns { align-self: stretch; margin-top: 8px; }
.site-foot { border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; color: var(--dim); }
.site-foot .wrap { display: flex; flex-direction: column; gap: 8px; }
.site-foot .brand span { font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.site-foot .brand svg { width: 22px; height: 22px; }
.foot-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; column-gap: 20px; }
.foot-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--dim); }
.foot-links a:hover { color: var(--text); }
.site-foot small { font-size: 13px; }

/* ---------- 600 px and up: roomier phone layout ---------- */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .btns { flex-direction: row; flex-wrap: wrap; }
  .hero .btns, .cta .btns { justify-content: flex-start; }
  .cta .btns { justify-content: center; align-self: center; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* a narrow desktop (960 to 1199 px): the six entries of the menu and the button stay on one line */
@media (min-width: 960px) and (max-width: 1199px) {
  :root { --gutter: 32px; }
  .nav { gap: 12px; font-size: 14px; }
  .nav .nav-opt { display: none; }
  .head-actions .btn { padding: 10px 14px; font-size: 14px; }
  /* an entry marked .nav-opt (Produit on a page, Nos promesses on the home) is left out; the header button says the short form of its label (two spans in the page) */
  .head-actions .btn .long { display: none; }
  .head-actions .btn .short { display: inline; }
}

/* ---------- 960 px and up: desktop, after the 1440 px mockup ---------- */
@media (min-width: 960px) {
  :root { --gutter: clamp(40px, 8.4vw, 120px); }
  .site-head .wrap { height: 76px; }
  .brand svg { width: 30px; height: 30px; }
  .brand span { font-size: 21px; }
  .nav { display: flex; gap: clamp(18px, 2.2vw, 32px); font-size: 15px; white-space: nowrap; }
  .head-actions .btn { white-space: nowrap; }
  .head-actions { display: flex; gap: 10px; align-items: center; }
  .head-actions a.link { color: var(--text); font-size: 15px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; }
  .head-actions .btn { font-size: 15px; min-height: 44px; padding: 10px 18px; border-radius: 10px; }
  .menu { display: none; }
  .hero { padding: 96px 0 40px; }
  .hero h1 { font-size: clamp(56px, 5.4vw, 80px); max-width: 1040px; }
  .hero .text { font-size: 20px; max-width: 680px; }
  .hero .wrap:has(.hero-shot) { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 48px; }
  .hero-side { gap: 24px; }
  .hero-shot { display: block; justify-self: end; width: min(300px, 100%); }
  .sec { padding-top: 112px; }
  .sec h2 { font-size: 44px; }
  .sec .text { font-size: 18px; }
  .paper { padding: 110px 0; }
  .shot { border-radius: 14px; }
  .shot.phone { width: 320px; }

  .btn { min-height: 56px; padding: 15px 26px; font-size: 17px; }

  .eyebrow { font-size: 14px; }
  .h2 { font-size: clamp(44px, 3.9vw, 56px); line-height: 1.06; max-width: 820px; }

  .pricing .head { align-items: center; text-align: center; gap: 14px; }
  .pricing .h2 { font-size: 48px; }
  .pricing .lead { font-size: 18px; }

  .pricing { padding: 130px 0 40px; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
  .plan { padding: 30px; gap: 14px; border-radius: 16px; }
  .plan .price { font-size: 40px; }
  .plan .btn { min-height: 48px; font-size: 16px; }

  .faq { padding: 130px 0 40px; }
  .faq .wrap { grid-template-columns: minmax(0, 360px) 1fr; gap: 80px; align-items: start; }
  .faq .h2 { font-size: 48px; }
  .qa { padding: 22px 0; }
  .qa h3 { font-size: 18px; }
  .qa p { font-size: 15.5px; margin-top: 8px; }

  .cta { padding: 140px 0 100px; }
  .cta .wrap { gap: 22px; }
  .cta h2 { font-size: clamp(52px, 4.4vw, 64px); max-width: 900px; }
  .cta .lead { font-size: 19px; }
  .cta .btns { margin-top: 14px; gap: 14px; }
  .site-foot { padding: 28px 0; }
  .site-foot .wrap { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
  .foot-links { column-gap: 28px; }
}

/* ---------- roadmap (/roadmap/, pages written by the project console, E13.3, on the common skeleton E14.83) ---------- */
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--green); }
.foot-links a[aria-current="page"] { color: var(--muted); }
.rm-page { padding: 32px 0 24px; }
/* the legend and the update line sit in the opening, under the key sentence */
.rm-side { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; width: 100%; }
/* E13.19: one timeline, past to future, one line per item */
.rm-legend { list-style: none; margin: 0; display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; font-size: 14px; color: var(--muted); background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.rm-legend li { display: flex; align-items: center; gap: 6px; }
.rm-legend b { color: var(--text); }
.rm-ic { width: 18px; height: 18px; flex: none; }
.rm-updated { font-size: 14px; color: var(--dim); }
.rm-updated a { color: var(--green-hi); }
.rm-sep { display: none; }
.rm-to-today { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px; border: 1px solid var(--green-hi); border-radius: 12px; font-weight: 600; font-size: 15px; }
.rm-line, .rm-items { margin: 0; padding: 0; }
.rm-line { list-style: none; }
.rm-period, .rm-today { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 0; }
.rm-period { padding-bottom: 24px; }
/* the rail, from this step to the next; dashed around a vague date */
.rm-period::before { content: ""; position: absolute; left: 5px; top: 22px; bottom: 0; border-left: 2px solid var(--border-hi); }
.rm-period.rm-vague::before, .rm-period:has(+ .rm-vague)::before { border-left-style: dashed; }
.rm-period:last-child::before { display: none; }
.rm-period .rm-node { grid-column: 1; grid-row: 1; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; border: 2px solid var(--blue); background: var(--blue); }
.rm-past .rm-node { border-color: var(--green-hi); background: var(--green-hi); }
.rm-current .rm-node { border-color: var(--yellow); background: var(--yellow); }
.rm-vague .rm-node { border-color: var(--dim); background: var(--bg); }
.rm-when { grid-column: 2; grid-row: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.rm-label { font-family: var(--font-display); font-size: 20px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.3; }
.rm-past .rm-label { color: var(--muted); }
.rm-meta { font-size: 13px; color: var(--dim); white-space: nowrap; }
.rm-items { grid-column: 2; list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; min-width: 0; }
.rm-item { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; min-width: 0; border-radius: 10px; background: var(--card); border: 1px solid var(--border); }
.rm-item.rm-livre { background: var(--bg-deep); border-color: var(--line); }
.rm-item.rm-livre .rm-t { color: var(--muted); }
.rm-item.rm-en_cours { background: #221f19; border-color: #5a4a26; }
.rm-vague .rm-item { border-style: dashed; }
.rm-t { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }
.rm-today { align-items: center; padding-bottom: 22px; scroll-margin-top: 16px; }
.rm-today::before { content: ""; position: absolute; left: 5px; top: -24px; bottom: 0; border-left: 2px solid var(--border-hi); }
.rm-today:last-child::before { bottom: 50%; }
.rm-today .rm-node { grid-column: 1; grid-row: 1; position: relative; width: 14px; height: 14px; margin-left: -1px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-bg); }
.rm-today-pill { grid-column: 2; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 14px; font-weight: 700; white-space: nowrap; }
.rm-today-line { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.rm-today-line::before { content: ""; flex: 1; height: 2px; background: var(--green); }
.rm-today-day { order: -1; font-size: 14px; font-weight: 600; color: var(--green-hi); }
.rm-empty { font-size: 15px; color: var(--dim); padding: 4px 0 0 24px; }
@media (min-width: 960px) {
  .rm-page { padding: 48px 0 40px; }
  .rm-side { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
  .rm-legend { gap: 20px; padding: 0; background: none; border: 0; font-size: 15px; }
  .rm-legend li { gap: 8px; }
  .rm-updated { white-space: nowrap; }
  .rm-sep { display: inline; }
  .rm-to-today { display: inline; min-height: 0; margin: 0; border: 0; font-weight: 400; font-size: 14px; }
  .rm-period, .rm-today { grid-template-columns: 200px 40px minmax(0, 1fr); }
  .rm-period { padding-bottom: 28px; }
  .rm-period::before, .rm-today::before { left: 219px; }
  .rm-period .rm-node { grid-column: 2; width: 10px; height: 10px; margin: 8px 0 0 13px; }
  .rm-when { grid-column: 1; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; }
  .rm-label { font-size: 24px; }
  .rm-meta { font-size: 14px; white-space: normal; }
  .rm-items { grid-column: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
  .rm-item { height: 40px; }
  .rm-today { padding-bottom: 24px; }
  .rm-today .rm-node { grid-column: 2; margin-left: 12px; }
  .rm-today-pill { grid-column: 1; }
  .rm-today-line { grid-column: 3; grid-row: 1; margin-top: 0; gap: 14px; }
  .rm-today-day { order: 1; }
  .rm-empty { padding-left: 240px; }
}

/* ---------- help (/aide/, /en/help/, #1129, E14.80): one column of answers, a table of contents in chips ---------- */
.help { padding: 8px 0 48px; }
.help-wrap { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; }
.help-toc { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.help-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 15px; color: var(--muted); }
.help-toc a:hover { color: var(--text); border-color: var(--border-hi); }
.help-item { border-top: 1px solid var(--border); padding: 28px 0; scroll-margin-top: 80px; }
.help-item:last-child { border-bottom: 1px solid var(--border); }
.help-item h2 { font-size: 23px; }
.help-item p, .help-item li { font-size: 17px; line-height: 1.6; color: var(--muted); }
.help-item p { margin-top: 10px; }
.help-item ol, .help-item ul { margin: 10px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.help-item code { font-family: var(--font-mono); font-size: .9em; background: var(--chip); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.help-item .shot { margin-top: 18px; width: min(480px, 100%); }
.help-item .shot.wide { width: 100%; }
.help-self { margin-top: 12px; font-size: 15px; color: var(--dim); }
/* the questions page (E14.81): the same column, a theme per group, the home's .qa rows */
.qs-group { padding: 20px 0 10px; scroll-margin-top: 80px; }
.qs-group h2 { font-size: 23px; margin-bottom: 8px; }
.qs-group .qa:last-child { border-bottom: 0; }
.qs-group + .qs-group { border-top: 1px solid var(--border); }
@media (min-width: 960px) {
  .help { padding: 24px 0 72px; }
  .help-item { padding: 36px 0; }
  .help-item h2 { font-size: 27px; }
  .qs-group { padding: 28px 0 14px; }
  .qs-group h2 { font-size: 27px; }
}

/* ---------- signup (/inscription/, /en/signup/, E14.9) ---------- */
.su-page { padding: 32px 0 48px; }
.su-wrap { max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.su-intro { display: flex; flex-direction: column; gap: 12px; }
.su-h1 { font-family: var(--font-display); font-size: 34px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.su-form { display: flex; flex-direction: column; gap: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 16px; }
.su-field { display: flex; flex-direction: column; gap: 6px; }
.su-field label { font-size: 15px; font-weight: 600; }
.su-form input[type="text"], .su-form input[type="email"], .su-form select {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--border-hi); border-radius: 10px;
  background: var(--bg-deep); color: var(--text); font: inherit; font-size: 16px;
}
.su-form input:focus-visible, .su-form select:focus-visible { outline: 2px solid var(--green-lite); outline-offset: 1px; border-color: var(--green-line); }
.su-form input[aria-invalid="true"] { border-color: var(--red); }
.su-addr { display: flex; align-items: stretch; min-width: 0; }
.su-addr input[type="text"] { flex: 1 1 auto; min-width: 0; border-radius: 10px 0 0 10px; border-right: 0; }
.su-suffix { display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--border-hi); border-radius: 0 10px 10px 0; background: var(--chip); color: var(--dim); font-size: 15px; white-space: nowrap; }
.su-hint { font-size: 15px; line-height: 1.45; color: var(--dim); }
.su-hint:empty { display: none; }
.su-ok { color: var(--green-hi); }
.su-err { color: var(--red); }
.su-warn { color: var(--yellow); }
.su-consent { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; }
.su-consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.su-consent label { font-size: 15px; line-height: 1.5; color: var(--muted); }
.su-consent a { text-decoration: underline; text-underline-offset: 3px; }
.su-submit, .su-wl-send { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.su-submit:disabled, .su-wl-send:disabled { opacity: .6; cursor: progress; }
/* the waitlist (E14.68): shown by signup.js only; display: flex would otherwise beat [hidden] */
.su-form[hidden], .su-steps[hidden], .su-wl [hidden] { display: none; }
.su-alert { font-size: 15px; line-height: 1.5; padding: 12px 14px; border-radius: 10px; background: var(--card-hi); color: var(--muted); }
.su-alert.su-err { background: rgba(224, 95, 111, .12); }
.su-alert.su-warn { background: var(--yellow-bg); }
.su-wait a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) {
  .su-page { padding: 72px 0 64px; }
  .su-h1 { font-size: 46px; }
  .su-form { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* signup in three steps, plan cards (E14.32, E14.33) */
.su-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.su-steps li { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--dim); font-size: 15px; font-weight: 600; }
.su-step-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border-hi); font-size: 13px; }
.su-step-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-steps li[aria-current="step"] { color: var(--text); border-color: var(--green-line); background: var(--green-bg); }
.su-steps li[aria-current="step"] .su-step-n { background: var(--green); border-color: var(--green); color: var(--on-green); }
.su-steps li.su-done { color: var(--muted); cursor: pointer; }
.su-steps li.su-done:hover { border-color: var(--border-hi); }
.su-steps li.su-done .su-step-n { border-color: var(--green); color: transparent; position: relative; }
.su-steps li.su-done .su-step-n::after { content: ""; position: absolute; left: 7px; top: 8px; width: 10px; height: 5px; border-left: 2px solid var(--green-hi); border-bottom: 2px solid var(--green-hi); transform: rotate(-45deg); }
/* without the script every step shows: no indicator */
.su-steps:has(+ .su-form:not(.su-js)) { display: none; }

.su-step { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.su-step + .su-step { border-top: 1px solid var(--line); padding-top: 22px; }
.su-js .su-step + .su-step { border-top: 0; padding-top: 0; }
.su-step[hidden] { display: none; }
.su-step-h { font-family: var(--font-display); font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.su-step-h:focus { outline: none; }
.su-nav { display: flex; gap: 10px; }
.su-nav .btn { flex: 1; cursor: pointer; font-family: inherit; }
.su-nav .btn-primary { border: 0; }
.su-nav .btn-ghost { flex: 0 0 auto; background: none; }
.su-form:not(.su-js) .su-next, .su-form:not(.su-js) .su-back { display: none; }

.su-plans { border: 0; margin: 0; padding: 10px 0 0; min-width: 0; display: grid; gap: 14px; }
.su-plan { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 20px 16px 16px; border: 1px solid var(--border-hi); border-radius: 16px; background: var(--bg-deep); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.su-plan:hover { border-color: var(--dim); }
.su-plan input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.su-plan-name { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.su-plan-size { font-size: 15px; color: var(--muted); }
.su-plan-price { font-size: 15px; color: var(--dim); }
.su-plan-price strong { font-family: var(--font-display); font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-right: 2px; }
.su-plan-list { display: flex; flex-direction: column; gap: 7px; margin: 6px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.su-plan-item { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.su-plan-item::before { content: ""; position: absolute; left: 3px; top: 5px; width: 11px; height: 6px; border-left: 2px solid var(--green-hi); border-bottom: 2px solid var(--green-hi); transform: rotate(-45deg); }
.su-plan-pick { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--border-hi); border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.su-pick-on { display: none; }
.su-plan:has(input:checked) { border-color: var(--green); background: var(--green-bg); box-shadow: inset 0 0 0 1px var(--green), 0 14px 34px rgba(0, 0, 0, .35); }
.su-plan:has(input:checked) .su-plan-pick { border-color: var(--green); background: var(--green); color: var(--on-green); }
.su-plan:has(input:checked) .su-pick-off { display: none; }
.su-plan:has(input:checked) .su-pick-on { display: inline; }
.su-plan:has(input:focus-visible) { outline: 2px solid var(--green-lite); outline-offset: 3px; }
#su-plan-msg a { text-decoration: underline; text-underline-offset: 3px; }
/* E14.48: monthly or yearly, before the cards (the home page's switch); the price shown follows, without the script too */
.su-per { align-self: flex-start; }
.su-per label { min-height: 40px; }
#su-per-m:checked ~ .per-switch [for="su-per-m"], #su-per-y:checked ~ .per-switch [for="su-per-y"] { background: var(--chip); color: var(--text); }
#su-per-m:focus-visible ~ .per-switch [for="su-per-m"], #su-per-y:focus-visible ~ .per-switch [for="su-per-y"] { outline: 2px solid var(--green-lite); outline-offset: 2px; }
.su-plan-price .py { display: none; }
#su-per-y:checked ~ .su-plans .su-plan-price .pm { display: none; }
#su-per-y:checked ~ .su-plans .su-plan-price .py { display: inline; }

.su-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-deep); font-size: 15px; }
.su-summary dt { color: var(--dim); }
.su-summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; }

/* a phone: the current step says its name, the others their number */
@media (max-width: 559px) {
  .su-steps { display: flex; }
  .su-steps li { flex: 0 0 auto; }
  .su-steps li[aria-current="step"] { flex: 1 1 auto; }
  .su-steps li:not([aria-current="step"]) .su-step-t { display: none; }
}
@media (min-width: 760px) {
  .su-wrap { max-width: 960px; }
  .su-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .su-form { padding: 32px; }
  .su-step[data-step="2"], .su-step[data-step="3"] { width: 100%; max-width: 560px; margin-inline: auto; }
  .su-step[data-step="1"] .su-nav { max-width: 560px; width: 100%; margin-inline: auto; }
  .su-steps { max-width: 640px; }
}

/* signup without scrolling (E14.34): each step fits a 1440 × 900 desktop and a 390 × 844 phone */
.su-later .su-intro .lead, .su-later .su-intro .eyebrow { display: none; }
.su-js .su-step + .su-step { margin: 0; }
@media (max-width: 759px) {
  .su-page { padding: 18px 0 32px; }
  .su-wrap { gap: 14px; }
  .su-intro { gap: 6px; }
  .su-intro .eyebrow { display: none; }
  .su-h1 { font-size: 28px; }
  .su-intro .lead { font-size: 15px; line-height: 1.5; }
  .su-form { gap: 14px; padding: 16px 14px; }
  .su-step { gap: 14px; }
  .su-step-h { font-size: 20px; }
  .su-plans { gap: 10px; padding-top: 6px; }
  /* a card is a line: name and people, price; the chosen one shows what it holds */
  .su-plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name price' 'size price' 'list list'; gap: 0 12px; padding: 12px 14px; border-radius: 12px; }
  .su-plan-name { grid-area: name; font-size: 18px; }
  .su-plan-size { grid-area: size; }
  .su-plan-price { grid-area: price; align-self: center; text-align: right; font-size: 13px; line-height: 1.2; }
  .su-plan-price strong { display: block; font-size: 24px; margin: 0; }
  .su-plan-list { grid-area: list; display: none; margin: 10px 0 0; padding-top: 10px; gap: 4px; }
  .su-plan:has(input:checked) .su-plan-list { display: flex; }
  .su-plan-pick { display: none; }
  .su-plan:has(input:checked) { box-shadow: inset 0 0 0 1px var(--green); }
  .su-summary { gap: 4px 12px; padding: 10px 12px; }
  .su-field { gap: 4px; }
  .su-form input[type="text"], .su-form input[type="email"], .su-form select { min-height: 46px; padding: 8px 12px; }
  .su-step[data-step="3"] .note { font-size: 15px; line-height: 1.45; }
}
@media (min-width: 760px) {
  .su-page { padding: 28px 0 40px; }
  .su-wrap { gap: 18px; }
  .su-intro { gap: 8px; }
  .su-h1 { font-size: 38px; }
  .su-form { padding: 24px 28px; gap: 16px; }
  .su-step { gap: 16px; }
  .su-plan { padding: 18px 16px 14px; }
  .su-plan-price strong { font-size: 28px; }
  .su-plan-list { gap: 5px; margin: 4px 0 6px; padding-top: 10px; }
}

/* home pricing: the three plans of the signup (E14.34) */
.plan { position: relative; }
.plan-badge { position: absolute; top: -11px; left: 22px; padding: 2px 10px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.plan h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.plan-size { font-size: 15px; font-weight: 500; color: var(--dim); }
.plan .btn { margin-top: auto; }
.plans-more { margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.plans-more a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) { .plans-more { text-align: center; } }
.plans .price { color: var(--text); }
.plans .price small { color: var(--dim); }

/* the Forfait step on a laptop (1366 × 650 seen) and a phone with its bars (390 × 660 seen): nothing to scroll */
@media (max-width: 759px) {
  .su-page { padding-top: 14px; }
  .su-intro .lead { display: none; }
  .su-h1 { font-size: 26px; }
  .su-step[data-step="1"] .su-step-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .su-plan { padding: 10px 14px; }
  .su-plan-list { margin-top: 8px; padding-top: 8px; gap: 2px; }
  .su-plan-item { line-height: 1.35; }
}
@media (min-width: 760px) {
  .su-page { padding-top: 18px; }
  .su-intro .eyebrow { display: none; }
  .su-intro { gap: 4px; }
  .su-h1 { font-size: 32px; }
  .su-form { padding: 20px 28px; }
  .su-step-h { font-size: 19px; }
  /* the whole card is the choice: a round mark instead of a button */
  .su-plan { padding: 16px 16px 14px; }
  .su-plan-pick { display: none; }
  .su-plan::after { content: ""; position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-hi); }
  .su-plan:has(input:checked)::after { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='%230e231b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
  .su-plan-price strong { font-size: 26px; }
  .su-plan-list { gap: 3px; margin: 2px 0 0; padding-top: 8px; }
}
@media (max-width: 759px) {
  .su-wrap { gap: 10px; }
  .su-form { gap: 10px; padding: 12px; }
  .su-step { gap: 10px; }
  .su-plans { gap: 8px; }
}
@media (min-width: 760px) {
  .su-wrap { gap: 12px; }
  .su-steps li { min-height: 38px; padding: 5px 10px; }
  .su-form { padding: 18px 28px; }
  .su-step { gap: 12px; }
}

/* plan cards with their modules (E14.35): airier, the modules as chips, « all of Duo, plus » */
.su-plan-body { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.su-plan-lead { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.su-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.su-chip { padding: 3px 9px; border: 1px solid var(--border-hi); border-radius: 999px; background: var(--card); font-size: 13px; line-height: 1.4; color: var(--text); }
.su-plan:has(input:checked) .su-chip { border-color: var(--green-line); background: rgba(63, 182, 139, .12); }
.su-plan-body .su-plan-list { display: flex; margin: 0; padding: 0; border: 0; gap: 4px; }
.su-step[data-step="1"] .su-step-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 759px) {
  .su-plan-body { grid-area: list; display: none; margin-top: 8px; padding-top: 8px; gap: 6px; }
  .su-plan:has(input:checked) .su-plan-body { display: flex; }
  .su-plan-lead { display: none; }
  .su-plan-body .su-plan-list { display: flex; }
  .su-chip { font-size: 12px; padding: 2px 8px; }
}
@media (min-width: 760px) {
  .su-plans { gap: 20px; padding-top: 12px; }
  .su-plan { padding: 22px 20px 20px; gap: 4px; }
  .su-plan::after { top: 20px; right: 20px; }
  .su-plan-body { margin-top: 10px; padding-top: 14px; gap: 10px; }
}
/* room for the modules (E14.35): the title alone on step 1, the plans' common line on a desktop only */
@media (max-width: 759px) {
  .su-hint-long { display: none; }
  .su-chips { gap: 4px; }
  .su-plan-body { gap: 4px; }
}
@media (min-width: 760px) {
  .su-intro .lead { display: none; }
  .su-h1 { font-size: 30px; }
  .su-plan { padding: 18px 18px 16px; }
  .su-plan-body { margin-top: 8px; padding-top: 10px; gap: 8px; }
}
@media (min-width: 760px) { .su-page { padding-top: 10px; } }

/* home pricing: each plan's modules (E14.35) */
.plan-lead { margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.plan-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-chip { padding: 3px 10px; border: 1px solid var(--border-hi); border-radius: 999px; font-size: 14px; color: var(--text); }
.plan.team .plan-chip { border-color: var(--green-line); background: rgba(63, 182, 139, .1); }

/* the signup, airier on a desktop (#2466): cards, chips, lists, the line under the cards and the Continuer button breathe */
@media (min-width: 760px) {
  .su-wrap { gap: 22px; }
  .su-form { padding: 28px 32px; gap: 22px; }
  .su-step { gap: 22px; }
  .su-plans { gap: 22px; padding-top: 16px; }
  .su-plan { padding: 24px 22px 22px; gap: 6px; }
  .su-plan-price { margin-top: 4px; }
  .su-plan-body { margin-top: 14px; padding-top: 18px; gap: 14px; }
  .su-chips { gap: 10px; }
  .su-chip { padding: 5px 12px; }
  .su-plan-body .su-plan-list { gap: 10px; margin-top: 4px; }
  .su-plan-item { line-height: 1.5; }
  #su-plan-msg { margin-top: 4px; line-height: 1.6; }
  .su-step[data-step="1"] .su-nav { margin-top: 6px; }
}
/* E14.48: a laptop with its bars on (1366 × 650): the airy cards tighten so that step 1 and its month or year choice fit */
@media (min-width: 760px) and (max-height: 760px) {
  .su-page { padding-top: 4px; }
  .su-h1 { font-size: 26px; }
  .su-wrap { gap: 10px; }
  .su-form { padding: 16px 28px; gap: 12px; }
  .su-step { gap: 12px; }
  .su-per label { min-height: 36px; }
  .su-plans { gap: 16px; padding-top: 2px; }
  .su-plan { padding: 14px 18px 14px; gap: 2px; }
  .su-plan::after { top: 14px; right: 16px; }
  .su-plan-price { margin-top: 0; }
  .su-plan-body { margin-top: 8px; padding-top: 10px; gap: 6px; }
  .su-plan-body .su-plan-list { gap: 4px; margin-top: 0; }
  .su-plan-item { line-height: 1.4; }
  #su-plan-msg { margin-top: 0; line-height: 1.5; }
  .su-step[data-step="1"] .su-nav { margin-top: 0; }
}

.pricing { padding-top: 56px; }
.billing { margin-top: 22px; }
.per { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.per-switch { display: inline-flex; padding: 4px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.per-switch label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.per-gift { font-size: 13px; font-weight: 700; color: var(--green-hi); }
#per-m:checked ~ .per-switch [for="per-m"], #per-y:checked ~ .per-switch [for="per-y"] { background: var(--chip); color: var(--text); }
#per-m:focus-visible ~ .per-switch [for="per-m"], #per-y:focus-visible ~ .per-switch [for="per-y"] { outline: 2px solid var(--green-lite); outline-offset: 2px; }
.price .py { display: none; }
#per-y:checked ~ .plans .price .pm { display: none; }
#per-y:checked ~ .plans .price .py { display: block; }
.billing .plans { margin-top: 14px; }
.plan { gap: 14px; }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan-top h3 { font-family: var(--font-display); font-size: 22px; font-weight: 750; }
.plan-top .price { text-align: right; }
.plan-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.plan-facts div { min-width: 0; }
.plan-facts dt { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.plan-facts dd { margin: 2px 0 0; font-size: 15.5px; line-height: 1.4; color: var(--text); font-weight: 600; }
.plans-more strong { color: var(--text); }

@media (min-width: 960px) {
  .pricing { padding-top: 72px; }
  .pricing .h2 { max-width: 900px; }
  .pricing .lead { max-width: 760px; }
  .billing { margin-top: 30px; display: flex; flex-direction: column; align-items: center; }
  .billing .plans { width: 100%; margin-top: 22px; }
  .plan { padding: 28px; gap: 20px; }
  .plan-top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .plan-top .price { text-align: left; }
  .plan-facts { grid-template-columns: 1fr; gap: 14px; }
  .plan-facts dd { font-size: 17px; }
}

