/* Layout for text pages (blog posts, legal pages, 404). Tokens, header, grid texture and footer match the new pages (About). */
:root {
  --paper: #FFFFFF; --ink: #232221; --ink-2: #6F6B63; --ink-3: #B4B0A7; --line: #E2E0D8;
  --tint: #F6F6F3; --tint-2: #F1F0EC; --accent: #FF6030; --accent-hi: #FF7246; --dark: #494642; --on-dark: #FFFFFF;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --edge: clamp(16px, 2vw, 32px); --gutter: clamp(16px, 5.5vw, 104px); --top: 76px; --radius: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
html, body { overflow-x: clip; }
body { --cell: clamp(360px, 44vw, 760px); background-color: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(to right, rgba(35,34,33,.055) 1px, transparent 1px), linear-gradient(to bottom, rgba(35,34,33,.055) 1px, transparent 1px);
  background-size: var(--cell) var(--cell); background-position: calc(var(--gutter) + var(--cell) * .31) 0; }
[hidden] { display: none !important; }
a { color: inherit; }

/* Header: the glass bar from the new pages (About, Platform); menu.js opens the Menu pill on narrow screens. */
/* ---------- Fixed header: logo left, two pills right ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: var(--top);
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--edge) 0; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.top > * { pointer-events: auto; }
.logo { display: block; color: var(--ink); line-height: 0; margin-top: 8px; }
.logo svg { height: 28px; width: auto; }
.pills { display: flex; gap: 8px; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0;
  font: 600 13px var(--font); letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pill.book { background: var(--accent); color: #fff; }
.pill.book:hover { background: var(--accent-hi); }
/* Links in a small liquid-glass box at the centre of the bar. */
.links { position: absolute; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 18px); transform: translateX(-50%);
  display: flex; gap: 2px; padding: 4px; border-radius: 999px; pointer-events: auto;
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.28) 50%, rgba(255,255,255,.42));
  backdrop-filter: blur(16px) saturate(1.8); -webkit-backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.5), 0 1px 2px rgba(35,34,33,.06), 0 12px 30px -14px rgba(35,34,33,.3); }
