/* app.css: Addanapp's design system (ink navy + warm paper; Instrument Serif headlines, Inter text, JetBrains Mono
   labels; violet = AI draft, green = human-validated), each page's styles, and at the end the native-Forms layer
   that gives Anvil's components (Buttons, Labels, boxes, dialogs, notifications) the same look.
   Button roles: aa-btn + accent / green / ghost / light / ghost-light / danger / sm / lg / block; aa-link.
   Label roles: t (plain text inside the old markup), chip + chip-<ai|human|accent|amber|red|ink|outline|mono|dot>. */
/* ==========================================================================
   Addanapp design system
   Ink navy + warm paper. Editorial serif headlines, Inter for reading,
   mono for labels. Violet = AI draft, green = human-validated.
   ========================================================================== */
:root {
  --ink: #0B1220;
  --ink-2: #131C2E;
  --ink-3: #1D2840;
  --text: #182031;
  --text-2: #3A4457;
  --muted: #5D6778;
  --faint: #646C7B;  /* 4.6:1 or better on every surface (was #8C94A3, 3:1) */
  --paper: #FAF9F5;
  --paper-2: #F3F1EA;
  --surface: #FFFFFF;
  --line: #E6E3DA;
  --line-2: #D6D2C6;
  --accent: #2F5BFF;
  --accent-d: #1E44D8;
  --accent-soft: #E9EEFF;
  --ai: #7A5CFA;
  --ai-soft: #F0ECFF;
  --human: #0E9F6E;
  --human-d: #08805A;
  --human-soft: #E2F5EC;
  --amber: #B7791F;
  --amber-soft: #FBF1DD;
  --red: #D14343;
  --red-soft: #FCE9E9;
  --slate-soft: #EEF0F4;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05), 0 1px 1px rgba(11, 18, 32, .03);
  --shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 8px 24px rgba(11, 18, 32, .07);
  --shadow-lg: 0 2px 6px rgba(11, 18, 32, .06), 0 28px 64px rgba(11, 18, 32, .16);
  --font-d: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-b: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-m: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --header-h: 68px;
  --wrap: 1200px;
  --gutter: 24px;
}
@media (max-width: 640px) { :root { --gutter: 16px; --header-h: 60px; } }
:root { --c-brand: var(--accent); --c-ink: var(--ink); --c-surface: var(--surface); --c-line: var(--line); }  /* the kit's names */
/* design-kit:start */
:root {
  /* easing: never ease-in on UI */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);      /* entering, exiting, most UI */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);  /* moving across the screen */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);   /* sheets, drawers */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);      /* one authored entrance */
  /* durations: UI stays under 300ms, exits faster than entrances */
  --dur-press: 140ms; --dur-fast: 180ms; --dur-base: 220ms; --dur-slow: 320ms; --dur-hero: 640ms;
  /* 4px spacing scale */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --measure: 65ch;
}

/* browser surfaces: the parts nobody draws */
::selection { background: color-mix(in srgb, var(--c-brand) 26%, transparent); color: inherit; }
html {
  accent-color: var(--c-brand); caret-color: var(--c-brand);
  scrollbar-color: color-mix(in srgb, var(--c-ink) 26%, transparent) transparent;
  -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { text-underline-offset: .2em; text-decoration-thickness: from-font; }
h1, h2, h3, h4, [role="heading"], .anvil-role-page-title { text-wrap: balance; }
p, li, dd, blockquote, figcaption { text-wrap: pretty; }
td, th, time, output, progress, .num, .tabular, [data-num] { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-brand) 60%, transparent); outline-offset: 2px; }

/* press feedback: pressable things answer the moment they're pressed */
:is(.ui-btn, .anvil-role-btn > button, a.anvil-role-btn, .kit-press) {
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, color var(--dur-fast) ease, opacity var(--dur-fast) ease,
              box-shadow var(--dur-fast) ease;
}
:is(.ui-btn, .anvil-role-btn > button, a.anvil-role-btn, .kit-press):active:not(:disabled) { transform: scale(.97); }

/* entrances: content is visible by default; these only add the arrival */
@keyframes kit-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes kit-pop { from { opacity: 0; transform: scale(.96); } }
@keyframes kit-fade { from { opacity: 0; } }
.kit-in { animation: kit-in var(--dur-slow) var(--ease-out) both; }
.kit-stagger > * { animation: kit-in var(--dur-slow) var(--ease-out) both; }
.kit-stagger > :nth-child(2) { animation-delay: 40ms; } .kit-stagger > :nth-child(3) { animation-delay: 80ms; }
.kit-stagger > :nth-child(4) { animation-delay: 120ms; } .kit-stagger > :nth-child(5) { animation-delay: 160ms; }
.kit-stagger > :nth-child(n+6) { animation-delay: 200ms; }

/* reduced motion = fewer and gentler, not none: movement goes, short fades that confirm a state stay */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kit-in, .kit-stagger > * { animation-name: kit-fade; animation-delay: 0ms !important; }
  :is(.ui-btn, .anvil-role-btn > button, a.anvil-role-btn, .kit-press):active:not(:disabled) { transform: none; }
}
/* design-kit:end */

