/* Launchbench Ltd — launchbench.dev
 *
 * One stylesheet for five static pages. No build step and no framework: the
 * site is text about a company, it changes a few times a year, and anything
 * that needs compiling is a thing that can rot between edits.
 *
 * The look is a ledger, which is what all four products have in common — a
 * record of something, kept over time. Ruled lines rather than cards, tabular
 * figures, and one accent used sparingly.
 */

:root {
  --paper:    #F7F5F0;
  --raised:   #FFFFFF;
  --sunken:   #EFECE5;
  --ink:      #17181A;
  --muted:    #5C6067;
  --faint:    #8A8F96;
  --rule:     #DFDBD2;
  --rule-soft:#EAE7E0;
  --accent:   #2C4A7C;
  --accent-hi:#1F3A64;
  --pending:  #7A5C2E;
  --pending-bg:#F2EADA;

  --display: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --measure: 64ch;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:    #15161A;
    --raised:   #1D1F24;
    --sunken:   #191B1F;
    --ink:      #ECEDEF;
    --muted:    #AAB0B8;
    --faint:    #7C838C;
    --rule:     #33363D;
    --rule-soft:#26282E;
    --accent:   #8FB2E4;
    --accent-hi:#B0CBF0;
    --pending:  #D6B278;
    --pending-bg:#2A2318;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.shell { max-width: 1000px; margin: 0 auto; padding: 0 26px; }

/* ----------------------------------------------------------------- header */

.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--rule);
}

/* Type, not artwork. The logo folder belongs to Odo; putting a product's
   mark in the company header would say the company is the product, on a site
   whose whole job is listing four of them. */
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--accent); }

/* The product's own mark, on the product's own page. */
.product-mark { width: 200px; height: auto; display: block; margin: 0 0 20px; }

nav ul {
  display: flex; flex-wrap: wrap; gap: 4px 22px;
  list-style: none; margin: 0; padding: 0;
}

nav a {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ------------------------------------------------------------------- type */

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 20px;
}

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 0 14px;
}

h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.13rem;
  margin: 0 0 8px;
}

p { margin: 0 0 17px; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hi); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

strong { font-weight: 600; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

/* --------------------------------------------------------------- sections */

section { padding: 56px 0; border-bottom: 1px solid var(--rule-soft); }
section:last-of-type { border-bottom: 0; }
.hero { padding: 76px 0 60px; border-bottom: 1px solid var(--rule-soft); }

/* ----------------------------------------------------------- product rows */

.ledger { border-top: 1px solid var(--rule); margin-top: 28px; }

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.row h3 { margin: 0 0 6px; }
.row h3 a { text-decoration: none; color: var(--ink); }
.row h3 a:hover { color: var(--accent); text-decoration: underline; }
.row p { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 56ch; }

.tag {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
  background: var(--sunken); color: var(--muted);
  border: 1px solid var(--rule);
}
.tag.pending { background: var(--pending-bg); color: var(--pending); border-color: transparent; }

@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .tag { justify-self: start; margin-top: 8px; }
}

/* -------------------------------------------------------------- feature list */

.features { border-top: 1px solid var(--rule); margin-top: 26px; }
.feature { padding: 22px 0; border-bottom: 1px solid var(--rule-soft); }
.feature p { color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------ panels */

.panel {
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 26px 28px;
  margin-top: 28px;
}
.panel h2 { margin-top: 0; }

.price {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline;
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 1.02rem; color: var(--ink);
  margin: 0 0 14px;
}
.price .per { color: var(--faint); font-size: 0.86rem; }

dl { margin: 0; }
dt {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-top: 20px;
}
dt:first-child { margin-top: 0; }
dd { margin: 4px 0 0; }
dd a { word-break: break-word; }

/* ------------------------------------------------------------------ footer */

.site-foot {
  margin-top: 40px;
  padding: 30px 0 60px;
  border-top: 1px solid var(--rule);
  font-size: 0.86rem;
  color: var(--faint);
  line-height: 1.75;
}
.site-foot p { max-width: 78ch; margin: 0 0 10px; }
.site-foot a { color: var(--muted); }

/* The trading disclosures. Companies Act 2006 s.82 and the 2015 Regulations
   require these on the website, in characters readable with the naked eye, and
   breach is a criminal offence. Deliberately larger and higher-contrast than
   the rest of the footer for that reason — it is the one block here that has
   to be legible on a phone rather than merely present. */
.legal {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.legal a { color: var(--muted); }

/* --------------------------------------------------------------- policies */

/* Long-form legal text. Narrower measure than the rest of the site, because
   these are read start to finish by somebody who is already unhappy or already
   suspicious, and a wide line makes that worse. */

.policy { padding: 48px 0 0; border: 0; }
.policy p, .policy li { max-width: 62ch; }

.updated {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 28px;
}

/* Says which product this covers. Launchbench builds four things and they do
   not share a policy, a database, or anything else. */
.scope {
  background: var(--sunken);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 18px 22px;
  margin: 0 0 36px;
}
.scope p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.scope p + p { margin-top: 10px; }

.policy h2 {
  font-size: 1.32rem;
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-soft);
}
.policy h2:first-of-type { border-top: 0; padding-top: 0; }
.policy h3 { font-size: 1.02rem; margin: 26px 0 8px; }

.policy ul, .policy ol { padding-left: 22px; }
.policy li { margin-bottom: 11px; }

/* The short version at the top of the privacy policy: the six things somebody
   would want to know if they read nothing else. */
.summary {
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 24px 28px;
  margin: 0 0 8px;
}
.summary ul { margin: 0; padding-left: 20px; }
.summary li:last-child { margin-bottom: 0; }

/* Numbered clauses, so a support email can cite one. */
.clauses { list-style: none; padding: 0; counter-reset: clause; }
.clauses > li {
  counter-increment: clause;
  margin: 0 0 34px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-soft);
}
.clauses > li:first-child { border-top: 0; padding-top: 0; }
.clauses > li > h2 {
  border: 0; padding-top: 0; margin: 0 0 12px;
  font-size: 1.24rem;
}
.clauses > li > h2::before {
  content: counter(clause) ". ";
  font-family: var(--mono);
  font-size: 0.78em;
  color: var(--accent);
}
