/* orbience.com v4: the shared design (the riddleui.com language, see v4/REFERENCE.md and v4/BRIEF.md).
   Dark is the default theme; [data-theme="light"] overrides the tokens. Inter only. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #03060D;
  --layer-1: #0D1017;
  --layer-2: #1B1E25;
  --layer-3: #272A31;
  --card-in: #050910;
  --sep: rgba(255, 255, 255, .08);
  --border: #272A31;
  --border-btn: rgba(105, 109, 117, .55);
  --ink: #FFFFFF;
  --label: #E0E3E6;
  --body: #94979E;
  --helper: #80848C;
  --brand: #0277B6;
  --brand-hover: #02689F;
  --link: #38BCF8;
  --stat: #069CDF;
  --focus: #38BCF8;
  --hover: rgba(255, 255, 255, .06);
  --scrim: rgba(3, 6, 13, .72);
  --hero-glow: rgba(2, 131, 197, .64);
  --pink-glow: rgba(217, 39, 118, .64);
  --pink-glow-2: rgba(217, 39, 118, .32);
  --new-bg: rgba(16, 69, 29, .32);
  --new-line: rgba(64, 216, 110, .16);
  --new-ink: #40D86E;
  --draft-bg: rgba(124, 82, 22, .32);
  --draft-line: rgba(251, 195, 32, .2);
  --draft-ink: #FBC320;
  --ok: #40D86E;
  --no: #F86F6E;
  --grain-o: .5;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 8px;
  --header-h: 64px;
  --wrap: 1280px;
  --gut: 32px;
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* section tones (blue by default); a .tone-* class sets them */
  --acc: #38BCF8;
  --acc-ink: #38BCF8;
  --acc-glow: rgba(6, 156, 223, .32);
  --acc-badge: rgba(12, 73, 108, .32);
  --acc-line: rgba(56, 188, 247, .16);
  --acc-card: rgba(56, 188, 247, .32);
  --acc-card-in: rgba(12, 73, 108, .32);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --layer-1: #F7F8F9;
  --layer-2: #EEF0F2;
  --layer-3: #E0E3E6;
  --card-in: #FFFFFF;
  --sep: rgba(3, 6, 13, .09);
  --border: #E0E3E6;
  --border-btn: rgba(3, 6, 13, .16);
  --ink: #03060D;
  --label: #1B1E25;
  --body: #565A62;
  --helper: #63676F;
  --brand: #0277B6;
  --brand-hover: #02689F;
  --link: #0270AB;
  --stat: #0270AB;
  --focus: #0277B6;
  --hover: rgba(3, 6, 13, .05);
  --scrim: rgba(255, 255, 255, .7);
  --hero-glow: #DFF1FD;
  --pink-glow: #FBE6F2;
  --pink-glow-2: #FCF1F7;
  --new-bg: #E3F9E8;
  --new-line: rgba(22, 128, 53, .2);
  --new-ink: #157A33;
  --draft-bg: #FFF4D6;
  --draft-line: rgba(160, 100, 0, .22);
  --draft-ink: #7A4B00;
  --ok: #16833A;
  --no: #C62D2C;
  --grain-o: .22;

  --acc-ink: #0270AB;
  --acc-glow: #DFF1FD;
  --acc-badge: #EAF6FE;
  --acc-line: rgba(2, 119, 182, .22);
  --acc-card: #B9E5FC;
  --acc-card-in: #DFF1FD;
  color-scheme: light;
}