html { font-size: 18px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (max-width: 640px) { html { font-size: 17px; } }
html, body { background: var(--paper); }
body {
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { color: var(--ink); margin: 0 0 .45em; line-height: 1.15; }
h1, h2, .display { font-family: var(--font-d); font-weight: 400; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; }
h3 { font-family: var(--font-b); font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
h4 { font-family: var(--font-b); font-size: 1rem; font-weight: 650; }
h1 em, h2 em, .display em { font-style: italic; }
p { margin: 0 0 1em; }
a { color: var(--accent-d); text-decoration: none; }
a:hover { color: var(--accent); }
strong, b { font-weight: 650; }
::selection { background: #CFDAFF; color: var(--ink); }
img, svg { max-width: 100%; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.mono { font-family: var(--font-m); font-size: .82em; letter-spacing: -0.01em; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Anvil resets ----------------------------------------------------------- */
.anvil-container, .html-templated-panel { font-family: var(--font-b); }
.anvil-spacing-above-small, .anvil-spacing-above-medium, .anvil-spacing-above-large { margin-top: 0 !important; }
.anvil-spacing-below-small, .anvil-spacing-below-medium, .anvil-spacing-below-large { margin-bottom: 0 !important; }
#appGoesHere { min-height: 100vh; }


/* Anvil modal + notifications */
.modal-backdrop.in { opacity: .55; background: var(--ink); }
.modal-content { border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-body { padding: 26px 28px; }
.modal-footer { border-top: 1px solid var(--line); padding: 14px 24px; }
.modal-header { border-bottom: 1px solid var(--line); padding: 18px 24px; }
.modal-title { font-weight: 650; }
.modal-footer .btn, .modal-dialog .btn {
  border-radius: 999px; font-family: var(--font-b); font-weight: 600; padding: 9px 18px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); box-shadow: none;
}
.modal-footer .btn:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 640px) {
  .modal-dialog { margin: 10px; }
  .modal-body { padding: 20px 18px; }
}
.anvil-notification, .notification { font-family: var(--font-b); }

/* ====================================================================== shell */
.aa-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.aa-shell { min-height: 100vh; display: flex; flex-direction: column; }
.aa-main { flex: 1 0 auto; }

.aa-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
/* The frosted glass sits on a layer behind the header: a backdrop-filter on the header itself
   would trap the full-screen mobile menu (position: fixed) inside the header bar. */
.aa-header::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
  background: rgba(250, 249, 245, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.mode-public .aa-header { border-bottom-color: rgba(255, 255, 255, .07); }
.mode-public .aa-header::before { background: rgba(11, 18, 32, .82); }
.aa-header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.aa-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 1.12rem; letter-spacing: -0.02em; flex-shrink: 0; }
.aa-brand:hover { color: var(--ink); }
.aa-brand :is(svg, .ic) { width: 30px; height: 30px; display: block; }
.aa-brand .word span { color: var(--faint); font-weight: 500; }
.mode-public .aa-brand, .mode-public .aa-brand:hover { color: #fff; }
.mode-public .aa-brand .word span { color: #7E8AA3; }

.aa-nav { display: flex; align-items: center; gap: 2px; }
.aa-nav a {
  color: var(--text-2); font-size: .92rem; font-weight: 500; padding: 8px 12px; border-radius: 999px;
  transition: background .15s, color .15s; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px;
}
.aa-nav a:hover { background: var(--paper-2); color: var(--ink); }
.aa-nav a.active { background: var(--ink); color: #fff; }
.aa-nav a .count { background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 999px; padding: 1px 7px; line-height: 1.5; }
.aa-nav a.active .count { background: #fff; color: var(--ink); }
.mode-public .aa-nav a { color: #C3CADA; }
.mode-public .aa-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mode-public .aa-nav a.active { background: rgba(255, 255, 255, .14); color: #fff; }
.aa-nav-app { display: none; }
.sm-only { display: none !important; }
.mode-app .aa-nav-public { display: none; }
.mode-app .public-only { display: none !important; }
.mode-app .aa-nav-app { display: flex; }

.aa-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.aa-header-actions .when-in, .aa-header-actions .when-out { display: flex; align-items: center; gap: 10px; }
.signed-in .when-out, .signed-out .when-in { display: none !important; }
:is(.aa-text-btn, .anvil-role-aa-text-btn > button) {
  background: none; border: 0; color: var(--text-2); font: 500 .92rem var(--font-b); padding: 8px 10px; cursor: pointer; border-radius: 999px;
}
:is(.aa-text-btn:hover, .anvil-role-aa-text-btn > button:hover) { color: var(--ink); background: var(--paper-2); }
.mode-public :is(.aa-text-btn, .anvil-role-aa-text-btn > button) { color: #C3CADA; }
.mode-public :is(.aa-text-btn:hover, .anvil-role-aa-text-btn > button:hover) { color: #fff; background: rgba(255, 255, 255, .08); }

.aa-me { position: relative; }
.aa-me-btn {
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 3px 10px 3px 3px; cursor: pointer;
  display: flex; align-items: center; gap: 8px; font: 600 .86rem var(--font-b); color: var(--ink);
}
.mode-public .aa-me-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.aa-me-btn .chev { font-size: .7rem; opacity: .6; }
.aa-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60;
}
.aa-me.open .aa-menu { display: block; animation: aa-pop .14s ease-out; }
.aa-menu .head { padding: 10px 12px 8px; }
.aa-menu .head b { display: block; color: var(--ink); }
.aa-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.aa-menu a, .aa-menu button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: var(--text); background: none; border: 0;
  font: 500 .92rem var(--font-b); cursor: pointer;
}
.aa-menu a:hover, .aa-menu button:hover { background: var(--paper-2); color: var(--ink); }
@keyframes aa-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Header groups: a link plus a small menu of its sub-sections (Work: products, films; Engagements: models, partners, deck).
   Desktop: opens on hover, or with the arrow button (touch, keyboard). Mobile menu: the sub-links are listed under the link. */
.aa-nav-grp { position: relative; display: flex; align-items: center; }
.aa-nav-grp > a { padding-right: 6px; }
.aa-nav-more {
  width: 24px; height: 30px; margin-left: -5px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--faint); display: inline-flex; align-items: center; justify-content: center; transition: color .15s, background .15s;
}
.aa-nav-more :is(svg, .ic) { transition: transform .15s; }
.mode-public .aa-nav-more { color: #8F9BB4; }
.aa-nav-more:hover, .mode-public .aa-nav-more:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.aa-sub {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60;
}
.aa-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }  /* keeps the hover alive on the way down */
.aa-nav-grp.open .aa-sub { display: block; animation: aa-pop .14s ease-out; }
.aa-nav-grp.open .aa-nav-more :is(svg, .ic) { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .aa-nav-grp:hover .aa-sub { display: block; animation: aa-pop .14s ease-out; }
  .aa-nav-grp:hover .aa-nav-more :is(svg, .ic) { transform: rotate(180deg); }
}
.aa-nav .aa-sub a, .mode-public .aa-nav .aa-sub a {
  display: flex; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .92rem; background: none;
}
.aa-nav .aa-sub a :is(svg, .ic) { color: var(--faint); flex: none; }
.aa-nav .aa-sub a:hover, .mode-public .aa-nav .aa-sub a:hover { background: var(--paper-2); color: var(--ink); }
.aa-nav .aa-sub a:hover :is(svg, .ic) { color: var(--accent); }
/* The highlighted header link wraps its arrow too. */
.aa-nav-grp:has(> a.active) { background: var(--ink); border-radius: 999px; }
.mode-public .aa-nav-grp:has(> a.active) { background: rgba(255, 255, 255, .14); }
.aa-nav-grp > a.active, .mode-public .aa-nav-grp > a.active { background: none; }
.aa-nav-grp:has(> a.active) .aa-nav-more { color: #fff; }
:is(.aa-text-btn, .anvil-role-aa-text-btn > button) { white-space: nowrap; }
/* French, Russian and Latvian labels are longer: a little less air between header items keeps them on one line in 1200px. */
@media (min-width: 1241px) {
  html[lang="fr"] .aa-header-inner, html[lang="ru"] .aa-header-inner, html[lang="lv"] .aa-header-inner { gap: 18px; }
  html[lang="fr"] .aa-nav-public > a, html[lang="ru"] .aa-nav-public > a, html[lang="lv"] .aa-nav-public > a,
  html[lang="fr"] .aa-nav-grp > a, html[lang="ru"] .aa-nav-grp > a, html[lang="lv"] .aa-nav-grp > a { padding-left: 9px; padding-right: 9px; }
  html[lang="fr"] .aa-nav-grp > a, html[lang="ru"] .aa-nav-grp > a, html[lang="lv"] .aa-nav-grp > a { padding-right: 4px; }
}

.aa-bell { position: relative; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); border: 1px solid var(--line-2); background: #fff; }
.aa-bell :is(svg, .ic) { width: 18px; height: 18px; }
.aa-bell .dot { position: absolute; top: -3px; right: -3px; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 700; min-width: 18px; height: 18px; line-height: 18px; border-radius: 9px; text-align: center; padding: 0 4px; border: 2px solid var(--paper); }
.mode-public .aa-bell { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }

.aa-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; position: relative; }
.aa-burger span, .aa-burger span::before, .aa-burger span::after {
  position: absolute; left: 11px; width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; content: ''; transition: transform .2s, top .2s, opacity .2s;
}
.aa-burger span { top: 19px; }
.aa-burger span::before { left: 0; top: -5px; }
.aa-burger span::after { left: 0; top: 5px; }
.mode-public .aa-burger { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.mode-public .aa-burger span, .mode-public .aa-burger span::before, .mode-public .aa-burger span::after { background: #fff; }
.nav-open .aa-burger span { background: transparent !important; }
.nav-open .aa-burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .aa-burger span::after { top: 0; transform: rotate(-45deg); }

/* language switcher (header) */
.aa-lang { position: relative; }
.aa-lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 600 .8rem var(--font-m); letter-spacing: .04em;
}
.aa-lang-btn :is(svg, .ic) { opacity: .75; flex-shrink: 0; }
.aa-lang-btn:hover { border-color: var(--ink); }
.mode-public .aa-lang-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.mode-public .aa-lang-btn:hover { border-color: rgba(255, 255, 255, .45); }
.aa-lang-menu { min-width: 200px; }
.aa-lang.open .aa-menu { display: block; animation: aa-pop .14s ease-out; }
.aa-lang-menu button { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.aa-lang-menu button .code { font: 500 .72rem var(--font-m); color: var(--faint); letter-spacing: .06em; }
.aa-lang-menu button.on { color: var(--ink); font-weight: 650; background: var(--paper-2); }
.aa-lang-menu button.on .code { color: var(--accent); }
.aa-footer .aa-lang-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 16px 0 0; }
.aa-footer .aa-lang-links :is(svg, .ic) { opacity: .7; }
.aa-footer .aa-lang-links a.on { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Russian: Instrument Serif has no Cyrillic, so headlines use PT Serif (loaded by the head script only for Russian). */
html[lang="ru"] { --font-d: 'PT Serif', 'Iowan Old Style', Georgia, serif; }
html[lang="ru"] h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); letter-spacing: -0.02em; }
html[lang="ru"] h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); letter-spacing: -0.02em; }
html[lang="fr"] h1, html[lang="lv"] h1 { font-size: clamp(2.4rem, 5.8vw, 4.6rem); }

/* In the mobile menu a header group is its link with the sub-links listed under it (no arrow, no pop-up). */
@media (max-width: 1020px) {
  .aa-nav-grp { flex-direction: column; align-items: stretch; }
  .aa-nav-grp > a { padding-right: 14px; }
  .aa-nav-more { display: none; }
  .aa-sub { display: flex !important; flex-direction: column; position: static; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none; background: none; animation: none !important; }
  .aa-sub::before { display: none; }
  .aa-nav .aa-sub a, .mode-public .aa-nav .aa-sub a { font-size: .98rem; padding: 10px 14px; color: #8F9BB4; }
  .aa-nav .aa-sub a:hover, .mode-public .aa-nav .aa-sub a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
}
@media (max-width: 1240px) {
  html[lang="fr"] .aa-nav-grp, html[lang="ru"] .aa-nav-grp, html[lang="lv"] .aa-nav-grp { flex-direction: column; align-items: stretch; }
  html[lang="fr"] .aa-nav-grp > a, html[lang="ru"] .aa-nav-grp > a, html[lang="lv"] .aa-nav-grp > a { padding-right: 14px; }
  html[lang="fr"] .aa-nav-more, html[lang="ru"] .aa-nav-more, html[lang="lv"] .aa-nav-more { display: none; }
  html[lang="fr"] .aa-sub, html[lang="ru"] .aa-sub, html[lang="lv"] .aa-sub { display: flex !important; flex-direction: column; position: static; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none; background: none; animation: none !important; }
  html[lang="fr"] .aa-sub::before, html[lang="ru"] .aa-sub::before, html[lang="lv"] .aa-sub::before { display: none; }
  html[lang="fr"] .aa-nav .aa-sub a, html[lang="ru"] .aa-nav .aa-sub a, html[lang="lv"] .aa-nav .aa-sub a { font-size: .98rem; padding: 10px 14px; color: #8F9BB4; }
  html[lang="fr"] .aa-nav .aa-sub a:hover, html[lang="ru"] .aa-nav .aa-sub a:hover, html[lang="lv"] .aa-nav .aa-sub a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
}

/* Translated nav labels are longer: switch to the burger menu a little earlier. */
@media (max-width: 1240px) {
  html[lang="fr"] .aa-burger, html[lang="ru"] .aa-burger, html[lang="lv"] .aa-burger { display: inline-block; }
  html[lang="fr"] .aa-nav, html[lang="ru"] .aa-nav, html[lang="lv"] .aa-nav {
    display: none !important; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 18px var(--gutter) 40px; overflow-y: auto;
    background: var(--paper); border-top: 1px solid var(--line);
  }
  html[lang="fr"] .mode-public .aa-nav, html[lang="ru"] .mode-public .aa-nav, html[lang="lv"] .mode-public .aa-nav { background: var(--ink); border-top-color: rgba(255, 255, 255, .08); }
  html[lang="fr"] .aa-nav a, html[lang="ru"] .aa-nav a, html[lang="lv"] .aa-nav a { font-size: 1.05rem; padding: 14px 14px; border-radius: 12px; }
  html[lang="fr"] .mode-public.nav-open .aa-nav-public, html[lang="ru"] .mode-public.nav-open .aa-nav-public, html[lang="lv"] .mode-public.nav-open .aa-nav-public,
  html[lang="fr"] .mode-app.nav-open .aa-nav-app, html[lang="ru"] .mode-app.nav-open .aa-nav-app, html[lang="lv"] .mode-app.nav-open .aa-nav-app { display: flex !important; animation: aa-pop .16s ease-out; }
  html[lang="fr"] .aa-nav a.sm-only, html[lang="ru"] .aa-nav a.sm-only, html[lang="lv"] .aa-nav a.sm-only { display: flex !important; }
  html[lang="fr"] .aa-nav a.sm-only.hidden, html[lang="ru"] .aa-nav a.sm-only.hidden, html[lang="lv"] .aa-nav a.sm-only.hidden { display: none !important; }
}

@media (max-width: 1020px) {
  .aa-burger { display: inline-block; }
  .aa-nav {
    display: none !important; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 18px var(--gutter) 40px; overflow-y: auto;
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .mode-public .aa-nav { background: var(--ink); border-top-color: rgba(255, 255, 255, .08); }
  .aa-nav a { font-size: 1.05rem; padding: 14px 14px; border-radius: 12px; }
  .mode-public.nav-open .aa-nav-public, .mode-app.nav-open .aa-nav-app { display: flex !important; animation: aa-pop .16s ease-out; }
  .aa-header-actions .hide-sm { display: none !important; }
  .aa-nav a.sm-only { display: flex !important; }
  .aa-nav a.sm-only.hidden { display: none !important; }
}
@media (max-width: 420px) {
  .aa-header-actions :is(.aa-btn.sm, .anvil-role-aa-btn.anvil-role-sm > button) { padding: 8px 12px; font-size: .84rem; }
  .aa-me-btn .nm, .aa-me-btn .chev { display: none; }
  .aa-me-btn { padding: 3px; }
  .aa-header-inner { gap: 12px; }
  .aa-header-actions { gap: 6px; }
  .aa-header-actions .when-in, .aa-header-actions .when-out { gap: 6px; }
  .aa-lang-btn { padding: 0 9px; gap: 4px; }
  .aa-lang-btn :is(svg, .ic) { display: none; }
}
@media (max-width: 400px) {
  .aa-header .aa-brand .word { display: none; }
}

/* footer */
.aa-footer { background: var(--ink); color: #A8B1C4; padding: 72px 0 34px; font-size: .92rem; }
.aa-footer a { color: #C9D0DE; }
.aa-footer a:hover { color: #fff; }
.aa-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.aa-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-m); font-weight: 500; margin-bottom: 14px; }
.aa-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.aa-footer .aa-brand { color: #fff; margin-bottom: 14px; }
.aa-footer .aa-brand .word span { color: #7E8AA3; }
.aa-footer address { font-style: normal; line-height: 1.7; }
.aa-footer .base { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 52px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #7E8AA3; }
.mode-app .aa-footer { padding: 26px 0; }
.mode-app .aa-footer .cols, .mode-app .aa-footer .base-top { display: none; }
.mode-app .aa-footer .base { margin-top: 0; border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .aa-footer .cols { grid-template-columns: 1fr 1fr; } .aa-footer .cols > :first-child { grid-column: 1 / -1; } }

/* ====================================================================== primitives */
:is(.aa-btn, .anvil-role-aa-btn > button) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 999px;
  font: 600 .95rem/1 var(--font-b); padding: 13px 22px; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .15s, box-shadow .15s, border-color .15s, color .15s; white-space: nowrap;
}
:is(.aa-btn:hover, .anvil-role-aa-btn > button:hover) { color: #fff; background: var(--ink-3); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11, 18, 32, .18); }
:is(.aa-btn:active, .anvil-role-aa-btn > button:active) { transform: translateY(0); }
:is(.aa-btn:disabled, .anvil-role-aa-btn > button:disabled), :is(.aa-btn.busy, .anvil-role-aa-btn.anvil-role-busy > button) { opacity: .55; pointer-events: none; }
:is(.aa-btn.accent, .anvil-role-aa-btn.anvil-role-accent > button) { background: var(--accent); border-color: var(--accent); }
:is(.aa-btn.accent:hover, .anvil-role-aa-btn.anvil-role-accent > button:hover) { background: var(--accent-d); border-color: var(--accent-d); box-shadow: 0 8px 22px rgba(47, 91, 255, .32); }
:is(.aa-btn.green, .anvil-role-aa-btn.anvil-role-green > button) { background: var(--human); border-color: var(--human); }
:is(.aa-btn.green:hover, .anvil-role-aa-btn.anvil-role-green > button:hover) { background: var(--human-d); border-color: var(--human-d); box-shadow: 0 8px 22px rgba(14, 159, 110, .3); }
:is(.aa-btn.ghost, .anvil-role-aa-btn.anvil-role-ghost > button) { background: transparent; color: var(--ink); border-color: var(--line-2); }
:is(.aa-btn.ghost:hover, .anvil-role-aa-btn.anvil-role-ghost > button:hover) { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: none; }
:is(.aa-btn.light, .anvil-role-aa-btn.anvil-role-light > button) { background: #fff; color: var(--ink); border-color: #fff; }
:is(.aa-btn.light:hover, .anvil-role-aa-btn.anvil-role-light > button:hover) { background: #EEF1F8; color: var(--ink); }
:is(.aa-btn.ghost-light, .anvil-role-aa-btn.anvil-role-ghost-light > button) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
:is(.aa-btn.ghost-light:hover, .anvil-role-aa-btn.anvil-role-ghost-light > button:hover) { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; box-shadow: none; }
:is(.aa-btn.danger, .anvil-role-aa-btn.anvil-role-danger > button) { background: #fff; color: var(--red); border-color: #F0C4C4; }
:is(.aa-btn.danger:hover, .anvil-role-aa-btn.anvil-role-danger > button:hover) { background: var(--red-soft); color: var(--red); box-shadow: none; }
:is(.aa-btn.sm, .anvil-role-aa-btn.anvil-role-sm > button) { padding: 9px 15px; font-size: .86rem; }
:is(.aa-btn.lg, .anvil-role-aa-btn.anvil-role-lg > button) { padding: 16px 28px; font-size: 1rem; }
:is(.aa-btn.block, .anvil-role-aa-btn.anvil-role-block > button) { width: 100%; }
:is(.aa-btn, .anvil-role-aa-btn > button) .arr { transition: transform .15s; }
:is(.aa-btn:hover, .anvil-role-aa-btn > button:hover) .arr { transform: translateX(3px); }
:is(.aa-link, .anvil-role-aa-link > button) { background: none; border: 0; padding: 0; color: var(--accent-d); font: inherit; font-weight: 600; cursor: pointer; }
:is(.aa-link:hover, .anvil-role-aa-link > button:hover) { color: var(--accent); text-decoration: underline; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-m); font-size: .74rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .eyebrow { color: #8F9BB4; }

:is(.chip, .anvil-role-chip) {
  display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: 999px; background: var(--slate-soft); color: var(--text-2); white-space: nowrap;
}
:is(.chip, .anvil-role-chip) .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
:is(.chip.ai, .anvil-role-chip.anvil-role-chip-ai) { background: var(--ai-soft); color: #5B3FD6; }
:is(.chip.human, .anvil-role-chip.anvil-role-chip-human) { background: var(--human-soft); color: var(--human-d); }
:is(.chip.accent, .anvil-role-chip.anvil-role-chip-accent) { background: var(--accent-soft); color: var(--accent-d); }
:is(.chip.amber, .anvil-role-chip.anvil-role-chip-amber) { background: var(--amber-soft); color: #94600F; }
:is(.chip.red, .anvil-role-chip.anvil-role-chip-red) { background: var(--red-soft); color: var(--red); }
:is(.chip.ink, .anvil-role-chip.anvil-role-chip-ink) { background: var(--ink); color: #fff; }
:is(.chip.outline, .anvil-role-chip.anvil-role-chip-outline) { background: transparent; border: 1px solid var(--line-2); }
:is(.chip.mono, .anvil-role-chip.anvil-role-chip-mono) { font-family: var(--font-m); font-weight: 500; letter-spacing: 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 24px; }
@media (max-width: 640px) { .card-pad { padding: 18px; } }

.progress { height: 6px; border-radius: 999px; background: var(--slate-soft); overflow: hidden; position: relative; }
.progress > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #5C7CFF); transition: width .6s cubic-bezier(.2, .7, .3, 1); }
.progress.done > i { background: var(--human); }

.av {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 650;
  flex-shrink: 0; letter-spacing: -0.02em; background: var(--ink-3);
}
.av.admin { background: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--human); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ====================================================================== landing */
.lp section { position: relative; }
.lp-sec { padding: 120px 0; }
.lp-sec.tight { padding: 88px 0; }
@media (max-width: 760px) { .lp-sec { padding: 76px 0; } .lp-sec.tight { padding: 60px 0; } }
.lp-head { max-width: 760px; margin-bottom: 56px; }
.lp-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-head.center .eyebrow { justify-content: center; }
.lp-head p.lead { font-size: 1.14rem; color: var(--text-2); max-width: 640px; }
.lp-head.center p.lead { margin-left: auto; margin-right: auto; }
.on-dark { background: var(--ink); color: #C3CADA; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lead { color: #B3BCCE !important; }
.lp-alt { background: var(--paper-2); }

/* hero */
.lp-hero { background: var(--ink); color: #C3CADA; padding: 96px 0 0; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + 88px); }
.lp-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.lp-hero::after {
  content: ''; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; pointer-events: none;
  background: radial-gradient(circle, rgba(47, 91, 255, .30), rgba(122, 92, 250, .12) 40%, transparent 68%);
}
.lp-hero .grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.lp-hero h1 { color: #fff; margin-bottom: 26px; }
/* rolling cover: "We build <web apps / client portals / admin panels / data platforms>" and the mock's request changes with it */
.lp-we { display: flex; flex-wrap: wrap; gap: 0 .35em; font: 700 clamp(1.15rem, 2.2vw, 1.5rem)/1.25 var(--font-d); color: #C3CADA; margin: -8px 0 14px; }
.lp-roll { display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; }
.lp-roll span { display: block; height: 1.25em; white-space: nowrap; animation: aa-roll 12s cubic-bezier(.7, 0, .3, 1) infinite;
  color: #B9C6FF; }
@keyframes aa-roll { 0%, 22% { transform: translateY(0); } 25%, 47% { transform: translateY(-100%); } 50%, 72% { transform: translateY(-200%); } 75%, 97% { transform: translateY(-300%); } 100% { transform: translateY(-400%); } }
.lp-reqs { display: grid; }
.lp-reqs .req { grid-area: 1 / 1; opacity: 0; animation: aa-req 12s infinite; }
.lp-reqs .req:nth-child(2) { animation-delay: 3s; } .lp-reqs .req:nth-child(3) { animation-delay: 6s; } .lp-reqs .req:nth-child(4) { animation-delay: 9s; }
@keyframes aa-req { 0% { opacity: 0; transform: translateY(6px); } 3%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lp-roll span, .lp-reqs .req { animation: none; } .lp-reqs .req:first-child { opacity: 1; } }
.lp-hero h1 em { color: #C5B6FF; padding-right: .06em; }
.lp-hero .sub { font-size: 1.16rem; line-height: 1.65; color: #B3BCCE; max-width: 560px; margin-bottom: 34px; }
.lp-hero .sub b { color: #fff; font-weight: 600; }
.lp-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.lp-hero .assure { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; color: #9AA5BC; }
.lp-hero .assure span { display: inline-flex; align-items: center; gap: 8px; }
.lp-hero .assure :is(svg, .ic) { width: 16px; height: 16px; color: #6FD6AE; flex-shrink: 0; }
.lp-hero .tag-loc { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: #C3CADA; margin-bottom: 26px; }
.lp-hero .tag-loc b { background: var(--human); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; }
.lp-hero .grid > *, .lp-ws > *, .lp-local > *, .lp-contact > *, .lp-faq > *, .nr > * { min-width: 0; }
@media (max-width: 980px) { .lp-hero .grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 640px) { .lp-hero { padding-top: calc(var(--header-h) + 48px); } .lp-hero .sub { font-size: 1.04rem; } .lp-hero .ctas :is(.aa-btn, .anvil-role-aa-btn > button) { flex: 1 1 auto; } }

/* hero product mock */
.lp-mock { position: relative; }
.lp-mock .win {
  background: #fff; border-radius: 18px; box-shadow: 0 40px 100px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; color: var(--text);
  transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transform-origin: left center;
}
@media (max-width: 980px) { .lp-mock .win { transform: none; } }
.lp-mock .bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.lp-mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2DFD6; }
.lp-mock .bar .url { margin-left: 10px; font-family: var(--font-m); font-size: .72rem; color: var(--faint); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; flex: 1; max-width: 260px; }
.lp-mock .body { padding: 20px 22px 22px; }
.lp-mock .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.lp-mock .top :is(h4, .req-t) { font-size: 1.02rem; margin: 4px 0 0; font-weight: 650; color: var(--ink); line-height: 1.3; }
.lp-mock .meta { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); margin: 8px 0 18px; }
.lp-mock .tl { display: grid; gap: 10px; }
.lp-mock .ev { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; opacity: 0; transform: translateY(8px); animation: aa-ev .55s cubic-bezier(.2, .7, .3, 1) forwards; }
.lp-mock .ev:nth-child(1) { animation-delay: .5s; } .lp-mock .ev:nth-child(2) { animation-delay: 1.1s; }
.lp-mock .ev:nth-child(3) { animation-delay: 1.7s; } .lp-mock .ev:nth-child(4) { animation-delay: 2.3s; }
@keyframes aa-ev { to { opacity: 1; transform: none; } }
.lp-mock .ev .evi { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.lp-mock .ev .evi :is(svg, .ic) { width: 15px; height: 15px; }
.lp-mock .ev .evi.ai { background: var(--ai-soft); color: var(--ai); }
.lp-mock .ev .evi.human { background: var(--human-soft); color: var(--human); }
.lp-mock .ev .evi.accent { background: var(--accent-soft); color: var(--accent); }
.lp-mock .ev .evi.slate { background: var(--slate-soft); color: var(--muted); }
.lp-mock .ev .t { font-size: .84rem; line-height: 1.45; color: var(--text-2); }
.lp-mock .ev .t b { color: var(--ink); display: block; font-size: .86rem; }
.lp-mock .ev .t .when { font-size: .72rem; color: var(--faint); font-family: var(--font-m); }
.lp-mock .cta-row { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.lp-mock .stamp {
  position: absolute; left: -30px; bottom: -34px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--text-2); animation: aa-float 5s ease-in-out infinite; max-width: 230px;
}
.lp-mock .stamp .seal { width: 36px; height: 36px; border-radius: 50%; background: var(--human); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-mock .stamp .seal :is(svg, .ic) { width: 18px; height: 18px; }
.lp-mock .stamp b { color: var(--ink); display: block; font-size: .84rem; }
@keyframes aa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 980px) { .lp-mock .stamp { position: relative; left: auto; bottom: auto; margin: 14px 0 0; max-width: none; animation: none; box-shadow: 0 12px 30px rgba(0,0,0,.3); } }

/* proof strip */
.lp-proof { position: relative; z-index: 1; margin-top: 88px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0 30px; }
.lp-proof .pin { display: flex; align-items: center; gap: 32px; }
.lp-proof .lbl { font-family: var(--font-m); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #7E8AA3; white-space: nowrap; }
.lp-proof .marquee { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-proof .track { display: flex; gap: 52px; width: max-content; animation: aa-marquee 38s linear infinite; }
.lp-proof .track a { color: #D3D9E6; font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; white-space: nowrap; opacity: .82; display: inline-flex; align-items: center; gap: 9px; }
.lp-proof .track a:hover { opacity: 1; color: #fff; }
.lp-proof .track a i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.lp-proof:hover .track { animation-play-state: paused; }
@keyframes aa-marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .lp-proof .pin { flex-direction: column; align-items: flex-start; gap: 14px; } .lp-proof .marquee { width: 100%; } }

/* compare */
.lp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.lp-compare .col { padding: 34px 36px; }
.lp-compare .col.them { background: var(--paper); border-right: 1px solid var(--line); }
.lp-compare .col.us { background: #fff; position: relative; }
.lp-compare .col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 1rem; }
.lp-compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.lp-compare li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--text-2); }
.lp-compare li b { color: var(--ink); display: block; font-weight: 600; }
.lp-compare li :is(svg, .ic) { width: 20px; height: 20px; margin-top: 2px; }
.lp-compare .them li :is(svg, .ic) { color: #B4AEA0; }
.lp-compare .them li { color: var(--muted); }
.lp-compare .them li b { color: var(--text-2); }
.lp-compare .us li :is(svg, .ic) { color: var(--human); }
@media (max-width: 820px) { .lp-compare { grid-template-columns: 1fr; } .lp-compare .col.them { border-right: 0; border-bottom: 1px solid var(--line); } .lp-compare .col { padding: 26px 22px; } }

/* method pipeline */
.lp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; position: relative; }
.lp-step { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 24px 20px 22px; position: relative; }
.lp-step .num { font-family: var(--font-m); font-size: .74rem; color: #7E8AA3; margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; }
.lp-step h3 { color: #fff; font-size: 1.04rem; margin-bottom: 8px; }
.lp-step p { font-size: .9rem; color: #A9B2C5; margin: 0; line-height: 1.55; }
.lp-step .who { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; text-transform: none; letter-spacing: 0; font-family: var(--font-b); }
.lp-step .who.h { background: rgba(14, 159, 110, .16); color: #6FD6AE; }
.lp-step .who.a { background: rgba(122, 92, 250, .2); color: #BBA9FF; }
.lp-step .who.c { background: rgba(47, 91, 255, .2); color: #A8BAFF; }
.lp-step.hl { background: linear-gradient(160deg, rgba(14, 159, 110, .16), rgba(14, 159, 110, .04)); border-color: rgba(111, 214, 174, .3); }
.lp-step .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 18px; }
.lp-step .ico :is(svg, .ic) { width: 20px; height: 20px; }
@media (max-width: 1080px) { .lp-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .lp-steps { grid-template-columns: 1fr; } .lp-step .num { margin-bottom: 14px; } }

.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .1); }
.lp-stat { padding: 30px 24px 0 0; }
.lp-stat .v { font-family: var(--font-d); font-size: clamp(2.4rem, 4vw, 3.4rem); color: #fff; line-height: 1; margin-bottom: 10px; }
.lp-stat .v small { font-size: .5em; color: #8F9BB4; margin-left: 4px; }
.lp-stat .l { font-size: .9rem; color: #A9B2C5; max-width: 220px; }
@media (max-width: 820px) { .lp-stats { grid-template-columns: 1fr 1fr; gap: 0 18px; } }

/* services */
.lp-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.lp-svc .s { background: #fff; padding: 30px 28px 32px; transition: background .2s; }
.lp-svc .s:hover { background: #FDFDFB; }
.lp-svc .s .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--ink); }
.lp-svc .s .ico :is(svg, .ic) { width: 22px; height: 22px; }
.lp-svc .s h3 { margin-bottom: 8px; }
.lp-svc .s p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.lp-svc .s .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-svc .s .tags span { font-family: var(--font-m); font-size: .7rem; color: var(--muted); background: var(--paper); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
@media (max-width: 980px) { .lp-svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lp-svc { grid-template-columns: 1fr; } .lp-svc .s { padding: 24px 20px; } }

/* work / portfolio */
.lp-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 30px; }
.lp-filter button { border: 1px solid var(--line-2); background: #fff; color: var(--text-2); font: 500 .88rem var(--font-b); padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.lp-filter button:hover { border-color: var(--ink); color: var(--ink); }
.lp-filter button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.lp-filter button .n { font-family: var(--font-m); font-size: .72rem; opacity: .85; margin-left: 4px; }
/* featured case studies */
.pf-spots { display: grid; gap: 26px; margin-bottom: 40px; }
.pf-spot { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.pf-spot.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.pf-spot.flip .shot { order: 2; }
.pf-spot .shot { display: flex; align-items: center; justify-content: center; min-height: 380px; }
.pf-spot .shot :is(svg, .ic) { width: 100%; height: 100%; display: block; }
.pf-spot .txt { padding: 40px 44px 36px; display: flex; flex-direction: column; min-width: 0; }
.pf-spot h3 { font-size: 1.02rem; font-weight: 600; color: var(--text-2); margin: 0 0 6px; }
.pf-spot .hook { font-family: var(--font-d); font-size: 2.05rem; line-height: 1.08; color: var(--ink); letter-spacing: -.01em; margin: 0 0 14px; }
.pf-spot p { font-size: .95rem; color: var(--muted); margin: 0 0 18px; }
.pf-spot .foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* shared bits */
.pf-cat { font-family: var(--font-m); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pf-cat .live { color: var(--human-d); text-transform: none; letter-spacing: 0; display: inline-flex; align-items: center; gap: 7px; }
.pf-cat .live::before, .pf-row .dm.live::before { content: ''; width: 6px; height: 6px; background: var(--human); border-radius: 50%; box-shadow: 0 0 0 3px rgba(14, 159, 110, .16); flex: none; }
.pf-spots .new, .pf-index .new { font-family: var(--font-m); font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 2px 7px; border-radius: 999px; line-height: 1.5; }
.pf-built { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; font-size: .88rem; color: var(--text-2); }
.pf-built :is(li, .tk) { display: grid; grid-template-columns: 16px 1fr; gap: 9px; }
.pf-built :is(svg, .ic) { width: 14px; height: 14px; color: var(--human); margin-top: 4px; }
.pf-spots .tags, .pf-index .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-spots .tags span, .pf-index .tags span { font-size: .72rem; font-weight: 600; color: var(--text-2); background: var(--paper-2); padding: 4px 9px; border-radius: 999px; }
.pf-visit { white-space: nowrap; }
.pf-soon { font-family: var(--font-m); font-size: .74rem; color: var(--amber); }

/* the index */
.pf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.pf-head :is(h2, h3) { font-family: var(--font-d); font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--ink); margin: 0; }
.pf-count { font-family: var(--font-m); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pf-index .lp-filter { margin-bottom: 26px; }
.pf-list { border-top: 1px solid var(--line-2); min-width: 0; }
.pf-group { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-m); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 26px 10px 10px; border-bottom: 1px solid var(--line-2); }
.pf-list > .pf-group:first-child { padding-top: 16px; }
.pf-row { display: grid; grid-template-columns: 34px minmax(130px, 196px) minmax(0, 1fr) 18px; grid-template-areas: "ic nm ln go"; align-items: center; column-gap: 16px; padding: 13px 10px; border-bottom: 1px solid var(--line); color: var(--text); cursor: pointer; transition: background .15s; border-radius: 0; }
.pf-row:hover, .pf-row.hot { background: #fff; color: var(--text); }
.pf-row .pic { grid-area: ic; width: 34px; height: 34px; border-radius: 10px; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .88rem; box-shadow: inset 0 0 0 1px rgba(11, 18, 32, .08); }
.pf-row .nm { grid-area: nm; display: flex; align-items: center; gap: 8px; min-width: 0; }
.pf-row .nm b { font-weight: 600; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-row .ln { grid-area: ln; color: var(--muted); font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-row .tg, .pf-row .dm { display: none; }
.pf-row .go { grid-area: go; color: var(--faint); font-size: .95rem; justify-self: end; transition: transform .15s, color .15s; }
.pf-row:hover .go, .pf-row.hot .go { color: var(--accent); transform: translate(2px, -2px); }
.pf-index .gone { display: none !important; }

/* work page: rows open in place */
.pf-index.detailed .pf-row { grid-template-columns: 34px minmax(130px, 190px) minmax(0, 1fr) minmax(0, 210px) 170px 22px; grid-template-areas: "ic nm ln tg dm go"; }
.pf-index.detailed .pf-row .tg { grid-area: tg; display: block; font-size: .8rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-row .dm { grid-area: dm; font-family: var(--font-m); font-size: .74rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; align-items: center; gap: 8px; }
.pf-index.detailed .pf-row .dm { display: inline-flex; }
.pf-row .dm.soon { color: var(--amber); }
.pf-item > summary { list-style: none; }
.pf-item > summary::-webkit-details-marker { display: none; }
.pf-item > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pf-row .plus { position: relative; width: 14px; height: 14px; }
.pf-row .plus::before, .pf-row .plus::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s; }
.pf-row .plus::after { transform: rotate(90deg); }
.pf-item[open] .pf-row .plus::after { transform: rotate(0deg); }
.pf-index.detailed .pf-row:hover .go, .pf-item[open] .pf-row .go { transform: none; color: var(--accent); }
.pf-item[open] > .pf-row { background: #fff; border-bottom-color: transparent; }
.pf-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding: 8px 10px 34px 60px; background: #fff; border-bottom: 1px solid var(--line); }
.pf-body .shot { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; display: flex; border: 1px solid var(--line); }
.pf-body .shot :is(svg, .ic) { width: 100%; height: 100%; display: block; }
.pf-body p { font-size: .95rem; color: var(--text-2); margin: 4px 0 18px; }
.pf-body .lbl { font-family: var(--font-m); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.pf-body .foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .pf-index.detailed .pf-row { grid-template-columns: 34px minmax(120px, 170px) minmax(0, 1fr) 160px 22px; grid-template-areas: "ic nm ln dm go"; }
  .pf-index.detailed .pf-row .tg { display: none; }
}
@media (max-width: 880px) {
  .pf-spot, .pf-spot.flip { grid-template-columns: minmax(0, 1fr); }
  .pf-spot.flip .shot { order: 0; }
  .pf-spot .shot { min-height: 0; aspect-ratio: 16 / 10; }
  .pf-spot .txt { padding: 28px 26px 26px; }
  .pf-index.detailed .pf-row { grid-template-columns: 34px minmax(110px, 150px) minmax(0, 1fr) 22px; grid-template-areas: "ic nm ln go"; }
  .pf-index.detailed .pf-row .dm { display: none; }
  .pf-body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 4px 10px 28px; }
}
@media (max-width: 640px) {
  .pf-spots { gap: 18px; margin-bottom: 28px; }
  .pf-spot { border-radius: 18px; }
  .pf-spot .txt { padding: 22px 20px 22px; }
  .pf-spot .hook { font-size: 1.7rem; }
  .pf-spot .pf-built { display: none; }
  .pf-spot .foot { align-items: flex-start; }
  .pf-head h3 { font-size: 1.6rem; }
  .pf-index .lp-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .pf-index .lp-filter::-webkit-scrollbar { display: none; }
  .pf-index .lp-filter button { flex: none; }
  .pf-row, .pf-index.detailed .pf-row { grid-template-columns: 34px minmax(0, 1fr) 18px; grid-template-areas: "ic nm go" "ic ln go"; row-gap: 2px; padding: 12px 4px; align-items: start; }
  .pf-row .pic { margin-top: 2px; }
  .pf-row .go { align-self: center; }
  .pf-row .ln { font-size: .86rem; }
  .pf-group { padding-left: 4px; padding-right: 4px; }
  .pf-body { padding: 0 4px 24px; }
}

/* real screenshots in a browser frame ('art': 'shot'), drawn to match the SVG previews (400 x 250 canvas) */
.pf-screen { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; align-self: center; }
.pf-screen .win { position: absolute; left: 7%; right: 7%; top: 8.8%; bottom: -8%; background: #fff; border-radius: 3cqw 3cqw 0 0; box-shadow: 0 .5cqw 0 rgba(11, 18, 32, .07), 0 2cqw 6cqw rgba(11, 18, 32, .12); overflow: hidden; display: flex; flex-direction: column; }
.pf-screen .bar { flex: none; position: relative; height: 5cqw; background: #F4F3EF; display: flex; align-items: center; gap: 1.5cqw; padding: 0 2.8cqw; }
.pf-screen .bar i { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: #DDD9CF; }
.pf-screen .bar span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 99px; padding: 0 3cqw; font: 500 1.6cqw/2.75cqw var(--font-b); color: #646C7B; white-space: nowrap; }
.pf-screen img { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top center; }
.pf-spot .shot .pf-screen, .pf-body .shot .pf-screen { flex: none; }

/* film + visit links under a project */
.pf-acts { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.pf-watch { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.pf-watch :is(svg, .ic) { color: #FF0033; flex: none; }
.pf-watch:hover { color: var(--ink); }
.pf-watch:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* home page: link to the full index + shuffle */
.pf-more { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pf-more :is(.aa-btn, .anvil-role-aa-btn > button) :is(svg, .ic) { margin-right: 2px; }

/* YouTube channel */
.lp-yt .yt-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.lp-yt .eyebrow::before { display: none; }
.lp-yt .yt-logo { flex: none; }
.lp-yt h2 em { color: #C5B6FF; padding-right: .06em; }
.lp-yt .lead { font-size: 1.12rem; max-width: 520px; margin-bottom: 28px; }
.lp-yt .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-yt .yt-handle { font-family: var(--font-m); font-size: .78rem; letter-spacing: .04em; color: #8F9BB4; margin: 18px 0 0; }
.yt-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .1); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-cover { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.yt-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, filter .3s; }
.yt-cover:hover img { transform: scale(1.02); filter: brightness(.92); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); transition: transform .2s; }
.yt-cover:hover .yt-play, .yt-cover:focus-visible .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-cover:focus-visible { outline: 3px solid #9DB2FF; outline-offset: -3px; }
.yt-len { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .78); color: #fff; font: 600 .78rem var(--font-m); padding: 3px 7px; border-radius: 5px; }
.yt-note { font-size: .8rem; color: #8F9BB4; margin: 12px 2px 0; }
@media (max-width: 900px) { .lp-yt .yt-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 640px) { .yt-frame { border-radius: 14px; } .yt-play :is(svg, .ic) { width: 56px; height: 40px; } }

/* partner deck download */
.lp-partner { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); }
.lp-partner .cover { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px rgba(11, 18, 32, .22); transform: rotate(-1.5deg); transition: transform .25s; }
.lp-partner .cover:hover { transform: rotate(0deg) scale(1.01); }
.lp-partner .cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-partner .txt { padding: 8px 12px 8px 0; min-width: 0; }
.lp-partner h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
.lp-partner h2 em { color: var(--accent-d); }
.lp-partner p { color: var(--text-2); font-size: 1.02rem; max-width: 600px; margin: 0 0 22px; }
.lp-partner .dl { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.lp-partner .meta { font-family: var(--font-m); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
/* "Other languages: ..." under the deck download and the film */
.aa-langs { font-size: .86rem; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.aa-langs .lbl { font-family: var(--font-m); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.aa-langs a { color: var(--accent-d); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.aa-langs a:hover { text-decoration-color: currentColor; }
.aa-langs .sep { color: var(--faint); }
.lp-partner .aa-langs { margin: 16px 0 0; max-width: none; font-size: .86rem; color: var(--muted); }
.lp-yt .aa-langs { margin: 6px 2px 0; font-size: .86rem; color: #8F9BB4; }
.lp-yt .aa-langs a { color: #C9D3FF; }
.lp-yt .aa-langs .sep { color: #56627D; }
.yt-more { display: flex; gap: 16px; align-items: center; width: 100%; margin: 22px 0 0; padding: 12px; text-align: left; cursor: pointer; font: inherit; color: #C3CCE0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; transition: background .2s, border-color .2s; }
.yt-more:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); }
.yt-more:focus-visible { outline: 3px solid #9DB2FF; outline-offset: 2px; }
.yt-thumb { position: relative; flex: none; width: 168px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #000; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-thumb .yt-len { right: 6px; bottom: 6px; font-size: .7rem; padding: 2px 5px; }
.yt-more-t { display: flex; flex-direction: column; gap: 3px; font-size: .9rem; line-height: 1.45; }
.yt-more-t .k { font-family: var(--font-m); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #8EE3C1; }
.yt-more-t b { color: #fff; font-size: 1.02rem; font-weight: 600; }
@media (max-width: 520px) { .yt-more { flex-direction: column; align-items: stretch; } .yt-thumb { width: 100%; } }
@media (max-width: 640px) { .lp-partner .dl :is(.aa-btn, .anvil-role-aa-btn > button) { max-width: 100%; white-space: normal; text-align: center; justify-content: center; height: auto; line-height: 1.3; } }
@media (max-width: 900px) { .lp-partner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 20px; } .lp-partner .txt { padding: 0 4px 6px; } .lp-partner .cover { transform: none; } }

/* workspace showcase */
.lp-ws { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.lp-ws .pts { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 18px; }
.lp-ws .pts li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.lp-ws .pts li .i { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.lp-ws .pts li .i :is(svg, .ic) { width: 18px; height: 18px; }
.lp-ws .pts li b { display: block; color: var(--ink); }
.lp-ws .pts li span { color: var(--muted); font-size: .94rem; }
.lp-ws .tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.lp-ws .tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: 600 .86rem var(--font-b); color: var(--muted); cursor: pointer; }
.lp-ws .tabs button.on { background: var(--ink); color: #fff; }
.lp-ws .panel { display: none; }
.lp-ws .panel.on { display: block; animation: aa-pop .25s ease-out; }
@media (max-width: 980px) { .lp-ws { grid-template-columns: 1fr; gap: 40px; } }

.mini-app { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: .86rem; }
.mini-app .hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); gap: 10px; }
.mini-app .hd b { color: var(--ink); }
.mini-app .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px 18px 6px; }
.mini-app .tile { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mini-app .tile .v { font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.mini-app .tile .l { font-size: .7rem; color: var(--muted); }
.mini-app .rows { padding: 10px 18px 18px; display: grid; gap: 8px; }
.mini-app .row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; }
.mini-app .row .ttl { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-app .row .sub { font-size: .74rem; color: var(--faint); }
.mini-app .row .progress { margin-top: 6px; }
.mini-app .ref { font-family: var(--font-m); font-size: .72rem; color: var(--faint); white-space: nowrap; }
.mini-app .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 18px 18px; }
.mini-app .colk { background: var(--paper); border-radius: 12px; padding: 10px; min-height: 180px; }
.mini-app .colk :is(h5, .colh) { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 2px 2px 10px; display: flex; justify-content: space-between; }
.mini-app .kc { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; font-size: .78rem; }
.mini-app .kc b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.mini-app .note-box { margin: 0 18px 18px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.mini-app .note-box .ph { color: var(--faint); font-size: .8rem; margin-bottom: 10px; }
@media (max-width: 560px) { .mini-app .tiles { grid-template-columns: 1fr 1fr; } .mini-app .cols { grid-template-columns: 1fr 1fr; } .mini-app .cols .colk:last-child { display: none; } }

/* engagements */
.lp-eng { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-eng .e { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.lp-eng .e.feat { background: var(--ink); border-color: var(--ink); color: #B3BCCE; box-shadow: var(--shadow-lg); }
.lp-eng .e.feat h3, .lp-eng .e.feat .price { color: #fff; }
.lp-eng .e .badge { position: absolute; top: 22px; right: 22px; }
.lp-eng .e .k { font-family: var(--font-m); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.lp-eng .e.feat .k { color: #8F9BB4; }
.lp-eng .e h3 { font-family: var(--font-d); font-weight: 400; font-size: 2rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.lp-eng .e .price { font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.lp-eng .e p { font-size: .94rem; color: var(--muted); }
.lp-eng .e.feat p { color: #A9B2C5; }
.lp-eng .e ul { list-style: none; padding: 0; margin: 10px 0 28px; display: grid; gap: 10px; font-size: .92rem; }
.lp-eng .e li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.lp-eng .e li :is(svg, .ic) { width: 16px; height: 16px; color: var(--human); margin-top: 4px; }
.lp-eng .e.feat li :is(svg, .ic) { color: #6FD6AE; }
.lp-eng .e :is(.aa-btn, .anvil-role-aa-btn > button) { margin-top: auto; }
@media (max-width: 980px) { .lp-eng { grid-template-columns: 1fr; } }

/* commitments */
.lp-commit { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-commit .c { padding: 30px 22px; border-right: 1px solid var(--line); }
.lp-commit .c:last-child { border-right: 0; }
.lp-commit .c :is(svg, .ic) { width: 24px; height: 24px; color: var(--ink); margin-bottom: 14px; }
.lp-commit .c b { display: block; color: var(--ink); margin-bottom: 6px; font-weight: 650; }
.lp-commit .c span { font-size: .88rem; color: var(--muted); }
@media (max-width: 1020px) { .lp-commit { grid-template-columns: 1fr 1fr; } .lp-commit .c { border-bottom: 1px solid var(--line); } .lp-commit .c:nth-child(2n) { border-right: 0; } .lp-commit .c:last-child { grid-column: 1 / -1; border-bottom: 0; } }

/* quote / montreal */
.lp-local { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lp-local blockquote { margin: 0; font-family: var(--font-d); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; color: var(--ink); }
.lp-local blockquote em { color: var(--accent-d); }
.lp-local .fr { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.lp-local .fr h3 { font-family: var(--font-d); font-weight: 400; font-size: 1.6rem; margin-bottom: 10px; }
.lp-local .fr p { color: var(--text-2); font-size: .95rem; }
@media (max-width: 900px) { .lp-local { grid-template-columns: 1fr; gap: 36px; } }

/* faq */
.lp-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.lp-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.lp-faq details:first-child { border-top: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; color: var(--ink); font-size: 1.04rem; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; color: var(--muted); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq details p { color: var(--text-2); padding-right: 40px; margin-bottom: 20px; }
@media (max-width: 900px) { .lp-faq { grid-template-columns: 1fr; gap: 20px; } }

/* contact */
.lp-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.lp-contact .ways { display: grid; gap: 14px; margin-top: 30px; }
.lp-contact .way { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; color: #C3CADA; }
.lp-contact .way .i { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: flex; align-items: center; justify-content: center; color: #fff; }
.lp-contact .way .i :is(svg, .ic) { width: 18px; height: 18px; }
.lp-contact .way b { color: #fff; display: block; font-weight: 600; }
.lp-contact .way a { color: #C3CADA; }
.lp-contact .way a:hover { color: #fff; }
.lp-form { background: #fff; border-radius: 20px; padding: 32px; color: var(--text); box-shadow: var(--shadow-lg); }
.on-dark .lp-form h3, .on-dark .lp-form h4 { color: var(--ink); }
.lp-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-form .ok { text-align: center; padding: 40px 10px; }
.lp-form .ok .seal { width: 64px; height: 64px; border-radius: 50%; background: var(--human); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.lp-form .ok .seal :is(svg, .ic) { width: 30px; height: 30px; }
@media (max-width: 900px) { .lp-contact { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .lp-form { padding: 22px 18px; } .lp-form .row2 { grid-template-columns: 1fr; gap: 0; } }

/* final band */
.lp-final { text-align: center; }
.lp-final h2 { max-width: 820px; margin: 0 auto 20px; }
.lp-final p { max-width: 560px; margin: 0 auto 30px; color: var(--text-2); font-size: 1.08rem; }
.lp-final .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ====================================================================== forms */
.f { margin-bottom: 16px; }
.f > label, .f .lbl { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.f > label .opt { font-weight: 400; color: var(--faint); }
.f .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.inp, .f input[type=text], .f input[type=email], .f input[type=password], .f input[type=number], .f input[type=date], .f input[type=search], .f select, .f textarea,
body :is(.form-control, .anvil-form-control) {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; color: var(--text);
  font: 400 1rem/1.45 var(--font-b); padding: 11px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; box-shadow: none; -webkit-appearance: none; appearance: none;
}
.f select, select.inp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235D6778' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.f textarea, textarea.inp { min-height: 110px; resize: vertical; }
.inp:focus, .f input:focus, .f select:focus, .f textarea:focus, body :is(.form-control, .anvil-form-control):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 91, 255, .14); }
.f input::placeholder, .f textarea::placeholder, .inp::placeholder { color: #A3AAB6; }
.f.err input, .f.err textarea, .f.err select { border-color: var(--red); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.aa-error { background: var(--red-soft); color: var(--red); border-radius: 10px; padding: 10px 14px; font-size: .88rem; margin-bottom: 14px; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  border: 1px solid var(--line-2); background: #fff; color: var(--text-2); font: 500 .88rem var(--font-b); padding: 9px 14px; border-radius: 10px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: all .12s;
}
.seg button:hover { border-color: var(--ink); color: var(--ink); }
.seg button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.seg button .d { width: 8px; height: 8px; border-radius: 50%; }

/* ====================================================================== app pages */
.app-page { padding: 36px 0 80px; }
@media (max-width: 640px) { .app-page { padding: 22px 0 60px; } }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.page-head p { margin: 0; color: var(--muted); }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.tiles.six { grid-template-columns: repeat(6, 1fr); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; position: relative; text-align: left; font-family: var(--font-b); }
button.tile { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
button.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
button.tile.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tile .v { font-size: 1.9rem; font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; }
.tile .l { font-size: .82rem; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 7px; }
.tile .l .d { width: 7px; height: 7px; border-radius: 50%; }
.tile.attn { background: var(--accent-soft); border-color: #CBD6FF; }
.tile.attn .v { color: var(--accent-d); }
@media (max-width: 1080px) { .tiles.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .tile .v { font-size: 1.5rem; } .tile { padding: 14px; } }

.attn-box { background: #fff; border: 1px solid #CBD6FF; border-left: 4px solid var(--accent); border-radius: 14px; padding: 16px 20px; margin-bottom: 24px; }
.attn-box h4 { margin-bottom: 8px; }
.attn-box a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text); font-size: .94rem; }
.attn-box a:first-of-type { border-top: 0; }
.attn-box a:hover b { color: var(--accent-d); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .left, .toolbar .right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar input[type=search] { min-width: 240px; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; font: 400 .9rem var(--font-b); background: #fff; }
.toolbar input[type=search]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 91, 255, .12); }
.toolbar select { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 34px 9px 14px; font: 500 .88rem var(--font-b); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235D6778' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; color: var(--text); }
@media (max-width: 640px) { .toolbar input[type=search] { min-width: 0; width: 100%; } .toolbar .left, .toolbar .right { width: 100%; } }

.pills { display: flex; gap: 4px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.pills button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: 500 .86rem var(--font-b); color: var(--muted); cursor: pointer; white-space: nowrap; }
.pills button:hover { color: var(--ink); }
.pills button.on { background: var(--ink); color: #fff; }
.pills button .n { font-family: var(--font-m); font-size: .72rem; opacity: .85; margin-left: 4px; }

/* request list */
.rq-list { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.rq {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) 150px 140px 110px; gap: 16px; align-items: center; padding: 16px 20px;
  border-top: 1px solid var(--line); color: var(--text); cursor: pointer; transition: background .12s; position: relative;
}
.rq:first-child { border-top: 0; }
.rq:hover { background: #FCFBF8; color: var(--text); }
.rq.head { cursor: default; background: var(--paper); font-size: .74rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 11px; padding-bottom: 11px; }
.rq.head:hover { background: var(--paper); }
.rq .ref { font-family: var(--font-m); font-size: .78rem; color: var(--muted); }
.rq .ttl { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rq .sub { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.rq .pg { display: grid; gap: 6px; }
.rq .pg span { font-size: .76rem; color: var(--muted); font-family: var(--font-m); }
.rq .upd { font-size: .8rem; color: var(--muted); text-align: right; }
.rq.unread::before { content: ''; position: absolute; left: 7px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--accent); }
.rq.unread .ttl { color: var(--accent-d); }
.rq.admin { grid-template-columns: 88px minmax(0, 1fr) 170px 140px 120px 96px; }
@media (max-width: 900px) {
  .rq, .rq.admin { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 16px 14px 20px; }
  .rq.head { display: none; }
  .rq .ref { grid-column: 1; grid-row: 1; }
  .rq .main { grid-column: 1 / -1; grid-row: 2; }
  .rq .st { grid-column: 2; grid-row: 1; justify-self: end; }
  .rq .pg { grid-column: 1; grid-row: 3; }
  .rq .upd { grid-column: 2; grid-row: 3; }
  .rq .cl, .rq .pr { display: none; }
}

.empty { text-align: center; padding: 64px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: 16px; }
.empty .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: var(--ink); }
.empty .ico :is(svg, .ic) { width: 26px; height: 26px; }
.empty h3 { font-size: 1.2rem; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 22px; }

/* board */
.board { display: grid; grid-template-columns: repeat(6, minmax(178px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.board .col { background: var(--paper-2); border-radius: 14px; padding: 12px; min-height: 260px; }
.board .col h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 12px; }
.board .col h4 .d { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.board .kc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; cursor: pointer; transition: box-shadow .15s, transform .15s; position: relative; }
.board .kc:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.board .kc .ref { font-family: var(--font-m); font-size: .7rem; color: var(--faint); display: flex; justify-content: space-between; }
.board .kc .ref :is(.chip, .anvil-role-chip) { font-family: var(--font-b); padding: 3px 7px; font-size: .68rem; }
.board .kc b { display: block; color: var(--ink); font-size: .9rem; margin: 4px 0 6px; line-height: 1.35; }
.board .kc .who { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.board .kc.unread { border-color: #BFCCFF; box-shadow: inset 3px 0 0 var(--accent); }

/* request detail */
.rd { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .rd { grid-template-columns: 1fr; } }
.rd-title { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
h1.rd-h { font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.08; margin-bottom: 22px; max-width: 900px; }
.stepper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 26px; }
.stepper .s { position: relative; }
.stepper .s .b { height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 9px; }
.stepper .s.done .b { background: var(--human); }
.stepper .s.cur .b { background: var(--accent); }
.stepper .s span { font-size: .74rem; color: var(--faint); font-weight: 500; display: block; }
.stepper .s.done span { color: var(--text-2); }
.stepper .s.cur span { color: var(--accent-d); font-weight: 650; }
@media (max-width: 640px) { .stepper .s span { font-size: .64rem; } .stepper .s:not(.cur) span { visibility: hidden; } }
.banner { border-radius: 14px; padding: 18px 20px; margin-bottom: 22px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner h4 { margin: 0 0 3px; }
.banner p { margin: 0; font-size: .92rem; color: var(--text-2); }
.banner .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.banner.accent { background: var(--accent-soft); border: 1px solid #CBD6FF; }
.banner.green { background: var(--human-soft); border: 1px solid #BDE6D4; }
.banner.amber { background: var(--amber-soft); border: 1px solid #EFD9AE; }
.banner.slate { background: var(--slate-soft); border: 1px solid var(--line-2); }
.sec-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 20px; }
.sec-card > h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 12px; font-family: var(--font-m); }
.sec-card .prose { white-space: pre-wrap; color: var(--text); font-size: .96rem; word-wrap: break-word; }
@media (max-width: 640px) { .sec-card { padding: 18px; } }

.tl { position: relative; }
.tl .n { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 14px 0; position: relative; }
.tl .n::before { content: ''; position: absolute; left: 17.5px; top: 52px; bottom: -14px; width: 1px; background: var(--line); }
.tl .n:last-child::before { display: none; }
.tl .n .who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .86rem; }
.tl .n .who b { color: var(--ink); }
.tl .n .who time { color: var(--faint); font-size: .78rem; }
.tl .n .bubble { background: #fff; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 12px 14px; white-space: pre-wrap; word-wrap: break-word; font-size: .94rem; }
.tl .n.mine .bubble { background: #F7F8FF; border-color: #DCE3FF; }
.tl .n.internal .bubble { background: var(--amber-soft); border: 1px dashed #E3C58C; }
.tl .n.sys { padding: 8px 0; }
.tl .n.sys .ico { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.tl .n.sys .ico i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); box-shadow: 0 0 0 5px var(--paper); }
.tl .n.sys .txt { font-size: .86rem; color: var(--muted); padding-top: 8px; }
.tl .n.sys .txt b { color: var(--text); font-weight: 600; }

.composer { border: 1px solid var(--line-2); border-radius: 14px; background: #fff; overflow: hidden; margin-top: 10px; }
.composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 91, 255, .12); }
.composer textarea { border: 0; width: 100%; box-sizing: border-box; padding: 14px 16px; font: 400 1rem/1.5 var(--font-b); min-height: 96px; resize: vertical; outline: none; color: var(--text); background: transparent; }
.composer .bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--paper); flex-wrap: wrap; }
.composer .bar .opts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.composer select { border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 30px 6px 10px; font: 500 .84rem var(--font-b); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235D6778' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; }
.composer .check { font-size: .84rem; }

.side .sec-card { padding: 20px; }
.kv { display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.kv > div:first-child { border-top: 0; padding-top: 0; }
.kv > div > span:first-child { color: var(--muted); }
.kv > div > span:last-child { color: var(--ink); font-weight: 550; text-align: right; }
.big-pct { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.big-pct b { font-size: 2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.manage .f { margin-bottom: 12px; }
.manage .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.range { width: 100%; accent-color: var(--accent); }

/* new request */
.nr { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.nr .aside { position: sticky; top: calc(var(--header-h) + 20px); }
.nr .aside ol { padding: 0; margin: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.nr .aside li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: .9rem; color: var(--text-2); }
.nr .aside li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); font: 600 .78rem var(--font-m); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.nr .aside li b { display: block; color: var(--ink); }
@media (max-width: 960px) { .nr { grid-template-columns: 1fr; } .nr .aside { position: static; } }

/* admin people & leads */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.person .top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.person .top b { display: block; color: var(--ink); }
.person .top .s { font-size: .82rem; color: var(--muted); word-break: break-all; }
.person .stats { display: flex; gap: 18px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.person .stats b { color: var(--ink); font-size: 1rem; display: block; }
.person .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.lead-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; }
.lead-card .msg { white-space: pre-wrap; color: var(--text-2); font-size: .92rem; margin: 10px 0 0; background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.lead-card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lead-card .side { display: grid; gap: 8px; align-content: start; }
@media (max-width: 760px) { .lead-card { grid-template-columns: 1fr; } }

.tabs-line { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs-line a { padding: 12px 14px; color: var(--muted); font-weight: 600; font-size: .92rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tabs-line a:hover { color: var(--ink); }
.tabs-line a.on { color: var(--ink); border-bottom-color: var(--ink); }
.tabs-line a .count { background: var(--accent); color: #fff; font-size: .7rem; border-radius: 999px; padding: 1px 7px; }

/* auth modal */
.auth { padding: 6px 4px 2px; }
.auth .head { text-align: center; margin-bottom: 22px; }
.auth .head :is(svg, .ic) { width: 44px; height: 44px; margin-bottom: 12px; }
.auth .head h2 { font-size: 2.1rem; margin-bottom: 6px; }
.auth .head p { color: var(--muted); font-size: .94rem; margin: 0; }
.auth .switch { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.auth .fine { text-align: center; font-size: .78rem; color: var(--faint); margin-top: 16px; }

/* static legal page */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.8rem; margin-top: 36px; }
.legal p, .legal li { color: var(--text-2); }

/* ====================================================================== free guides (#guides + home teaser) */
.lp-gteaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-gteaser h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
.lp-gteaser h2 em { color: var(--accent-d); }
.lp-gteaser p { color: var(--text-2); font-size: 1.02rem; max-width: 520px; margin: 0 0 24px; }
.lp-gteaser .fan { display: flex; justify-content: center; padding: 10px 0 18px; }
.lp-gteaser .fan a { width: 23%; max-width: 150px; margin: 0 -3.5%; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 36px rgba(11, 18, 32, .26); transition: transform .25s; }
.lp-gteaser .fan a:nth-child(1) { transform: rotate(-9deg) translateY(16px); }
.lp-gteaser .fan a:nth-child(2) { transform: rotate(-4.5deg) translateY(4px); z-index: 1; }
.lp-gteaser .fan a:nth-child(3) { transform: translateY(0); z-index: 2; }
.lp-gteaser .fan a:nth-child(4) { transform: rotate(4.5deg) translateY(4px); z-index: 1; }
.lp-gteaser .fan a:nth-child(5) { transform: rotate(9deg) translateY(16px); }
.lp-gteaser .fan a:hover { transform: translateY(-10px) scale(1.04); z-index: 3; }
.lp-gteaser .fan img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .lp-gteaser { grid-template-columns: 1fr; gap: 28px; } .lp-gteaser .fan { order: -1; } }

.gd-hero { padding-bottom: 88px; }
.gd-hero .grid { align-items: start; }
.gd-lang { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .9rem; color: #9AA5BC; }
.gd-form .ok { text-align: left; padding: 6px 2px; }
.gd-form .ok .seal { margin: 0 0 16px; width: 52px; height: 52px; }
.gd-form .ok .seal :is(svg, .ic) { width: 24px; height: 24px; }
.gd-list { margin-top: 18px; border-top: 1px solid var(--line); }
.gd-list .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.gd-list .row span { font-weight: 600; color: var(--ink); font-size: .95rem; }
.gd-list .row i { font-style: normal; font-family: var(--font-m); font-size: .74rem; color: var(--faint); margin-right: 10px; }
.gd-list :is(.aa-btn, .anvil-role-aa-btn > button) { flex-shrink: 0; }
.gd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gd-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color .2s, box-shadow .2s; }
.gd-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
.gd-card.focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 91, 255, .12), var(--shadow); }
.gd-card img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 12px 28px rgba(11, 18, 32, .22); }
.gd-card .meta { font-family: var(--font-m); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.gd-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.gd-card .hook { color: var(--text-2); font-size: .97rem; margin: 0 0 12px; }
.gd-card :is(ul, .tk-list) { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.gd-card :is(li, .tk) { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--text); }
.gd-card li :is(svg, .ic) { color: var(--human); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 1000px) { .gd-grid { grid-template-columns: 1fr; } .gd-card:last-child:nth-child(odd) { width: auto; } }
@media (max-width: 560px) { .gd-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; } .gd-list .row { flex-wrap: wrap; } }

/* =====================================================================================================
   Native Anvil Forms layer. Button = wrapper .anvil-role-x > button; Link = a; TextBox = input; TextArea = textarea;
   DropDown = select; Label = div.anvil-label > span.anvil-label-text; RepeatingPanel = root > items > item forms.
   ===================================================================================================== */

/* wrappers that must not change the layout of the old markup */
.ct, .av-host, .shot-host, x-t { display: contents; }
anvil-dropzone { display: contents; }
.anvil-role-contents, .anvil-role-contents > div { display: contents; }
.anvil-container, .anvil-html-template { font-family: var(--font-b); }
.aa-host { display: block; }

/* a Label used as plain text inside the old markup (role "t"): its own box disappears */
.anvil-label { padding: 0; margin: 0; }
.anvil-role-t { display: contents !important; }
.anvil-role-t > :is(.anvil-label-text, .label-text) { display: inline !important; font: inherit; color: inherit; padding: 0; margin: 0;
  background: none; border: 0; white-space: inherit; }
.anvil-role-t > i.anvil-component-icon, .anvil-role-chip > i.anvil-component-icon { display: none; }
.anvil-label[style*="text-align: left"] { text-align: inherit !important; }

/* icon sizes (the old icon(name, 'width=16 height=16')) */
.ic.s12 { width: 12px; height: 12px; } .ic.s13 { width: 13px; height: 13px; } .ic.s14 { width: 14px; height: 14px; }
.ic.s15 { width: 15px; height: 15px; } .ic.s16 { width: 16px; height: 16px; } .ic.s18 { width: 18px; height: 18px; }
.ic.s20 { width: 20px; height: 20px; } .ic.s26 { width: 26px; height: 26px; }
.ic { vertical-align: -3px; }

/* Buttons: the old .aa-btn look (the aliases above), with Anvil's wrapper and Bootstrap bits neutralised */
.anvil-role-aa-btn, .anvil-role-aa-link, .anvil-role-aa-text-btn { display: inline-flex; }
.anvil-role-aa-btn.anvil-role-block, .anvil-role-aa-btn.anvil-role-block > button { display: flex; width: 100%; }
.anvil-role-aa-btn > button, .anvil-role-aa-link > button, .anvil-role-aa-text-btn > button { margin: 0; box-shadow: none; outline-offset: 2px; }
.anvil-role-aa-btn > button:focus:not(:focus-visible) { outline: none; }
.anvil-role-aa-btn > button > i.anvil-component-icon:empty, .anvil-role-aa-link > button > i.anvil-component-icon:empty,
.anvil-role-aa-text-btn > button > i.anvil-component-icon:empty { display: none; }
.anvil-role-aa-btn > button :is(.anvil-button-text, .button-text) { display: inline; }
.anvil-role-aa-btn > button::before { width: 16px; height: 16px; }
.anvil-role-aa-btn.anvil-role-lg > button::before { width: 18px; height: 18px; }
.anvil-role-aa-btn > button[disabled] { opacity: .55; pointer-events: none; }
.anvil-role-aa-link > button { background: none; border: 0; padding: 0; color: var(--accent-d); font: inherit; font-weight: 600; cursor: pointer; line-height: inherit; }

/* chips from Labels (ui.chip): the dot and an optional icon come from roles */
.anvil-role-chip { display: inline-flex !important; }
/* .anvil-label { padding: 0 } above would strip the chip padding; put it back, roomier at the sides */
.anvil-label.anvil-role-chip { padding: 6px 12px; }
.board .kc .ref .anvil-label.anvil-role-chip { padding: 3px 8px; }
.anvil-role-chip > :is(.anvil-label-text, .label-text) { display: inline; }
.anvil-role-chip-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.anvil-role-chip-ic::before { content: ""; display: inline-block; width: 13px; height: 13px; flex: none; background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }

/* form fields: Anvil's TextBox / TextArea / DropDown inside the old .f fields */
label.f { display: block; }
.f .lbl .opt { font-weight: 400; color: var(--faint); }
.f :is(input.form-control, input.anvil-form-control), .f :is(textarea.form-control, textarea.anvil-form-control), .f :is(select.form-control, select.anvil-form-control) { height: auto; }
:is(.form-control, .anvil-form-control)::placeholder { color: #A3AAB6; }
.anvil-role-msg-error { background: var(--red-soft); color: var(--red); border-radius: 10px; padding: 10px 14px; font-size: .88rem;
  margin-bottom: 14px; font-weight: 500; }
.anvil-role-msg-error > i.anvil-component-icon { display: none; }
input:not([type=checkbox]):not([type=radio]):focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }

/* toasts: hosted Anvil (anvil-notification + role) and the App Server 1.18 (Bootstrap alerts) */
.anvil-notification, [data-notify="container"].anvil-alert { background: var(--ink); color: #fff; border: 0; border-radius: 14px;
  box-shadow: var(--shadow-lg); font: 500 .95rem/1.45 var(--font-b); padding: 12px 40px 12px 16px; }
:is(.anvil-notification, [data-notify="container"]):is(.anvil-role-ok, .anvil-alert-success) { background: var(--human-d); color: #fff; }
:is(.anvil-notification, [data-notify="container"]):is(.anvil-role-error, .anvil-alert-danger) { background: var(--red); color: #fff; }
[data-notify="container"].anvil-alert .anvil-close, [data-notify="container"].anvil-alert [data-notify="dismiss"] { color: inherit; opacity: .85; text-shadow: none; }

/* dialogs: alert(Form, role="aa-dialog") looks like the old modal */
.anvil-modal-content { border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; font-family: var(--font-b); }
.anvil-modal-body { padding: 26px 28px; }
.anvil-modal-header { border-bottom: 1px solid var(--line); padding: 18px 24px; }
.anvil-modal-footer { border-top: 1px solid var(--line); padding: 14px 24px; }
.anvil-modal-dialog.anvil-role-aa-dialog:not(.anvil-modal-lg), .modal-dialog.anvil-role-aa-dialog:not(.modal-lg) { width: min(calc(100vw - 20px), 520px); max-width: none; }
.anvil-modal-dialog.anvil-role-aa-dialog.anvil-modal-lg, .modal-dialog.anvil-role-aa-dialog.modal-lg { width: min(calc(100vw - 20px), 780px); max-width: none; }
.anvil-modal-footer :is(.btn, .anvil-btn), .anvil-modal-dialog :is(.btn, .anvil-btn):not(.anvil-role-aa-btn > button):not(.anvil-role-aa-link > button) { border-radius: 999px; font-family: var(--font-b); font-weight: 600; padding: 9px 18px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink); box-shadow: none; }
.anvil-modal-footer :is(.btn, .anvil-btn):last-child, .anvil-modal-footer .anvil-button:last-child .anvil-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 640px) { .anvil-modal-body { padding: 20px 18px; } }

/* bits of the old markup that were <p> and are now <div> (a Label must never sit inside a <p>) */
.aa-footer .ft-about { max-width: 340px; margin: 0 0 1em; }
.pf-spot .pf-rest { font-size: .95rem; color: var(--muted); margin: 0 0 18px; }
.pf-body .pf-rest { font-size: .95rem; color: var(--text-2); margin: 4px 0 18px; }
.aa-langs { margin: 0; }

/* screen-reader-only text */
.anvil-role-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- spots where the old markup used <p> (now <div>: a Label must never sit inside a <p>) and new wrappers */
.page-head .ph-sub { margin: 0; color: var(--muted); }
.empty .empty-p { color: var(--muted); max-width: 420px; margin: 0 auto 22px; }
.nr-acts, .ac-acts, .dlg-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.nr-acts, .dlg-acts { justify-content: flex-end; }
.ac-acts { justify-content: space-between; }
.rf-two, .ac-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .rf-two, .ac-two { grid-template-columns: 1fr; gap: 0; } }
.f .hint { display: block; }
.banner .bn-p { margin: 0; font-size: .92rem; color: var(--text-2); }
.side .st-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.side .st-head h3 { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-m); }
.cl-row { display: flex; gap: 12px; align-items: center; }
.cl-row .cl-name { color: var(--ink); }
.mt10 { margin-top: 10px; }
.kv .kv-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.kv .kv-row.first { border-top: 0; padding-top: 0; }
.kv .kv-row > span:first-child { color: var(--muted); }
.kv .kv-row > span:last-child { color: var(--ink); font-weight: 550; text-align: right; }
.person .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.person .pp { margin: 0 0 1em; }
.lead-card .lc-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lead-card .lc-name { color: var(--ink); font-size: 1.05rem; }
.lead-card .side :is(select, .anvil-role-inp) { width: 100%; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; padding: 8px 12px; font: 400 .9rem var(--font-b); min-height: 38px; height: auto; }
.lead-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.board a.kc { display: block; color: inherit; }
.attn-box .attn-row .attn-what { color: var(--accent-d); font-weight: 600; white-space: nowrap; }
.gd-card.lone { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
@media (max-width: 1000px) { .gd-card.lone { width: auto; } }
.gd-list .row .aa-btn .ic { color: inherit; margin-right: 0; font-size: inherit; }
.pf-group.first { padding-top: 16px; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* the Anvil TextBox / DropDown in the toolbars (search, client filter) */
.toolbar :is(input.form-control, input.anvil-form-control), .toolbar :is(select.form-control, select.anvil-form-control) { width: auto; min-height: 0; height: auto; }
.toolbar :is(input.form-control, input.anvil-form-control) { min-width: 240px; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; font: 400 .9rem var(--font-b); background: #fff; }
.toolbar :is(select.form-control, select.anvil-form-control) { border-radius: 999px; padding: 9px 34px 9px 14px; font: 500 .88rem var(--font-b); }
@media (max-width: 640px) { .toolbar :is(input.form-control, input.anvil-form-control) { min-width: 0; width: 100%; } }
.composer :is(textarea.form-control, textarea.anvil-form-control) { border: 0; border-radius: 0; box-shadow: none; width: 100%; padding: 14px 16px; font: 400 1rem/1.5 var(--font-b); min-height: 96px; resize: vertical; background: transparent; }
.composer :is(select.form-control, select.anvil-form-control) { width: auto; min-height: 0; height: auto; border-radius: 8px; padding: 6px 30px 6px 10px; font: 500 .84rem var(--font-b); }

/* dialogs: sign in / create workspace, prompts */
.dlg .dlg-h { font-size: 1.25rem; margin-bottom: 6px; }
.dlg .dlg-sub { margin-bottom: 14px; }
.auth .head .au-sub { color: var(--muted); font-size: .94rem; margin: 0; }
.auth .au-or { text-align: center; opacity: .6; margin: 10px 0; font-size: 14px; }
.auth .f-legal { margin: 0 0 14px; }
.auth .f-forgot { margin-top: 8px; }
.anvil-role-google > button img, .anvil-role-google > button .anvil-component-icon { width: 18px; height: 18px; flex: none; }

/* ---- accessibility (WCAG 2.2 AA, 2026-11-05) */
/* links inside a sentence in the footer are underlined (colour alone was too close to the text around them) */
.aa-footer .base a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201, 208, 222, .5); }
.aa-footer .base a:hover { text-decoration-color: currentColor; }
/* keyboard focus is always visible */
:is(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mode-public .aa-header :is(a, button):focus-visible, .on-dark :is(a, button):focus-visible, .lp-hero :is(a, button):focus-visible { outline-color: #9DB2FF; }
/* links inside running text are underlined, not told apart by colour alone */
:is(p, .check, .tiny, .small, .fine, .empty-p) a:not(.aa-btn):not(.aa-link) { text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================ Work page spotlight (2026-11-22)
   Three live projects side by side (Pages/Work + Items/SpotTile); Refresh reshuffles, Next steps three at a time.
   Under 1020px the cards become a swipeable row (scroll snap), so phones see one card and a peek of the next. */
.sp-sec { padding-top: 56px; padding-bottom: 24px; }
.sp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.sp-head h2 { font-family: var(--font-d); font-weight: 400; font-size: 2.3rem; line-height: 1.08; color: var(--ink); margin: 0 0 8px; }
.sp-lead { color: var(--muted); font-size: 1rem; line-height: 1.55; margin: 0; max-width: 560px; }
.sp-ctrl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sp-pos { font-family: var(--font-m); font-size: .78rem; color: var(--muted); margin-right: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.anvil-role-sp-next > button { flex-direction: row-reverse; }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sp-tile { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm);
  animation: sp-in var(--dur-slow) var(--ease-out) both; animation-delay: calc(var(--n, 0) * 60ms);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-fast) ease, transform var(--dur-base) var(--ease-out); }
@keyframes sp-in { from { opacity: 0; transform: translateY(10px); } }
@media (hover: hover) and (pointer: fine) { .sp-tile:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); } }
.sp-tile .shot { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.sp-tile .shot :is(svg, .ic) { width: 100%; height: 100%; display: block; }
.sp-tile .shot .pf-screen { flex: none; }
.sp-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sp-cat { font-family: var(--font-m); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; gap: 10px; margin-bottom: 10px; }
.sp-num { color: var(--accent-d); font-variant-numeric: tabular-nums; }
.sp-tile h3 { font-size: 1rem; font-weight: 600; color: var(--text-2); margin: 0 0 4px; }
.sp-hook { font-family: var(--font-d); font-size: 1.5rem; line-height: 1.15; color: var(--ink); margin: 0 0 14px; text-wrap: pretty; }
.sp-tile .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.sp-tile .tags span { font-size: .74rem; font-weight: 600; color: var(--text-2); background: var(--paper-2); padding: 4px 9px; border-radius: 999px; }
.sp-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sp-acts { display: flex; align-items: center; gap: 12px; }
.sp-details > button { min-height: 24px; }
@media (max-width: 1020px) {
  .sp-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80%, 380px); overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; padding: 4px 2px 14px; margin: -4px -2px 0; scrollbar-width: thin; }
  .sp-tile { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .sp-sec { padding-top: 40px; }
  .sp-head h2 { font-size: 1.85rem; }
  .sp-ctrl { width: 100%; }
  .sp-pos { margin-right: auto; }
  .sp-grid { grid-auto-columns: 86%; gap: 14px; }
  .sp-hook { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-tile { animation-name: kit-fade; animation-delay: 0ms; }
  .sp-tile:hover { transform: none; }
}

/* ---------------------------------------------------------------- conversion layer (2026-11-23): the delivery path,
   the three promises, ownership + after launch, the "what happens next" list by the brief form */
.lp-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-path .pp { display: grid; grid-template-columns: 48px minmax(0, 1fr) 210px; gap: 22px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow-sm); }
.lp-path .pp-n { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); display: flex;
  align-items: center; justify-content: center; font: 600 1rem var(--font-m); color: var(--ink); }
.lp-path .pp h3 { font-size: 1.16rem; margin: 0 0 6px; }
.lp-path .pp p { margin: 0; color: var(--text-2); line-height: 1.6; max-width: 640px; }
.lp-path .pp-pay { text-align: right; }
.lp-path .pp-pay .k { display: block; font-size: .8rem; color: var(--faint); margin-bottom: 2px; }
.lp-path .pp-pay b { font: 400 1.6rem/1.15 var(--font-d); color: var(--ink); }
.lp-path .pp.free .pp-pay b { color: var(--human-d); }
.lp-path .pp.free .pp-n { background: var(--human-soft); border-color: #BFE6D3; color: var(--human-d); }
.lp-path .pp.key { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.lp-path .pp.key .pp-n { background: var(--accent); border-color: var(--accent); color: #fff; }
.lp-path .pp-code { display: inline-flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: .9rem; font-weight: 550;
  color: var(--human-d); background: var(--human-soft); padding: 7px 12px; border-radius: 10px; }
.lp-path .pp-code .ic { margin-top: 2px; }
.lp-control { margin-top: 28px; background: var(--ink); color: #C3CADA; border-radius: 20px; padding: 34px 36px; display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.lp-control h3 { color: #fff; font: 400 1.7rem/1.2 var(--font-d); margin: 0 0 16px; }
.lp-control ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-control li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.lp-control li .ic { color: #6FD6AE; margin-top: 2px; }
.lp-control .go { display: grid; gap: 14px; justify-items: start; }
.lp-control .aa-link.light { color: #C3CADA; display: inline-flex; align-items: center; gap: 6px; text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out); }
.lp-control .aa-link.light:hover, .lp-control .aa-link.light:focus-visible { color: #fff; text-decoration: underline; }
.lp-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 40px; }
.lp-pillars .p { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; }
.lp-pillars .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-d); display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px; }
.lp-pillars h3 { margin-bottom: 8px; font-size: 1.15rem; }
.lp-pillars p { margin: 0; color: var(--text-2); line-height: 1.6; }
.lp-own { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-own .o { border-top: 2px solid var(--ink); padding-top: 22px; }
.lp-own .o > .ic { width: 26px; height: 26px; color: var(--ink); margin-bottom: 14px; }
.lp-own h3 { font-size: 1.2rem; margin-bottom: 8px; }
.lp-own p { margin: 0; color: var(--text-2); line-height: 1.6; }
.lp-own-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--muted); }
.lp-own-row span { display: inline-flex; align-items: center; gap: 8px; }
.lp-own-row .ic { color: var(--human); }
.lp-contact .next { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.lp-contact .next li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; color: #C3CADA; }
.lp-contact .next .n { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: flex;
  align-items: center; justify-content: center; font: 600 .85rem var(--font-m); color: #fff; }
.lp-contact .next b { color: #fff; display: block; font-weight: 600; }
.lp-yt .ctas .yt-logo { vertical-align: -3px; }
@media (max-width: 900px) {
  .lp-control { grid-template-columns: 1fr; padding: 28px 24px; }
  .lp-pillars, .lp-own { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .lp-path .pp { grid-template-columns: 40px minmax(0, 1fr); gap: 14px 16px; padding: 20px 18px; }
  .lp-path .pp-n { width: 40px; height: 40px; align-self: start; }
  .lp-path .pp-pay { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .lp-path .pp-pay .k { margin: 0; }
  .lp-path .pp-pay b { font-size: 1.3rem; }
}
