/* Produit · brand "The last square" · v1.0 */
:root {
  --ink: #0E1325; --paper: #F8F7F4; --card: #F0EFEA; --white: #FFFFFF;
  --lime: #EEFB8A; --lilac: #DEDBFF; --mint: #CDF5BC; --sky: #C9E6FA;
  --muted: #55596A; --muted-on-ink: #DADCE3; --line: #E1DFD8; --line-on-ink: rgba(255,255,255,.16);
  --r-card: 22px; --r-section: 32px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Geist, system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section { padding-top: clamp(72px, 9vw, 128px); }
.stack { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.center { align-items: center; text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sec-head .stack { max-width: 780px; }
.h1 { font-size: clamp(44px, 5.6vw, 80px); letter-spacing: -0.045em; line-height: 1.02; }
.h2 { font-size: clamp(34px, 4vw, 56px); }
.h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.025em; line-height: 1.15; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.label { display: inline-block; background: var(--lilac); color: var(--ink); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 6px; line-height: 1.4; }
.label--mint { background: var(--mint); } .label--sky { background: var(--sky); } .label--lime { background: var(--lime); } .label--white { background: var(--white); } .label--card { background: var(--card); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--lime); color: var(--ink); font: inherit; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: #E2F06A; }
.btn .arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.btn:hover .arrow { transform: rotate(45deg); }
.btn--dark { background: var(--ink); color: #fff; } .btn--dark:hover { background: #1C2440; } .btn--dark .arrow { background: var(--lime); color: var(--ink); }
.btn--white { background: #fff; } .btn--white:hover { background: var(--card); }
.btn--plain { padding: 13px 22px; min-height: 48px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1.5px solid currentColor; padding: 12px 0 2px; }
.tlink svg { transition: transform .2s; } .tlink:hover svg { transform: translate(2px, -2px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,247,244,.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 27px; letter-spacing: -0.05em; }
.mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 22px; height: 22px; flex-shrink: 0; }
.mark i { background: currentColor; border-radius: 2px; }
.mark i:last-child { background: transparent; border: 1.5px solid currentColor; }
.nav { display: flex; gap: 32px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); } .nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 58px; background: #fff; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; min-width: 220px; box-shadow: 0 24px 48px rgba(14,19,37,.16); }
.menu nav a { padding: 12px 14px; text-decoration: none; border-radius: 10px; } .menu nav a:hover { background: var(--card); }
@media (max-width: 900px) { .nav, .header-cta { display: none; } .menu { display: block; } }

/* Hero split (Header C) */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; padding-top: 16px; min-height: 640px; }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 24px 0; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.num { font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.hero__stats .num { font-size: 36px; }
.panel { position: relative; overflow: hidden; border-radius: 28px; background: var(--lime); min-height: 620px; }
.panel__bars { position: absolute; left: 24px; right: 24px; bottom: 0; display: flex; align-items: flex-end; gap: 5px; opacity: .5; }
.float { position: absolute; }
.logos { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 32px 0 0; }
.logos__list { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); font-size: 20px; font-weight: 600; opacity: .55; }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; } .panel { min-height: 460px; } .panel .float-scale { transform: scale(.72); transform-origin: top left; } }

/* Page hero (inner pages) */
.page-hero { padding-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; } }

/* Grids & cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: #fff; border-radius: var(--r-card); padding: clamp(24px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.card--ink { background: var(--ink); color: #fff; } .card--ink .muted { color: var(--muted-on-ink); }
.card--lime { background: var(--lime); } .card--mint { background: var(--mint); } .card--sky { background: var(--sky); } .card--lilac { background: var(--lilac); } .card--grey { background: var(--card); }
.card .foot { margin-top: auto; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat { min-height: 220px; justify-content: space-between; }
.stat .num { font-size: clamp(56px, 6vw, 84px); }

/* Path tabs */
.tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; margin-bottom: 24px; }
.tab { text-align: left; font: inherit; color: var(--ink); cursor: pointer; background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: border-color .2s, background .2s; }
.tab span.t { display: flex; flex-direction: column; gap: 6px; }
.tab strong { font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; line-height: 1.15; }
.tab .arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tab[aria-selected="true"] { border-color: var(--ink); }
#tab-brand[aria-selected="true"] { background: var(--lime); } #tab-agency[aria-selected="true"] { background: var(--lilac); }
.tabpanel { display: flex; flex-direction: column; gap: 16px; }
.tabpanel[hidden] { display: none; }

