/* agent-mot.css: page-specific rules for /agent-mot only. Tokens, reset,
   nav, footer, the skip link and the reveal-line/count/plane/stack
   primitives all come from site.css, loaded before this file. Sections:
   2 hero (planes, scrim, copy block); 3 section chrome shared by every
   content block (prose, pull-quote, promise, price, who-card); 4 the
   checklist device (self-ticking, JS in agent-mot.js); 5 verdict tags;
   6 FAQ; 7 closing. */

/* --------------------------------------------------------------- 2. hero
   Three planes behind the copy: the generated far image, a thin cyan
   horizon arc (mid), and a dark near arc whose top edge overlaps the
   bottom of the CTA block by 8px (same trick as the homepage hero:
   plane-near's height is the hero's own padding-bottom + 8, so with no
   min-height forcing extra space, the arc's top edge always lands 8px
   above where the content naturally ends). z-index: plane-far behind
   everything (0), scrim + plane-mid + plane-near as one background group
   (1, paint order by DOM position), hero-inner on top (2) -- copy always
   wins, the near arc only ever shows through empty space beside it. */
.hero { padding: 72px 0 104px; border-bottom: 1px solid var(--border); }
.hero .plane-far { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10,14,26,.90) 0%, rgba(10,14,26,.78) 28%, rgba(10,14,26,.50) 52%,
    rgba(10,14,26,.16) 68%, rgba(10,14,26,0) 74%);
}
/* Below 861px the copy block runs full-width over the image (not
   right-aligned into its own clear area, see .hero-inner below), so the
   standfirst paragraph reaches far enough down to sit over the lamp's
   lime tag. Hold more opacity for longer before the same fade-out. */
@media (max-width: 860px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(10,14,26,.92) 0%, rgba(10,14,26,.84) 30%, rgba(10,14,26,.68) 50%,
      rgba(10,14,26,.44) 66%, rgba(10,14,26,.14) 80%, rgba(10,14,26,0) 90%);
  }
}
.hero .plane-mid { height: 320px; z-index: 1; }
.hero .plane-mid svg { display: block; width: 100%; height: 100%; }
.hero .plane-near { height: 112px; z-index: 1; }
.hero .plane-near svg { display: block; width: 100%; height: 100%; }

.hero-inner { position: relative; z-index: 2; max-width: 620px; }
@media (min-width: 861px) { .hero-inner { margin-left: auto; } }

.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero .sub { font-size: 18px; line-height: 1.6; color: var(--text); opacity: 0.86; max-width: 520px; margin-bottom: 30px; }

.hero-cta .cross-link { margin: 12px 0 0; font-size: 14px; color: var(--text); opacity: 0.72; }
.hero-cta .cross-link a { color: var(--cyan); }

/* Lime cap (brandbook: under 2% of the first view at 390): the shared
   mobile .btn-lime put this button at 3.51% of the 390 first view, the
   highest in the batch (the longest CTA label). Same fix the shipped
   homepage already uses on its own hero CTA (index.html's inline style,
   same breakpoint): hide a descriptive word, not the whole button's
   type/padding, so "Buy · £497" reads clean and the control keeps the
   standard size. The full label stays for every wider reader. */
@media (max-width: 600px) {
  .hero-cta .btn-lime .long { display: none; }
}

/* ---------------------------------------------- 3. shared section chrome */
section.block { padding: 96px 0; border-bottom: 1px solid var(--border); }
section.block:last-of-type { border-bottom: none; }
@media (max-width: 780px) { section.block { padding: 64px 0; } }

.prose strong { font-style: normal; color: var(--text); }
.deck { color: var(--text-dim); font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0 0 40px; }

.prose { max-width: 720px; }
.prose p { color: var(--text-dim); font-size: 16.5px; line-height: 1.7; margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose p strong { color: var(--text); }

.pull {
  margin: 26px 0 0; padding: 16px 20px; border-left: 3px solid var(--cyan);
  background: rgba(0,227,228,.06); border-radius: 0 16px 16px 0;
  font-size: 16.5px; line-height: 1.6; color: var(--text); font-weight: 600;
}

.promise-block {
  max-width: 720px; padding: 22px 26px; border-left: 3px solid var(--cyan);
  background: rgba(0,227,228,.06); border-radius: 0 16px 16px 0;
}
.promise-block p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--text); font-weight: 600; }

