/* Farview's site: the layout, the home page and the plain pages (privacy, terms, support,
   the setup pages). The download and changelog pages add their own sheets on top
   (download.css, changelog.css).

   Colours, radii, shadows and the type scale are the Synapsi design system's tokens, which
   the theme's foundations.css (loaded before this file) declares. What is declared here are
   the *roles* a page needs (--page, --surface, --ink, --line...), mapped onto them, so the
   dark theme is one block of redefinitions at the bottom and no rule below has to know
   about it. */

/* ------------------------------------------------------------------ fonts
   Figtree, self-hosted: woff2 first, the theme's ttf behind it. Nothing here asks
   another origin for a font. The theme's foundations.css declares the same faces from
   ttf and a code face from a CDN; this file comes after it, so these win, and --font-mono
   below does not name the CDN face, so it is never requested. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/figtree-400.woff2") format("woff2"), url("../fonts/figtree-400.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/figtree-500.woff2") format("woff2"), url("../fonts/figtree-500.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/figtree-600.woff2") format("woff2"), url("../fonts/figtree-600.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/figtree-700.woff2") format("woff2"), url("../fonts/figtree-700.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/figtree-800.woff2") format("woff2"), url("../fonts/figtree-800.ttf") format("truetype"); }

/* ----------------------------------------------------------------- roles */
:root {
  /* Light only: the pages have no dark theme, so the browser must not darken controls either. */
  color-scheme: light;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --page: var(--slate-50);
  --band: #050912;                 /* synapsi.ai's dark surface: footer, dark sections */
  --surface: var(--white);
  --tile: var(--slate-100);        /* chips, the toggle's track */
  --line: var(--slate-200);
  --line-2: var(--slate-300);      /* the outline of a secondary button */
  --ink: var(--slate-900);
  --ink-2: var(--slate-600);       /* body copy */
  --ink-3: var(--slate-500);       /* meta */
  --ink-list: var(--slate-700);
  --link: var(--synapsi-cyan-700);
  --link-hover: var(--synapsi-teal-700);
  --accent: var(--synapsi-teal-700);
  --accent-soft: var(--synapsi-teal-50);
  --accent-line: var(--synapsi-teal-100);
  --cyan-soft: var(--synapsi-cyan-50);
  --cyan-line: var(--synapsi-cyan-100);
  --head-bg: rgba(255, 255, 255, .85);
  --btn-grad: linear-gradient(92deg, #14b8a6 0%, #0891b2 100%);   /* synapsi.ai's .syn-btn-grad, white text as there */
  --band-grad: linear-gradient(90deg, #14b8a6 0%, #0891b2 100%);  /* synapsi.ai's --synapsi-gradient: the CTA band */
  --focus: var(--synapsi-cyan-700);

  --btn: var(--synapsi-teal-700);          /* white text on it: 5.5:1 */
  --btn-hover: var(--synapsi-teal-700);
  --gutter: 24px;
  --max: 1200px;
  --measure: 52rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 76px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--font-sans); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
img { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
p { color: var(--ink-2); }
.ic { flex: none; display: block; }

/* Visible focus on everything that takes it: the theme's ring is a box-shadow that
   disappears on a button with its own shadow, so an outline is added. */
:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: none; border-radius: 4px;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 30; padding: 12px 16px;
  background: var(--ink); color: var(--page); border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 8px; color: var(--page); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 14px 22px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-align: center; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: all .14s var(--ease-out);
}
.btn-primary, .btn.primary {
  background: var(--btn-grad); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(20, 184, 166, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:link, .btn-primary:visited, .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn.primary:hover { color: #fff; }
.btn-primary:hover, .btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -10px rgba(20, 184, 166, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:active { transform: none; }
.btn-secondary, .btn.ghost { background: transparent; color: var(--ink); border-color: var(--slate-300); }
.btn-secondary:hover, .btn.ghost:hover { background: var(--slate-100); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 15px 26px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; min-height: 48px; font-size: 15px; white-space: normal; }
.btn .ic { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 20; background: var(--head-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .28s var(--ease-out), border-color .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.site-head.is-solid {
  background: rgba(255, 255, 255, .92); border-bottom-color: var(--slate-200);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04), 0 8px 24px -18px rgba(15, 23, 42, .25);
}
.head-bar {
  position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); min-height: 68px;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
  font-size: 20px; font-weight: 800; letter-spacing: -0.02em; min-height: 44px;
}
.brand:hover { color: var(--ink); }
.brand .mark { display: block; }
.head-links { flex: 1; display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.navlink { color: var(--slate-600); display: inline-flex; align-items: center; min-height: 44px; transition: color var(--dur-fast) var(--ease-out); }
.navlink:hover { color: var(--ink); }
.navlink.lang { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 0 12px; min-height: 32px; border: 1px solid var(--slate-200); border-radius: 999px; }
.head-actions { display: flex; align-items: center; gap: 12px; }
/* The web app: a button beside the Play one, a line of the menu on a phone. */
.navlink-web { display: none; }
.menu-btn {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; padding: 0 10px;
}
.menu-btn span {
  display: block; height: 2px; width: 100%; border-radius: 2px; background: var(--slate-900);
  transition: transform .22s var(--ease-out), opacity .22s var(--ease-out);
}
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .head-bar { gap: 12px; flex-wrap: wrap; }
  .head-actions { margin-left: auto; }
  .head-web { display: none; }
  .navlink-web { display: inline-flex; }
  /* Without the script the links stay: a second row under the logo, wrapped. */
  .head-links { order: 3; flex: 1 0 100%; flex-wrap: wrap; gap: 0 20px; }
  .js .menu-btn { display: inline-flex; }
  .js .head-links {
    display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
    align-items: stretch; gap: 2px; padding: 0 var(--gutter);
    background: #fff; border-bottom: 1px solid var(--slate-200); box-shadow: 0 24px 40px -24px rgba(15, 23, 42, .35);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s var(--ease-out), padding .3s var(--ease-out), visibility 0s .3s;
  }
  .js.menu-open .head-links {
    max-height: calc(100vh - 68px); overflow-y: auto; visibility: visible; padding-top: 12px; padding-bottom: 24px;
    transition: max-height .3s var(--ease-out), padding .3s var(--ease-out), visibility 0s;
  }
  .js .head-links .navlink { min-height: 52px; font-size: 18px; font-weight: 600; color: var(--slate-900); padding: 0 4px; border-bottom: 1px solid var(--slate-100); }
  .js .head-links .navlink:hover { color: var(--synapsi-teal-700); }
  .js .head-links .navlink.lang { margin: 12px 0 0; align-self: flex-start; font-size: 12px; font-weight: 700; padding: 0 14px; min-height: 36px; border: 1px solid var(--slate-200); }
}

/* ----------------------------------------------------------- page chrome */
.sec { padding: 100px var(--gutter); }
.sec-in { max-width: var(--max); margin: 0 auto; }
.sec-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.kicker, .eyebrow {
  display: block; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--synapsi-cyan-700);
}
.kicker-dark { color: var(--synapsi-teal-300); }
.sec-dark .kicker { color: var(--synapsi-teal-300); }
.sec-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.sec h2, .faq-in h2 {
  margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; font-weight: 800;
  letter-spacing: -0.03em; color: inherit; text-wrap: balance;
}
.sec-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.sec h3 { margin: 0; color: inherit; letter-spacing: -0.02em; }
.grid { display: grid; gap: 16px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 80px var(--gutter) 100px; }
.hero::before {
  content: ""; position: absolute; inset: -200px -100px auto -100px; height: 700px; pointer-events: none;
  background: radial-gradient(60% 50% at 70% 30%, rgba(20, 184, 166, .12) 0%, transparent 70%), radial-gradient(40% 40% at 20% 80%, rgba(8, 145, 178, .09) 0%, transparent 70%);
  /* The second glow runs past the box's bottom edge: fade it out, or it ends in a hard line across the hero. */
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent);
}
.hero > * { position: relative; }
.hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  margin: 0; font-size: clamp(40px, 5.5vw, 76px); line-height: 1.02; font-weight: 800;
  letter-spacing: -0.035em; color: var(--ink); text-wrap: balance;
}
.grad {
  background: linear-gradient(92deg, #14b8a6 0%, #0891b2 100%); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.hero-lead { margin: 0; max-width: 620px; font-size: 19px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-note { margin: 0; font-size: 14px; color: var(--ink-3); }
.hero-shots { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.shot-stage { position: relative; width: 100%; max-width: 480px; height: clamp(460px, 44vw, 600px); }
.phone { position: absolute; box-shadow: var(--shadow-xl); }
.phone img { display: block; width: 100%; height: auto; }
.phone-back { left: 0; top: 48px; width: 46%; max-width: 230px; padding: 8px; border-radius: 36px; background: var(--slate-800); }
.phone-back img { border-radius: 28px; }
.phone-front { right: 0; top: 0; width: 54%; max-width: 268px; padding: 9px; border-radius: 40px; background: var(--slate-900); }
.phone-front img { border-radius: 31px; }

/* ----------------------------------------------------------------- facts */
.sec-facts { padding-top: 0; padding-bottom: 100px; }
.facts {
  margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.facts li {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; margin: 0;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 18px; color: var(--synapsi-cyan-700);
}
.facts .ic { margin-top: 2px; }
.facts strong { display: block; font-size: 16px; color: var(--ink); }
.facts span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ------------------------------------------------------------- app tiles */
.grid-apps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tile, .route, .feature, .plan { transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), border-color .22s var(--ease-out); }
.tile:hover, .route:hover, .feature:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; background: #fff; border: 1px solid var(--slate-200); border-radius: 18px; }
.tile-ic {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--synapsi-teal-50); color: var(--synapsi-cyan-700);
}
.tile h3 { margin-top: 6px; font-size: 19px; font-weight: 700; }
.tile p { margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------------------------------------------------------------- routes */
.grid-routes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.route { display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; background: #fff; border: 1px solid var(--slate-200); border-radius: 18px; }
.route-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.route h3 { font-size: 22px; font-weight: 700; }
.route p { margin: 0; font-size: 16px; line-height: 1.6; }
.badge { padding: 5px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.badge-free { background: var(--success-50); color: #047857; }
.badge-pro { background: var(--synapsi-teal-50); color: var(--synapsi-cyan-700); }
.badge-trial { background: var(--synapsi-teal-50); color: var(--synapsi-cyan-700); }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.steps li { margin: 0; }
.step { padding: 6px 12px; border-radius: var(--radius-md); background: var(--tile); color: var(--ink); }
.step-relay { background: var(--synapsi-teal-100); color: var(--synapsi-teal-700); }
.step-tunnel { background: var(--synapsi-cyan-100); color: var(--synapsi-cyan-700); }
/* An arrow travels with the stop after it, so a wrapped route never ends a line on an arrow. */
.hop { display: inline-flex; align-items: center; gap: 8px; }
.arrow { color: var(--ink-3); }

/* -------------------------------------------------------------- features */
.grid-features { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--slate-200); border-radius: 18px; color: var(--synapsi-cyan-700); }
.feature-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.feature h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.feature p { margin: 0; font-size: 15px; line-height: 1.55; }
.tag { padding: 3px 9px; border-radius: 999px; background: var(--synapsi-teal-50); color: var(--synapsi-cyan-700); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.tag-plus { background: var(--synapsi-cyan-50); color: var(--synapsi-cyan-700); }

/* --------------------------------------------------------------- privacy */
.sec-dark { background: var(--band); color: #fff; }
.privacy-in { display: flex; flex-wrap: wrap; gap: 48px; }
.privacy-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sec-dark .sec-lead { color: rgba(255, 255, 255, .72); }
.link-dark { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--synapsi-teal-300); font-size: 16px; font-weight: 600; }
.link-dark:hover { color: #fff; }
.grid-privacy { flex: 1 1 520px; min-width: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-content: start; }
.dark-tile { display: flex; flex-direction: column; gap: 8px; padding: 28px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; transition: border-color .22s var(--ease-out), background .22s var(--ease-out); }
.dark-tile:hover { border-color: rgba(94, 234, 212, .35); background: rgba(255, 255, 255, .05); }
.dark-tile h3 { font-size: 18px; font-weight: 700; }
.dark-tile p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--slate-300); }

/* ----------------------------------------------------------------- plans */
.plans-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.plans-head .sec-head { max-width: 640px; }
.toggle { display: inline-flex; padding: 4px; gap: 4px; background: var(--tile); border: 1px solid var(--line); border-radius: 9999px; }
.toggle[hidden] { display: none; }
.toggle button {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 9999px; font: inherit; font-size: 15px;
  font-weight: 600; cursor: pointer; background: transparent; color: var(--ink-2);
}
.toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.grid-plans { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: #fff; border: 1px solid var(--slate-200); border-radius: 18px; }
.plan-main { border: 2px solid var(--synapsi-teal); box-shadow: var(--shadow-lg); }
.plan-main:hover { box-shadow: var(--shadow-brand); }
.plan-top { display: flex; flex-direction: column; gap: 6px; }
.plan-top p { margin: 0; font-size: 15px; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 22px; font-weight: 700; color: var(--ink); }
.price-row { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.per { font-size: 15px; color: var(--ink-3); }
.price-note { margin: 2px 0 0; font-size: 14px; color: var(--ink-3); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-list); }
.ticks li { display: flex; gap: 10px; margin: 0; font-size: 15px; }
.ticks li span { color: var(--accent); font-weight: 700; }
.plan .btn-block { margin-top: auto; }
.fine { margin: 0; max-width: 820px; font-size: 14px; line-height: 1.6; color: var(--ink-3); }

/* ------------------------------------------------------------------- faq */
.sec-faq { border-bottom: 0; }
.faq-in { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.faq-in h2 { font-size: clamp(30px, 3.6vw, 46px); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; padding: 4px 26px; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.faq details[open] { border-color: var(--slate-300); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px;
  padding: 22px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--slate-900); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--synapsi-cyan-700); transition: transform var(--dur-med) var(--ease-out); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 24px; max-width: 64ch; font-size: 15.5px; line-height: 1.65; color: var(--slate-600); text-wrap: pretty; }
.faq details[open] p { animation: fv-fade .22s var(--ease-out); }

/* ------------------------------------------------------------------- cta */
.cta {
  position: relative; overflow: hidden; color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px;
  padding: 64px 56px; background: var(--band-grad); border-radius: 24px;
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 100% 0%, rgba(255, 255, 255, .18) 0%, transparent 60%); pointer-events: none; }
.cta > * { position: relative; }
.cta-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.cta h2 { margin: 0; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.cta p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.cta .btn-primary { background: #0f172a; box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .4); }
.cta .btn-primary:hover { background: #1e293b; }
.cta .btn-secondary, .cta .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.cta .btn-secondary:hover, .cta .btn.ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------- plain pages
   Privacy, terms, support, the setup pages, and the frame the download and changelog pages
   sit in. The prose keeps a measure of its own; grids and tables take the whole width. */
/* The gutters sit outside --max, as on the home's sections, so header, home and pages share one edge. */
.page { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(56px, 7vw, 96px); }
.page.narrow { max-width: 880px; }
.page-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.page-head h1 {
  margin: 0; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; font-weight: 800;
  letter-spacing: -0.035em; color: var(--ink); text-wrap: balance;
}
.lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.updated { margin: 0; font-size: 14px; color: var(--ink-3); }
.page-body > :is(p, ul, ol, pre, h2, h3, h4, .card, details, table, form) { max-width: var(--measure); }
.page-body h2 { margin: 2.4rem 0 .6rem; font-size: 1.5rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.page-body h3 { margin: 1.6rem 0 .4rem; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.page-body p, .page-body li { font-size: 1rem; line-height: 1.65; }
.page-body ul, .page-body ol { padding-left: 1.3rem; }
.page-body li { margin: .35rem 0; color: var(--ink-2); }
.page-body li::marker { color: var(--ink-3); }
.page-body a { text-decoration: underline; text-underline-offset: 2px; }
.page-body a.btn { text-decoration: none; }
.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 16px;
  padding: 1.1rem 1.25rem; margin: 1.2rem 0;
}
.card.key { border-color: var(--accent-line); background: var(--accent-soft); }
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.dim { color: var(--ink-3); }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 10px; background: var(--btn-grad); color: #fff; font: inherit;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all .14s var(--ease-out);
  box-shadow: 0 12px 28px -10px rgba(20, 184, 166, .55);
}
.button:hover { color: #fff; transform: translateY(-1px); }
.page-body :is(input, select, textarea) { font: inherit; min-height: 44px; }
.page-body code { font-family: var(--font-mono); font-size: .9em; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--band); color: rgba(255, 255, 255, .7); padding: 80px var(--gutter) 36px; margin-top: 0; }
.foot-in { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.foot-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #f8fafc; }
.foot-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 32px 48px; font-size: 15px; }
.foot-nav > div { display: flex; flex-direction: column; gap: 4px; }
.foot-h { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f8fafc; }
.site-foot a { color: rgba(255, 255, 255, .6); font-size: 14px; display: inline-flex; align-items: center; min-height: 36px; transition: color .14s var(--ease-out); }
.site-foot a:hover { color: #f8fafc; }
.foot-legal p { margin: 0; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .55); }
.foot-legal a { min-height: 0; text-decoration: underline; text-underline-offset: 2px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: rgba(255, 255, 255, .55);
}
.foot-by { gap: 10px; min-height: 44px; }
.foot-by img { height: 22px; width: auto; display: block; }

@media (max-width: 980px) { .sec { padding-top: 80px; padding-bottom: 80px; } .hero { padding-top: 56px; } .sec-facts { padding-top: 0; } }
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .sec { padding-top: 60px; padding-bottom: 60px; } .sec-facts { padding-top: 0; }
  .cta { padding: 40px 28px; border-radius: 20px; }
  .plan { padding: 24px; }
  .route { padding: 22px; }
  .price { font-size: 38px; }
}

/* ----------------------------------------------------------------- motion
   synapsi.ai's scroll reveal: a fade and a 24px rise over .6s on the individual `translate`
   property (so a card keeps its own hover transitions), started by an IntersectionObserver
   once 8% of the element is in view; a stagger is set per element in --rv-delay. The html
   gets `reveal-on` from the script, so without it nothing is hidden. */
@keyframes fv-rv-in { from { opacity: 0; translate: 0 24px; } }
@keyframes fv-rv-in-media { from { opacity: 0; translate: 0 28px; scale: .985; } }
@keyframes fv-fade { from { opacity: 0; } to { opacity: 1; } }
.reveal-on .rv:not(.rv-in) { opacity: 0; }
.reveal-on .rv.rv-in { animation: fv-rv-in .6s var(--ease-out) var(--rv-delay, 0ms) backwards; }
.reveal-on .hero-shots.rv.rv-in { animation-name: fv-rv-in-media; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .rv { opacity: 1 !important; animation: none !important; }
  .btn, .tile, .route, .feature, .plan, .dark-tile, .faq details, .faq summary .ic, .menu-btn span, .site-head, .head-links { transition: none !important; }
  .btn:hover, .tile:hover, .route:hover, .feature:hover, .button:hover { transform: none; }
  .faq details[open] p { animation: none; }
}
@media print { .reveal-on .rv { opacity: 1 !important; animation: none !important; } }
@media print { .grad { background: none; color: var(--synapsi-teal-700); } }

/* synapsi.ai's cross-document page transition, off for reduced motion. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
