/* Ordo's website (index.html and docs.html). The app's own colours and Inter, so the site and the product look like one
   thing; light and dark follow the system unless the visitor picks one (html[data-theme]). */
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f6f8fb; --bg-2: #eef2f7; --panel: #fff; --panel-2: #f9fafb;
  --text: #141a26; --muted: #6b7280; --muted-strong: #4b5563; --soft: #737c8c;
  --line: #e4e7ec; --line-2: #eef0f3; --field: #d0d5dd;
  --accent: #2f6fed; --accent-hover: #255ed1; --accent-soft: #eaf1ff; --accent-ink: #1f5bd6; --on-accent: #fff;
  --ink: #0b0d12; --ok: #15803d;
  --wash-1: #c7d9ff; --wash-2: #ddd5ff; --wash-3: #c9eee4;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 10px 28px -14px rgba(16, 24, 40, .16);
  --shadow-lg: 0 40px 90px -40px rgba(16, 24, 40, .32), 0 14px 34px -20px rgba(16, 24, 40, .2);
  --header-bg: rgba(255, 255, 255, .76);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 32px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d1015; --bg-2: #141820; --panel: #161a21; --panel-2: #1b2028;
    --text: #e9ebef; --muted: #9aa3ae; --muted-strong: #b6bec8; --soft: #808a99;
    --line: #262c35; --line-2: #1f242c; --field: #39404b;
    --accent: #6d9bff; --accent-hover: #8bb0ff; --accent-soft: #1c2a45; --accent-ink: #9dbcff; --on-accent: #0b1220;
    --ink: #fff; --ok: #4ade80;
    --wash-1: #1b3a8f; --wash-2: #35287a; --wash-3: #0e4a45;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -16px rgba(0, 0, 0, .7);
    --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 14px 34px -20px rgba(0, 0, 0, .6);
    --header-bg: rgba(22, 26, 33, .72);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1015; --bg-2: #141820; --panel: #161a21; --panel-2: #1b2028;
  --text: #e9ebef; --muted: #9aa3ae; --muted-strong: #b6bec8; --soft: #808a99;
  --line: #262c35; --line-2: #1f242c; --field: #39404b;
  --accent: #6d9bff; --accent-hover: #8bb0ff; --accent-soft: #1c2a45; --accent-ink: #9dbcff; --on-accent: #0b1220;
  --ink: #fff; --ok: #4ade80;
  --wash-1: #1b3a8f; --wash-2: #35287a; --wash-3: #0e4a45;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 14px 34px -20px rgba(0, 0, 0, .6);
  --header-bg: rgba(22, 26, 33, .72);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: clip;
  font: 16px/1.55 "Inter Variable", Inter, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
/* (no word left alone on a paragraph's last line, no heading with a short last line) */
p, li, dd { text-wrap: pretty; }
h3 { text-wrap: balance; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--panel); color: var(--text); box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* (screenshots: one for each theme; the hidden one is never downloaded) */
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: block !important; } :root:not([data-theme="light"]) .only-light { display: none !important; } }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

/* ---------- The logo: the mark and the name, flat ink, as in the app's menu ---------- */
/* (the name is "Ordo" set as text in Outfit SemiBold, the same round letters as the artwork; the browser's text
   renderer keeps it smooth on an ordinary screen, where the traced drawing looked jagged. Mark and word in the app's
   proportion: 31 to 25 there, 25 to 20 here) */
