/* ───────────────────────────────────────────────────────────────
   Annoteer landing page.
   Committed dark identity — deliberate, not an omission. It matches
   the product surface, the Teams dark theme most users run, and the
   existing help/privacy/terms pages, which are all dark-valued too.
   Every colour is painted explicitly so the page holds on any host
   background rather than borrowing one.
   ─────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;

  /* Ground + surfaces: near-black biased toward the brand indigo,
     so the neutral reads as chosen rather than inherited grey. */
  --bg: #0f0f1a;
  --bg-sunken: #0b0b14;
  --surface: #16162a;
  --surface-2: #1a1a2e;
  --rule: #2a2a3e;

  --fg: #e5e7eb;
  --fg-muted: #9ca3af;
  --fg-dim: #6b7280;

  --brand: #4f46e5; /* the product mark */
  --brand-lift: #818cf8; /* legible on dark ground */

  /* Ink — the annotation palette, used only where the page is
     imitating a mark someone made. Never as generic decoration. */
  --ink-amber: #facc15;
  --ink-coral: #f87171;
  --ink-mint: #34d399;

  --font-display:
    'Segoe UI Semibold', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Cascadia Code', 'Cascadia Mono', Consolas, ui-monospace, monospace;

  --spine: 1080px;
  --pad: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.spine {
  max-width: var(--spine);
  margin-inline: auto;
  padding-inline: var(--pad);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(27px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.012em;
}
p {
  margin: 0;
}

a {
  color: var(--brand-lift);
  text-decoration-color: color-mix(in srgb, var(--brand-lift) 40%, transparent);
  text-underline-offset: 3px;
}
a:hover {
  color: #a5b4fc;
}

:focus-visible {
  outline: 2px solid var(--brand-lift);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-lift);
  margin: 0;
}

/* ── Section rhythm ───────────────────────────────────────────── */
/* One selector owns vertical spacing between bands so nothing
   fights over margins further down the cascade. */
.band {
  padding-block: clamp(64px, 9vw, 108px);
}
/* Clear the sticky masthead so an anchor jump doesn't park the
   section heading underneath it. */
.band[id],
#top {
  scroll-margin-top: 84px;
}
.band + .band {
  border-top: 1px solid var(--rule);
}
.band__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 60ch;
}

/* ── Header ───────────────────────────────────────────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
}
.masthead nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.masthead nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 15px;
}
.masthead nav a:hover {
  color: var(--fg);
}
@media (max-width: 720px) {
  .masthead nav .nav-hide {
    display: none;
  }
}
.masthead .btn {
  white-space: nowrap;
  gap: 0.3em;
}
@media (max-width: 540px) {
  .masthead .btn-long {
    display: none;
  }
}
/* Below this the CTA is the only thing that still earns header space;
   keeping the text links would wrap the button out of the masthead. */
@media (max-width: 540px) {
  .masthead nav a:not(.btn) {
    display: none;
  }
  .masthead nav {
    gap: 0;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.14s ease,
    background-color 0.14s ease,
    border-color 0.14s ease;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset;
}
.btn--primary:hover {
  background: #5b52ea;
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--rule);
}
.btn--ghost:hover {
  border-color: var(--fg-dim);
  color: var(--fg);
  transform: translateY(-1px);
}
.btn--sm {
  padding: 9px 16px;
  font-size: 15px;
  border-radius: 9px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
/* No max-width here: the H1 sets its own break with an explicit <br>,
   and clamping the container was fragmenting both it and the eyebrow. */
.hero__copy {
  max-width: 100%;
}
.hero h1 {
  margin-bottom: 22px;
}
/* The highlight behind "collaborating" is drawn as a marker swipe —
   the same gesture the product performs on a document. */
.swipe {
  position: relative;
  white-space: nowrap;
}
.swipe > span {
  position: relative;
  z-index: 1;
}
.swipe::after {
  content: '';
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.38em;
  background: color-mix(in srgb, var(--ink-amber) 34%, transparent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: swipe-in 0.5s cubic-bezier(0.22, 0.9, 0.3, 1) 0.5s forwards;
}
@keyframes swipe-in {
  to {
    transform: scaleX(1);
  }
}

.hero__lede {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--fg-muted);
  max-width: 56ch;
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero__note {
  font-size: 14.5px;
  color: var(--fg-dim);
  margin-top: 16px;
}

/* ── Annotated hero figure ────────────────────────────────────── */
.stage {
  position: relative;
  margin-top: clamp(40px, 5vw, 60px);
}
.stage__frame {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-sunken);
  box-shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.9);
}
.stage__frame img,
.stage__frame video {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .swipe::after {
    animation: none;
    transform: scaleX(1);
  }
  .btn {
    transition: none;
  }
}