.price-block {
  margin-top: 8px; background: var(--surface); border: 1px solid var(--cyan);
  border-radius: 16px; padding: 34px 36px; max-width: 720px;
}
.price-block .figure { font: 700 46px/1 'JetBrains Mono', monospace; color: var(--cyan); margin: 0 0 16px; letter-spacing: -0.02em; }
.price-block p { margin: 0; color: var(--text-dim); font-size: 15.5px; line-height: 1.65; }

.who-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 30px 32px; max-width: 820px; }
.who-card p { margin: 0; color: var(--text-dim); font-size: 15.5px; line-height: 1.7; }

/* ----------------------------------------------- 4. the self-ticking
   checklist. Real check items already on the page; a lime-read tick
   lands on each one as the reader scrolls (agent-mot.js), one tick per
   80px of scroll once the list starts entering view. Reduced motion (or
   no JS) shows every tick already landed -- ticks are inline SVG
   checkmarks, not an icon font. */
.check-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 40px; max-width: 820px; }
.check {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 64px 24px 26px; display: grid;
  grid-template-columns: 60px 1fr; gap: 20px; align-items: start;
  transition: border-color .25s;
}
.check:hover { border-color: var(--cyan); }
.check .cnum { font: 600 12px 'JetBrains Mono', monospace; color: var(--cyan); letter-spacing: 0.08em; padding-top: 3px; }
.check h3 { font: 600 17.5px/1.32 Inter, sans-serif; color: var(--text); margin: 0 0 8px; letter-spacing: -0.01em; }
.check p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 560px) { .check { grid-template-columns: 1fr; gap: 8px; padding: 22px 52px 22px 22px; } }

.check-tick {
  position: absolute; top: 20px; right: 20px; width: 28px; height: 28px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); background: var(--navy);
  transition: border-color .3s ease, background-color .3s ease;
}
.check-tick svg path {
  stroke-dasharray: 28; stroke-dashoffset: 28;
  transition: stroke-dashoffset .4s ease;
}
.check.is-ticked .check-tick { border-color: var(--lime-read); background: color-mix(in oklab, var(--lime-read) 14%, var(--navy)); }
.check.is-ticked .check-tick svg path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .check-tick { transition: none; }
  .check-tick svg path { transition: none; }
}

/* --------------------------------------------------------- 5. verdict tags
   Pass: solid cyan fill (the "data" accent, not lime -- lime stays the
   mark and the one CTA only). Advisory: cyan tint outline. Fault: neutral. */
.verdict-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; max-width: 920px; }
@media (max-width: 820px) { .verdict-grid { grid-template-columns: 1fr; } }
.verdict { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.verdict .vtag { display: inline-block; font: 600 10.5px 'JetBrains Mono', monospace; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 11px; border-radius: 8px; margin-bottom: 14px; }
.verdict.pass .vtag { color: var(--ink); background: var(--cyan); }
.verdict.advisory .vtag { color: var(--cyan); background: rgba(0,227,228,.10); border: 1px solid var(--cyan); }
.verdict.fault .vtag { color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.verdict p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.62; }

/* --------------------------------------------------------------- 6. FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--border); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; line-height: 1.4;
  color: var(--text); display: flex; justify-content: space-between; align-items: center;
  gap: 24px; font-weight: 600; letter-spacing: -0.01em; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px Inter, sans-serif; color: var(--cyan); flex-shrink: 0; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--cyan); }
.faq .answer { padding: 0 0 24px; color: var(--text-dim); font-size: 15.5px; line-height: 1.7; max-width: 760px; }

/* ---------------------------------------------------------- 7. closing */
.closing { text-align: center; padding: 104px 0; }
.closing h2 { margin: 0 auto 20px; max-width: none; }
.closing p { color: var(--text-dim); font-size: 17px; line-height: 1.65; max-width: 620px; margin: 0 auto 30px; }
@media (max-width: 780px) { .closing { padding: 72px 0; } }
