:root {
  --red: #ed0033;
  --accent: #ed0033;
  --ink: #171719;
  --muted: #66656c;
  --paper: #fbf8f6;
  --line: #e7e1dd;
  --green: #09865b;
  --blue: #1769e0;
  --orange: #e96816;
  --radius: 24px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); overflow-x: hidden; }
body.is-ready { animation: pageReady .38s ease-out both; }
body.sabi-boot-page:not(.is-ready)::before {
  content: "";
  position: fixed; inset: 0; z-index: 4000;
  background:
    url("/assets/sabi-logo.webp") center 44% / min(220px, 52vw) no-repeat,
    linear-gradient(160deg, #ed0033 0%, #ba0034 58%, #8f0028 100%);
  pointer-events: none;
}
body.sabi-boot-page:not(.is-ready)::after {
  content: "";
  position: fixed; inset: 0; z-index: 4001;
  background: url("/assets/bg-pattern-sabi.png") center / cover no-repeat;
  opacity: .22;
  pointer-events: none;
}
body.sabi-boot-page.is-ready::before,
body.sabi-boot-page.is-ready::after { display: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

.nav {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(23, 23, 25, .08);
  background: rgba(251, 248, 246, .88);
  backdrop-filter: blur(16px);
}
.nav__inner { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 148px; height: auto; }
.nav__links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 650; }
.nav__lang { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.nav__lang a { opacity: 0.55; }
.nav__lang a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink); font: inherit; font-weight: 750;
  text-decoration: none; cursor: pointer;
}
.button--primary { border-color: var(--red); background: var(--red); color: white; }
.button--dark { border-color: var(--ink); background: var(--ink); color: white; }