/* tones: each section (and the cards inside it) takes one light */
.tone-blue { --acc: #38BCF8; --acc-ink: #38BCF8; --acc-glow: rgba(6, 156, 223, .32); --acc-badge: rgba(12, 73, 108, .32); --acc-line: rgba(56, 188, 247, .16); --acc-card: rgba(56, 188, 247, .32); --acc-card-in: rgba(12, 73, 108, .32); }
.tone-amber { --acc: #FA984B; --acc-ink: #FA984B; --acc-glow: rgba(219, 79, 22, .48); --acc-badge: rgba(124, 41, 22, .32); --acc-line: rgba(250, 152, 75, .2); --acc-card: rgba(250, 152, 75, .32); --acc-card-in: rgba(124, 41, 22, .32); }
.tone-teal { --acc: #2DD3BE; --acc-ink: #2DD3BE; --acc-glow: rgba(13, 147, 135, .64); --acc-badge: rgba(19, 77, 73, .32); --acc-line: rgba(45, 211, 190, .18); --acc-card: rgba(34, 210, 237, .32); --acc-card-in: rgba(19, 77, 73, .32); }
.tone-cyan { --acc: #40D2FF; --acc-ink: #5ED8FF; --acc-glow: rgba(26, 170, 225, .4); --acc-badge: rgba(5, 82, 110, .34); --acc-line: rgba(64, 210, 255, .18); --acc-card: rgba(64, 210, 255, .3); --acc-card-in: rgba(5, 82, 110, .32); }
.tone-film { --acc: #579EFA; --acc-ink: #8DB6FF; --acc-glow: rgba(43, 72, 210, .62); --acc-badge: rgba(30, 54, 190, .3); --acc-line: rgba(87, 158, 250, .22); --acc-card: rgba(87, 158, 250, .32); --acc-card-in: rgba(30, 54, 190, .3); }
.tone-violet { --acc: #A88EFF; --acc-ink: #B9A6FF; --acc-glow: rgba(110, 76, 230, .44); --acc-badge: rgba(72, 46, 160, .32); --acc-line: rgba(168, 142, 255, .2); --acc-card: rgba(168, 142, 255, .32); --acc-card-in: rgba(72, 46, 160, .3); }
:root[data-theme="light"] .tone-blue { --acc-ink: #0270AB; --acc-glow: #DFF1FD; --acc-badge: #EAF6FE; --acc-line: rgba(2, 119, 182, .22); --acc-card: #B9E5FC; --acc-card-in: #DFF1FD; }
:root[data-theme="light"] .tone-amber { --acc-ink: #A84A0C; --acc-glow: #FEEBD5; --acc-badge: #FFF3E6; --acc-line: rgba(200, 96, 20, .22); --acc-card: #FED8AA; --acc-card-in: #FEEBD5; }
:root[data-theme="light"] .tone-teal { --acc-ink: #0A7568; --acc-glow: #CBFAF0; --acc-badge: #E6FCF7; --acc-line: rgba(13, 147, 135, .24); --acc-card: #A5F2FB; --acc-card-in: #CBFAF0; }
:root[data-theme="light"] .tone-cyan { --acc-ink: #056A8C; --acc-glow: #D8F5FF; --acc-badge: #E8F9FF; --acc-line: rgba(5, 106, 140, .22); --acc-card: #AEE9FF; --acc-card-in: #D8F5FF; }
:root[data-theme="light"] .tone-film { --acc-ink: #2B48D2; --acc-glow: #E0E7FF; --acc-badge: #EEF2FF; --acc-line: rgba(43, 72, 210, .22); --acc-card: #C3D2FF; --acc-card-in: #E0E7FF; }
:root[data-theme="light"] .tone-violet { --acc-ink: #5B3FD6; --acc-glow: #EAE4FF; --acc-badge: #F3F0FF; --acc-line: rgba(91, 63, 214, .22); --acc-card: #D7CCFF; --acc-card-in: #EAE4FF; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code, kbd { font-family: var(--mono); font-size: .9em; }
::selection { background: rgba(56, 188, 248, .32); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: var(--r); background: var(--brand); color: #fff; font-weight: 500; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus-visible { transform: none; }

/* ---------------------------------------------------------------- type */
.h1 { color: var(--ink); font-size: 48px; line-height: 64px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.h2 { color: var(--ink); font-size: 36px; line-height: 48px; font-weight: 600; letter-spacing: -.018em; text-wrap: balance; }
.h3 { color: var(--ink); font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.01em; }
.h4 { color: var(--ink); font-size: 18px; line-height: 28px; font-weight: 500; }
.lead { color: var(--body); font-size: 16px; line-height: 24px; max-width: 40em; }
.lead--lg { font-size: 18px; line-height: 28px; }
.body { color: var(--body); font-size: 16px; line-height: 24px; }
.small { color: var(--body); font-size: 14px; line-height: 21px; }
.note { color: var(--helper); font-size: 13px; line-height: 20px; }
.ink { color: var(--ink); }
.label { color: var(--label); }
.link { color: var(--link); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.link:hover { text-decoration-color: currentColor; }
/* inline links get a 44px hit area without moving the text around them */
.link, .prose a, .qa__a a { padding-block: 12px; margin-block: -12px; }
.prose a { color: var(--link); }
.prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .h1 { font-size: 36px; line-height: 44px; }
  .h2 { font-size: 30px; line-height: 38px; }
  .h3 { font-size: 21px; line-height: 30px; }
}

/* ---------------------------------------------------------------- buttons, badges, pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r);
  font-size: 16px; line-height: 24px; font-weight: 500; white-space: nowrap;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--secondary { border: 1px solid var(--border-btn); color: var(--label); background: transparent; }
.btn--secondary:hover { background: var(--hover); }
.btn--teal { background: #0A7D72; color: #fff; }
.btn--teal:hover { background: #086B62; }
.btn--block { display: flex; width: 100%; white-space: normal; text-align: center; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 14px; line-height: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.center .actions { justify-content: center; }
@media (max-width: 639px) { .actions--stack { flex-direction: column; } .actions--stack .btn { width: 100%; } }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; padding: 4px 12px; border-radius: 999px;
  background: var(--acc-badge); border: 1px solid var(--acc-line); color: var(--acc-ink);
  font-size: 14px; line-height: 20px; font-weight: 500;
}
.badge .ico, .badge .mark { width: 16px; height: 16px; }
.pill {
  display: inline-flex; align-items: center; min-height: 22px; padding: 1px 8px; border-radius: 999px;
  font-size: 12px; line-height: 18px; font-weight: 500; white-space: nowrap;
  background: var(--new-bg); border: 1px solid var(--new-line); color: var(--new-ink);
}
.pill--draft { background: var(--draft-bg); border-color: var(--draft-line); color: var(--draft-ink); }
.pill--soon { background: var(--hover); border-color: var(--sep); color: var(--label); }
.pill--grey { background: rgba(148, 151, 158, .16); border-color: transparent; color: var(--label); }
.pill--improved { background: var(--acc-badge); border-color: var(--acc-line); color: var(--acc-ink); }
.pill--fixed { background: var(--draft-bg); border-color: var(--draft-line); color: var(--draft-ink); }

/* ---------------------------------------------------------------- the header */
/* the blur sits on a pseudo-element: a backdrop-filter on the header itself would trap the fixed phone menu inside it */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--header-h); }
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--sep); }
.hdr__bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -.02em; min-height: 44px; }
.logo .wordglyph { width: 26px; height: 26px; }
.hdr__nav { margin-left: auto; }
.hdr__links { display: flex; align-items: center; gap: 4px; }
.hdr__links > li > a, .hdr__products {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: var(--r);
  color: var(--label); font-size: 15px; line-height: 20px; font-weight: 400; transition: color .2s var(--ease), background-color .2s var(--ease);
}
.hdr__links > li > a:hover, .hdr__products:hover { color: var(--ink); background: var(--hover); }
.hdr__links > li > a[aria-current="page"], .hdr__products.is-current { color: var(--ink); font-weight: 500; }
.hdr__products .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.hdr__products[aria-expanded="true"] .ico { transform: rotate(180deg); }
.hdr__div { width: 1px; height: 24px; background: var(--sep); }
.hdr__menu { display: none; }
.theme-switch {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; overflow: hidden;
  color: var(--body); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.theme-switch:hover { background: var(--hover); color: var(--ink); }
.theme-switch .ico { grid-area: 1 / 1; width: 20px; height: 20px; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.theme-switch .ico--sun { transform: translateX(-120%); opacity: 0; }
:root[data-theme="light"] .theme-switch .ico--sun { transform: none; opacity: 1; }
:root[data-theme="light"] .theme-switch .ico--moon { transform: translateX(120%); opacity: 0; }

/* the products mega menu (desktop: a full-width panel under the header; the page behind dims) */
.mega { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--sep); box-shadow: 0 24px 48px rgba(0, 0, 0, .28); }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; padding-block: 24px; }
.mega__item { display: flex; gap: 14px; padding: 14px; margin: 0 -14px; border-radius: 10px; transition: background-color .2s var(--ease); }
.mega__item:hover { background: var(--hover); }
.mega__tile { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--acc-badge); border: 1px solid var(--acc-line); color: var(--acc-ink); }
.mega__tile .ico, .mega__tile .mark { width: 20px; height: 20px; }
.mega__name { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 500; }
.mega__text { display: block; margin-top: 2px; color: var(--body); font-size: 14px; line-height: 21px; }
.mega__bar { border-top: 1px solid var(--sep); background: color-mix(in srgb, var(--layer-1) 60%, transparent); }
.mega__bar ul { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 14px; }
.mega__bar a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--label); font-size: 15px; transition: color .2s var(--ease); }
.mega__bar a:hover { color: var(--ink); }
.mega__bar .ico { width: 20px; height: 20px; color: var(--body); }
.scrim { position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; background: var(--scrim); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.scrim.is-on { opacity: 1; pointer-events: auto; }

@media (max-width: 979px) {
  :root { --gut: 16px; }
  .hdr__bar { gap: 8px; }
  .hdr__menu { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border-radius: var(--r); color: var(--label); }
  .hdr__menu .ico { grid-area: 1 / 1; width: 22px; height: 22px; transition: opacity .2s var(--ease), transform .3s var(--ease); }
  .hdr__menu .ico--x { opacity: 0; transform: rotate(-45deg); }
  .hdr__menu[aria-expanded="true"] .ico--menu { opacity: 0; transform: rotate(45deg); }
  .hdr__menu[aria-expanded="true"] .ico--x { opacity: 1; transform: none; }
  .hdr__div { display: none; }
  .theme-switch { margin-left: auto; margin-right: -8px; }
  .hdr__nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--gut) 40px; visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility 0s linear .25s; }
  .hdr__nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s var(--ease); }
  .hdr__links { flex-direction: column; align-items: stretch; gap: 0; }
  .hdr__links > li > a, .hdr__products { width: 100%; min-height: 52px; padding: 0 16px; font-size: 17px; justify-content: flex-start; }
  .hdr__products .ico { margin-left: auto; }
  .mega { position: static; border: 0; box-shadow: none; background: transparent; }
  .mega .wrap { padding: 0; }
  .mega__grid { grid-template-columns: 1fr; padding: 4px 0 8px 16px; gap: 0; }
  .mega__item { margin: 0; }
  .mega__bar { border: 0; background: transparent; }
  .mega__bar ul { flex-direction: column; gap: 0; padding: 0 0 8px 16px; }
  .mega__bar a { padding: 0 14px; }
  .scrim { display: none; }
}
@media (min-width: 980px) { .hdr__logo-sm { display: none; } }

/* breadcrumbs (subpages) */
.crumbs { padding-top: 12px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 13px; line-height: 20px; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; margin: 0 10px; border-right: 1.5px solid var(--helper); border-top: 1.5px solid var(--helper); transform: rotate(45deg); }
.crumbs a { color: var(--body); display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; margin-inline: -6px; transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--label); }

/* ---------------------------------------------------------------- sections and their light */
.section { position: relative; padding-block: 128px 0; isolation: isolate; }
.section--first { padding-top: 96px; }
.section--tight { padding-top: 96px; }
.section__head { display: grid; justify-items: center; gap: 16px; text-align: center; margin-bottom: 64px; }
.section__head .lead { max-width: 38em; }
.section__head--left { justify-items: start; text-align: left; }
/* the opener: a hairline glowing in the middle and a spotlight falling from it, over a faint grain */
.glow { position: absolute; z-index: -1; top: 0; left: 50%; width: min(var(--wrap) - 2 * var(--gut), 100% - 2 * var(--gut)); height: 480px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(45.6% 68.2% at 50% 0, var(--acc-glow) 0, transparent 100%); }
.glow::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent 0, var(--acc) 50%, transparent 100%); opacity: .9; }
.glow::after, .hero-glow::after { content: ''; position: absolute; inset: 0; opacity: var(--grain-o); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(45% 70% at 50% 0, #000 0, transparent 100%); mask-image: radial-gradient(45% 70% at 50% 0, #000 0, transparent 100%); }
:root[data-theme="light"] .glow::after, :root[data-theme="light"] .hero-glow::after { mix-blend-mode: multiply; filter: invert(1); }
.glow--plain::before { display: none; }
.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent 0, var(--sep) 50%, transparent 100%); }
:root:not([data-theme="light"]) .rule { background: linear-gradient(90deg, var(--bg) 0, rgba(255, 255, 255, .1) 50%, var(--bg) 100%); }

/* the page-top light (every page's hero) */
.hero-glow { position: absolute; z-index: -1; top: 0; left: 50%; width: min(1280px, 100%); height: 480px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(45.6% 68.2% at 50% 0, var(--hero-glow) 0, transparent 100%); }
.hero-glow::after { -webkit-mask-image: radial-gradient(40% 80% at 50% 0, #000 0, transparent 100%); mask-image: radial-gradient(40% 80% at 50% 0, #000 0, transparent 100%); }
.hero-glow.tone-cyan, .hero-glow.tone-film, .hero-glow.tone-teal, .hero-glow.tone-violet, .hero-glow.tone-amber { background: radial-gradient(45.6% 68.2% at 50% 0, var(--acc-glow) 0, transparent 100%); }
.page-hero { position: relative; isolation: isolate; padding-top: 64px; }
.page-hero--center { text-align: center; display: grid; justify-items: center; gap: 16px; padding-bottom: 8px; }
.page-hero--center .lead { max-width: 36em; }
@media (max-width: 767px) {
  .section { padding-top: 96px; }
  .section__head { margin-bottom: 40px; }
  .glow { height: 360px; }
  .page-hero { padding-top: 40px; }
}

/* ---------------------------------------------------------------- cards (1px gradient border) and the bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bento--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.card { position: relative; display: flex; padding: 1px; border-radius: var(--r); background: linear-gradient(189deg, var(--acc-card) 0, var(--layer-2) 55%); }
:root[data-theme="light"] .card { background: linear-gradient(189deg, var(--acc-card) 0, #E0E3E6 55%); }
.card__in { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; border-radius: calc(var(--r) - 1px); overflow: hidden; background: linear-gradient(189deg, var(--acc-card-in) -46%, var(--card-in) 28%); }
:root[data-theme="light"] .card__in { background: linear-gradient(189deg, var(--acc-card-in) -46%, #fff 28%); }
.card__text { display: grid; gap: 8px; padding: 32px 32px 0; }
.card__text .body { max-width: 30em; }
.card__art { position: relative; flex: 1; min-height: 260px; margin-top: 32px; }
.card__foot { padding: 24px 32px 32px; margin-top: auto; }
.card--plain { background: var(--sep); }
.card--plain .card__in { background: var(--layer-1); }
:root[data-theme="light"] .card--plain { background: var(--border); }
:root[data-theme="light"] .card--plain .card__in { background: var(--layer-1); }
.card--hi { background: var(--acc); }
@media (max-width: 899px) {
  .bento, .bento--2 { grid-template-columns: minmax(0, 1fr); }
  .span-2 { grid-column: auto; }
  .card__text { padding: 24px 24px 0; }
  .card__foot { padding: 20px 24px 24px; }
}

/* the product's proof lines under a principle (mark + text) */
.proof { display: grid; gap: 12px; padding: 0 32px 32px; margin-top: 24px; }
.proof li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 21px; color: var(--body); }
.proof b { color: var(--label); font-weight: 500; }
.proof .pmark, .proof .mark { width: 20px; height: 20px; margin-top: 1px; }
@media (max-width: 899px) { .proof { padding: 0 24px 24px; } }

/* ---------------------------------------------------------------- check lists, stats, steps */
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; color: var(--label); font-size: 15px; line-height: 22px; }
.checks .ico { width: 20px; height: 20px; color: var(--body); margin-top: 1px; }
.checks--ok .ico { color: var(--ok); }
.checks--no .ico { color: var(--no); }
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 639px) { .checks--2 { grid-template-columns: minmax(0, 1fr); } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 96px 32px; text-align: center; }
.stat__n { display: block; color: var(--stat); font-size: 48px; line-height: 56px; font-weight: 700; letter-spacing: -.02em; }
.stat__l { display: block; margin-top: 8px; color: var(--body); font-size: 16px; line-height: 24px; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; padding-block: 72px 16px; } .stat__n { font-size: 40px; line-height: 48px; } }

