/*
 * Plié — « Espace Plié pro » (#1947): the Premium page and the signed-in space.
 *
 * Loaded after ../../assets/css/tokens.css (DM Sans and the design tokens of
 * the site). Two registers, as in the Claude Design mockups:
 *   - `.pro-landing`: the Premium page, in the merchant site's look (cream page,
 *     white sections, deep-wine titles and price band, amber buttons);
 *   - `.pro-space`: the signed-in pages, cream background and white cards, like
 *     the Plié pro app — calmer, money is handled here.
 * Mobile first: every block stacks, wider screens put them side by side.
 * Never a raw hex value: the semantic `--color-*` tokens of tokens.css, and
 * the few `--pro-*` aliases below for the mockups' state pills.
 */

:root {
  --pro-focus: var(--plie-blue-dark);
  --pro-text-muted: var(--plie-gray-medium);
  --pro-text-soft: var(--plie-warm-gray-dark);
  --pro-line: var(--plie-gray-100);
  --pro-field-border: var(--plie-gray-400);
  --pro-pill-neutral: var(--plie-gray-100);
  --pro-pill-trial: var(--plie-lilac-light);
  --pro-on-pill-trial: var(--plie-blue-dark);
  --pro-pill-ok: var(--plie-green-very-light);
  --pro-on-pill-ok: color-mix(in srgb, var(--plie-green-dark) 45%, var(--plie-ink));
  --pro-pill-alert: var(--color-feedback-negative-surface);
  --pro-on-pill-alert: color-mix(in srgb, var(--plie-brick) 70%, var(--plie-ink));
  --pro-premium-chip: var(--plie-gold-pale);
  --pro-on-premium-chip: color-mix(in srgb, var(--plie-amber) 35%, var(--plie-brown-dark));
  --pro-danger: var(--plie-brick);
  --pro-danger-hover: color-mix(in srgb, var(--plie-brick) 80%, var(--plie-ink));
  --pro-landing-text: color-mix(in srgb, var(--plie-deep-wine) 70%, var(--plie-warm-gray-dark));
  --pro-store-badge: var(--plie-ink);
  --pro-visual-rose: var(--plie-rose-very-light);
  --pro-visual-sun: var(--plie-gold-pale);
  --pro-visual-sage: var(--plie-green-very-light);
  --pro-visual-lilac: var(--plie-lilac-light);
  --pro-step: var(--plie-wine-light);
  --pro-on-step: var(--plie-wine-dark);
  --pro-heat-low: var(--plie-limestone);
  --pro-heat-mid: var(--plie-yellow-pale);
  --pro-heat-high: var(--plie-orange);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-content-primary);
  line-height: 1.5;
}

img,
svg {
  display: block;
}

a {
  color: var(--color-interactive-primary);
}

a:hover {
  color: var(--plie-wine-dark);
}

:focus-visible {
  outline: 3px solid var(--pro-focus);
  outline-offset: 3px;
}

/*
 * Headings and legends get `tabindex="-1"` only so that a view change can move focus to them
 * (screen readers then read the new step). They are not interactive: no ring. Chrome otherwise
 * matches `:focus-visible` on a programmatic focus made right after a page load.
 */
[tabindex="-1"]:focus {
  outline: none;
}

/* On the dark sections the blue ring falls under 3:1 (WCAG 1.4.11): a white one instead. */
.landing-header :focus-visible,
.price__band :focus-visible,
.login__aside :focus-visible {
  outline-color: var(--color-on-ink);
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-card);
  font-weight: 600;
}

.skip-link:focus {
  top: 8px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background var(--duration-fast), color var(--duration-fast);
}

.btn svg {
  flex: none;
}

.btn--lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 17px;
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.btn--wine {
  background: var(--color-interactive-primary);
  color: var(--color-interactive-primary-content);
}

.btn--wine:hover {
  background: var(--plie-wine-dark);
  color: var(--color-interactive-primary-content);
}

.btn--gold {
  background: var(--color-interactive-gold);
  color: var(--color-on-gold);
}

.btn--gold:hover {
  background: var(--color-interactive-gold-hover);
  color: var(--color-on-gold);
}

.btn--line {
  background: var(--color-surface-card);
  border-color: var(--color-content-primary);
  color: var(--color-content-primary);
}

.btn--line:hover {
  background: var(--color-content-primary);
  color: var(--color-content-on-inverse);
}

