/* Prompt Engineering — single stylesheet, no dependencies, no webfonts. */

:root {
  --ink: #101317;
  --ink-soft: #4a5260;
  --ink-faint: #767f8c;
  --paper: #ffffff;
  --paper-alt: #f6f7f9;
  --line: #e3e6ea;
  --accent: #1a5cff;
  --accent-ink: #0b3ec2;
  --shadow: 0 1px 2px rgba(16,19,23,.06), 0 8px 24px rgba(16,19,23,.06);
  --radius: 14px;
  --measure: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f4f7;
    --ink-soft: #b9c0cb;
    --ink-faint: #8b95a3;
    --paper: #0e1116;
    --paper-alt: #141922;
    --line: #232a36;
    --accent: #6f9bff;
    --accent-ink: #a9c1ff;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff;
  padding: 12px 18px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 18px;
}
header.site nav { padding: 0; }
.brand {
  font-weight: 650; font-size: 16px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
header.site nav { display: flex; align-items: center; gap: 26px; }
header.site nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500;
}
header.site nav a:hover { color: var(--ink); }
@media (max-width: 780px) {
  header.site nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  header.site .wrap { gap: 10px; min-height: 58px; }
  .brand { font-size: 15px; }
  .btn.small { padding: 8px 12px; font-size: 13px; }
  .eyebrow { font-size: 12px; letter-spacing: .06em; }
  section { padding: 56px 0; }
  .finding { padding: 24px 20px 16px; }
  .wrap { padding: 0 20px; }
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 640; }
h1 { font-size: clamp(38px, 6.2vw, 68px); }
h2 { font-size: clamp(27px, 3.6vw, 40px); }
h3 { font-size: 19px; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-underline-offset: 3px; }

.eyebrow {
  font-size: 13px; font-weight: 620; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px;
}
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: var(--measure); }
.section-lede { font-size: 18px; color: var(--ink-soft); max-width: var(--measure); margin-bottom: 40px; }
.fineprint { font-size: 14px; color: var(--ink-faint); line-height: 1.55; }
.fineprint.centre { text-align: center; max-width: 640px; margin: 48px auto 0; }

/* ---------- sections ---------- */

section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

.hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { margin-bottom: 28px; }
.hero .lede + .lede { margin-top: 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 22px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  line-height: 1.25; text-align: center;
  padding: 13px 22px; border-radius: 10px; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-faint); background: var(--paper-alt); }
.btn.small { padding: 9px 15px; font-size: 14px; border-radius: 8px; line-height: 1.25; min-height: 36px; }

/* ---------- grids and cards ---------- */

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid.three, .grid.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid.three, .grid.four { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--ink-faint); margin: 0 0 14px;
}

/* ---------- machine list ---------- */

.parts {
  list-style: none; counter-reset: part; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px;
}
.parts li {
  counter-increment: part; position: relative; padding-left: 46px;
  color: var(--ink-soft); font-size: 16px;
}
.parts li::before {
  content: counter(part);
  position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-alt); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--accent);
}
.parts strong { color: var(--ink); font-weight: 620; }
@media (max-width: 720px) { .parts { grid-template-columns: 1fr; } }

/* ---------- stats ---------- */

.stats { margin-bottom: 48px; }
.stat {
  border-left: 2px solid var(--accent); padding: 4px 0 4px 18px;
}
.stat .big {
  display: block; font-size: clamp(30px, 3.4vw, 40px); font-weight: 660;
  letter-spacing: -0.03em; line-height: 1.1;
}
.stat .cap { display: block; font-size: 14px; color: var(--ink-faint); margin-top: 6px; }

.finding {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 22px; background: var(--paper);
  box-shadow: var(--shadow);
}
.finding ul { margin: 0 0 18px; padding-left: 20px; }
.finding li { margin-bottom: 12px; color: var(--ink-soft); }
.finding li strong { color: var(--ink); }
.finding em { font-style: normal; font-weight: 650; color: var(--accent); }

/* ---------- case ---------- */

.case p { color: var(--ink-soft); max-width: var(--measure); }

/* ---------- pricing ---------- */

.price { display: flex; flex-direction: column; }
.price.featured { border-color: var(--accent); box-shadow: var(--shadow); background: var(--paper); }
.price .amount {
  font-size: 34px; font-weight: 660; letter-spacing: -0.03em; margin: 6px 0 2px;
}
.price .amount span { font-size: 16px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.price .term { font-size: 14px; color: var(--ink-faint); margin: 0 0 20px; }
.price ul { margin: 0 0 24px; padding-left: 18px; color: var(--ink-soft); font-size: 15.5px; }
.price li { margin-bottom: 9px; }
.price .btn { margin-top: auto; width: 100%; }

/* ---------- form ---------- */

.contact { display: grid; gap: 16px; margin-top: 32px; }
.contact label {
  display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.contact input, .contact textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--paper-alt); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%;
}
.contact input:focus, .contact textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.contact textarea { resize: vertical; min-height: 96px; }
.contact .btn { justify-self: start; }

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

footer.site {
  border-top: 1px solid var(--line); padding: 40px 0;
  font-size: 14px; color: var(--ink-faint);
}
footer.site p { margin: 0 0 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
