/* Policab home page on the "Bailey Hart" template (108 Supply, Figma frame "Home A"), restyled with the
   design-taste-frontend house rules (25/11): no eyebrows, no hairlines, no resting shadows outside interface
   fragments (data-ui), no glass outside them and the sticky bar, five type steps, headlines on two lines.
   Product fragments (data-ui) follow Legora's grammar: white windows, a title bar, chips, citations, step states.
   Colours, faces and pictograms stay the app's (app/globals.css, visual-language.md). */

@font-face { font-family: "Source Serif 4"; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-vf.woff2") format("woff2-variations"); }
@font-face { font-family: "Overused Grotesk"; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/overused-grotesk-vf.woff2") format("woff2-variations"); }

:root {
  --paper: #fff; --ink: #181818;
  --stone-50: #f6f6f6; --stone-100: #efefef; --stone-200: #e6e6e6; --stone-600: #636363; --stone-700: #515151;
  --folder-back: #1d69ce; --folder-front: #4c95ee; --parliament: #5739bd; --jade: #28634e;
  --radius: 18px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1440px;
  --pad: clamp(96px, 11vw, 160px);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Overused Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* five steps */
  --t-small: 0.8125rem;                         /* 13 */
  --t-body: 1rem;                               /* 16 */
  --t-lead: 1.25rem;                            /* 20 */
  --t-h2: clamp(1.5rem, 3.1vw, 2.75rem);        /* 24 → 44 */
  --t-display: clamp(2rem, 5.6vw, 5rem);        /* 32 → 80 */
  --ease: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: currentColor; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
main:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--folder-back); outline-offset: 3px; }

/* shared frame: one pair of margins */
.rows, .features, .duo, .reviews, .blog, .faq, .dark-head, .dark-foot, .foot-cta, .foot-main, .foot-base, .foot-mark { width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.display { font: 400 var(--t-display)/1.02 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.h2 { font: 400 var(--t-h2)/1.08 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.statement { font: 400 clamp(1.5rem, 2.4vw, 2.25rem)/1.2 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.sub { font-size: var(--t-lead); line-height: 1.5; text-wrap: pretty; }
.acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.acts--left { justify-content: flex-start; }
.ibox { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--stone-100); color: var(--ink); font-size: 22px; }
.ibox--blue { background: #e6effb; color: var(--folder-back); }
.ibox--green { background: #eaf2ed; color: var(--jade); }
.ibox--violet { background: #eeeafa; color: var(--parliament); }

/* buttons: one shape, square-ish 10px, flat */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: 500 var(--t-body)/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, transform .16s var(--ease); }
.btn:hover { background: #333; }
.btn:active { transform: scale(.97); }
.btn--ghost { background: var(--stone-100); color: var(--ink); }
.btn--ghost:hover { background: var(--stone-200); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--stone-100); }
.btn--dark { background: rgb(24 24 24 / .72); color: #fff; }
.btn--dark:hover { background: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--t-small); }

.wordmark { display: block; width: 92px; aspect-ratio: 520 / 142; background: currentColor; -webkit-mask: url("/assets/brand/policab-wordmark.svg?v=2") center / contain no-repeat; mask: url("/assets/brand/policab-wordmark.svg?v=2") center / contain no-repeat; }

/* promo bar + nav (the one blurred bar) */
.promo { display: flex; justify-content: center; gap: 8px; padding: 8px var(--gutter); background: var(--stone-100); font-size: var(--t-small); text-align: center; }
.promo a { font-weight: 500; }
.nav { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .9); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); }
.nav-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { color: var(--ink); }
.nav-links { display: none; gap: 28px; margin: 0 auto; }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--folder-back); }
.nav-acts { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-login { display: none; text-decoration: none; }
@media (min-width: 1060px) { .nav-links { display: flex; } .nav-acts { margin-left: 0; } .nav-login { display: inline; } }

/* 1. hero */
.hero { padding-top: clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-head { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); display: grid; justify-items: center; gap: 24px; text-align: center; }
.rating { display: inline-flex; align-items: center; gap: 14px; font-size: var(--t-small); }
.faces { display: flex; }
.faces img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 2px solid #fff; margin-left: -14px; }
.faces img:first-child { margin-left: 0; }
.hero .sub { max-width: 660px; font-size: var(--t-body); }
@media (min-width: 760px) { .hero .sub { font-size: var(--t-lead); } }

.hero-row { margin-top: clamp(48px, 6vw, 80px); display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); }
.hero-row::-webkit-scrollbar { display: none; }
.hcard { position: relative; flex: none; width: 86vw; height: clamp(460px, 39vw, 560px); border-radius: var(--radius); overflow: hidden; background: var(--stone-200); scroll-snap-align: center; }
.hcard > img, .hcard > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hcard > img:not(.soft), .hcard--end > video, .who > img, .foot-bg, .duo--flip .duo-img > img, .dcard--img > img { animation: drift 24s ease-in-out infinite alternate; }
.who > img { animation-duration: 30s; } .foot-bg { animation-duration: 36s; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
@media (min-width: 900px) {
  .hero-row { overflow: visible; justify-content: center; padding: 0; margin-left: -4vw; margin-right: -4vw; }
  .hcard--wide { width: 47.2vw; } .hcard--mid { width: 30.4vw; } .hcard--end { width: 29.2vw; }
}
.hcard--mid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .6), rgb(0 0 0 / 0) 55%); } /* taste-skill-ignore: neutral scrim under text on a photo */
.hcard-top { position: absolute; z-index: 1; top: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; }
.round { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(24 24 24 / .5); color: #fff; font-size: 18px; }
.emblem { height: 32px; width: auto; filter: brightness(0) invert(1); }
.hcard-quote { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; color: #fff; }
.q { font: 400 clamp(1.5rem, 2.2vw, 2.25rem)/1.15 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.by { margin-top: 16px; font-weight: 500; display: grid; gap: 2px; }
.by span { font-weight: 400; font-size: var(--t-small); }

/* interface fragments: Sherpa's conversation and the version switch (data-ui keeps their own shadows) */
img.soft { filter: blur(22px) saturate(1.1); transform: scale(1.15); }
.hcard--wide::after, .duo-img--live::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .2); }


/* 2. logo marquee */
.logos { padding: 56px 0 0; text-align: center; }
.logos-title { font-size: var(--t-small); }
.marquee { margin: 28px auto 0; max-width: 1100px; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track li { flex: none; }
.marquee-track img { height: 40px; width: auto; opacity: .75; filter: grayscale(1); }
.marquee-track img.wide { height: 30px; }
.marquee-track .word { font: 500 var(--t-lead)/1 var(--sans); color: var(--stone-700); }
@keyframes marquee { to { transform: translateX(calc(-50% - 36px)); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* section rhythm: space only */
.rows, .features, .duo, .reviews, .blog, .faq { padding-top: var(--pad); }

/* 3. detail rows */
.rows-head { display: grid; gap: 28px; }
@media (min-width: 960px) { .rows-head { grid-template-columns: 1fr 1fr; gap: 96px; } }
.rows-text { display: grid; gap: 14px; max-width: 600px; }
.rows-list { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 8px; }
.rows-list > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 20px 28px; border-radius: 14px; background: var(--stone-50); }
.rows-list dd { font: 400 clamp(2.5rem, 5vw, 4.5rem)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) { .rows-list dd { min-width: 46%; } }

/* carousels */
.track { margin-top: 48px; display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 420px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.features .track, .track--reviews { margin-right: calc(50% - 50vw); padding-right: var(--gutter); }
.arrows { display: flex; gap: 12px; }
.arrows button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--stone-100); cursor: pointer; font-size: 18px; transition: background .2s, transform .16s var(--ease); }
.arrows button:hover { background: var(--stone-200); }
.arrows button:active { transform: scale(.94); }
.arrows .prev svg { transform: scaleX(-1); }
.arrows--dark button { background: rgb(255 255 255 / .12); color: #fff; }
.arrows--dark button:hover { background: rgb(255 255 255 / .22); }

/* 4. feature carousel: tiles of two widths, captions on the picture */
.features-head { display: grid; gap: 24px; }
@media (min-width: 960px) { .features-head { grid-template-columns: minmax(0, 760px) auto; justify-content: space-between; align-items: end; } .features-head .h2 { font-size: var(--t-display); } }
.features .track { grid-auto-columns: auto; }
.fcard { width: min(82vw, 420px); }
.fcard:nth-child(3n+1) { width: min(86vw, 560px); }
.fcard p { margin-top: 16px; max-width: 42ch; }
.fcard-img { position: relative; height: clamp(420px, 37vw, 539px); border-radius: var(--radius); overflow: hidden; background: var(--stone-200); }
.fcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fcard:hover .fcard-img img { transform: scale(1.04); }
.cap { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); font: 500 var(--t-body)/1.2 var(--sans); }

/* 5 and 6. duo rows */
.duo { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .duo { grid-template-columns: 604fr 676fr; gap: 64px; } .duo--flip { grid-template-columns: 676fr 604fr; } }
.duo-text { display: grid; gap: 24px; justify-items: start; }
.sets { width: 100%; margin-top: 8px; display: grid; gap: 8px; }
.sets li { display: flex; gap: 16px; padding: 20px; border-radius: 14px; background: var(--stone-50); }
.sets h3 { font: 500 var(--t-body)/1.5 var(--sans); }
.sets p { margin-top: 4px; }
.duo-img { position: relative; min-height: clamp(560px, 49vw, 704px); border-radius: var(--radius); overflow: hidden; background: var(--stone-200); }
.duo-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 999px) { .duo--flip .duo-img { order: 2; } }
.duo-img--list { display: grid; place-items: center; }
.note-card { width: 100%; margin-top: 16px; padding: 28px; border-radius: 16px; background: var(--stone-50); }
.note-text { font-size: var(--t-lead); line-height: 1.5; text-wrap: pretty; }
.note-by { margin-top: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.note-by b { display: block; font-weight: 500; }
.note-by span { font-size: var(--t-small); }
.folder { position: relative; flex: none; width: 72px; height: 58px; }
.folder::before { content: ""; position: absolute; inset: 0 0 8px; border-radius: 6px 10px 8px 8px; background: var(--folder-back); clip-path: polygon(0 0, 40% 0, 48% 14%, 100% 14%, 100% 100%, 0 100%); }
.folder::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 74%; border-radius: 8px; background: var(--folder-front); }

/* 7. who we work with */
.who { position: relative; margin-top: var(--pad); min-height: min(819px, 100svh); display: grid; align-items: center; color: #fff; background: #1c1c1c; overflow: hidden; }
.who > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.who-in { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); text-align: center; }
.who ul { margin-top: 40px; }
.who li { font: 400 clamp(2.25rem, 5.6vw, 5rem)/1.04 var(--serif); letter-spacing: -.03em; }

/* 8. dark carousel */
.dark { background: var(--ink); color: #fff; padding: var(--pad) 0; }
.dark-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dark-head .h2 { max-width: 30ch; }
.track--dark { grid-auto-columns: min(86vw, 560px); padding: 0 var(--gutter); scroll-padding-inline-start: var(--gutter); }
@media (min-width: 1440px) { .track--dark { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-inline-start: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.dcard { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #262626; display: grid; grid-template-rows: 1fr auto; padding: 32px; }
@media (max-width: 699px) { .dcard { aspect-ratio: auto; min-height: 400px; } }
.dcard--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.dcard > *:not(img) { position: relative; }
.dlogo { place-self: center; display: inline-flex; align-items: center; gap: 12px; font: 400 var(--t-h2)/1.1 var(--serif); letter-spacing: -.02em; text-align: center; }
.dlogo svg { flex: none; font-size: .8em; }
.dfoot p { text-align: center; max-width: 40ch; margin: 0 auto; }
.dark-foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.dark-foot p { max-width: 720px; }

/* 9. review cards */
.track--reviews { grid-auto-columns: min(86vw, 680px); gap: 120px; margin-top: 56px; }
@media (max-width: 700px) { .track--reviews { gap: 32px; } }
.rtext { font: 400 clamp(1.5rem, 2.3vw, 2.25rem)/1.25 var(--serif); letter-spacing: -.012em; text-wrap: pretty; }
.rby { margin-top: 36px; display: flex; align-items: center; gap: 12px; }
.rby b { display: block; font-weight: 500; }
.rby span { font-size: var(--t-small); }
.reviews .arrows { margin-top: 56px; }

/* 10. blog cards */
.blog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.blog-grid { margin-top: 56px; display: grid; gap: 40px 16px; }
@media (min-width: 760px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.bimg { aspect-ratio: 437 / 320; border-radius: var(--radius); overflow: hidden; background: var(--stone-200); }
.bimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bcard:hover .bimg img { transform: scale(1.04); }
.bmeta { margin-top: 20px; display: flex; gap: 8px; }
.tag { padding: 2px 8px; border-radius: 4px; background: var(--stone-100); font-size: var(--t-small); }
.bcard h3 { margin-top: 10px; font: 500 var(--t-lead)/1.25 var(--sans); letter-spacing: -.01em; }

/* 11. FAQ: questions filed on folder tabs */
.faq { padding-bottom: var(--pad); display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq { grid-template-columns: 1fr 1.3fr; gap: 64px; } }
.faq-list { display: grid; gap: 14px; }
.faq details { border-radius: var(--radius); background: var(--stone-50); }
.faq details[open] { background: #e6effb; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: var(--t-lead); }
.faq summary::-webkit-details-marker { display: none; }
.pm { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 16px; transition: transform .25s var(--ease); }
.faq summary:hover .pm { transform: scale(1.08); }
.faq details[open] .pm { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; max-width: 60ch; }

/* 12. footer on a photo, the name built large */
.foot { position: relative; color: #fff; background: #111; }
.foot-cta { padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(72px, 8vw, 120px); display: grid; gap: 24px; justify-items: start; }
.foot-cta .h2 { font-size: clamp(2rem, 5vw, 4.5rem); max-width: 24ch; }
.foot-cta p { max-width: 560px; font-size: var(--t-lead); }
.foot-main { display: grid; gap: 48px; padding-bottom: 56px; }
@media (min-width: 960px) { .foot-main { grid-template-columns: 1fr 1.4fr; } }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand p { color: #a3a3a3; max-width: 26ch; }
.foot-brand .wordmark { width: 104px; color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols a { color: #a3a3a3; text-decoration: none; transition: color .2s; }
.foot-cols a:hover { color: #fff; }
.foot-h { font-weight: 500; margin-bottom: 4px; }
.foot-mark { height: auto; }
.foot-mark::before { content: ""; display: block; width: 100%; aspect-ratio: 520 / 142; background: #fff; -webkit-mask: url("/assets/brand/policab-wordmark.svg?v=2") left center / contain no-repeat; mask: url("/assets/brand/policab-wordmark.svg?v=2") left center / contain no-repeat; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 32px; font-size: var(--t-small); }
.foot-base a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .marquee-track, .spin, .now .glyph, .hcard > img, .hcard--end > video, .who > img, .foot-bg, .duo-img > img, .dcard--img > img { animation: none; }
}

/* phone: the label stays beside its figure, read as one sentence ("…depuis 1977") */
@media (max-width: 699px) {
  .rows-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 20px; }
  .rows-list { gap: 20px; }
  .rows-list dd { font-size: 2rem; text-align: right; }
}

/* product fragments, Legora's grammar on Policab's tokens: a white window with a title bar,
   object chips, a numbered citation, step states. They keep their own border and shadow (data-ui). */
.win { position: relative; z-index: 1; width: min(440px, calc(100% - 40px)); border: 1px solid var(--stone-200); border-radius: 12px; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.45; text-align: left; box-shadow: 0 1px 2px rgb(20 22 28 / .06), 0 24px 48px -24px rgb(20 22 28 / .35); overflow: hidden; } /* taste-skill-ignore: data-ui */
.win svg { flex: none; }
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--stone-100); } /* taste-skill-ignore: data-ui */
.win-title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-title svg { color: var(--stone-600); }
.win-meta { flex: none; font-size: var(--t-small); color: var(--stone-600); }
.win-body { display: grid; gap: 14px; padding: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 8px; border: 1px solid var(--stone-200); border-radius: 6px; background: #fff; font-size: var(--t-small); font-weight: 500; white-space: nowrap; } /* taste-skill-ignore: data-ui */
.chip svg { color: var(--folder-back); }
.chip--doc { justify-self: start; background: var(--stone-50); }
.chip--doc b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 11px; }
.cite { margin-left: 2px; padding: 0 4px; border-radius: 4px; background: var(--stone-100); font-size: 11px; font-weight: 600; vertical-align: 2px; }

.win--chat { position: absolute; inset: 0; margin: auto; height: max-content; }
.q-user { justify-self: end; max-width: 85%; padding: 8px 12px; border-radius: 10px; background: var(--stone-100); }
.a-bot { display: grid; gap: 10px; }
.run { display: flex; align-items: center; gap: 10px; color: var(--stone-600); }
.spin { flex: none; width: 14px; height: 14px; border: 2px solid var(--stone-200); border-top-color: var(--folder-back); border-radius: 50%; animation: spin .9s linear infinite; } /* taste-skill-ignore: data-ui */
@keyframes spin { to { transform: rotate(360deg); } }
.win-ask { display: flex; align-items: center; gap: 12px; margin: 0 12px 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--stone-200); border-radius: 10px; color: var(--stone-600); } /* taste-skill-ignore: data-ui */
.win-ask span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-ask b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; transform: rotate(-90deg); }

.duo-img--live, .duo-img--list { display: grid; place-items: center; padding: 20px; }
.duo-img--live::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .2); }
.v-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--stone-100); }
.v-tabs button { flex: 1; min-height: 34px; border: 0; border-radius: 6px; background: transparent; font-size: var(--t-small); font-weight: 500; color: var(--stone-700); cursor: pointer; transition: background .2s, color .2s; }
.v-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.v-law { font: 400 var(--t-lead)/1.45 var(--serif); }
.v-law del, .v-law ins { text-decoration: none; transition: opacity .25s, background .25s; }
.versions[data-state="1"] .v-old { color: var(--stone-600); text-decoration: line-through; }
.versions[data-state="1"] .v-new { padding: 0 3px; border-radius: 4px; background: oklch(94% .08 95); }
.versions[data-state="0"] .v-new { display: none; }
.v-note { font-size: var(--t-small); color: var(--stone-700); }

.step-list { margin: 0; gap: 2px; padding: 8px; }
.step-list li { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 8px; border-radius: 8px; }
.step-list li.now { background: var(--stone-50); font-weight: 500; }
.step-list li.todo { color: var(--stone-600); }
.glyph { flex: none; position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--stone-200); } /* taste-skill-ignore: data-ui */
.done .glyph { border-color: var(--ink); background: var(--ink); }
.done .glyph::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); } /* taste-skill-ignore: data-ui */
.now .glyph { border-color: var(--stone-200); border-top-color: var(--folder-back); animation: spin .9s linear infinite; }