.btn--danger {
  background: var(--pro-danger);
  color: var(--color-content-on-inverse);
}

.btn--danger:hover {
  background: var(--pro-danger-hover);
  color: var(--color-content-on-inverse);
}

.btn--quiet {
  min-height: 44px;
  padding: 0 14px;
  margin-left: -14px;
  background: transparent;
  color: var(--color-content-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15px;
}

.btn--quiet:hover {
  background: var(--plie-limestone);
  color: var(--color-content-primary);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: progress;
}

.btn--block {
  width: 100%;
}

.link-strong {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  font-weight: 600;
  font-size: 16px;
}

/* ── Pills ───────────────────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  background: var(--pro-pill-neutral);
  color: var(--pro-text-soft);
}

.pill--trial {
  background: var(--pro-pill-trial);
  color: var(--pro-on-pill-trial);
}

.pill--ok {
  background: var(--pro-pill-ok);
  color: var(--pro-on-pill-ok);
}

.pill--alert {
  background: var(--pro-pill-alert);
  color: var(--pro-on-pill-alert);
}

.pill--premium {
  background: var(--pro-premium-chip);
  color: var(--pro-on-premium-chip);
}

.pill--plain {
  background: var(--color-surface-card);
}

/* ══ Premium page (`.pro-landing`) ═══════════════════════════════════════ */

.pro-landing {
  background: var(--color-background-primary);
  line-height: 1.55;
}

.landing-header {
  background: var(--color-surface-ink);
  color: var(--color-on-ink-muted);
}

.landing-nav {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 8px 8px 8px 16px;
  display: flex;
  align-items: center;
  gap: 4px 24px;
  flex-wrap: wrap;
}

.landing-nav__logo img {
  width: 50px;
  height: 36px;
}

.landing-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  order: 3;
  width: 100%;
  flex-direction: column;
}

.landing-nav--open .landing-nav__links {
  display: flex;
}

.landing-nav__links a,
.landing-nav__space {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  color: var(--color-on-ink-muted);
  text-decoration: none;
}

.landing-nav__links a:hover,
.landing-nav__space:hover {
  color: var(--color-on-ink);
}

.landing-nav__links a[aria-current="page"] {
  color: var(--color-on-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--color-interactive-gold);
  text-decoration-thickness: 2px;
}

.landing-nav__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.landing-nav__space {
  font-weight: 500;
  font-size: 15px;
}

.landing-nav__cta {
  display: none;
}

.landing-nav__menu {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-l);
  background: transparent;
  color: var(--color-on-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (min-width: 900px) {
  .landing-nav {
    padding: 14px var(--page-gutter);
  }

  .landing-nav__logo img {
    width: 61px;
    height: 44px;
  }

  .landing-nav__links {
    display: flex;
    flex-direction: row;
    width: auto;
    order: 0;
  }

  .landing-nav__menu {
    display: none;
  }

  .landing-nav__cta {
    display: inline-flex;
    min-height: 44px;
    padding: 0 22px;
    font-size: 15px;
  }

  .landing-nav__end {
    gap: 12px;
  }
}

/* The promise, and beside it on a wide screen the four tools in one line each. */
.hero__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--page-gutter) clamp(56px, 7vw, 96px);
  display: grid;
  gap: 40px;
}

@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 56px;
  }
}

.hero__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero h1 {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

.hero__lede {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 20px);
  color: var(--pro-landing-text);
  text-wrap: pretty;
}

.hero__price {
  margin: 0;
  font-size: 18px;
  color: var(--color-content-primary);
}

.hero__cta {
  margin-top: 6px;
}

.landing-note {
  margin: 0;
  font-size: 15px;
  color: var(--pro-landing-text);
}

.landing-note a {
  font-weight: 600;
}

/* The four tools as in-page links: the name, then what it does in one line. */
.hero__summary {
  min-width: 0;
  background: var(--color-surface-card);
  border-radius: var(--radius-panel);
  padding: 20px 24px 8px;
}

.hero__summary h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pro-text-muted);
}

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

.hero__summary li + li {
  border-top: 1px solid var(--pro-line);
}

.hero__summary a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  color: var(--color-content-primary);
  text-decoration: none;
}

.hero__summary a > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  color: var(--pro-text-muted);
}

.hero__summary b {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-content-primary);
}

