/* volition.im's one look (#3153): the homepage's type, inks, bar, buttons and footer, and the reading pages every
   static file and server answer uses (site/lib/shell.js). The homepage's story adds landing/page.css. */
/* WOFF2 (the same font as landing/813b3f8fa0965405.ttf, which og/card.html still reads), shown in the system face until it
   arrives rather than hidden. */
@font-face { font-family: "Hanken Grotesk"; src: url(/landing/987ee6d8de22a7c5.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  /* The app's Warm look (desktop/src/theme/look.ts WARM), mixed as theme/apply.ts and styles.css mix it: the site's
     one look, with no switch and no dark. */
  --room: #f6f3ec;
  --theme-background: #f6f3ec;
  --theme-foreground: #1c1d1a;
  --theme-panel: #ebe8e2;
  --theme-raised: #e2e0d9;
  --theme-input: #fbfaf7;
  --placeholder-alpha: 50%;
  --ui-base: var(--theme-foreground);
  --ui-green: color-mix(in srgb, #3fb950 60%, var(--ui-base));
  --row-active: color-mix(in srgb, var(--ui-base) 11%, transparent);
  --t1: color-mix(in srgb, var(--ui-base) 94%, transparent);
  --t2: color-mix(in srgb, var(--ui-base) 70%, transparent);
  --t3: color-mix(in srgb, var(--ui-base) 48%, transparent);
  --s1: color-mix(in srgb, var(--ui-base) 22%, transparent);
  --s2: color-mix(in srgb, var(--ui-base) 13%, transparent);
  --s3: color-mix(in srgb, var(--ui-base) 8%, transparent);
  --stroke-input: color-mix(in srgb, var(--ui-base) 10%, transparent);
  --stroke-input-focus: color-mix(in srgb, var(--ui-base) 18%, transparent);
  --shadow-input: 0 1px 2px rgb(0 0 0/.04), 0 4px 12px -4px rgb(0 0 0/.06);
  --shadow-nous: 0 .125rem .25rem -.125rem rgb(0 0 0/.14), 0 .5rem .75rem -.375rem rgb(0 0 0/.12), 0 1.25rem 1.75rem -.875rem rgb(0 0 0/.12);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --site: "Hanken Grotesk", var(--sans);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --motion: 240ms;
  --ease-arrive: cubic-bezier(.22, 1, .36, 1);
  --ease-sine: cubic-bezier(.37, 0, .63, 1);
  --gutter: clamp(18px, 3.4vw, 40px);
  /* The site's own inks around the window: Warm's ink at the app's text steps. */
  --site-ink: #1c1d1a; --site-dim: rgb(28 29 26/.56); --site-line: rgb(28 29 26/.13); --site-fill: rgb(251 250 247/.72);
  --site-hover: rgb(28 29 26/.05); --site-hover-line: rgb(28 29 26/.26); --coda-ink: #1c1d1a; --track-ink: rgb(28 29 26/.08);
  --bar-ink: rgb(28 29 26/.4); --press-ring: rgb(28 29 26/.5); --foot-line: rgb(28 29 26/.08); --foot-ink: rgb(28 29 26/.56); --spill: .3;
  /* A Mac window on Warm paper: its hairline, then a soft lift. */
  --win-shadow: 0 0 0 .5px rgb(28 29 26/.18), 0 1px 2px rgb(28 29 26/.06), 0 24px 48px -18px rgb(60 48 20/.22), 0 60px 120px -40px rgb(60 48 20/.24);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--room); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--room); color: var(--t1); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
@keyframes arrive { from { opacity: 0; transform: translateY(6px); } }

/* ------------------------------------------------------------------ the bar */
.bar { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) 0; pointer-events: none; }
.bar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--site-ink); text-decoration: none; font: 500 15px/1 var(--site); letter-spacing: .01em; }
/* The mark is Volition's one logo, the Onyx app icon (desktop/assets/Volition.icns), at its own shape and shadow. */
.brand img { width: 28px; height: 28px; margin: -3px -2px -3px -4px; }
.get { font: 500 13px/1 var(--site); color: var(--site-ink); text-decoration: none; padding: 9px 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--site-line); background: var(--site-fill); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s; }
.get:hover { background: var(--site-hover); border-color: var(--site-hover-line); }
.get:focus-visible { outline: 2px solid var(--site-hover-line); outline-offset: 2px; }
.get:disabled { opacity: .5; cursor: default; }