/* Pricing */
.price { gap: 18px; }
.price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.price li { display: flex; gap: 10px; align-items: center; }
.price .num { font-size: 64px; }
.bullet { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; width: 12px; height: 12px; flex-shrink: 0; }
.bullet i { background: currentColor; border-radius: 1px; } .bullet i:last-child { background: transparent; border: 1px solid currentColor; }

/* Lime band / process */
.band { background: var(--lime); border-radius: var(--r-section); padding: clamp(40px, 6vw, 80px) 0; }
.bars { display: flex; align-items: flex-end; gap: 6px; overflow: hidden; }
.steps { list-style: none; margin: 0; padding: 24px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1.5px solid var(--ink); }
.steps li { display: flex; flex-direction: column; gap: 8px; }

/* Work tiles */
.tile { text-decoration: none; color: var(--ink); border-radius: var(--r-card); position: relative; overflow: hidden; min-height: 400px; display: block; }
.tile__art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tile__meta { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; font-weight: 500; }
.tile:hover .tile__art > div { transform: translateY(-6px); }
.tile__art > div { transition: transform .3s; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; font-weight: 500; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.case { display: flex; flex-wrap: wrap; background: #fff; border-radius: 24px; overflow: hidden; }
.case__text { flex: 1 1 380px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.case__art { flex: 1 1 460px; min-height: 440px; position: relative; overflow: hidden; }

/* Testimonials */
figure { margin: 0; }
blockquote { margin: 0; font-size: 22px; line-height: 1.4; letter-spacing: -0.01em; }
.stars { display: flex; gap: 2px; }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); border-radius: 24px; overflow: hidden; }
.compare > div { padding: clamp(24px, 3vw, 40px); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(14,19,37,.14); font-weight: 500; }
.compare .them li { color: var(--muted); font-weight: 400; border-color: var(--line); }
.tick, .cross { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tick { background: var(--lime); } .cross { background: var(--card); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 40px; max-width: 1080px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 20px; color: var(--muted); font-size: 15px; max-width: 480px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 52px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
legend { font-size: 14px; font-weight: 500; margin-bottom: 10px; padding: 0; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 500; }
.opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } @media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--muted); }
.form-ok { display: none; background: var(--mint); border-radius: 14px; padding: 16px 18px; font-weight: 500; }

/* Team */
.avatar { width: 64px; height: 64px; border-radius: 16px; background: var(--card); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 20px; }