.hero__summary a:hover b {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* A Premium function that is open: the amber disc (design system, « Premium affiche »). */
.tool-glyph {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--color-interactive-gold);
  color: var(--color-on-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Free shows, Premium acts ────────────────────────────────────────── */

.split,
.compare {
  background: var(--color-surface-card);
}

.split__inner,
.compare__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--page-gutter);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.split__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .split__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.split__card {
  min-width: 0;
  background: var(--color-background-primary);
  border-radius: var(--radius-panel);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split__card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  color: var(--color-heading);
}

.split__card--premium {
  background: var(--color-surface-ink);
  color: var(--color-on-ink-muted);
}

.split__card--premium h3,
.split__card--premium .checks b {
  color: var(--color-on-ink);
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
}

.checks li {
  display: flex;
  gap: 12px;
}

.checks svg {
  flex: none;
  margin-top: 2px;
}

.split__card--premium .checks svg {
  color: var(--color-interactive-gold);
}

/* `.report-card__head` and `.lines` also lay out the recap of /pro/abonnement. */
.report-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.lines {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--pro-line);
}

.lines > li,
.lines > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pro-line);
  font-size: 15px;
}

.lines > li:last-child,
.lines > div:last-child {
  border-bottom: 0;
}

.lines dt {
  color: var(--pro-text-muted);
}

.lines dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

/* ── The tools: four white panels on the cream page, one tool each ───── */

.tools__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--page-gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.tools .section-head {
  margin-bottom: 16px;
}

.section-head h2,
.start h2,
.compare h2,
.faq h2 {
  margin: 0;
  color: var(--color-heading);
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

.section-head p {
  margin: 0;
  font-size: 18px;
  color: var(--pro-landing-text);
  text-wrap: pretty;
}

/* Text first, its mock after: the same order in every panel, never a zigzag. */
.tool {
  min-width: 0;
  background: var(--color-surface-card);
  border-radius: var(--radius-block);
  padding: clamp(20px, 4vw, 40px);
  display: grid;
  gap: 28px;
  scroll-margin-top: 16px;
}

@media (min-width: 900px) {
  .tool {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
  }
}

.tool__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* The tool's name, in normal case: four spaced-out capitals read as a template. */
.tool__kicker {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-interactive-primary);
}

.tool h3 {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.tool__text > p {
  margin: 0;
  font-size: 17px;
  color: var(--pro-landing-text);
  text-wrap: pretty;
}

/* Numbered by CSS counters, so the list stays a plain <ol> for a screen reader. */
.how,
.start__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.how {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
}

.how li {
  display: flex;
  gap: 14px;
  counter-increment: step;
}

.how li::before {
  content: counter(step);
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--pro-step);
  color: var(--pro-on-step);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* The limit of the tool, said next to its promise. */
.tool__text > .tool__note {
  padding: 14px 16px;
  border-radius: var(--radius-l);
  background: var(--color-background-primary);
  font-size: 15px;
  color: var(--pro-text-soft);
}

.tool__note b {
  color: var(--color-content-primary);
}

.tool__visual {
  min-width: 0;
  border-radius: var(--radius-panel);
  padding: clamp(16px, 3vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tool__visual--rose {
  background: var(--pro-visual-rose);
}

.tool__visual--sun {
  background: var(--pro-visual-sun);
}

.tool__visual--sage {
  background: var(--pro-visual-sage);
}

.tool__visual--lilac {
  background: var(--pro-visual-lilac);
}

/* A mock says whose screen it is: the merchant's, or the customer's. */
.mock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--pro-text-soft);
}

.mock__caption {
  margin: 0;
  font-size: 14px;
  color: var(--pro-text-soft);
}

.mock-box {
  margin: 0;
  background: var(--color-surface-card);
  border-radius: var(--radius-xl);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: var(--color-content-primary);
}

.mock-title {
  font-size: 17px;
  font-weight: 600;
}

.mock-figure {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--pro-text-soft);
}

.mock-figure b {
  font-size: 32px;
  line-height: 1;
  color: var(--color-content-primary);
  font-variant-numeric: tabular-nums;
}

/* Wraps on a 320 px screen, where the label and the rate selector no longer share a line. */
.mock-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--pro-line);
  border-bottom: 1px solid var(--pro-line);
}

.mock-line--last {
  padding-bottom: 0;
  border-bottom: 0;
}