/* objections: the question in large serif, the answer under it */
.ranswer { margin-top: 20px; max-width: 52ch; font-size: var(--t-lead); line-height: 1.5; }
.rby b { font-weight: 500; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 500; text-decoration: none; }
.more svg { transition: transform .2s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.bcard p:not(.bmeta) { margin-top: 8px; max-width: 42ch; }

/* product pages: one hero with a large product window over a softened photograph */
.hero--page { padding-bottom: 0; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--stone-700); }
.crumb a { text-decoration: none; }
.crumb svg { font-size: 12px; }
.pshot { position: relative; max-width: var(--max); margin: clamp(48px, 6vw, 80px) auto 0; width: calc(100% - 2 * var(--gutter)); min-height: clamp(520px, 50vw, 720px); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; padding: 32px 16px; background: var(--stone-200); }
.pshot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pshot::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .18); }
.win--wide { width: min(680px, 100%); }
.win--table { width: min(820px, 100%); }
.blocks { display: flex; flex-wrap: wrap; gap: 6px; }
.blocks span { padding: 4px 10px; border-radius: 6px; background: var(--stone-100); font-size: var(--t-small); font-weight: 500; color: var(--stone-700); }
.blocks .on { background: var(--ink); color: #fff; }
.res { display: grid; gap: 2px; }
.res li { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 8px; }
.res li:hover { background: var(--stone-50); }
.res li > div { flex: 1; min-width: 0; display: grid; }
.res li b { font-weight: 500; }
.res li div span { font-size: var(--t-small); color: var(--stone-600); }
.ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--stone-100); color: var(--stone-700); }
.chip--sense { background: #e6effb; border-color: #cfe0f6; color: var(--folder-back); } /* taste-skill-ignore: data-ui */
.drop { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border: 1.5px dashed var(--stone-200); border-radius: 10px; color: var(--stone-600); font-size: var(--t-small); } /* taste-skill-ignore: data-ui */
.plan { display: grid; gap: 2px; }
.plan li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 8px; border-radius: 8px; }
.plan li > span:nth-child(2) { flex: 1; min-width: 0; }
.plan li.now { background: var(--stone-50); font-weight: 500; }
.plan button { flex: none; border: 1px solid var(--stone-200); border-radius: 6px; background: #fff; padding: 3px 8px; font-size: 12px; color: var(--stone-700); } /* taste-skill-ignore: data-ui */
.grid-t { display: grid; grid-template-columns: minmax(130px, .9fr) 1.2fr 1fr; font-size: var(--t-small); }
.grid-t > span { padding: 12px 14px; border-bottom: 1px solid var(--stone-100); border-right: 1px solid var(--stone-100); } /* taste-skill-ignore: data-ui */
.grid-t > span:nth-child(3n) { border-right: 0; }
.grid-t .th { background: var(--stone-50); font-weight: 500; color: var(--stone-700); }
.grid-t .src { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.grid-t .src svg { color: var(--stone-600); }
.cell { display: grid; gap: 6px; align-content: start; }
.cell i { display: block; height: 7px; border-radius: 4px; background: var(--stone-100); }
.cell i.s { width: 60%; }
.cell em { justify-self: start; font-style: normal; font-size: 12px; font-weight: 500; padding: 1px 7px; border-radius: 5px; }
.cell .ok { background: #e6f1eb; color: var(--jade); }
.cell .tbc { background: oklch(95% .06 85); color: oklch(45% .09 70); }
.dispo { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: var(--stone-50); }
.dispo-h { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.run--ok { color: var(--jade); }
.run--ok .glyph { border-color: var(--jade); background: var(--jade); }
.run--ok .glyph::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); } /* taste-skill-ignore: data-ui */
@media (max-width: 599px) { .grid-t { grid-template-columns: 1fr 1fr; } .grid-t > span:nth-child(3n+1) { grid-column: 1 / -1; border-right: 0; } .grid-t .th:first-child { display: none; } }
.blog-grid--4 { gap: 40px 16px; }
@media (min-width: 760px) { .blog-grid--4 { grid-template-columns: repeat(4, 1fr); } }
a.bcard { text-decoration: none; }
a.bcard:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.nav-links a[aria-current="page"] { color: var(--folder-back); }

.pshot .win--wide { width: min(860px, 100%); font-size: 15px; }
.pshot .win--table { width: min(960px, 100%); }
.win--redline .v-old { color: var(--stone-600); text-decoration: line-through; }
.win--redline .v-new { padding: 0 3px; border-radius: 4px; background: oklch(94% .08 95); text-decoration: none; }
.who li a { text-decoration: none; transition: opacity .2s; }
.who li a:hover { opacity: .75; }
.navc { display: grid; grid-template-columns: 1fr 1fr; }
.navc > div { padding: 14px 8px 10px; }
.navc > div + div { border-left: 1px solid var(--stone-100); } /* taste-skill-ignore: data-ui */
.navc-h { padding: 0 8px 6px; font-size: var(--t-small); font-weight: 500; color: var(--stone-700); }
@media (max-width: 599px) { .navc { grid-template-columns: 1fr; } .navc > div + div { border-left: 0; border-top: 1px solid var(--stone-100); } }
.cell .late { background: var(--stone-100); color: var(--ink); }
.blog-grid--5 { gap: 40px 16px; }
@media (min-width: 760px) { .blog-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .blog-grid--5 { grid-template-columns: repeat(5, 1fr); } }

/* footer: plain black, no photograph, no giant name */
.foot-cta { padding-bottom: clamp(64px, 7vw, 104px); }
.foot-cta p { color: #c7c7c7; }
.foot .btn--glass { background: #262626; color: #fff; }
.foot .btn--glass:hover { background: #333; }
.foot-main { padding-top: 56px; box-shadow: inset 0 1px 0 #262626; } /* taste-skill-ignore: one quiet divider on black */
.foot-base { color: #8a8a8a; }
.foot-base a:hover { color: #fff; }

/* Film de présentation, sous le texte d'ouverture (26/11) */
.film { position: relative; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); margin: clamp(40px, 5vw, 64px) auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #f1f0ee; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film-play { position: absolute; left: clamp(12px, 3vw, 32px); bottom: clamp(12px, 3vw, 32px); display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 500 17px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease); }
.film-play:hover { transform: scale(1.03); }
.film-tri { width: 0; height: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.film-dur { color: rgb(255 255 255 / .6); }
.film.is-playing .film-play { display: none; }
@media (max-width: 699px) { .film-play { padding: 10px 16px 10px 14px; font-size: 15px; gap: 9px; } .film-tri { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; } }
.rows .film { width: 100%; max-width: none; margin-top: clamp(48px, 6vw, 80px); }

/* Pour qui, sans photo (26/11) */
.who { position: static; min-height: 0; display: grid; gap: 24px; align-items: start; color: var(--ink); background: none; overflow: visible; width: 100%; max-width: var(--max); margin: 0 auto; padding: var(--pad) var(--gutter) 0; }
@media (min-width: 960px) { .who { grid-template-columns: 1fr 1fr; gap: 96px; } }
.who-list { border-top: 1px solid var(--stone-200); }
.who-list li { font: inherit; letter-spacing: normal; border-bottom: 1px solid var(--stone-200); }
.who-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 4px; font: 400 clamp(1.25rem, 2.4vw, 2rem)/1.2 var(--serif); letter-spacing: -.02em; color: inherit; text-decoration: none; transition: padding .3s var(--ease); }
.who-list svg { width: 22px; height: 22px; flex: none; fill: currentColor; opacity: .35; transition: opacity .3s, transform .3s var(--ease); }
.who-list a:hover { padding-left: 12px; } .who-list a:hover svg { opacity: 1; transform: translateX(4px); }
/* Illustrations produit (26/11) */
.features--illus .track { grid-auto-columns: auto; }
.features--illus .fcard, .features--illus .fcard:nth-child(3n+1) { width: min(86vw, 720px); }
.features--illus .fcard-img { height: auto; aspect-ratio: 5 / 3; }
.features--illus .fcard-img img { object-position: var(--pos, 50%) 50%; }
.duo-img--illus > img { object-position: 22% 50%; animation: none; }
@media (max-width: 699px) { .features--illus .fcard-img { aspect-ratio: 1; } .features--illus .cap { font-size: 15px; padding: 7px 12px; bottom: 12px; left: 12px; } .duo-img.duo-img--illus { min-height: 0; aspect-ratio: 1; } }

/* Le fil de travail en 4 étapes, illustrations simples (26/11) */
.steps-grid { margin-top: 48px; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
.step { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); background: var(--stone-50); overflow: hidden; }
.step-txt { padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0; display: grid; justify-items: start; gap: 10px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 15px/1 var(--sans); }
.step h3 { margin-top: 6px; font: 400 clamp(1.75rem, 2.6vw, 2.25rem)/1.1 var(--serif); letter-spacing: -.02em; }
.step p { max-width: 46ch; color: var(--stone-700); }
.step img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; align-self: end; margin-top: 8px; }
.duo-img.duo-img--illus { min-height: 0; aspect-ratio: 5 / 3; align-self: center; }
.duo-img--illus > img { object-position: 0% 50%; }
@media (max-width: 699px) { .duo-img.duo-img--illus { aspect-ratio: 1; } }

/* Pour qui : le rôle, puis ce qu'il retrouve (26/11, formes Politico Pro) */
.who-list .who-name { display: grid; gap: 6px; }
.who-list .who-name small { font: 400 16px/1.45 var(--sans); letter-spacing: 0; color: var(--stone-700); }


/* Sous-titre du hero : « à la loi. » ne se coupe pas (26/11) */
.hero .nw { white-space: nowrap; }
