/* Vinny — the public marketing site.
 *
 * A standalone static site for Cloudflare Pages. No build step, no framework, no JavaScript,
 * no web font. It is dragged into Pages as a folder and it works.
 *
 * The palette is the app's palette, so a buyer who follows the number and later opens a
 * report does not arrive somewhere that looks like a different company:
 *   ink #14181f · muted #5b6472 · hairline #dfe3e9 · accent #a3200f
 *
 * The accent is rationed. It marks the two things a reader is here to find — the phone
 * number and the price — and nothing else.
 */

:root {
  --ink: #14181f;
  --muted: #5b6472;
  --line: #dfe3e9;
  --accent: #a3200f;
  --wash: #f7f8fa;
  --gutter: 1.5rem;
  --measure: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 var(--gutter) 5rem;
  font:
    16px/1.6 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--ink);
  background: #fff;
  /* Kerning and ligatures on, because the whole design is type. */
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
}

/* --- chrome --------------------------------------------------------------- */

header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  color: var(--muted);
  font-weight: 400;
}

header.site nav {
  font-size: 0.875rem;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* --- type ----------------------------------------------------------------- */

h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 3rem 0 1rem;
  max-width: 22ch;
}

h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

p {
  margin: 0 0 1rem;
  max-width: 62ch;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
}

.small {
  font-size: 0.875rem;
  color: var(--muted);
}

section {
  padding: 3.25rem 0 0;
}

section + section {
  border-top: 1px solid var(--line);
  margin-top: 3.25rem;
}

/* --- the two things a reader came for ------------------------------------- */

.callout {
  margin: 2rem 0 2.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
}

.number {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  text-decoration: none;
  margin: 0 0 0.25rem;
}

.number:hover {
  text-decoration: underline;
}

.price {
  font-size: 1.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
}

/* --- the numbered walk-through -------------------------------------------- */

ol.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.5rem 2.75rem;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--line);
}

ol.steps p {
  margin: 0;
  color: var(--muted);
}

ol.steps li:last-child {
  padding-bottom: 0;
}

/* --- plain feature list --------------------------------------------------- */

ul.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.checks li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

ul.checks li:first-child {
  border-top: 1px solid var(--line);
}

ul.checks b {
  font-weight: 600;
}

ul.checks span {
  color: var(--muted);
}

/* --- the compliance panel -------------------------------------------------
   A reviewer reads this section, not the hero. It is set as a definition list
   so each rule sits on its own line and can be scanned in one pass. */

.terms {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.5rem 1.5rem 0.5rem;
}

dl {
  margin: 0;
}

dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.3rem;
}

dd {
  margin: 0 0 1.4rem;
  max-width: 62ch;
}

dd:last-of-type {
  margin-bottom: 1rem;
}

code.kw {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  letter-spacing: 0.02em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.05em 0.35em;
}

/* --- footer --------------------------------------------------------------- */

footer.site {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

footer.site p {
  max-width: 70ch;
}

footer.site .legal {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* --- wider screens --------------------------------------------------------
   Mobile is the default above. This is the only breakpoint: the layout is one
   column at every width, so all that changes is the scale of the type. */

@media (min-width: 44rem) {
  body {
    padding-bottom: 6rem;
  }

  h1 {
    font-size: 2.625rem;
    margin-top: 4rem;
  }

  .lead {
    font-size: 1.1875rem;
  }

  .number,
  .price {
    font-size: 2rem;
  }
}