.hero__grid > div:first-child {
  animation: sabiRiseIn .7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__visual {
  animation: sabiFadeIn .85s cubic-bezier(0.22, 1, 0.36, 1) .08s both;
}
@keyframes sabiFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes sabiRiseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pageReady {
  from { opacity: .72; }
  to { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s cubic-bezier(0.22, 1, 0.36, 1), transform .65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__grid > div:first-child,
  .hero__visual,
  .consent-progress__track span,
  .card,
  .reveal,
  body.sabi-boot-page:not(.is-ready)::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
  .cookie-sheet,
  .cookie-dots i { animation: none !important; }
}
.hero { position: relative; overflow: hidden; padding: 36px 0 48px; }
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .34;
}
.hero__grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: start; gap: 32px;
}
.hero__copy { max-width: 560px; padding-top: 8px; }
.eyebrow { color: var(--red); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 18px; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.hero h1 { max-width: 20ch; }
h2 { margin-bottom: 18px; font-size: clamp(28px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.micro { margin-top: 16px; color: var(--muted); font-size: 13px; }
.hero__visual {
  margin: 0;
  position: relative; overflow: hidden; border-radius: 28px 28px 28px 10px;
  box-shadow: 0 20px 48px rgba(52, 31, 26, .14);
  max-height: 420px;
}
.hero__visual img { width: 100%; height: 100%; max-height: 420px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 42%; }
.hero__tag {
  position: absolute; left: 20px; bottom: 20px; max-width: 270px;
  padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); font-weight: 750;
}

.section { padding: 72px 0; }
.section--white { background: white; }
.section--dark { background: #141416; color: white; }
.section__head { max-width: 760px; margin-bottom: 46px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white;
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .45s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(52, 31, 26, .08); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.card--visual img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 16px; background: #f1e9e6;
}
.card__number { color: var(--red); font-size: 13px; font-weight: 850; }
.card h3 { margin: 18px 0 10px; font-size: 22px; }
.card p { color: var(--muted); line-height: 1.6; }
.sector-cards .card { min-height: 168px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.feature--flip { direction: rtl; }
.feature--flip > * { direction: ltr; }
.feature img,
.feature__frame img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; background: #f1e9e6;
}
.feature__photo--product { object-position: 50% 22%; }
.feature__photo--analytics { object-position: 48% 42%; }
.feature__frame { margin: 0; position: relative; overflow: hidden; border-radius: 28px; }
.feature__frame--cinematic img {
  object-position: 38% 40%;
  transform: scale(1.12);
  filter: saturate(.9) contrast(1.05);
}
.feature__frame--cinematic::after {
  content: "";
  position: absolute; inset: 0; border-radius: 28px; pointer-events: none;
  background: linear-gradient(115deg, rgba(20,18,22,.38), rgba(20,18,22,.04) 58%, rgba(237,0,51,.14));
}
.feature__watermark {
  position: absolute; z-index: 1; right: 4%; bottom: 4%;
  width: min(34%, 190px) !important; aspect-ratio: 2 / 3 !important;
  border: 1px solid rgba(255,255,255,.7); border-radius: 22px !important;
  object-fit: cover !important; object-position: 50% 54% !important;
  opacity: .76; transform: rotate(2deg);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.feature__copy { max-width: 510px; }
.feature__copy li { margin: 14px 0; line-height: 1.5; }

.secret {
  display: grid; align-items: end; color: white;
  aspect-ratio: 1600 / 686;
  min-height: 0;
  background: linear-gradient(90deg, rgba(17,17,18,.88), rgba(17,17,18,.08)),
    url("/assets/sabi-secret.webp") center 40% / cover no-repeat;
}
.secret__copy { max-width: 650px; padding: clamp(28px, 6vw, 72px) 0; }

.price-teaser { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: end; }
.price-big { font-size: clamp(62px, 10vw, 118px); font-weight: 900; letter-spacing: -.07em; line-height: .8; }
.pay { display: grid; gap: 36px; }
.pay__brand {
  margin: 0 0 12px; color: #ff8aa0; font-weight: 850; letter-spacing: .12em;
  text-transform: uppercase; font-size: 13px;
}
.pay__intro { max-width: 720px; }
.pay__intro .lead { color: rgba(255,255,255,.74); }
.section--dark .button { color: white; border-color: rgba(255,255,255,.38); }
.section--dark .button--primary { border-color: var(--red); }
.pay__steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 0; padding: 0; list-style: none;
}
.pay__steps li {
  padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px;
  background: rgba(255,255,255,.04);
}
.pay__steps span { display: block; color: #ff8aa0; font-size: 12px; font-weight: 850; margin-bottom: 10px; }
.pay__steps strong { display: block; font-size: 18px; margin-bottom: 8px; }
.pay__steps p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.5; font-size: 14px; }
.pay__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pay__facts article {
  padding: 22px; border-radius: 22px; background: #0f0f11;
  border: 1px solid rgba(255,255,255,.1);
}
.pay__facts strong { display: block; font-size: 28px; letter-spacing: -.04em; margin-bottom: 8px; }
.pay__facts p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.5; }

.grow {
  display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden;
  align-items: center; border-radius: 36px; background: #f1e9e6;
}
.grow__copy { align-self: center; padding: 52px; }
.grow__copy a { font-weight: 750; text-underline-offset: 3px; }
.grow img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.pricing-hero {
  position: relative; overflow: hidden;
  padding: 72px 20px 42px; text-align: center;
  background: linear-gradient(rgba(251,248,246,.92), rgba(251,248,246,.92)),
    url("/assets/sabi-pattern.webp") center/700px;
  border-radius: 0 0 40px 40px;
}
.pricing-hero::before,
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/assets/bg-pattern-sabi.png") center / cover no-repeat;
  opacity: .055;
}
.pricing-hero > *,
.cta-final > * { position: relative; z-index: 1; }
.pricing-hero h1 { margin-inline: auto; }
.billing-controls {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px;
}
.billing-controls label {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: white;
}
.billing-controls input[type="number"] { width: 64px; border: 0; font: inherit; font-weight: 750; }
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.toggle button { padding: 10px 15px; border: 0; border-radius: 999px; background: transparent; font: inherit; cursor: pointer; }
.toggle button[aria-pressed="true"] { color: white; background: var(--ink); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.plan--featured { border: 2px solid var(--blue); transform: translateY(-10px); }
.plan__badge { position: absolute; top: -14px; left: 20px; padding: 6px 10px; border-radius: 999px; color: white; background: var(--blue); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.plan__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--plan-color); }
.plan h2 { margin: 14px 0 6px; font-size: 28px; letter-spacing: -.04em; }
.plan__price { margin: 22px 0 4px; font-size: 36px; font-weight: 900; letter-spacing: -.045em; }
.plan__period { min-height: 38px; color: var(--muted); font-size: 13px; }
.plan ul { flex: 1; padding-left: 20px; color: #3c3b40; line-height: 1.5; }
.plan li { margin: 10px 0; }
.plan .button { width: 100%; margin-top: 12px; }

.compare { width: 100%; border-collapse: collapse; background: white; border-radius: 20px; overflow: hidden; }
.compare th, .compare td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
.compare-wrap .compare { min-width: 760px; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; }
details p { margin: 14px 0 0; color: var(--muted); line-height: 1.55; }
footer {
  position: relative; z-index: 3;
  padding: 0;
  border-top: 0;
  background: #141416;
  color: rgba(255,255,255,.68); font-size: 13px;
}

.legal-shell { width: min(860px, calc(100% - 32px)); margin-inline: auto; padding: 72px 0 96px; }
.legal-content { padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: white; }
.legal-content h1 { font-size: clamp(38px, 6vw, 64px); }
.legal-content h2 { margin-top: 48px; font-size: clamp(26px, 4vw, 38px); }
.legal-content h3 { margin-top: 30px; font-size: 22px; }
.legal-content p, .legal-content li { line-height: 1.72; }
.legal-content li { margin-bottom: 8px; }
.legal-content hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line); }
.legal-content code { padding: 2px 6px; border-radius: 6px; background: #f4efec; }
.legal-content table { width: 100%; border-collapse: collapse; }
.legal-content th, .legal-content td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top: 0;
  color: rgba(255,255,255,.78);
  background: #141416;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/assets/bg-pattern-sabi.png") center / cover no-repeat;
  opacity: .14;
}
.site-footer__cta {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(145deg, #ed0033, #ba0034 60%, #8f0028);
  color: #fff;
}
.site-footer__cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/assets/bg-pattern-sabi.png") center / cover no-repeat;
  opacity: .28;
}
.site-footer__cta-inner {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px;
}
.site-footer__cta-kicker {
  margin: 0 0 8px; font-size: 12px; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72);
}
.site-footer__cta h2 {
  margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; color: #fff;
}
.site-footer__cta p { margin: 0; max-width: 38ch; color: rgba(255,255,255,.82); line-height: 1.5; }
.site-footer__cta .button--primary {
  border-color: #fff; background: #fff; color: var(--ink);
}
.site-footer__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
  padding: 48px 0 36px;
}
.site-footer__brand .brand--footer {
  display: inline-flex;
  padding: 10px 14px 8px;
  border-radius: 16px;
  background: #fff;
}
.site-footer__brand .brand--footer img {
  height: 40px; width: auto;
  filter: none;
}
.site-footer__tagline {
  margin: 18px 0 0; max-width: 28ch; line-height: 1.5;
  color: #fff; font-size: 16px; font-weight: 650;
}
.site-footer__wa {
  display: inline-block; margin-top: 16px;
  color: #7dffa8 !important; font-weight: 750; font-size: 14px;
  text-decoration: none !important;
}
.site-footer__wa:hover { text-decoration: underline !important; }
.site-footer__copy { margin: 0; font-size: 13px; }
.site-footer__col h4 {
  margin: 0 0 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.48);
}
.site-footer__col a {
  display: block; margin: 0 0 10px; color: rgba(255,255,255,.88);
  text-decoration: none; font-size: 14px;
}
.site-footer__col a:hover { color: #ff8aa0; text-decoration: underline; }
.site-footer__bar {
  position: relative; z-index: 1;
  padding: 18px 0 32px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: rgba(255,255,255,.48);
}
.site-footer__bar a { color: rgba(255,255,255,.7); }
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__cta { padding: 32px 0; }
}

