/* The site'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.
   Every page lives on the launch video's Mac: its blue wallpaper behind everything, the app's Warm windows on it, and
   the old screen's faint texture over the lot (/screen.js). */
/* Preload the original Hanken face. Paint immediately; a slow font keeps the system fallback for this visit.
   The same font as landing/813b3f8fa0965405.ttf, which og/card.html still reads. */
@font-face { font-family: "Hanken Grotesk"; src: url(/landing/987ee6d8de22a7c5.woff2) format("woff2"); font-weight: 100 900; font-display: optional; }
: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, on the wallpaper as the video's menu bar has it. */
  --site-ink: #1c1d1a; --site-dim: rgb(28 29 26/.56); --site-line: rgb(255 255 255/.55); --site-fill: rgb(251 250 247/.85);
  --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 the blue desktop: its hairline, then a lift in the wallpaper's own shade. */
  --win-shadow: 0 0 0 .5px rgb(10 30 80/.25), 0 2px 4px rgb(10 30 80/.12), 0 30px 60px -20px rgb(10 35 100/.45), 0 70px 140px -40px rgb(10 35 100/.4);
  /* The desktop: the periwinkle of the video's full-screen shots, deepening to the lower right, and two of the
     wallpaper's soft folds sweeping across it. Drawn here (not the Apple image the video comps in). */
  --desk: #7ba1da;
  --wallpaper:
    radial-gradient(130% 75% at -18% 78%, transparent 56%, rgb(255 255 255/.2) 61%, rgb(255 255 255/.07) 67%, transparent 72%),
    radial-gradient(95% 85% at 122% 2%, transparent 58%, rgb(255 255 255/.17) 63%, rgb(255 255 255/.05) 70%, transparent 75%),
    radial-gradient(60% 55% at 12% 108%, #2f63bb 0%, transparent 70%),
    radial-gradient(60% 55% at 104% -6%, #3c71c6 0%, transparent 70%),
    radial-gradient(55% 48% at 30% 16%, #d6e5f8 0%, transparent 70%),
    radial-gradient(45% 40% at 76% 84%, #b7cff0 0%, transparent 70%),
    linear-gradient(160deg, #96b8e7 0%, #6b98d6 55%, #4e80cc 100%);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--desk); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--t1); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* The wallpaper stays put while the page scrolls over it, as a desktop's does: one fixed layer, painted once. It keeps a
   landscape screen's proportions, centred and cropped on a tall one, so its folds sweep across a phone as they do a Mac
   rather than stretching into streaks. */
body::before { content: ''; position: fixed; left: 50%; top: 0; z-index: -1; width: max(100%, 160lvh); height: 100lvh; translate: -50% 0;
  background: var(--wallpaper); pointer-events: none; }
/* The old screen (/screen.js): a fixed canvas over everything, never in the way of a click, a reader or a printer. */
.screen { position: fixed; left: 0; top: 0; z-index: 2147483647; width: 100%; height: 100lvh; pointer-events: none; }
@media print, (forced-colors: active) { .screen { display: none; } }
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 Graves's one logo, the Graves owl 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: rgb(246 243 236/.97); }
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: one reading window on the desktop */
/* A short page's window sits in the middle of the desktop, as a Mac's dialog does; a long one starts under the bar. */
body.page { min-height: 100svh; display: flex; flex-direction: column; }
body.page:not(.legal) { padding-top: calc(max(18px, env(safe-area-inset-top)) + 64px); }
.page .bar { position: absolute; }
body.page > footer { margin-top: 72px; }
/* Each reading page is a window as the app draws it: Warm paper, its traffic lights, and the desktop's lift under it. */
:is(.doc, .legal-main) { position: relative; border-radius: 12px; background: var(--theme-background); box-shadow: var(--win-shadow); }
:is(.doc, .legal-main)::before { content: ''; position: absolute; left: 14px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: #ff5f57;
  box-shadow: 20px 0 #febc2e, 40px 0 #28c840; }
.doc { width: calc(100% - 2 * var(--gutter)); max-width: 760px; margin: auto;
  padding: clamp(52px, 8vw, 72px) clamp(22px, 6vw, 40px) clamp(40px, 7vw, 64px); 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);
  --site-ink: var(--ink); --foot-ink: var(--ink-2);
  --edge: 20px; scroll-padding-top: 84px;
}
@media (min-width: 768px) { :root:has(body.legal) { --edge: 48px; } }
@media (min-width: 1280px) { :root:has(body.legal) { --edge: 64px; } }
/* The bar stays over the page as the Mac's menu bar does: frosted, the wallpaper and the window showing through. */
body.legal .bar { position: fixed; height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gutter) 0;
  background: rgb(246 243 236/.94); border-bottom: 1px solid var(--foot-line); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); }
/* The policy is one window on the desktop, its side list and contents inside it. */
.legal-main { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); column-gap: 10px; align-items: start;
  width: calc(100% - 2 * var(--gutter)); max-width: 1360px; margin: calc(52px + env(safe-area-inset-top) + 28px) auto 0;
  padding: 72px var(--edge) 96px; 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: 84px; }
  .legal-doc { grid-column: 7 / 19; }
}
@media (max-width: 767px) { .legal-main { padding-top: 56px; padding-bottom: 64px; 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; }
}