@font-face { font-family: "Ordo Wordmark"; src: url("fonts/outfit-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: block; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.brand svg { display: block; flex: none; fill: currentColor; }
.brand .mark { width: 25px; height: 25px; }
.brand .word { display: block; font-family: "Ordo Wordmark", "Inter Variable", Inter, sans-serif; font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: -.02em; margin-top: -2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 12px; cursor: pointer; white-space: nowrap; text-decoration: none;
  background: var(--accent); color: var(--on-accent); font: 600 16px/1 inherit; font-family: inherit;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .14), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: background .15s, border-color .15s, transform .15s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn .i { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.btn:hover .i.go { transform: translateX(2px); }
.btn.ghost { background: var(--panel); color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { background: var(--panel-2); border-color: var(--field); }
.btn.sm { height: 38px; padding: 0 15px; font-size: 14.5px; border-radius: 10px; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Header: a floating bar; menu in the middle, Log in on the right (on phones too) ---------- */
/* At the top of the page a floating bar, the website's width (the content's). As the page scrolls, it grows with it:
   --p goes from 0 to 1 over the first 320px (site.js), and the bar widens to the browser's whole width, rises to the
   top edge and squares its corners in step; a short transition smooths the jumps of a mouse wheel. Once it's
   there, a line and a shadow under it. */
.site-header {
  --p: 0; --q: calc(1 - var(--p));
  position: fixed; z-index: 20; top: calc(12px * var(--q)); left: 0; right: 0; pointer-events: none; transition: top .25s ease-out;
}
.site-header .wrap {
  pointer-events: auto; max-width: calc(var(--wrap) + (100vw - var(--wrap)) * var(--p)); padding: 0 calc(var(--gutter) * var(--q));
  transition: max-width .25s ease-out, padding .25s ease-out;
}
.bar {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 58px;
  padding: 0 calc(9px + (var(--gutter) - 9px) * var(--p)) 0 calc(16px + (var(--gutter) - 16px) * var(--p));
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent); border-radius: calc(16px * var(--q)); background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  transition: box-shadow .3s, border-color .3s, border-radius .25s ease-out, padding .25s ease-out;
}
.site-header.scrolled .bar { border-color: transparent transparent var(--line); box-shadow: var(--shadow); }
.site-header.scrolled .menu { left: 8px; right: 8px; }
.bar .brand { justify-self: start; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--muted-strong); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: color-mix(in srgb, var(--bg-2) 80%, transparent); }
.nav a[aria-current="page"] { color: var(--text); background: var(--bg-2); }
.actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted-strong); cursor: pointer; }
.icon-btn:hover { background: var(--bg-2); color: var(--text); }
.theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .moon { display: block; } :root:not([data-theme="light"]) .theme-btn .sun { display: none; } }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
/* Log in: a pill of liquid glass, tinted Ordo blue so it stands out on the header's own frosted white. Frosted (the
   blur behind it), lit along its top edge, a sheen on its upper half, and a plain soft shadow under it (no coloured glow). */
.login {
  --glass: color-mix(in srgb, var(--accent) 16%, rgba(255, 255, 255, .5));
  --edge: rgba(255, 255, 255, .75); --shine: rgba(255, 255, 255, .9); --sheen: rgba(255, 255, 255, .6);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; height: 38px; padding: 0 17px; overflow: hidden;
  border: 1px solid var(--edge); border-radius: 999px; background: var(--glass); color: var(--accent-ink);
  font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  -webkit-backdrop-filter: blur(10px) saturate(1.8); backdrop-filter: blur(10px) saturate(1.8);
  --drop: rgba(16, 24, 40, .1);
  box-shadow: inset 0 1px 0 var(--shine), inset 0 -1px 1px var(--drop), 0 1px 2px var(--drop), 0 6px 14px -8px var(--drop);
  transition: transform .2s var(--ease), box-shadow .25s, background .25s;
}
.login::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 1px; height: 46%; border-radius: 999px; background: linear-gradient(var(--sheen), transparent); pointer-events: none; }
.login:hover { --glass: color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, .6)); --drop: rgba(16, 24, 40, .14); }
.login:active { transform: scale(.97); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .login { --glass: color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, .06)); --edge: rgba(255, 255, 255, .2); --shine: rgba(255, 255, 255, .35); --sheen: rgba(255, 255, 255, .14); --drop: rgba(0, 0, 0, .35); color: #dbe6ff; }
  :root:not([data-theme="light"]) .login:hover { --glass: color-mix(in srgb, var(--accent) 30%, rgba(255, 255, 255, .08)); }
}
:root[data-theme="dark"] .login { --glass: color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, .06)); --edge: rgba(255, 255, 255, .2); --shine: rgba(255, 255, 255, .35); --sheen: rgba(255, 255, 255, .14); --drop: rgba(0, 0, 0, .35); color: #dbe6ff; }
:root[data-theme="dark"] .login:hover { --glass: color-mix(in srgb, var(--accent) 30%, rgba(255, 255, 255, .08)); }
.menu-btn { display: none; }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--panel); box-shadow: var(--shadow-lg); display: grid; gap: 2px;
}
.menu[hidden] { display: none; }
.menu a:not(.btn) { padding: 12px 12px; border-radius: 10px; color: var(--text); font-weight: 500; text-decoration: none; }
.menu a:not(.btn):hover { background: var(--bg-2); }
@media (max-width: 980px) {
  .bar { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}

/* ---------- Hero: centred; a tag, a two-tone headline, two ways in, then the product ---------- */
/* (clip sideways: the colour wash behind the product is wider than the page and must never make it scroll) */
.hero { position: relative; overflow-x: clip; padding: calc(70px + clamp(56px, 9vw, 112px)) 0 0; text-align: center; }
.tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 8px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--muted-strong); font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-sm);
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
h1 {
  margin: 24px auto 0; font-size: clamp(40px, 5.7vw, 76px); line-height: 1.03; letter-spacing: -.042em; font-weight: 720; text-wrap: balance;
}
h1 .l2, h2 .l2 { color: var(--soft); }
h1 .l2 { display: block; text-wrap: balance; }
.hero .sub { margin: 24px auto 0; max-width: 50ch; color: var(--muted-strong); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; text-wrap: pretty; }
.ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ticks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .i { width: 16px; height: 16px; }