.signup-shell { width: min(640px, calc(100% - 24px)); margin-inline: auto; padding: 48px 0 72px; }
.consent-card {
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), #fff 40%),
    radial-gradient(120% 80% at 0% 0%, rgba(237,0,51,.06), transparent 55%);
  box-shadow: 0 12px 36px rgba(52, 31, 26, .08);
  transition: box-shadow .25s ease;
}
.consent-card:focus-within { box-shadow: 0 16px 48px rgba(52, 31, 26, .11); }
.consent-card h1 { max-width: 14ch; font-size: clamp(32px, 6vw, 56px); }
.consent-card .lead { max-width: 38ch; font-size: clamp(15px, 2vw, 19px); line-height: 1.55; }
.consent-progress { margin: 28px 0 12px; }
.consent-progress__track {
  height: 8px; border-radius: 999px; background: #efeae6; overflow: hidden;
}
.consent-progress__track span {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #ed0033, #ff5a72);
  transition: width .35s ease;
}
.consent-progress__label {
  margin: 10px 0 0; color: var(--muted); font-size: 13px; font-weight: 650;
}
.consent-identity {
  display: grid; gap: 14px; margin: 28px 0 8px;
}
.consent-identity label { display: grid; gap: 8px; }
.consent-identity span { font-size: 13px; font-weight: 750; }
.consent-identity input,
.consent-identity select {
  min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; font: inherit; font-size: 16px; color: var(--ink);
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.consent-identity select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.consent-identity input:focus,
.consent-identity select:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 0, 51, .12);
}
.sector-pick {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.sector-pick__item {
  display: grid; gap: 4px; text-align: left;
  min-height: 72px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 16px;
  background: #fff; color: var(--ink); font: inherit; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.sector-pick__item strong { font-size: 14px; font-weight: 800; }
.sector-pick__item span { color: var(--muted); font-size: 12px; font-weight: 550; line-height: 1.35; }
.sector-pick__item:hover { border-color: #d7cfc9; transform: translateY(-1px); }
.sector-pick__item:active { transform: scale(.97); }
.sector-pick__item.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 0, 51, .16);
  background: linear-gradient(180deg, #fff5f6, #fff);
}
.sector-field { display: grid; gap: 10px; }
.restauration-onboard {
  display: grid; gap: 10px; margin-top: 4px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 16px; background: #fffaf8;
}
.restauration-bricks { display: grid; gap: 10px; }
.restauration-brick {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
}
.restauration-brick strong { display: block; font-size: 14px; margin-bottom: 4px; }
.restauration-brick span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.field-hint, .consent-identity .field-hint {
  display: block; font-size: 12px; font-weight: 550; color: var(--muted); line-height: 1.4;
}
.consent-card fieldset { margin: 18px 0 22px; padding: 0; border: 0; }
.consent-row {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start;
  margin: 10px 0; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 16px;
  background: #fff; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.consent-row:hover { border-color: #d7cfc9; transform: translateY(-1px); }
.consent-row:active { transform: scale(.985); }
.consent-row.is-checked {
  border-color: rgba(9, 134, 91, .45);
  background: linear-gradient(180deg, #f3fbf7, #fff);
}
.consent-row input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); }
.consent-row__body { display: grid; gap: 4px; }
.consent-row__body strong { font-size: 15px; letter-spacing: -.01em; }
.consent-row__body strong em {
  margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 750;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.consent-row__body > span { color: var(--muted); line-height: 1.5; font-size: 14px; }
.consent-row__body a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.consent-row--optional { background: #faf7f5; }
.consent-card button:disabled { cursor: not-allowed; opacity: .45; }
.consent-submit { width: 100%; margin-top: 8px; min-height: 52px; font-size: 16px; }
.consent-status { min-height: 24px; margin-top: 14px; font-weight: 700; color: var(--muted); }
.consent-status[data-state="ready"] { color: var(--green); }
.consent-status[data-state="error"] { color: var(--red); }

.cta-final {
  position: relative; overflow: hidden;
  padding: 72px 0;
  text-align: center;
  background: #141416;
  color: white;
}
.cta-final h2 { margin-inline: auto; max-width: 16ch; }
.cta-final .lead { margin-inline: auto; max-width: 38ch; color: rgba(255,255,255,.72); }
.cta-final .actions { justify-content: center; }
.cta-final .button { color: white; border-color: rgba(255,255,255,.4); }
.cta-final .button--primary { border-color: var(--red); }
body.page-has-cta .site-footer__cta { display: none; }

.plans--3 { grid-template-columns: repeat(3, 1fr); }
.note-inline { max-width: 720px; margin: 18px auto 0; }

.workforce { margin-top: 36px; text-align: left; }
.workforce__card {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 16px 40px rgba(52, 31, 26, .05);
}
.workforce__card h2 { font-size: clamp(28px, 4vw, 42px); }
.workforce__card .lead { font-size: 17px; }
.workforce__grid { display: grid; gap: 10px; margin: 22px 0 8px; }
.workforce__row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px;
}
.workforce__row--seats { border-color: rgba(23, 23, 25, .28); background: #faf7f5; font-weight: 700; }
.workforce__stepper { display: inline-flex; align-items: center; gap: 6px; }
.workforce__stepper button {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 999px;
  background: white; font: inherit; font-weight: 800; cursor: pointer;
}
.workforce__stepper input {
  width: 72px; height: 36px; border: 0; text-align: center; font: inherit; font-weight: 800;
  background: transparent;
}
.workforce__total { margin: 16px 0; line-height: 1.6; }
.workforce-sheet {
  position: fixed; z-index: 40; right: 20px; bottom: 20px; width: min(420px, calc(100% - 24px));
  padding: 22px; border-radius: 24px; background: #171719; color: white;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.workforce-sheet[hidden] { display: none; }
.workforce-sheet .eyebrow { color: #ff8aa0; }
.workforce-sheet h2 { font-size: 28px; }
.workforce-sheet p { color: rgba(255,255,255,.74); line-height: 1.5; }
.workforce-sheet .button { color: white; border-color: rgba(255,255,255,.35); }
.workforce-sheet .button--primary { border-color: var(--red); }

.cookie-sheet {
  position: fixed !important; z-index: 1000 !important;
  right: 16px; bottom: 16px; left: auto; top: auto;
  width: min(340px, calc(100% - 24px));
  max-height: min(62vh, 420px); overflow: auto;
  margin: 0; padding: 0;
  border: 1px solid rgba(255,255,255,.14); border-radius: 22px;
  color: white; background: #171719;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  animation: cookieEnter .55s cubic-bezier(.22,1,.36,1) both;
}
.cookie-sheet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/assets/bg-pattern-sabi.png") center / cover; opacity: .11;
}
.cookie-sheet__inner { position: relative; z-index: 1; padding: 18px 18px 16px; }
.cookie-sheet__mark { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cookie-sheet__mark img { width: 32px; height: 32px; border-radius: 9px; }
.cookie-sheet__mark strong { font-size: 13px; }
.cookie-sheet h2 { margin: 0 0 8px; font-size: 18px !important; line-height: 1.25; letter-spacing: -.02em; max-width: none; }
.cookie-sheet p { margin: 0; color: rgba(255,255,255,.74); line-height: 1.45; font-size: 13px; }
.cookie-sheet a { color: white; }
.cookie-sheet__choices { display: grid; gap: 8px; margin: 14px 0 10px; }
.cookie-choice {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  background: rgba(0,0,0,.14); cursor: pointer;
}
.cookie-choice input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--red); }
.cookie-choice span { display: grid; gap: 2px; font-size: 13px; font-weight: 800; }
.cookie-choice small { color: rgba(255,255,255,.64); font-weight: 500; line-height: 1.35; }
.cookie-sheet .actions { margin-top: 10px; gap: 8px; }
.cookie-sheet .button { color: white; border-color: rgba(255,255,255,.38); min-height: 42px; padding: 0 16px; font-size: 13px; }
.cookie-sheet .button--primary { border-color: var(--red); }
.cookie-dots { display: inline-flex; gap: 4px; }
.cookie-dots i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--red);
  animation: cookieDot 1.2s infinite ease-in-out;
}
.cookie-dots i:nth-child(2) { animation-delay: .14s; }
.cookie-dots i:nth-child(3) { animation-delay: .28s; }
@keyframes cookieEnter {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes cookieDot {
  0%, 65%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.levels { margin-top: 12px; }
.status-soon { color: var(--orange); font-weight: 750; font-size: 13px; }

/* Savings calculator (PRICING-V2 §8.2) */
.savings { margin-top: 8px; }
.savings__card {
  padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 28px;
  background: white; box-shadow: 0 18px 40px rgba(52, 31, 26, .06);
}
.savings__card h2 { font-size: clamp(28px, 4vw, 42px); max-width: 20ch; }
.savings__sliders { display: grid; gap: 18px; margin: 24px 0; }
.savings__field span { display: block; margin-bottom: 8px; font-weight: 700; }
.savings__field input[type="range"] { width: 100%; accent-color: var(--red); }
.savings__field input[type="number"] {
  width: 100%; max-width: 280px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 14px; font: inherit; font-weight: 750;
}
.savings__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0;
}
.savings__grid article {
  padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #faf7f5;
}
.savings__highlight { border-color: rgba(237, 0, 51, .22); background: #fff5f7; }
.savings__label { display: block; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.savings__value { display: block; margin-top: 8px; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.04em; }
.savings__value--warn { color: #b45309; }
.savings__value--ok { color: var(--green); }
.savings__story { font-size: 18px; line-height: 1.55; font-weight: 650; max-width: 52ch; }

/* Live social proof */
.proof { text-align: center; }
.proof__stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 48px;
  margin: 32px 0 24px;
}
.proof__stats article strong {
  display: block; font-size: clamp(36px, 6vw, 56px); letter-spacing: -.05em; color: var(--red);
}
.proof__stats article span { color: var(--muted); font-size: 14px; font-weight: 700; }
.proof__quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; text-align: left; margin-top: 36px; }
.proof__quotes blockquote {
  margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: white;
  font-size: 17px; line-height: 1.55;
}
.proof__quotes cite { display: block; margin-top: 14px; color: var(--muted); font-style: normal; font-size: 14px; font-weight: 700; }
[data-live-stats-loading] [data-stat-merchants],
[data-live-stats-loading] [data-stat-volume] { opacity: .45; }

/* Demo sandbox */
.demo-page { min-height: 100vh; background: var(--paper); }
.demo-shell { width: min(480px, 100%); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.demo-banner {
  padding: 10px 16px; background: #141416; color: #ff8aa0; font-size: 12px; font-weight: 800;
  text-align: center; letter-spacing: .04em;
}
.demo-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 16px 8px;
}
.demo-header h1 { font-size: 26px; margin-bottom: 4px; }
.demo-main { flex: 1; padding: 12px 16px 88px; }
.demo-kpis { display: grid; gap: 10px; }
.demo-kpis article {
  padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white;
}
.demo-kpis span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.demo-kpis strong { font-size: 28px; letter-spacing: -.04em; }
.demo-nav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 12px; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: min(480px, calc(100% - 16px));
  padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.demo-nav button {
  border: 0; border-radius: 999px; padding: 10px 6px; background: transparent;
  font: inherit; font-size: 11px; font-weight: 800; cursor: pointer;
}
.demo-nav button[aria-current="page"] { background: var(--ink); color: white; }
.demo-pos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.demo-pos__item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: white;
  font: inherit; cursor: pointer; text-align: left;
}
.demo-pos__item span { color: var(--muted); font-size: 13px; font-weight: 700; }
.demo-pos__cart { list-style: none; padding: 0; margin: 12px 0; }
.demo-pos__cart li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.demo-pos__total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 850; }
.demo-list { list-style: none; padding: 0; margin: 0; }
.demo-list li {
  padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px;
}
.demo-list em { color: var(--muted); font-style: normal; font-size: 13px; }
.demo-toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 88px; z-index: 40;
  padding: 12px 18px; border-radius: 999px; background: var(--green); color: white; font-weight: 800;
}
.demo-footer { padding: 24px 16px 100px; text-align: center; }
.demo-footer p { color: var(--muted); margin-bottom: 12px; }

/* Honest comparatif */
.compare-honest td:first-child { font-weight: 700; }
.compare-honest .win { color: var(--green); font-weight: 800; }
.compare-honest .lose { color: #b45309; font-weight: 700; }
.compare-honest .tie { color: var(--muted); }
.compare-note {
  padding: 18px 20px; border-left: 4px solid var(--red); border-radius: 0 16px 16px 0;
  background: #fff5f7; line-height: 1.55;
}

@media (max-width: 900px) {
  .nav__links > a:not(.button):not(.nav__locale) { display: none; }
  .nav__lang { display: inline-flex; }
  .hero__grid, .feature, .price-teaser, .grow, .faq, .pay__steps, .pay__facts, .proof__quotes, .savings__grid { grid-template-columns: 1fr; }
  .hero { padding: 24px 0 32px; }
  .hero__visual, .hero__visual img { max-height: 280px; }
  .cards { grid-template-columns: 1fr; }
  .plans, .plans--3 { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: none; }
  .workforce-sheet { right: 12px; left: 12px; width: auto; bottom: 12px; }
  .cookie-sheet { right: 12px; left: 12px; width: auto; bottom: 12px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 20px, 1180px); }
  .nav__inner { min-height: 60px; }
  .nav__links { gap: 8px; }
  .nav__links .button { min-height: 40px; padding: 0 14px; font-size: 12px; }
  .section, .cta-final { padding: 48px 0; }
  .plans, .plans--3 { grid-template-columns: 1fr; }
  .grow__copy { padding: 24px; }
  .sector-pick { grid-template-columns: 1fr; gap: 8px; }
  .sector-pick__item { min-height: 64px; padding: 12px 14px; }
  .secret {
    aspect-ratio: 3 / 4;
    background-position: 62% 35%;
  }
  .legal-shell, .signup-shell { width: min(100% - 20px, 640px); padding: 28px 0 56px; }
  .consent-card { padding: 20px 16px; border-radius: 20px; }
  .consent-card h1 { font-size: clamp(28px, 7vw, 40px); }
  .consent-identity input, .consent-identity select { min-height: 50px; font-size: 16px; }
  .consent-row { padding: 14px 14px; gap: 12px; }
  .consent-identity input, .consent-identity select { min-height: 50px; font-size: 16px; }
  .consent-row { padding: 14px 16px; gap: 12px; }
  .consent-submit { min-height: 54px; font-size: 16px; }
  .workforce__row { grid-template-columns: 1fr; }
}

/* Oldbook recognition modal (landing, one-shot) */
html.oldbook-modal-open { overflow: hidden; }
.oldbook-modal-root {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}
.oldbook-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(20, 20, 22, 0.62);
  cursor: pointer;
}
.oldbook-modal {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(92dvh, 720px);
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-align: left;
}
.oldbook-modal__visual {
  margin: 0;
  aspect-ratio: 3 / 4;
  max-height: 48dvh;
  overflow: hidden;
  background: #1a1612;
}
.oldbook-modal__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.oldbook-modal__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.oldbook-modal__body h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.oldbook-modal__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.98rem;
}
.oldbook-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.oldbook-modal__actions .button {
  width: 100%;
  justify-content: center;
}