.mock-line > span:first-child {
  color: var(--pro-text-muted);
}

.mock-cta {
  min-height: 44px;
  border-radius: var(--radius-pill);
  background: var(--color-interactive-primary);
  color: var(--color-interactive-primary-content);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-notif,
.mock-coupon {
  flex-direction: row;
  align-items: center;
}

.mock-notif__app {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-l);
  background: var(--color-brand);
  color: var(--color-on-brand);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mock-notif__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--pro-text-soft);
}

.mock-notif__body b {
  color: var(--color-content-primary);
}

.mock-coupon {
  justify-content: space-between;
  border: 1.5px dashed var(--pro-field-border);
}

.mock-coupon__value {
  flex: none;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

/* Pickups by day and hour. The three levels differ in lightness, not in hue alone. */
.heat {
  display: grid;
  grid-template-columns: 40px repeat(6, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--pro-text-muted);
}

.heat__h {
  text-align: center;
}

.heat__c {
  height: 24px;
  border-radius: var(--radius-m);
}

.heat__c--0 {
  background: var(--pro-heat-low);
}

.heat__c--1 {
  background: var(--pro-heat-mid);
}

.heat__c--2 {
  background: var(--pro-heat-high);
}

.heat__c--pick {
  box-shadow: inset 0 0 0 2px var(--color-interactive-primary);
}

.heat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--pro-text-muted);
}

.heat-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.heat-legend i {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-s);
}

.mock-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--pro-heat-low);
  font-size: 14px;
  font-weight: 600;
  color: var(--pro-text-muted);
}

.mock-seg span {
  padding: 5px clamp(6px, 2.4vw, 12px);
  border-radius: var(--radius-pill);
}

.mock-seg .is-on {
  background: var(--color-interactive-primary);
  color: var(--color-interactive-primary-content);
}

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

.mock-slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--plie-gray-200);
  border-radius: var(--radius-l);
  padding: 8px 12px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--color-content-primary);
}

.mock-slot--deal {
  border: 1.5px solid var(--plie-ink);
}

.mock-deal {
  background: var(--color-discount);
  color: var(--color-on-discount);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 1px 8px;
}

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

.mock-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--pro-line);
}

.mock-rows li:last-child {
  padding-bottom: 0;
}

.mock-rows li > b:last-child {
  white-space: nowrap;
}

.mock-rows__muted {
  color: var(--pro-text-muted);
}

.mock-rows li > .mock-rows__muted:last-child {
  text-align: right;
}

.mock-up {
  color: var(--pro-on-pill-ok);
  font-weight: 600;
}

.mock-total {
  font-size: 26px;
  line-height: 1;
}

