/* ============================================================================
   Offhours Ops — Lamplight
   One stylesheet for every page.

   The idea the whole system hangs on: the amber dot is three things at once.
   The full stop in "Offhours." The lamp. And the status light on a monitoring
   dashboard — which is what Ops is. One shape carries the name, the mood and
   the differentiator, so it repeats everywhere: the wordmark, the bullets, the
   step markers, the live pip in the status strip.

   Deliberately single-theme. Lamplight is a dark identity and committing to it
   is the point; every colour is painted explicitly so nothing borrows a ground
   from the browser.
   ========================================================================== */

:root {
  --ink:      #0A0C11;
  --ink-up:   #10131B;
  --amber:    #E9A94A;
  --amber-b:  #FFC978;
  --amber-d:  #8A6222;
  --amber-ink:#C4761B;   /* on light — the bright tone fails contrast on paper */
  --live:     #7FBF8A;
  --paper:    #F4F1EB;
  --body:     #B6B7C0;
  --dim:      #757783;
  --edge:     #1E222D;
  --edge-lit: #2C3140;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --measure: 900px;
  --gutter: 40px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--body);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.inner { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }

a { color: var(--amber); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.mono-lab {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber-d);
}

/* Skip link — a services firm that sells testing should pass its own. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 10px 18px;
  font-family: var(--mono); font-size: 12px; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- status bar
   A live monitoring readout on the site of a company that sells monitoring.
   It demonstrates the product rather than describing it — and it is honest,
   because the health checks behind it are real.                             */
#status {
  border-bottom: 1px solid var(--edge);
  background: var(--ink-up);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
}
#status .inner { display: flex; align-items: center; gap: 10px; padding: 9px var(--gutter); flex-wrap: wrap; }
#status .pip {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px rgba(127,191,138,0.16); flex: none;
}
#status .txt { color: var(--body); }
#status .sep { color: var(--edge-lit); }
#status .meta { color: var(--dim); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes breathe { 0%,100% { opacity: 1 } 50% { opacity: 0.55 } }
  #status .pip { animation: breathe 3.4s ease-in-out infinite; }
}

/* ------------------------------------------------------------------- header */
nav { display: flex; align-items: baseline; gap: 28px; padding: 30px 0 0; flex-wrap: wrap; }
nav .links { margin-left: auto; display: flex; gap: 26px; flex-wrap: wrap; }
nav a { color: var(--dim); text-decoration: none; font-size: 13px; }
nav a:hover, nav a[aria-current="page"] { color: var(--paper); }

/* The wordmark IS the domain: offhours-ops, lowercase, hyphen visible.

   This is the version that removes the problem rather than working around
   it. Anyone who reads the mark and types what they read arrives at the
   real site — no guessing at a hyphen, and no chance of landing on
   offhoursops.com, which somebody else owns.

   'ops' still carries the emphasis: serif for the human half, mono and
   amber for the machine half, with the hyphen dimmed so it reads as a
   joint rather than a break. The dot closes the whole thing — a full stop
   and a lamp, sitting after both words where no one can parse it as URL
   punctuation. */
.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; }
.wordmark .wm-name {
  font-family: var(--serif); font-weight: 300; font-size: 22px;
  color: var(--paper); letter-spacing: -0.015em;
}
.wordmark .wm-hyphen {
  font-family: var(--serif); font-weight: 300; font-size: 22px;
  color: var(--dim); margin: 0 1px; letter-spacing: -0.015em;
}
.wordmark .wm-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
  margin: 0 0 4px 4px; align-self: flex-end; flex: none;
  box-shadow: 0 0 10px rgba(233,169,74,0.75);
}
.wordmark .wm-ops {
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em; color: var(--amber);
  position: relative; top: -1px;
}

