/* slycer.ai landing (site element, plan T10): the ledger in design's hero and the four sections after it, in
   landing-composition's chosen order (launch/site/choices/landing-composition/chosen.md). Built on a's page sheet and
   c's route sheet. Colours, type, space and rules only from web/design/tokens.css; no colour is written in here.
   Unlayered, so it sits over design's @layer components where the two meet (the hero's grid areas). */

/* ---- The hero: the ledger heads the left column from 1024 px; below that it follows the dek ------------------ */
/* One static light in the hero's top right, the redesign's aurora without its motion, under colourless grain. It
   sits behind the content (z-index -1 in the hero's own stacking context) and takes no pointer. */
.lp-hero {
  position: relative;
  isolation: isolate;
}
.lp-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--space-7)) calc(-1 * var(--gutter)) auto 35%;
  height: 34rem;
  /* closest-side: the light fades out inside its own box, so no edge of the box shows at any width. */
  background-image: radial-gradient(closest-side at 62% 45%, color-mix(in srgb, var(--green) 14%, transparent),
    transparent);
  pointer-events: none;
}
.lp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--space-7)) calc(-1 * var(--gutter)) auto;
  height: 34rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
  mask-image: radial-gradient(closest-side at 70% 40%, var(--ground), transparent);
  pointer-events: none;
}
.hero__ledger {
  min-width: 0;
}
.lp-hero .hero__ask {
  align-content: start;
}
/* Table 1 sits in a hairline frame, the redesign's mockup frame, on the black ground. */
.lp-hero .hero__table {
  padding: var(--space-5);
  border: var(--hairline);
}
@media (max-width: 767px) {
  .lp-hero::before {
    left: calc(-1 * var(--gutter));
    height: 26rem;
  }
}
@media (max-width: 599px) {
  .lp-hero .hero__table {
    padding: var(--space-4) var(--space-3);
  }
}
/* The hero body's own top rule is the ledger's: no second rule under it. */
.lp-ledger {
  display: grid;
  margin: 0;
}
.lp-ledger > div {
  display: grid;
  align-content: start;
  gap: var(--space-1);
  padding: 0 0 var(--space-3);
  border-bottom: var(--hairline);
}
.lp-ledger > div + div {
  padding-top: var(--space-3);
}
.lp-ledger > div:last-child {
  border-bottom: 0;
}
.lp-ledger dt {
  font: var(--type-label-12-mono);
  font-variant-numeric: var(--figures-table);
  color: var(--ink-faint);
}
.lp-ledger dd {
  margin: 0;
}
.lp-ledger dd > p {
  margin: 0;
}
/* Two figures in display type, the count and the price; everything else in the UI size. */
.lp-figure[data-figure="count"] .source-count__figure {
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
  color: var(--ink-soft);
}
.lp-figure[data-figure="count"] .source-count__n,
.lp-price .lp-figure {
  display: block;
  font: var(--type-display-64);
  font-family: var(--font-mono);
  font-variant-numeric: var(--figures-table);
  letter-spacing: -0.05em;
  color: var(--foreground);
}
.lp-figure[data-figure="count"] .source-count__terms {
  margin-top: var(--space-2);
}
.lp-runs {
  max-width: var(--measure);
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
  color: var(--foreground);
}
.lp-price {
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
  color: var(--ink-soft);
}
.lp-ledger .hero__actions {
  margin: var(--space-3) 0 var(--space-2);
}
@media (min-width: 1024px) {
  .lp-hero .hero__body {
    grid-template-rows: auto 1fr;
    grid-template-areas: "ledger table" "ask table";
  }
  .hero__ledger {
    grid-area: ledger;
  }
  /* Count and price side by side above the "where it runs" line, so the price sits inside the first screen. */
  .lp-ledger {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--space-5);
  }
  .lp-ledger > div:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .lp-ledger > div[data-price-line] {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
    border-bottom: var(--hairline);
  }
}

/* ---- Section frame: a kicker, the heading, the lede, a heavy rule under -------------------------------------- */
.lp-section {
  margin-top: var(--space-9);
  scroll-margin-top: calc(var(--nav-height) + var(--space-4));
}
.lp-head {
  display: grid;
  gap: var(--space-3);
  padding-bottom: var(--space-6);
  border-bottom: var(--hairline);
}
.lp-head h2 {
  margin: 0;
  max-width: 14em;
  font: var(--type-display-64);
  font-variant-numeric: var(--figures-text);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}