/* the product in a window, over a soft wash of colour */
.showcase { position: relative; margin-top: clamp(52px, 7vw, 84px); }
.showcase::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 8%; width: min(1400px, 130%); height: 110%; translate: -50% 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 22% 40%, var(--wash-1), transparent 70%),
    radial-gradient(34% 44% at 54% 62%, var(--wash-2), transparent 70%),
    radial-gradient(34% 44% at 82% 38%, var(--wash-3), transparent 70%);
  filter: blur(30px); opacity: .9;
}
.window {
  margin: 0 auto; padding: 10px; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 20px;
  background: color-mix(in srgb, var(--panel) 72%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.window-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 3px 6px 10px; color: var(--muted); font-size: 12.5px; }
.window-bar b { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-strong); font-weight: 600; }
.window-bar b svg { width: 14px; height: 14px; fill: var(--ink); }
.screen { display: block; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); }
.screen img { display: block; width: 100%; height: auto; }
/* a part of a screenshot: --x --y --w --h are fractions of the whole image, --ar the part's width / height */
.crop { position: relative; aspect-ratio: var(--ar); }
.crop img { position: absolute; width: calc(100% / var(--w)); max-width: none; height: auto; left: calc(-100% * var(--x) / var(--w)); top: calc(-100% * var(--y) / var(--h)); }

/* ---------- Sections: centred head, then the content ---------- */
section.band { padding: clamp(84px, 11vw, 144px) 0; }
section.band.alt { background: var(--panel); border-block: 1px solid var(--line-2); }
.head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.eyebrow { margin: 0 0 16px; color: var(--accent-ink); font-size: 12.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(32px, 4.3vw, 54px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.lede { margin: 18px auto 0; max-width: 56ch; color: var(--muted-strong); font-size: clamp(17px, 1.35vw, 19px); text-wrap: pretty; }
h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted-strong); }
.checks .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }

/* Product: the four records, then who it's for */
.records { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--text); }
.records div { padding: 20px 22px 0 0; }
.records div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.records b { display: block; font-size: 17px; letter-spacing: -.01em; }
.records span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.role { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow-sm); }
.role .k { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.role p { margin: 8px 0 0; color: var(--muted-strong); }
.role .checks { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }

/* Features: tabs, one screen at a time */
.tabs-wrap { display: flex; justify-content: center; margin-bottom: clamp(32px, 4vw, 48px); }
.tablist {
  display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--muted-strong);
  font: 500 14.5px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--panel); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.028em; line-height: 1.1; }
.panel .text p { margin: 14px 0 0; color: var(--muted-strong); font-size: 17px; }
.panel .window { width: 100%; }
.js .panel:not([hidden]) .text, .js .panel:not([hidden]) .window { animation: rise .5s var(--ease) both; }
.js .panel:not([hidden]) .window { animation-delay: .06s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* trust: six plain facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(72px, 9vw, 112px); border-top: 1px solid var(--line); }
.fact { display: flex; gap: 14px; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.fact:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.fact .ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.fact b { display: block; font-size: 16px; }
.fact span { display: block; margin-top: 3px; color: var(--muted); font-size: 14.5px; }
.facts-title { margin: clamp(72px, 9vw, 112px) 0 0; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted-strong); }
.facts-title + .facts { margin-top: 24px; }