/* How it starts: one white panel, three steps in it (never three look-alike cards). */
.start {
  margin-top: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.start h2,
.compare h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.start__list {
  background: var(--color-surface-card);
  border-radius: var(--radius-block);
  padding: clamp(20px, 4vw, 40px);
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .start__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

.start__list li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-increment: step;
  font-size: 16px;
  color: var(--pro-landing-text);
}

.start__list li::before {
  content: counter(step);
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-interactive-gold);
  color: var(--color-on-gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.start__list b {
  font-size: 19px;
  line-height: 1.25;
  color: var(--color-content-primary);
}

/* ── With or without Premium ─────────────────────────────────────────── */

/* Three columns that fit a phone: smaller type there, never a sideways scroll. */
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.compare thead th {
  padding: 14px 8px;
  font-size: 15px;
  text-align: center;
  color: var(--color-heading);
}

.compare tbody tr {
  border-top: 1px solid var(--pro-line);
}

.compare tbody th {
  padding: 14px 8px 14px 0;
  font-weight: 500;
}

.compare td {
  width: 26%;
  padding: 14px 8px;
  text-align: center;
}

@media (min-width: 760px) {
  .compare table {
    font-size: 16px;
  }

  .compare thead th {
    padding: 14px 16px;
    font-size: 17px;
  }

  .compare tbody th {
    padding: 16px 16px 16px 0;
  }

  .compare td {
    width: 22%;
    padding: 16px;
  }
}

.compare__no {
  color: var(--pro-text-muted);
}

.compare .compare__premium {
  background: var(--pro-premium-chip);
}

.compare thead .compare__premium {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.compare tbody tr:last-child .compare__premium {
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.compare__note {
  margin: 0;
  font-size: 15px;
  color: var(--pro-text-muted);
}

/* ── Price band, FAQ, footer ─────────────────────────────────────────── */

.price {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--page-gutter);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.price__band {
  background: var(--color-surface-ink);
  color: var(--color-on-ink);
  border-radius: var(--radius-block);
  padding: clamp(28px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  align-items: center;
}

.price__main {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price__main h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  color: var(--color-on-ink-muted);
}

.price__amount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 18px;
  color: var(--color-on-ink);
}

.price__amount b {
  font-size: clamp(64px, 8vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price__main p {
  margin: 0;
  font-size: 16px;
  color: var(--color-on-ink-muted);
}

.price__main .btn {
  align-self: flex-start;
  margin-top: 12px;
}

.price__list {
  flex: 1 1 380px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 17px;
  color: var(--color-on-ink-muted);
}

.price__list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-ink-border-strong);
}

.price__list li:first-child {
  padding-top: 0;
}

.price__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.price__list svg {
  flex: none;
  margin-top: 2px;
  color: var(--color-interactive-gold);
}

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

.price__closer {
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-content-primary);
  text-wrap: balance;
}

.faq {
  background: var(--color-surface-card);
}

.faq__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--page-gutter);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.faq__list {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .faq__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq__item {
  min-width: 0;
  background: var(--color-background-primary);
  border-radius: var(--radius-panel);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  color: var(--color-content-primary);
}

.faq__item p {
  margin: 0;
  font-size: 16px;
  color: var(--plie-gray-dark);
}

.pro-footer {
  background: var(--color-surface-footer);
}

.pro-footer__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px var(--page-gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  align-items: center;
  font-size: 14px;
  color: var(--plie-gray-dark);
}

.pro-footer a {
  color: var(--plie-gray-dark);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ══ Signed-in space (`.pro-space`) ═════════════════════════════════════ */

.pro-space {
  background: var(--plie-cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.space-header {
  background: var(--color-surface-card);
  border-bottom: 1px solid var(--pro-line);
}

.space-header__bar {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 8px 8px 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.space-header__logo img {
  width: 44px;
  height: 32px;
}

.space-header__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--pro-text-muted);
}

.store-switch {
  order: 10;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0 8px 4px 0;
  padding: 0 14px 0 8px;
  border-radius: var(--radius-l);
  background: var(--plie-cream);
  color: var(--color-content-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.store-switch:hover {
  color: var(--color-content-primary);
  background: var(--plie-limestone);
}

.store-switch svg {
  margin-left: auto;
}

.avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--color-brand-container);
  color: var(--color-interactive-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar--round {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.avatar--lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 20px;
}

.avatar--tone-1 {
  background: var(--plie-gold-pale);
  color: var(--pro-on-premium-chip);
}

.avatar--tone-2 {
  background: var(--plie-sage);
  color: var(--pro-on-pill-ok);
}

.avatar--tone-3 {
  background: var(--plie-blue-very-light);
  color: var(--plie-blue-royal);
}

.avatar--tone-4 {
  background: var(--plie-limestone);
  color: var(--pro-text-muted);
}

.account {
  margin-left: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.account__help {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--pro-text-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.account__button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--color-content-primary);
  cursor: pointer;
}

.account__label,
.account__chevron {
  display: none;
}

.account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--color-surface-card);
  border: 1px solid var(--pro-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lifted);
}

.account__menu li > * {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-m);
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--color-content-primary);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.account__menu li > *:hover {
  background: var(--plie-cream);
  color: var(--color-content-primary);
}

.account__email {
  color: var(--pro-text-muted) !important;
  font-size: 14px !important;
  cursor: default !important;
}

@media (min-width: 760px) {
  .space-header__bar {
    padding: 10px var(--page-gutter);
    gap: 16px;
  }

  .space-header__logo img {
    width: 55px;
    height: 40px;
  }

  .space-header__name {
    padding-left: 16px;
    border-left: 1px solid var(--pro-line);
  }

  .space-header .store-switch {
    order: 0;
    flex: none;
    margin: 0;
    min-height: 44px;
    padding: 0 14px 0 6px;
  }

  .store-switch svg {
    margin-left: 0;
  }

  .account__help {
    display: flex;
  }

  .account__button {
    border: 1px solid var(--plie-gray-200);
    background: var(--color-surface-card);
    padding: 0 12px 0 4px;
  }

  .account__label {
    display: inline;
  }

  .account__chevron {
    display: block;
  }
}

.space-main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.space-main--narrow {
  max-width: 760px;
}

.space-main--mid {
  max-width: 960px;
}

.narrow {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
}

.space-main--center {
  justify-content: center;
  align-items: center;
}

@media (min-width: 760px) {
  .space-main {
    padding: 48px var(--page-gutter) 80px;
    gap: 28px;
  }
}

.page-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.page-head h1 .pill {
  font-size: 14px;
  padding: 5px 12px;
  letter-spacing: 0;
  align-self: center;
}

.page-head p {
  margin: 0;
  font-size: 16px;
  color: var(--pro-text-muted);
}

@media (min-width: 760px) {
  .page-head p {
    font-size: 17px;
  }
}

.card {
  background: var(--color-surface-card);
  border-radius: var(--radius-panel);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 760px) {
  .card {
    padding: 28px;
    gap: 18px;
  }
}

.card h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.card h2.title-xl {
  font-size: clamp(24px, 2.6vw, 28px);
  line-height: 1.2;
}

.card p {
  margin: 0;
  font-size: 16px;
  color: var(--pro-text-soft);
}

.card .hint {
  font-size: 14px;
  color: var(--pro-text-muted);
}

.card--hero {
  border-radius: var(--radius-modal);
  padding: clamp(24px, 4vw, 44px);
  gap: 20px;
}

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

.card__actions--split {
  border-top: 1px solid var(--pro-line);
  padding-top: 18px;
}

.card--alert {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--color-feedback-negative-surface);
}

.card--alert .alert-band {
  background: var(--pro-pill-alert);
  color: var(--pro-on-pill-alert);
  padding: 14px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}

.card__body-slot {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card--alert .card__body-slot {
  padding: 20px;
}

@media (min-width: 760px) {
  .card--alert .alert-band {
    padding: 14px 28px;
  }

  .card--alert .card__body-slot {
    padding: 24px 28px 28px;
  }
}

.layout-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: flex-start;
}

.layout-2__main {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.layout-2__side {
  flex: 1 1 300px;
  min-width: 0;
}

.progress {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--pro-line);
  overflow: hidden;
}

.progress > div {
  height: 100%;
  width: 0;
  background: var(--pro-focus);
  border-radius: var(--radius-pill);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.check-list li {
  display: flex;
  gap: 10px;
}

.check-list svg {
  flex: none;
  margin-top: 2px;
  color: var(--plie-green-dark);
}

/* ── Login ───────────────────────────────────────────────────────────── */

.login {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  background: var(--plie-cream);
}

.login__aside {
  flex: 1 1 480px;
  background: var(--color-surface-ink);
  color: var(--color-on-ink-muted);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login__aside img {
  width: 100px;
  height: 60px;
}

.login__pitch {
  margin-top: auto;
  display: none;
  flex-direction: column;
  gap: 20px;
  max-width: 460px;
}

.login__pitch p {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--color-on-ink);
  letter-spacing: -0.015em;
}

.login__pitch ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}

.login__pitch li {
  display: flex;
  gap: 12px;
}

.login__pitch svg {
  flex: none;
  margin-top: 3px;
  color: var(--color-on-deep-accent);
}

@media (min-width: 900px) {
  .login__aside {
    padding: 48px clamp(24px, 5vw, 72px);
    gap: 40px;
  }

  .login__aside img {
    width: 160px;
    height: 96px;
  }

  .login__pitch {
    display: flex;
  }
}

.login__main {
  flex: 1 1 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
}

.form {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.form__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__intro p {
  margin: 0;
  font-size: 16px;
  color: var(--pro-text-muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label,
.field__label {
  font-size: 15px;
  font-weight: 600;
}

.field__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.field input[type="email"],
.field input[type="password"],
.field input[type="text"] {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--pro-field-border);
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  background: var(--color-surface-card);
  color: var(--color-content-primary);
}

.field select {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--pro-field-border);
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
  background: var(--color-surface-card);
  color: var(--color-content-primary);
}

.field input[aria-invalid="true"] {
  border-color: var(--pro-on-pill-alert);
}

.field__hint {
  font-size: 14px;
  color: var(--pro-text-muted);
}

.field__error {
  font-size: 14px;
  font-weight: 600;
  color: var(--pro-on-pill-alert);
}

.password {
  position: relative;
}

.password input {
  padding-right: 56px !important;
}

.password button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-m);
  background: transparent;
  color: var(--pro-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.notice {
  background: var(--color-surface-card);
  border: 1px solid var(--pro-line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
}

.notice svg {
  flex: none;
  color: var(--color-interactive-primary);
}

.notice--soft {
  background: var(--plie-cream);
  border: 0;
}

.notice--alert {
  background: var(--pro-pill-alert);
  border-color: transparent;
  color: var(--pro-on-pill-alert);
  font-weight: 600;
}

.notice--ok {
  background: var(--pro-pill-ok);
  border-color: transparent;
  color: var(--pro-on-pill-ok);
  font-weight: 600;
}

.notice--alert svg,
.notice--ok svg {
  color: currentColor;
}

.apps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--plie-gray-200);
}

.apps p {
  margin: 0;
  font-size: 15px;
  color: var(--pro-text-soft);
}

.apps__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px 0 12px;
  border-radius: 10px;
  background: var(--plie-black);
  color: var(--plie-white);
  text-decoration: none;
  border: 1px solid var(--plie-gray-400);
}

.store-badge:hover {
  color: var(--plie-white);
  background: var(--plie-gray-900);
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-badge__top {
  font-size: 11px;
}

.store-badge__bottom {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── Store list ──────────────────────────────────────────────────────── */

.stores {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--color-surface-card);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.stores li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--pro-line);
}

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

.stores__name {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stores__name b {
  font-size: 17px;
}

.stores__name span,
.stores__state span:not(.pill) {
  font-size: 14px;
  color: var(--pro-text-muted);
}

.stores__state {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.stores .btn {
  flex: none;
}

@media (min-width: 760px) {
  .stores li {
    padding: 22px 24px;
    gap: 16px 24px;
  }

  .stores__name b {
    font-size: 18px;
  }

  .stores__name span {
    font-size: 15px;
  }
}

/* ── Recap ───────────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pro-text-muted);
}

.steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.steps li > span {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--plie-gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.steps li.is-done > span {
  border: 0;
  background: var(--plie-green-very-light);
  color: var(--pro-on-pill-ok);
}

.steps li[aria-current="step"] {
  color: var(--color-content-primary);
}

.steps li[aria-current="step"] > span {
  border: 0;
  background: var(--color-content-primary);
  color: var(--color-content-on-inverse);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.timeline li {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 12px 16px;
  padding-bottom: 20px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--plie-gray-400);
}

.timeline li:first-child .timeline__dot {
  border: 0;
  background: var(--color-interactive-primary);
}

.timeline__line {
  flex: 1;
  width: 2px;
  margin-top: 4px;
  background: var(--pro-line);
}

.timeline li:last-child .timeline__line {
  display: none;
}

.timeline__text {
  display: flex;
  flex-direction: column;
}

.timeline__text b {
  font-size: 16px;
}

.timeline__text span {
  font-size: 15px;
  color: var(--pro-text-muted);
}

.timeline__amount {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.choice {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 700;
}

.choice__option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1.5px solid var(--plie-gray-200);
  border-radius: 14px;
  cursor: pointer;
}

.choice__option:has(input:checked) {
  border-color: var(--color-interactive-primary);
  background: var(--color-brand-container);
}

.choice__option input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--color-interactive-primary);
}

.choice__option span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  color: var(--pro-text-soft);
}

.choice__option b {
  font-size: 16px;
  color: var(--color-content-primary);
}

.sepa {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: var(--plie-cream);
}

.sepa__mandate {
  margin: 0;
  font-size: 14px;
  color: var(--pro-text-soft);
}

.consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--color-interactive-primary);
}

.summary .lines > div {
  padding: 10px 0;
}

.summary .lines dd {
  font-weight: 400;
}

.summary .lines .is-strong dd {
  font-weight: 600;
}

.summary__due {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.summary__due span {
  font-size: 16px;
  font-weight: 600;
}

.summary__due b {
  font-size: 30px;
  letter-spacing: -0.02em;
}

.summary__fine {
  margin: 0;
  font-size: 14px;
  color: var(--pro-text-muted);
  background: var(--plie-cream);
  border-radius: var(--radius-l);
  padding: 12px 14px;
}

/* ── Manage ──────────────────────────────────────────────────────────── */

.pm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.pm h2 {
  width: 100%;
  font-size: 17px;
}

.pm__icon {
  flex: none;
  width: 52px;
  height: 36px;
  border-radius: var(--radius-m);
  background: var(--plie-limestone);
  color: var(--pro-text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm__text {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}

.pm__text b {
  font-size: 16px;
}

.pm__text span {
  font-size: 14px;
  color: var(--pro-text-muted);
}

.pm__text .is-alert {
  color: var(--pro-on-pill-alert);
}

.pm > p {
  width: 100%;
}

.pm form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--pro-line);
  padding-top: 18px;
}

.months {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pro-line);
}

.months li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pro-line);
  font-size: 15px;
}

.months__period {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}

.months__period span {
  font-size: 14px;
  color: var(--pro-text-muted);
}

.months__amount {
  font-weight: 600;
  white-space: nowrap;
}

.due {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--pro-pill-alert);
  color: var(--pro-on-pill-alert);
  font-weight: 600;
}