/* A small mono label with a green tick, the way the redesign marks a section. */
.lp-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: var(--type-label-12-mono);
  font-variant-numeric: var(--figures-table);
  color: var(--ink-soft);
}
.lp-kicker::before {
  content: "";
  flex: none;
  width: 8px;
  height: 2px;
  background-color: var(--green);
}
.lp-lede {
  max-width: var(--measure);
  margin: 0;
  font: var(--type-copy-18);
  font-variant-numeric: var(--figures-text);
  color: var(--ink-soft);
}
@media (min-width: 1024px) {
  .lp-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "kicker kicker" "title lede";
    column-gap: var(--space-7);
    align-items: start;
  }
  .lp-kicker { grid-area: kicker; }
  .lp-head h2 { grid-area: title; }
  .lp-lede { grid-area: lede; }
}
.lp-subhead {
  margin: var(--space-7) 0 var(--space-3);
  font: var(--type-heading-22);
  font-variant-numeric: var(--figures-text);
}

/* ---- #how: one column per route; the five facts line up across them through subgrid -------------------------
   Below 768 px each route is its own ruled block; 768 to 1023 px two side by side; from 1024 px one equal column
   per route across the full row (two today, three once Claude on the web is a route), and every fact row shares
   one height, so "Agency keys" sits level in each column. */
.lp-routes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-route {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
  padding: var(--space-5) 0 var(--space-6);
  border-bottom: var(--rule-1);
  scroll-margin-top: calc(var(--nav-height) + var(--space-4));
  transition: background-color var(--dur-2) var(--ease);
}
/* A cell lights its top edge green under the pointer: a designed state instead of a shadow. A jump link from the
   ledger lands here with the raised ground and the same green edge, no script. */
.lp-route:hover {
  background-color: var(--surface);
  box-shadow: inset 0 1px 0 var(--green);
}
.lp-route:target {
  background-color: var(--accent);
  box-shadow: inset 0 2px 0 var(--green);
}
.lp-route__head {
  display: grid;
  gap: var(--space-1);
  align-content: start;
}
.lp-route__where {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  font: var(--type-label-12-mono);
  font-variant-numeric: var(--figures-table);
  color: var(--ink-soft);
}
/* A filled square on your computer, an open one on Slycer's hosted server: shape and word, never colour alone. */
.lp-route__where::before {
  content: "";
  width: 9px;
  height: 9px;
  background-color: var(--foreground);
  border: 1.5px solid var(--foreground);
}
.lp-route[data-where="server"] .lp-route__where::before {
  background-color: transparent;
}
.lp-route__head h3 {
  margin: 0;
  font: var(--type-heading-22);
  font-variant-numeric: var(--figures-text);
}
.lp-route__also {
  margin: 0;
  font: var(--type-note-13);
  font-variant-numeric: var(--figures-text);
  color: var(--ink-faint);
}
.lp-route__status {
  justify-self: start;
  margin: var(--space-1) 0 0;
  padding: 1px var(--space-2);
  border: 1px dashed var(--status-idle);
  border-radius: var(--radius-2);
  font: var(--type-label-13);
  font-variant-numeric: var(--figures-table);
  color: var(--status-idle);
}
.lp-facts {
  display: grid;
  margin: 0;
}
.lp-facts > div {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: var(--space-3) 0;
  border-top: var(--hairline);
}
.lp-facts dt {
  font: var(--type-label-12-mono);
  font-variant-numeric: var(--figures-table);
  color: var(--ink-faint);
}
.lp-facts dd {
  margin: 0;
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
}
.lp-route code,
.lp-install code {
  font: var(--type-label-13-mono);
  font-variant-numeric: var(--figures-table);
  overflow-wrap: anywhere;
}
.lp-route__go {
  margin: 0;
  padding-top: var(--space-3);
  border-top: var(--hairline);
  font: var(--type-ui-15);
}
@media (min-width: 768px) and (max-width: 1023px) {
  .lp-routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-6);
  }
}
@media (min-width: 1024px) {
  .lp-routes {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-rows: auto repeat(5, auto) auto;
  }
  .lp-route {
    grid-row: span 7;
    grid-template-rows: subgrid;
    gap: 0;
    padding: var(--space-5) var(--space-4);
    border-left: var(--hairline);
  }
  .lp-route:first-child {
    border-left: 0;
    padding-left: 0;
  }
  .lp-route:target:first-child {
    padding-left: var(--space-3);
  }
  .lp-route__head {
    padding-bottom: var(--space-4);
  }
  .lp-facts {
    grid-row: span 5;
    grid-template-rows: subgrid;
  }
}
.lp-after,
.lp-notes p,
.lp-from {
  max-width: var(--measure);
  margin: var(--space-4) 0 0;
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
  color: var(--ink-soft);
}