/* Also in Ordo: eight more things it does, a card each */
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
/* (the icon beside the name, then the words under both) */
.more article { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 12px; align-content: start; padding: 20px 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.more .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); }
.more .ic .i { width: 17px; height: 17px; }
.more h3 { font-size: 16.5px; }
.more p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Pricing: two plans side by side (Cloud first, the one most teams want), then the trial in three steps */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.plan.best { background: var(--panel); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, var(--line)), var(--shadow); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-top h3 { font-size: 24px; letter-spacing: -.02em; }
.badge { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12.5px; font-weight: 650; }
.badge.quiet { background: var(--bg-2); color: var(--muted-strong); }
.plan-for { margin: 8px 0 0; color: var(--muted-strong); }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.price b { font-size: clamp(44px, 4.4vw, 56px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 15px; }
.price-note { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }
/* With AI: a switch that changes the price shown ($20 / $12) */
.ai-switch { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 18px; cursor: pointer; font-weight: 600; font-size: 15px; }
.ai-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ai-switch .sw { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--field); transition: background .2s; }
.ai-switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .25); transition: transform .25s var(--ease); }
.ai-switch input:checked + .sw { background: var(--accent); }
.ai-switch input:checked + .sw::after { transform: translateX(16px); }
.ai-switch input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 3px; }
.tiers { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tiers li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted-strong); }
.tiers b { color: var(--text); font-variant-numeric: tabular-nums; }
.plan .checks { margin: 22px 0 28px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.plan .btn { margin-top: auto; width: 100%; }
.plan-foot { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.trial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 980px; margin: clamp(40px, 5vw, 56px) auto 0; padding: 0; list-style: none; counter-reset: trial; border-top: 1px solid var(--line); }
.trial li { counter-increment: trial; padding: 20px 22px 0 0; }
.trial li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.trial li::before { content: counter(trial, decimal-leading-zero); display: block; margin-bottom: 8px; color: var(--accent-ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.trial b { display: block; font-size: 16.5px; }
.trial span { display: block; margin-top: 3px; color: var(--muted); font-size: 14.5px; }

/* How it works: three numbered steps on one line */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow-sm); }
.step .n { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--accent-ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.step .n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.step p { margin: 10px 0 0; color: var(--muted-strong); }
.step .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); color: var(--muted-strong); font-size: 12.5px; font-weight: 500; }

