/* flovello.com shared design: the V2 glass look (frosted panels over a blurred landscape, Urbanist, teal).
   Used by the landing page, the 404 page and every Eleventy page (base.njk). Hand-written, not Tailwind. */

@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/L0x-DF02iFML4hGCyMqrbS10ig.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: "Urbanist";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/L0x-DF02iFML4hGCyMqlbS0.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;
}

/* ---------- tokens ---------- */
:root {
  --bg: #E4E6E6;
  --photo: url("/backdrop.jpg");
  --backdrop: linear-gradient(rgba(246, 248, 248, .84), rgba(246, 248, 248, .84)), var(--photo) center / cover no-repeat, #fff;
  --glass: rgba(255, 255, 255, .62);
  --glass-hi: rgba(255, 255, 255, .86);
  --glass-2: rgba(255, 255, 255, .5);
  --glass-solid: #F7F7F5;
  --rim: rgba(255, 255, 255, .9);
  --sheen: linear-gradient(140deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 42%);
  --line: rgba(30, 26, 30, .12);
  --line-2: rgba(30, 26, 30, .18);
  --ink: #1B1C1F;
  --ink-2: #2E3136;
  --ink-3: #484C52;
  --accent: #0D9488;
  --accent-text: #0F6B64;
  --accent-fill: #0F766E;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(13, 148, 136, .14);
  --ok: #10663D; --ok-soft: rgba(21, 140, 90, .14);
  --warn: #855400; --warn-soft: rgba(214, 150, 20, .2);
  --fail: #B42318; --fail-soft: rgba(200, 50, 40, .12);
  --tile-live: rgba(206, 244, 236, .8); --tile-ran: rgba(214, 232, 250, .75); --tile-fail: rgba(252, 222, 216, .78); --tile-run: rgba(252, 236, 204, .78);
  --code-bg: #14161B; --code-ink: #E8E6E3; --code-dim: #A09C99;
  --t-k: #5EEAD4; --t-s: #FCD34D; --t-c: #A09C99; --t-n: #FDA4AF; --t-f: #93C5FD;
  --shadow: 0 1px 2px rgba(40, 30, 40, .06), 0 18px 40px -22px rgba(40, 30, 50, .42);
  --shadow-lg: 0 2px 6px rgba(40, 20, 30, .07), 0 36px 80px -30px rgba(50, 30, 40, .5);
  --blur: blur(26px) saturate(1.5);
  --font: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-s: 10px; --r-m: 14px; --r-l: 22px; --r-xl: 30px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --page: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
/* Dark tokens: the dark theme, and the hero panel, which is drawn dark in both themes (as on the V2 home). */
html.dark, .hero {
  --bg: #2A2F37;
  --backdrop: var(--photo) center / cover no-repeat, var(--bg);
  --glass: rgba(14, 16, 22, .56);
  --glass-hi: rgba(255, 255, 255, .1);
  --glass-2: rgba(255, 255, 255, .06);
  --glass-solid: #1B1E24;
  --rim: rgba(255, 255, 255, .16);
  --sheen: linear-gradient(140deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 40%);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --ink: #F3F1EF;
  --ink-2: #E6E2DF;
  --ink-3: #C4BFBC;
  --accent: #2DD4BF;
  --accent-text: #6EE7D5;
  --accent-fill: #2DD4BF;
  --accent-ink: #042F2E;
  --accent-soft: rgba(45, 212, 191, .16);
  --ok: #74DCA8; --ok-soft: rgba(116, 220, 168, .15);
  --warn: #F2C26B; --warn-soft: rgba(242, 194, 107, .16);
  --fail: #FF978C; --fail-soft: rgba(255, 151, 140, .15);
  --tile-live: rgba(45, 212, 191, .13); --tile-ran: rgba(140, 199, 255, .12); --tile-fail: rgba(255, 151, 140, .13); --tile-run: rgba(242, 194, 107, .12);
  --code-bg: #0A0C10;
  --shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 22px 48px -26px rgba(0, 0, 0, .8);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 40px 90px -30px rgba(0, 0, 0, .9);
  color-scheme: dark;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root, html.dark, .hero { --glass: var(--glass-solid); --glass-hi: var(--glass-solid); --glass-2: var(--glass-solid); --blur: none; }
}

/* ---------- base ---------- */
/* In-page links glide to their section and stop below the sticky header (60px bar + 12px gap + air). */
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.site { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.site *, .site *::before, .site *::after { box-sizing: border-box; }
/* One static, blurred backdrop behind all the glass: the same misty landscape the app uses. */
.site::before { content: ""; position: fixed; inset: -60px; z-index: -1; pointer-events: none; background: var(--backdrop); filter: blur(28px) saturate(.85); }
html.dark .site::before { filter: blur(28px) saturate(.7); opacity: .2; }
.site :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
/* Zero-specificity resets, so Tailwind utilities on the Eleventy pages still win. */
:where(.site) a { color: inherit; }
:where(.site) img, :where(.site) svg { display: block; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.sm { width: 14px; height: 14px; }
.num { font-variant-numeric: tabular-nums; }
.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; padding: 10px 16px; border-radius: var(--r-m); background: var(--accent-fill); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.glass { background: var(--sheen), var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), var(--shadow); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-m); font: 650 15.5px/1 var(--font); text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; transition: filter .16s, background-color .16s, transform .16s var(--ease); }
.btn.primary { background: var(--accent-fill); color: var(--accent-ink); box-shadow: 0 12px 26px -14px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { background: var(--glass-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--glass-hi); }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 16.5px; border-radius: 16px; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 12px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 12px; z-index: 50; margin: 12px auto 0; width: calc(100% - 24px); max-width: calc(var(--page) + 2 * var(--gutter)); border-radius: var(--r-l); }
.topbar-in { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 10px 0 14px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 750; font-size: 20px; letter-spacing: -.015em; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 20px; }
.nav > a, .nav .dd > button { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px; border-radius: 12px; font: 600 15px/1 var(--font); color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav .dd > button:hover, .nav .dd.open > button { background: var(--glass-2); color: var(--ink); }
.nav > a[aria-current="page"] { color: var(--ink); background: var(--glass-2); }
.dd { position: relative; }
.dd > button .i { transition: transform .2s var(--ease); }
.dd.open > button .i { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 248px; padding: 8px; border-radius: var(--r-l); display: none; background: var(--sheen), var(--glass-hi); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), var(--shadow-lg); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
html:not(.dark) .dd-menu { background: var(--sheen), rgba(255, 255, 255, .9); }
html.dark .dd-menu { background: var(--sheen), rgba(30, 33, 40, .92); }
.dd.open .dd-menu { display: grid; gap: 2px; }
.dd-menu a { display: grid; gap: 1px; padding: 9px 12px; border-radius: 12px; text-decoration: none; font-weight: 650; font-size: 15px; color: var(--ink); }
.dd-menu a small { font-weight: 500; font-size: 13px; color: var(--ink-3); }
.dd-menu a:hover { background: var(--glass-2); }
.dd-menu hr { border: 0; height: 1px; background: var(--line); margin: 4px 6px; }
.topbar-end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--glass-2); color: var(--ink); }
.site .theme-dark { display: none; }
html.dark .site .theme-dark { display: block; }
html.dark .site .theme-light { display: none; }
.menu-btn { display: none; }
.mobile-nav { display: none; padding: 4px 12px 14px; }
.mobile-nav a { display: block; padding: 11px 6px; text-decoration: none; font-weight: 650; border-bottom: 1px solid var(--line); }
.mobile-nav .mobile-sub { padding-left: 6px; }
.mobile-nav .mobile-sub a { font-weight: 500; color: var(--ink-2); }
.mobile-nav .row { display: flex; gap: 8px; padding-top: 14px; }
.mobile-nav .row .btn { flex: 1; }
.topbar.open .mobile-nav { display: block; }
@media (max-width: 960px) {
  .nav, .topbar-end .hide-sm { display: none; }
  .menu-btn { display: grid; }
}