/* ------------------------------------------------------------------ the footer */
footer { position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--foot-line); font: 13px/1 var(--site); color: var(--foot-ink); background: var(--room); }
footer small { font-size: 11px; opacity: .7; text-align: center; }
footer nav { font: 12px var(--site); } footer nav a { color: inherit; text-decoration: none; }
footer nav a:hover { color: var(--site-ink); }

/* ------------------------------------------------------------------ a page of its own: the bar over one reading column */
body.page { min-height: 100svh; display: flex; flex-direction: column; }
.page .bar { position: absolute; }
.doc { flex: 1 0 auto; width: 100%; max-width: calc(680px + 2 * var(--gutter)); margin: 0 auto; padding: 120px var(--gutter) 96px;
  font: 16px/1.65 var(--site); color: var(--t2); }
.doc h1 { margin: 0 0 18px; font: 500 clamp(32px, 4.4vw, 44px)/1.1 var(--site); letter-spacing: -.02em; color: var(--site-ink); }
.doc h2 { margin: 56px 0 14px; font: 500 clamp(21px, 2.4vw, 25px)/1.25 var(--site); letter-spacing: -.01em; color: var(--site-ink); }
.doc h3 { margin: 32px 0 8px; font: 500 17px/1.35 var(--site); color: var(--site-ink); }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin: 6px 0; } .doc li::marker { color: var(--t3); }
.doc b { color: var(--site-ink); font-weight: 500; }
.doc a:not(.get) { color: var(--site-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--site-line); }
.doc a:not(.get):hover { text-decoration-color: var(--site-hover-line); }
.doc .label { margin: 0 0 20px; font: 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--site-dim); }
.doc .meta { margin: 0 0 40px; font: 12px/1.6 var(--mono); letter-spacing: .02em; color: var(--site-dim); }
.contact { margin: 0 0 24px; padding: clamp(22px, 4vw, 32px); border: 1px solid var(--site-line); border-radius: 16px; background: var(--site-fill); }
.contact p { margin: 0 0 14px; }
.doc .mail { font: 300 clamp(22px, 3vw, 32px)/1.2 var(--site); letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--site-line); }

/* ------------------------------------------------------------------ the legal pages: Privacy and Terms, as Cursor's read (#3902) */
/* cursor.com/privacy's measures on the app's Warm paper and ink, the site's one look: a quiet list of the legal
   pages beside one reading column, a contents card that folds without script, and the policy in full ink. After the
   short version the sections number themselves, and the card numbers its lines to match (site/test holds the two equal). */
:root:has(body.legal) {
  --paper: var(--theme-background); --ink: var(--theme-foreground); --card: var(--theme-panel);
  --ink-2: color-mix(in oklab, var(--ink) 60%, transparent); --ink-3: color-mix(in oklab, var(--ink) 40%, transparent);
  --rule: color-mix(in oklab, var(--ink) 10%, transparent);
  --room: var(--paper); --site-ink: var(--ink); --foot-ink: var(--ink-2);
  --edge: 20px; scroll-padding-top: 64px;
}
@media (min-width: 1280px) { :root:has(body.legal) { --edge: max(70px, (100% - 1300px) / 2); } }
body.legal .bar { position: fixed; height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--edge) 0; background: var(--paper); }
body.legal footer { padding-inline: var(--edge); border-top: 0; background: var(--card); }
.legal-main { flex: 1 0 auto; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); column-gap: 10px; align-items: start;
  padding: calc(96px + env(safe-area-inset-top)) var(--edge) 134px; font: 16px/1.5 var(--site); letter-spacing: .005em; color: var(--ink); }
.legal-nav { display: none; }
.legal-nav a { padding: 2px 0; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.legal-nav a:hover { color: var(--ink); }
.legal-doc { grid-column: 1 / -1; min-width: 0; counter-reset: part; }
.legal-doc h1 { margin: 0; font: 400 2.25em/1.2 var(--site); letter-spacing: -.02em; text-wrap: balance; }
.legal-doc .meta { margin: .47em 0 2.8em; color: var(--ink-2); }
.legal-doc h2 { position: relative; margin: 2em 0 .5em; font: 700 1.375em/1.3 var(--site); letter-spacing: -.005em; }
.legal-doc h2 ~ h2 { counter-increment: part; } .legal-doc h2 ~ h2::before { content: counter(part) ". "; }
.legal-doc h3 { margin: 1.75em 0 .5em; font: 700 1em/1.5 var(--site); }
.legal-doc p, .legal-doc ul, .legal-doc table { margin: 0 0 1.4em; }
.legal-doc ul { padding-left: 20px; list-style: square; } .legal-doc li::marker { color: var(--ink-3); }
.legal-doc b { font-weight: 700; }
.legal-doc a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
  text-decoration-color: color-mix(in oklab, var(--ink) 50%, transparent); }