.links::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(255,255,255,.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.links a { position: relative; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.links a:hover { background: rgba(255,255,255,.7); }
.links a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pill.menu { display: none; }
.pill.menu { background: rgba(255,255,255,.82); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(35,34,33,.06); }
.pill.menu i { display: grid; gap: 3px; } .pill.menu i::before, .pill.menu i::after { content: ""; width: 12px; height: 1.5px; background: currentColor; display: block; }
.pill:focus-visible, .menu-panel a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.menu-panel { position: absolute; right: 0; top: 48px; width: 240px; padding: 8px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(35,34,33,.06), 0 24px 60px -20px rgba(35,34,33,.35); display: grid; }
.menu-panel a { padding: 11px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 500; }
.menu-panel a:hover { background: var(--paper); }

@media (max-width: 980px) { .links { display: none; } .pill.menu { display: inline-flex; } }
/* ---------- Nav: one liquid-glass bar holding the logo, the links and the call to action ---------- */
.top { top: calc(env(safe-area-inset-top, 0px) + 12px); left: clamp(16px, 2.4vw, 40px); right: clamp(16px, 2.4vw, 40px); height: 60px;
  padding: 0 8px 0 22px; align-items: center; border-radius: 14px; pointer-events: auto;
  background: linear-gradient(135deg, rgba(255,255,255,.66), rgba(255,255,255,.3) 50%, rgba(255,255,255,.46));
  backdrop-filter: blur(18px) saturate(1.8); -webkit-backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.55), 0 1px 2px rgba(35,34,33,.06), 0 14px 34px -16px rgba(35,34,33,.3); }
.top::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,.85));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.top .logo { margin-top: 0; }
.top .links { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 0; background: none; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; }
.top .links::before { content: none; }
.top .pills { align-items: center; }
.top .pill.book { height: 44px; border-radius: 10px; }
.top .links a { border-radius: 8px; }
.top { transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.top::before { transition: opacity .4s; }
.top .logo, .top .links a { transition: color .4s; }
/* Matched to the homepage nav: the links sit beside the logo as one group, and the call to action is the raised orange button with an arrow. */
.top .links { position: static; margin-left: clamp(24px, 2.6vw, 44px); margin-right: auto; transform: none; }
.top .pill.book { height: 46px; padding: 0 20px; gap: 8px; font-size: 14px; letter-spacing: 0;
  background: linear-gradient(180deg, #FF7A4F, #FF5523);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 1px rgba(214,72,26,.35), 0 10px 24px -10px rgba(255,96,48,.85);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, filter .2s; }
.top .pill.book::after { content: "\2192"; font-weight: 600; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.top .pill.book:hover { background: linear-gradient(180deg, #FF8459, #FF5E2E); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 1px rgba(214,72,26,.4), 0 14px 30px -10px rgba(255,96,48,.95); }
.top .pill.book:hover::after { transform: translateX(3px); }
.top .pill.book:active { transform: none; filter: brightness(.96); }
@media (max-width: 520px) { .pill.book span.long { display: none; } }

/* Phones: the bar must fit logo, Book a demo and Menu in ~340px. The Menu pill becomes icon-only (its label stays for screen readers). */
@media (max-width: 520px) {
  .top { padding-left: 16px; }
  .top .logo svg { height: 23px; }
  .top .pills { gap: 6px; }
  .top .pill.book { height: 40px; padding: 0 14px; font-size: 13px; }
  .pill.menu { width: 40px; height: 40px; padding: 0; justify-content: center; gap: 0; font-size: 0; }
}

/* The header is fixed, so the page starts below it. */
.top + main { padding-top: calc(var(--top) + 24px); }

/* Article */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) var(--edge) clamp(64px, 10vh, 128px); }
.doc h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; }
.doc .updated { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.doc .body { margin-top: clamp(32px, 5vh, 56px); font-size: 16px; line-height: 1.7; color: var(--ink); }
.doc .body > * + * { margin-top: 1em; }
.doc .body h2 { margin-top: 2.2em; font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.doc .body h3 { margin-top: 1.6em; font-size: 17px; font-weight: 600; }
.doc .body ul, .doc .body ol { padding-left: 1.3em; }
.doc .body li + li { margin-top: .4em; }
.doc .body a { color: var(--accent); text-underline-offset: 2px; overflow-wrap: anywhere; }
.doc .body strong { font-weight: 600; }

/* Footer: a small site, a small footer. A soft warm panel: the brand and its few pages on one row, the legal line under it. */
.foot-site { position: relative; z-index: 1; margin: 0 clamp(8px, 1vw, 16px) clamp(8px, 1vw, 16px); border-radius: 18px; background: #F3F2EE;
  padding: 32px calc(var(--gutter) - clamp(8px, 1vw, 16px)) calc(24px + env(safe-area-inset-bottom, 0px));
  color: var(--ink); display: grid; gap: 22px; }
.fs-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; }
.fs-brand { display: flex; align-items: center; gap: 20px; }
.fs-logo { display: inline-block; color: var(--ink); line-height: 0; }
.fs-logo svg { height: 22px; width: auto; }
.badges { display: flex; gap: 8px; }
.badges img { width: 34px; height: 34px; transition: transform .25s; }
.badges:hover img { transform: translateY(-2px); }
.fs-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.fs-nav a { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.fs-nav a:hover { color: var(--ink); }
.fs-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-top: 18px; border-top: 1px solid rgba(35,34,33,.08); font-size: 13px; color: var(--ink-2); }
.fs-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fs-links a { font-size: 13px; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.fs-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .fs-top { flex-direction: column; align-items: flex-start; } .fs-nav { gap: 8px 22px; } }
