@font-face {
  font-family: "Inter";
  src: url("/labs/assets/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #1d1d1f;
  --muted: #55595f;
  --line: #e8e8ed;
  --paper: #fbfaf8;
  --soft: #fff4e6;
  --orange: #c25400;
  --orange-d: #a84800;
  --mark: #f27a00;
  --code: #f3f2ef;
  --redact: #1d1d1f;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  color: var(--ink);
  background: #fff;
}
::selection { background: #ffd9b0; color: var(--ink); }
a { color: var(--orange-d); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(168,72,0,.4); transition: text-decoration-color .15s; }
a:hover { text-decoration-color: currentColor; }
.btn, .brand, header.top nav a, footer a, .feature, .feature a, a.store { text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
p.small { font-size: 15px; color: var(--muted); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
code, pre { font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
code { background: var(--code); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
pre { background: var(--code); padding: 16px 18px; border-radius: 12px; overflow-x: auto; }
pre code { background: none; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* header */
header.top { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(8px); }
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand img.wordmark { width: auto; height: 28px; }  /* the outlined wordmark draws the I as an I-beam, so it never reads "Alnotate" */
.brand small { color: var(--muted); font-weight: 500; letter-spacing: 0; }
header.top nav { margin-left: auto; display: flex; gap: 24px; font-size: 15px; }
header.top nav a { color: var(--ink); }

/* hero */
.hero { padding: 80px 0 24px; text-align: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 20px; }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 600px; margin: 0 auto 36px; }
.cta { display: inline-flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; position: relative; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 650; font-size: 16px; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--orange); color: #fff; }
.btn.primary:hover { background: var(--orange-d); }
.btn.ghost { border: 1px solid #d6d6dc; color: var(--ink); background: #fff; }
.btn.ghost:hover { border-color: var(--ink); }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* the page annotates itself: a numbered step on the primary button */
.step-badge { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); border: 2px solid #fff; }
.callout { position: absolute; right: calc(100% + 18px); top: -34px; width: 150px; height: 80px; pointer-events: none; }
.callout span { position: absolute; left: 0; top: 0; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; padding: 5px 10px; border-radius: 8px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.callout svg { position: absolute; left: 40px; top: 22px; width: 110px; height: 60px; overflow: visible; }
.callout path { fill: none; stroke: var(--mark); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
.callout .draw { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .9s cubic-bezier(.16,1,.3,1) .35s forwards; }
.callout .head { opacity: 0; animation: pop .25s ease-out 1.05s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .callout .draw { animation: none; stroke-dashoffset: 0; }
  .callout .head { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}
.shot { margin: 56px auto 0; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(60,30,0,.28), 0 8px 20px rgba(0,0,0,.06); overflow: hidden; }

/* sections */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
section h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 750; margin: 0 0 14px; }
section p.sub { color: var(--muted); font-size: 18px; margin: 0 0 40px; max-width: 640px; }

/* words versus picture: two chat replies */
.versus { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: start; }
.chat { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.chat h3 { font-size: 17px; letter-spacing: -0.01em; margin: 0 0 16px; font-weight: 700; }
.bubble { border-radius: 16px; padding: 12px 16px; margin: 0 0 12px; font-size: 16px; line-height: 1.5; max-width: 92%; }
.bubble.you { background: var(--ink); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; width: fit-content; }
.bubble.agent { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.agent img { border-radius: 10px; margin: 2px 0 10px; }
.bubble.agent.long { color: var(--muted); }

/* use cases: alternating rows */
.uses { display: grid; gap: 72px; }
.use { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.use:nth-child(even) { grid-template-columns: 5fr 7fr; }
.use:nth-child(even) figure { order: 2; }
.use figure { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(60,30,0,.25), 0 0 0 1px var(--line); background: #fff; }
.use h3 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 10px; line-height: 1.2; }
.use p { color: var(--muted); margin: 0; font-size: 17px; }

/* install */
table.install { width: 100%; border-collapse: collapse; font-size: 15px; }
table.install { margin-bottom: 20px; }
table.install th, table.install td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
table.install tr:first-child > * { border-top: 1px solid var(--line); }
table.install th { font-weight: 650; width: 220px; padding-left: 0; }

/* privacy: bullets are solid redaction bars, never blur */
ul.redacted { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
ul.redacted li { padding-left: 44px; position: relative; }
ul.redacted li::before { content: ""; position: absolute; left: 0; top: 8px; width: 30px; height: 10px; border-radius: 3px; background: var(--redact); }

.story { background: var(--soft); border-radius: 20px; padding: 40px; }
.story h2 { margin-top: 0; }
.faq h3 { font-size: 18px; margin: 32px 0 6px; letter-spacing: -0.01em; }
.faq p { margin: 0; color: var(--muted); }

/* docs, privacy, terms */
.doc { padding-bottom: 72px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 56px 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin: 44px 0 10px; }
.doc p, .doc li { color: #2f3135; }
.doc li { margin: 4px 0; }

/* labs index */
.labs-hero { padding: 88px 24px 8px; }
.labs-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 20px; max-width: 860px; }
.labs-hero h1 span { color: var(--orange); }
.labs-hero .lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 680px; margin: 0; }
section.featured { border-top: 0; padding-top: 56px; }
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.feature:hover, .feature:focus-within { border-color: #e6c3a0; box-shadow: 0 30px 60px -30px rgba(60,30,0,.35); }
.feature figure { margin: 0; background: linear-gradient(135deg, #fff1df, #fbe3ef); display: grid; place-items: center; padding: 28px; }
.feature figure img { border-radius: 10px; box-shadow: 0 16px 32px -16px rgba(60,30,0,.4); }
.feature-text { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.feature .head { display: flex; align-items: center; gap: 14px; }
.feature .head { margin: 0; }
.feature .head img { width: auto; height: 44px; }
.feature h3 { margin: 0; font-size: 30px; letter-spacing: -0.025em; }
.feature p { margin: 0; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 6px; border-radius: 2px; background: var(--redact); }
.more { margin-top: auto; font-weight: 650; color: var(--orange-d); text-decoration: none; }
.more::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform .2s; }
.feature:hover .more::after, .more:focus-visible::after { transform: translateX(4px); }
.next { color: var(--muted); margin: 28px 0 0; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature-text { padding: 26px; } .labs-hero { padding-top: 56px; } }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
footer nav { margin-left: auto; display: flex; gap: 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .versus, .use, .use:nth-child(even), ul.redacted { grid-template-columns: 1fr; }
  .use:nth-child(even) figure { order: 0; }
  .use { gap: 20px; }
  .uses { gap: 56px; }
  .callout { display: none; }
  section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 52px; }
  .hero p.lead { font-size: 18px; }
  header.top nav { gap: 16px; font-size: 14px; }
  header.top nav .hide-sm, .brand small { display: none; }
  table.install th { width: 38%; padding-right: 10px; }
  table.install th, table.install td { font-size: 14px; }
  .story { padding: 28px 22px; }
}

/* get started: numbered steps, the same badge the tool draws */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 40px; max-width: 820px; }
ol.steps li { counter-increment: step; position: relative; padding-left: 60px; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
ol.steps h3 { margin: 4px 0 8px; font-size: 21px; letter-spacing: -0.015em; }
ol.steps p { margin: 0 0 12px; color: var(--muted); }
ol.steps pre { margin: 0 0 12px; }
@media (max-width: 600px) { ol.steps li { padding-left: 48px; } ol.steps li::before { width: 30px; height: 30px; font-size: 14px; } }

/* legal page: two parts on one page, reachable as #privacy and #terms */
.doc section.legal { padding: 0; border: 0; scroll-margin-top: 84px; }
.doc section.legal + section.legal { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.doc section.legal h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 8px; }
.doc section.legal h3 { font-size: 20px; letter-spacing: -0.01em; margin: 32px 0 8px; }
section[id] { scroll-margin-top: 64px; }

/* placement comparison under the use cases */
.aside-shot { margin-top: 72px; display: grid; gap: 16px; }
.aside-shot figure { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.aside-shot p { color: var(--muted); margin: 0; max-width: 760px; }
.aside-shot strong { color: var(--ink); }
.story figure { margin: 20px 0; }
.story figure img { border-radius: 10px; box-shadow: 0 12px 28px -14px rgba(60,30,0,.35); }
.story figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* grid and flex children may shrink below their content (long code lines scroll inside pre) */
ol.steps li, .use > *, .versus > *, .feature > *, .aside-shot > * { min-width: 0; }

/* hub groups and the small type line above each tool name */
h2.group { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; margin: 0 0 22px; }
.feature h3.head { margin: 0; }
.disclosure { color: var(--muted); font-size: 14px; margin: 24px 0 0; max-width: 760px; }

/* icons from the sprite inherit text color */
.ico { width: 18px; height: 18px; flex: none; }
.with-ico { display: inline-flex; align-items: center; gap: 7px; }
.with-ico .ico { width: 16px; height: 16px; }

/* shopping products: one card per brand, its channels inside */
section.also { padding-top: 64px; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.product { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; min-width: 0; }
.product-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.product-head img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 16px -8px rgba(60,30,0,.45); }
.product-head h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.product-head p { margin: 2px 0 0; color: var(--muted); }
.channel { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.channel > p { margin: 0; color: var(--muted); }
.channel strong { color: var(--ink); font-weight: 650; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
a.store { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border: 1px solid #d6d6dc; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; background: #fff; transition: border-color .15s, background .15s; }
a.store:hover { border-color: var(--ink); background: var(--paper); }
.web-tools { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.web-tools li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.web-tools a { font-weight: 650; }
.web-tools span { color: var(--muted); font-size: 15px; }
.disclosure { color: var(--muted); font-size: 14px; margin: 28px 0 0; max-width: 760px; }
.next { margin-top: 20px !important; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } .product { padding: 22px; } }