.legal-doc a:hover { text-decoration-color: var(--ink); }
/* Each section's # sits in the margin, seen on hover, a link to the section. */
.legal-doc .anchor { position: absolute; left: -27.5px; color: var(--ink-3); text-decoration: none; opacity: 0; transition: opacity .15s; }
.legal-doc h2:hover .anchor, .legal-doc .anchor:focus-visible { opacity: 1; }
.legal-doc table { width: 100%; border-collapse: collapse; border-bottom: 1px solid var(--rule); }
.legal-doc th, .legal-doc td { padding: .75em 1em .75em 0; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.legal-doc th { width: 30%; font-weight: 700; }
.toc { margin: 0 0 2.8em; padding: 13px 15px 15px; border-radius: 4px; background: var(--card); font-size: .875em; letter-spacing: .01em; }
.toc summary { display: flex; align-items: center; justify-content: space-between; color: var(--ink-2); cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary:focus-visible { outline: 2px solid var(--ink-3); outline-offset: 4px; border-radius: 2px; }
.toc summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: rotate .2s; }
.toc details:not([open]) summary svg { rotate: 180deg; }
.toc ol { margin: 2px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li + li { counter-increment: toc; } .toc li + li a::before { content: counter(toc) ". "; }
.legal-doc .toc a { display: block; padding: 2px 0; text-decoration: none; }
.legal-doc .toc a:hover { color: var(--ink-2); }
@media (min-width: 768px) { .legal-doc { grid-column: 1 / 19; } }
@media (min-width: 1024px) { .legal-doc { grid-column: 1 / 17; } }
@media (min-width: 1280px) {
  .legal-nav { display: grid; justify-items: start; grid-column: 1 / 7; position: sticky; top: 64px; }
  .legal-doc { grid-column: 7 / 19; }
}
@media (max-width: 767px) { .legal-main { padding-top: calc(80px + env(safe-area-inset-top)); font-size: 15px; } }
@media (max-width: 640px) {
  .legal-doc :is(table, tbody, tr, th, td) { display: block; width: auto; }
  .legal-doc :is(th, td) { padding: 0; border: 0; }
  .legal-doc tr { padding: .75em 0; border-top: 1px solid var(--rule); }
}

/* Forms (sign-up): the bar's buttons, and fields in the same line. */
.doc form { display: grid; gap: 10px; max-width: 420px; margin: 28px 0 16px; }
.doc label { color: var(--site-ink); font-size: 14px; }
.doc input { min-width: 0; min-height: 44px; padding: 11px 14px; border-radius: 12px; font: 15px/1.4 var(--site); color: var(--site-ink);
  background: var(--site-fill); border: 1px solid var(--site-line); }
.doc input:focus-visible { outline: 2px solid var(--site-hover-line); outline-offset: 2px; }
.doc form .get { justify-self: start; font-size: 14px; padding: 12px 18px; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.signup-challenge { max-width: calc(100vw - 2em); padding: 1.25em; border-radius: 16px; font: 15px/1.5 var(--site); color: var(--site-ink);
  background: var(--theme-panel); border: 1px solid var(--site-line); }
.signup-challenge::backdrop { background: rgb(0 0 0/.7); }
.signup-challenge button { display: block; margin-top: 1em; min-height: 44px; padding: 0 16px; border-radius: 999px; font: inherit; color: inherit;
  background: var(--site-fill); border: 1px solid var(--site-line); cursor: pointer; }

/* On a phone (and only there: the query is the one index.html gives landing/phone.css), the footer stacks and every link
   is a 44px target. */
@media (max-width: 600px), (pointer: coarse) and (max-height: 500px) {
  .brand { min-height: 44px; }
  footer { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 18px; }
  footer > span { font-size: 15px; color: var(--site-ink); padding: 12px 0 4px; }
  footer nav { order: 1; display: flex; gap: 4px; margin: 0 -12px; font-size: 0; }
  footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; color: var(--site-ink); }
  footer small { order: 2; font-size: 12px; text-align: left; padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