/* ---------- footer ---------- */
.footer { margin: 96px auto 12px; width: calc(100% - 24px); max-width: calc(var(--page) + 2 * var(--gutter)); border-radius: var(--r-xl); padding: 40px clamp(20px, 4vw, 40px) 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer p { margin: 12px 0 0; color: var(--ink-3); font-size: 15px; max-width: 32ch; }
.footer h2 { margin: 4px 0 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--ink-3); text-decoration: none; font-size: 15px; }
.footer ul a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--ink-3); font-size: 14px; }
.footer-base div { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-base a { color: var(--ink-3); text-decoration: none; }
.footer-base a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- section scaffolding ---------- */
.sec { padding-top: clamp(80px, 11vw, 140px); }
/* Land on the heading, not on the empty padding above it. */
.sec[id] { scroll-margin-top: calc(24px - clamp(80px, 11vw, 140px)); }
.sec-h { max-width: 720px; }
.sec-h h2 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.032em; font-weight: 750; text-wrap: balance; }
.sec-h p { margin: 18px 0 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.sec-h p a { color: var(--accent-text); text-underline-offset: 3px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin: -72px 12px 0; padding: 150px 0 clamp(56px, 7vw, 96px); border-radius: 0 0 var(--r-xl) var(--r-xl); color: var(--ink); background: #20252C; }
/* The photo, sharper than the page backdrop, darkened so the white headline holds AA everywhere. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 22, 28, .62), rgba(18, 22, 28, .82) 70%, rgba(18, 22, 28, .9)), var(--photo) center 30% / cover no-repeat; filter: saturate(.8); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 0; font-size: clamp(46px, 6.6vw, 96px); line-height: .94; letter-spacing: -.045em; font-weight: 780; text-wrap: balance; }
.hero .lede { margin: 26px 0 0; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero .note { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 1000px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
}
/* On phones the hero runs edge to edge, so the text gets the full width instead of a panel inside a margin. */
@media (max-width: 640px) {
  .hero { margin: -72px 0 0; padding-top: 112px; border-radius: 0 0 var(--r-xl) var(--r-xl); }
  .hero .wrap { padding: 0 20px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 52px); }
  .hero .ctas { margin-top: 28px; }
}

/* The demo: a prompt that becomes a running flow. */
.demo { position: relative; display: grid; gap: 14px; }
.composer { border-radius: var(--r-l); padding: 16px 16px 12px; }
.composer-q { margin: 0 0 10px; font-size: 14px; font-weight: 650; color: var(--ink-3); }
.composer-text { min-height: 3.1em; margin: 0; font-size: 17.5px; line-height: 1.5; font-weight: 550; color: var(--ink); }
.composer-text .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.18em; background: var(--accent); opacity: 0; }
.demo.typing .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: var(--ink-3); font-size: 13.5px; }
.send { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--accent-fill); color: var(--accent-ink); transition: transform .3s var(--ease); }
.demo.sent .send { transform: scale(.9); }

