/* RAGChat landing — warm editorial surfaces, acid actions, bespoke SVG illustrations. */
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  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: "Manrope";
  src: url("/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  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 {
  color-scheme: light;
  --paper: #f5f3eb;
  --paper-deep: #eae8dd;
  --surface: #fcfbf6;
  --ink: #242620;
  --muted: #65665e;
  --line: #d8d8ca;
  --acid: #d9fa65;
  --acid-deep: #c1e94e;
  --purple: #7250b8;
  --purple-soft: #ded2f3;
  --charcoal: #242620;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 1.5rem;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-standard: cubic-bezier(.2, .65, .3, 1);
}
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #242620;
  --paper-deep: #1b1d18;
  --surface: #2d3028;
  --ink: #f5f3eb;
  --muted: #b4b6aa;
  --line: #45483c;
  --acid: #d9fa65;
  --acid-deep: #c1e94e;
  --purple: #c7aff1;
  --purple-soft: #4c3c64;
  --charcoal: #171914;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; background: var(--paper); overflow-x: clip; overflow-y: scroll; }
/* Keep grain behind the document: a fixed foreground layer can obscure transformed text in Chromium. */
html::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
body { position: relative; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .35; }
svg { display: block; max-width: 100%; }
button, input { font-family: inherit; }
::selection { color: #242620; background: var(--acid); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--gutter); }
.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-link { position: fixed; top: 1rem; left: 1rem; z-index: 300; padding: .75rem 1.25rem; background: var(--acid); color: #242620; font-weight: 700; transform: translateY(-200%); transition: transform 200ms var(--ease-out); border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }
.page-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 140; pointer-events: none; }
.page-progress span { display: block; width: 100%; height: 100%; background: var(--purple); transform: scaleX(0); transform-origin: left; }
.section { padding-block: clamp(5.5rem, 10vw, 10rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .68rem; font-weight: 700; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow > span:first-child:not(.status-dot) { color: var(--purple); }
.status-dot { display: inline-block; width: .5rem; height: .5rem; flex: 0 0 auto; background: #71843a; border-radius: 50%; box-shadow: 0 0 0 4px #71843a1c; }
.section-heading { margin-bottom: clamp(3rem, 6vw, 5rem); }
.split-heading { display: grid; grid-template-columns: 1.55fr .75fr; gap: 5rem; align-items: end; }
.section-heading h2, .workflow-intro h2, .numbers-heading h2 { margin-top: 1.5rem; font-size: clamp(2.4rem, 4.3vw, 4.5rem); line-height: 1.07; letter-spacing: -.055em; max-width: 15ch; }
.section-intro { color: var(--muted); font-size: 1.05rem; line-height: 1.75; max-width: 29rem; padding-bottom: .4rem; }
.button { --button-bg: var(--acid); --button-fg: #242620; position: relative; display: inline-flex; min-height: 3.6rem; align-items: center; justify-content: center; gap: 1.4rem; padding: .9rem 1.6rem; border: 1px solid #242620; border-radius: 999px; background: var(--button-bg); color: var(--button-fg); font-size: .84rem; font-weight: 700; line-height: 1.3; isolation: isolate; overflow: hidden; transition: color 250ms var(--ease-standard), box-shadow 250ms var(--ease-standard); }
.button::before { content: ""; position: absolute; inset: -.5px; z-index: -1; background: var(--purple-soft); transform: translateY(105%); transition: transform 300ms var(--ease-out); border-radius: inherit; }
.button:hover::before { transform: translateY(0); }
.button svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 250ms var(--ease-out); }
.button:hover svg { transform: translateX(3px); }
.button-small { min-height: 2.8rem; padding: .65rem 1.25rem; gap: .75rem; font-size: .76rem; }
.button-dark { --button-bg: var(--charcoal); --button-fg: var(--acid); border-color: var(--charcoal); }
.button-dark::before { background: #ffffff; }
.button-dark:hover { color: #242620; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; font-size: .83rem; font-weight: 700; }
.text-link > span:first-child { background: linear-gradient(currentColor, currentColor) no-repeat left 100% / 0 1px; transition: background-size 250ms var(--ease-out); padding-block: .3rem; }
.text-link:hover > span:first-child { background-size: 100% 1px; }
.link-circle { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1px solid var(--line); border-radius: 50%; transition: transform 250ms var(--ease-out), background-color 250ms; }
.text-link:hover .link-circle { transform: rotate(-30deg); background: var(--acid); color: #242620; }
/* Navigation */
.site-header { position: fixed; top: 1.5rem; inset-inline: 0; z-index: 100; }
.nav-shell { display: flex; align-items: center; gap: 2rem; width: min(calc(100% - 2 * var(--gutter)), var(--container)); margin-inline: auto; padding: .6rem .65rem .6rem 1.25rem; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(16px); }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: .5rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.brand-mark { width: 2rem; height: 2rem; color: var(--ink); }
.brand-period { color: var(--purple); }
.desktop-nav { display: flex; align-items: center; gap: 1.8rem; margin-inline: auto; }
.nav-link, .login-link { font-size: .73rem; font-weight: 600; }
@media (min-width: 1000px) {
  .hero { min-height: min(64rem, 112svh); display: flex; flex-direction: column; justify-content: center; }
  .hero-grid { flex: 1; }
  .hero-bottom { flex-shrink: 0; }
}
.nav-link { padding: .55rem 0; background: linear-gradient(currentColor, currentColor) no-repeat left 90% / 0 1px; transition: background-size 250ms; }
.nav-link:hover { background-size: 100% 1px; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.language-switch { display: flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .66rem; }
.language-button { min-width: 2rem; min-height: 2.75rem; padding: .2rem; border: 0; background: transparent; font-size: .66rem; font-weight: 600; color: var(--muted); }
.language-button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--purple); text-underline-offset: .35rem; text-decoration-thickness: 2px; }
.icon-button { display: grid; place-items: center; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; padding: .65rem; background: transparent; border: 1px solid var(--line); border-radius: 50%; transition: background-color 250ms, transform 250ms; }
.icon-button:hover { background: var(--paper-deep); transform: rotate(8deg); }
.icon-button svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: none; }
[data-theme="dark"] .theme-moon { display: block; }
.menu-toggle { display: none; position: relative; }
.menu-toggle span { position: absolute; width: 1rem; height: 1px; background: currentColor; transition: transform 250ms, translate 250ms; }
.menu-toggle span:first-child { translate: 0 -3px; }
.menu-toggle span:last-child { translate: 0 3px; }
.menu-toggle[aria-expanded="true"] span:first-child { translate: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { translate: 0; transform: rotate(-45deg); }
.mobile-menu { width: min(calc(100% - 2 * var(--gutter)), var(--container)); margin: .5rem auto; padding: 1rem; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--surface); }
.mobile-menu nav { display: grid; }
.mobile-menu a:not(.button) { padding: .85rem .5rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.mobile-menu .button { margin-top: 1rem; }
.mobile-menu-open .site-header { position: fixed; top: .75rem; }
.side-dots { position: fixed; right: 1.3rem; top: 50%; z-index: 80; display: flex; flex-direction: column; gap: .85rem; transform: translateY(-50%); }
.side-dots a { position: relative; display: flex; justify-content: flex-end; align-items: center; min-height: 1.25rem; font-size: 0; color: var(--ink); }
.side-dots a::after { content: ""; width: .35rem; height: .35rem; margin-left: .7rem; border-radius: 50%; background: var(--muted); opacity: .45; transition: transform 250ms, opacity 250ms, background-color 250ms; }
.side-dots a::before { content: attr(data-label); position: absolute; right: 1.4rem; white-space: nowrap; font-size: .63rem; font-weight: 600; opacity: 0; transform: translateX(.5rem); transition: opacity 200ms, transform 200ms; pointer-events: none; }
.side-dots a:hover::before, .side-dots a:focus-visible::before { opacity: 1; transform: translateX(0); }
.side-dots a.is-active::after { background: var(--purple); opacity: 1; transform: scale(1.7); }
/* Hero */
.hero { position: relative; padding-top: clamp(10rem, 15vw, 13rem); padding-bottom: 3.5rem; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; opacity: .17; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: center; gap: clamp(1rem, 3vw, 3.5rem); min-height: 38rem; }
.hero-copy { position: relative; z-index: 2; padding-block: 2rem 4rem; }
.hero-eyebrow { margin-bottom: 2rem; }
.hero-title { font-size: clamp(3.35rem, 6vw, 6.3rem); font-weight: 600; letter-spacing: -.075em; line-height: .99; }
.title-line { display: block; }
.title-line-indent { padding-left: clamp(1rem, 4vw, 4rem); white-space: nowrap; }
.hero-title em { display: inline-block; color: var(--purple); font-family: var(--font-serif); font-size: 1.13em; font-weight: 400; letter-spacing: -.045em; }
.hero-description { max-width: 29rem; margin-top: 2rem; color: var(--muted); font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.25rem; }
.hero-footnote { display: flex; align-items: center; gap: .5rem; margin-top: 1.5rem; color: var(--muted); font-size: .67rem; }
.hero-footnote svg { width: .9rem; height: .9rem; fill: none; stroke: var(--purple); stroke-width: 1.7; }
.hero-stage { position: relative; z-index: 1; padding-block: 3rem; perspective: 1000px; }
.product-window { position: relative; z-index: 2; overflow: hidden; border: 1px solid #484c3d; border-radius: 1rem; background: #faf9f3; color: #242620; box-shadow: 1.2rem 1.4rem 0 #c7c7b526, 0 2rem 4rem #24262014; transform: rotate(3deg); }
.window-bar { display: flex; align-items: center; gap: 1.2rem; height: 2.6rem; padding: 0 .9rem; border-bottom: 1px solid #e5e5db; background: #eeeee4; }
.window-dots { display: flex; gap: .3rem; }
.window-dots i { width: .42rem; height: .42rem; border-radius: 50%; background: #c7c8ba; }
.window-dots i:first-child { background: #b497d5; }
.window-dots i:nth-child(2) { background: #e4d4a3; }
.window-dots i:last-child { background: #bbce8f; }
.window-address { display: flex; flex: 1; align-items: center; justify-content: center; gap: .35rem; max-width: 13rem; margin-inline: auto; padding: .2rem .75rem; border: 1px solid #e0e1d5; border-radius: .3rem; background: #f8f8f1; color: #818474; font-size: .49rem; }
.window-address svg { width: .6rem; height: .6rem; fill: none; stroke: currentColor; stroke-width: 1.2; }
.window-menu { font-size: .7rem; color: #818474; letter-spacing: .1em; }
.product-body { display: flex; min-height: 25rem; }
.product-sidebar { display: flex; flex: 0 0 3.1rem; flex-direction: column; align-items: center; gap: 1.3rem; padding-block: 1rem; border-right: 1px solid #e5e5db; background: #f3f3e9; }
.mini-brand { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; margin-bottom: .5rem; background: #242620; color: #d9fa65; border-radius: .4rem; font-size: .8rem; font-weight: 800; }
.product-sidebar i { width: 1rem; height: 1rem; border: 1.5px solid #a4a799; border-radius: .25rem; }
.product-sidebar i:nth-of-type(2) { border-radius: 50%; }
.product-sidebar i:nth-of-type(3) { transform: rotate(45deg) scale(.8); }
.product-sidebar i:nth-of-type(4) { border-radius: 50% 50% 0 0; }
.product-sidebar i.selected { background: #d9fa65; border-color: #677745; box-shadow: 0 0 0 .3rem #d9fa6533; }
.product-sidebar b { width: 1.4rem; height: 1.4rem; margin-top: auto; background: #c7b2e4; border-radius: 50%; }
.chat-panel { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.chat-heading { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid #e5e5db; font-size: .63rem; }
.chat-heading > div { display: flex; align-items: center; gap: .45rem; }
.chat-status { width: .4rem; height: .4rem; border-radius: 50%; background: #7b9b36; }
.chat-online { padding: .15rem .4rem; border: 1px solid #d7e4b8; border-radius: 99px; background: #f0f5df; color: #5d7134; font-size: .45rem; }
.messages { display: flex; flex: 1; flex-direction: column; gap: 1.15rem; padding: 1.5rem 1.1rem; background: radial-gradient(ellipse at 100% 100%, #e9e1f133, transparent 60%); }
.message { display: flex; align-items: flex-start; gap: .5rem; max-width: 92%; font-size: .59rem; line-height: 1.65; }
.message p { padding: .75rem .85rem; border: 1px solid #e3e4d8; border-radius: .15rem .7rem .7rem .7rem; background: #fffefa; }
.message-avatar { display: grid; place-items: center; flex: 0 0 1.45rem; height: 1.45rem; background: #d9fa65; border-radius: .4rem; font-size: .65rem; font-weight: 800; }
.message-user { align-self: flex-end; max-width: 65%; }
.message-user p { background: #d9fa65; border-color: #c9e95a; border-radius: .7rem .15rem .7rem .7rem; }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 1rem 1.2rem; padding: .4rem .45rem .4rem .8rem; border: 1px solid #dbddce; border-radius: .55rem; color: #777b6b; font-size: .53rem; }
.send-icon { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; background: #242620; color: #d9fa65; border-radius: .35rem; }
.send-icon svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 1.3; }
.knowledge-card { position: absolute; z-index: 4; right: -2%; bottom: -.5rem; width: min(18rem, 66%); padding: 1rem; border: 1px solid #4b4e41; border-radius: .85rem; background: #faf9f3; color: #242620; box-shadow: .7rem .8rem 0 #d9fa65, 0 .8rem 2rem #24262017; transform: rotate(-4deg); }
.knowledge-top { display: flex; align-items: center; gap: .65rem; }
.file-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; background: #e4d9f1; border-radius: .55rem; }
.file-icon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: #7250b8; stroke-width: 1.4; stroke-linejoin: round; }
.knowledge-top strong, .knowledge-top small { display: block; }
.knowledge-top strong { font-size: .68rem; }
.knowledge-top small { margin-top: .2rem; color: #65665e; font-size: .49rem; }
.success-icon { width: 1.1rem; height: 1.1rem; margin-left: auto; fill: #d9fa65; stroke: #556728; stroke-width: 1.5; }
.knowledge-source { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .65rem; border: 1px solid #e3e4d8; border-radius: .45rem; background: #f0f0e7; font-size: .58rem; }
.source-favicon { display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border: 1px solid #b8bba8; border-radius: .25rem; font-size: .55rem; }
.source-check { margin-left: auto; color: #627b2a; }
.knowledge-tags { display: flex; gap: .4rem; margin-top: .75rem; }
.knowledge-tags span { padding: .15rem .5rem; background: #eeeee3; border-radius: 99px; color: #65665e; font-size: .46rem; }
.stage-scribble { position: absolute; z-index: 5; top: -.7rem; right: 1rem; display: flex; align-items: flex-start; gap: .5rem; transform: rotate(5deg); color: var(--purple); font-family: var(--font-serif); font-size: 1.3rem; font-style: italic; }
.stage-scribble svg { width: 4rem; height: 3rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.hero-sticker { position: absolute; z-index: 4; left: 0; bottom: 4rem; display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; background: var(--purple-soft); color: var(--ink); border: 1px solid var(--line); border-radius: .4rem; font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; transform: rotate(-7deg); box-shadow: 0 .5rem 1rem #2426200c; }
.hero-sticker svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 36rem; height: 36rem; top: 4rem; right: -12rem; }
.orbit-two { width: 24rem; height: 24rem; top: 10rem; right: -6rem; }
.hero-spark { position: absolute; color: var(--purple); line-height: 1; }
.spark-one { top: 19%; right: 6%; font-size: 3rem; }
.spark-two { bottom: 25%; left: 47%; font-size: 1.8rem; }
.hero-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; color: var(--muted); font-size: .65rem; }
.scroll-hint { display: flex; align-items: center; gap: .65rem; }
.scroll-hint i { display: block; position: relative; width: 2.5rem; height: 1px; background: var(--line); }
.scroll-hint i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(-45deg); }
/* Capability ribbon */
.ticker { overflow: hidden; padding-block: 1.35rem; background: var(--charcoal); color: #f5f3eb; transform: rotate(-1deg) scale(1.01); }
.ticker-track { display: flex; width: max-content; }
.ticker-group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; white-space: nowrap; font-size: .75rem; font-weight: 500; }
.ticker-group b { color: var(--acid); font-size: 1.25rem; font-weight: 400; }
/* Bento */
.bento-section { padding-top: clamp(7rem, 12vw, 11rem); }
.bento-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; }
.bento-card { position: relative; display: flex; flex-direction: column; min-height: 34rem; padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transform-style: preserve-3d; }
.bento-card h3 { margin-top: auto; font-size: clamp(1.6rem, 2.4vw, 2.35rem); line-height: 1.15; letter-spacing: -.045em; max-width: 17ch; }
.bento-card > p { max-width: 33rem; margin-top: 1rem; color: var(--muted); font-size: .86rem; line-height: 1.75; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.card-number { font-size: .65rem; color: var(--purple); font-weight: 700; }
.mini-label { font-size: .58rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.knowledge-visual { position: relative; flex: 1; min-height: 15rem; }
.source-sheet { position: absolute; left: 10%; display: grid; gap: .7rem; width: 11rem; padding: 1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); box-shadow: .3rem .3rem 0 var(--paper-deep); }
.source-sheet span { font-size: .58rem; font-weight: 700; }
.source-sheet i { display: block; width: 85%; height: .3rem; background: var(--line); border-radius: 1rem; }
.source-sheet i:last-child { width: 55%; }
.sheet-one { top: 2.2rem; transform: rotate(-8deg); }
.sheet-two { top: 7rem; left: 18%; transform: rotate(5deg); }
.knowledge-path { position: absolute; left: 42%; top: 2rem; width: 8rem; height: 12rem; fill: none; stroke: var(--purple); stroke-width: 1.2; stroke-dasharray: 3 3; }
.rag-core { position: absolute; right: 8%; top: 7.5rem; display: grid; place-items: center; width: 5.8rem; height: 5.8rem; border: 1px solid #242620; border-radius: 50%; background: var(--acid); color: #242620; font-size: 1rem; font-weight: 700; transform: rotate(9deg); box-shadow: .4rem .4rem 0 var(--purple-soft); }
.rag-core small { position: absolute; right: 1.1rem; top: .8rem; font-weight: 400; }
.bento-widget { background: var(--purple-soft); }
.widget-visual { position: relative; flex: 1; min-height: 15rem; }
.widget-preview { position: absolute; top: 2rem; left: 12%; width: 12rem; min-height: 12.5rem; padding: 1rem; border: 1px solid #24262033; border-radius: .8rem; background: #faf9f3; color: #242620; transform: rotate(-5deg); box-shadow: .6rem .7rem 0 #24262012; }
.preview-top { display: flex; align-items: center; justify-content: space-between; }
.preview-top span { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; background: #d9fa65; border-radius: .4rem; font-size: .8rem; font-weight: 800; }
.preview-top i { font-style: normal; color: #65665e; }
.widget-preview p { max-width: 8rem; margin-top: 1rem; font-size: .65rem; }
.preview-bubble { display: block; width: 6rem; height: 1.6rem; margin: .8rem 0 1.2rem auto; background: #ded2f3; border-radius: .6rem .1rem .6rem .6rem; }
.preview-input { display: block; height: 1.5rem; border: 1px solid #deded0; border-radius: .35rem; }
.widget-bubble { position: absolute; right: 7%; bottom: 1.5rem; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border: 1px solid #242620; border-radius: 50%; background: var(--acid); color: #242620; box-shadow: .3rem .3rem 0 #242620; }
.widget-bubble svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
.widget-code { position: absolute; right: 0; top: 2rem; color: var(--ink); font-family: var(--font-serif); font-size: 3rem; font-style: italic; transform: rotate(12deg); }
.bento-ticket { min-height: 30rem; }
.ticket-visual { position: relative; display: grid; place-items: center; flex: 1; min-height: 12rem; }
.ticket-card { position: relative; display: grid; gap: .6rem; width: 82%; max-width: 20rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); transform: rotate(4deg); box-shadow: .5rem .5rem 0 var(--purple-soft); }
.ticket-label { font-size: .52rem; font-weight: 700; color: var(--purple); letter-spacing: .1em; }
.ticket-card strong { font-size: .8rem; }
.ticket-card > div { display: flex; justify-content: space-between; margin-top: .4rem; font-size: .55rem; color: var(--muted); }
.ticket-status { color: var(--purple); }
.ticket-dot { position: absolute; top: 1.2rem; right: 1.2rem; width: .5rem; height: .5rem; background: var(--purple); border-radius: 50%; }
.ticket-spark { position: absolute; right: 8%; top: 1rem; font-size: 2.5rem; color: var(--purple); transform: rotate(15deg); }
.bento-models { min-height: 30rem; background: var(--charcoal); color: #f5f3eb; border-color: #44473b; }
.bento-models > p { color: #b4b6aa; }
.bento-models .card-number { color: var(--acid); }
.provider-visual { position: relative; display: flex; flex: 1; flex-wrap: wrap; align-content: center; gap: .6rem; min-height: 12rem; padding-right: 4rem; }
.provider-pill { padding: .55rem .85rem; border: 1px solid #555849; border-radius: 99px; color: #f5f3eb; font-size: .65rem; }
.provider-pill:nth-child(odd) { transform: rotate(-5deg); }
.provider-pill:nth-child(even) { transform: rotate(5deg); }
.provider-pill:last-of-type { background: var(--acid); border-color: var(--acid); color: #242620; font-weight: 700; }
.provider-visual svg { position: absolute; right: -.2rem; top: 35%; width: 3.5rem; height: 3.5rem; fill: none; stroke: var(--acid); stroke-width: 1.2; }
/* Scroll-driven gallery. Its height is set from measured track travel on desktop. */
.gallery-section { position: relative; padding-block: 6rem; background: var(--paper-deep); }
.gallery-sticky { padding-block: 1rem; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.gallery-heading h2 { margin-top: 1.25rem; font-size: clamp(2.25rem, 3.8vw, 4rem); line-height: 1.05; letter-spacing: -.055em; }
.gallery-controls { display: flex; align-items: center; gap: .75rem; }
.gallery-skip { margin-right: .6rem; color: var(--muted); font-size: .65rem; text-decoration: underline; text-underline-offset: .25rem; }
.gallery-arrow { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; transition: background-color 200ms, transform 200ms; }
.gallery-arrow:hover:not(:disabled) { background: var(--acid); color: #242620; transform: scale(1.05); }
.gallery-count { min-width: 3.8rem; font-size: .65rem; text-align: center; color: var(--muted); }
.gallery-count b { color: var(--ink); font-weight: 600; }
.gallery-viewport { width: 100%; overflow: hidden; }
.gallery-track { display: flex; flex-direction: column; gap: 1.5rem; width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--gutter); }
.gallery-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; flex: 0 0 auto; min-height: 31rem; padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-card-copy { display: flex; flex-direction: column; align-items: flex-start; }
.gallery-index { font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gallery-card h3 { margin-top: auto; font-size: clamp(2rem, 3vw, 3.25rem); letter-spacing: -.055em; line-height: 1.05; }
.gallery-card p { margin-top: 1.4rem; max-width: 27rem; font-size: .83rem; line-height: 1.75; opacity: .8; }
.gallery-tag { margin-top: 1.5rem; padding: .45rem .75rem; border: 1px solid currentColor; border-radius: 99px; font-size: .55rem; font-weight: 600; }
.gallery-purple { background: #b99ae8; color: #2d203c; border-color: #9570c4; }
.gallery-lime { background: #d9fa65; color: #242620; border-color: #b4ce59; }
.gallery-paper { background: var(--surface); }
.gallery-dark { background: var(--charcoal); color: #f5f3eb; border-color: #4a4e3e; }
.analytics-art { align-self: center; padding: 1.5rem; border: 1px solid #2d203c44; border-radius: .8rem; background: #f5f3eb; color: #242620; transform: rotate(3deg); box-shadow: .7rem .7rem 0 #2d203c22; }
.analytics-top { display: flex; justify-content: space-between; font-size: .6rem; font-weight: 700; }
.analytics-top span:last-child { padding: .25rem .5rem; border: 1px solid #deded0; border-radius: .25rem; font-weight: 400; }
.chart-grid { position: relative; margin-top: 1.5rem; }
.chart-grid > i { display: block; height: 2.6rem; border-top: 1px dashed #d6d7c7; }
.chart-grid svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart-grid path:not(.chart-fill) { fill: none; stroke: #7250b8; stroke-width: 3; stroke-linecap: round; }
.chart-fill { fill: #b99ae833; stroke: none; }
.chart-labels { display: flex; justify-content: space-between; color: #65665e; font-size: .5rem; }
.channels-art { position: relative; min-height: 24rem; }
.channel-center { position: absolute; z-index: 2; top: 40%; left: 44%; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; background: #242620; color: #d9fa65; border-radius: 1rem; transform: rotate(-8deg); box-shadow: .5rem .5rem 0 #24262022; }
.channel-center span { font-size: 2rem; font-weight: 800; }
.channel-node { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: .65rem; font-weight: 600; }
.channel-node svg { width: 3.5rem; height: 3.5rem; padding: .75rem; border: 1px solid #242620; border-radius: 50%; background: #f5f3eb; fill: none; stroke: #242620; stroke-width: 1.3; }
.channel-web { left: 0; top: 4%; }
.channel-telegram { right: 0; top: 3%; }
.channel-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #242620; stroke-width: 1; stroke-dasharray: 4 5; }
.channel-dashboard { position: absolute; bottom: 0; left: 20%; right: 0; display: grid; gap: .7rem; padding: 1.2rem; border: 1px solid #242620; border-radius: .7rem; background: #f5f3eb; transform: rotate(3deg); }
.channel-dashboard span { display: block; height: 1.4rem; border: 1px solid #deded0; border-radius: .3rem; background: linear-gradient(90deg, #ded2f3 1.4rem, transparent 1.4rem); }
.brand-art { position: relative; display: grid; place-items: center; }
.brand-editor { width: 90%; padding: 1.6rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: .7rem .7rem 0 var(--purple-soft); transform: rotate(-4deg); }
.brand-editor > span { font-size: .75rem; font-weight: 700; }
.color-row { display: flex; gap: .7rem; margin-block: 1.5rem; }
.color-row i { width: 2.3rem; height: 2.3rem; border: 1px solid #24262033; border-radius: 50%; background: #d9fa65; }
.color-row i:nth-child(2) { background: #7250b8; }
.color-row i:nth-child(3) { background: #242620; }
.color-row i:nth-child(4) { background: #e1d8c9; }
.color-row i:nth-child(5) { background: #b99ae8; }
.brand-option { display: grid; gap: .5rem; padding-block: .8rem; border-top: 1px solid var(--line); font-size: .6rem; }
.brand-option span { color: var(--muted); }
.brand-option b { padding: .5rem; border: 1px solid var(--line); border-radius: .35rem; font-weight: 500; }
.brand-cursor { position: absolute; right: 6%; bottom: 10%; }
.brand-cursor svg { width: 2.3rem; height: 3rem; fill: var(--acid); stroke: #242620; stroke-width: 1.3; transform: rotate(-15deg); }
.dashboard-art { display: flex; align-self: center; min-height: 20rem; border: 1px solid #696e58; border-radius: .8rem; background: #f5f3eb; color: #242620; overflow: hidden; transform: rotate(3deg); box-shadow: .7rem .7rem 0 #d9fa6522; }
.dash-side { display: flex; flex: 0 0 3.5rem; flex-direction: column; align-items: center; gap: 1.5rem; padding-block: 1rem; background: #e8e8db; }
.dash-side b { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; background: #242620; color: #d9fa65; border-radius: .35rem; }
.dash-side i { width: 1rem; height: 1rem; border: 1px solid #989c88; border-radius: .25rem; }
.dash-main { flex: 1; padding: 1.2rem; }
.dash-title { display: block; margin-bottom: 1.5rem; font-size: .7rem; font-weight: 700; }
.dash-row { display: flex; align-items: center; gap: .6rem; padding-block: .8rem; border-top: 1px solid #deded0; }
.dash-row i { width: 1.4rem; height: 1.4rem; background: #ded2f3; border-radius: 50%; }
.dash-row span { width: 45%; height: .4rem; background: #deded0; border-radius: 1rem; }
.dash-row b { margin-left: auto; padding: .2rem .4rem; border: 1px solid #deded0; border-radius: .25rem; font-size: .45rem; font-weight: 500; }
.gallery-footer { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.5rem; color: var(--muted); font-size: .6rem; }
.gallery-progress { flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.gallery-progress span { display: block; width: 100%; height: 100%; background: var(--purple); transform: scaleX(.25); transform-origin: left; }
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .gallery-section.is-pinned { padding-block: 0; }
  .gallery-sticky { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; height: 100vh; height: 100svh; padding-block: 1rem; overflow: hidden; }
  .is-pinned.is-gallery-near .gallery-track { visibility: visible; }
  .is-pinned .gallery-heading { margin-bottom: 2rem; }
  .is-pinned .gallery-heading h2 { font-size: clamp(2.25rem, 3.2vw, 3.5rem); }
  .is-pinned .gallery-track { visibility: hidden; flex-direction: row; align-items: stretch; gap: 1.5rem; width: max-content; max-width: none; margin-inline: 0; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
  .is-pinned.is-gallery-near .gallery-track { will-change: transform; }
  .is-pinned .gallery-card { width: min(78vw, 72rem); height: clamp(16rem, 52vh, 29rem); min-height: 0; }
  .is-pinned .gallery-card h3 { font-size: clamp(2rem, 2.8vw, 3.1rem); }
  .is-pinned .gallery-footer { margin-top: 1.5rem; }
}
@supports (scroll-snap-align: start) {
  @media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
    .hero { min-height: 100svh; scroll-snap-align: start; }
    .workflow-step { scroll-snap-align: start; scroll-margin-top: 6rem; }
    body:not(.lenis-smooth) { scroll-snap-type: y proximity; }
  }
}
/* Sticky narrative column and staggered process cards. */
.workflow-section { background: var(--surface); }
.workflow-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.workflow-intro { position: sticky; top: 8rem; }
.workflow-intro h2 { max-width: 10ch; }
.workflow-intro > p:not(.eyebrow) { max-width: 24rem; margin-top: 1.75rem; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.workflow-intro > .text-link { margin-top: 2rem; }
.workflow-doodle { width: 13rem; margin: 3rem 0 0 2rem; color: var(--purple); transform: rotate(-7deg); }
.workflow-doodle svg { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.workflow-doodle text { fill: currentColor; stroke: none; font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; }
.workflow-steps { display: flex; flex-direction: column; gap: 2.5rem; }
.workflow-step { position: sticky; top: calc(6rem + var(--step) * 1rem); padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 -.5rem 0 var(--surface); }
.workflow-step:nth-child(2) { background: var(--purple-soft); }
.workflow-step:nth-child(3) { background: var(--acid); color: #242620; border-color: #b4ce59; }
.workflow-step:nth-child(3) p { color: #424b2e; }
.workflow-step:nth-child(4) { background: var(--charcoal); color: #f5f3eb; border-color: #44473b; }
.workflow-step:nth-child(4) p { color: #b4b6aa; }
.step-top { display: flex; align-items: center; gap: .8rem; }
.step-number { font-size: .68rem; font-weight: 700; color: var(--purple); }
.workflow-step:nth-child(3) .step-number { color: #424b2e; }
.workflow-step:nth-child(4) .step-number { color: var(--acid); }
.step-caption { font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.step-icon { display: grid; place-items: center; width: 2rem; height: 2rem; margin-left: auto; border: 1px solid currentColor; border-radius: 50%; font-size: .9rem; }
.workflow-step h3 { margin-top: 2rem; font-size: clamp(1.75rem, 2.7vw, 2.65rem); letter-spacing: -.05em; line-height: 1.1; }
.workflow-step > p { margin-top: 1rem; max-width: 35rem; color: var(--muted); font-size: .83rem; line-height: 1.75; }
.step-art { margin-top: 2rem; }
.url-art { display: flex; align-items: center; gap: .6rem; padding: .55rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); font-size: .6rem; }
.url-lock { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; color: var(--muted); }
.url-button { margin-left: auto; padding: .6rem .8rem; border-radius: .3rem; background: var(--acid); color: #242620; font-weight: 700; white-space: nowrap; }
.index-art { display: flex; align-items: center; gap: .55rem; }
.index-art > span { padding: .65rem .7rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--surface); font-size: .55rem; white-space: nowrap; }
.index-art i { font-size: .7rem; font-style: normal; }
.index-art b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; background: var(--acid); color: #242620; border-radius: 50%; font-size: .65rem; }
.code-art { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border: 1px solid #242620; border-radius: .5rem; background: #242620; color: #f5f3eb; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .62rem; }
.code-art > span:not(.code-tag) { padding-left: 1rem; }
.code-art i { color: var(--acid); font-style: normal; }
.code-tag { color: #c7aff1; }
.code-art b { position: absolute; right: 1rem; top: 1rem; color: var(--acid); font-size: 1rem; }
.online-art { display: flex; align-items: center; gap: 1.3rem; }
.online-ring { position: relative; display: grid; place-items: center; flex: 0 0 4.5rem; height: 4.5rem; border: 1px solid #555849; border-radius: 50%; }
.online-ring b { color: var(--acid); font-size: 1.1rem; }
.online-ring i { position: absolute; right: .1rem; top: .1rem; width: .6rem; height: .6rem; background: var(--acid); border-radius: 50%; box-shadow: 0 0 0 .3rem #d9fa6522; }
.online-art > div { display: grid; gap: .5rem; }
.online-art strong { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; font-style: italic; }
.online-art div span { color: #b4b6aa; font-size: .55rem; }
/* Facts, no customer or performance claims. */
.numbers-section { padding-block: clamp(6rem, 11vw, 10rem); }
.numbers-heading { display: flex; flex-direction: column; align-items: center; text-align: center; }
.numbers-heading h2 { max-width: 15ch; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 5rem; }
.number-item { padding-inline: clamp(1rem, 3vw, 3rem); }
.number-item + .number-item { border-left: 1px solid var(--line); }
.number-item dt { min-height: 2.5rem; font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.number-item dd { display: flex; flex-direction: column; margin-top: 1.5rem; }
.number-item dd > span:first-child { color: var(--purple); font-family: var(--font-serif); font-size: clamp(4.3rem, 8vw, 8.5rem); letter-spacing: -.065em; line-height: 1; white-space: nowrap; }
.number-note { max-width: 14rem; margin-top: 1.25rem; color: var(--muted); font-size: .72rem; line-height: 1.7; }
.principle-note { display: flex; align-items: center; gap: 2rem; margin-top: 6rem; padding: 2.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-star { color: var(--purple); font-size: 3rem; }
.principle-note p { max-width: 39rem; font-family: var(--font-serif); font-size: clamp(1.3rem, 2.2vw, 2rem); font-style: italic; line-height: 1.3; }
.principle-note .text-link { margin-left: auto; flex-shrink: 0; }
/* Closing invitation */
.final-cta { position: relative; padding-block: clamp(6rem, 10vw, 9rem); background: var(--acid); color: #242620; overflow: hidden; isolation: isolate; }
.cta-noise { position: absolute; inset: 0; z-index: -1; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' d='M0 0h150v150H0z'/%3E%3C/svg%3E"); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-cta .status-dot { background: #242620; box-shadow: 0 0 0 4px #24262014; }
.final-cta h2 { margin-top: 1.5rem; font-size: clamp(3.4rem, 7.5vw, 7.5rem); font-weight: 600; line-height: .94; letter-spacing: -.07em; }
.final-cta h2 em { font-family: var(--font-serif); font-size: 1.13em; font-weight: 400; letter-spacing: -.04em; }
.cta-description { max-width: 34rem; margin-top: 2rem; color: #424b2e; font-size: .95rem; line-height: 1.8; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; margin-top: 2.2rem; }
.cta-login { padding-block: .3rem; font-size: .68rem; font-weight: 600; background: linear-gradient(currentColor, currentColor) no-repeat left 100% / 100% 1px; transition: background-size 250ms; }
.cta-login:hover { background-size: 0 1px; }
.cta-handnote { position: absolute; right: 3%; bottom: 0; max-width: 10rem; font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; line-height: 1.2; transform: rotate(-8deg); }
.cta-orbit { position: absolute; z-index: -1; border: 1px solid #24262033; border-radius: 50%; }
.cta-orbit-one { width: 48rem; height: 48rem; left: 50%; top: -7rem; transform: translateX(-50%); }
.cta-orbit-two { width: 62rem; height: 62rem; left: 50%; top: -14rem; transform: translateX(-50%); }
/* Footer */
.site-footer { padding-block: 4rem 1.5rem; background: var(--charcoal); color: #f5f3eb; }
.site-footer .brand-mark { color: var(--acid); }
.site-footer .brand-period { color: var(--acid); }
.footer-top { display: flex; align-items: center; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid #44473b; }
.footer-top > p { margin-left: auto; color: #b4b6aa; font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; }
.footer-up { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: 2rem; border: 1px solid #555849; border-radius: 50%; transition: background-color 200ms, color 200ms, transform 200ms; }
.footer-up:hover { background: var(--acid); color: #242620; transform: translateY(-3px); }
.footer-grid { display: grid; grid-template-columns: .7fr .9fr 1.4fr; gap: 4rem; padding-block: 3.5rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.footer-label { margin-bottom: .7rem; color: #b4b6aa; font-size: .58rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a { padding-block: .2rem; font-size: .75rem; background: linear-gradient(var(--acid), var(--acid)) no-repeat left 100% / 0 1px; transition: color 200ms, background-size 250ms; }
.footer-grid a:hover { color: var(--acid); background-size: 100% 1px; }
.footer-note { padding-left: 3rem; border-left: 1px solid #44473b; }
.footer-note p { max-width: 26rem; color: #b4b6aa; font-size: .8rem; line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid #44473b; color: #b4b6aa; font-size: .58rem; }
.footer-language { color: #f5f3eb; }
.footer-language span { color: #777c66; margin-inline: .3rem; }
/* Fine-pointer-only enhancements; never replaces the native focus cursor. */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor { position: fixed; top: 0; left: 0; z-index: 200; display: grid; place-items: center; width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem; border: 1px solid var(--purple); border-radius: 50%; opacity: 0; pointer-events: none; transform: translate3d(-100px, -100px, 0); transition: opacity 200ms, background-color 200ms; }
  .cursor span { width: .25rem; height: .25rem; background: var(--purple); border-radius: 50%; transition: transform 200ms; }
  .cursor.is-visible { opacity: .7; }
  .cursor.is-hovering { background: #d9fa6533; }
  .cursor.is-hovering span { transform: scale(2); }
  .magnetic { will-change: transform; }
}
/* JS-enabled reveal masks. Content is visible without JS and with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .has-js .reveal { opacity: 0; transform: translateY(2rem); }
  .has-js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 750ms var(--ease-out), transform 750ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
  .has-js .title-line { transform: translateY(0); overflow: hidden; }
  .has-js .title-line > span, .has-js .title-line > em { opacity: 0; transform: translateY(110%); }
  .has-js .title-line.is-visible > span, .has-js .title-line.is-visible > em { opacity: 1; transform: translateY(0); transition: opacity 850ms var(--ease-out), transform 850ms var(--ease-out); }
  .has-js .title-line.is-visible > em { transition-delay: 140ms; }
  .has-js .title-line:nth-child(2) > span { transition-delay: 100ms; }
  .ticker-track { animation: ticker-move 36s linear infinite; animation-play-state: paused; }
  .ticker.is-in-view .ticker-track { animation-play-state: running; }
  .hero:not(.is-in-view) .hero-orbit, .hero:not(.is-in-view) .status-dot { animation-play-state: paused; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker-move { to { transform: translateX(-50%); } }
  .hero-orbit { animation: orbit-breathe 9s ease-in-out infinite alternate; }
  .orbit-two { animation-delay: -4s; }
  @keyframes orbit-breathe { to { transform: scale(1.06) rotate(8deg); } }
  .status-dot { animation: status-pulse 3s ease-in-out infinite; }
  @keyframes status-pulse { 50% { opacity: .65; transform: scale(.85); } }
}
.tilt-card { transition: transform 350ms var(--ease-out); }
/* Mobile and tablet: the gallery is an ordinary vertical story, not a hidden track. */
@media (max-width: 1150px) {
  .desktop-nav { gap: 1.1rem; }
  .nav-shell { gap: 1.25rem; }
  .nav-actions { gap: .65rem; }
  .hero-title { font-size: clamp(3.2rem, 6vw, 5.2rem); }
  .hero-grid { gap: 1rem; }
  .hero-sticker { left: -.5rem; font-size: .95rem; }
  .side-dots { display: none; }
}
@media (max-width: 999px) {
  .desktop-nav, .login-link { display: none; }
  .nav-shell { justify-content: space-between; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .hero { padding-top: 10rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-title { font-size: clamp(3.8rem, 9vw, 6.5rem); }
  .hero-description { max-width: 34rem; }
  .hero-stage { width: min(100%, 37rem); margin: 0 auto; }
  .hero-sticker { left: -1rem; }
  .spark-two { left: 80%; bottom: 44%; }
  .split-heading { grid-template-columns: 1.3fr .7fr; gap: 2rem; }
  .bento-card { min-height: 32rem; }
  .source-sheet { left: 0; width: 9rem; }
  .sheet-two { left: 7%; }
  .knowledge-path { left: 34%; width: 6rem; }
  .rag-core { right: 0; width: 4.7rem; height: 4.7rem; }
  .widget-preview { left: 0; width: 10.5rem; }
  .gallery-section { padding-block: 5rem; }
  .gallery-track { gap: 1.25rem; }
  .gallery-card { min-height: 28rem; }
  .gallery-footer { display: none; }
  .workflow-layout { gap: 3rem; }
  .workflow-step { top: calc(2rem + var(--step) * .75rem); }
  .principle-note { gap: 1.5rem; }
  .principle-note .text-link { font-size: .72rem; }
  .cta-handnote { right: 0; bottom: -1rem; }
}
@media (max-width: 700px) {
  :root { --gutter: 1.25rem; --radius: 1.1rem; }
  html { scroll-padding-top: 2rem; }
  .site-header { top: .75rem; }
  .nav-shell { gap: .6rem; padding: .45rem .5rem .45rem .85rem; }
  .brand { font-size: 1.1rem; gap: .35rem; }
  .brand-mark { width: 1.75rem; height: 1.75rem; }
  .nav-actions { gap: .4rem; }
  .nav-signup { display: none; }
  .language-switch { gap: 0; }
  .language-button { min-width: 1.8rem; min-height: 2.75rem; }
  .icon-button { width: 2.75rem; height: 2.75rem; }
  .hero { padding-top: 8.5rem; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding-top: 1rem; }
  .hero-eyebrow { max-width: 18rem; margin-bottom: 1.5rem; font-size: .58rem; }
  .hero-title { font-size: clamp(3.05rem, 13.6vw, 5.4rem); line-height: 1; }
  .title-line-indent { padding-left: 0; white-space: normal; }
  .hero-title em { display: block; padding-left: 1.5rem; }
  .hero-description { margin-top: 1.5rem; font-size: .92rem; line-height: 1.75; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.1rem; margin-top: 1.75rem; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { margin-left: .25rem; }
  .hero-footnote { font-size: .6rem; }
  .hero-stage { margin-top: 1.25rem; padding-block: 2.5rem 3rem; }
  .product-window { transform: rotate(2deg); }
  .product-body { min-height: 20rem; }
  .product-sidebar { flex-basis: 2.3rem; gap: 1rem; }
  .product-sidebar i { width: .8rem; height: .8rem; }
  .mini-brand { width: 1.35rem; height: 1.35rem; font-size: .65rem; }
  .window-bar { gap: .7rem; padding-inline: .65rem; }
  .window-address { font-size: .42rem; }
  .chat-heading { padding: .8rem; }
  .messages { gap: .7rem; padding: 1rem .75rem; }
  .message { font-size: .5rem; }
  .message p { padding: .55rem .65rem; }
  .message-avatar { flex-basis: 1.2rem; height: 1.2rem; font-size: .5rem; }
  .chat-input { margin: 0 .75rem .8rem; }
  .stage-scribble { right: .2rem; top: -.2rem; font-size: 1rem; }
  .stage-scribble svg { width: 3rem; }
  .knowledge-card { right: 0; bottom: 0; width: 65%; padding: .75rem; }
  .knowledge-top { gap: .4rem; }
  .file-icon { width: 1.8rem; height: 1.8rem; }
  .knowledge-top strong { font-size: .57rem; }
  .knowledge-top small { font-size: .4rem; }
  .knowledge-source { padding: .45rem; font-size: .45rem; }
  .knowledge-tags { gap: .2rem; }
  .knowledge-tags span { font-size: .38rem; padding-inline: .35rem; }
  .hero-sticker { left: -.4rem; bottom: 4.5rem; padding: .35rem .5rem; font-size: .8rem; }
  .hero-sticker svg { width: .8rem; }
  .orbit-one { width: 24rem; height: 24rem; right: -12rem; top: 30rem; }
  .orbit-two { display: none; }
  .spark-one { top: 40%; right: 5%; }
  .spark-two { display: none; }
  .hero-bottom { margin-top: 2rem; font-size: .58rem; }
  .hero-bottom > span:first-child { max-width: 11rem; }
  .scroll-hint { max-width: 8rem; text-align: right; }
  .ticker { padding-block: 1rem; }
  .ticker-group { gap: 1.3rem; padding-right: 1.3rem; font-size: .63rem; }
  .split-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading h2, .workflow-intro h2, .numbers-heading h2 { margin-top: 1.25rem; font-size: clamp(2.35rem, 10vw, 3.7rem); }
  .section-intro { font-size: .9rem; }
  .bento-grid { grid-template-columns: 1fr; gap: 1rem; }
  .bento-card { min-height: 31rem; padding: 1.4rem; }
  .bento-card h3 { font-size: 1.9rem; }
  .bento-card > p { font-size: .8rem; }
  .bento-ticket, .bento-models { min-height: 28rem; }
  .source-sheet { left: 10%; width: 10rem; }
  .sheet-two { left: 15%; }
  .rag-core { right: 5%; width: 5rem; height: 5rem; }
  .knowledge-path { left: 43%; }
  .widget-preview { left: 12%; width: 11.5rem; }
  .gallery-section { padding-block: 4.5rem; }
  .gallery-heading { flex-direction: column; align-items: flex-start; margin-bottom: 2rem; }
  .gallery-heading h2 { font-size: 2.65rem; }
  .gallery-controls { width: 100%; }
  .gallery-skip { margin-right: auto; }
  .gallery-card { grid-template-columns: 1fr; gap: 1.5rem; min-height: 0; padding: 1.4rem; }
  .gallery-card-copy { min-height: 20rem; }
  .gallery-card h3 { margin-top: 3rem; font-size: 2.3rem; }
  .gallery-card p { font-size: .8rem; }
  .analytics-art { padding: 1rem; }
  .channels-art { min-height: 18rem; }
  .channel-center { width: 3.5rem; height: 3.5rem; }
  .channel-node svg { width: 2.8rem; height: 2.8rem; }
  .channel-dashboard { left: 12%; }
  .brand-editor { width: 94%; }
  .dashboard-art { min-height: 16rem; }
  .dash-side { flex-basis: 2.5rem; }
  .dash-main { padding: .8rem; }
  .workflow-layout { grid-template-columns: 1fr; }
  .workflow-intro { position: static; }
  .workflow-intro h2 { max-width: 12ch; }
  .workflow-doodle { display: none; }
  .workflow-steps { gap: 1.5rem; }
  .workflow-step { position: static; padding: 1.4rem; box-shadow: none; }
  .workflow-step h3 { margin-top: 1.5rem; font-size: 2rem; }
  .index-art { gap: .3rem; }
  .index-art > span { padding: .55rem .4rem; font-size: .48rem; }
  .url-art { font-size: .47rem; }
  .url-button { padding-inline: .5rem; }
  .online-art strong { font-size: 1.15rem; }
  .numbers-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .number-item { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 1rem; padding: 1.75rem 0; }
  .number-item + .number-item { border-left: 0; border-top: 1px solid var(--line); }
  .number-item dt { min-height: 0; font-size: .58rem; }
  .number-item dd { margin-top: 0; }
  .number-item dd > span:first-child { font-size: clamp(4.2rem, 18vw, 6rem); }
  .number-note { margin-top: .5rem; font-size: .6rem; }
  .principle-note { flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
  .principle-star { font-size: 2rem; }
  .principle-note p { flex: 1; font-size: 1.4rem; }
  .principle-note .text-link { margin-left: 3rem; }
  .final-cta h2 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .cta-description { font-size: .85rem; }
  .cta-handnote { display: none; }
  .cta-orbit-one { width: 30rem; height: 30rem; top: 0; }
  .cta-orbit-two { width: 40rem; height: 40rem; top: -5rem; }
  .footer-top { flex-wrap: wrap; gap: 1.2rem; }
  .footer-top > p { order: 3; width: 100%; margin-left: 0; font-size: 1.1rem; }
  .footer-up { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .footer-note { grid-column: 1 / -1; padding: 2rem 0 0; border-left: 0; border-top: 1px solid #44473b; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom > span:nth-child(2) { width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .has-js .reveal, .has-js .title-line > span, .has-js .title-line > em { opacity: 1 !important; transform: none !important; }
  .product-window { transform: none; }
  .knowledge-card { transform: rotate(-3deg); }
  .ticker-track { flex-wrap: wrap; width: 100%; }
  .ticker-group { flex-wrap: wrap; justify-content: center; padding-inline: 1rem; white-space: normal; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .ticker { transform: none; }
}
@media (forced-colors: active) {
  .button, .bento-card, .gallery-card, .workflow-step, .nav-shell { border: 1px solid ButtonText; }
  .side-dots a::after, .status-dot { background: ButtonText; }
  .page-progress span, .gallery-progress span { background: Highlight; }
}