/* FAQ */
.qs { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary .i { color: var(--muted); transition: transform .25s var(--ease); }
.qs details[open] summary .i { transform: rotate(45deg); }
.qs details p { margin: -4px 0 22px; padding-right: 40px; color: var(--muted-strong); }

/* The last word: a dark card with light in it, the sample and the waitlist */
.cta-card {
  position: relative; overflow: hidden; padding: clamp(44px, 7vw, 84px) clamp(22px, 6vw, 72px); border-radius: 26px; text-align: center;
  background: #0b0f19; color: #eef1f6; isolation: isolate;
}
.cta-card::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background: radial-gradient(30% 40% at 25% 30%, rgba(47, 111, 237, .55), transparent 70%), radial-gradient(28% 40% at 75% 70%, rgba(124, 92, 255, .4), transparent 70%), radial-gradient(26% 34% at 80% 20%, rgba(20, 160, 140, .28), transparent 70%);
  filter: blur(20px);
}
.cta-card h2 { color: #fff; }
.cta-card h2 .l2 { color: #9aa6ba; }
.cta-card .lede { color: #c3cad6; }
.cta-card .ctas { margin-top: 30px; }
.cta-card .btn { background: #6d9bff; color: #0b1220; }
.cta-card .btn:hover { background: #8bb0ff; }
.cta-card .or { margin: 30px auto 14px; color: #9aa6ba; font-size: 14px; }

/* the waitlist form */
.join { max-width: 520px; margin: 0 auto; text-align: left; }
.join-row { display: flex; gap: 8px; }
.join input[type=email] {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px;
  background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 16px; caret-color: #8bb0ff; transition: border-color .15s;
}
.join input::placeholder { color: #8d97a8; }
.join input:focus { border-color: #6d9bff; outline: 2px solid #6d9bff; outline-offset: 2px; border-radius: 12px; }
.join input[aria-invalid=true] { border-color: #f87171; }
.join input[aria-invalid=true]:focus { outline-color: #f87171; }
.join .btn.light { background: #fff; color: #0b0f19; }
.join .btn.light:hover { background: #e8ecf3; }
.join .msg { min-height: 22px; margin: 10px 0 0; color: #9aa6ba; font-size: 14px; text-align: center; }
.join .msg.err { color: #fca5a5; }
.join .ok { display: none; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(74, 222, 128, .12); color: #86efac; font-weight: 600; }
.join.done .join-row, .join.done .msg { display: none; }
.join.done .ok { display: flex; }
.hp { display: none; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 80px) 0 36px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot p { margin: 14px 0 0; max-width: 34ch; color: var(--muted); font-size: 14.5px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; font-weight: 650; color: var(--text); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot ul a:hover { color: var(--text); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 13.5px; }

/* ---------- Docs: a menu of topics on the left, the reading on the right ---------- */
.docs { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: calc(70px + clamp(40px, 6vw, 72px)); padding-bottom: clamp(72px, 9vw, 120px); }
.docs-side { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 6px; }
/* (the groups: bold, in the text's colour, so they read as headings and the topics under them stay light) */
.docs-side h4 { margin: 24px 0 6px; padding-left: 10px; color: var(--text); font-size: 14px; font-weight: 700; letter-spacing: -.005em; }
.docs-side h4:first-child { margin-top: 0; }
.docs-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.docs-side a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted-strong); font-size: 14.5px; text-decoration: none; }
.docs-side a:hover { background: var(--bg-2); color: var(--text); }
.docs-side a[aria-current="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.prose { max-width: 66ch; }
.prose .eyebrow { margin-bottom: 12px; }
.prose h1 { margin: 0; max-width: none; font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -.035em; text-align: left; }
.prose > .intro { margin: 16px 0 0; color: var(--muted-strong); font-size: 19px; }
.prose section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.028em; }
.prose h3 { margin-top: 26px; font-size: 18px; }
.prose p, .prose li { color: var(--muted-strong); font-size: 16.5px; line-height: 1.7; }
.prose p { margin: 12px 0 0; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose kbd { padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--panel); font: 600 13px/1.6 inherit; font-family: inherit; color: var(--text); }
.path { padding: 1px 7px; border-radius: 6px; background: var(--bg-2); color: var(--text); font-size: 14.5px; white-space: nowrap; }
.note { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: 12px; background: var(--accent-soft); }
.note .i { color: var(--accent-ink); margin-top: 4px; }
.note p { margin: 0; color: var(--text); }
/* settings to copy, and a small table (they scroll on their own on a phone, never the page) */
.docs > .prose { min-width: 0; }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--bg-2); color: var(--text); font: 14px/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.prose pre { margin: 14px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); overflow-x: auto; }
.prose pre code { padding: 0; background: none; font-size: 13.5px; overflow-wrap: normal; white-space: pre; }
.prose .table { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted-strong); }
.prose th { color: var(--text); font-weight: 600; background: var(--panel-2); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.docs-next { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.docs-menu { display: none; }

/* ---------- Log in (login.html): the ways in on the left, top to bottom; Ordo itself on the right ---------- */
/* (the page is the window's height: the screenshot is cut by the panel, and the left side scrolls on a short window) */
.login-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-rows: minmax(0, 1fr); gap: 12px; height: 100vh; height: 100dvh; padding: 12px; }
.login-side { display: flex; flex-direction: column; overflow-y: auto; padding: clamp(20px, 3vw, 36px) clamp(20px, 6vw, 96px) 12px; }
.login-top { display: flex; align-items: center; justify-content: space-between; }
.login-main { width: 100%; max-width: 440px; margin: auto 0; padding: 48px 0; }
.login-kicker { margin: 0 0 12px; color: var(--accent-ink); font-size: 15px; font-weight: 600; }
.login-main h1 { margin: 0; font-size: clamp(34px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.login-lede { margin: 14px 0 0; color: var(--muted-strong); font-size: 17px; }
.login-go { width: 100%; height: 52px; margin-top: 30px; }
.login-or { display: flex; align-items: center; gap: 12px; margin: 30px 0 14px; color: var(--muted); font-size: 13.5px; }
.login-or::before, .login-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.login-or + .login-go { margin-top: 0; }
/* the waitlist on a light page (the home page's sits on a dark card) */
.login-join { max-width: none; margin-top: 26px; }
.login-label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.login-join input[type=email] { background: var(--panel); border-color: var(--field); color: var(--text); caret-color: var(--accent); }
.login-join input::placeholder { color: var(--soft); }
.login-join input:focus { border-color: var(--accent); outline-color: var(--accent); }
.login-join .msg { text-align: left; color: var(--muted); }
.login-join .msg.err { color: #dc2626; }
.login-join .ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.login-foot { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13.5px; }
.login-foot nav { display: flex; gap: 18px; }
.login-foot a { color: var(--muted); text-decoration: none; }
.login-foot a:hover { color: var(--text); }
.login-art {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(36px, 4.5vw, 64px) 0 0 clamp(32px, 4.5vw, 64px);
  border-radius: 24px; background: color-mix(in srgb, var(--accent) 9%, var(--panel)); border: 1px solid var(--line-2);
}
.login-art .tag { align-self: flex-start; margin: 0; }
.login-art-h { margin: 22px 0 0; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
.login-art-p { max-width: 42ch; margin: 18px 0 0; padding-right: 32px; color: var(--muted-strong); font-size: 16.5px; }
/* the real Today's tasks, running off the panel's edge */
.login-shot { margin-top: auto; padding-top: 40px; width: 150%; }
.login-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; height: auto; min-height: 100vh; min-height: 100dvh; padding: 0; }
  .login-art { display: none; }
  .login-side { padding: 20px var(--gutter) 20px; }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 980px) {
  .panel { grid-template-columns: 1fr; }
  .roles, .steps, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 560px; }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .records div:nth-child(3) { padding-left: 0; border-left: 0; }
  .records div:nth-child(n + 3) { padding-top: 22px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .docs { grid-template-columns: 1fr; }
  .docs-side { display: none; }
  .docs-menu { display: block; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
  .docs-menu summary { padding: 12px 14px; cursor: pointer; font-weight: 600; }
  .docs-menu ul { list-style: none; margin: 0; padding: 0 8px 10px; display: grid; }
  .docs-menu a { display: block; padding: 8px 8px; border-radius: 8px; color: var(--muted-strong); text-decoration: none; }
}
@media (max-width: 600px) {
  .ctas .btn { width: 100%; }
  .records, .facts, .more, .trial { grid-template-columns: 1fr; }
  .trial li, .trial li + li { padding: 18px 0 0; border-left: 0; }
  .records div, .records div + div { padding: 18px 0 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 0; border-left: 0; }
  .join-row { flex-direction: column; }
  .join input[type=email] { flex: none; }   /* (stacked, it keeps its own height) */
  .window { padding: 6px; border-radius: 14px; }
  .window-bar { font-size: 12px; }
  .window-bar span { display: none; }
  .screen { border-radius: 9px; }
  .qs details p { padding-right: 0; }
}

/* ---------- Hero: the dashboard tilted back (it lies flat as you scroll), real Ordo pieces floating round it ---------- */
.stage3d { position: relative; perspective: 1700px; perspective-origin: 50% 0; }
.window.tilt { transform-origin: 50% 0; transform: rotateX(var(--tilt, 0deg)) translateY(var(--lift, 0px)); transition: transform .12s linear; will-change: transform; }
.floaters { position: absolute; inset: 0; pointer-events: none; }
.fl {
  position: absolute; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text);
  box-shadow: var(--shadow-lg); font-size: 13px; text-align: left; transform: translateY(var(--y, 0px)); will-change: transform;
}
.fl-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; color: var(--accent-ink); font-weight: 650; }
.fl-h b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; }
.fl-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-2); white-space: nowrap; }
.fl-row .i { width: 15px; height: 15px; color: #d6336c; }
.fl-row em { margin-left: auto; padding-left: 12px; color: var(--muted); font-style: normal; font-size: 12px; }
.fl-today { left: -3%; top: 30%; width: 268px; }
.fl-check { right: -3%; top: 12%; width: 290px; }
/* (amber that keeps 4.5:1 on the card: deep in light, bright in dark) */
.fl-check { --warn-ink: #b45309; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fl-check { --warn-ink: #f5a524; } }
:root[data-theme="dark"] .fl-check { --warn-ink: #f5a524; }
.fl-check .fl-h { color: var(--warn-ink); }
.fl-check .tb { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 4px; background: var(--accent); }
.fl-check .tb .i { width: 11px; height: 11px; color: #fff; stroke-width: 3; }
.fl-check .cat { margin-left: 0; padding: 0 6px 0 0; color: var(--warn-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fl-toast { right: 7%; bottom: -22px; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border: 0; background: #151a24; color: #fff; font-size: 14px; }
.fl-toast b { color: #8bb0ff; font-weight: 650; }
.fl-kpi { left: 6%; bottom: -26px; display: grid; gap: 2px; padding: 14px 18px; }
.fl-kpi span { color: var(--muted); font-size: 12.5px; }
.fl-kpi b { font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fl-kpi em { color: var(--ok); font-style: normal; font-size: 12.5px; font-weight: 600; }
@media (max-width: 1100px) { .fl-today, .fl-check { display: none; } }
@media (max-width: 600px) { .floaters { display: none; } }

/* ---------- See it live: real recordings of Ordo, one a tab, each tab filling as its clip plays ---------- */
.tab { position: relative; overflow: hidden; }
.tab .prog { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: transparent; }
.tab[aria-selected="true"] .prog { background: var(--line); }
.tab .prog i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); }
.live .panel { grid-template-columns: 1fr; gap: 24px; }
.live .text { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.live .text .checks { margin: 0; }
.live .screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: var(--panel-2); }
.rec { display: inline-flex; align-items: center; gap: 7px; }
/* (a still dot: these are recordings, not something happening live) */
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
@media (max-width: 980px) { .live .text { grid-template-columns: 1fr; } }

/* ---------- For directors: a dark band, the numbers counting up, the team against target ---------- */
section.band.night {
  position: relative; overflow: hidden; background: #0b0f19; color: #eef1f6; isolation: isolate;
  --text: #eef1f6; --muted: #9aa6ba; --muted-strong: #c3cad6; --soft: #8d97a8; --line: #253047; --line-2: #1c2436; --panel: #121826; --panel-2: #161d2c; --accent-ink: #9dbcff;
}
section.band.night::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; z-index: -1;
  background: radial-gradient(40% 40% at 60% 40%, rgba(47, 111, 237, .32), transparent 70%), radial-gradient(30% 30% at 85% 75%, rgba(124, 92, 255, .22), transparent 70%); filter: blur(10px);
}
.numbers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px) clamp(36px, 5vw, 72px); align-items: end; }
.numbers .window.wide { grid-column: 1 / -1; width: 100%; }
.numbers .kpis { margin-top: 0; }
.numbers h2 { color: #fff; }
.numbers .lede { margin-left: 0; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.kpis div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kpis div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.kpis dt { color: var(--muted); font-size: 13.5px; }
.kpis dd { margin: 4px 0 2px; color: #fff; font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpis span { color: #86efac; font-size: 13.5px; }
.kpi-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.numbers .window { background: rgba(18, 24, 38, .7); }
@media (max-width: 980px) { .numbers { grid-template-columns: 1fr; } }

/* ---------- The closing card's centrepiece: the Ordo mark drawn in 3D lines ---------- */
.mark3d { display: block; width: min(560px, 100%); height: auto; aspect-ratio: 560 / 300; margin: -12px auto 6px; }

/* ---------- The headline's words rise one after another (JS wraps them; nothing moves with reduced motion) ---------- */
.js .hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); animation: word .8s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
/* (fill backwards only: once they've arrived, the tilt and the drift below take over the transform) */
.js .hero .sub, .js .hero .ctas, .js .hero .ticks, .js .hero .tag { animation: rise .8s var(--ease) backwards; }
.js .hero .tag { animation-delay: .05s; } .js .hero .sub { animation-delay: .55s; } .js .hero .ctas { animation-delay: .68s; } .js .hero .ticks { animation-delay: .8s; }
.js .stage3d .window { animation: rise 1s var(--ease) .75s backwards; }
.js .fl { animation: pop .8s var(--ease) backwards; }
.js .fl-check { animation-delay: 1.15s; } .js .fl-today { animation-delay: 1.3s; } .js .fl-kpi { animation-delay: 1.45s; } .js .fl-toast { animation-delay: 1.6s; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: translateY(var(--y, 0px)); } }

/* ---------- Things that move in as you scroll (only with JS, never with reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .site-header .wrap, .bar { transition: none; }   /* (and site.js switches --p straight from 0 to 1) */
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .panel:not([hidden]) .text, .js .panel:not([hidden]) .window { animation: none; }
  .btn, .btn .i, .qs summary .i, .login { transition: none; }
  .js .hero h1 .w, .js .hero .sub, .js .hero .ctas, .js .hero .ticks, .js .hero .tag, .js .stage3d .window, .js .fl { animation: none; opacity: 1; transform: none; filter: none; }
  .window.tilt { transform: none; transition: none; }
}
