/* ==========================================================================
   PaperFlow — marketing site
   Concept: "the manuscript route". A ruled-manuscript ground, editorial
   split headings, real product screens used as the illustrations, and one
   deep-navy AI chapter. Brand blue #2E6BFF carries every action; a
   reviewer's highlighter yellow is the only second accent.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License; files in assets/fonts) ---------- */
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/wix-madefor-display-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/wix-madefor-display-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/wix-madefor-text-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/wix-madefor-text-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(../fonts/wix-madefor-text-latin-ext-wght-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(../fonts/wix-madefor-text-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(../fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/source-serif-4-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/source-serif-4-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }


:root {
  /* Brand */
  --blue: #2E6BFF;
  --blue-600: #1F58F0;
  --blue-700: #1846C9;
  --blue-50: #EEF3FF;
  --blue-100: #DDE7FF;
  --blue-200: #BFD2FF;

  /* Ink (navy-biased neutrals) */
  --ink: #0B1534;
  --ink-2: #38446A;
  --ink-3: #66718F;
  --ink-4: #98A1BC;
  --line: #E2E8F4;
  --line-2: #EDF1F8;

  /* Grounds */
  --bg: #FFFFFF;
  --bg-soft: #F5F8FE;
  --bg-tint: #EEF3FD;

  /* Navy chapter */
  --navy: #07112E;
  --navy-2: #0D1A40;
  --navy-3: #15265A;
  --on-navy: #E8EDFB;
  --on-navy-2: #A9B4D8;
  --on-navy-3: #7584B2;
  --line-navy: rgba(167, 186, 240, .16);

  /* Reviewer's highlighter */
  --mark: #FFE27A;
  --mark-soft: #FFF4C7;

  /* Semantic */
  --ok: #0B8F63;
  --ok-bg: #E2F6EE;
  --warn: #B46A00;
  --warn-bg: #FFF2D6;
  --bad: #D93036;
  --bad-bg: #FDEBEC;
  --wa: #179C4E;
  --wa-bg: #E4F7EC;
  --wa-chat: #EFEAE2;
  --wa-out: #D9FDD3;

  /* Type */
  --f-display: "Wix Madefor Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-text: "Wix Madefor Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Shape & depth */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-1: 0 1px 2px rgba(11, 21, 52, .05), 0 2px 8px -3px rgba(11, 21, 52, .06);
  --sh-2: 0 1px 2px rgba(11, 21, 52, .04), 0 14px 34px -16px rgba(11, 21, 52, .18);
  --sh-3: 0 2px 4px rgba(11, 21, 52, .04), 0 28px 64px -28px rgba(11, 21, 52, .26), 0 60px 120px -60px rgba(46, 107, 255, .35);

  /* Motion */
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 72px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--mark); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.sec { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.sec-tight { padding-block: clamp(56px, 7vw, 96px); }
.sec-soft { background: var(--bg-soft); }
.sec-line { border-top: 1px solid var(--line-2); }

/* ---------- Type ---------- */
.eyebrow {
  justify-self: start; width: fit-content; max-width: 100%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-family: var(--f-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(46, 107, 255, .14);
}
.eyebrow .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; }
.eyebrow .dot .ic { width: 11px; height: 11px; stroke-width: 2.4; }
.kicker { font-family: var(--f-display); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

.display {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.038em;
}
.h2 {
  font-size: clamp(2rem, 3.9vw, 3.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.032em;
}
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 650; line-height: 1.2; letter-spacing: -.018em; }
.h4 { font-size: 1.0625rem; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(1.075rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.accent { color: var(--blue); }
.hl { background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); padding-inline: .06em; }

/* Section heading: editorial split on wide screens */
.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.head-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 32px 64px; }
.head-split .lead { justify-self: end; }
.head-center { text-align: center; justify-items: center; }
.head-center .lead { margin-inline: auto; }
@media (max-width: 880px) { .head-split { grid-template-columns: 1fr; } .head-split .lead { justify-self: start; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-display); font-weight: 600; font-size: .98rem; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s var(--ease), box-shadow .5s var(--ease), color .3s var(--ease);
}
.btn .bi {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  transition: transform .5s var(--ease), background-color .3s var(--ease);
}
.btn .bi .ic { width: 17px; height: 17px; stroke-width: 2; }
.btn:hover .bi { transform: translate(2px, -1px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn-primary { --btn-bg: var(--blue); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -10px rgba(46, 107, 255, .7); }
.btn-primary:hover { --btn-bg: var(--blue-600); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 16px 32px -12px rgba(46, 107, 255, .8); }
.btn-ghost { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.btn-ghost .bi { background: var(--blue-50); color: var(--blue); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--blue-200), var(--sh-2); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-white .bi { background: var(--blue); color: #fff; }
.btn-outline-light { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .14); }
.btn-plain { padding: 6px 22px; }
.btn-sm { min-height: 40px; padding: 4px 4px 4px 16px; font-size: .9rem; }
.btn-sm .bi { width: 32px; height: 32px; }
.btn-sm.btn-plain { padding: 4px 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 600; color: var(--blue); }
.link-arrow .ic { width: 17px; height: 17px; stroke-width: 2; transition: transform .4s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav-wrap { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; padding-top: 12px; margin-bottom: -84px; }
.nav {
  max-width: calc(var(--wrap) - 16px);
  margin-inline: auto;
  margin-inline: max(12px, calc((100% - var(--wrap)) / 2 + 8px));
  display: flex; align-items: center; gap: 12px;
  height: 60px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 244, .9), 0 8px 30px -18px rgba(11, 21, 52, .25);
  transition: box-shadow .5s var(--ease), background-color .5s var(--ease);
  position: relative;
}
.nav-wrap.is-scrolled .nav { background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px var(--line), 0 14px 40px -20px rgba(11, 21, 52, .3); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-links > li { position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  height: 40px; padding: 0 13px; border-radius: 999px;
  font-family: var(--f-display); font-size: .935rem; font-weight: 550; color: var(--ink-2);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--blue-50); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--blue); }
.nav-link .ic { width: 15px; height: 15px; stroke-width: 2; transition: transform .35s var(--ease); }
.nav-link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav-end { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-search {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 8px 0 12px; border-radius: 999px;
  color: var(--ink-3); font-size: .85rem;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .25s var(--ease), color .25s var(--ease);
}
.nav-search:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--blue-200); }
.nav-search .ic { width: 16px; height: 16px; }
kbd { font-family: var(--f-mono); font-size: .72rem; padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); box-shadow: inset 0 -1px 0 var(--line), inset 0 0 0 1px var(--line); color: var(--ink-3); }
.nav-login { font-family: var(--f-display); font-weight: 600; font-size: .935rem; padding: 0 12px; height: 40px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--ink); }
.nav-login:hover { background: var(--bg-soft); }

/* Platform mega menu */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: min(720px, calc(100vw - 32px));
  translate: -50% 0;
  padding: 8px;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top center;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s linear .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 6px; }
.mega-item { display: flex; gap: 14px; padding: 12px; border-radius: 14px; transition: background-color .2s var(--ease); }
.mega-item:hover { background: var(--bg-soft); }
.mega-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 1px rgba(46, 107, 255, .12); }
.mega-ico .ic { width: 20px; height: 20px; }
.mega-item b { display: block; font-family: var(--f-display); color: var(--ink); font-size: .95rem; font-weight: 600; }
.mega { white-space: normal; }   /* the menu sits inside .nav-links, which never wraps */
.mega-item .mega-ico { display: grid; place-items: center; margin-top: 0; line-height: 0; }   /* the generic span rule below must not break the icon box */
.mega-item .mega-ico .ic { display: block; }
.mega-item > span:last-child { flex: 1; min-width: 0; }   /* lets the description wrap inside its column */
.mega-item span { display: block; font-size: .84rem; line-height: 1.45; color: var(--ink-3); margin-top: 2px; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; margin-top: 4px; border-radius: 16px; background: var(--bg-soft); font-size: .88rem; }
.mega-foot p { color: var(--ink-3); }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; background: var(--ink); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease), opacity .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 39;
  padding: calc(env(safe-area-inset-top, 0px) + 92px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 28px);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.mnav.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.mnav-list li { overflow: hidden; }
.mnav-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid var(--line-2);
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 650; letter-spacing: -.025em; color: var(--ink);
  transform: translateY(110%); transition: transform .7s var(--ease);
}
.mnav-list a .ic { color: var(--blue); width: 22px; height: 22px; }
.mnav.is-open .mnav-list a { transform: none; }
.mnav.is-open .mnav-list li:nth-child(2) a { transition-delay: .04s; }
.mnav.is-open .mnav-list li:nth-child(3) a { transition-delay: .08s; }
.mnav.is-open .mnav-list li:nth-child(4) a { transition-delay: .12s; }
.mnav.is-open .mnav-list li:nth-child(5) a { transition-delay: .16s; }
.mnav.is-open .mnav-list li:nth-child(6) a { transition-delay: .2s; }
.mnav.is-open .mnav-list li:nth-child(7) a { transition-delay: .24s; }
.mnav .btns .btn { flex: 1 1 200px; }

/* Nav breakpoints: the full nav (seven links, search, button) needs ~1250px. Below 1360 the search
   shrinks to an icon, below 1280 the links tighten, and at 1180 and below the burger menu takes over. */