/* --------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; }
.hero .glow {
  position: absolute; pointer-events: none; top: -340px; left: 50%;
  transform: translateX(-58%); width: 1150px; height: 900px;
  background: radial-gradient(ellipse 46% 40% at 50% 46%,
              rgba(255,201,120,0.155) 0%, rgba(233,169,74,0.055) 38%, transparent 66%);
}
.hero .inner { position: relative; padding-bottom: 104px; }

h1 {
  font-family: var(--serif); font-weight: 200;
  font-size: clamp(44px, 8.6vw, 96px); line-height: 0.99;
  color: var(--paper); margin: 96px 0 0; max-width: 12.5em;
  letter-spacing: -0.032em; text-wrap: balance;
}
h1 em { font-style: italic; font-weight: 300; color: var(--amber-b); }
.standfirst { font-size: 18px; color: var(--body); max-width: 33em; margin: 30px 0 0; }

.actions { display: flex; align-items: center; gap: 26px; margin: 36px 0 0; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px; background: var(--amber); color: var(--ink);
  text-decoration: none; font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.btn:hover { background: var(--amber-b); }
.btn-q {
  color: var(--body); text-decoration: none; font-size: 14px;
  border-bottom: 1px solid var(--edge-lit); padding-bottom: 3px;
}
.btn-q:hover { color: var(--paper); border-color: var(--amber); }

/* ----------------------------------------------------------------- sections */
section { border-top: 1px solid var(--edge); }
section .inner { padding: 54px var(--gutter) 60px; }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4.4vw, 40px);
  color: var(--paper); margin: 0; letter-spacing: -0.02em;
}

/* --------------------------------------------------------------- the pipeline
   Five phases as a lit run that brightens as it reaches Operate — the phase
   that is the actual differentiator.                                         */
.pipe { position: relative; padding-left: 46px; }
.pipe::before {
  content: ''; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 1px;
  background: linear-gradient(to bottom, var(--edge-lit) 0%, var(--edge-lit) 62%,
                              var(--amber) 78%, var(--amber) 100%);
}
.step { position: relative; padding: 0 0 34px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ''; position: absolute; left: -40px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--edge-lit);
}
.step .n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
           text-transform: uppercase; color: var(--amber-d); }
.step h3 {
  font-family: var(--serif); font-weight: 300; font-size: 27px; color: var(--paper);
  margin: 5px 0 7px; letter-spacing: -0.015em;
}
.step p { margin: 0; color: var(--dim); font-size: 14.5px; max-width: 36em; }
.step.final { background: var(--ink-up); margin: 0 -22px; padding: 22px 22px 26px; }
.step.final::before {
  left: -18px; top: 31px; background: var(--amber); border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(233,169,74,0.16), 0 0 14px rgba(233,169,74,0.6);
}
.step.final .n { color: var(--amber); }
.step.final p { color: var(--body); }

.keeps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 30px; margin-top: 20px; }
.keeps div {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  padding-left: 17px; position: relative;
}
.keeps div::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--amber-d);
}

/* ------------------------------------------------------------- what we build */
.kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 44px; }
.kind h4 { font-size: 15.5px; font-weight: 600; color: var(--paper); margin: 0 0 6px; }
.kind p { margin: 0; font-size: 14px; color: var(--dim); }

/* -------------------------------------------------------------------- tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); }
.tiers > div { border: 1px solid var(--edge); border-right: none; padding: 26px 22px 28px; }
.tiers > div:last-child { border-right: 1px solid var(--edge); }
.tiers > div.mid { background: var(--ink-up); border-color: var(--edge-lit); }
.tiers .nm { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
             text-transform: uppercase; color: var(--amber-d); margin-bottom: 14px; }
.tiers .amt { font-family: var(--serif); font-weight: 200; font-size: 38px; color: var(--paper);
              line-height: 1; letter-spacing: -0.03em; }
.tiers .amt small { font-family: var(--sans); font-size: 13px; color: var(--dim); font-weight: 300; }
.tiers p { margin: 12px 0 0; font-size: 13.5px; color: var(--dim); }

.floor { margin-top: 26px; border-left: 2px solid var(--amber); padding: 6px 0 6px 20px; }
.floor h4 { font-size: 16px; font-weight: 600; color: var(--paper); margin: 0 0 7px; }
.floor p { margin: 0; font-size: 14.5px; color: var(--body); max-width: 46em; }
.cost-note { margin-top: 26px; font-size: 14px; color: var(--dim); max-width: 44em; }
.cost-note b { color: var(--amber); font-weight: 500; }

/* ----------------------------------------------------------------- response */
.sla { display: grid; grid-template-columns: 1fr 1fr; }
.sla > div { border: 1px solid var(--edge); border-right: none; padding: 26px 24px 28px; }
.sla > div:last-child { border-right: 1px solid var(--edge); }
.sla > div:first-child { background: var(--ink-up); }
.sla .when { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
             text-transform: uppercase; color: var(--amber-d); margin-bottom: 12px; }