/* What leaves your computer: a ruled table; below 768 px each row stacks with its column names. */
.lp-paths {
  width: 100%;
  border-collapse: collapse;
  border-top: var(--rule-2);
  border-bottom: var(--rule-1);
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
}
.lp-paths th,
.lp-paths td {
  padding: var(--space-3) var(--space-3) var(--space-3) 0;
  text-align: left;
  vertical-align: top;
  border-top: var(--hairline);
}
.lp-paths thead th {
  font: var(--type-label-12-mono);
  color: var(--ink-faint);
  border-top: 0;
}
.lp-paths td:last-child {
  color: var(--foreground);
}
@media (max-width: 767px) {
  .lp-paths thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .lp-paths tr,
  .lp-paths th,
  .lp-paths td {
    display: block;
  }
  .lp-paths tbody tr {
    padding: var(--space-3) 0;
    border-top: var(--rule-1);
  }
  .lp-paths tbody th {
    font: var(--type-title-19);
    border-top: 0;
  }
  .lp-paths td {
    padding: var(--space-2) 0;
  }
  .lp-paths td::before {
    content: attr(data-label);
    display: block;
    font: var(--type-label-13);
    color: var(--ink-faint);
  }
}

/* ---- #checks: Table 2 and the tally beside it ------------------------------------------------------------------ */
.lp-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-5);
}
@media (min-width: 1024px) {
  .lp-proof {
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
    column-gap: var(--space-7);
  }
}
.lp-proof-table tbody th {
  min-width: 14rem;
  white-space: normal;
}
.lp-src {
  display: block;
  font: var(--type-label-13);
  font-variant-numeric: var(--figures-table);
  color: var(--ink-soft);
}
.lp-proof-table .series-id {
  display: block;
}
.lp-unit {
  display: block;
  font: var(--type-note-13);
  color: var(--ink-soft);
}
/* Table 2's Claude web column, built once the web allowlist is in the checkout (D690; web T24): a word, not a
   figure, so it reads as a note beside the numbers, set off from Period's right-aligned figures by the gap the
   design puts before a figure column (series-table .num). */
.lp-proof-table .lp-web {
  padding-left: var(--space-5);
  white-space: nowrap;
}
.lp-proof-table td.lp-web {
  font: var(--type-note-13);
  color: var(--ink-soft);
}
@media (max-width: 480px) {
  .lp-proof-table .lp-web {
    padding-left: var(--space-3);
  }
}
/* On a phone the request column gives up its width so Slycer's value and the agency's sit in view beside it, and each
   ID breaks at its one mark, as Table 1's do (design's series-table--ids-in-source rule; Table 2 does not take that
   class, which also asks every column to fit: its Period column may sit behind the frame's fade). T17, T18
   generated-look read tell 1. */
@media (max-width: 480px) {
  .lp-proof-table tbody th {
    min-width: 11rem;
  }
  .lp-proof-table .series-id {
    white-space: normal;
  }
  .lp-proof-table .series-id__brk {
    display: inline;
  }
}
.lp-tally {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: var(--rule-1);
}
.lp-tally p {
  margin: 0;
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
  color: var(--ink-soft);
}
.lp-tally .lp-tally__n {
  font: var(--type-display-64);
  font-family: var(--font-mono);
  font-variant-numeric: var(--figures-table);
  letter-spacing: -0.05em;
  color: var(--green);
}
.lp-states {
  display: grid;
  margin: 0;
}
.lp-states > div,
.lp-answers tr {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-top: var(--hairline);
}
.lp-states dt,
.lp-answers th {
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
  font-weight: inherit;
  text-align: left;
  color: var(--ink-soft);
}
.lp-states dd,
.lp-answers td {
  margin: 0;
  font: var(--type-data-15-mono);
  font-variant-numeric: var(--figures-table);
  color: var(--foreground);
}
.lp-answers {
  display: block;
  width: 100%;
  margin-top: var(--space-3);
  border-collapse: collapse;
}
.lp-answers caption {
  display: block;
  padding-bottom: var(--space-2);
  text-align: left;
  font: var(--type-label-12-mono);
  color: var(--ink-faint);
}
.lp-answers tbody {
  display: block;
}

/* ---- #checkout and #install ---------------------------------------------------------------------------------- */
#checkout .price-sheet {
  margin-top: var(--space-5);
}
.lp-covers {
  display: grid;
  gap: var(--space-3);
  max-width: var(--measure);
  margin-top: var(--space-5);
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
  color: var(--ink-soft);
}
.lp-covers p {
  margin: 0;
}
.lp-install {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-install li {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-3);
  border-bottom: var(--hairline);
}
.lp-install li:hover {
  background-color: var(--surface);
  box-shadow: inset 0 1px 0 var(--green);
}
.lp-install h3 {
  margin: 0;
  font: var(--type-heading-22);
  font-variant-numeric: var(--figures-text);
}
.lp-install p {
  margin: 0;
  font: var(--type-ui-15);
  font-variant-numeric: var(--figures-text);
  color: var(--ink-soft);
}
@media (min-width: 1024px) {
  .lp-install li {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: var(--space-7);
    align-items: baseline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-route {
    transition: none;
  }
}