.flowcard { border-radius: var(--r-l); padding: 18px 18px 16px; }
.flowcard-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.flowcard-h b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.flowcard-h small { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill.live { background: var(--accent-soft); color: var(--accent-text); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.run { background: var(--warn-soft); color: var(--warn); }
.pill.fail { background: var(--fail-soft); color: var(--fail); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.step { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-m); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); }
.step b { display: block; font-weight: 650; font-size: 15.5px; }
.step small { display: block; font-size: 13.5px; color: var(--ink-3); }
.step .val { font-size: 14px; font-weight: 650; color: var(--ink-2); text-align: right; }
.state { position: relative; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.state svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.state.ok { background: var(--ok-soft); color: var(--ok); }
.state.wait { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.state.wait svg, .state.spin svg { display: none; }
.state.spin { box-shadow: inset 0 0 0 2px var(--line-2); }
.state.spin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.kind { margin-left: 6px; padding: 1px 7px; border-radius: 99px; font-size: 11.5px; font-weight: 700; vertical-align: 1px; background: var(--tile-run); color: var(--warn); }
.flowcard-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.metric { position: absolute; right: -14px; bottom: -88px; width: 196px; border-radius: var(--r-l); padding: 14px 16px; }
.metric small { display: block; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.metric b { display: block; margin-top: 2px; font-size: 32px; line-height: 1.1; font-weight: 750; letter-spacing: -.03em; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: 8px; }
.bars i { flex: 1; border-radius: 2px; background: var(--accent); opacity: .55; }
.bars i:last-child { opacity: 1; }
.demo { margin-bottom: 60px; }
@media (max-width: 1000px) { .metric { right: 12px; } .demo { margin-bottom: 70px; } }
@media (max-width: 560px) { .metric { position: static; width: auto; } .demo { margin-bottom: 0; } .step .val { display: none; } }

/* Played once on load; without JavaScript or with reduced motion the end state shows. */
.demo.play .flowcard, .demo.play .metric { opacity: 0; transform: translateY(14px); }
.demo.play .flowcard.in, .demo.play .metric.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ---------- trusted by ---------- */
.trusted { margin-top: 64px; text-align: center; }
.trusted p { margin: 0; color: var(--ink-3); font-size: 15px; }
.logos { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.logos img { height: 26px; width: auto; opacity: .85; }
html.dark .trusted img { filter: invert(1) hue-rotate(180deg) brightness(1.4); }

/* ---------- workspace tour ---------- */
.tour { margin-top: 44px; border-radius: var(--r-xl); padding: 10px; }
.tabs { display: flex; gap: 4px; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: var(--r-m); background: none; border: 0; cursor: pointer; font: 650 15px/1 var(--font); color: var(--ink-2); white-space: nowrap; }
.tab:hover { background: var(--glass-2); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--accent-fill); color: var(--accent-ink); }
.panel { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(18px, 3vw, 34px); margin-top: 6px; border-radius: calc(var(--r-xl) - 8px); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); min-height: 420px; }
.panel[hidden] { display: none; }
.panel-copy h3 { margin: 4px 0 0; font-size: 26px; line-height: 1.12; letter-spacing: -.02em; font-weight: 750; }
.panel-copy p { margin: 14px 0 0; color: var(--ink-2); }
.panel-view { min-width: 0; display: grid; align-content: start; gap: 8px; }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; min-height: 0; } }

.rows { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: var(--r-m); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.row b { font-weight: 650; }
.row small { color: var(--ink-3); font-size: 13.5px; }
.row .t { color: var(--ink-3); font-size: 14px; }
.row .main { min-width: 0; }
.row .main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mark { width: 10px; height: 10px; border-radius: 50%; justify-self: center; }
.mark.ok { background: var(--ok); }
.mark.fail { background: var(--fail); border-radius: 2px; transform: rotate(45deg) scale(.85); }
.mark.none { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
@media (max-width: 560px) { .row { grid-template-columns: 22px minmax(0, 1fr) auto; } .row .t { display: none; } }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { border-radius: var(--r-m); padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line); }
.tile small { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.tile b { display: block; margin-top: 4px; font-size: 28px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.tile.a { background: var(--tile-live); } .tile.b { background: var(--tile-ran); } .tile.c { background: var(--tile-fail); }
.chart { border-radius: var(--r-m); padding: 16px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.chart-h { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-3); }
.chart-h b { color: var(--ink); font-weight: 700; }
.legend { display: flex; gap: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.cols { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); align-items: end; gap: 5px; height: 150px; margin-top: 14px; }
.cols div { display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; justify-content: flex-start; }
.cols i { display: block; border-radius: 3px; }
.s1 { background: var(--accent); }
.s2 { background: var(--fail); opacity: .7; }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles .tile:last-child { display: none; } }

.diff { border-radius: var(--r-m); overflow: hidden; background: var(--code-bg); color: var(--code-ink); font: 13.5px/1.7 var(--mono); }
.diff div { padding: 0 16px; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.diff .add { background: rgba(116, 220, 168, .14); }
.diff .add::before { content: "+ "; color: #74DCA8; }
.diff .del { background: rgba(255, 151, 140, .13); }
.diff .del::before { content: "- "; color: #FF978C; }
.diff .ctx::before { content: "  "; }
.diff .h { color: var(--code-dim); padding-top: 8px; padding-bottom: 4px; }
.code { margin: 0; border-radius: var(--r-m); padding: 16px 18px; background: var(--code-bg); color: var(--code-ink); font: 13.5px/1.7 var(--mono); overflow-x: auto; tab-size: 2; }
.code .k { color: var(--t-k); } .code .s { color: var(--t-s); } .code .c { color: var(--t-c); } .code .n { color: var(--t-n); } .code .f { color: var(--t-f); }

/* ---------- review sequence ---------- */
.seq { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: seq; }
.seq li { position: relative; border-radius: var(--r-l); padding: 22px 22px 24px; counter-increment: seq; }
.seq li::before { content: counter(seq); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 750; font-size: 16px; }
.seq li:last-child::before { background: var(--accent-fill); color: var(--accent-ink); }
.seq h3 { margin: 18px 0 0; font-size: 20px; line-height: 1.2; letter-spacing: -.012em; font-weight: 720; }
.seq p { margin: 10px 0 0; font-size: 15.5px; color: var(--ink-2); }
.seq blockquote { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--r-m); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; color: var(--ink); }
@media (max-width: 1000px) { .seq { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .seq { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; margin-top: 28px; padding: 0 4px; }
.facts p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.facts b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* ---------- reach ---------- */
.reach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.reach-list { list-style: none; margin: 0; padding: 0; border-radius: var(--r-xl); padding: 8px; }
.reach-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 16px; }
.reach-list li + li { border-top: 1px solid var(--line); }
.reach-list .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
.reach-list b { display: block; font-size: 17.5px; font-weight: 700; }
.reach-list span { display: block; margin-top: 2px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 900px) { .reach { grid-template-columns: 1fr; } }

/* ---------- own agent ---------- */
.agent { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); }
.agent h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.03em; font-weight: 750; text-wrap: balance; }
.agent p { margin: 16px 0 0; color: var(--ink-2); max-width: 54ch; }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.clients span { padding: 7px 13px; border-radius: 99px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; font-weight: 650; }
.term { border-radius: var(--r-l); overflow: hidden; background: var(--code-bg); color: var(--code-ink); box-shadow: var(--shadow-lg); }
.term-h { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.term-h i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.term pre { margin: 0; padding: 16px 18px 20px; font: 13.5px/1.75 var(--mono); white-space: pre-wrap; word-break: break-word; }
.term .p { color: var(--t-k); }
.term .d { color: var(--code-dim); }
.term .y { color: var(--t-s); }
@media (max-width: 900px) { .agent { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto repeat(6, auto); gap: 0 10px; margin-top: 44px; }
.plan { grid-row: span 7; display: grid; grid-template-rows: subgrid; border-radius: var(--r-xl); padding: 8px 8px 12px; }
.plan.pick { background: var(--sheen), var(--glass-hi); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.plan-h { padding: 14px 12px 16px; display: flex; flex-direction: column; }
.plan-h h3 { margin: 0; font-size: 20px; font-weight: 750; letter-spacing: -.01em; display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.plan-h .tag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--ink); letter-spacing: 0; }
.price { margin-top: 12px; font-size: 38px; line-height: 1; font-weight: 780; letter-spacing: -.035em; }
.price small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.plan-h p { margin: 10px 0 18px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.plan-h .btn { width: 100%; }
.lim { padding: 10px 12px; border-top: 1px solid var(--line); }
.lim b { display: block; font-size: 16px; font-weight: 700; }
.lim small { display: block; font-size: 13.5px; color: var(--ink-3); }
.plans-note { margin: 20px 4px 0; font-size: 14.5px; color: var(--ink-3); max-width: 80ch; }
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-template-rows: none; gap: 12px; }
  .plan { grid-row: auto; grid-template-rows: none; }
  .lim { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .lim small { order: -1; }
  .lim b { text-align: right; }
}

/* ---------- quote ---------- */
.quote { margin: 0; max-width: 900px; }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.32; letter-spacing: -.015em; font-weight: 600; text-wrap: pretty; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 15.5px; }
.quote footer span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-fill); color: var(--accent-ink); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.quote footer small { display: block; color: var(--ink-3); font-size: 14.5px; }

/* ---------- final call ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); }
.final h2 { margin: 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 780; max-width: 16ch; text-wrap: balance; }
.final p { margin: 18px 0 0; color: var(--ink-2); max-width: 52ch; }
.final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.final .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ideas { border-radius: var(--r-l); padding: 18px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); }
.ideas p { margin: 0 0 12px; font-size: 14px; font-weight: 650; color: var(--ink-3); }
.ideas ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ideas a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-m); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: 15.5px; transition: background-color .16s; }
.ideas a:hover { background: var(--glass-hi); }
.ideas a .i { color: var(--accent-text); }
@media (max-width: 900px) { .final { grid-template-columns: 1fr; } }

/* ---------- product pages (/products/ and /products/craft/) ---------- */
/* Flovello Craft keeps its own indigo accent. Scoped to the page body, so the shared header stays teal. */
.craft { --accent: #4F46E5; --accent-text: #4338CA; --accent-fill: #4338CA; --accent-ink: #FFFFFF; --accent-soft: rgba(79, 70, 229, .12); }
html.dark .craft { --accent: #818CF8; --accent-text: #A5B4FC; --accent-fill: #818CF8; --accent-ink: #1E1B4B; --accent-soft: rgba(129, 140, 248, .16); }

.page-hero { padding-top: clamp(48px, 7vw, 88px); }
.page-hero h1 { margin: 0; font-size: clamp(42px, 5.6vw, 76px); line-height: .98; letter-spacing: -.04em; font-weight: 780; text-wrap: balance; }
.page-hero .lede { margin: 22px 0 0; font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.page-hero .note { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-3); }
.back { display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.back:hover { color: var(--ink); text-decoration: underline; }
.product-name { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--accent-text); }
.product-name .icon-tile { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft); }
.craft-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .craft-hero { grid-template-columns: 1fr; } }

/* The agreement: Craft's one document, summed up. */
.agreement { border-radius: var(--r-xl); padding: 26px 26px 22px; }
.agreement-h { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.agreement-h .icon-tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.agreement-h b { display: block; font-size: 17px; font-weight: 700; }
.agreement-h small { display: block; font-size: 14px; color: var(--ink-3); }
.agreement dl { margin: 0; display: grid; }
.agreement dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.agreement dt { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.agreement dd { margin: 0; font-size: 15px; color: var(--ink-2); }
.signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.signatures span { display: block; padding-top: 8px; border-top: 1.5px solid var(--line-2); font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 480px) { .agreement dl > div { grid-template-columns: 1fr; } }

.seq.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .seq.two { grid-template-columns: 1fr; } }
.costs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.cost { border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); }
.cost small { display: block; font-size: 14px; font-weight: 700; color: var(--accent-text); }
.cost h3 { margin: 8px 0 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.025em; font-weight: 750; }
.cost p { margin: 12px 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .costs { grid-template-columns: 1fr; } }
.aside { max-width: 68ch; margin-top: 36px; }
.aside h3 { margin: 0; font-size: 20px; font-weight: 720; }
.aside p { margin: 10px 0 0; color: var(--ink-2); }
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; border-radius: var(--r-xl); }
.fit > div { padding: clamp(22px, 3vw, 32px); }
.fit > div + div { border-left: 1px solid var(--line); }
.fit h3 { margin: 0 0 14px; font-size: 20px; font-weight: 720; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.fit li .i { margin-top: 3px; }
.fit .yes .i { color: var(--ok); }
.fit .no .i { color: var(--ink-3); }
.fit a { color: var(--accent-text); text-underline-offset: 3px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } .fit > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.final.solo { display: block; text-align: center; }
.final.solo h2, .final.solo p { margin-left: auto; margin-right: auto; }
.final.solo .ctas { justify-content: center; }
.final .mail { margin: 14px 0 0; font-size: 15px; color: var(--ink-3); }
.final .mail a { color: var(--accent-text); }

/* The products overview: one wide row per product, each in its own accent. */
.prod-flovello { --p: var(--accent-text); --p-soft: var(--accent-soft); }
.prod-craft { --p: #4338CA; --p-soft: rgba(79, 70, 229, .12); }
.prod-quill { --p: #A33B07; --p-soft: rgba(226, 87, 11, .13); }
html.dark .prod-craft { --p: #A5B4FC; --p-soft: rgba(129, 140, 248, .16); }
html.dark .prod-quill { --p: #FDBA74; --p-soft: rgba(251, 146, 60, .15); }
.shelf { display: grid; gap: 14px; margin-top: clamp(40px, 6vw, 64px); }
.prod { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 40px); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); transition: background-color .16s; }
.prod:hover { background: var(--sheen), var(--glass-hi); }
.prod .icon-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--p-soft); color: var(--p); }
.prod h2 { margin: 16px 0 0; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; font-weight: 750; }
.prod h2 a { text-decoration: none; }
.prod h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.prod .prod-kind { display: block; margin-top: 4px; font-size: 15px; font-weight: 650; color: var(--p); }
.prod .tagline { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 650; color: var(--ink); }
.prod .desc { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.prod ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.prod li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.prod li .i { margin-top: 4px; color: var(--p); }
.prod-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.prod-side .price { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.45; color: var(--ink-2); }
.prod-side .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--p); }
.prod-side .langs { position: relative; z-index: 1; display: flex; gap: 12px; font-size: 14.5px; }
.prod-side .langs a { color: var(--ink-2); text-underline-offset: 3px; }
@media (max-width: 960px) { .prod { grid-template-columns: 1fr; } }

/* ---------- legal pages (privacy, terms, subprocessors) ---------- */
.legal { max-width: calc(820px + 2 * var(--gutter)); padding-top: clamp(40px, 6vw, 72px); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 32px; }
.legal-nav a { padding: 8px 14px; border-radius: 99px; font-size: 15px; font-weight: 650; color: var(--ink-2); text-decoration: none; }
.legal-nav a:hover { background: var(--glass-2); color: var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--glass-hi); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.legal h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.035em; font-weight: 780; }
.legal .lede { margin: 16px 0 0; font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); }
.legal .updated { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-3); }
.legal-body { margin-top: 40px; }
.legal-body > :first-child { margin-top: 0; }
.legal-body h2 { margin: 40px 0 10px; font-size: 22px; line-height: 1.25; letter-spacing: -.012em; font-weight: 720; scroll-margin-top: 110px; }
.legal-body h3 { margin: 20px 0 6px; font-size: 17.5px; font-weight: 700; }
.legal-body p { margin: 10px 0 0; color: var(--ink-2); max-width: 72ch; }
.legal-body a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-body .data-table { margin: 28px 0 0; }
.legal-body .see-also { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15.5px; }

