/* agentome.ai, every page. The site wears the product's own dark theme: Geist, a neutral near-black, the
   sign-off blue of the Approve button, and each role in the colour its tile has in the app.
   One bold moment, the recording you scrub by scrolling; everything after it is the product's
   own screens, set quietly. Deliberately one theme: the screens it shows are the dark ones. */
:root {
  --bg: #0a0a0a; --raised: #111113; --raised-2: #161619; --line: #1f1f22; --line-2: #2c2c30;
  --ink: #ededed; --pencil: #a1a1a6; --faint: #8b8b93;
  --accent: #2563eb; --accent-hover: #3b82f6;
  --t1: #5e9bf0; --t2: #a78bfa; --t3: #f06bab; --t4: #f2786b; --t5: #f2994a; --t6: #e8c14a; --t7: #5fbf77; --t8: #3fbfc9;
  --running: #f2c94c; --review: #4cb782; --done: #9d8cf2;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wide: 1200px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.025em; font-weight: 600; }
p { text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
code, .mono { font-family: var(--mono); font-size: .92em; }
.in { max-width: var(--wide); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 31; }
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color 200ms; }
header.scrolled { border-bottom-color: var(--line); }
header .in { height: 60px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 22px; width: auto; }
nav { display: flex; gap: 24px; font-size: 14px; color: var(--pencil); }
nav a { text-decoration: none; transition: color 120ms; } nav a:hover { color: var(--ink); }
header .cta { margin-left: auto; }
@media (max-width: 820px) { nav { display: none; } }
/* On a phone the sections fold into a menu under the header: a popover, so Escape and a tap
   outside close it without a script. */
header .menu-open { display: none; }
@media (max-width: 820px) { header .menu-open { display: inline-grid; margin-left: -16px; } }
/* Two lines that turn into a cross while the menu is open. */
.burger { width: 40px; height: 40px; place-content: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; }
.burger i { display: block; width: 16px; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform 300ms cubic-bezier(.3, 1.2, .5, 1); }
body:has(.menu:popover-open) .burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
body:has(.menu:popover-open) .burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
/* The menu: a sheet under the header, each page or section in large type with the line it opens
   with and the colour it is lit in, coming in one after another; the section on screen is lit,
   and on the first page the characters of its first screen rise at the foot. */
.menu { position: fixed; inset: calc(60px + env(safe-area-inset-top, 0px)) 0 0; width: auto; height: auto; max-height: none; margin: 0; border: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); background: var(--bg); color: var(--ink); overflow-y: auto; }
.menu:not(:popover-open) { display: none; }
.menu:popover-open { display: flex; flex-direction: column; gap: 0; }
.menu a { display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 8px 0 9px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.menu a::before { content: ""; grid-row: span 2; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--line-2)); transition: box-shadow 300ms; }
.menu b { font-size: 23px; line-height: 28px; font-weight: 600; letter-spacing: -0.03em; transition: color 200ms; }
.menu small { font-size: 13px; line-height: 18px; color: var(--pencil); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu a[aria-current="page"] b { color: var(--faint); }
.menu a.here b, .menu a:active b { color: var(--c, var(--ink)); }
.menu a.here::before { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 0 14px var(--c); }
.menu .field { position: fixed; inset: auto 0 0; height: 150px; z-index: -1; pointer-events: none; opacity: .45;
  -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%); }
.menu .field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .menu:popover-open a { animation: enter 420ms cubic-bezier(.2, .8, .2, 1) both; }
  .menu:popover-open a:nth-child(2) { animation-delay: 30ms; } .menu:popover-open a:nth-child(3) { animation-delay: 60ms; } .menu:popover-open a:nth-child(4) { animation-delay: 90ms; }
  .menu:popover-open a:nth-child(5) { animation-delay: 120ms; } .menu:popover-open a:nth-child(6) { animation-delay: 150ms; } .menu:popover-open a:nth-child(7) { animation-delay: 180ms; } .menu:popover-open a:nth-child(n+8) { animation-delay: 210ms; }
}
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; border: 1px solid transparent; text-decoration: none; white-space: nowrap; transition: background-color 120ms, color 120ms, border-color 120ms; }
/* The main action is white on the dark, as the product's own primary is; blue stays the app's Approve. */
.btn.primary { position: relative; overflow: hidden; background: #ececec; color: #0a0a0a; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 1px rgba(255,255,255,.08); transition: background-color 150ms, box-shadow 300ms; }
.btn.primary:hover { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255,255,255,.2), 0 10px 36px -14px rgba(255,255,255,.45); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 32%, rgba(120,140,190,.22) 50%, transparent 68%); transform: translateX(-130%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .btn.primary:hover::after { transform: translateX(130%); transition: transform 750ms cubic-bezier(.2,.7,.2,1); } }
/* A Request access in electricity (fx/electric-border.js): the wrapper sits where the button did. */
.bolt { position: relative; display: inline-flex; }
.btn.ghost { color: var(--ink); background: transparent; border-color: var(--line-2); } .btn.ghost:hover { border-color: var(--faint); background: var(--raised); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 7px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 10px; }

