@font-face {
  font-family: Caveat;
  src: url("./assets/caveat-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root:not([data-theme="dark"]) {
  --action: #243a53;
  --action-hover: #172b43;
  --quiet-heading: #52647b;
  --focus: #315c89;
  --inverse: #23354a;
  --inverse-surface: #2b4057;
  --inverse-line: #617286;
  --inverse-body: #dce2e8;
}
:root.contrast:not([data-theme="dark"]) { --quiet-heading: #37485d; }
.product-header .header-inner { gap: 25px; height: 72px; }
.product-header .header-actions { gap: 8px; }
.product-header .brand-mark, .site-footer .brand-mark, .brand-name .app-dot { color: var(--action); }
.product-header .brand-mark, .site-footer .brand-mark { width: 27px; height: 27px; }
.product-header .brand { gap: 9px; flex: 0 0 auto; }
.product-header .nav { gap: 27px; }
.product-header .nav a { font-size: .86rem; }
.product-header .header-actions .a11y-button { display: grid; width: 40px; height: 40px; }
.product-header .a11y-button[aria-expanded="true"] { background: var(--wash); }
.product-header .auth-link { margin-left: 5px; white-space: nowrap; }
.product-header .popover-menu { top: calc(100% - 1px); right: max(18px, calc((100vw - 1280px)/2)); width: min(310px, calc(100vw - 24px)); max-height: calc(100dvh - 87px); overflow-y: auto; }
@media (min-width: 790px) {
  .product-header .nav { display: flex; }
  .product-header .mobile-menu-btn, .product-header .mobile-nav { display: none; }
}
@media (max-width: 789px) {
  .product-header .nav { display: none; }
  .product-header .mobile-menu-btn { display: grid; }
  .product-header .header-inner { height: 61px; gap: 8px; }
  .product-header .header-actions { margin-left: auto; gap: 3px; }
  .product-header .mobile-nav:not([hidden]) { display: grid; }
}
.product-hero { padding: clamp(45px,6.1vw,98px) 0 clamp(50px,6vw,92px); border-bottom: 1px solid var(--line); }
.product-hero .hero-layout { grid-template-columns: 1fr 1fr; gap: clamp(30px,5.8vw,95px); }
.product-hero .hero-copy { min-width: 0; container-type: inline-size; }
.product-hero .eyebrow { color: var(--quiet-heading); margin-bottom: 17px; }
.product-hero h1 {
  max-width: min(100%, 18ch);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: clamp(2.1rem, 4.9vw, 4.8rem);
  font-size: clamp(2.1rem, calc(.45rem + 10cqi), 4.8rem);
  font-weight: 575;
  line-height: 1.035;
  letter-spacing: -.052em;
  text-wrap: balance;
}
html[lang=fr] .product-hero h1 {
  font-size: clamp(2rem, 4.6vw, 4.55rem);
  font-size: clamp(2rem, calc(.4rem + 9.4cqi), 4.55rem);
}
.product-hero h1 .hero-signoff {
  display: block;
  margin-top: .2em;
  color: var(--word-suffix, var(--action));
  font: 500 .72em/1.12 Caveat, "Segoe Print", cursive;
  letter-spacing: -.02em;
}
.product-hero .hero-description { margin-top: 22px; max-width: 44ch; font-size: 1rem; line-height: 1.65; }
.product-hero .hero-actions { margin-top: 26px; gap: 12px; }
.collective-cta.btn { gap: .26em; line-height: 1; color: var(--ink); }
.collective-script { display: inline-block; color: var(--action); font: 500 1.75em/.63 Caveat, "Segoe Print", cursive; letter-spacing: -.035em; }
.product-tour { position: relative; isolation: isolate; width: 100%; min-width: 0; padding: 17px 13px 20px 6px; }
.product-tour::before { content: ""; position: absolute; inset: 8% 0 3% 2.5%; z-index: -1; transform: rotate(3deg); background: var(--wash); border: 1px solid var(--line); border-radius: 18px; }
.tour-frame { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 15px; background: var(--surface); box-shadow: 0 19px 35px -17px var(--deep-shadow); }
.tour-chrome { height: 37px; display: flex; align-items: center; gap: 5px; padding: 0 15px; color: var(--muted); background: var(--subtle); border-bottom: 1px solid var(--line); }
.tour-chrome i { width: 6px; height: 6px; border-radius: 100%; background: var(--line-strong); }
.tour-chrome span { flex: 1; text-align: center; font-size: .66rem; letter-spacing: .035em; }
.tour-chrome .icon { width: 13px; height: 13px; }
.tour-slides { display: grid; grid-template-columns: minmax(0,1fr); }
.tour-slide { grid-area: 1 / 1; padding: clamp(18px,2vw,30px); display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 267px; }
.tour-slide[hidden] { display: none; }
.tour-title { display: flex; align-items: center; gap: 10px; min-height: 38px; }
.tour-title h2 { font-size: clamp(1.35rem,2.25vw,2.05rem); letter-spacing: -.052em; font-weight: 600; line-height: 1.12; }
.tour-title p { font-size: .74rem; color: var(--muted); margin: 3px 0 0; line-height: 1.35; }
.product-tour .mini-mark { display: grid; place-items: center; border-radius: 9px; width: 36px; height: 36px; flex: none; }
.tour-launch { margin-left: auto; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.tour-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.tour-tile { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 11px 9px; min-height: 68px; border: 1px solid var(--line); border-radius: 8px; background: var(--subtle); text-align: left; font-size: .77rem; line-height: 1.2; font-weight: 600; }
.tour-tile > .icon { width: 11px; height: 11px; color: var(--muted); }
.tour-tile:hover, .tour-launch:hover { border-color: var(--line-strong); background: var(--wash); }
.tour-checklist { display: grid; gap: 5px; }
.tour-checklist > div, .tour-flow > div { display: flex; align-items: center; gap: 9px; background: var(--subtle); border: 1px solid var(--line); border-radius: 6px; padding: 7px 11px; font-size: .8rem; }
.tour-checklist i { display: grid; place-items: center; height: 17px; width: 17px; border: 1px solid var(--line-strong); border-radius: 4px; }
.tour-checklist .done { color: var(--symbol); background: var(--tile); border-color: transparent; }
.tour-checklist .icon { width: 14px; height: 14px; }
.tour-progress { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: .65rem; color: var(--muted); }
.tour-progress > div { flex: 1; height: 4px; background: var(--wash); border-radius: 4px; overflow: hidden; }
.tour-progress span { display: block; width: 66.667%; height: 100%; background: var(--symbol); transform-origin: left; }
.tour-paper { border: 1px solid var(--line); border-top: 3px solid var(--symbol); background: var(--surface); box-shadow: 3px 4px 0 var(--subtle); padding: 12px 17px; margin: 0 6px 3px 3px; }
.tour-paper strong { display: block; font-size: .94rem; margin-bottom: 9px; }
.tour-paper > div { display: flex; align-items: baseline; gap: 11px; font-size: .77rem; margin: 5px 0; }
.tour-paper b { color: var(--symbol); }
.tour-flow { position: relative; display: grid; gap: 9px; }
.tour-flow::before { content: ""; position: absolute; left: 23px; height: 100%; border-left: 1px solid var(--symbol); z-index: 0; }
.tour-flow > div { position: relative; padding: 6px 12px; }
.tour-flow b, .flow-step > b { width: 21px; height: 21px; flex: none; display: grid; place-items: center; font-size: .69rem; background: var(--tile); color: var(--symbol); border-radius: 50%; }
.tour-flow span { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; width: 100%; }
.tour-flow small { color: var(--muted); font-size: .7rem; }
.tour-controls { display: flex; align-items: center; justify-content: space-between; padding: 3px 13px; border-top: 1px solid var(--line); background: var(--subtle); }
.tour-position, .tour-transport { display: flex; align-items: center; }
.tour-transport button, .tour-pip { display: grid; place-items: center; width: 31px; height: 32px; border-radius: 5px; color: var(--action); }
.tour-transport button:hover,.tour-pip:hover { background: var(--wash); }
.tour-pip { width: 21px; }
.tour-pip span { width: 6px; height: 6px; border: 1px solid var(--muted); border-radius: 8px; }
.tour-pip[aria-pressed=true] span { width: 14px; background: var(--action); border-color: var(--action); }
@keyframes preview-enter { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes progress-enter { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.reduce-motion) .tour-slide:not([hidden]) .tour-content { animation: preview-enter .38s ease-out both; }
  html:not(.reduce-motion) .tour-slide:not([hidden]) .tour-progress span { animation: progress-enter .65s ease-out both; }
}
.catalogue-section { padding: clamp(45px,5vw,78px) 0; background: var(--surface); }
.catalogue-section .section-head { margin-bottom: 24px; }
.catalogue-section .section-head h2,.product-pricing h2 { font-size: clamp(2.1rem,3.3vw,3.45rem); letter-spacing: -.055em; line-height: 1.1; }
.catalogue-section .section-head p { margin: 9px 0 0; font-size: .92rem; }
.catalogue-section .app-grid { gap: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.catalogue-item { position: relative; min-width: 0; }
.product-card { display: grid; text-align: left; grid-template: "mark arrow" auto "copy copy" auto / 1fr auto; align-content: start; gap: 15px; width: 100%; height: 100%; padding: clamp(15px,1.6vw,23px); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 13px; transition: background .18s,border-color .18s, transform .18s; }
.product-card:hover { background: var(--subtle); border-color: var(--line-strong); transform: translateY(-2px); }
.product-card .catalogue-mark { grid-area: mark; width: 47px; height: 47px; border-radius: 12px; }
.product-card .card-open { grid-area: arrow; width: 16px; height: 16px; color: var(--quiet-heading); }
.card-copy { grid-area: copy; display: grid; gap: 5px; }
.card-copy strong { font-size: 1.08rem; letter-spacing: -.035em; line-height: 1.18; }
.card-copy > span { font-size: .82rem; line-height: 1.5; color: var(--body); }
.private-bookmark { position: absolute; right: 9px; top: 9px; background: var(--paper); }
.private-bookmark[aria-pressed=true] svg { fill: currentColor; }
.is-workspace .product-card .card-open { visibility: hidden; }
.product-pricing { border-block: 1px solid var(--line); background: var(--subtle); padding: 35px 0; }
.product-pricing .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.product-pricing h2 { font-size: clamp(1.5rem,2.1vw,2rem); }
.product-pricing p { margin: 6px 0 0; }
.collective-page-hero { padding: clamp(45px,7vw,100px) 0; border-bottom: 1px solid var(--line); }
.collective-page-hero h1 { margin: 27px 0 22px; letter-spacing: -.055em; line-height: 1.18; font-size: clamp(2.7rem,5.3vw,6rem); }
.collective-page-hero h1 .collective-script { font-size: 1.23em; }
.collective-page-hero p { margin: 0; max-width: 62ch; font-size: 1.06rem; }
.collective-sections { display: flex; gap: 12px 23px; flex-wrap: wrap; margin-top: 24px; }
.collective-sections a { display: inline-flex; align-items: center; gap: 5px; color: var(--action); border-bottom: 1px solid var(--line-strong); }
.tool-dialog { height: min(536px,calc(100dvh - 30px)); width: min(720px,calc(100vw - 30px)); max-height: calc(100dvh - 30px); padding: 0; overflow: hidden; }
.tool-dialog #modal-content,.tool-dialog .modal-inner { height: 100%; min-height: 0; padding: 0; }
.tool-dialog .modal-close { z-index: 2; top: 13px; right: 13px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); background: var(--subtle); border: 1px solid var(--line); }
.tool-viewer { display: grid; grid-template-rows: auto minmax(0,1fr) auto; height: 100%; }
.tool-heading { display: flex; align-items: center; gap: 14px; padding: 23px 64px 19px 25px; border-bottom: 1px solid var(--line); }
.tool-heading .tool-mark { width: 53px; height: 53px; flex: none; margin: 0; }
.tool-heading h2 { font-size: clamp(1.55rem,3vw,2.1rem); line-height: 1.15; margin: 0; letter-spacing: -.05em; }
.tool-heading p { margin: 5px 0 0; font-size: .86rem; line-height: 1.4; color: var(--body); }
.tool-body { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 20px 24px 14px; }
.tool-window { border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); overflow: hidden; }
.tool-viewer[data-mode=preview] .tool-window { cursor: pointer; }
.tool-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 8px 12px; background: var(--subtle); border-bottom: 1px solid var(--line); font-size: .71rem; color: var(--muted); }
.viewer-state { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.viewer-state::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--muted); border-radius: 50%; }
.tool-viewer[data-mode=live] .viewer-state::before { background: var(--symbol); border-color: var(--symbol); }
.tool-footnotes { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; margin-top: 11px; gap: 5px 15px; font-size: .71rem; color: var(--muted); }
.walkthrough-note { display: inline-flex; align-items: center; gap: 6px; }
.tool-footnotes video { display: block; width: 100%; max-height: 220px; }
.tool-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); padding: 12px 24px; background: var(--surface); }
.tool-actions .btn { min-height: 43px; margin: 0; width: 100%; padding: 8px 12px; }
.tool-canvas { background: var(--subtle); }
.demo-layout { display: grid; grid-template-columns: minmax(135px,.85fr) minmax(0,1.2fr); gap: 13px; padding: 14px; align-items: start; }
.demo-inputs { display: grid; gap: 10px; align-content: start; min-width: 0; }
.demo-field { display: grid; gap: 4px; min-width: 0; color: var(--body); font-size: .74rem; font-weight: 600; }
.demo-field :is(input,select,textarea) { max-width: 100%; min-width: 0; width: 100%; margin: 0; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); line-height: 1.42; font: inherit; font-weight: 400; }
.demo-field textarea { resize: vertical; min-height: 74px; max-height: 170px; }
.demo-sheet { min-width: 0; min-height: 148px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.demo-sheet h4 { font-size: 1.06rem; line-height: 1.2; letter-spacing: -.035em; margin: 7px 0 11px; }
.demo-overline { font-size: .66rem; font-weight: 600; color: var(--symbol); }
.demo-sheet p { font-size: .73rem; line-height: 1.45; color: var(--muted); margin: 8px 0 0; overflow-wrap: anywhere; }
.demo-op-row { display: flex; flex-wrap: wrap; gap: 5px; }
.demo-op { width: fit-content; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 5px; padding: 6px 9px; background: var(--surface); color: var(--action); font-size: .73rem; font-weight: 600; }
.demo-op:hover,.demo-list button:hover { background: var(--wash); }
.demo-op:disabled { opacity: .53; cursor: default; }
.demo-checks { display: grid; gap: 6px; }
.demo-checks label { position: relative; display: flex; align-items: flex-start; gap: 7px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; font-size: .73rem; line-height: 1.4; cursor: pointer; }
.demo-checks input { width: 1px; height: 1px; opacity: 0; position: absolute; }
.check-symbol { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 4px; }
.check-symbol svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 2; visibility: hidden; }
.demo-checks input:checked + .check-symbol { background: var(--tile); color: var(--symbol); border-color: var(--symbol); }
.demo-checks input:checked + .check-symbol svg { visibility: visible; }
.demo-checks input:focus-visible + .check-symbol { outline: 2px solid var(--focus); outline-offset: 2px; }
.demo-list { display: grid; margin-top: 7px; }
.demo-list button,.metric-line,.playbook-owner { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; padding: 6px 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--ink); font-size: .75rem; }
.demo-list button:last-child { border: 0; }
.demo-numbered,.demo-bullets,.agenda-list { padding-left: 18px; font-size: .76rem; line-height: 1.5; color: var(--body); margin: 8px 0; }
.demo-bullets li,.demo-numbered li { margin-bottom: 3px; }
.paper-rule { height: 2px; width: 30px; background: var(--symbol); }
.handout-paper { border-top: 3px solid var(--symbol); }
.paper-note { white-space: pre-wrap; }
.demo-big { font-size: 2.45rem; letter-spacing: -.055em; line-height: 1.15; margin: 14px 0 9px; font-weight: 600; color: var(--ink); }
.demo-big small { font-size: .79rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.demo-segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.demo-segments i { height: 5px; border-radius: 3px; background: var(--wash); }
.demo-segments .filled { background: var(--symbol); }
.flow-steps { display: grid; gap: 5px; margin-top: 9px; }
.flow-step { display: flex; align-items: center; gap: 8px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; }
.flow-step.is-current { border-color: var(--symbol); }
.flow-step span, .audit-rows span { display: grid; }
.flow-step strong,.audit-rows b { font-size: .75rem; }
.flow-step small,.audit-rows small { font-size: .66rem; line-height: 1.4; color: var(--muted); }
.playbook-owner { align-items: center; justify-content: flex-start; border: 0; padding: 0 0 8px; }
.playbook-owner b { margin-left: auto; }
.role-dot { width: 7px; height: 7px; background: var(--symbol); border-radius: 50%; }
.agenda-list li { padding: 4px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.agenda-list button { margin-left: 6px; color: var(--muted); border: 1px solid var(--line); width: 24px; border-radius: 4px; }
.audit-rows { display: grid; margin-top: 7px; }
.audit-rows > div { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.audit-dot { display: grid; place-items: center; width: 20px; height: 20px; font-size: .85rem; font-style: normal; border: 1px solid var(--line-strong); border-radius: 50%; }
.audit-dot.pass { background: var(--tile); color: var(--symbol); border-color: var(--symbol); }
@media (max-width: 1050px) {
  .catalogue-section .app-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tour-tile { grid-template-columns: auto 1fr; }
  .tour-tile > .icon { display: none; }
}
@media (max-width: 760px) {
  .product-hero .hero-layout { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .product-hero { padding-block: 38px 42px; }
  .product-hero .hero-copy { max-width: 100%; }
  .product-tour { max-width: 570px; padding: 6px 10px 12px 0; }
  .tour-slide { min-height: 245px; }
  .tour-tile { grid-template-columns: auto 1fr auto; }
  .tour-tile > .icon { display: block; }
  .product-pricing .wrap { align-items: start; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .product-header .header-inner { width: calc(100% - 24px); }
  .product-header .brand { gap: 5px; }
  .product-header .brand-mark { width: 21px; height: 21px; }
  .product-header .brand-name { font-size: 1.1rem; }
  .product-header .brand-name .app-dot { font-size: .72rem; }
  .product-header .header-actions { gap: 2px; }
  .product-header .header-actions .icon-btn { width: 31px; min-width: 0; min-height: 38px; padding: 5px; }
  .product-header .auth-link { font-size: .73rem; min-height: 35px; padding: 6px 9px; margin: 0; }
  .product-hero .hero-actions { gap: 8px; }
  .product-hero .hero-actions .btn { font-size: .8rem; padding: 10px 12px; }
  .product-hero .hero-description { font-size: .92rem; }
  .tour-slide { padding: 15px; min-height: 232px; gap: 11px; }
  .tour-tile { grid-template-columns: auto 1fr; gap: 6px; padding: 8px; font-size: .73rem; }
  .tour-tile > .icon { display: none; }
  .product-tour .mini-mark { height: 29px; width: 29px; border-radius: 6px; }
  .catalogue-section .app-grid { grid-template-columns: 1fr; gap: 8px; }
  .product-card { grid-template: "mark copy arrow" 1fr / auto 1fr auto; align-items: center; gap: 12px; padding: 14px; }
  .product-card .catalogue-mark { width: 43px; height: 43px; border-radius: 10px; }
  .card-copy strong { font-size: 1rem; }
  .card-copy > span { font-size: .78rem; }
  .private-bookmark { top: calc(50% - 17px); }
  .tool-dialog { width: min(480px,calc(100vw - 16px)); height: min(635px,calc(100dvh - 16px)); max-height: calc(100dvh - 16px); }
  .tool-heading { padding: 16px 48px 15px 14px; gap: 10px; }
  .tool-heading .tool-mark { width: 39px; height: 39px; border-radius: 9px; }
  .tool-heading h2 { font-size: 1.42rem; }
  .tool-heading p { font-size: .76rem; }
  .tool-dialog .modal-close { top: 7px; right: 7px; }
  .tool-body { padding: 12px; }
  .tool-actions { padding: 9px 12px; gap: 7px; }
  .tool-actions .btn { font-size: .8rem; gap: 7px; min-height: 43px; }
  .demo-layout { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .demo-inputs { gap: 7px; }
  .demo-sheet { min-height: 100px; }
  .tool-footnotes { font-size: .66rem; }
}
@media (max-width: 355px) {
  .product-header .header-inner { width: calc(100% - 14px); gap: 3px; }
  .product-header .brand-name { font-size: 1rem; }
  .product-header .header-actions .icon-btn { width: 27px; }
  .tour-tile { padding: 7px 5px; }
  .product-hero .hero-actions .btn { padding-inline: 10px; font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) { .product-card { transition: none; } .product-card:hover { transform: none; } }
.reduce-motion .product-card:hover { transform: none; }
@media print { .product-tour, .tool-actions { display: none; } }

@media (max-width: 520px) {
  html[lang] .product-header .header-inner { gap: 3px; }
  .is-workspace .product-header .toolkit-btn { display: none; }
}
@media (max-width: 355px) {
  .product-header .language { width: 35px; min-width: 0; }
  .product-header .auth-link { padding-inline: 6px; }
  .product-header .brand-mark { width: 18px; height: 18px; }
  html.enlarged-text .product-header .brand-mark { display: none; }
}