.due p {
  margin: 0;
  color: inherit;
  font-size: 15px;
}

.empty {
  background: var(--plie-cream);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 15px;
  color: var(--pro-text-soft);
}

.included {
  gap: 14px;
}

.included h2 {
  font-size: 17px;
}

.included .contact {
  border-top: 1px solid var(--pro-line);
  padding-top: 14px;
  font-size: 14px;
  color: var(--pro-text-muted);
}

/* ── Dialog (Résilier) — a bottom sheet on a phone, a centred card above ─ */

.dialog {
  width: 100%;
  max-width: 560px;
  margin: auto auto 0;
  padding: 10px 20px 28px;
  border: 0;
  border-radius: 24px 24px 0 0;
  background: var(--color-surface-card);
  color: var(--color-content-primary);
  box-shadow: 0 30px 80px -20px rgb(20 15 13 / 45%);
}

.dialog::backdrop {
  background: rgb(20 15 13 / 50%);
}

.dialog__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dialog__grip {
  align-self: center;
  width: 40px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--plie-taupe);
}

.dialog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.dialog h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 26px);
  line-height: 1.2;
}

.dialog__close {
  flex: none;
  width: 44px;
  height: 44px;
  margin: -6px -10px 0 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-content-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dialog p {
  margin: 0;
  font-size: 16px;
  color: var(--pro-text-soft);
}

.dialog__pause {
  background: var(--plie-cream);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.dialog__pause ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--pro-text-soft);
}