.nav-links, .nav-link { white-space: nowrap; }
@media (max-width: 1359px) { .nav-search span, .nav-search kbd { display: none; } .nav-search { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 1279px) { .nav-link { padding: 0 9px; font-size: .92rem; } .nav-login { padding: 0 10px; } .nav { gap: 8px; } }
@media (max-width: 1180px) {
  .nav-links, .nav-login, .nav-end .btn { display: none; }
  .burger { display: block; }
  .nav { padding-left: 16px; justify-content: space-between; }
  .nav-end { gap: 8px; }
}
.mnav-login { margin-top: -8px; font-size: .95rem; color: var(--ink-3); }
.mnav-login a { color: var(--blue); font-weight: 600; }

/* Command palette (site version of the in-app Ctrl+K) */
.palette { position: fixed; inset: 0; z-index: 60; display: grid; place-items: start center; padding: calc(env(safe-area-inset-top, 0px) + 12vh) 16px 16px; background: rgba(7, 17, 46, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s linear .25s; }
.palette.is-open { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
.palette-box { width: min(620px, 100%); border-radius: 22px; background: #fff; box-shadow: var(--sh-3), inset 0 0 0 1px var(--line); overflow: hidden; transform: translateY(-8px) scale(.98); transition: transform .45s var(--ease); }
.palette.is-open .palette-box { transform: none; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.palette-input .ic { color: var(--ink-3); }
.palette-input input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.05rem; background: transparent; }
.palette-list { max-height: min(52vh, 420px); overflow-y: auto; padding: 8px; }
.palette-group { padding: 10px 12px 6px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.palette-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-size: .95rem; }
.palette-item .ic { color: var(--blue); width: 18px; height: 18px; }
.palette-item small { margin-left: auto; color: var(--ink-4); font-size: .78rem; }
.palette-item[aria-selected="true"], .palette-item:hover { background: var(--blue-50); }
.palette-empty { padding: 28px; text-align: center; color: var(--ink-3); font-size: .92rem; }
.palette-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line-2); font-size: .78rem; color: var(--ink-3); background: var(--bg-soft); }

/* ---------- Ruled-manuscript ground ---------- */
.ruled {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, transparent calc(50% - 620px + 72px), rgba(46, 107, 255, .18) calc(50% - 620px + 72px), rgba(46, 107, 255, .18) calc(50% - 620px + 73px), transparent calc(50% - 620px + 73px)),
    repeating-linear-gradient(to bottom, transparent 0 35px, rgba(46, 107, 255, .075) 35px 36px);
  -webkit-mask-image: radial-gradient(120% 75% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 75% at 50% 0%, #000 35%, transparent 78%);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(72px, 8vw, 120px); overflow: clip; background: linear-gradient(180deg, #F3F6FF 0%, #FFFFFF 62%); }
.hero::after { content: ""; position: absolute; left: 50%; top: 52%; width: 1100px; height: 640px; translate: -50% 0; background: radial-gradient(closest-side, rgba(46, 107, 255, .20), transparent 72%); pointer-events: none; z-index: 0; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 32px 72px; align-items: end; }
.hero-top .display .hl { background: none; position: relative; z-index: 0; white-space: nowrap; }
.hero-top .display .hl::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .3em; background: var(--mark); z-index: -1; border-radius: 3px; transform-origin: left center; animation: mark-in 1.1s var(--ease-out) .5s both; }
@keyframes mark-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-copy { display: grid; gap: 28px; }
.hero-side { display: grid; gap: 28px; padding-bottom: 8px; }
.hero-side .lead { font-size: 1.1rem; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-top: 36px; }
.proof li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .82rem; font-weight: 550; color: var(--ink-2); }
.proof li b { font-family: var(--f-display); color: var(--ink); font-weight: 700; }
.proof li .ic { width: 15px; height: 15px; color: var(--blue); stroke-width: 2; }
@media (max-width: 960px) { .hero-top { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.hero-stage { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.hero-load { animation: rise 1s var(--ease-out) both; }
.hero-load-2 { animation: rise 1s var(--ease-out) .12s both; }
.hero-load-3 { animation: rise 1.1s var(--ease-out) .24s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Product screen ("shot") ---------- */
.shot { container-type: inline-size; position: relative; }
.bezel { padding: 7px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(11, 21, 52, .06), var(--sh-3); }
.bezel-soft { padding: 6px; border-radius: 22px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); }

.app {
  --u: 1cqi; /* 1% of the screen width */
  font-size: max(4.2px, calc(var(--u) * 1.04));
  border-radius: 1.6em;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
  font-family: var(--f-text);
  line-height: 1.4;
  text-align: left;
  user-select: none;
}
.app * { line-height: inherit; }
.app-bar { display: flex; align-items: center; gap: 1em; height: 3.2em; padding: 0 1.2em; background: var(--bg-soft); border-bottom: 1px solid var(--line-2); }
.app-dots { display: flex; gap: .45em; }
.app-dots i { width: .8em; height: .8em; border-radius: 50%; background: #D7DDEA; }
.app-url { margin-inline: auto; display: flex; align-items: center; gap: .5em; height: 2em; padding: 0 1.2em; border-radius: 1em; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: .9em; color: var(--ink-3); }
.app-url .ic { width: 1em; height: 1em; color: var(--ok); }
.app-bar-r { display: flex; gap: .6em; color: var(--ink-4); }
.app-bar-r .ic { width: 1.2em; height: 1.2em; }
.app-body { display: flex; min-height: 0; }
.app-side { width: 15.5em; flex: none; padding: 1.2em .9em; border-right: 1px solid var(--line-2); background: #FBFCFF; display: flex; flex-direction: column; gap: .2em; }
.app-side .logo { display: flex; align-items: center; gap: .6em; padding: .2em .6em 1em; font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: 1.15em; }
.app-side .logo img { width: 1.5em; height: auto; }
.side-label { padding: .9em .7em .3em; font-size: .72em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.side-item { display: flex; align-items: center; gap: .7em; padding: .55em .7em; border-radius: .7em; font-size: .95em; color: var(--ink-2); }
.side-item .ic { width: 1.2em; height: 1.2em; color: var(--ink-3); }
.side-item.on { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.side-item.on .ic { color: var(--blue); }
.side-item .badge { margin-left: auto; min-width: 1.6em; height: 1.6em; padding: 0 .45em; border-radius: .8em; background: var(--blue); color: #fff; font-size: .78em; font-weight: 700; display: grid; place-items: center; }
.side-item .badge.wa { background: var(--wa); }
.app-main { flex: 1; min-width: 0; padding: 1.6em 1.8em 1.8em; display: flex; flex-direction: column; gap: 1.3em; background: #fff; }
.app-head { display: flex; align-items: center; gap: 1em; }
.app-head h5, .app-head .app-title { display: block; margin: 0; font-family: var(--f-display); font-size: 1.55em; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.app-head p { font-size: .9em; color: var(--ink-3); }
.app-search { margin-left: auto; white-space: nowrap; overflow: hidden; display: flex; align-items: center; gap: .6em; height: 2.6em; padding: 0 .5em 0 .9em; width: 22em; border-radius: .8em; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-4); font-size: .92em; }
.app-search .ic { width: 1.2em; height: 1.2em; }
.app-search kbd { margin-left: auto; font-size: .8em; padding: .15em .5em; }
.avatar { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--f-display); font-weight: 700; font-size: .8em; color: #fff; background: var(--blue); }
.av-1 { background: #2E6BFF; } .av-2 { background: #0B8F63; } .av-3 { background: #B46A00; } .av-4 { background: #7A5AF8; } .av-5 { background: #0B1534; } .av-6 { background: #DB2777; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; }
.tile { padding: 1.1em 1.2em; border-radius: 1.1em; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .25em; }
.tile small { font-size: .82em; color: var(--ink-3); display: flex; align-items: center; gap: .4em; }
.tile small .ic { width: 1.1em; height: 1.1em; }
.tile strong { font-family: var(--f-display); font-size: 2em; font-weight: 700; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile em { font-style: normal; font-size: .78em; font-weight: 600; }
.tile.blue { background: var(--blue); box-shadow: none; }
.tile.blue small, .tile.blue em { color: rgba(255, 255, 255, .8); }
.tile.blue strong { color: #fff; }
.up { color: var(--ok); } .down { color: var(--bad); }
.panels { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1em; }
.panel { border-radius: 1.1em; box-shadow: inset 0 0 0 1px var(--line); padding: 1.1em 1.2em; display: flex; flex-direction: column; gap: .9em; min-width: 0; }
.panel-h { display: flex; align-items: center; gap: .6em; }
.panel-h b { font-family: var(--f-display); font-size: 1.05em; font-weight: 650; color: var(--ink); }
.panel-h span { margin-left: auto; font-size: .82em; color: var(--blue); font-weight: 600; }
.pipe { display: flex; height: 1em; border-radius: .5em; overflow: hidden; gap: .2em; }
.pipe i { display: block; height: 100%; }
.pipe-legend { display: flex; flex-wrap: wrap; gap: .4em 1.2em; font-size: .82em; color: var(--ink-3); }
.pipe-legend span { display: inline-flex; align-items: center; gap: .4em; }
.pipe-legend i { width: .7em; height: .7em; border-radius: .2em; display: inline-block; }
.pipe-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.s-mk { background: #93B4FF; } .s-wr { background: #2E6BFF; } .s-rv { background: #1846C9; } .s-sb { background: #0B1534; } .s-pb { background: #0B8F63; }
.rows { display: grid; }
.row { display: grid; grid-template-columns: 8.4em minmax(0, 1fr) 7.6em 6.4em 2.4em; align-items: center; gap: 1em; padding: .75em 0; border-top: 1px solid var(--line-2); font-size: .92em; }
.row:first-child { border-top: 0; }
.row .id { font-family: var(--f-mono); font-size: .86em; color: var(--ink-3); }
.row .t { color: var(--ink); font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .d { font-size: .86em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: .4em; height: 1.9em; padding: 0 .75em; border-radius: 1em; font-size: .8em; font-weight: 650; white-space: nowrap; width: max-content; }
.pill::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.pill.nodot::before { display: none; }
.p-blue { background: var(--blue-50); color: var(--blue-700); }
.p-ok { background: var(--ok-bg); color: var(--ok); }
.p-warn { background: var(--warn-bg); color: var(--warn); }
.p-bad { background: var(--bad-bg); color: var(--bad); }
.p-ink { background: #E9ECF4; color: var(--ink); }
.p-wa { background: var(--wa-bg); color: var(--wa); }
.mini-steps { display: flex; gap: .25em; }
.mini-steps i { width: 1.1em; height: .4em; border-radius: .2em; background: var(--line); }
.mini-steps i.d { background: var(--blue); }
.mini-steps i.c { background: var(--blue-200); }
.mini-steps i.h { background: var(--bad); }
.feed { display: grid; gap: .8em; }
.feed-i { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: .7em; font-size: .88em; }
.feed-i .ico { width: 2.2em; height: 2.2em; border-radius: .7em; display: grid; place-items: center; }
.feed-i .ico .ic { width: 1.1em; height: 1.1em; }
.feed-i b { color: var(--ink); font-weight: 600; }
.feed-i p { color: var(--ink-3); font-size: .92em; }

/* Floating cards (overlaid on screens) */
.float { position: absolute; z-index: 3; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-3); padding: 16px; font-size: .86rem; line-height: 1.45; }
.float-h { display: flex; align-items: center; gap: 10px; }
.float-h b { font-family: var(--f-display); color: var(--ink); font-weight: 650; font-size: .92rem; }
.float-h small { color: var(--ink-3); font-size: .76rem; }
.float-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-ico .ic { width: 18px; height: 18px; }
.hero-stage .shot { max-width: 1100px; margin-inline: auto; }
.f-verdict { left: -104px; bottom: 7%; width: 296px; }
.f-wa { right: -104px; top: 36%; width: 292px; }
.f-journey { right: 16%; bottom: -46px; width: 400px; }
.ring { --p: 86; width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--ok) calc(var(--p) * 1%), var(--ok-bg) 0); }
.ring span { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.verdict-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.verdict-row .pill { font-size: .78rem; height: 26px; }
.agent-bars { display: grid; grid-template-columns: repeat(19, 1fr); gap: 3px; margin-top: 14px; }
.agent-bars i { height: 18px; border-radius: 3px; background: var(--ok); opacity: .85; }
.agent-bars i.w { background: var(--warn); }
.wa-bubble { margin-top: 12px; padding: 10px 12px 8px; border-radius: 4px 14px 14px 14px; background: var(--wa-chat); color: #1c2733; font-size: .84rem; }
.wa-bubble .meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 4px; font-size: .7rem; color: #667781; }
.ticks { width: 16px; height: 11px; color: #53BDEB; }
.jsteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 14px; }
.jstep { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: grid; gap: 6px; font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.jstep i { height: 6px; border-radius: 3px; background: var(--line); }
.jstep.d i { background: var(--blue); } .jstep.d { color: var(--ink); }
.jstep.c i { background: linear-gradient(90deg, var(--blue) 50%, var(--blue-100) 50%); }
.jstep.c { color: var(--blue); }
.gate { margin-top: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: .78rem; font-weight: 600; }
.gate .ic { width: 15px; height: 15px; }

@media (max-width: 1380px) { .f-verdict { left: -24px; } .f-wa { right: -24px; } }
@media (max-width: 900px) {
  .app { font-size: max(4px, calc(var(--u) * 1.55)); }
  .app-side { display: none; }
  .panels { grid-template-columns: 1fr; }
  .panels > .panel:last-child { display: none; }
  .f-wa, .f-journey { display: none; }
  .f-verdict { position: relative; left: auto; bottom: auto; width: auto; max-width: 360px; margin: -40px auto 0 12px; }
  .app-search { display: none; }
}
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .row { grid-template-columns: 8.4em minmax(0, 1fr) 7.6em; } .row > :nth-child(n+4) { display: none; } }

/* ---------- Built-for marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 22px; border-block: 1px solid var(--line-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-2); white-space: nowrap; }
.marquee-item .ic { color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }
.built-label { text-align: center; font-size: .85rem; color: var(--ink-3); margin-bottom: 18px; }

/* ---------- Problem illustration ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px 80px; align-items: center; }
.problem-copy { display: grid; gap: 24px; }
@media (max-width: 960px) { .problem { grid-template-columns: 1fr; } }
.scatter { position: relative; aspect-ratio: 1.08; max-width: 100%; border-radius: 32px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.scatter .ruled { -webkit-mask-image: none; mask-image: none; background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(46, 107, 255, .07) 27px 28px); }
.scatter svg.paths { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.chip-card { position: absolute; z-index: 2; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); padding: 10px 12px; font-size: .75rem; line-height: 1.4; color: var(--ink-2); }
.chip-card .ch { display: flex; align-items: center; gap: 7px; font-weight: 650; color: var(--ink); font-size: .74rem; margin-bottom: 6px; }
.chip-card .ch .ic { width: 15px; height: 15px; }
.cc-wa { left: 5%; top: 7%; width: 44%; transform: rotate(-3deg); }
.cc-xls { left: 4%; top: 46%; width: 40%; transform: rotate(2deg); }
.cc-mail { left: 12%; bottom: 6%; width: 38%; transform: rotate(-2deg); }
.cc-note { left: 50%; top: 12%; width: 26%; transform: rotate(4deg); background: var(--mark-soft); box-shadow: inset 0 0 0 1px #F3E3A1, var(--sh-1); }
.msg { padding: 5px 8px; border-radius: 8px; background: var(--bg-soft); margin-top: 4px; }
.msg b { color: var(--wa); font-weight: 650; }
.xls { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-family: var(--f-mono); font-size: .62rem; }
.xls span { padding: 4px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xls span:nth-child(3n) { border-right: 0; }
.xls .h { background: #EAF5EE; color: #146C3A; font-weight: 600; }
.xls .bad { color: var(--bad); }
.record { position: absolute; z-index: 3; right: 5%; top: 50%; translate: 0 -50%; width: 44%; padding: 14px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), var(--sh-3); font-size: .74rem; }
.record-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.record-h .mono { font-size: .68rem; color: var(--ink-3); }
.record h4, .record .record-title { display: block; font-family: var(--f-display); color: var(--ink); font-weight: 700; text-wrap: balance; font-size: .9rem; margin: 6px 0 10px; line-height: 1.3; }
.record dl { margin: 0; display: grid; gap: 6px; }
.record dl div { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px dashed var(--line); }
.record dt { color: var(--ink-3); }
.record dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
@media (max-width: 520px) {
  .scatter { aspect-ratio: .78; }
  .chip-card { font-size: .64rem; padding: 8px 10px; }
  .cc-wa { left: 4%; top: 4%; width: 58%; }
  .cc-xls { left: 4%; top: 37%; width: 50%; }
  .cc-mail { left: 6%; bottom: 4%; width: 52%; }
  .cc-note { display: none; }
  .record { right: 4%; top: 58%; width: 48%; font-size: .66rem; padding: 10px; }
  .record h4, .record .record-title { font-size: .74rem; }
  .kpal { display: none; }
}

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cards-2, .cards-4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.card.lift:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--blue-200), var(--sh-2); }
.card p { color: var(--ink-2); font-size: .98rem; }
.card-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 1px rgba(46, 107, 255, .12); }
.card-ico .ic { width: 24px; height: 24px; }
.card-num { font-family: var(--f-mono); font-size: .78rem; color: var(--blue); font-weight: 600; }
.on-soft .card { box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }

/* Before / with comparison */
.compare { border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); overflow: hidden; }
.compare-head, .compare-row { display: grid; grid-template-columns: 12rem minmax(0, 1fr) minmax(0, 1fr); }
.compare-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 650; font-size: .9rem; }
.compare-head > div { padding: 16px 24px; display: flex; align-items: center; gap: 8px; }
.compare-head .with { color: var(--blue); background: var(--blue-50); }
.compare-row { border-top: 1px solid var(--line-2); }
.compare-row:first-of-type { border-top: 0; }
.compare-row > div { padding: 20px 24px; font-size: .96rem; }
.compare-row .topic { font-family: var(--f-display); font-weight: 650; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; }
.compare-row .topic .ic { color: var(--blue); margin-top: 2px; }
.compare-row .before { color: var(--ink-3); position: relative; padding-left: 52px; }
.compare-row .before::before { content: ""; position: absolute; left: 24px; top: 25px; width: 16px; height: 16px; border-radius: 50%; background: var(--bad-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5m0-5l-5 5' stroke='%23D93036' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.compare-row .with { color: var(--ink); background: linear-gradient(90deg, rgba(238, 243, 255, .7), rgba(238, 243, 255, .2)); padding-left: 52px; position: relative; }
.compare-row .with::before { content: ""; position: absolute; left: 24px; top: 25px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@media (max-width: 860px) {
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; padding: 8px 0; }
  .compare-row > div { padding: 10px 20px 10px 52px; }
  .compare-row .topic { padding-left: 20px; padding-top: 16px; }
  .compare-row .before::before, .compare-row .with::before { left: 20px; top: 14px; }
  .compare-row .with { background: none; }
}

/* ---------- Journey (how a paper moves) ---------- */
.journey { display: grid; gap: 28px; }
.track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.track-tab { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 10px; border-radius: 999px; font-family: var(--f-display); font-weight: 600; font-size: .98rem; color: var(--ink-2); transition: color .35s var(--ease), background-color .35s var(--ease); }
.track-tab .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .75rem; background: var(--bg-soft); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .35s var(--ease), color .35s var(--ease); }
.track-tab:hover { color: var(--ink); }
.track-tab[aria-selected="true"] { color: #fff; background: var(--ink); }
.track-tab[aria-selected="true"] .n { background: var(--blue); color: #fff; box-shadow: none; }
.track-gate { position: absolute; z-index: 2; top: 50%; width: 22px; height: 22px; translate: -50% -50%; rotate: 45deg; border-radius: 5px; background: var(--mark); box-shadow: 0 0 0 4px #fff, inset 0 0 0 1px #E8C64A; }
.track-gate:nth-of-type(1) { left: 20%; } .track-gate:nth-of-type(2) { left: 40%; } .track-gate:nth-of-type(3) { left: 60%; }
.gate-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: .88rem; color: var(--ink-3); }
.gate-legend span { display: inline-flex; align-items: center; gap: 8px; }
.gate-legend i { width: 12px; height: 12px; rotate: 45deg; border-radius: 3px; background: var(--mark); box-shadow: inset 0 0 0 1px #E8C64A; display: inline-block; }
.stage-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); }
.stage-panel[hidden] { display: none; }
.stage-panel.is-in { animation: rise .6s var(--ease-out) both; }
.stage-copy { display: grid; gap: 18px; align-content: start; }
.stage-copy .owner { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-3); }
.ticklist { display: grid; gap: 12px; }
.ticklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticklist li .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-50); color: var(--blue); stroke-width: 2.4; margin-top: 2px; }
.client-hears { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--wa-bg); color: #10522C; font-size: .9rem; }
.client-hears .ic { color: var(--wa); margin-top: 2px; }
@media (max-width: 900px) {
  .track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; border-radius: 24px; scrollbar-width: none; }
  .track::-webkit-scrollbar { display: none; }
  .track-gate { display: none; }
  .stage-panel { grid-template-columns: 1fr; }
}

/* Mini screen card (used inside panels & bento) */
.ui { border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); padding: 18px; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.ui-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ui-h b { font-family: var(--f-display); color: var(--ink); font-weight: 650; }
.ui-h .mono { font-size: .74rem; color: var(--ink-3); }
.kv { display: grid; gap: 0; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-2); }
.kv div:first-child { border-top: 0; }
.kv dt, .kv span:first-child { color: var(--ink-3); }
.kv dd, .kv span:last-child { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.file + .file { margin-top: 8px; }
.file-ico { width: 34px; height: 40px; border-radius: 6px; display: grid; place-items: end center; padding-bottom: 4px; font-family: var(--f-mono); font-size: .58rem; font-weight: 700; color: #fff; flex: none; position: relative; }
.file-ico::after { content: ""; position: absolute; right: 0; top: 0; width: 10px; height: 10px; background: rgba(255, 255, 255, .45); border-bottom-left-radius: 4px; }
.fi-doc { background: #2E6BFF; } .fi-pdf { background: #D93036; } .fi-xls { background: #179C4E; } .fi-link { background: #0B1534; }
.file b { display: block; color: var(--ink); font-weight: 600; font-size: .84rem; }
.file small { color: var(--ink-3); font-size: .75rem; }
.file .pill { margin-left: auto; }
.attempts { display: grid; gap: 10px; }
.attempt { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.attempt .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .75rem; font-weight: 600; background: var(--bg-soft); color: var(--ink-2); }
.attempt b { display: block; color: var(--ink); font-size: .86rem; font-weight: 600; }
.attempt small { color: var(--ink-3); font-size: .76rem; }
.attempt.cur { box-shadow: inset 0 0 0 1.5px var(--blue); background: var(--blue-50); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento-c { grid-column: span 6; display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; transition: box-shadow .5s var(--ease); }
.bento-c:hover { box-shadow: inset 0 0 0 1px var(--blue-200), var(--sh-2); }
.bento-c.w7 { grid-column: span 7; } .bento-c.w5 { grid-column: span 5; } .bento-c.w8 { grid-column: span 8; } .bento-c.w4 { grid-column: span 4; }
.bento-copy { padding: 30px 30px 0; display: grid; gap: 10px; }
.bento-copy .kicker { font-size: .74rem; }
.bento-copy ul { display: grid; gap: 6px; margin-top: 6px; }
.bento-copy li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.bento-copy li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 2px; background: var(--blue); flex: none; }
.bento-art { position: relative; margin-top: auto; padding: 26px 30px 0; min-height: 240px; display: flex; align-items: flex-end; }
.bento-art .ui { width: 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: inset 0 0 0 1px var(--line), 0 -10px 40px -20px rgba(11, 21, 52, .18); }
.bento-foot { padding: 22px 30px 28px; }
@media (max-width: 1000px) { .bento-c, .bento-c.w7, .bento-c.w5, .bento-c.w8, .bento-c.w4 { grid-column: span 12; } }
@media (max-width: 520px) { .bento-copy { padding: 24px 22px 0; } .bento-art { padding: 22px 16px 0; } }

/* Tabs inside the paper page mock */
.utabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 14px; overflow: hidden; }
.utabs span { padding: 6px 10px; border-radius: 9px; font-size: .76rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.utabs span.on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.stepper div { display: grid; gap: 6px; font-size: .7rem; font-weight: 600; color: var(--ink-3); min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stepper i { height: 6px; border-radius: 3px; background: var(--line); }
.stepper .d i { background: var(--blue); } .stepper .d { color: var(--ink); }
.stepper .c i { background: linear-gradient(90deg, var(--blue) 55%, var(--blue-100) 55%); } .stepper .c { color: var(--blue); }
.stepper .h i { background: var(--bad); } .stepper .h { color: var(--bad); }
.note { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: .8rem; }
.note .avatar { width: 28px; height: 28px; font-size: .62rem; }
.note b { color: var(--ink); font-weight: 600; }
.note .req { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); font-size: .68rem; font-weight: 700; }

/* Journal email reader */
.email { border-radius: 14px; background: var(--bg-soft); padding: 12px 14px; font-size: .78rem; color: var(--ink-2); position: relative; }
.email .from { font-weight: 600; color: var(--ink); }
.email p { margin-top: 6px; }
.extract { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.extract div { padding: 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.extract small { display: block; font-size: .68rem; color: var(--ink-3); }
.extract b { font-size: .84rem; color: var(--ink); }
.apply { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .78rem; }
.apply span.btnish { padding: 6px 12px; border-radius: 8px; background: var(--blue); font-weight: 600; }

/* Ledger */
.money3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.money3 div { padding: 12px; border-radius: 14px; background: var(--bg-soft); }
.money3 small { display: block; font-size: .7rem; color: var(--ink-3); }
.money3 b { font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.money3 .blue { background: var(--blue); }
.money3 .blue small { color: rgba(255, 255, 255, .78); } .money3 .blue b { color: #fff; }
.ledger { display: grid; font-size: .78rem; }
.ledger div { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); align-items: center; }
.ledger .amt { font-family: var(--f-mono); font-size: .76rem; color: var(--ink); font-weight: 600; }
.ledger .amt.in { color: var(--ok); } .ledger .amt.out { color: var(--bad); }
.ledger .when { color: var(--ink-3); font-family: var(--f-mono); font-size: .7rem; }

/* Today + palette mock */
.today { display: grid; gap: 8px; }
.today-i { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: .8rem; }
.today-i b { color: var(--ink); font-weight: 600; }
.today-i .pill { margin-left: auto; }
.kpal { position: absolute; right: 18px; top: 18px; width: min(270px, 60%); border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-3); overflow: hidden; font-size: .76rem; z-index: 2; }
.kpal-in { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.kpal-in .ic { width: 15px; height: 15px; color: var(--ink-3); }
.kpal-in .caret { width: 1.5px; height: 14px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.kpal-r { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.kpal-r .ic { width: 14px; height: 14px; color: var(--blue); }
.kpal-r.on { background: var(--blue-50); }
.kpal-r small { margin-left: auto; color: var(--ink-4); font-size: .68rem; }

/* WhatsApp delivery list */
.deliv { display: grid; gap: 8px; }
.deliv-i { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: .8rem; }
.deliv-i .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--wa-bg); color: var(--wa); }
.deliv-i .ico .ic { width: 16px; height: 16px; }
.deliv-i b { display: block; color: var(--ink); font-weight: 600; font-size: .8rem; }
.deliv-i small { color: var(--ink-3); font-size: .72rem; font-family: var(--f-mono); }

/* Monitoring bars */
.consent { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-size: .78rem; font-weight: 600; margin-bottom: 12px; }
.consent .ic { width: 16px; height: 16px; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) 3rem; gap: 10px; align-items: center; font-size: .76rem; }
.bar-row .b { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--line-2); }
.bar-row .b i { display: block; height: 100%; }
.bar-row .v { font-family: var(--f-mono); font-size: .72rem; color: var(--ink); text-align: right; }
.c-prod { background: var(--blue); } .c-neu { background: var(--blue-200); } .c-non { background: #F2B8BB; }
.bar-legend { display: flex; gap: 14px; margin-top: 12px; font-size: .72rem; color: var(--ink-3); }
.bar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bar-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* ---------- AI chapter (navy) ---------- */
.chapter { padding-inline: 12px; }
.navy-box { position: relative; border-radius: clamp(24px, 4vw, 44px); background: var(--navy); color: var(--on-navy-2); overflow: hidden; isolation: isolate; }
.navy-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 50% at 85% 0%, rgba(46, 107, 255, .35), transparent 70%),
  radial-gradient(40% 40% at 0% 100%, rgba(46, 107, 255, .18), transparent 70%); }
.navy-box::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(167, 186, 240, .055) 35px 36px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.navy-box h2, .navy-box h3, .navy-box h4 { color: #fff; }
.navy-box .lead { color: var(--on-navy-2); }
.navy-box .eyebrow { background: rgba(46, 107, 255, .16); color: #BFD2FF; box-shadow: inset 0 0 0 1px rgba(46, 107, 255, .35); }
.navy-box .kicker { color: #8FB0FF; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 1000px) { .ai-grid { grid-template-columns: 1fr; } }

/* Manuscript with margin annotations */
.ms-wrap { position: relative; }
.ms { position: relative; border-radius: 22px; background: #FCFCFA; color: #2A2F3D; padding: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 34px) clamp(20px, 3vw, 34px) clamp(46px, 5vw, 64px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-size: clamp(.8rem, 1vw, .92rem); line-height: 1.75; }
.ms::before { content: ""; position: absolute; left: clamp(34px, 4vw, 48px); top: 0; bottom: 0; width: 1px; background: rgba(217, 48, 54, .22); }
.ms-top { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: .68rem; color: #8A8F9E; margin-bottom: 14px; }
.ms h4, .ms .ms-title { display: block; text-wrap: balance; margin-top: 0; font-family: "Source Serif 4", Georgia, serif; color: #12131A; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.3; margin-bottom: 14px; font-weight: 600; }
.ms .sec-t { font-family: var(--f-display); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A8F9E; margin: 14px 0 4px; }
.ms p { position: relative; margin: 0 0 8px; }
.ms p .pn { position: absolute; left: clamp(-40px, -3.6vw, -30px); top: .15em; width: 22px; font-family: var(--f-mono); font-size: .62rem; color: #A3A8B6; text-align: right; }
.ms mark { background: var(--mark); color: inherit; padding: 1px 2px; border-radius: 3px; }
.ms mark.r { background: #FFD3D5; }
.ms .ghost { display: block; height: .55em; border-radius: 4px; background: #E9EAEE; margin: .7em 0; }
.ms .ghost.s { width: 72%; }
.ann { position: absolute; z-index: 2; width: min(300px, 62%); border-radius: 16px; background: #fff; color: var(--ink-2); padding: 12px 14px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(11, 21, 52, .06); font-family: var(--f-text); font-size: .78rem; line-height: 1.45; }
.ann-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ann-h b { color: var(--ink); font-family: var(--f-display); font-weight: 650; font-size: .8rem; }
.ann-h .pill { margin-left: auto; height: 22px; font-size: .68rem; }
.ann q { display: block; margin: 6px 0; padding-left: 10px; border-left: 2px solid var(--mark); color: var(--ink); font-style: italic; quotes: none; }
.ann .fix { display: flex; gap: 6px; color: var(--blue-700); font-weight: 600; }
.ann .fix .ic { width: 14px; height: 14px; margin-top: 2px; }
.ann-1 { right: -14px; top: 47%; }
.ann-2 { right: 22px; bottom: -34px; }
@media (max-width: 640px) { .ann { position: relative; right: auto; top: auto; bottom: auto; width: auto; margin: 10px 0 0; } }

.verdicts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.verdict { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-navy); display: grid; gap: 8px; }
.verdict b { font-family: var(--f-display); color: #fff; font-size: .98rem; font-weight: 650; }
.verdict p { font-size: .82rem; color: var(--on-navy-3); line-height: 1.45; }
.verdict .sig { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.verdict .sig .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.sig-ok { background: rgba(11, 143, 99, .18); color: #4ADE9F; }
.sig-warn { background: rgba(245, 165, 36, .16); color: #FBC660; }
.sig-bad { background: rgba(240, 68, 56, .16); color: #FF8A84; }
@media (max-width: 560px) { .verdicts { grid-template-columns: 1fr; } }

.glass-card { border-radius: 24px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-navy); padding: 24px; display: grid; gap: 14px; }
.agent-groups { display: grid; gap: 16px; }
.agent-group h3, .agent-group h4 { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-3); margin-bottom: 8px; font-family: var(--f-display); }
.agents { display: flex; flex-wrap: wrap; gap: 6px; }
.agent { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 7px; border-radius: 999px; background: rgba(46, 107, 255, .1); box-shadow: inset 0 0 0 1px rgba(46, 107, 255, .26); color: #DCE6FF; font-size: .82rem; font-weight: 550; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.agent:hover { background: rgba(46, 107, 255, .2); box-shadow: inset 0 0 0 1px rgba(46, 107, 255, .5); }
.agent i { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-size: .6rem; font-weight: 600; }

.depth { display: grid; gap: 16px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-navy); }
.seg button { height: 40px; border-radius: 999px; font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: var(--on-navy-2); transition: background-color .35s var(--ease), color .35s var(--ease); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.seg button:hover:not([aria-pressed="true"]) { color: #fff; }
.depth-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.depth-out div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-navy); }
.depth-out small { display: block; font-size: .72rem; color: var(--on-navy-3); }
.depth-out b { color: #fff; font-family: var(--f-display); font-size: .92rem; font-weight: 600; }
.meter { display: flex; gap: 3px; margin-top: 8px; }
.meter i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); transition: background-color .4s var(--ease); }
.meter i.on { background: var(--blue); }
.depth-note { font-size: .88rem; color: var(--on-navy-2); min-height: 3em; }

.runline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: run; }
.run { position: relative; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-navy); font-size: .86rem; color: var(--on-navy-2); }
.run b { display: block; color: #fff; font-family: var(--f-display); font-weight: 650; margin: 10px 0 4px; font-size: .95rem; }
.run .n { font-family: var(--f-mono); font-size: .72rem; color: #8FB0FF; }
@media (max-width: 1000px) { .runline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .runline { grid-template-columns: 1fr; } }

.acc { display: grid; gap: 10px; }
.acc-row { display: grid; grid-template-columns: 8.6rem minmax(0, 1fr) 3rem; gap: 12px; align-items: center; font-size: .82rem; color: var(--on-navy-2); }
.acc-row .b { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.acc-row .b i { height: 100%; display: block; }
.acc-row .b .fx { background: #4ADE9F; }
.acc-row .b .ig { background: rgba(255, 138, 132, .75); }
.acc-row .v { color: #fff; font-family: var(--f-mono); font-size: .78rem; text-align: right; }
.models { display: flex; flex-wrap: wrap; gap: 8px; }
.model { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-navy); color: #fff; font-size: .84rem; font-weight: 550; }
.model small { color: var(--on-navy-3); font-weight: 500; }
.model.top { background: rgba(46, 107, 255, .18); box-shadow: inset 0 0 0 1px rgba(46, 107, 255, .5); }

/* ---------- WhatsApp phone ---------- */
.phone-scene { position: relative; display: grid; place-items: center; padding: 24px 0; }
.phone-scene::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 168, 85, .16), transparent 70%); }
.phone { position: relative; width: min(330px, 86%); border-radius: 44px; padding: 10px; background: #0B1534; box-shadow: var(--sh-3), inset 0 0 0 1.5px #2A3554; }
.phone-in { border-radius: 35px; overflow: hidden; background: var(--wa-chat); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 34px 14px 10px; background: #fff; border-bottom: 1px solid #ECE8E1; }
.phone-top .ava { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.phone-top .ava img { width: 18px; height: auto; filter: brightness(0) invert(1); }
.phone-top b { display: block; font-size: .86rem; color: #111B21; font-family: var(--f-display); font-weight: 650; }
.phone-top small { font-size: .7rem; color: #667781; display: flex; align-items: center; gap: 4px; }
.phone-top small .ic { width: 12px; height: 12px; color: var(--wa); }
.phone-notch { position: absolute; left: 50%; top: 18px; translate: -50% 0; width: 92px; height: 24px; border-radius: 14px; background: #0B1534; z-index: 2; }
.chat { display: grid; gap: 8px; padding: 14px 12px 18px; min-height: 420px; align-content: start; background-image: radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px); background-size: 14px 14px; }
.day { justify-self: center; padding: 3px 10px; border-radius: 8px; background: #fff; font-size: .66rem; color: #667781; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bub { max-width: 86%; padding: 7px 9px 5px; border-radius: 10px; background: #fff; font-size: .78rem; line-height: 1.4; color: #111B21; box-shadow: 0 1px 1px rgba(0, 0, 0, .07); }
.bub.out { justify-self: end; background: var(--wa-out); }
.bub .tpl { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wa); margin-bottom: 3px; }
.bub .meta { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: .62rem; color: #667781; margin-top: 2px; }
.bub .doc { display: flex; align-items: center; gap: 8px; padding: 7px; margin-bottom: 4px; border-radius: 7px; background: rgba(0, 0, 0, .05); font-size: .72rem; }
.bub .doc .fi-pdf { width: 22px; height: 26px; border-radius: 4px; flex: none; }
.bub.in-msg { justify-self: start; }
.wa-feats { display: grid; gap: 22px; }
.wa-feat { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.wa-feat .card-ico { width: 44px; height: 44px; }
.wa-feat .card-ico.g { background: var(--wa-bg); color: var(--wa); box-shadow: inset 0 0 0 1px rgba(23, 156, 78, .18); }
.states { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Audience ---------- */
.aud { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.aud-top { display: flex; align-items: center; justify-content: space-between; }
.aud .sees { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-3); }
.aud .sees .ic { color: var(--blue); width: 16px; height: 16px; }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.numbers div { padding: 28px 22px; border-left: 1px solid var(--line-2); display: grid; gap: 6px; align-content: start; }
.numbers div:first-child { border-left: 0; }
.numbers b { font-family: var(--f-display); font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 700; color: var(--ink); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.numbers span { font-size: .88rem; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 1000px) { .numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .numbers div:nth-child(4) { border-left: 0; } .numbers div:nth-child(n+4) { border-top: 1px solid var(--line-2); } }
@media (max-width: 560px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numbers div { border-left: 0 !important; border-top: 1px solid var(--line-2); } .numbers div:nth-child(even) { border-left: 1px solid var(--line-2) !important; } .numbers div:nth-child(-n+2) { border-top: 0; } }

/* ---------- Security ---------- */
.sec-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 72px; align-items: center; }
@media (max-width: 960px) { .sec-split { grid-template-columns: 1fr; } }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; }
.check .card-ico { width: 36px; height: 36px; border-radius: 11px; }
.check .card-ico .ic { width: 18px; height: 18px; }
.check b { display: block; font-family: var(--f-display); color: var(--ink); font-weight: 650; margin-bottom: 2px; }
.check p { color: var(--ink-3); font-size: .88rem; line-height: 1.5; }

/* Vault illustration */
.vault { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.vault svg { width: 100%; height: 100%; }
.vault .tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); font-size: .78rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.vault .tag .ic { width: 15px; height: 15px; color: var(--ok); stroke-width: 2.2; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px 80px; align-items: start; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-side { position: sticky; top: 110px; display: grid; gap: 22px; }
.help-card .btn { justify-self: start; }
.help-card { display: grid; gap: 12px; padding: 22px; border-radius: 22px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.help-card .row2 { display: flex; align-items: center; gap: 12px; }
.help-card .card-ico.g { background: var(--wa-bg); color: var(--wa); }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease), background-color .4s var(--ease); }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--blue-200), var(--sh-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--f-display); font-weight: 650; font-size: 1.04rem; color: var(--ink); border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }   /* the question is an h3 for search engines; it looks like the summary text */
.faq summary .pm { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink-2); transition: transform .45s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.faq summary .pm .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq .ans { padding: 0 22px 22px; color: var(--ink-2); font-size: .98rem; max-width: 64ch; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(24px, 4vw, 44px); background: var(--blue); color: #fff; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px 56px; align-items: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(255, 255, 255, .09) 35px 36px); -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 85%); mask-image: linear-gradient(90deg, #000 20%, transparent 85%); }
.cta::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent 70%); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .86); }
.cta .contact-line { font-size: .92rem; color: rgba(255, 255, 255, .8); }
.cta .contact-line a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.cta-copy { display: grid; gap: 22px; }
.cta-route { display: grid; gap: 10px; }
.route-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); font-size: .92rem; color: #fff; }
.route-step .t { font-family: var(--f-mono); font-size: .72rem; color: rgba(255, 255, 255, .7); width: 3.2rem; flex: none; }
.route-step .ic { margin-left: auto; width: 18px; height: 18px; opacity: .8; }
.route-step.on { background: #fff; color: var(--ink); }
.route-step.on .t { color: var(--blue); }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(24px, 4vw, 48px); background: var(--navy); color: var(--on-navy-2); padding-block: 72px 32px; font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 340px; }
.footer-brand img { height: 32px; width: auto; }
.footer h4, .footer .footer-h { font-family: var(--f-display); line-height: 1.3;  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-3); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--on-navy); transition: color .2s var(--ease); }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact .ic { width: 17px; height: 17px; color: #8FB0FF; margin-top: 3px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-navy); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .85rem; color: var(--on-navy-3); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a { color: var(--on-navy-2); }
.footer-bottom { align-items: center; }
.footer-credit { flex-basis: 100%; margin: 0; }
.footer-credit a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: #fff; }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(56px, 7vw, 96px)); padding-bottom: clamp(56px, 7vw, 96px); overflow: clip; background: linear-gradient(180deg, #F3F6FF 0%, #FFFFFF 78%); }
.page-hero > .wrap { position: relative; z-index: 1; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: center; }
.ph-grid.ph-wide-art { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.ph-copy { display: grid; gap: 24px; align-content: start; }
.ph-copy .display { font-size: clamp(2.4rem, 5vw, 4.1rem); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-3); }
.crumbs a:hover { color: var(--blue); }
.crumbs .ic { width: 14px; height: 14px; }
@media (max-width: 960px) { .ph-grid, .ph-grid.ph-wide-art { grid-template-columns: 1fr; } }

.mod-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.mod-nav { position: sticky; top: 108px; display: grid; gap: 2px; padding: 10px; border-radius: 22px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.mod-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: background-color .25s var(--ease), color .25s var(--ease); }
.mod-nav a .ic { width: 17px; height: 17px; color: var(--ink-4); transition: color .25s var(--ease); }
.mod-nav a:hover { background: #fff; color: var(--ink); }
.mod-nav a.is-active { background: #fff; color: var(--blue); box-shadow: var(--sh-1); }
.mod-nav a.is-active .ic { color: var(--blue); }
@media (max-width: 1000px) {
  .mod-layout { grid-template-columns: 1fr; gap: 32px; }
  .mod-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); z-index: 5; display: flex; overflow-x: auto; border-radius: 999px; padding: 6px; scrollbar-width: none; background: rgba(245, 248, 254, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .mod-nav::-webkit-scrollbar { display: none; }
  .mod-nav a { white-space: nowrap; border-radius: 999px; }
}
.mod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px 48px; align-items: start; padding-block: 56px; border-top: 1px solid var(--line-2); scroll-margin-top: 100px; }
.mod:first-child { border-top: 0; padding-top: 0; }
.mod-copy { display: grid; gap: 18px; align-content: start; }
.mod-copy .h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.feat-list { display: grid; gap: 14px; }
.feat-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: .97rem; }
.feat-list li .ic { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: var(--blue-50); color: var(--blue); }
.feat-list li b { color: var(--ink); font-weight: 650; }
.mod-art { position: sticky; top: 110px; }
@media (max-width: 1100px) { .mod { grid-template-columns: 1fr; } .mod-art { position: static; } }

/* Vertical timeline (how it works page) */
.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--blue), var(--blue-100)); border-radius: 2px; }
.tl { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; }
.tl-n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--blue); font-family: var(--f-mono); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 6px #fff; }
.tl-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; padding: 26px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); align-items: start; }
.tl-body .who { display: inline-flex; width: max-content; }
.tl-copy { display: grid; gap: 10px; }
.tl-gate { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; align-items: center; }
.tl-gate .gd { position: relative; z-index: 1; justify-self: center; width: 26px; height: 26px; rotate: 45deg; border-radius: 6px; background: var(--mark); box-shadow: 0 0 0 6px #fff, inset 0 0 0 1px #E8C64A; }
.tl-gate p { font-size: .92rem; color: var(--ink-2); padding: 10px 16px; border-radius: 14px; background: var(--mark-soft); width: max-content; max-width: 100%; }
.tl-gate p b { color: var(--ink); }
@media (max-width: 900px) { .tl-body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .timeline::before { left: 19px; } .tl, .tl-gate { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; } .tl-n { width: 40px; height: 40px; border-radius: 13px; font-size: .8rem; } .tl-body { padding: 18px; } }

/* Hold banner illustration */
.holdbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--bad); color: #fff; font-size: .8rem; font-weight: 600; }
.holdbar .ic { width: 16px; height: 16px; }
.blocked { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-4); font-size: .8rem; margin-top: 8px; }
.blocked .ic { width: 15px; height: 15px; }

/* Solution rows */
.sol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; padding-block: 48px; border-top: 1px solid var(--line-2); }
.sol:first-child { border-top: 0; padding-top: 0; }
.sol:nth-child(even) .sol-art { order: -1; }
@media (max-width: 960px) { .sol { grid-template-columns: 1fr; } .sol:nth-child(even) .sol-art { order: 0; } }

/* Forms */
.form-card { padding: clamp(22px, 3.5vw, 36px); border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--f-display); font-weight: 600; font-size: .88rem; color: var(--ink); }
.field label small { font-family: var(--f-text); font-weight: 400; color: var(--ink-4); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 0; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font-size: .97rem; color: var(--ink); transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--blue-200); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(46, 107, 255, .12); }
.field .err { display: none; font-size: .8rem; color: var(--bad); }
.field.invalid input, .field.invalid select { box-shadow: inset 0 0 0 1.5px var(--bad); }
.field.invalid .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; font-weight: 550; color: var(--ink-2); transition: all .25s var(--ease); }
.chips input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chips input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.form-done { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.form-done .card-ico { background: var(--ok-bg); color: var(--ok); }
.copy-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.copy-row .ic { color: var(--blue); }
.copy-row span { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.copy-row button { font-size: .8rem; font-weight: 600; color: var(--blue); padding: 6px 10px; border-radius: 8px; }
.copy-row button:hover { background: var(--blue-50); }

/* Spot illustration frame for inner pages */
.art-frame { position: relative; padding: clamp(18px, 3vw, 32px); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--blue-50), #F8FAFF 60%); box-shadow: inset 0 0 0 1px var(--blue-100); overflow: hidden; }
.art-frame .ruled { -webkit-mask-image: none; mask-image: none; }

/* ---------- Scroll-driven reveal (progressive) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rv-in { from { opacity: .25; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}

/* ---------- Utilities & tones ---------- */
.stack-16 { display: grid; gap: 16px; align-content: start; }
.stack-24 { display: grid; gap: 24px; align-content: start; }
.justify-end { justify-self: end; }
@media (max-width: 880px) { .justify-end { justify-self: start; } }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rel { position: relative; }
.ml-auto { margin-left: auto; }
.mt-6 { margin-top: 6px; } .mt-12 { margin-top: 12px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: clamp(40px, 6vw, 64px); }
.tone-ok { background: var(--ok-bg); color: var(--ok); }
.tone-warn { background: var(--warn-bg); color: var(--warn); }
.tone-bad { background: var(--bad-bg); color: var(--bad); }
.tone-blue { background: var(--blue-50); color: var(--blue); }
.tone-wa { background: var(--wa-bg); color: var(--wa); }
.card-ico.tone-ok, .card-ico.tone-warn, .card-ico.tone-bad, .card-ico.tone-wa { box-shadow: none; }
.tone-wa-ic { color: var(--wa); } .tone-ok-ic { color: var(--ok); } .tone-warn-ic { color: var(--warn); } .tone-blue-ic { color: var(--blue); } .tone-bad-ic { color: var(--bad); }
.on-navy-3 { color: var(--on-navy-3); }
.avatar-sm { width: 26px; height: 26px; font-size: .62rem; }
.ann-ico { width: 26px; height: 26px; border-radius: 8px; }
.ann-ico .ic { width: 14px; height: 14px; }
.sig-lg { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.sig-lg .ic { width: 19px; height: 19px; }
.sig-blue { background: rgba(46, 107, 255, .2); color: #BFD2FF; }
.eyebrow-light { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.eyebrow-light .dot { background: #fff; color: var(--blue); }
.builtfor { padding-block: 40px 24px; }
.head-sm { margin-bottom: 28px; align-items: baseline; }
.glass-card p.small { color: var(--on-navy-2); }

/* Dashboard rows: title cell holds id + title */
.row { grid-template-columns: minmax(0, 1fr) 8.8em 6.6em 4.2em 2.4em; }
.row .tt { display: grid; min-width: 0; }
.row .id { font-size: .8em; }
@media (max-width: 560px) { .row { grid-template-columns: minmax(0, 1fr) 8.8em; } .row > :nth-child(n+3) { display: none; } }

/* Nav sizing */
.nav-wrap { padding-inline: 12px; }
.nav { max-width: calc(var(--wrap) - 16px); margin-inline: auto; }
.gate-legend .ic { width: 14px; height: 14px; color: var(--ink-4); }
.gate-legend b { color: var(--ink); font-weight: 600; }
.depth-under { margin-top: 40px; }
@media (max-width: 640px) { .depth-under { margin-top: 0; } }

/* ---------- Platform page screens ---------- */
.app-head .mono { font-size: .82em; color: var(--ink-3); }
.app-actions { margin-left: auto; display: flex; gap: .6em; }
.big-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6em; }
.bs { display: grid; gap: .3em; padding: .8em 1em; border-radius: 1em; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.bs i { height: .45em; border-radius: .3em; background: var(--line); margin-bottom: .3em; }
.bs b { font-family: var(--f-display); font-size: 1em; color: var(--ink); font-weight: 650; }
.bs small { font-size: .82em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs.d i { background: var(--blue); }
.bs.d:nth-child(2) { background: var(--warn-bg); box-shadow: inset 0 0 0 1px #F3D9A0; }
.bs.d:nth-child(2) i { background: linear-gradient(90deg, var(--blue) 100%, var(--blue-100) 0); }
.app-tabs { display: flex; gap: .3em; border-bottom: 1px solid var(--line); }
.app-tabs span { padding: .6em .9em; font-size: .92em; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.app-tabs span.on { color: var(--blue); border-color: var(--blue); }
.app-tabs em { font-style: normal; font-size: .8em; padding: .05em .45em; border-radius: .6em; background: var(--bg-soft); margin-left: .3em; color: var(--ink-3); }
.mkv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.mkv div { padding: .8em; border-radius: .9em; background: var(--bg-soft); display: grid; gap: .2em; }
.mkv span { font-size: .8em; color: var(--ink-3); }
.mkv b { font-family: var(--f-display); font-size: 1.25em; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.f-quick { left: -64px; top: 32%; width: 260px; }
@media (max-width: 1380px) { .f-quick { left: -16px; } }
@media (max-width: 900px) { .f-quick, .app-tabs span:nth-child(n+5) { display: none; } .big-steps .bs small { display: none; } }

.plist { display: grid; }
.pl-t { display: grid; min-width: 0; }
.pl { display: grid; grid-template-columns: minmax(0, 1fr) auto 30px; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: .82rem; }
.pl:first-child { border-top: 0; }
.pl .mono { font-size: .72rem; color: var(--ink-3); }
.pl .t { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl .eye { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-4); }
.pl .eye .ic { width: 16px; height: 16px; }
.pl .eye.on { background: var(--blue); color: #fff; }
.side-peek { margin: -10px 0 0 auto; width: 78%; position: relative; z-index: 1; box-shadow: inset 0 0 0 1.5px var(--blue), var(--sh-3); }
.points { list-style: decimal; padding-left: 20px; margin-top: 12px; display: grid; gap: 4px; font-size: .82rem; color: var(--ink-2); }
.points li::marker { color: var(--blue); font-family: var(--f-mono); font-size: .75rem; }
.assign { display: grid; gap: 8px; }
.as { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.as.on { box-shadow: inset 0 0 0 1.5px var(--ok); background: var(--ok-bg); }
.as .avatar { width: 34px; height: 34px; font-size: .7rem; }
.as b { display: block; color: var(--ink); font-size: .86rem; }
.as small { color: var(--ink-3); font-size: .75rem; }
.why { display: flex; gap: 8px; margin-top: 12px; font-size: .8rem; color: var(--ink-2); padding: 10px 12px; border-radius: 12px; background: var(--blue-50); }
.why .ic { color: var(--blue); width: 16px; height: 16px; margin-top: 2px; }
.catchup { font-size: .84rem; line-height: 1.55; color: var(--ink-2); padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); }
.inbox { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 0; overflow: hidden; }
.inbox-list { border-right: 1px solid var(--line-2); padding: 8px; display: grid; align-content: start; gap: 2px; }
.ib { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px; border-radius: 12px; }
.ib.on { background: var(--blue-50); }
.ib .avatar { width: 32px; height: 32px; font-size: .64rem; }
.ib b { display: block; color: var(--ink); font-size: .8rem; }
.ib small { display: block; color: var(--ink-3); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib em { font-style: normal; min-width: 20px; height: 20px; border-radius: 10px; background: var(--wa); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.inbox-chat { display: grid; align-content: start; gap: 8px; padding: 12px; background: var(--wa-chat); min-height: 240px; }
.inbox-chat .window { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: #fff; font-size: .7rem; color: var(--wa); font-weight: 600; }
.inbox-chat .window .ic { width: 13px; height: 13px; }
.inbox-chat .bub { font-size: .76rem; }
.qr { display: flex; gap: 6px; justify-content: flex-end; margin-top: 4px; }
.qr span { padding: 5px 10px; border-radius: 8px; background: #fff; font-size: .7rem; font-weight: 600; color: var(--ink-2); box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
@media (max-width: 520px) { .inbox { grid-template-columns: 1fr; } .inbox-list { border-right: 0; border-bottom: 1px solid var(--line-2); }  }
.rules { display: grid; }
.rules div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: .8rem; }
.rules div:first-child { border-top: 0; }
.rules .mono { color: var(--ink); font-size: .76rem; }
.pill .ic { width: 1.1em; height: 1.1em; }

/* ---------- AI review page ---------- */
.rep-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: 1em; }
.rep-top > div { border-radius: 1.1em; box-shadow: inset 0 0 0 1px var(--line); padding: 1.1em 1.2em; }
.rep-score { display: flex; align-items: center; gap: 1.2em; background: var(--ok-bg); box-shadow: none !important; }
.rep-score small { font-size: .8em; color: var(--ok); font-weight: 600; }
.rep-score b { display: block; font-family: var(--f-display); font-size: 1.5em; color: var(--ink); letter-spacing: -.02em; }
.rep-score p { font-size: .85em; color: var(--ink-3); }
.ring-lg { width: 6em; height: 6em; }
.ring-lg span { width: 4.8em; height: 4.8em; font-size: 1.4em; }
.ring-lg span { width: 3.4em; height: 3.4em; }
.rep-sev { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-align: center; }
.rep-sev b { display: block; font-family: var(--f-display); font-size: 2em; color: var(--ok); letter-spacing: -.03em; }
.rep-sev b.w { color: var(--warn); } .rep-sev b.i { color: var(--blue); }
.rep-sev span { font-size: .8em; color: var(--ink-3); }
.rep-meta { display: grid; gap: .45em; }
.rep-meta div { display: flex; justify-content: space-between; gap: 1em; font-size: .86em; }
.rep-meta span { color: var(--ink-3); }
.rep-meta b { color: var(--ink); font-weight: 600; }
.arows { display: grid; }
.ar { display: grid; grid-template-columns: 9em minmax(0, 1fr) 8em 2.2em 3em; gap: .9em; align-items: center; padding: .65em 0; border-top: 1px solid var(--line-2); font-size: .9em; }
.ar:first-child { border-top: 0; }
.ar > span:first-child { color: var(--ink); font-weight: 600; }
.ar .sct { color: var(--ink-3); font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar .sbar { height: .55em; border-radius: .3em; background: var(--line-2); overflow: hidden; }
.ar .sbar i { display: block; height: 100%; background: var(--blue); border-radius: .3em; }
.ar b { font-family: var(--f-mono); font-size: .9em; color: var(--ink); text-align: right; }
.ar .pill { justify-self: end; }
.finding { padding: .9em 1em; border-radius: 1em; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .5em; font-size: .9em; }
.fh { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.fh small { color: var(--ink-3); font-size: .85em; }
.finding q { background: var(--mark); padding: 0 .2em; border-radius: .2em; quotes: none; font-style: italic; color: var(--ink); }
.fa { display: flex; gap: .5em; }
.fa span { display: inline-flex; align-items: center; gap: .3em; padding: .35em .8em; border-radius: .6em; font-size: .85em; font-weight: 600; }
.fa .ic { width: 1em; height: 1em; }
.fix-b { background: var(--ok); color: #fff; }
.ign-b { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
@media (max-width: 900px) { .rep-top { grid-template-columns: 1fr 1fr; } .rep-meta { display: none; } .ar { grid-template-columns: 9em minmax(0, 1fr) 2.2em 3em; } .ar .sct { display: none; } }

.model-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.model-list div { padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.model-list div:first-child { background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-200); }
.model-list b { display: block; font-family: var(--f-display); color: var(--ink); font-size: .95rem; font-weight: 650; }
.model-list span { font-size: .8rem; color: var(--ink-3); }
@media (max-width: 480px) { .model-list { grid-template-columns: 1fr; } }
.alist { list-style: none; counter-reset: ag var(--start, 0); display: grid; gap: 2px; }
.alist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: .93rem; color: var(--ink); font-weight: 550; }
.alist li:first-child { border-top: 0; }
.alist li small { margin-left: auto; color: var(--ink-4); font-weight: 500; font-size: .76rem; }
.alist li::before { counter-increment: ag; content: counter(ag); width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--f-mono); font-size: .66rem; font-weight: 600; }
.alist[start="6"] { counter-reset: ag 5; } .alist[start="13"] { counter-reset: ag 12; } .alist[start="16"] { counter-reset: ag 15; }

.runline.light .run { background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.runline.light .run b { color: var(--ink); }
.runline.light .run .n { color: var(--blue); }
.runline.light { position: relative; }
.runline.light .run::after { content: ""; position: absolute; top: 26px; right: -10px; width: 10px; height: 2px; background: var(--blue-200); }
.runline.light .run:last-child::after { display: none; }
@media (max-width: 1000px) { .runline.light .run::after { display: none; } }
.verdicts-lg .verdict { padding: 24px; gap: 12px; }
.verdicts-lg .verdict b { font-size: 1.15rem; }
.verdicts-lg .verdict p { font-size: .92rem; color: var(--on-navy-2); }
.navy-box .bar-legend { color: var(--on-navy-3); }

/* ---------- How it works page ---------- */
.wrap-mid { max-width: 1080px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9em; }
.col { display: grid; gap: .6em; align-content: start; padding: .7em; border-radius: 1.1em; background: var(--bg-soft); min-width: 0; }
.col-h { display: flex; align-items: center; gap: .5em; padding: .2em .3em .4em; font-family: var(--f-display); font-weight: 650; font-size: .95em; color: var(--ink); }
.col-h i { width: .7em; height: .7em; border-radius: .2em; }
.col-h b { margin-left: auto; font-family: var(--f-mono); font-size: .85em; color: var(--ink-3); }
.kc { display: grid; gap: .35em; padding: .8em .9em; border-radius: .9em; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(11, 21, 52, .04); min-width: 0; }
.kc .id { font-family: var(--f-mono); font-size: .76em; color: var(--ink-3); }
.kc b { font-size: .9em; color: var(--ink); font-weight: 600; line-height: 1.3; }
.kf { display: flex; align-items: center; justify-content: space-between; gap: .4em; margin-top: .2em; font-size: .8em; color: var(--ink-3); flex-wrap: wrap; }
.kf .avatar { width: 2em; height: 2em; font-size: .75em; }
.tag { padding: .2em .6em; border-radius: .5em; font-weight: 650; font-size: .95em; white-space: nowrap; }
.tg { background: var(--mark-soft); color: #8A6A00; }
.th { background: var(--bad-bg); color: var(--bad); }
.tw { background: var(--warn-bg); color: var(--warn); }
.tb { background: var(--blue-50); color: var(--blue-700); }
.tok { background: var(--ok-bg); color: var(--ok); }
.kc.hold { box-shadow: inset 0 0 0 1.5px var(--bad); }
.kc.gate-c { box-shadow: inset 0 0 0 1.5px #E8C64A; }
.kc.done { opacity: .85; }
@media (max-width: 900px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } .board .col:nth-child(n+4) { display: none; } }
.countrule { display: grid; gap: 8px; }
.countrule div { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; }
.countrule b { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.countrule div::after { content: "="; order: -1; display: none; }
.tl-body .ui { box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Solutions page ---------- */
.roles-art { min-height: 460px; display: grid; align-content: center; }
.roles-art .role { position: relative; z-index: 1; width: 78%; }
.roles-art .r1 { justify-self: start; }
.roles-art .r2 { justify-self: end; margin-top: -14px; }
.roles-art .r3 { justify-self: start; margin-top: -10px; margin-left: 6%; }
.roles-art .r4 { justify-self: end; margin-top: -10px; }
.roles-art .ui-h b { display: inline-flex; align-items: center; gap: 8px; }
.roles-art .ui-h b .ic { width: 16px; height: 16px; }
.roles-art .today-i { box-shadow: none; padding: 0; }
.roles-art .wa-bubble { margin-top: 0; }
@media (max-width: 520px) { .roles-art .role { width: 92%; } }
.sols { display: grid; }
.h2-sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.mkv-rem { font-size: .86rem; }
.wa-mini { display: grid; gap: 8px; background: var(--wa-chat); }
.wa-mini .bub { font-size: .82rem; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.type-card { scroll-margin-top: 110px; }
.type-card:target { box-shadow: inset 0 0 0 1.5px var(--blue), var(--sh-2); }

/* ---------- Security page ---------- */
.vault .vt1 { left: 0; top: 16%; }
.vault .vt2 { right: 0; top: 30%; }
.vault .vt3 { left: 4%; bottom: 22%; }
.vault .vt4 { right: 2%; bottom: 8%; }
@media (max-width: 520px) { .vault .tag { font-size: .68rem; padding: 6px 9px; } }
.ticklist.small { font-size: .92rem; gap: 10px; }
.ticklist.small li .ic { width: 20px; height: 20px; }
.checklist { display: grid; }
.checklist div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: .84rem; color: var(--ink); }
.checklist div:first-child { border-top: 0; }
.checklist .ic { width: 17px; height: 17px; }
.checklist small { margin-left: auto; color: var(--ink-3); font-family: var(--f-mono); font-size: .7rem; }
.btnish-row { margin-top: 10px; }
.logins { display: grid; }
.logins div { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: .8rem; color: var(--ink-2); }
.logins div:first-child { border-top: 0; }
.logins .avatar { width: 28px; height: 28px; font-size: .62rem; }
.logins small { margin-left: auto; font-family: var(--f-mono); color: var(--ink-3); font-size: .7rem; }
.logins .bad { color: var(--bad); }
.logins .bad .avatar { background: var(--bad); }
.policy { display: grid; gap: 8px; margin: 12px 0; }
.policy div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font-size: .82rem; }
.policy .ic { width: 17px; height: 17px; }
.policy b { color: var(--ink); }
.accept { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--blue); font-size: .82rem; color: var(--ink); font-weight: 600; }
.accept .box { width: 20px; height: 20px; border-radius: 6px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.accept .box .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.btnish { padding: 6px 12px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 600; font-size: .78rem; margin-left: auto; white-space: nowrap; }
.host { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--r-xl); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.host p { margin-top: 4px; }
@media (max-width: 760px) { .host { grid-template-columns: 1fr; } .host .btn { justify-self: start; } }

/* ---------- Contact page ---------- */
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.agenda { display: grid; gap: 8px; }
.agenda li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .94rem; color: var(--ink); }
.agenda .t { font-family: var(--f-mono); font-size: .76rem; color: var(--blue); font-weight: 600; flex: none; width: 3.2rem; }
.contact-rows { display: grid; gap: 8px; }
.contact-rows .small { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.contact-rows .small .ic { width: 16px; height: 16px; }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs legend { padding: 0; margin-bottom: 8px; font-family: var(--f-display); font-weight: 600; font-size: .88rem; color: var(--ink); }
.form-card .row-between .tiny { max-width: 30ch; }
.form-done { min-height: 360px; align-content: center; }
.form-done:focus { outline: none; }
.trial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.trial-steps { display: grid; gap: 10px; }
.trial-steps > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.trial-steps .n { grid-row: span 2; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--f-mono); font-weight: 600; }
.trial-steps b { font-family: var(--f-display); color: var(--ink); font-weight: 650; }
.trial-steps p { font-size: .88rem; color: var(--ink-3); }
.trial-steps .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 900px) { .trial { grid-template-columns: 1fr; } }

/* Real screenshots: put <img class="shot-img" ...> inside .bezel in place of the coded .app screen */
.shot-img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }

/* ---------- What is PaperFlow (three jobs) ---------- */
.sec-what { padding-top: clamp(56px, 7vw, 96px); }
.job .link-arrow { margin-top: auto; padding-top: 6px; }
.job-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.job-facts li { padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .82rem; color: var(--ink-2); }
.job-facts b { font-family: var(--f-display); color: var(--ink); margin-right: 2px; }

/* Display highlight that wraps across lines */
.display .hl, .hero-top .display .hl { white-space: normal; background: linear-gradient(var(--mark), var(--mark)) 0 88% / 100% .3em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .04em; animation: hl-in 1.1s var(--ease-out) .45s both; }
.hero-top .display .hl::after { content: none; }
@keyframes hl-in { from { background-size: 0% .3em; } to { background-size: 100% .3em; } }

/* ---------- Floating Call + WhatsApp ---------- */
.fab { position: fixed; z-index: 35; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn { position: relative; display: inline-flex; align-items: center; justify-content: flex-end; height: 56px; min-width: 56px; padding: 0 16px; border-radius: 999px; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: .95rem; box-shadow: 0 10px 28px -10px rgba(11, 21, 52, .45), inset 0 1px 0 rgba(255, 255, 255, .22); transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s var(--ease); }
.fab-btn .ic { width: 24px; height: 24px; flex: none; stroke-width: 1.9; }
.fab-label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .5s var(--ease), opacity .3s var(--ease), margin .5s var(--ease); }
.fab-btn:hover .fab-label, .fab-btn:focus-visible .fab-label { max-width: 220px; opacity: 1; margin-left: 10px; }
.fab-btn:hover { transform: translateY(-2px); }
.fab-btn:active { transform: scale(.97); }
.fab-btn .ic { order: -1; }
.fab-wa { background: #1FA855; }
.fab-wa:hover { background: #179C4E; }
.fab-call { background: var(--blue); width: 48px; min-width: 48px; height: 48px; padding: 0 12px; }
.fab-call .ic { width: 21px; height: 21px; }
.fab-call:hover { width: auto; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 168, 85, .5); animation: fab-pulse 2.6s var(--ease-out) 1.2s 3; pointer-events: none; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .5); } 100% { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0); } }
@media (hover: none) { .fab-btn:hover .fab-label { max-width: 0; opacity: 0; margin: 0; } .fab-call:hover { width: 48px; } }
@media (max-width: 640px) { .footer { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 112px); } }
.palette.is-open ~ .fab, .mnav.is-open ~ .fab { visibility: hidden; }
.hero-top .display { font-size: clamp(2.6rem, 5.4vw, 4.5rem); }

/* Form: server messages and spam trap */
.form-error { padding: 12px 14px; border-radius: 12px; background: var(--bad-bg); color: var(--bad); font-size: .92rem; font-weight: 550; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .7; pointer-events: none; }

/* 404 page */
.nf .nf-box { max-width: 760px; display: grid; gap: 24px; padding-block: 24px 40px; }
.nf-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.nf-links a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-display); font-weight: 600; color: var(--ink); transition: box-shadow .3s var(--ease); }
.nf-links a:hover { box-shadow: inset 0 0 0 1px var(--blue-200), var(--sh-2); }
.nf-links .ic { color: var(--blue); }
@media (max-width: 560px) { .nf-links { grid-template-columns: 1fr; } }

/* ---------- Client logo wall ---------- */
.logos-sec { padding-block: clamp(36px, 5vw, 56px) clamp(16px, 3vw, 28px); }
.logos-head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 22px; text-align: center; }
.logos-title { font-family: var(--f-text); font-size: .95rem; font-weight: 550; letter-spacing: 0; color: var(--ink-3); }
.sample-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: .74rem; font-weight: 650; white-space: nowrap; }
.sample-pill .ic { width: 13px; height: 13px; stroke-width: 2; }
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-lg); background: var(--line-2); box-shadow: 0 0 0 1px var(--line-2), var(--sh-1); overflow: hidden; }
.logo-cell { position: relative; display: grid; justify-items: center; align-content: start; gap: 12px; min-height: 124px; padding: 30px 14px 18px; background: #fff; color: var(--ink-3); transition: color .35s var(--ease), background-color .35s var(--ease); }
.logo-cell:hover { color: var(--ink); background: var(--bg-soft); }
.client-logo { display: block; height: 38px; width: auto; max-width: 100%; }
img.client-logo { object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.logo-cell:hover img.client-logo { filter: none; opacity: 1; }
.client-logo-text { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 34px; height: auto; }
.logo-type { font-size: .68rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); text-align: center; }
.logos-foot { margin-top: 16px; text-align: center; font-size: .86rem; color: var(--ink-3); }
@media (max-width: 1100px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-cell { min-height: 104px; padding: 22px 10px 14px; } .client-logo { height: 30px; } }

/* ---------- Testimonials ---------- */
.sample-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); font-size: .84rem; font-weight: 550; line-height: 1.45; max-width: 52ch; }
.sample-note .ic { width: 16px; height: 16px; margin-top: 2px; stroke-width: 2; }
.tst { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.tst-stage { display: grid; }
.tst-card {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: clamp(20px, 3vw, 28px);
  padding: clamp(24px, 4vw, 44px) clamp(22px, 4vw, 44px) clamp(24px, 3.6vw, 38px) clamp(50px, 6.4vw, 84px);
  border-radius: var(--r-xl); background-color: #fff;
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(46, 107, 255, .055) 35px 36px);
  box-shadow: inset 0 0 0 1px var(--line), var(--sh-3); overflow: hidden;
}
.tst-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(34px, 4.6vw, 60px); width: 1px; background: rgba(217, 48, 54, .24); }
.tst-card.is-in { animation: tst-in .55s var(--ease-out) both; }
@keyframes tst-in { from { opacity: .35; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tst-top { display: flex; align-items: center; gap: 12px; min-height: 34px; }
.tst-logo { height: 32px; color: var(--ink); }
.tst-n { margin-left: auto; font-size: .74rem; color: var(--ink-4); }
.sample-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tst-q { margin: 0; }
.tst-q p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.25vw, 1.85rem); line-height: 1.34; letter-spacing: -.021em; color: var(--ink); text-wrap: pretty; max-width: 34ch; }
.tst-mark { color: inherit; padding: 0 .06em; background: linear-gradient(transparent 56%, var(--mark) 56%, var(--mark) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tst-by { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tst-avatar, .tst-photo { width: 48px; height: 48px; border-radius: 50%; flex: none; font-size: .86rem; object-fit: cover; }
.tst-by b { display: block; font-family: var(--f-display); font-weight: 650; color: var(--ink); font-size: 1.02rem; }
.tst-by small { display: block; color: var(--ink-3); font-size: .88rem; }
.tst-uses { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px dashed var(--line); }
.tst-uses-l { font-size: .74rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-right: 4px; }
.tst-list { display: grid; gap: 8px; align-content: start; }
.tst-tab { display: grid; grid-template-columns: 46px minmax(0, 1fr) 18px; gap: 14px; align-items: center; width: 100%; padding: 12px 14px 12px 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: box-shadow .35s var(--ease), background-color .35s var(--ease); }
.tst-tab:hover { box-shadow: inset 0 0 0 1px var(--blue-200), var(--sh-1); }
.tst-tab[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--blue), var(--sh-2); }
.tst-tab-logo { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .35s var(--ease), color .35s var(--ease); }
.tst-tab-logo svg { width: 26px; height: 26px; }
.tst-tab[aria-selected="true"] .tst-tab-logo { background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 1px rgba(46, 107, 255, .16); }
.client-initials { font-family: var(--f-display); font-weight: 700; font-size: .85rem; }
.tst-tab-t { min-width: 0; }
.tst-tab-t b { display: block; font-family: var(--f-display); font-weight: 650; font-size: .95rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tst-tab-t small { display: block; font-size: .8rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tst-tab > .ic { width: 18px; height: 18px; color: var(--ink-4); transition: transform .35s var(--ease), color .35s var(--ease); }
.tst-tab[aria-selected="true"] > .ic { color: var(--blue); transform: translateX(2px); }
@media (max-width: 1000px) {
  .tst { grid-template-columns: minmax(0, 1fr); }
  .tst-list { order: -1; grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%); overflow-x: auto; padding: 4px; margin: -4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tst-list::-webkit-scrollbar { display: none; }
  .tst-tab { scroll-snap-align: start; }
  .tst-tab > .ic { display: none; }
  .tst-tab { grid-template-columns: 46px minmax(0, 1fr); }
}
@media (max-width: 520px) { .tst-q p { font-size: 1.2rem; } .tst-n { display: none; } .tst-top { flex-wrap: wrap; } .sample-chip { margin-left: auto; } }

/* Tablet burger menu: keep the list a readable width */
@media (min-width: 700px) { .mnav { align-items: center; } .mnav > * { width: min(640px, 100%); } }
/* Small phones: give the timeline cards more room */
@media (max-width: 420px) {
  .tl, .tl-gate { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .tl-n { width: 32px; height: 32px; border-radius: 10px; font-size: .72rem; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px #fff; }
  .timeline::before { left: 15px; }
  .tl-gate .gd { width: 20px; height: 20px; }
  .tl-body { padding: 16px; }
  .tl-body .ui { padding: 14px; }
  .ui-h { flex-wrap: wrap; row-gap: 4px; }
}

/* ---------- Audience strip (home page, shown until real client logos are added) ---------- */
.aud-cell { padding: 0; }
.aud-cell a { display: grid; justify-items: center; align-content: start; gap: 10px; height: 100%; padding: 26px 14px 18px; text-align: center; color: inherit; }
.aud-cell b { font-family: var(--f-display); font-weight: 700; font-size: .98rem; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.aud-cell a:focus-visible { outline-offset: -4px; }
@media (max-width: 560px) { .aud-cell a { padding: 20px 10px 14px; } .aud-cell b { font-size: .9rem; } }

/* ---------- Agency landing pages ---------- */
.lp-art .ui { font-size: .9rem; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel-card { color: inherit; }
.rel-card:hover { box-shadow: inset 0 0 0 1.5px var(--blue-200), var(--sh-2); }
.rel-card .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .rel-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages (privacy, terms) ---------- */
.prose { max-width: 72ch; color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.25; margin-top: 44px; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.08rem; font-weight: 650; margin-top: 28px; }
.prose ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-700); }
.prose b, .prose strong { color: var(--ink); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.legal-toc a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { box-shadow: inset 0 0 0 1px var(--blue-200); color: var(--ink); }
.legal-note { padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; }
.link-u { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.page-hero.legal-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.legal-body { padding-top: clamp(8px, 2vw, 24px); }

/* ==========================================================================
   October 2026 update: new modules, pricing, reviews, Instagram
   ========================================================================== */

/* ---------- Badges for new items ---------- */
.mega { width: min(920px, calc(100vw - 32px)); }
.mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1240px) { .mega-grid { grid-template-columns: 1fr 1fr; } .mega { width: min(680px, calc(100vw - 32px)); } }
.mega-new, .nav-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--mark); color: var(--ink); font-family: var(--f-text); font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .02em; vertical-align: 2px; }
.mod-nav a .nav-new { margin-left: auto; }
.new-chip { margin-left: 8px; font-size: .72rem; letter-spacing: 0; text-transform: none; vertical-align: 2px; }

/* ---------- New in PaperFlow ---------- */
.newgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .newgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .newgrid { grid-template-columns: 1fr; } }
.newcol { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.newcol-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.newcol-h .link-arrow { font-size: .85rem; }
.newlist { display: grid; gap: 16px; }
.newlist li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; }
.newlist .card-ico { width: 38px; height: 38px; border-radius: 11px; }
.newlist .card-ico .ic { width: 19px; height: 19px; }
.newlist b { display: block; font-family: var(--f-display); font-weight: 650; color: var(--ink); font-size: .96rem; margin-bottom: 2px; }
.newlist span { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }

/* ---------- Pricing ---------- */
.price-hero { padding-bottom: 8px; }
.price-head { display: grid; justify-items: center; text-align: center; gap: 20px; max-width: 820px; margin: 28px auto 0; }
.price-head .lead { max-width: 62ch; }
.billing { display: inline-flex; padding: 5px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.billing button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 99px; background: transparent; font-family: var(--f-display); font-weight: 650; font-size: .92rem; color: var(--ink-2); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing .save { padding: 2px 8px; border-radius: 99px; background: var(--mark); color: var(--ink); font-size: .74rem; }
.price-sec { padding-top: clamp(32px, 4vw, 48px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); color: inherit; }
.plan-pop { box-shadow: inset 0 0 0 2px var(--blue), 0 24px 48px -24px rgba(46, 107, 255, .45); }
.plan-badge { position: absolute; top: -14px; left: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--blue); color: #fff; font-family: var(--f-display); font-weight: 650; font-size: .78rem; }
.plan-badge .ic { width: 14px; height: 14px; fill: currentColor; }
.plan-top .h3 { margin-bottom: 6px; }
.plan-for { color: var(--ink-3); font-size: .94rem; min-height: 2.9em; }
.plan-price { display: flex; align-items: flex-end; gap: 10px; }
.plan-price b { font-family: var(--f-display); font-size: clamp(2.1rem, 3.4vw, 2.7rem); font-weight: 750; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.plan-price span { display: grid; color: var(--ink-3); font-size: .9rem; line-height: 1.3; padding-bottom: 3px; }
.plan-price small { font-size: .78rem; color: var(--ink-4); }
.plan-limits { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); }
.plan-limits li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.plan-limits .ic { width: 17px; height: 17px; color: var(--blue); }
.plan-cta { justify-content: center; }
.plan-points { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.plan-lead { font-family: var(--f-display); font-weight: 650; color: var(--ink); font-size: .9rem; }
.plan-points .ticklist { gap: 10px; }
.plan-points .ticklist span { font-size: .92rem; color: var(--ink-2); }
.plan-ent { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: center; margin-top: 18px; padding: 24px 28px; border-radius: var(--r-xl); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.plan-ent-copy { display: flex; gap: 16px; align-items: flex-start; }
.plan-ent-copy p { color: var(--ink-2); font-size: .94rem; margin-top: 4px; }
.plan-ent-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.plan-ent-points li { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-2); }
.plan-ent-points .ic { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.4; }
@media (max-width: 1000px) { .plan-ent { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .plan-ent-points { grid-template-columns: 1fr; } .plan { padding: 28px 22px; } }
.price-note { margin-top: 18px; text-align: center; color: var(--ink-3); font-size: .88rem; }
.plans-mini .plan { gap: 14px; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.plan-link:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--blue-200), var(--sh-2); }
.plan-link.plan-pop:hover { box-shadow: inset 0 0 0 2px var(--blue), 0 28px 52px -24px rgba(46, 107, 255, .55); }
.plan-link .link-arrow { margin-top: auto; }

.cmp-wrap { position: relative; max-width: 100%; min-width: 0; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; overflow-x: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.cmp { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .93rem; }
.cmp thead th { background: #fff; padding: 18px 16px; text-align: center; font-family: var(--f-display); font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.cmp thead th:first-child { text-align: left; }
.cmp thead th small { display: block; margin-top: 3px; font-family: var(--f-text); font-weight: 500; font-size: .8rem; color: var(--ink-3); }
.cmp th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-2); padding: 12px 16px; }
.cmp td { text-align: center; padding: 12px 16px; color: var(--ink); font-weight: 600; font-size: .88rem; }
.cmp tbody tr + tr th, .cmp tbody tr + tr td { border-top: 1px solid var(--line-2); }
.cmp .cmp-group td { background: var(--bg-soft); border-top: 0; }
.cmp .cmp-group th { white-space: nowrap;  padding: 20px 16px 8px; font-family: var(--f-display); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); text-align: left; background: var(--bg-soft); }
.cmp .pop { background: rgba(46, 107, 255, .045); }
.cmp thead .pop { background: var(--blue-50); color: var(--blue-700); }
.cmp .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.cmp .yes .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.cmp .no { color: var(--ink-4); font-weight: 400; }
.addon-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.addon-price b { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); }
.addon-price span { color: var(--ink-3); font-size: .85rem; }

/* ---------- Workbench / chat / pulse mock-ups on the features page ---------- */
.tracked { font-size: .9rem; line-height: 1.7; color: var(--ink-2); padding: 4px 2px 10px; }
.tracked del { color: var(--bad); background: var(--bad-bg); text-decoration-thickness: 1.5px; border-radius: 3px; padding: 0 2px; }
.tracked ins { color: var(--ok); background: var(--ok-bg); text-decoration: none; border-bottom: 1.5px solid var(--ok); border-radius: 3px; padding: 0 2px; }
.wa-mock { padding: 0; overflow: hidden; }
.wa-mock .ui-h { padding: 12px 14px; margin: 0; background: #F0F2F5; }
.wa-thread { display: grid; gap: 6px; padding: 14px; background: var(--wa-chat); background-image: radial-gradient(rgba(0, 0, 0, .04) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.wb { max-width: 86%; padding: 7px 10px 6px; border-radius: 8px; font-size: .86rem; line-height: 1.4; color: #111B21; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wb.in { justify-self: start; background: #fff; border-top-left-radius: 0; }
.wb.out { justify-self: end; background: var(--wa-out); border-top-right-radius: 0; }
.wb b { display: block; font-size: .78rem; color: #C2337F; margin-bottom: 1px; }
.wb .meta { display: block; text-align: right; font-size: .66rem; color: #667781; margin-top: 2px; }
.ticks-b { color: #2E9FD8; letter-spacing: -2px; }
.wb .vn { display: flex; align-items: center; gap: 8px; margin: 2px 0 4px; font-size: .74rem; color: #667781; }
.wb .vn .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--wa); color: #fff; }
.wb .vn i { flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #2E9FD8 35%, #C9D3DA 35%); min-width: 110px; }
.wb em { display: block; font-size: .8rem; color: #54656F; }
.pulse-mock { padding: 0; overflow: hidden; }
.pulse-top { padding: 18px; background: linear-gradient(135deg, #312E81, #6366F1); color: #fff; }
.pulse-top small { display: block; opacity: .85; font-size: .76rem; }
.pulse-top > b { display: block; font-family: var(--f-display); font-size: 1.9rem; font-weight: 750; margin: 2px 0 10px; }
.pulse-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .2); font-weight: 700; font-size: .92rem; }
.pulse-row em { font-style: normal; color: #FFD2D2; }
.pulse-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; background: var(--bg-soft); }
.pulse-tiles div { padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pulse-tiles b { display: block; font-family: var(--f-display); font-size: 1.3rem; color: var(--ink); }
.pulse-tiles b.ok { color: var(--ok); }
.pulse-tiles b.bad { color: var(--bad); }
.pulse-tiles small { color: var(--ink-3); font-size: .76rem; }

/* ---------- Review page ---------- */
.review-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .review-layout { grid-template-columns: 1fr; } }
.review-side { display: grid; gap: 16px; }
.rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { cursor: pointer; padding: 2px; border-radius: 8px; color: var(--line); transition: color .15s var(--ease), transform .15s var(--ease); }
.rate label .ic { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: #F5B301; }
.rate input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.rate label:active { transform: scale(.92); }
.field.invalid .err, .fs.invalid .err { display: block; }
.check-line { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check-line input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.insta-ico { background: linear-gradient(135deg, #FEDA75, #FA7E1E 30%, #D62976 60%, #962FBF 85%, #4F5BD5); color: #fff; box-shadow: none; }

/* ---------- Instagram / social ---------- */
.footer .social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer .social-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(167, 186, 240, .2); color: var(--on-navy); font-weight: 600; font-size: .86rem; text-decoration: none; }
.footer .social-btn:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }
.footer .social-btn .ic { width: 17px; height: 17px; }
.footer .social-btn:first-child .ic { color: #F77737; }
.mnav-social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.mnav-social .ic { width: 18px; height: 18px; color: #D62976; }
@media (prefers-reduced-motion: reduce) { .plan-link, .rate label { transition: none; } .plan-link:hover { transform: none; } }

/* ==========================================================================
   October 2026, round 2: walkthrough time picker, plan finder, Ask PaperFlow
   ========================================================================== */

/* ---- Time picker on the contact form ---- */
.slot-pick { display: grid; gap: 12px; min-width: 0; }
.slot-pick legend small { font-family: var(--f-text); font-weight: 400; color: var(--ink-4); margin-left: 4px; }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.slot-day { flex: none; display: grid; justify-items: center; gap: 0; width: 64px; padding: 8px 0; border-radius: 14px; border: 0; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.slot-day b { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.2; color: var(--ink); letter-spacing: 0; }
.slot-day:hover { box-shadow: inset 0 0 0 1px var(--blue-200); }
.slot-day[aria-selected="true"] { background: var(--ink); box-shadow: none; color: rgba(255, 255, 255, .75); }
.slot-day[aria-selected="true"] b { color: #fff; }
.slot-day:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot-times[hidden] { display: none; }
.slot-head { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-3); margin: 0; }
.slot-times label, .slot-none { cursor: pointer; }
.slot-times input, .slot-none input { position: absolute; opacity: 0; pointer-events: none; }
.slot-times span { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: all .2s var(--ease); }
.slot-times label:hover span { box-shadow: inset 0 0 0 1px var(--blue-200); color: var(--blue); }
.slot-times input:checked + span { background: var(--blue); color: #fff; box-shadow: none; }
.slot-times input:focus-visible + span, .slot-none input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.slot-none span { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-3); }
.slot-none span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-4); transition: box-shadow .2s var(--ease); }
.slot-none input:checked + span { color: var(--ink); }
.slot-none input:checked + span::before { box-shadow: inset 0 0 0 5px var(--blue); }
.slot-pick.invalid .err { display: block; }
.slot-done { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--blue-50); color: var(--ink); margin: 0; }
.slot-done .ic { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }

/* ---- Plan finder ---- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: clamp(32px, 4vw, 48px); }
.calc-in { display: grid; gap: 22px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.calc-row { display: grid; gap: 10px; }
.calc-row label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.calc-row label small { font-family: var(--f-text); font-weight: 400; color: var(--ink-4); font-size: .82rem; }
.calc-row output { font-size: 1.35rem; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.calc-row input[type="range"] { width: 100%; height: 28px; accent-color: var(--blue); cursor: pointer; }
.calc-money { display: flex; align-items: center; gap: 8px; max-width: 220px; padding: 0 14px; min-height: 48px; border-radius: 14px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }
.calc-money span { color: var(--ink-3); font-weight: 600; }
.calc-money input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1rem; font-weight: 600; color: var(--ink); padding: 12px 0; }
.calc-money:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(46, 107, 255, .12); }
.calc-money input:focus { outline: none; }
.calc-needs { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.calc-needs legend { font-family: var(--f-display); font-weight: 600; color: var(--ink); margin-bottom: 10px; padding: 0; }
.calc-needs label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.calc-needs input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.calc-out { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--navy); color: var(--on-navy); box-shadow: var(--sh-3); }
.calc-kicker { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-3); }
.calc-plan { margin: 0; font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.calc-price { margin: 0; color: var(--on-navy-2); }
.calc-price b { font-family: var(--f-display); font-size: 1.5rem; color: #fff; margin-right: 4px; font-variant-numeric: tabular-nums; }
.calc-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--on-navy-2); }
.calc-why li { position: relative; padding-left: 18px; }
.calc-why li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--mark); }
.calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.calc-grid div { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--line-navy); }
.calc-grid span { font-size: .76rem; color: var(--on-navy-3); line-height: 1.3; }
.calc-grid b { font-family: var(--f-display); font-size: 1.2rem; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-net { background: linear-gradient(140deg, rgba(46, 107, 255, .35), rgba(46, 107, 255, .12)) !important; }
.calc-net.neg b { color: #FFB4A9; }
.calc-cta { justify-self: start; }
.calc-how { font-size: .86rem; color: var(--on-navy-2); }
.calc-how summary { cursor: pointer; color: #fff; font-weight: 600; }
.calc-how ul { margin: 10px 0 8px; padding-left: 18px; display: grid; gap: 4px; }
.calc-how p { margin: 0; color: var(--on-navy-3); }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .calc-out { position: static; } }
@media (max-width: 520px) { .calc-grid { grid-template-columns: 1fr; } .calc-grid div { grid-template-columns: 1fr auto; align-items: center; } }

/* ---- Ask PaperFlow ---- */
.fab-ask { background: var(--navy); width: 48px; min-width: 48px; height: 48px; padding: 0 12px; }
.fab-ask .ic { width: 21px; height: 21px; }
.fab-ask:hover { width: auto; background: var(--navy-3); }
.fab-ask[aria-expanded="true"] { background: var(--blue); }
@media (hover: none) { .fab-ask:hover { width: 48px; } }
.ask { position: fixed; z-index: 36; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: 0 2px 6px rgba(11, 21, 52, .06), 0 30px 70px -20px rgba(11, 21, 52, .45), inset 0 0 0 1px var(--line); overflow: hidden; opacity: 0; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .2s var(--ease), transform .3s var(--ease); }
.ask.is-open { opacity: 1; transform: none; }
.ask[hidden] { display: none; }
body.ask-open .fab { visibility: hidden; }
.ask-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--navy); color: #fff; }
.ask-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--blue); flex: none; }
.ask-ico .ic { width: 19px; height: 19px; }
.ask-head div { flex: 1; min-width: 0; display: grid; }
.ask-head b { font-family: var(--f-display); font-size: 1rem; }
.ask-head span { font-size: .78rem; color: var(--on-navy-2); }
.ask-x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--on-navy-2); cursor: pointer; flex: none; }
.ask-x:hover { background: var(--navy-3); color: #fff; }
.ask-x .ic { width: 18px; height: 18px; }
.ask-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); overscroll-behavior: contain; }
.ask-msg { max-width: 92%; padding: 10px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.5; }
.ask-msg p { margin: 0; }
.ask-msg.bot { align-self: flex-start; background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.ask-msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.ask-link { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--blue); }
.ask-wa { display: inline-flex; margin-top: 10px; padding: 8px 14px; border-radius: 999px; background: #1FA855; color: #fff; font-weight: 700; font-size: .85rem; }
.ask-sub { margin-top: 10px !important; font-size: .76rem; color: var(--ink-4); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.ask-rel { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ask-rel button { border: 0; padding: 7px 11px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .82rem; font-weight: 600; text-align: left; cursor: pointer; transition: background-color .2s var(--ease); }
.ask-rel button:hover { background: var(--blue-100); }
.ask-rel button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ask-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line-2); background: #fff; }
.ask-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; color: var(--ink); }
.ask-form input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); }
.ask-form button { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: var(--blue); color: #fff; cursor: pointer; }
.ask-form button .ic { width: 19px; height: 19px; }
@media (max-width: 520px) { .ask { right: 0; left: 0; bottom: 0; width: 100%; height: min(78dvh, 620px); border-radius: 22px 22px 0 0; } }
@media (prefers-reduced-motion: reduce) { .ask { transition: none; transform: none; } }

/* ==========================================================================
   Watch a paper travel (home page, #journey)
   ========================================================================== */
.flow { margin-top: clamp(32px, 4vw, 48px); padding: clamp(18px, 3vw, 28px); border-radius: var(--r-xl); background: linear-gradient(165deg, #FFFFFF 0%, var(--bg-soft) 100%); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); }
.flow-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.flow-paper { display: flex; align-items: center; gap: 12px; min-width: 0; }
.flow-doc { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue-100); }
.flow-doc .ic { width: 20px; height: 20px; }
.flow-paper div { display: grid; min-width: 0; }
.flow-paper b { font-family: var(--f-mono); font-size: .9rem; color: var(--ink); }
.flow-paper span { font-size: .85rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-ctl { display: flex; gap: 6px; }
.flow-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-family: var(--f-display); font-weight: 600; font-size: .85rem; cursor: pointer; transition: box-shadow .2s var(--ease), color .2s var(--ease); }
.flow-btn:hover { color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue-200); }
.flow-btn:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.flow-btn .ic { width: 15px; height: 15px; }
.flow-btn span { display: inline-flex; align-items: center; gap: 6px; }
.flow .fb-play, .flow.is-paused .fb-pause { display: none; }
.flow.is-paused .fb-play { display: inline-flex; }

.flow-track { --pad: 48px; position: relative; height: 158px; margin: 18px 0 6px; }
.flow-track > * { --left: calc(var(--pad) + var(--x) * (100% - 2 * var(--pad))); }
.flow-rail { position: absolute; left: var(--pad); right: var(--pad); top: 37px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.flow-rail i { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--blue), #7B61FF); transition: width 1s var(--ease-out); }

.flow-node { position: absolute; left: var(--left); top: 16px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; }
.fn-dot { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink-4); box-shadow: inset 0 0 0 1.5px var(--line), 0 4px 14px -8px rgba(11, 21, 52, .35); transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease); }
.fn-dot .ic { width: 21px; height: 21px; }
.fn-name { font-family: var(--f-display); font-size: .86rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: color .3s var(--ease); }
.flow-node:hover .fn-dot { box-shadow: inset 0 0 0 1.5px var(--blue-200), 0 4px 14px -8px rgba(11, 21, 52, .35); color: var(--blue); }
.flow-node:focus-visible { outline: none; }
.flow-node:focus-visible .fn-dot { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.flow-node.is-done .fn-dot { background: var(--blue); color: #fff; box-shadow: none; }
.flow-node.is-done .fn-name { color: var(--ink-2); }
.flow-node.is-current .fn-dot { background: var(--ink); color: #fff; box-shadow: 0 0 0 6px rgba(46, 107, 255, .16), 0 10px 24px -10px rgba(11, 21, 52, .5); transform: scale(1.08); }
.flow-node.is-current .fn-name { color: var(--ink); }
.flow-node.is-current .fn-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(46, 107, 255, .35); animation: flow-ping 1.8s var(--ease-out) infinite; }
.fn-dot { position: relative; }
@keyframes flow-ping { 0% { box-shadow: 0 0 0 0 rgba(46, 107, 255, .35); } 100% { box-shadow: 0 0 0 14px rgba(46, 107, 255, 0); } }

.flow-gate { position: absolute; left: var(--left); top: 26px; width: 28px; height: 28px; transform: translateX(-50%); z-index: 1; }
.flow-gate svg { width: 100%; height: 100%; overflow: visible; }
.flow-gate rect { fill: #fff; stroke: var(--ink-4); stroke-width: 1.6; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.flow-gate .gk { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease) .15s; }
.flow-gate.is-current rect { fill: var(--mark); stroke: #E0B400; }
.flow-gate.is-current svg { animation: flow-gate 1.1s var(--ease) infinite alternate; }
@keyframes flow-gate { to { transform: scale(1.12); } }
.flow-gate.is-passed rect { fill: var(--ok); stroke: var(--ok); }
.flow-gate.is-passed .gk { stroke-dashoffset: 0; }

.flow-token { position: absolute; left: calc(var(--pad) + var(--p) * (100% - 2 * var(--pad))); top: 100px; width: 34px; height: 41px; transform: translateX(-50%); transition: left 1s var(--ease-out); z-index: 3; filter: drop-shadow(0 8px 12px rgba(46, 107, 255, .28)); }
.flow-token::before { content: ""; position: absolute; left: 50%; top: -9px; width: 2px; height: 9px; background: var(--blue-200); transform: translateX(-50%); }
.flow-token svg { width: 100%; height: 100%; }
.ft-sheet { fill: #fff; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.ft-fold { fill: var(--blue-50); stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.ft-l { fill: none; stroke: var(--blue-200); stroke-width: 2.4; stroke-linecap: round; }
.flow-token.hop svg { animation: flow-hop .9s var(--ease-out); }
@keyframes flow-hop { 0% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-10px) rotate(-6deg); } 70% { transform: translateY(1px) rotate(2deg); } 100% { transform: none; } }

.flow-feed { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; }
.flow-card { display: grid; gap: 10px; align-content: start; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); min-height: 128px; }
.fc-k { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fc-k .ic { width: 16px; height: 16px; color: var(--blue); }
.flow-team p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.flow-client { background: var(--wa-chat); box-shadow: none; }
.flow-client .fc-k .ic { color: var(--wa); }
.fc-bubble { position: relative; justify-self: start; max-width: 100%; padding: 10px 12px 8px; border-radius: 4px 14px 14px 14px; background: #fff; box-shadow: 0 1px 1px rgba(11, 21, 52, .08); }
.fc-bubble p { margin: 0; font-size: .95rem; line-height: 1.5; color: #111B21; }
.fc-bubble small { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 4px; font-size: .7rem; color: #667781; }
.fc-bubble small svg { width: 16px; height: 11px; fill: none; stroke: #53BDEB; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.swap { animation: flow-swap .55s var(--ease-out); }
@keyframes flow-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .flow-feed { grid-template-columns: 1fr; }
  .flow-track { --pad: 26px; height: 140px; }
  .fn-dot { width: 38px; height: 38px; }
  .fn-dot .ic { width: 17px; height: 17px; }
  .fn-name { font-size: .72rem; }
  .flow-rail { top: 32px; }
  .flow-gate { top: 24px; width: 22px; height: 22px; }
  .flow-token { top: 88px; width: 28px; height: 34px; }
}
@media (max-width: 420px) {
  .fn-name { font-size: .64rem; letter-spacing: -.01em; }
  .flow-btn { padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-token, .flow-rail i { transition: none; }
  .flow-node.is-current .fn-dot::after, .flow-gate.is-current svg, .flow-token.hop svg, .swap { animation: none; }
}

/* Mega menu: the four new modules in their own strip */
.mega-fresh { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin: 4px 6px 0; padding: 30px 6px 6px; border-radius: 18px; background: linear-gradient(160deg, var(--blue-50), #F8FAFF); box-shadow: inset 0 0 0 1px var(--blue-100); position: relative; }
.mega-fresh-k { position: absolute; left: 18px; top: 10px; margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700); }
.mega-fresh-k .mega-new { margin: 0 4px 0 0; vertical-align: 1px; }
.mega-fresh .mega-item { flex-direction: column; gap: 10px; }
.mega-fresh .mega-item:hover { background: #fff; }
.mega-fresh .mega-ico { background: #fff; }
@media (max-width: 1240px) { .mega-fresh { grid-template-columns: 1fr 1fr; } .mega-fresh .mega-item { flex-direction: row; } }

/* Comparison table on phones: the feature column stays put while the plans scroll */
.cmp-hint { display: none; }
@media (max-width: 760px) {
  .cmp-hint { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: .85rem; color: var(--ink-3); }
  .cmp tr > :first-child { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 150px; max-width: 170px; box-shadow: 1px 0 0 var(--line-2); }
  .cmp .cmp-group > th { background: var(--bg-soft); }
}


/* ---------- Research services pages (services.php and the three service pages) ---------- */
.mega-sv { width: min(440px, 92vw); }
.mega-sv .mega-grid { grid-template-columns: 1fr; }
.sv-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .88rem; color: var(--ink-2); }
.sv-trust li { display: inline-flex; align-items: center; gap: 7px; }
.sv-trust .ic { width: 17px; height: 17px; color: var(--ok); flex: none; }
.sv-tl { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.sv-tl .ticklist { padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); }
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sv-card { display: grid; gap: 14px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.sv-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--blue-200), var(--sh-3); }
.sv-card .link-arrow { margin-top: auto; }
.sv-q { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sv-q-i { position: relative; display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.sv-q-i::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--qc); }
.sv-q1 { --qc: #1E9E5A; } .sv-q2 { --qc: var(--blue); } .sv-q3 { --qc: #D58A0B; } .sv-q4 { --qc: #8A94AD; }
.sv-q-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sv-q-top b { font-family: var(--f-display); font-size: 2.1rem; line-height: 1; letter-spacing: -.04em; color: var(--qc); }
.sv-q-top span { font-size: .8rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); white-space: nowrap; }
.sv-q-i p { font-size: .93rem; color: var(--ink); }
.sv-q-i dl { display: grid; gap: 10px; margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.sv-q-i dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.sv-q-i dd { margin: 2px 0 0; font-size: .86rem; color: var(--ink-2); }
.sv-ix { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sv-ix-i { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sv-ix-i b { font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); }
.sv-ix-i span { font-size: .82rem; color: var(--ink-3); line-height: 1.4; }
.sv-promise { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px 56px; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-3); }
.sv-promise-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sv-promise-cols h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.sv-promise-cols h3 .ic { width: 20px; height: 20px; }
.sv-yes { color: var(--ok); } .sv-no { color: var(--bad); }
.sv-nolist .ic { color: var(--bad); }
.sv-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }
.sv-band > .stack-16 { flex: 1 1 520px; max-width: 760px; }
.sv-reply { display: grid; gap: 10px; margin-top: 6px; padding: 18px 20px; border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; background: #fff; font-size: .94rem; color: var(--ink-2); }
.sv-reply b { color: var(--ink); }
.footer .footer-h2 { margin-top: 28px; }
@media (max-width: 1100px) { .sv-q { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sv-ix { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .sv-grid { grid-template-columns: 1fr; } .sv-promise { grid-template-columns: 1fr; } .sv-tl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .sv-q, .sv-promise-cols { grid-template-columns: 1fr; } .sv-ix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Mobile menu: Platform and Services open in place ---------- */
.mnav-tog {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid var(--line-2); background: none; text-align: left; cursor: pointer;
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 650; letter-spacing: -.025em; color: var(--ink);
  transform: translateY(110%); transition: transform .7s var(--ease);
}
.mnav-tog .ic { color: var(--blue); width: 22px; height: 22px; transition: transform .35s var(--ease); }
.mnav-tog[aria-expanded="true"] { color: var(--blue); }
.mnav-tog[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mnav.is-open .mnav-tog { transform: none; }
.mnav-tog:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.mnav-list .mnav-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 10px 0 14px; border-bottom: 1px solid var(--line-2); animation: mnavSub .35s var(--ease); }
.mnav-list .mnav-sub[hidden] { display: none; }
.mnav-list .mnav-sub a {
  transform: none; transition: background-color .2s var(--ease); justify-content: flex-start; gap: 10px;
  padding: 10px; border: 0; border-radius: 12px; font-family: var(--f-text); font-size: .98rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); min-height: 44px;
}
.mnav-list .mnav-sub a:hover, .mnav-list .mnav-sub a:active { background: var(--bg-soft); }
.mnav-list .mnav-sub .mnav-all { grid-column: 1 / -1; justify-content: space-between; background: var(--blue-50); color: var(--blue); }
.mnav-list .mnav-sub .mnav-all .ic { width: 18px; height: 18px; }
.mnav-ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--blue-50); color: var(--blue); }
.mnav-list .mnav-ico .ic { width: 16px; height: 16px; }
.mnav-grp { overflow: hidden; }
.mnav.is-open .mnav-list li:nth-child(8) a { transition-delay: .28s; }
.mnav.is-open .mnav-list li:nth-child(9) a { transition-delay: .32s; }
.mnav.is-open .mnav-list li:nth-child(2) .mnav-tog { transition-delay: .04s; }
@keyframes mnavSub { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) { .mnav-list .mnav-sub { grid-template-columns: 1fr; } .mnav-tog, .mnav-list > li > a { font-size: 1.4rem; } }
@media (prefers-reduced-motion: reduce) { .mnav-list .mnav-sub { animation: none; } .mnav-tog .ic { transition: none; } }
.mnav-tog { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 88px); }
/* Very narrow phones (320–400px): single-column grids may shrink below their content's widest word or control */
@media (max-width: 400px) {
  .calc > *, .review-layout > *, .form-grid > *, .ph-grid > *, .contact-grid > * { min-width: 0; }
  .calc-in, .calc-out, .form-card { padding: 18px; }
  .chips { gap: 6px; } .chips span { padding: 0 12px; }
}
@media (max-width: 400px) {
  .calc-in > *, .calc-out > * { min-width: 0; }
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-grid div { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
  .calc-out .btn { width: 100%; justify-content: center; }
}
