/* The Agentic Lab® — site.css v1 (2026-09-07, CC2). Tokens: 02_architecture/design-system-v0.md. Bright like Apple. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --white: #FFFFFF; --ground-2: #F5F7FA; --hair: #E3E8EF;
  --ink-3: #5F6E85; --ink-2: #3C4A63; --ink: #0C1E3E;
  --blue: #024B8F; --blue-dark: #06386C; --blue-tint: #EAF1F9;
  --crimson: #9A013B; --crimson-dark: #76012A; --crimson-tint: #FBEDF2;
  --gold: #E8B102; --gold-dark: #B78803; --gold-tint: #FFF7DB;
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-geist: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font: var(--font-system);
  --r-control: 12px; --r-card: 20px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: 20px; --header-h: 56px;
  --sec: 36px; --k2h: 10px; --h2l: 12px; --l2c: 20px;
}
html.font-geist { --font: var(--font-geist); }

/* THE RESTORE (Lab asset) */
html.tal-restoring { scroll-behavior: auto; }
html.tal-restoring body { visibility: hidden; }
.reveal.reveal--instant { transition: none; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: linear-gradient(var(--white) 50%, var(--ink) 50%); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* THE FENCE: the viewport may only pan vertically; the page wrapper clips any sideways ink without becoming a scroll container (sticky survives) */
html { overflow-x: hidden; touch-action: pan-y pinch-zoom; }
.page { position: relative; overflow-x: clip; width: 100%; }
body { font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--ink-2); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, summary, label { touch-action: manipulation; }
:focus-visible { outline: 3px solid rgba(2,75,143,.35); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.Ag { height: .72em; width: .78em; vertical-align: baseline; display: inline-block; position: relative; top: .01em; margin-right: .02em; object-fit: contain; }
.reg { font-size: .55em; vertical-align: super; line-height: 0; margin-left: .04em; }
.i { width: 1em; height: 1em; flex: none; }
.i svg { width: 100%; height: 100%; fill: currentColor; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
section { padding: var(--sec) 0; }
.sep .wrap::before { content: ""; position: absolute; top: calc(-1 * var(--sec)); left: var(--gutter); right: var(--gutter); height: 1px; background: var(--hair); }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

h1, h2, h3 { color: var(--ink); font-weight: 700; }
h1 { font-size: 38px; line-height: 1.08; letter-spacing: -.028em; }
h2, h1.h-page { font-size: 28px; line-height: 1.12; letter-spacing: -.022em; }
h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.kicker { display: block; font-size: 12px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin-bottom: var(--k2h); }
.lead { font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.head { margin-bottom: var(--l2c); }
.head .lead { margin-top: var(--h2l); max-width: 34em; }

/* the skip link: the first thing the keyboard reaches, visible only while focused */
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 14px; border-radius: 12px; background: var(--blue); color: var(--white); font-weight: 600; text-decoration: none; transition: top .15s var(--ease); }
.skip:focus { top: 12px; outline: 3px solid var(--gold); outline-offset: 2px; }
/* header */
.hdr-sentinel { height: 1px; margin-bottom: -1px; pointer-events: none; }
.hdr { position: sticky; top: 0; z-index: 20; height: var(--header-h); background: var(--white); border-bottom: 1px solid var(--hair); }
.hdr::after { content: ""; position: absolute; inset: 0; z-index: 21; pointer-events: none; box-shadow: 0 6px 20px rgba(12,30,62,.10), 0 1px 0 rgba(12,30,62,.04); }
.hdr .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wm { display: inline-flex; align-items: center; flex: none; font-weight: 700; font-size: 20px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; line-height: 1; min-height: 44px; }
.wm:hover { color: var(--ink); }
.nav { display: none; gap: 24px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav a:hover { color: var(--blue); }

/* THE DRAWER: under the header, in the document, opaque; the burger's two bars become a cross */
.burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 999px; cursor: pointer; position: relative; margin-right: -8px; -webkit-tap-highlight-color: transparent; }
.burger span { position: absolute; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.burger span:first-child { transform: translateY(-4px); } .burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); } .burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.drawer { position: fixed; left: 0; right: 0; top: var(--header-h); height: calc(100lvh - var(--header-h)); background: var(--white); z-index: 19; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s; }
.drawer { scrollbar-width: none; } .drawer::-webkit-scrollbar { display: none; }
.drawer.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.drawer-in { display: grid; gap: 12px; align-content: start; padding: 32px var(--gutter) calc(100lvh - 100dvh + 40px + env(safe-area-inset-bottom)); }
.drawer { touch-action: none; }
.drawer.can-scroll { touch-action: pan-y; }
.drawer .btn, .drawer-mails { opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.drawer.is-open .btn, .drawer.is-open .drawer-mails { opacity: 1; transform: none; }
.drawer.is-open .drawer-in > :nth-child(1) { transition-delay: .04s; } .drawer.is-open .drawer-in > :nth-child(2) { transition-delay: .07s; } .drawer.is-open .drawer-in > :nth-child(3) { transition-delay: .1s; }
.drawer.is-open .drawer-in > :nth-child(4) { transition-delay: .13s; } .drawer.is-open .drawer-in > :nth-child(5) { transition-delay: .16s; } .drawer.is-open .drawer-in > :nth-child(6) { transition-delay: .19s; }
.drawer .btn, .hdr .drawer .btn { width: 100%; min-height: 56px; padding: 12px 20px; font-size: 18px; }
.drawer .btn-wa .i { width: 22px; height: 22px; color: var(--blue); }
.drawer .drawer-contact .i { width: 22px; height: 22px; color: var(--blue); }
.drawer .drawer-contact .i svg { width: 100%; height: 100%; fill: none; stroke: currentColor; }
.drawer-contact[aria-expanded="true"] { background: var(--blue-tint); border-color: var(--blue-dark); color: var(--blue-dark); }
.drawer-mails { display: grid; grid-template-rows: 0fr; visibility: hidden; margin-top: -12px; transition: grid-template-rows .3s var(--ease), visibility 0s linear .3s, opacity .25s var(--ease), transform .25s var(--ease); }
.drawer-contact[aria-expanded="true"] + .drawer-mails { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s var(--ease), visibility 0s, opacity .25s var(--ease), transform .25s var(--ease); }
.drawer-mails-in { min-height: 0; overflow: hidden; }
.drawer-mails a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px; text-decoration: none; color: var(--blue); font-size: 15px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
.drawer-mails a:first-child { margin-top: 12px; }
.drawer-mails a .ft-role { color: var(--ink-3); font-size: 12px; letter-spacing: .04em; text-transform: none; font-weight: 500; }
.drawer-mails a:active { color: var(--blue-dark); }
/* THE USER DOCK: the client's own place at the foot of the menu. Signed out it invites; signed in it shows them, their photo and what waits */
.udock { position: relative; margin: 0 0 8px; border-radius: 30px; background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px rgba(12,30,62,.12); opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.drawer.is-open .udock { opacity: 1; transform: none; }
.udock-row { display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 14px; min-height: 84px; padding: 14px 16px 14px 14px; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.udock-av { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); overflow: hidden; }
.udock-av img { width: 100%; height: 100%; object-fit: cover; }
.udock-av .udock-glyph { width: 26px; height: 26px; }
.udock-init { display: none; font-size: 20px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.udock[data-state="in"] .udock-av { background: conic-gradient(from 0deg, var(--blue) 0 33.333%, var(--gold) 0 66.667%, var(--crimson) 0 100%); padding: 3px; }  /* the mark's three colours, each a full third, no blending (Sawy 2026-09-07) */
.udock[data-state="in"] .udock-av::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--white); }
.udock[data-state="in"] .udock-av > * { position: relative; }
.udock[data-state="in"] .udock-av img { border-radius: 50%; }
.udock[data-state="in"] .udock-init { display: block; }
.udock[data-state="in"] .udock-glyph, .udock[data-state="in"].has-photo .udock-init { display: none; }
.udock.is-busy .udock-av { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.udock-t { display: grid; gap: 3px; min-width: 0; }
.udock-t b { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.udock-t span { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.udock[data-state="in"] .udock-t span.is-fresh { color: var(--blue); font-weight: 600; }
.udock-chev { width: 24px; height: 24px; color: var(--ink-3); }
.udock-cam { position: absolute; left: 50px; top: 50px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--white); background: var(--blue); color: var(--white); cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.udock-cam svg { width: 14px; height: 14px; }
.cl-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
/* the client area's top is THE USER DOCK itself, with the sign-out where the chevron would be */
.cl-dock { opacity: 1; transform: none; margin: 0 0 12px; }
.cl-dock-row { grid-template-columns: 56px 1fr; padding-right: 76px; cursor: default; }
.news { margin: 0 0 8px; padding: 6px 8px 8px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px rgba(12,30,62,.12); }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.news-list li { display: grid; grid-template-columns: 22px 1fr 36px; align-items: center; gap: 10px; min-height: 44px; padding: 4px 4px 4px 8px; }
.news-i { width: 20px; height: 20px; color: var(--blue); }
.news-t { display: grid; gap: 1px; font-size: 15px; line-height: 1.35; color: var(--ink); text-decoration: none; min-width: 0; }
.news-t small { font-size: 12px; color: var(--ink-3); }
.news-x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--hair); background: var(--white); color: var(--ink-3); cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.news-x svg { width: 16px; height: 16px; }
.news-x:hover { background: var(--blue-tint); color: var(--blue); border-color: var(--blue); }
.news-x:disabled { opacity: .5; }
.news-clear { display: block; margin: 0 auto; background: none; border: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-3); cursor: pointer; min-height: 44px; padding: 0 12px; }
.cl-block .news-list li { padding-left: 0; }
.cl-block .news-clear { margin: 8px 0 0; padding: 0; }
.udock-out { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.udock[data-state="in"] .udock-chev { visibility: hidden; }
.udock[data-state="in"] .udock-row { padding-right: 76px; }
.cl-out { display: grid; justify-items: center; gap: 3px; min-width: 52px; padding: 4px 0; background: none; border: 0; color: var(--ink-3); font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cl-out svg { width: 22px; height: 22px; }
.cl-out:hover { color: var(--crimson-dark); }
.cl-session { margin: 0 0 16px; }
.ft .legal a { color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.cl-session { font-size: 13px; line-height: 1.45; color: var(--ink-3); margin: 0 0 16px; }
.cl-av { border: 0; padding: 3px; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; }
.cl-av.is-busy { animation: spin 1s linear infinite; }
.cl-av.has-photo .udock-init { display: none; }
@media (prefers-reduced-motion: reduce) { .udock, .udock.is-busy .udock-av { transition: none; animation: none; } }
.hdr .hdr-cta { display: none; }
@media (prefers-reduced-motion: reduce) { .burger span, .drawer, .drawer .btn, .drawer-mails { transition: none; } }

/* the home's brief call */
.cta { border: 1px solid var(--hair); border-radius: var(--r-card); padding: 24px 20px 26px; }
.cta .lead { margin-top: 10px; }
.cta-b { display: grid; gap: 10px; margin-top: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: var(--r-control);
  font-size: 17px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease); }
.btn .i { font-size: 20px; }
.btn:active { transform: scale(.98); }
@media (hover: none) { .tile:active, .work a:active { opacity: .85; } }
.btn-p { background: var(--blue); color: var(--white); }
.btn-p:hover { background: var(--blue-dark); color: var(--white); }
.btn-p .i { transition: transform .2s var(--ease); }
.btn-p:hover .i { transform: translateX(3px); }
.btn-o { background: var(--white); color: var(--blue); border: 2px solid var(--blue); padding: 11px 20px; }
.btn-o:hover { background: var(--blue-tint); color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-o .i { color: var(--blue); }
.btn-s { background: var(--white); color: var(--ink); border-color: var(--hair); }
.btn-s:hover { border-color: var(--blue); color: var(--blue); }
.hdr .btn { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.hdr-acts { display: flex; align-items: center; gap: 10px; }
.hdr .btn .short { display: none; }
@media (max-width: 379px) { .wm { font-size: 18px; } .hdr .btn { padding: 8px 12px; font-size: 14px; } }
@media (max-width: 339px) { .hdr .btn .full { display: none; } .hdr .btn .short { display: inline; } }

/* hero: white, the mark, the pill, one button and one quiet link */
.hero { position: relative; padding: 48px 0 40px; text-align: center; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero .mark { width: 112px; height: auto; margin: 0 auto 28px; animation: rise .7s var(--ease) both; }
.hero .kicker { margin-bottom: 14px; animation: rise .7s var(--ease) .1s both; }
.hero h1 { max-width: 13ch; margin: 0 auto; animation: rise .7s var(--ease) .18s both; }
.hero .lead { margin: 16px auto 0; max-width: 26em; font-size: 17px; color: var(--ink-3); animation: rise .7s var(--ease) .26s both; }
.ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; align-items: stretch; animation: rise .7s var(--ease) .34s both; }
.ctas .btn { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.link .i { font-size: 18px; color: var(--blue); transition: transform .2s var(--ease); }
.link:hover { color: var(--blue); } .link:hover .i { transform: translateX(3px); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the stack strip */
.stack { padding: 8px 0 var(--sec); }
.hero { padding-bottom: 32px; }
.stack .label { text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-bottom: 18px; }
.stack .row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; }
.stack .row > * { height: 26px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.stack .row svg { height: 24px; width: auto; fill: currentColor; }
.stack .b-shopify svg { color: #7AB55C; } .stack .b-cloudflare svg { color: #F38020; } .stack .b-meta svg { color: #0467DF; } .stack .b-whatsapp svg { color: #25D366; }
.stack .row img { height: 24px; width: auto; }

/* tiles: one component for what-we-do, services, how-we-work */
.tiles { display: grid; gap: 12px; grid-template-columns: minmax(0,1fr); }
.tile { min-width: 0; }
.tile { position: relative; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-card); padding: 18px 18px 20px; }
@media (hover: hover) { .tile { transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); } }
@media (hover: hover) { .tile:hover { transform: translateY(-2px); border-color: rgba(2,75,143,.35); box-shadow: 0 12px 28px -18px rgba(12,30,62,.35); } }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: var(--blue-tint); color: var(--blue); }
.tile .ic svg { width: 24px; height: 24px; fill: currentColor; }
.tile h3 { margin-bottom: 4px; }
.tile p { font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* what we do: the accordion (one open at a time; THE STANDARD TOGGLE MARK: the plus turns 45 degrees into a cross) */
.acc { display: grid; gap: 10px; max-width: 820px; }
.acc-item { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-card); overflow: hidden; }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: none; border: 0; text-align: left; cursor: pointer; min-height: 64px; }
.acc-btn .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.acc-btn .ic svg { width: 22px; height: 22px; fill: currentColor; }
.acc-t { flex: 1; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.25; }
.acc-x { position: relative; width: 28px; height: 28px; flex: none; border-radius: 999px; }
.acc-x::before, .acc-x::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink-3); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s var(--ease), background-color .25s var(--ease); }
.acc-x::before { width: 14px; height: 2px; } .acc-x::after { width: 2px; height: 14px; }
.acc-btn[aria-expanded="true"] .acc-x::before { transform: translate(-50%, -50%) rotate(45deg); background: var(--blue); }
.acc-btn[aria-expanded="true"] .acc-x::after { transform: translate(-50%, -50%) rotate(45deg); background: var(--blue); }
.acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease), visibility 0s linear .34s; visibility: hidden; }
.acc-btn[aria-expanded="true"] + .acc-p { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .34s var(--ease); }
.acc-in { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .18s var(--ease), transform .18s var(--ease); }
.acc-btn[aria-expanded="true"] + .acc-p .acc-in { opacity: 1; transform: none; transition: opacity .3s var(--ease) .1s, transform .3s var(--ease) .1s; }
.acc-in p { margin: 0 16px 12px 70px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.acc-in ul { list-style: none; margin: 0 16px 18px 70px; padding: 12px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 8px; }
.acc-in li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.acc-in li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 999px; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23024B8F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (hover: hover) { .acc-btn:hover .acc-t, .wk .acc-btn:hover .wk-t b { color: var(--blue); } }

/* services: compact icon + name */
.svc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.svc .tile { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.svc .tile .ic { width: 40px; height: 40px; margin: 0; }
.svc .tile b { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.25; letter-spacing: -.01em; }

/* work: one project per row, the logo leads, the panel is the portfolio */
.work-acc { max-width: none; }
.wk .acc-btn { gap: 14px; padding: 14px 16px; }
.wk .lg { width: 84px; height: 56px; display: grid; place-items: center; flex: none; }
.wk .lg img { max-width: 84px; max-height: 56px; width: auto; height: auto; }
.wk .lg-ryze img { max-height: 56px; }
.wk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wk-t b { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.wk-t span { font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.wk .chip { display: none; }
.wk-in p { margin: 0 16px 14px; }
.wk-gs { margin: 0 16px; display: grid; gap: 14px; border-top: 1px solid var(--hair); padding-top: 14px; }
.wk-g h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; }
.wk-in .acc-in ul, .wk-g ul { margin: 0; padding: 0; border: 0; }
.wk-visit { margin: 18px 16px 18px; align-self: flex-start; }
.wk-in { display: flex; flex-direction: column; }

/* work: the client logos */
.work { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.work a { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-card); padding: 16px 14px 16px; min-height: 44px; }
@media (hover: hover) { .work a { transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); } }
@media (hover: hover) { .work a:hover { transform: translateY(-2px); border-color: rgba(2,75,143,.35); box-shadow: 0 12px 28px -18px rgba(12,30,62,.35); } }
.work .logo { height: 64px; display: grid; place-items: center; margin-bottom: 12px; }
.work .logo img, .work .logo svg { max-height: 44px; max-width: 100%; width: auto; height: auto; }
.work .logo.tall img { max-height: 56px; }
.work .name { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; min-width: 0; }
.work .name b { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.chip { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.chip.live { background: #E6F6EC; color: #1B7A3E; }
.chip.soon { background: var(--gold-tint); color: var(--gold-dark); }
.chip.wip { background: var(--blue-tint); color: var(--blue); }
.work p { font-size: 14px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }

/* why: THE DECK, nine cards in a snapping rail; the side cards turn away in 3D on the scroll timeline (no JS on scroll) */
.deck-wrap { position: relative; margin: 0 calc(-1 * var(--gutter)); }
.deck { list-style: none; display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  padding: 18px calc(50% - 136px) 44px; margin: -12px 0 -26px; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; overscroll-behavior-x: contain; }
.deck::-webkit-scrollbar { display: none; }
.deck:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
.rc { position: relative; flex: 0 0 272px; min-height: 380px; scroll-snap-align: center; background: var(--white); border: 1.5px solid var(--hair); border-radius: 22px;
  padding: 22px 20px 24px; display: flex; flex-direction: column; box-shadow: 0 16px 36px -24px rgba(12,30,62,.35); }
.rc-n { position: absolute; top: 16px; left: 18px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--blue); }
.rc-n2 { top: auto; left: auto; right: 18px; bottom: 16px; transform: rotate(180deg); color: var(--ink-3); }
.rc-ic { width: 52px; height: 52px; border-radius: 999px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin: 26px auto 18px; }
.rc-ic svg { width: 26px; height: 26px; fill: currentColor; }
.rc h3 { font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
.rc p { font-size: 15px; line-height: 1.5; color: var(--ink-2); padding-bottom: 20px; }
.deck-nav { display: none; }
@supports (animation-timeline: view()) {
  .rc { animation: deck-turn linear both; animation-timeline: view(x); animation-range: cover 0% cover 100%; }
  @keyframes deck-turn {
    0% { transform: perspective(1000px) rotateY(22deg); opacity: .55; }
    50% { transform: perspective(1000px) rotateY(0deg); opacity: 1; }
    100% { transform: perspective(1000px) rotateY(-22deg); opacity: .55; }
  }
}
@media (prefers-reduced-motion: reduce) { .rc { animation: none; } }
.price { margin-top: 12px; border: 1px solid var(--hair); border-radius: var(--r-card); padding: 20px 18px 22px; background: var(--ink); color: rgba(255,255,255,.8); }
.price-h h3 { color: var(--white); font-size: 20px; margin-bottom: 4px; }
.price-h p { font-size: 15px; color: rgba(255,255,255,.64); }
.price-r { list-style: none; counter-reset: rule; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 14px; }
.price-r li { counter-increment: rule; display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; }
.price-r li::before { content: counter(rule, decimal-leading-zero); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--gold); padding-top: 3px; }
.price-r b { display: block; color: var(--white); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.price-r span { display: block; grid-column: 2; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.72); }
.price .btn { width: 100%; margin-top: 20px; background: var(--white); color: var(--ink); }
.price .btn:hover { background: var(--ground-2); color: var(--ink); }

/* form: the brief builder */
.fs { padding: 4px 0 22px; border-bottom: 1px solid var(--hair); display: grid; gap: 12px; }
.fs:last-of-type { border-bottom: 0; }
.fs-h h3, .fs-h h2 { font-size: 18px; margin-bottom: 2px; }
.fs-h p { font-size: 14px; color: var(--ink-3); }
.chips-g { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin: 4px 0 -4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-o { min-height: 44px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--hair); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.2; cursor: pointer; text-align: left;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
.chip-o[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip-o.chip-own { background: var(--blue-tint); border-color: var(--blue-tint); color: var(--blue-dark); }
.chip-o.chip-own::after { content: " \00d7"; font-weight: 600; }
.chip-add { border-style: dashed; color: var(--blue); }
.chip-add::before { content: "+ "; font-weight: 600; }
@media (hover: hover) { .chip-o:hover { border-color: var(--blue); } .chip-o[aria-pressed="true"]:hover { background: var(--blue-dark); border-color: var(--blue-dark); } }
.own { display: grid; gap: 8px; }
.own .chip-add { justify-self: start; }
.own-in { display: flex; gap: 8px; align-items: stretch; }
.own-in input { flex: 1; min-width: 0; }
.btn-sm { min-height: 48px; padding: 10px 16px; font-size: 15px; }
.amount { align-items: center; max-width: 320px; }
.amount .cur { font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 0 4px; }
.f-err { font-size: 14px; color: var(--crimson-dark); margin-top: 6px; }
.needs { border: 1px solid var(--hair); border-left: 3px solid var(--blue); border-radius: var(--r-control); padding: 14px 16px; }
.needs h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.needs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.needs li { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.needs li b { color: var(--ink); font-weight: 600; }
.f .row { display: grid; gap: 14px; }
.f label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink); margin-bottom: 8px; }
.brief { border: 1px solid var(--hair); border-radius: var(--r-control); padding: 16px 16px 6px; }
.brief h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.brief dl { margin: 0; }
.brief dl > div { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--hair); }
.brief dt { font-size: 14px; color: var(--ink-3); }
.brief dd { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.4; }
.brief dd.empty { color: var(--ink-3); }
.ok .next { list-style: none; counter-reset: n; margin: 20px auto 0; padding: 0; max-width: 420px; text-align: left; display: grid; gap: 10px; }
.ok .next li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; }
.ok .next li::before { content: counter(n, decimal-leading-zero); font-size: 13px; font-weight: 700; color: var(--blue); padding-top: 3px; }
.ok .next b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.ok .next span { display: block; grid-column: 2; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.ok p b { color: var(--ink); font-weight: 600; }

/* the phone field: intl-tel-input (MIT, self-hosted) redrawn in our tokens. The list hangs from the button, never a popup, never above. */
.iti { width: 100%; }
.iti__country-container { padding: 0; }
.iti__selected-country { border-radius: var(--r-control) 0 0 var(--r-control); background: transparent; -webkit-tap-highlight-color: transparent; outline: none; }
.iti__selected-country:focus-visible { box-shadow: inset 0 0 0 2px rgba(2,75,143,.35); }
.iti__selected-country:focus .iti__selected-country-primary, .iti__selected-country .iti__selected-country-primary { background: transparent !important; }
.iti__selected-country[aria-expanded="true"] .iti__selected-country-primary { background: transparent !important; }
.iti__selected-country-primary { padding: 0 8px 0 14px; gap: 6px; }
.iti--allow-dropdown .iti__country-container:not(.iti__disabled):hover .iti__selected-country-primary,
.iti--allow-dropdown .iti__country-container:not(.iti__disabled) .iti__selected-country:focus .iti__selected-country-primary { background: transparent; }
.iti__selected-dial-code { font-size: 16px; color: var(--ink); margin-left: 10px !important; padding-right: 10px; }
.iti__arrow { width: 8px; height: 8px; border: 0; border-right: 1.8px solid var(--ink-3); border-bottom: 1.8px solid var(--ink-3); transform: rotate(45deg); margin: -3px 2px 0 0; transition: transform .2s var(--ease); }
.iti__arrow--up { transform: rotate(-135deg); margin-top: 3px; }
.f .iti input[type=tel] { padding-left: 0; }
.iti__country-selector { position: absolute !important; top: calc(100% + 6px) !important; bottom: auto; left: 0 !important; min-width: 280px; max-width: none; z-index: 30;
  background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-control); box-shadow: 0 16px 36px -20px rgba(12,30,62,.35); overflow: hidden; transform-origin: top;
  animation: iti-drop .2s var(--ease) both; }
.iti__country-selector.iti__hide { display: none; }
@keyframes iti-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.iti__search-input-wrapper { position: relative; border-bottom: 1px solid var(--hair); padding: 8px; }
.iti .iti__search-input, .iti__search-input { width: 100%; min-height: 40px; font-size: 16px; padding: 8px 36px 8px 40px !important; border: 1px solid var(--hair); border-radius: 10px; background: var(--white); color: var(--ink); -webkit-text-fill-color: var(--ink); outline: none; }
.iti__search-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,75,143,.18); }
.iti__search-icon { left: 20px !important; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.iti__search-icon-svg { width: 16px; height: 16px; }
.iti__search-clear { right: 14px; width: 28px; height: 28px; }
.iti__search-clear-bg { background: var(--ground-2); }
.iti__country-list { max-height: 228px; padding: 6px; }
.iti__country { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; font-size: 15px; color: var(--ink); min-height: 44px; }
.iti__country.iti__highlight { background: var(--blue-tint); }
.iti__country-name { flex: 1; }
.iti__dial-code { color: var(--ink-3); }
.iti__country-check-svg { color: var(--blue); }
.iti__country[aria-selected="true"] .iti__country-name { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .iti__country-selector { animation: none; } .iti__arrow { transition: none; } }

/* the Google Meet booking: inside the brief before sending, and the late booking on the receipt */
.meet-pick { display: grid; gap: 10px; }
.meet .chips { gap: 8px; }
#meetDays .chip-o, #meetTimes .chip-o { min-height: 40px; padding: 8px 12px; font-size: 14px; }
.meet-empty, .meet-chosen { font-size: 14px; color: var(--ink-3); }
.meet-chosen { color: var(--ink); font-weight: 600; }
.meet-done { margin: 18px auto 0; max-width: 460px; text-align: left; font-size: 15px; line-height: 1.5; color: var(--ink-2); border: 1px solid var(--hair); border-left: 3px solid #1B7A3E; border-radius: var(--r-control); padding: 12px 14px; }
.meet-done b { color: var(--ink); }
.ok-find { margin: 22px auto 0; max-width: 460px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* find my brief */
.find-sent { font-size: 15px; color: #1B7A3E; }

/* the client area and the desk */
.wrap-narrow { max-width: 720px; }
#clients > .wrap { min-height: 460px; }
.cl-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cl-top h3 { font-size: 24px; }
.cl-block { border: 1px solid var(--hair); border-radius: var(--r-card); padding: 16px 18px; margin-bottom: 12px; }
.cl-block h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 10px; }
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ld-quiet { margin: 4px 0 2px; }
.chip.ending { background: var(--crimson-tint); color: var(--crimson-dark); }
.chip.gold { background: var(--gold-tint); color: var(--gold-dark); }
.cl-sign-code { font-style: normal; letter-spacing: .14em; font-variant-numeric: tabular-nums; font-size: 20px; }
.cl-sign-err { transition: opacity .3s var(--ease); } .cl-sign-err.is-fading { opacity: 0; }
.cl-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 0; font-size: 15px; }
.cl-list b { color: var(--ink); font-weight: 600; }
.cl-sub { flex-basis: 100%; font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.cl-acts { margin-left: auto; display: flex; gap: 14px; }
.cl-acts a { font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin: -10px 0; }
/* find my brief: the found brief */
.fb .cl-top h3 { font-size: 22px; letter-spacing: -.01em; }
.fb-when { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.fb-p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fb-meet { margin-top: 12px; width: 100%; }
.fb-dl { margin: 0; }
.fb-dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--hair); }
.fb-dl > div:first-child { border-top: 0; padding-top: 0; }
.fb-dl dt { font-size: 14px; color: var(--ink-3); padding-top: 1px; }
.fb-dl dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.fb-dl dd.fb-long { white-space: normal; }
.ok-find a { color: var(--blue); font-weight: 600; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
/* THE CLIENT AREA: the door (email → code) and the space (tabs in THE BAR with bubbles) */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--blue); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.linkbtn:disabled { color: var(--ink-3); font-weight: 500; cursor: default; }
.linkbtn.danger, .cl-acts a.danger { color: var(--crimson-dark); }
.btn.danger-p { background: var(--crimson-dark); color: var(--white); }
.cl-codehead h3 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 6px; }
.cl-codehead b { color: var(--ink); font-weight: 600; }
.cl-otp-wrap { position: relative; }
.cl-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.cl-cells span { display: grid; place-items: center; height: 58px; border: 1.5px solid var(--hair); border-radius: var(--r-control); background: var(--white); font-size: 26px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.cl-cells span:empty::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hair); }
.cl-cells span.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,75,143,.18); }
.cl-cells span.is-on:empty::before { width: 2px; height: 26px; border-radius: 1px; background: var(--blue); animation: blink 1s steps(2, start) infinite; }
.cl-cells span.is-filled { border-color: var(--ink-3); animation: cell-pop .18s var(--ease); }
.cl-otp-wrap.is-busy .cl-cells span { border-color: var(--blue); box-shadow: none; animation: cell-pulse 1s var(--ease) infinite; }
.cl-otp-wrap.is-ok .cl-cells span { border-color: #1B7A3E; background: #E6F6EC; color: #1B7A3E; box-shadow: none; animation: none; }
.cl-otp-wrap.is-bad .cl-cells { animation: cell-shake .45s var(--ease); }
.cl-otp-wrap.is-bad .cl-cells span { border-color: var(--crimson-dark); background: var(--crimson-tint); color: var(--crimson-dark); box-shadow: none; animation: none; }
@keyframes blink { to { visibility: hidden; } }
@keyframes cell-pop { 0% { transform: scale(.86); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes cell-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes cell-shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .cl-cells span, .cl-otp-wrap .cl-cells { animation: none !important; } }
.f .cl-otp { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: var(--r-control); background: transparent; color: transparent; caret-color: transparent; font-size: 26px; letter-spacing: 2em; box-shadow: none; -webkit-text-fill-color: transparent; }
.f .cl-otp:focus { box-shadow: none; }
.f .cl-otp::selection { background: transparent; }
.cl-resend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; font-size: 15px; margin-top: 2px; }
.cl-resend .sep { color: var(--hair); }
.f-err.ok { color: #1B7A3E; }
.cl-panel { display: grid; gap: 12px; }
.cl-panel .cl-block { margin-bottom: 0; }
.cl-list li.is-new b { color: var(--blue); }
.chip:not(.live):not(.soon):not(.wip):not(.ending):not(.gold) { background: var(--ground-2); color: var(--ink-3); }
.cl-meets li { display: grid; gap: 8px; }
.cl-meets li > b { font-size: 16px; }
.cl-meets li > .chip { justify-self: start; }
.cl-meet-acts { display: grid; gap: 10px; justify-items: center; padding-top: 4px; }
.cl-meet-acts .btn { width: 100%; }
.cl-confirm { display: grid; gap: 12px; padding: 12px 14px; border: 1px solid var(--hair); border-left: 3px solid var(--crimson-dark); border-radius: var(--r-control); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.cl-confirm-b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cl-acts a.strong { color: var(--blue); }
.btn.danger-o { color: var(--crimson-dark); border-color: var(--crimson-dark); background: var(--white); }
.btn.danger-o:hover { background: var(--crimson-tint); color: var(--crimson-dark); border-color: var(--crimson-dark); }
.cl-exit .btn { width: 100%; margin-top: 4px; }
.cl-exit .cl-confirm { margin-top: 12px; }
.cl-exit .cl-sign-name { font-style: normal; font-size: 16px; }
.cl-ending { display: grid; gap: 8px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--hair); border-left: 3px solid var(--crimson-dark); border-radius: var(--r-control); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.cl-ending b { color: var(--ink); }
.toast { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 12px + env(safe-area-inset-top)); z-index: 30; padding: 14px 18px; border-radius: 18px; background: var(--ink); color: var(--white); font-size: 15px; line-height: 1.45; text-align: center; opacity: 0; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.toast.is-in { opacity: 1; transform: none; }
@media (min-width: 760px) { .toast { left: 50%; right: auto; width: min(560px, calc(100% - 48px)); transform: translate(-50%, -10px); } .toast.is-in { transform: translate(-50%, 0); } }
.cl-ending .btn { width: auto; justify-self: start; }
.cl-sign { flex-basis: 100%; display: grid; gap: 12px; padding: 14px; border: 1px solid var(--hair); border-left: 3px solid var(--blue); border-radius: var(--r-control); }
.cl-sign-t { font-size: 15px; color: var(--ink); } .cl-sign-t b { font-weight: 600; }
.cl-sign-p { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.cl-sign-name { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--r-control); font: inherit; font-size: 17px; font-style: italic; color: var(--ink); background: var(--white); }
.cl-sign-name:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,75,143,.18); }
.cl-sign-agree { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.cl-sign-agree input, .f input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--blue); }
.f label.ld-quiet, .f label.cl-sign-agree { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); line-height: 1.45; }
.cl-sign-ts { display: block; min-height: 65px; }
.cl-sign-ts iframe, .cl-sign-ts > div { max-width: 100%; }
.f label.cl-drop { position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; margin: 0; padding: 24px 16px; border: 1.5px dashed var(--hair); border-radius: var(--r-control); cursor: pointer; font-size: 15px; font-weight: 400; letter-spacing: 0; transition: border-color .16s var(--ease), background .16s var(--ease); }
.cl-drop-t, .cl-drop-s { display: block; }
.cl-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cl-drop:focus-within, .cl-drop.has-file { border-color: var(--blue); border-style: solid; background: var(--blue-tint); }
.cl-drop-t { font-size: 16px; font-weight: 600; color: var(--blue); }
.cl-drop-s { font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.cb-nav .bb-track[hidden] { display: none; }
/* THE LAB DESK: status */
.st-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st-list li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; color: var(--ink); }
.st-list li i { width: 12px; height: 12px; border-radius: 50%; background: #1B7A3E; box-shadow: 0 0 0 3px #E6F6EC; }
.st-list li.is-down i { background: var(--crimson-dark); box-shadow: 0 0 0 3px var(--crimson-tint); }
.st-list li span { font-size: 13px; color: var(--ink-3); text-align: right; }
.st-bars { display: grid; gap: 14px; }
.st-bar b { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.st-bar b span { font-weight: 500; color: var(--ink-3); }
.st-bar .st-track { height: 10px; border-radius: 999px; background: var(--ground-2); overflow: hidden; }
.st-bar .st-fill { height: 100%; border-radius: 999px; background: var(--blue); transition: width .5s var(--ease); }
.st-bar .st-fill.is-warn { background: var(--gold-dark); } .st-bar .st-fill.is-hot { background: var(--crimson-dark); }
.st-bar small { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.st-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; align-items: end; height: 44px; margin-top: 10px; }
.st-days i { display: block; background: var(--blue-tint); border-radius: 3px 3px 0 0; min-height: 3px; }
.st-days i.is-today { background: var(--blue); }
.st-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.st-grid li { padding: 12px 14px; border-radius: var(--r-control); background: var(--ground-2); }
.st-grid li b { display: block; font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.st-grid li span { font-size: 12px; color: var(--ink-3); }
.st-log li { display: grid; gap: 2px; }
.st-log li b { font-size: 14px; }
.st-log li .cl-sub { font-size: 12px; }
.lab-only select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--r-control); background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.cb-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; }
.cb-tab { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 58px; padding: 6px 2px 5px; background: none; border: 0; color: var(--ink-3); font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .01em; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 22px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.cb-tab svg { width: 24px; height: 24px; transition: transform .16s var(--ease); }
.cb-tab[aria-selected="true"] { color: var(--blue); font-weight: 700; background: var(--blue-tint); }
.cb-tab[aria-selected="true"] svg { stroke-width: 2.4; }
.cb-tab:active svg { transform: scale(.92); }
.bub { position: absolute; top: 4px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 11px; font-weight: 700; font-style: normal; line-height: 18px; text-align: center; }
.bub.bub-p { background: var(--gold-dark); }
.ad-grid { display: grid; gap: 16px; margin-bottom: 16px; }
#admin .card h3 { margin-bottom: 12px; }
#admin .f select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--r-control); background: var(--white); color: var(--ink); font-size: 16px; }
#admin .f input[type=file] { padding: 10px 14px; }

/* the Google Meet call: the official mark, the invitation to talk */
.meet-cta { display: inline-flex; align-items: center; gap: 10px; }
.meet-cta .i { width: 22px; height: 22px; }
.meet-cta .i svg { width: 100%; height: 100%; }
#meetWant .chip-o[data-value="yes"] { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-color: #00897B; color: #00695C; }
#meetWant .chip-o[data-value="yes"][aria-pressed="true"] { background: #00897B; border-color: #00897B; color: var(--white); }
#meetWant .chip-o[data-value="yes"] svg { width: 18px; height: 18px; }
#meetWant .chip-o[data-value="yes"][aria-pressed="true"] svg path { fill: #fff; }
.meet-note { font-size: 14px; color: var(--ink-2); line-height: 1.5; border: 1px solid var(--hair); border-left: 3px solid #00897B; border-radius: var(--r-control); padding: 10px 14px; }

/* THE WALK: one step at a time on the brief page; THE BAR rides the bottom of the screen, edge to edge, the progress on its top edge */
#bbCard { padding-bottom: 22px; }
#inquiryForm .fs[data-step] { display: none; border-bottom: 0; padding-bottom: 8px; }
#inquiryForm .fs.is-active { display: grid; animation: step-in .26s var(--ease) both; }
#inquiryForm .fs.is-out-left, #inquiryForm .fs.is-out-right { display: grid; position: absolute; inset: 0; pointer-events: none; animation: step-out .22s var(--ease) both; }
#inquiryForm .fs.is-out-right { animation-name: step-out-r; }
#inquiryForm { position: relative; }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes step-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-24px); } }
@keyframes step-out-r { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(24px); } }
.fs[data-step] .fs-h h3, .fs[data-step] .fs-h h2 { font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.fs[data-step] .fs-h p { font-size: 15px; }
html.has-bar .page, .page:has(.bb-nav) { padding-bottom: calc(var(--bar-h, 108px) + 24px); }
/* THE DOCK: the bar floats like the iPhone dock, inset, rounded, translucent, lifted on a shadow */
.bb-nav { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 18; border-radius: 30px; overflow: hidden;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(28px) saturate(1.8); backdrop-filter: blur(28px) saturate(1.8);
  box-shadow: 0 0 0 1px rgba(12,30,62,.07);
  transform: translateY(140%); transition: transform .45s cubic-bezier(.32,.72,0,1); }
.bb-nav.is-up { transform: none; }
.bb-nav .bb-track { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(12,30,62,.08); overflow: hidden; }
.bb-nav .bb-track span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(.125); transition: transform .35s var(--ease); }
.bb-in { padding: 16px 18px; display: grid; gap: 10px; min-width: 0; }
.bb-line { display: flex; align-items: baseline; gap: 10px; min-height: 18px; min-width: 0; }
.bb-count { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.bb-sum { font-size: 13px; color: var(--ink-2); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 auto; }
.bb-sum:empty::before { content: "Your brief builds here as you go."; }
.bb-btns { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.bb-btns .btn[hidden] + .btn { grid-column: 1 / -1; }
.bb-nav.is-last .bb-btns { grid-template-columns: 1fr; }
.bb-nav.is-last #bbBack { justify-self: start; min-width: 140px; }
.brief dd[data-goto] { cursor: pointer; }
.brief dd[data-goto]::after { content: "Change"; float: right; font-size: 13px; font-weight: 600; color: var(--blue); margin-left: 10px; }
.chip-o { transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .12s var(--ease); }
.chip-o:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { #inquiryForm .fs.is-active, #inquiryForm .fs.is-out-left, #inquiryForm .fs.is-out-right { animation: none; } .bb-nav, .bb-nav .bb-track span { transition: none; } }
@media (min-width: 760px) {
  .bb-nav { left: 50%; right: auto; width: min(720px, calc(100% - 48px)); transform: translate(-50%, 140%); }
  .bb-nav.is-up { transform: translate(-50%, 0); }
  .bb-in { grid-template-columns: 1fr auto; align-items: center; padding: 16px 24px; }
  .bb-line { flex-direction: column; align-items: flex-start; gap: 2px; }
  .bb-sum { font-size: 14px; white-space: normal; }
  .bb-btns { grid-template-columns: 140px 220px; }
  .bb-nav.is-last .bb-btns { grid-template-columns: 140px; }
}
/* desktop: no bar; THE RAIL. The brief lives beside the steps, sticky, with the progress and the buttons */
@media (min-width: 1024px) {
  html.has-bar:has(#inquiry) .page, .page:has(#inquiry) { padding-bottom: 0; } html.has-bar .page:has(#inquiry) .ft, .page:has(#inquiry) .ft { padding-bottom: 24px; }
  #inquiry .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 32px; align-items: start; }
  #inquiry .head { grid-column: 1 / -1; }
  #inquiry .card, #inquiry .alt, #inquiry .err, #inquiry .ok { grid-column: 1; }
  #inquiry .bb-nav { position: sticky; left: auto; right: auto; bottom: auto !important; width: auto; top: calc(var(--header-h) + 24px); grid-column: 2; grid-row: 2 / span 3; transform: none; transition: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    border: 1px solid var(--hair); border-radius: var(--r-card); background: var(--white); overflow: hidden; }
  #inquiry .bb-nav .bb-track { position: static; height: 4px; }
  #inquiry .bb-in { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px 20px 20px; max-width: none; }
  #inquiry .bb-line { flex-direction: row; align-items: baseline; gap: 10px; }
  #inquiry .bb-sum { display: none; }
  #inquiry .bb-nav .brief { border: 0; padding: 0; }
  #inquiry .bb-nav .brief h3 { margin-bottom: 4px; }
  #inquiry .bb-btns { grid-template-columns: 1fr 1fr; gap: 10px; }
  #inquiry .bb-btns .btn[hidden] + .btn { grid-column: 1 / -1; }
  .bb-nav.is-last .bb-btns { grid-template-columns: 1fr; }
  .bb-nav.is-last #bbBack { justify-self: stretch; }
  .bb-rail-note { font-size: 15px; color: var(--ink-2); line-height: 1.5; border: 1px solid var(--hair); border-radius: var(--r-control); padding: 14px 16px; }
}

/* form */
.card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-card); padding: 22px 18px 26px; }
.f { display: grid; gap: 16px; }
.f label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink); margin-bottom: 8px; }
.f label em { font-style: normal; color: var(--crimson); }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--r-control);
  background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.3; -webkit-text-fill-color: var(--ink); -webkit-appearance: none; appearance: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.f textarea { min-height: 132px; resize: vertical; }
.f select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%236B7A90' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.f select:invalid, .f select option[value=""] { color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); }
.f select option { color: var(--ink); }
.f ::placeholder { color: var(--ink-3); opacity: 1; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,75,143,.18); }
.f .row { display: grid; gap: 16px; }
.f .btn { width: 100%; margin-top: 2px; }
.f .note { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.err { margin-top: 14px; font-size: 15px; color: var(--crimson-dark); background: var(--crimson-tint); border-radius: var(--r-control); padding: 12px 14px; }
.alt { margin-top: 18px; font-size: 15px; color: var(--ink-2); text-align: center; }
.legal .alt a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.ok { text-align: center; padding: 16px 0; }
.ok .ic { width: 56px; height: 56px; border-radius: 16px; background: #E6F6EC; color: #1B7A3E; display: grid; place-items: center; margin: 0 auto 14px; }
.ok .ic svg { width: 30px; height: 30px; fill: currentColor; }
.ok h3 { margin-bottom: 6px; }

/* footer on the plate */
.ft { background: var(--ink); color: rgba(255,255,255,.72); padding: 36px 0 24px; }
.ft .top { display: grid; gap: 26px; }
.ft .brand { display: flex; justify-content: center; }
.ft .brand .wm { color: var(--white); font-size: 36px; letter-spacing: -.025em; }
.ft .brand .Ag-big { height: 1.6em; width: 1.72em; top: .1em; margin-right: .05em; margin-left: -.1em; }
.ft .social { display: flex; justify-content: center; gap: 28px; margin-top: -2px; }
.ft .brand { margin-bottom: 36px !important; }
.ft .social a { width: 52px; height: 52px; display: grid; place-items: center; color: var(--white); transition: opacity .16s var(--ease); }
.ft .social a svg { width: 34px; height: 34px; fill: currentColor; }
@media (hover: hover) { .ft .social a:hover { opacity: .8; } }
.ft-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
.ft-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-control); color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; -webkit-tap-highlight-color: transparent; transition: border-color .16s var(--ease), background .16s var(--ease); }
@media (hover: hover) { .ft-links a:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); } }
.ft-acc { border-top: 1px solid rgba(255,255,255,.12); }
.ft-acc-b { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--white); -webkit-tap-highlight-color: transparent; }
.ft-acc-b h4, .ft-acc-b .h4 { margin: 0; }
.ft-acc-b .acc-x::before, .ft-acc-b .acc-x::after { background: rgba(255,255,255,.7); }
.ft-acc-b[aria-expanded="true"] .acc-x::before, .ft-acc-b[aria-expanded="true"] .acc-x::after { background: var(--white); transform: translate(-50%, -50%) rotate(45deg); }
.ft-acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease), visibility 0s linear .3s; visibility: hidden; }
.ft-acc-b[aria-expanded="true"] + .ft-acc-p { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s var(--ease); }
.ft-acc-in { min-height: 0; overflow: hidden; }
.ft-acc-in > * { padding-bottom: 14px; }
.ft .top { gap: 0; }
.ft .brand { margin-bottom: 22px; }
.ft h4, .ft .h4 { display: block; color: var(--white); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.ft ul { list-style: none; display: grid; gap: 2px; }
.ft ul a { color: rgba(255,255,255,.84); text-decoration: none; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }
.ft ul a:hover { color: var(--white); }
.ft-pages li a { min-height: 40px; font-weight: 500; color: var(--white); }
.ft-contact li { display: grid; gap: 0; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.1); }
.ft-contact li:first-child { border-top: 0; padding-top: 0; }
.ft-role { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.ft-contact li a { min-height: 32px; }
.ft .founder { font-size: 14px; line-height: 1.5; }
.ft .founder b { color: var(--white); font-weight: 600; font-size: 17px; display: inline-flex; align-items: baseline; }
.ft .legal { display: grid; justify-items: center; text-align: center; gap: 4px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(183,136,3,.4); font-size: 13px; color: rgba(255,255,255,.6); }
.ft .legal a { color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.ft .legal a:hover { color: var(--white); }

/* reveal */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .32s var(--ease), transform .32s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .acc-p, .acc-in, .acc-x::before, .acc-x::after { transition: none; }
  .hero .mark, .hero .kicker, .hero h1, .hero .lead, .ctas { animation: none; }
  .tile, .work a, .btn { transition: none; }
}

/* desktop: the bigger twin */
@media (min-width: 760px) {
  :root { --gutter: 32px; --header-h: 64px; --sec: 64px; --l2c: 32px; }
  body { font-size: 18px; }
  h1 { font-size: 60px; } h2, h1.h-page { font-size: 40px; } h3 { font-size: 20px; }
  .lead { font-size: 21px; }
  .nav { display: flex; }
  .burger, .drawer, .udock { display: none; } .cl-dock.udock { display: block; }
  .hdr .hdr-cta { display: inline-flex; }
  .cta { padding: 36px 40px 40px; } .cta-b { grid-template-columns: auto auto auto; justify-content: start; gap: 14px; }
  .ad-grid { grid-template-columns: 1fr 1fr; }
  .hdr .btn { min-height: 44px; padding: 10px 20px; font-size: 16px; }
  .hero { padding: 80px 0 56px; }
    .hero .mark { width: 140px; margin-bottom: 32px; }
  .hero h1 { max-width: 14ch; text-wrap: balance; }
  .hero .lead { margin-top: 20px; font-size: 20px; }
  .ctas { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
  .ctas .btn { width: auto; min-width: 190px; }
  .stack .row { gap: 16px 40px; }
  .stack .row svg, .stack .row img { height: 28px; }
  .tiles { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .tiles .tile { grid-column: span 2; padding: 24px 24px 26px; }
  .tiles.four .tile { grid-column: span 3; }
  .tile .ic { width: 48px; height: 48px; }
  .tile .ic svg { width: 26px; height: 26px; }
  .acc-btn { padding: 16px 20px; gap: 16px; min-height: 72px; } .acc-t { font-size: 18px; } .acc-in p, .acc-in ul { margin-left: 76px; margin-right: 20px; } .acc-in ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .wk .acc-btn { gap: 20px; } .wk .lg { width: 120px; height: 64px; } .wk .lg img { max-width: 120px; max-height: 64px; } .wk .chip { display: inline-block; margin-right: 8px; }
  .wk-in p { margin: 0 20px 16px 160px; max-width: 70ch; } .wk-gs { margin: 0 20px 0 160px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .wk-in .acc-in ul, .wk-g ul { margin: 0; padding: 0; border: 0; grid-template-columns: 1fr; } .wk-visit { margin: 20px 20px 22px 160px; }
  .acc { max-width: none; } .acc-in p { max-width: 70ch; }
  .nav { gap: 14px; } .hdr .btn { padding: 10px 16px; }
  .svc { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .svc .tile { padding: 20px 18px; }
  .work { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .work a { padding: 22px 20px 20px; }
  .work .logo { height: 80px; }
  .work .logo img, .work .logo svg { max-height: 52px; max-width: 150px; }
  .work .logo.tall img { max-height: 68px; }
  .deck-wrap { margin: 0; } .deck { padding: 8px 0 32px; margin-bottom: -12px; scroll-padding: 0; gap: 18px; } .rc { flex-basis: 320px; min-height: 400px; padding: 26px 24px 28px; }
  .deck-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
  .deck-b { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--hair); background: var(--white); color: var(--ink); font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: border-color .16s var(--ease), color .16s var(--ease); }
  .deck-b:hover { border-color: var(--blue); color: var(--blue); }
  .price { margin-top: 16px; padding: 28px 28px 30px; display: grid; grid-template-columns: 1fr 2fr; gap: 24px 40px; align-items: start; }
  .price-r { margin: 0; padding: 0; border: 0; grid-column: 2; grid-row: 1 / span 2; }
  .price .btn { width: auto; margin-top: 8px; grid-column: 1; justify-self: start; }
  .card { padding: 36px 36px 40px; }
  .f .row { grid-template-columns: 1fr 1fr; }
  .brief dl > div { grid-template-columns: 110px 1fr; }
  .f .btn { width: auto; min-width: 220px; justify-self: start; }
  .fb-meet { width: auto; }
  .cl-meet-acts { grid-template-columns: auto auto; justify-content: start; align-items: center; }
  .cl-meet-acts .btn { width: auto; }
  .cl-confirm-b { grid-template-columns: auto auto; justify-content: start; }
  .st-grid { grid-template-columns: repeat(4, 1fr); }
  .cb-tab { font-size: 12px; }
  html.has-bar .page, .page:has(.bb-nav) { padding-bottom: 0; } html.has-bar .page .ft, .page:has(.bb-nav) .ft { padding-bottom: calc(var(--bar-h, 108px) + 36px); }
  .ft .top { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .ft .brand, .ft-links { grid-column: 1 / -1; }
  .ft .brand { margin-bottom: 0 !important; }
  .ft-links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; width: 100%; }
  .ft .social { margin-top: 28px; }
  .ft-acc { border-top: 0; }
  .ft-acc-b { pointer-events: none; min-height: 0; margin-bottom: 10px; }
  .ft-acc-b .acc-x { display: none; }
  .ft-acc-p, .ft-acc-b[aria-expanded="false"] + .ft-acc-p { grid-template-rows: 1fr; visibility: visible; }
  .ft-acc-in > * { padding-bottom: 0; }
  .ft .brand .wm { font-size: 48px; }
  .ft .legal { margin-top: 40px; }
}

/* LEGAL: the policies, English and Arabic on one page, the toggle at the top */
.lang { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 22px; border: 1px solid var(--hair); border-radius: 16px; background: var(--white); }
.lang button { min-height: 44px; border: 0; border-radius: 12px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s var(--ease), color .2s var(--ease); }
.lang button[aria-selected="true"] { background: var(--blue); color: var(--white); }
.legal-meta { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.legal-doc h2 { font-size: 20px; line-height: 1.25; margin: 30px 0 10px; }
.legal-doc h3 { font-size: 17px; margin: 22px 0 8px; }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 16px; padding-left: 22px; }
.legal-doc li { margin: 0 0 6px; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--blue); }
.legal-doc blockquote { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--blue); border-radius: 0 var(--r-control) var(--r-control) 0; background: var(--blue-tint); }
.legal-doc blockquote p { margin: 0; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; display: block; overflow-x: auto; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; line-height: 1.5; }
.legal-doc th { color: var(--ink); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.legal-doc tr + tr td { border-top: 1px solid var(--hair); }
.legal-doc code { font-size: 14px; background: var(--ground-2); padding: 1px 6px; border-radius: 6px; }
.legal-doc ul.legal-list { padding: 0; margin: 0; }
.legal-list a { display: grid; gap: 4px; padding: 12px 0; text-decoration: none; color: var(--ink); }
.legal-list b { font-size: 17px; font-weight: 600; color: var(--blue); }
.legal-doc[lang="ar"] { font-family: -apple-system, "SF Arabic", "Segoe UI", "Noto Naskh Arabic", "Geeza Pro", system-ui, sans-serif; }
.legal-doc[lang="ar"] ul, .legal-doc[lang="ar"] ol { padding-left: 0; padding-right: 22px; }
.legal-doc[lang="ar"] th, .legal-doc[lang="ar"] td { text-align: right; padding: 10px 0 10px 12px; }
.legal-doc[lang="ar"] blockquote { border-left: 0; border-right: 3px solid var(--blue); border-radius: var(--r-control) 0 0 var(--r-control); }
.legal-doc[lang="ar"] h1, .legal-doc[lang="ar"] h2, .legal-doc[lang="ar"] h3 { letter-spacing: 0; }
.ft-policies { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin-bottom: 6px; }
@media (min-width: 760px) and (max-width: 1023px) { .ft-policies { max-width: 520px; margin-inline: auto; } }
.ft-policies a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
.ft-policies a:hover { color: var(--white); }
@media (min-width: 760px) { .lang { grid-template-columns: repeat(2, 160px); width: max-content; } }
.cl-links button, #clResend, [data-exit-cancel] { min-height: 44px; }