/* Timeline (approach) */
.phase { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.phase ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.phase li { display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) { .phase { grid-template-columns: 1fr; gap: 16px; } }

/* Footer */
.cta-foot { margin-top: clamp(72px, 9vw, 128px); background: var(--ink); color: #fff; border-radius: var(--r-section) var(--r-section) 0 0; }
.cta-foot .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 64px; }
.cta-foot .lead { color: var(--muted-on-ink); }
.foot-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line-on-ink); padding-top: 40px; }
.foot-cols nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-cols nav a { color: #fff; text-decoration: none; } .foot-cols nav a:hover { text-decoration: underline; }
.foot-cols .h { color: #B9BCC8; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #B9BCC8; }
.bigmark { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(240px, 60vw); aspect-ratio: 1; color: var(--lime); }
.bigmark i { background: currentColor; border-radius: 14px; } .bigmark i:last-child { background: transparent; border: 6px solid currentColor; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.field input, .field textarea { width: 100%; min-width: 0; }
.two > *, .grid > * { min-width: 0; }
.card > .label { align-self: flex-start; }
[hidden] { display: none !important; }

/* Services dropdown */
.nav { align-items: center; }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.dd summary::-webkit-details-marker { display: none; }
.dd summary:hover, .dd[open] summary, .dd summary.is-current { color: var(--ink); }
.dd[open] summary svg { transform: rotate(180deg); }
.dd__panel { position: absolute; top: 40px; left: -28px; width: min(820px, 90vw); background: #fff; border-radius: 22px; padding: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; box-shadow: 0 30px 60px rgba(14,19,37,.16); }
.dd__group { display: flex; flex-direction: column; gap: 4px; }
.dd__h { font-size: 12px; font-weight: 500; background: var(--lilac); border-radius: 6px; padding: 3px 8px; align-self: flex-start; margin-bottom: 6px; color: var(--ink); }
.dd__group a { color: var(--ink); padding: 8px 0; font-size: 15px; }
.dd__group a:hover { text-decoration: underline; }
.dd__all { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; font-weight: 500; padding-top: 16px; border-top: 1px solid var(--line); }
.menu nav { max-height: 75vh; overflow-y: auto; }
.menu__h { font-size: 12px; color: var(--muted); padding: 12px 14px 4px; }
.menu__sub { padding-left: 22px !important; font-size: 15px; }

/* Breadcrumb + service hero */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.svc-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: clamp(24px, 4vw, 48px); }
.svc-hero .hero__text { gap: 24px; }
.svc-hero .panel { min-height: 520px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1000px) { .svc-hero { grid-template-columns: 1fr; } .svc-hero .panel { min-height: 420px; } .svc-hero .panel > .art { transform: scale(.8); } }
.art { position: relative; z-index: 2; }
.inc li { display: flex; gap: 10px; align-items: flex-start; }
.related a { text-decoration: none; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 28px; margin-top: 24px; }
.prose p, .prose li { color: var(--muted); }
@media (max-width: 800px) { .svc-group { grid-template-columns: 1fr !important; } }

/* Related cards: titles always on one line */
.related .row { flex-wrap: nowrap; gap: 12px; }
.related .h3 { font-size: clamp(19px, 1.7vw, 23px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.related svg { flex-shrink: 0; }
.grid:has(> .related) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }

/* MVP site additions */
.dd__panel--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(680px, 90vw); }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; font-size: 15px; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { font-weight: 500; font-size: 15px; color: var(--muted); }
.cmp tbody th { font-weight: 500; }
.cmp .cmp__us { background: var(--lime); font-weight: 500; color: var(--ink); }
.cmp thead .cmp__us { font-size: 22px; letter-spacing: -0.04em; }
.cmp td.cmp__us { display: table-cell; }
.cmp td.cmp__us .tick { display: inline-flex; vertical-align: middle; margin-right: 10px; background: var(--ink); }
.cmp td.cmp__us .tick svg { stroke: var(--lime); }
.cmp td:not(.cmp__us) { color: var(--muted); }
#estimator .opt input[type="checkbox"] + span::before { content: "+ "; }

/* Quote wizard */
.wz-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wz-seg { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); padding-top: 12px; border-top: 3px solid var(--line); }
.wz-seg span { width: 22px; height: 22px; border-radius: 6px; background: var(--card); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.wz-seg.is-on { color: var(--ink); border-color: var(--ink); }
.wz-seg.is-on span { background: var(--lime); }
.wz-seg.is-done span { background: var(--ink); color: var(--lime); }
.wstep { display: flex; flex-direction: column; gap: 24px; }
.wstep h2:focus { outline: none; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.choices--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__in { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .15s, background .15s; }
.choice__in .icon { width: 40px; height: 40px; margin-bottom: 4px; }
.choice__in strong { font-weight: 500; font-size: 16px; }
.choice__in small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.choice input:checked + .choice__in { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + .choice__in { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice:hover .choice__in { border-color: #B9BCC8; }
.wz-summary .sum { margin: 0; display: flex; flex-direction: column; }
.wz-summary .sum div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(14,19,37,.14); font-size: 14px; }
.wz-summary dt { opacity: .7; } .wz-summary dd { margin: 0; font-weight: 500; text-align: right; }
.wz-error { color: #B42318; font-size: 14px; font-weight: 500; }
.choices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.wizard { scroll-margin-top: 100px; }
@media (max-width: 480px) { .choice__in { padding: 12px; } .choice__in small { display: none; } .wz-seg { font-size: 12px; } }

/* ---- Live MVP illustration (contact page + quote popup) ---- */
.qa { background: var(--ink); color: var(--white); border-radius: var(--r-card); padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.qa__top { display: flex; align-items: center; gap: 18px; }
.qa__mark { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 64px; flex: none; }
.qa__mark i { aspect-ratio: 1; border-radius: 5px; border: 1.5px solid var(--line-on-ink); transition: background .4s, border-color .4s, transform .4s; }
.qa__mark i.is-on { background: var(--white); border-color: var(--white); transform: scale(1.04); }
.qa__mark i:nth-child(4) { border: 1.5px dashed var(--lime); }
.qa.is-sent .qa__mark i:nth-child(4) { background: var(--lime); border-style: solid; animation: qa-pop .6s ease; }
.qa__pct { font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.qa__cap { font-size: 14px; color: var(--muted-on-ink); margin-top: 4px; }
.qa__stage { position: relative; padding-right: 48px; }
.qa__browser { background: var(--paper); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.qa__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--card); font-size: 11px; color: var(--muted); }
.qa__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.qa__bar span { margin-left: 8px; background: var(--white); border-radius: 6px; padding: 2px 10px; }
.qa__body { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-height: 190px; }
.qa__head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.qa__logo { width: 16px; height: 16px; border-radius: 4px; background: var(--ink); box-shadow: 4px 4px 0 -1px var(--lime); }
.qa__head em { margin-left: auto; font-style: normal; font-size: 11px; background: var(--lilac); padding: 2px 8px; border-radius: 99px; }
.qa__hero { background: var(--white); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.qa__line { height: 7px; border-radius: 4px; background: var(--line); }
.qa__cta { width: 64px; height: 16px; border-radius: 99px; background: var(--lime); margin-top: 4px; }
.qa__mods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.qa__mod { font-size: 11.5px; padding: 8px 10px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); animation: qa-in .35s ease both; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa__mod:nth-child(4n+1) { background: var(--mint); border-color: transparent; }
.qa__mod:nth-child(4n+2) { background: var(--sky); border-color: transparent; }
.qa__mod:nth-child(4n+3) { background: var(--lilac); border-color: transparent; }
.qa__mod--ghost { grid-column: 1 / -1; background: transparent !important; border: 1px dashed var(--line) !important; color: var(--muted); text-align: center; animation: none; }
.qa__phone { position: absolute; right: 0; bottom: -14px; width: 76px; background: var(--ink); border: 3px solid var(--white); border-radius: 16px; padding: 14px 7px; opacity: 0; transform: translateY(20px) rotate(4deg); transition: .45s; }
.qa.has-phone .qa__phone { opacity: 1; transform: translateY(0) rotate(4deg); }
.qa__phone-in { background: var(--paper); border-radius: 8px; padding: 8px 6px; display: flex; flex-direction: column; gap: 5px; }
.qa__pbox { height: 18px; border-radius: 5px; background: var(--lime); } .qa__pbox + .qa__pbox { background: var(--sky); }
.qa__check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; color: var(--muted-on-ink); }
.qa__check li { display: flex; align-items: center; gap: 8px; transition: color .3s; }
.qa__check li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-on-ink); flex: none; transition: .3s; }
.qa__check li.is-done { color: var(--white); }
.qa__check li.is-done::before { background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1325' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; border-color: var(--lime); }
.qa__tl { display: flex; gap: 6px; font-size: 12px; }
.qa__tl span { flex: 1; border: 1px solid var(--line-on-ink); border-radius: 10px; padding: 7px 10px; color: var(--muted-on-ink); }
.qa__tl b { display: block; color: var(--white); font-weight: 500; font-size: 14px; }
.qa.is-sent .qa__tl span:first-child { background: var(--lime); border-color: var(--lime); color: var(--ink); } .qa.is-sent .qa__tl span:first-child b { color: var(--ink); }
@keyframes qa-in { from { opacity: 0; transform: translateY(6px) scale(.96); } }
@keyframes qa-pop { 50% { transform: scale(1.25); } }

/* ---- Quote popup ---- */
.qm { width: min(1120px, calc(100% - 32px)); max-height: min(860px, calc(100dvh - 32px)); padding: 0; border: 0; border-radius: var(--r-section); background: var(--paper); color: var(--ink); overflow: hidden; }
.qm::backdrop { background: rgba(14,19,37,.55); backdrop-filter: blur(4px); }
.qm[open] { animation: qm-in .3s ease; }
.qm__grid { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; height: min(860px, calc(100dvh - 32px)); }
.qm .qa { border-radius: 0; justify-content: space-between; }
.qm__main { overflow-y: auto; padding: clamp(20px, 3vw, 40px); overscroll-behavior: contain; }
.qm__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 24px; }
.qm__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: none; }
.qm__close:hover { background: var(--ink); color: var(--white); }
@keyframes qm-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 820px) {
  .qm { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .qm__grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 100dvh; }
  .qm .qa { padding: 14px 16px; gap: 10px; }
  .qm .qa__stage, .qm .qa__check, .qm .qa__tl { display: none; }
  .qm .qa__mark { width: 36px; gap: 3px; } .qm .qa__mark i { border-radius: 3px; }
  .qm .qa__pct { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .qa *, .qm { animation: none !important; transition: none !important; } }
/* popup: keep step buttons visible on short screens */
.qm__main { padding-bottom: 0; }
.qm .wnav { position: sticky; bottom: 0; z-index: 2; background: var(--paper); padding: 16px 0 clamp(20px, 3vw, 32px); margin-top: 8px; box-shadow: 0 -12px 16px -8px var(--paper); }
.qm .form-ok { margin-bottom: 32px; }
/* strategy loop */
.loop { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 16px; }
.loop__s { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--white); }
.loop__s span { color: var(--muted); }
.loop__s.is-us { background: var(--ink); color: var(--white); border-color: var(--ink); } .loop__s.is-us span { color: var(--muted-on-ink); }
.loop__s--r { background: var(--lime); border-color: var(--lime); }
@media (max-width: 900px) { .loop { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .loop { grid-template-columns: repeat(2, 1fr); } }
.proc { display: flex; flex-direction: column; margin-top: 32px; border-top: 1px solid var(--line); }
.proc__row { display: grid; grid-template-columns: 64px minmax(220px, 1fr) minmax(260px, 1.3fr); gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.proc__n { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-weight: 500; }
.proc__docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.proc__docs li { display: flex; gap: 10px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
@media (max-width: 760px) { .proc__row { grid-template-columns: 48px 1fr; } .proc__docs { grid-column: 1 / -1; } }
.disco { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; margin-top: 16px; }
.disco > .stack { flex: 1 1 420px; }
@media (max-width: 640px) { .disco > .stack { flex-basis: 100%; } }
/* work */
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.wcard { color: inherit; transition: transform .2s; } .wcard:hover { transform: translateY(-3px); }
.wcard[hidden] { display: none !important; }
.wcard__art { height: 200px; margin: -8px -8px 4px; border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mini-steps { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mini-steps li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.mini-steps span { font-size: 12px; font-weight: 500; background: var(--ink); color: var(--white); border-radius: 99px; padding: 3px 10px; min-width: 72px; text-align: center; }