.sla .dur { font-family: var(--serif); font-weight: 200; font-size: 42px; color: var(--paper);
            line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.sla p { margin: 0; font-size: 13.5px; color: var(--dim); }

/* --------------------------------------------------------- straight answers */
.qa { padding: 20px 0; border-bottom: 1px solid var(--edge); }
.qa:last-child { border-bottom: none; }
.qa h4 { font-size: 16px; font-weight: 600; color: var(--paper); margin: 0 0 6px; }
.qa p { margin: 0; font-size: 14.5px; color: var(--dim); max-width: 46em; }

.aside { border-left: 1px solid var(--edge-lit); padding: 4px 0 4px 22px; }
.aside h4 { font-size: 15.5px; font-weight: 600; color: var(--paper); margin: 0 0 7px; }
.aside p { margin: 0; color: var(--dim); font-size: 14px; max-width: 40em; }

/* ------------------------------------------------------------- prose pages
   Privacy, terms, deletion. Narrower measure — these are read, not scanned. */
.prose .inner { padding: 54px var(--gutter) 80px; max-width: 760px; }
.prose h1 {
  font-size: clamp(34px, 6vw, 56px); margin: 20px 0 0; max-width: 16em;
}
.prose .updated { font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-top: 18px; }
.prose h2 {
  font-family: var(--serif); font-weight: 300; font-size: 28px; color: var(--paper);
  margin: 48px 0 12px; letter-spacing: -0.015em;
}
.prose h3 { font-size: 15.5px; font-weight: 600; color: var(--paper); margin: 26px 0 6px; }
.prose p { margin: 0 0 15px; max-width: 40em; }
.prose ul { margin: 0 0 16px; padding-left: 20px; max-width: 40em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--amber-d); }
.prose strong { color: var(--paper); font-weight: 500; }
.prose .lead { font-size: 17px; color: var(--body); margin-top: 24px; max-width: 38em; }

.prose table { border-collapse: collapse; width: 100%; margin: 8px 0 22px; font-size: 13.5px; }
.prose th {
  text-align: left; padding: 10px 12px; background: var(--ink-up); color: var(--body);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; border-bottom: 1px solid var(--edge-lit);
}
.prose td { padding: 11px 12px; border-bottom: 1px solid var(--edge); vertical-align: top; color: var(--dim); }
.prose td:first-child { color: var(--body); }
.scroll { overflow-x: auto; }

.callout { border-left: 2px solid var(--amber); padding: 4px 0 4px 20px; margin: 26px 0; }
.callout p { color: var(--body); margin-bottom: 0; }

/* --------------------------------------------------------------- big action
   The account-deletion page has one job and it should be impossible to miss. */
.bigsteps { counter-reset: bs; margin-top: 30px; }
.bigstep {
  counter-increment: bs; position: relative; padding: 0 0 26px 52px; border: none;
}
.bigstep::before {
  content: counter(bs); position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-size: 30px; font-weight: 200; color: var(--amber);
  line-height: 1;
}
.bigstep h3 { margin-top: 0; font-size: 17px; }
.bigstep p { margin-bottom: 0; }

/* ------------------------------------------------------------------- footer */
footer { border-top: 1px solid var(--edge); }
footer .inner { padding: 30px var(--gutter) 56px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; }
footer .legal { font-size: 12.5px; color: var(--dim); margin-right: auto; }
footer a { font-size: 12.5px; color: var(--body); text-decoration: none; }
footer a:hover { color: var(--amber); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 780px) {
  :root { --gutter: 22px; }
  /* the strip wraps to two lines here, which strands the separator */
  #status .sep { display: none; }
  #status .inner { gap: 8px; row-gap: 2px; }
  nav { gap: 14px; }
  nav .links { gap: 18px; }
  h1 { margin-top: 62px; }
  .hero .inner { padding-bottom: 68px; }
  .keeps, .kinds, .tiers, .sla { grid-template-columns: 1fr; }
  .tiers > div, .sla > div { border-right: 1px solid var(--edge); border-bottom: none; }
  .tiers > div:last-child, .sla > div:last-child { border-bottom: 1px solid var(--edge); }
  .pipe { padding-left: 30px; }
  .pipe::before { left: 4px; }
  .step::before { left: -30px; }
  .step.final { margin: 0 -14px; padding: 20px 14px 22px; }
  .step.final::before { left: -16px; }
}