/* the 3x2 grid of short items (icon, title, two lines) */
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; padding-top: 48px; }
.mini { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 4px 12px; align-content: start; }
.mini > .ico, .mini > .pmark, .mini > .mark { width: 20px; height: 20px; margin-top: 2px; color: var(--label); }
.mini__t { color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 500; }
.mini__d { grid-column: 2; color: var(--body); font-size: 14px; line-height: 21px; }
@media (max-width: 899px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .minis { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------------------------------------------------------------- price cards */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 840px; margin-inline: auto; }
.price .card__in { padding: 32px; }
.price__name { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 500; }
.price__name .pmark, .price__name .mark { width: 22px; height: 22px; }
.price__amount { display: flex; align-items: flex-start; gap: 6px; margin-top: 16px; color: var(--ink); }
.price__cur { font-size: 24px; line-height: 32px; color: var(--body); margin-top: 6px; }
.price__n { font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -.02em; }
.price__then { align-self: flex-end; margin: 0 0 9px 6px; color: var(--body); font-size: 15px; }
.price__soon { font-size: 36px; line-height: 56px; font-weight: 600; letter-spacing: -.02em; }
.price__desc { margin-top: 16px; min-height: 48px; }
.price .checks { margin-top: 28px; }
.price__cta { margin-top: auto; padding-top: 32px; }
.price__cta .note { margin-top: 12px; text-align: center; }
.price--hi.card { background: linear-gradient(158deg, #0D9387 0, #0D9387 100%); }
:root[data-theme="light"] .price--hi.card { background: #0D9387; }
.price-wide { margin: 24px auto 0; max-width: 840px; }
.price-wide .card__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); background: var(--layer-1); }
:root[data-theme="light"] .price-wide .card__in { background: var(--layer-1); }
.price-wide__main { padding: 32px; }
.price-wide__main .rule { margin: 24px 0; }
.price-wide__side { display: grid; justify-items: center; align-content: center; gap: 12px; padding: 32px; border-left: 1px solid var(--sep); text-align: center; background: color-mix(in srgb, var(--layer-1) 50%, var(--bg)); }
.price-wide__big { color: var(--ink); font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -.02em; }
.price-wide__big small { font-size: 22px; font-weight: 400; color: var(--body); margin-left: 6px; }
@media (max-width: 767px) {
  .prices { grid-template-columns: minmax(0, 1fr); }
  .price .card__in, .price-wide__main, .price-wide__side { padding: 24px; }
}
/* the wide card stacks earlier: its side column is too narrow for a full button below 900px */
@media (max-width: 899px) {
  .price-wide .card__in { grid-template-columns: minmax(0, 1fr); }
  .price-wide__side { border-left: 0; border-top: 1px solid var(--sep); }
}

/* ---------------------------------------------------------------- pricing: what you need */
.needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.needs__t { margin-bottom: 14px; color: var(--ink); font-size: 15px; font-weight: 500; }
@media (max-width: 639px) { .needs { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- FAQ (details/summary) */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; padding-top: 128px; }
.faq__head { display: grid; gap: 16px; align-content: start; }
.faq__list { display: grid; gap: 12px; }
.qa { border: 1px solid var(--sep); border-radius: var(--r); background: var(--layer-1); transition: background-color .3s var(--ease); }
.qa[open] { background: color-mix(in srgb, var(--layer-2) 70%, var(--layer-1)); }
:root[data-theme="light"] .qa[open] { background: var(--layer-2); }
.qa summary { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 16px 24px; cursor: pointer; list-style: none; color: var(--ink); font-size: 15px; line-height: 22px; font-weight: 500; border-radius: var(--r); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { flex: none; width: 20px; height: 20px; margin-left: auto; color: var(--body); transition: transform .3s var(--ease); }
.qa[open] summary .ico { transform: rotate(45deg); }
.qa__a { padding: 0 24px 20px; color: var(--body); font-size: 15px; line-height: 23px; max-width: 46em; }
.qa__a p + p { margin-top: 10px; }
@media (max-width: 899px) { .faq { grid-template-columns: minmax(0, 1fr); padding-top: 96px; } .qa summary { padding: 14px 18px; } .qa__a { padding: 0 18px 18px; } }

/* ---------------------------------------------------------------- the contact card, the footer */
.contact { padding-top: 128px; }
.contact__card { display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap; padding: 32px; border-radius: var(--r); border: 1px solid var(--sep); background: var(--layer-1); }
.contact__mark { flex: none; width: 52px; height: 52px; }
.contact__text { flex: 1 1 320px; display: grid; gap: 4px; }
.contact__text .h3 { font-size: 22px; line-height: 30px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .contact { padding-top: 96px; } .contact__card { padding: 24px; } .contact__actions, .contact__actions .btn { width: 100%; } }

.ftr { padding-block: 40px 48px; }
.ftr__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.ftr__copy { color: var(--body); font-size: 14px; line-height: 21px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.ftr__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--label); font-size: 14px; transition: color .2s var(--ease); }
.ftr__links a:hover { color: var(--ink); }
.ftr__sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--sep); }
.ftr__sub .note { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.motion-pref button { color: var(--label); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-btn); min-height: 44px; font-size: 13px; }
.motion-pref button:hover { color: var(--ink); }

/* ---------------------------------------------------------------- dark app windows (always dark, in both themes) */
.win { --w-bg: #14161B; --w-bar: #1B1E25; --w-line: #2A2D34; --w-text: #E0E3E6; --w-mute: #8A8E96; --w-dim: #5F636B;
  position: relative; border-radius: 10px; background: var(--w-bg); border: 1px solid var(--w-line); color: var(--w-text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .3); overflow: hidden; }
:root[data-theme="light"] .win { box-shadow: 0 30px 70px -24px rgba(3, 6, 13, .35), 0 0 0 1px rgba(3, 6, 13, .06); }
.illus { margin-top: 16px; color: var(--helper); font-size: 13px; line-height: 20px; text-align: center; }

/* ---------------------------------------------------------------- marquee (two rows, opposite ways; stops and wraps for less motion) */
.marquee { position: relative; display: grid; gap: 24px; overflow: hidden; padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.marquee__row { display: flex; width: max-content; }
.marquee__track { display: flex; gap: 24px; padding-right: 24px; animation: scrollX var(--dur, 60s) linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.reduce-motion .marquee { -webkit-mask-image: none; mask-image: none; }
.reduce-motion .marquee__row { width: auto; }
.reduce-motion .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0; gap: 16px; }
.reduce-motion .marquee__track[aria-hidden="true"] { display: none; }
.reduce-motion .marquee__row + .marquee__row { display: none; }
.reduce-motion .marquee__all { display: flex; }
.marquee__all { display: none; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tile { display: grid; justify-items: center; align-content: center; gap: 6px; width: 200px; min-height: 118px; padding: 20px 16px; border-radius: var(--r); border: 1px solid var(--sep); background: var(--layer-1); text-align: center; }
.tile .ico, .tile .mark { width: 28px; height: 28px; color: var(--label); }
.tile__t { color: var(--label); font-size: 14px; line-height: 20px; font-weight: 500; }
.tile__d { color: var(--helper); font-size: 12px; line-height: 16px; }
.say { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--sep); background: var(--layer-1); color: var(--label); font-size: 15px; line-height: 22px; white-space: nowrap; }
.say .ico, .say .mark { width: 18px; height: 18px; color: var(--acc-ink); flex: none; }

/* ---------------------------------------------------------------- the "AI you already have" diagram (Home, Motion Copilot) */
.art-ai { min-height: 250px; margin-inline: 32px; }
.aai__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.aai__lines path { fill: none; stroke: var(--sep); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
:root:not([data-theme="light"]) .aai__lines path { stroke: #2A2D34; }
.aai__n { position: absolute; left: var(--x); top: var(--y); transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--border); background: var(--layer-1); color: var(--label); font-size: 12px; line-height: 16px; white-space: nowrap; }
.aai__n::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--acc); }
.aai__n--r { left: auto; right: 0; }
.aai__you { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 14px; border-radius: 8px; border: 1px solid var(--acc-line); background: var(--acc-badge); color: var(--acc-ink); font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 0 0 6px var(--card-in); }
@media (max-width: 899px) { .art-ai { margin-inline: 24px; } }


/* ---------------------------------------------------------------- a small Orb drawn in CSS (static vignettes; the live one is js/orb3d) */
.cssorb { position: relative; display: block; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #3A414D 0, #15181E 52%, #050608 100%);
  box-shadow: 0 0 0 1px rgba(64, 210, 255, .22), 0 0 1.2em rgba(64, 210, 255, .2); }
.cssorb::before { content: ''; position: absolute; inset: 0; border-radius: 50%; padding: 5%;
  background: conic-gradient(from 315deg, #40D2FF, rgba(64, 210, 255, 0) 100deg, rgba(64, 210, 255, 0) 260deg, #40D2FF 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.cssorb i { position: absolute; top: 37.5%; width: 7%; height: 14%; border-radius: 99px; background: #FFF6E8; box-shadow: 0 0 .5em rgba(255, 246, 232, .55); }
.cssorb i:first-child { left: 38.5%; }
.cssorb i:last-child { left: 60.5%; }

/* ---------------------------------------------------------------- marks */
.mark { width: 24px; height: 24px; }
.mark--trail { color: var(--pc, #579EFA); }
.pmark { display: inline-grid; place-items: center; }
.pmark .mark--trail { color: var(--pc, #8DB6FF); }
:root[data-theme="light"] .pmark .mark--trail { color: var(--pc-l, #2B48D2); }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