/* A product screen in its window. Lit: a light runs along the frame in the colour of what it
   shows, and a field of dots glows behind two of its corners, the way a screen lights a dark
   room. Only the light moves, and only for those who allow motion. */
.window { position: relative; border-radius: 14px; background: var(--bg); border: 1px solid rgba(255,255,255,.09); box-shadow: 0 40px 120px -40px rgba(0,0,0,.9); }
.window > img, .window > canvas { border-radius: 13px; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.lit { --glow: var(--t1); }
.lit::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none;
  /* the whole edge in its colour, and a brighter arc that runs round it */
  background: conic-gradient(from var(--a), color-mix(in srgb, var(--glow) 40%, transparent) 0 50%, color-mix(in srgb, var(--glow) 85%, transparent) 66%, #fff 74%, var(--glow) 80%, color-mix(in srgb, var(--glow) 40%, transparent) 94%);
  -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); }
.halo { isolation: isolate; }
/* behind a lit screen, a pool of its own colour: soft, no edges, one with the section's light */
.halo::after { content: ""; position: absolute; inset: -12% -8%; z-index: -1; pointer-events: none; opacity: .7;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 16%, transparent), transparent); }
.halo { box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), -30px -30px 90px -50px var(--glow), 30px 30px 90px -50px var(--glow); }
/* Where there is a pointer and room, the arc runs round slowly. A phone gets an even edge that
   shines slowly instead: only its opacity moves, which costs a phone nothing. */
@media (prefers-reduced-motion: no-preference) {
  .halo::after { animation: breathe 14s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (min-width: 761px) {
  .lit::before { animation: orbit 18s linear infinite; }
}
@media (hover: none), (max-width: 760px) {
  .lit::before { background: linear-gradient(135deg, color-mix(in srgb, var(--glow) 90%, #fff), color-mix(in srgb, var(--glow) 45%, transparent) 45%, color-mix(in srgb, var(--glow) 70%, transparent)); }
}
@media (prefers-reduced-motion: no-preference) and ((hover: none) or (max-width: 760px)) {
  .lit::before { animation: shine 6s ease-in-out infinite alternate; }
}
@keyframes shine { from { opacity: .5; } to { opacity: 1; } }
@keyframes breathe { from { opacity: .45; transform: scale(.98); } to { opacity: .85; transform: scale(1.03); } }

@keyframes orbit { to { --a: 360deg; } }

/* The foot of every page: what Agentome is, the pages by subject, and who made the site. */
.foot { position: relative; border-top: 1px solid var(--line); padding: 72px 0 calc(48px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--pencil); }
.foot .cols { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .foot .cols { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); } }
.foot .brandcol { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; align-content: start; }
@media (min-width: 900px) { .foot .brandcol { grid-column: auto; } }
.foot .brandcol p { max-width: 30ch; color: var(--faint); line-height: 22px; }
.foot nav { display: grid; gap: 12px; align-content: start; font-size: 14px; }
.foot nav b { color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.foot nav a { color: var(--pencil); text-decoration: none; width: fit-content; transition: color 120ms; }
.foot nav a:hover { color: var(--ink); }
.foot .base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }
/* Made with Claude Code: a small lit pill, its light the colour of Claude's own */
.made { --glow: #d97757; position: relative; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--glow) 55%, var(--line-2)); color: var(--ink); text-decoration: none; background: color-mix(in srgb, var(--raised) 70%, transparent); box-shadow: 0 0 28px -8px color-mix(in srgb, var(--glow) 70%, transparent); transition: border-color 150ms, box-shadow 300ms; }
.made b { color: var(--ink); font-weight: 500; }
.made svg { width: 14px; height: 14px; color: var(--glow); }
.made:hover { border-color: color-mix(in srgb, var(--glow) 75%, var(--line-2)); box-shadow: 0 0 34px -6px color-mix(in srgb, var(--glow) 80%, transparent); }
/* A grain over the whole page, so its dark is one material from the first screen to the foot. */
html::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@media (max-width: 760px) { html::after { display: none; } }

/* A command to copy: the command on one line, scrolling in its own box, and a Copy button
   (shown by copy.js, so a page without scripts shows the command alone). */
.cmd { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 4px 4px 12px; background: var(--raised); border: 1px solid var(--line-2); border-radius: 8px; }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; color: var(--ink); font-size: 13px; line-height: 20px; padding: 5px 0; }
.cmd .copy { flex: none; height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg); color: var(--ink); font: 500 12.5px/1 var(--sans); cursor: pointer; }
.cmd .copy:hover { border-color: var(--faint); }