.dialog__pause li {
  display: flex;
  gap: 10px;
}

.dialog__pause li svg {
  flex: none;
  margin-top: 2px;
  color: var(--pro-text-muted);
}

.dialog__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 760px) {
  .dialog {
    margin: 120px auto auto;
    padding: 32px;
    border-radius: 24px;
  }

  .dialog__grip {
    display: none;
  }

  .dialog__pause {
    padding: 18px 20px;
    font-size: 15px;
  }

  .dialog__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

/* ── Status screens (verification, errors) ───────────────────────────── */

.status-card {
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
  background: var(--color-surface-card);
  border-radius: var(--radius-modal);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.status-card h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.status-card p {
  margin: 0;
  font-size: 17px;
  color: var(--pro-text-soft);
  max-width: 26em;
}

.status-card .hint {
  font-size: 15px;
  color: var(--pro-text-muted);
}

.status-card .notice {
  text-align: left;
  width: 100%;
}

.spinner {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  border: 5px solid var(--pro-line);
  border-top-color: var(--color-interactive-primary);
  animation: pro-spin 1s linear infinite;
}

@keyframes pro-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 3s;
  }

  .btn,
  .faq summary svg {
    transition: none;
  }
}

.ok-mark {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--plie-green-very-light);
  color: var(--pro-on-pill-ok);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--plie-limestone);
  color: var(--pro-text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 12px;
}

.facts > div {
  background: var(--plie-cream);
  border-radius: 14px;
  padding: 14px 16px;
}

.facts dt {
  font-size: 14px;
  color: var(--pro-text-muted);
}

.facts dd {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 600;
}

.next-steps {
  margin: 0;
  padding: 0 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  color: var(--pro-text-soft);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 20;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: var(--radius-l);
  background: var(--color-toast);
  color: var(--color-on-toast);
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow-lifted);
}