/* ── Problem ──────────────────────────────────────────────────── */
.beats {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 780px) {
  .beats {
    grid-template-columns: repeat(3, 1fr);
  }
}
.beat {
  background: var(--surface);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.beat__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.beat p {
  color: var(--fg-muted);
  font-size: 15.5px;
}
.beat strong {
  color: var(--fg);
  font-weight: 600;
}

/* ── Claims ───────────────────────────────────────────────────── */
.claims {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}
@media (min-width: 860px) {
  .claims {
    grid-template-columns: repeat(3, 1fr);
  }
}
.claim {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.claim__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--brand) 20%, transparent);
  color: var(--brand-lift);
  margin-bottom: 3px;
}
.claim__icon svg {
  width: 18px;
  height: 18px;
}
.claim p {
  color: var(--fg-muted);
  font-size: 15.5px;
}
.claim ul {
  margin: 4px 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.claim li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ── Shots ────────────────────────────────────────────────────── */
.shots {
  display: grid;
  gap: 22px;
  margin-top: 44px;
}
@media (min-width: 860px) {
  .shots {
    grid-template-columns: 1fr 1fr;
  }
}
.shot {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shot figure {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-sunken);
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.shot figcaption {
  font-size: 15px;
  color: var(--fg-muted);
}
.shot figcaption b {
  color: var(--fg);
  font-weight: 600;
}

/* ── Use cases ────────────────────────────────────────────────── */
.cases {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.case {
  background: var(--bg);
  padding: 20px 4px;
  display: grid;
  gap: 4px;
}
@media (min-width: 780px) {
  .case {
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: baseline;
  }
}
.case__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: var(--fg);
}
.case p {
  color: var(--fg-muted);
  font-size: 15.5px;
}

/* ── Pricing ──────────────────────────────────────────────────── */
/* One card, standing alone. The absence of a tier ladder is the
   argument, so the layout has to look deliberate, not unfinished. */
.price-wrap {
  margin-top: 44px;
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .price-wrap {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}
.price {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--rule));
  border-radius: 16px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price__amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
}
.price__amount b {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price__amount span {
  color: var(--fg-muted);
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 400;
}
.price__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.price__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--fg-muted);
}
.price__list svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  color: var(--ink-mint);
}
.price__list b {
  color: var(--fg);
  font-weight: 600;
}
.price__foot {
  font-size: 13.5px;
  color: var(--fg-dim);
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aside__card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aside__card p {
  color: var(--fg-muted);
  font-size: 15px;
}

/* ── Closing CTA ──────────────────────────────────────────────── */
.close {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.close h2 {
  max-width: 18ch;
}
.close p {
  color: var(--fg-muted);
  max-width: 52ch;
}
.close .hero__actions {
  justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--rule);
  background: var(--bg-sunken);
  padding-block: 40px;
  font-size: 14.5px;
}
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: flex-start;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}
.foot a {
  color: var(--fg-muted);
  text-decoration: none;
}
.foot a:hover {
  color: var(--fg);
  text-decoration: underline;
}
.foot__legal {
  color: var(--fg-dim);
  font-size: 13px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

/* ── Guide pages (/annotate-pdf-in-teams-meeting/ and siblings) ── */
/* Long-form reading pages: one column, prose measure, same tokens. */
.guide {
  padding-block: clamp(48px, 7vw, 88px);
}
.guide__inner {
  max-width: 70ch;
}
.guide h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.1;
  margin-top: 16px;
}
.guide__lede {
  color: var(--fg-muted);
  font-size: 19px;
  margin-top: 20px;
}
.guide h2 {
  font-size: clamp(23px, 2.6vw, 28px);
  margin-top: 52px;
}
.guide h3 {
  margin-top: 28px;
}
.guide p,
.guide ul,
.guide ol {
  margin-top: 14px;
}
.guide ul,
.guide ol {
  padding-left: 22px;
}
.guide li + li {
  margin-top: 6px;
}
.guide li::marker {
  color: var(--brand-lift);
}
.guide figure {
  margin: 28px 0 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.guide figure img {
  display: block;
  width: 100%;
  height: auto;
}
.guide figcaption {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--fg-muted);
  border-top: 1px solid var(--rule);
}
.guide .note {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brand-lift);
  border-radius: 10px;
  background: var(--surface);
  color: var(--fg-muted);
}
.guide .note strong {
  color: var(--fg);
}
.guide .hero__actions {
  margin-top: 28px;
}
.guide .guide-list,
.guide-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.guide-list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--surface);
  text-decoration: none;
  color: var(--fg);
}
.guide-list a:hover {
  border-color: var(--brand-lift);
  color: var(--fg);
}
.guide-list span {
  display: block;
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.guide code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 5px;
}
.foot__guides {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 14px;
}
.foot__guides span {
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: center;
}