/* ---------- Eleventy page bodies (Tailwind) on the glass backdrop ---------- */
/* The Tailwind greys were picked for a white or navy page. On the backdrop every page body uses the
   site's text tokens instead: primary and secondary text are ink-2, quiet text (and separators) ink-3. */
.site main :is(.text-navy-600, .text-navy-500) { color: var(--ink-2); }
.site main :is(.text-navy-400, .text-navy-300) { color: var(--ink-3); }
html.dark .site main :is(.dark\:text-navy-200, .dark\:text-navy-300, .dark\:text-navy-400) { color: var(--ink-2); }
html.dark .site main :is(.dark\:text-navy-500, .dark\:text-navy-600) { color: var(--ink-3); }
.site main :is(.text-teal-600, .text-teal-700), html.dark .site main .dark\:text-teal-400 { color: var(--accent-text); }
html.dark .site main .dark\:text-indigo-400 { color: #A5B4FC; }
/* Filled teal buttons take the site's accent fill, which holds AA with its text in both themes. */
.site main .bg-teal-600.text-white { background-color: var(--accent-fill); color: var(--accent-ink); }
/* Panels that stay dark in both themes (the Craft call to action) keep their own light text. */
.site main .bg-navy-900 .text-navy-300 { color: #CBD5E1; }
.site main p > a:not([class]), .site main p > a.hover\:underline { text-decoration: underline; text-underline-offset: 2px; }
/* White and navy cards become glass panels, like the landing page. */
.site main .bg-white.border, .dark .site main .bg-white.border { background: var(--sheen), var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: var(--line); box-shadow: inset 0 1px 0 var(--rim), var(--shadow); }
.site main p > a:not([class]), .site main p > a.hover\:underline { text-decoration: underline; text-underline-offset: 2px; }

/* Data tables on the Eleventy pages (subprocessors). A firm panel, so rows stay readable over the backdrop. */
.data-table { border-radius: var(--r-l); overflow-x: auto; box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), var(--shadow); }
html:not(.dark) .data-table { background: var(--sheen), rgba(255, 255, 255, .82); }
html.dark .data-table { background: var(--sheen), rgba(20, 23, 29, .82); }
.data-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; text-align: left; }
.data-table thead th { padding: 14px 18px; font-size: 13.5px; font-weight: 700; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.data-table tbody th, .data-table tbody td { padding: 16px 18px; vertical-align: top; color: var(--ink-2); line-height: 1.5; }
.data-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.data-table tbody th { width: 30%; font-weight: 700; color: var(--ink); }
.data-table tbody th small { display: block; margin-top: 2px; font-weight: 500; font-size: 13.5px; color: var(--ink-3); }
.data-table tbody td:last-child { width: 26%; }

@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; }
}
