:root {
  --paper: #fafafb;
  --ink: #0e1116;
  --ink-soft: #3a4049;
  --muted: #6b7280;
  --rule: #e5e7eb;
  --panel: #f2f3f6; /* faint tray the findings sit on, lifted off the paper */
  --signal: #b42318; /* the color of a flagged finding — used only on the service severity spine */

  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c0e12;
    --ink: #ecedee;
    --ink-soft: #b9bdc4;
    --muted: #8a909a;
    --rule: #20242b;
    --panel: #14171d;
    --signal: #f0584a;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: 660px;
  margin: 0 auto;
  padding: 12vh 24px 18vh;
}

p {
  margin: 0 0 1.1em;
}

strong {
  font-weight: 600;
}

/* Masthead */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.7em;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.65rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}

.lede {
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* Intro */
.intro {
  margin-top: 3.5em;
  padding-top: 3.5em;
  border-top: 1px solid var(--rule);
}

/* Services — composed like the audit findings the work produces, and given
   the most visual weight on the page: a severity spine and a lifted tray */
.services {
  margin-top: 2.8em;
  display: grid;
  gap: 1.1em;
}

.service {
  padding: 2em 1.9em 2.1em;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--signal);
}

.service-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 0.7em;
}

.service h2 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0;
  line-height: 1.25;
}

.service p {
  color: var(--ink-soft);
  margin: 0;
}

.service p + p {
  margin-top: 1em;
}

.service p.scope {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 1em;
}

/* Secondary offering — present, but clearly subordinate to the primary block:
   no filled tray, no signal spine, lighter heading. */
.service-secondary {
  background: transparent;
  border: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  padding: 1.5em 1.9em 1.6em;
}

.service-secondary h2 {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.price {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}

/* Detail blocks */
.detail {
  margin-top: 1em;
  padding-top: 2.8em;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 2.4em;
}

.detail-block p {
  color: var(--ink-soft);
  margin: 0;
}

.label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 0.7em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* When teams call me */
.triggers {
  margin-top: 1em;
  padding-top: 2.8em;
  border-top: 1px solid var(--rule);
}

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

.triggers li {
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 0.7em;
  color: var(--ink-soft);
}

.triggers li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--muted);
}

.triggers .aside {
  margin: 1.5em 0 0;
  color: var(--muted);
}

/* Contact */
.contact {
  margin-top: 2.8em;
  padding-top: 2.8em;
  border-top: 1px solid var(--rule);
}

.email {
  display: inline-block;
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 1px;
  transition: border-color 130ms ease;
}

.email:hover {
  border-bottom-color: var(--ink);
}

.email:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
  border-radius: 1px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media (max-width: 480px) {
  main {
    padding: 8vh 20px 12vh;
  }
  .service {
    padding: 1.6em 1.4em 1.7em;
  }
  .service-head {
    flex-direction: column;
    gap: 0.3em;
  }
}
