/* Hallmark · genre: modern-minimal · macrostructure: Split Studio · theme: Quiet
 * enrichment: Tier A hand-built CSS proof · nav: N5 floating pill · footer: Ft2 inline
 * tone: utilitarian-confident · anchor hue: neutral ink, status colour as data only
 * pre-emit critique: P5 H5 E4 S5 R5 V4
 */

:root {
  /* paper + ink */
  --color-paper:    oklch(99% 0 0);
  --color-paper-2:  oklch(97.4% 0.011 263);
  --color-paper-3:  oklch(94.5% 0.004 265);
  /* Ink carries the logo's navy rather than neutral black, so headings and the
     wordmark belong to the same family. */
  --color-ink:      oklch(23% 0.075 268);
  --color-ink-2:    oklch(45% 0.035 268);
  --color-ink-3:    oklch(55% 0.025 268);
  --color-rule:     oklch(91% 0.012 265);
  --color-rule-2:   oklch(84% 0.018 265);

  /* Brand */
  --color-brand:    oklch(54% 0.225 263);
  --color-brand-dk: oklch(49% 0.215 263);
  --color-brand-sf: oklch(96% 0.035 263);

  /* status — these are DATA encodings, not decoration */
  --color-up:       oklch(52% 0.145 147);
  --color-down:     oklch(52% 0.195 25);
  --color-warn:     oklch(54% 0.125 70);
  --color-up-soft:  oklch(95.5% 0.055 147);
  --color-down-soft:oklch(96% 0.035 25);
  --color-warn-soft:oklch(96.5% 0.04 70);

  --color-focus:    var(--color-brand);

  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-display:   clamp(2.6rem, 5.4vw + 0.4rem, 4.6rem);
  --text-display-s: clamp(2rem, 3.4vw + 0.4rem, 3rem);
  --text-2xl:       clamp(1.35rem, 1.1vw + 1rem, 1.75rem);
  --text-lg:        1.0625rem;
  --text-base:      0.9375rem;
  --text-sm:        0.8125rem;
  --text-xs:        0.75rem;

  --space-2xs: 0.25rem; --space-xs: 0.5rem;  --space-sm: 0.75rem;
  --space-md:  1rem;    --space-lg: 1.5rem;  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;  --space-3xl: 6rem;   --space-4xl: 8.5rem;

  --rule-hair: 1px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms; --dur-base: 200ms;
}

html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
* { box-sizing: border-box; }
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.028em;
  line-height: 1.05;
  margin: 0;
  overflow-wrap: anywhere;
  min-width: 0;
}
p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.shell { width: min(1120px, 100% - 2rem); margin-inline: auto; }

/* ---------------------------------------------------------- N5 floating pill */
.nav-pill {
  position: fixed; top: var(--space-md); left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: var(--space-lg);
  padding: 0.45rem 0.5rem 0.45rem 0.9rem;
  background: color-mix(in oklch, var(--color-paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(130%);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: 999px;
  box-shadow: 0 8px 24px -14px oklch(0% 0 0 / 0.22);
  z-index: 30;
  max-width: calc(100% - 1.5rem);
}
.nav-pill__mark { display: inline-flex; align-items: center; text-decoration: none; }
/* Height-constrained, width auto: the lockup is ~3.9:1, so fixing the height is
   the only way it stays optically consistent beside the nav's other items. */
.logo-mark { height: 34px; width: auto; display: block; }
.logo-foot { height: 30px; width: auto; display: block; }
.nav-pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(64% 0.185 147);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-up) 18%, transparent);
}
.nav-pill__links { display: flex; gap: var(--space-md); list-style: none; margin: 0; padding: 0; }
.nav-pill__links a {
  font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none;
  white-space: nowrap; transition: color var(--dur-fast) var(--ease-out);
}
.nav-pill__links a:hover { color: var(--color-ink); }

/* Sign in sits beside the primary CTA and stays visible on mobile — an
   existing customer should never have to hunt the footer for the way back in. */
.nav-pill__auth { display: inline-flex; align-items: center; gap: var(--space-sm); }
.nav-pill__signin {
  font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2);
  text-decoration: none; white-space: nowrap; padding: 0 0.15rem;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-pill__signin:hover { color: var(--color-ink); }

/* ------------------------------------------------------------------ buttons */
.btn-fill, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.1rem; border-radius: 999px;
  font-size: var(--text-sm); font-weight: 550; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: var(--rule-hair) solid transparent;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.btn-fill { background: var(--color-brand); color: #fff; }
.btn-fill:hover { background: var(--color-brand-dk); }
.btn-line { background: transparent; color: var(--color-ink); border-color: var(--color-rule-2); }
.btn-line:hover { background: var(--color-brand-sf); border-color: var(--color-brand); color: var(--color-brand-dk); }
.btn-lg { padding: 0.8rem 1.4rem; font-size: var(--text-base); }
:where(a, button, input, select):focus-visible {
  outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------- split rows */
.hero { padding: calc(var(--space-4xl) + 1rem) 0 var(--space-3xl); }
.split {
  display: grid; gap: var(--space-2xl);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.split--reverse > .split__proof { order: -1; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-xs); color: var(--color-ink-2);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: 999px; padding: 0.3rem 0.7rem; margin-bottom: var(--space-lg);
}
.hero h1 { font-size: var(--text-display); font-weight: 620; }
.hero__lede {
  margin-top: var(--space-lg); font-size: var(--text-lg);
  color: var(--color-ink-2); max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-3); }

.band { padding: var(--space-3xl) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.band[id] { scroll-margin-top: 5.5rem; }
.band--tint { background: var(--color-paper-2); }
.band h2 { font-size: var(--text-display-s); font-weight: 600; }
.band__lede { margin-top: var(--space-md); color: var(--color-ink-2); max-width: 46ch; font-size: var(--text-lg); }
.band__list { margin: var(--space-lg) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-sm); }
/* Block, not flex: a flex row turns the bold lead-in into a pseudo-column and
   the list starts reading as a table it was never meant to be. */
.band__list li {
  font-size: var(--text-base); color: var(--color-ink-2);
  padding-left: var(--space-md); position: relative; max-width: 48ch;
}
.band__list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--color-rule-2);
}
.band__list b { color: var(--color-ink); font-weight: 560; }
.band__cta { margin-top: var(--space-xl); }

/* ------------------------------------------------- Tier A proof artifacts */
.proof {
  background: var(--color-paper);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px -40px oklch(0% 0 0 / 0.35);
  overflow: hidden;
}
.proof__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding: 0.7rem 0.95rem; border-bottom: var(--rule-hair) solid var(--color-rule);
  font-size: var(--text-xs); color: var(--color-ink-3); letter-spacing: 0.04em; text-transform: uppercase;
}
.proof__body { padding: 0.95rem; display: grid; gap: 0.55rem; }

.tick { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 0.6rem; align-items: start; }
.tick__t { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-3); padding-top: 0.15em; }
/* Pinned to the first line, not centred across a wrapped row. */
.tick__dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 0.48em; }
.tick__dot--ok { background: var(--color-up); }
.tick__dot--bad { background: var(--color-down); }
.tick__dot--idle { background: var(--color-rule-2); }
.tick__text { font-size: var(--text-sm); color: var(--color-ink-2); min-width: 0; }
.tick__text b { color: var(--color-ink); font-weight: 550; }
.tick--alert .tick__text { color: var(--color-ink); }

.pillstat {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.18rem 0.5rem; border-radius: 999px;
}
.pillstat--down { color: var(--color-down); background: var(--color-down-soft); }
.pillstat--up { color: var(--color-up); background: var(--color-up-soft); }
.pillstat--warn { color: var(--color-warn); background: var(--color-warn-soft); }

/* alert-email proof */
.mail__band { padding: 0.9rem 0.95rem; background: var(--color-down-soft); border-bottom: var(--rule-hair) solid color-mix(in oklch, var(--color-down) 25%, transparent); }
.mail__eyebrow { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-down); }
.mail__head { font-size: var(--text-2xl); font-weight: 600; margin-top: 0.25rem; letter-spacing: -0.02em; }
.kv { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: 0.1rem 0.75rem; font-size: var(--text-sm); }
.kv dt { color: var(--color-ink-3); padding: 0.3rem 0; }
.kv dd { margin: 0; padding: 0.3rem 0; font-family: var(--font-mono); font-size: var(--text-xs); overflow-wrap: anywhere; }

/* attention rows */
.att { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.65rem; align-items: center; }
.att__text { font-size: var(--text-sm); color: var(--color-ink-2); min-width: 0; }
.att__text b { color: var(--color-ink); font-weight: 550; }

/* 90-day uptime strip */
.bars90 { display: flex; gap: 2px; align-items: stretch; height: 38px; }
.bars90 span { flex: 1; min-width: 0; border-radius: 1px; background: var(--color-up); }
.bars90 span.w { background: var(--color-warn); }
.bars90 span.d { background: var(--color-down); }
.bars90 span.n { background: var(--color-rule-2); }
.bars90__foot { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-ink-3); margin-top: 0.45rem; }

/* ----------------------------------------------------------------- pricing */
.tiers { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: var(--space-xl); }
.tier {
  display: flex; flex-direction: column;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-md); padding: var(--space-lg); background: var(--color-paper);
}
.tier--pick { border-color: var(--color-brand); box-shadow: 0 0 0 1px var(--color-brand); }
.tier__name { font-size: var(--text-sm); font-weight: 600; letter-spacing: -0.01em; }
.tier__price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; letter-spacing: -0.03em; margin-top: 0.3rem; }
.tier__price span { font-size: var(--text-sm); color: var(--color-ink-3); font-weight: 400; }
.tier__meta { font-size: var(--text-xs); color: var(--color-ink-3); margin-top: 0.35rem; font-family: var(--font-mono); }
.tier__feats { list-style: none; margin: var(--space-md) 0 var(--space-lg); padding: 0; display: grid; gap: 0.4rem; flex: 1; }
.tier__feats li { font-size: var(--text-sm); color: var(--color-ink-2); padding-left: 1.1rem; position: relative; }
.tier__feats li::before { content: "·"; position: absolute; left: 0.3rem; color: var(--color-ink-3); font-weight: 700; }
.tier .btn-fill, .tier .btn-line { width: 100%; }

/* --------------------------------------------------------------------- faq */
.faq { display: grid; gap: 0; margin-top: var(--space-xl); }
.faq__row { border-top: var(--rule-hair) solid var(--color-rule); padding: var(--space-lg) 0; display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: var(--space-lg); }
.faq__q { font-weight: 550; font-size: var(--text-base); }
.faq__a { color: var(--color-ink-2); font-size: var(--text-base); }

/* ------------------------------------------------------------- closing CTA */
.closer { padding: var(--space-3xl) 0 var(--space-2xl); text-align: center; }
.closer h2 { font-size: var(--text-display-s); font-weight: 600; }
.closer p { margin-top: var(--space-md); color: var(--color-ink-2); }
.closer .btn-fill { margin-top: var(--space-xl); }

/* ------------------------------------------------------ Ft2 inline footer */
.foot-inline {
  border-top: var(--rule-hair) solid var(--color-rule);
  padding: var(--space-lg) 0 var(--space-2xl);
  display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg);
  align-items: center; font-size: var(--text-sm); color: var(--color-ink-3);
}
.foot-inline a { color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.foot-inline a:hover { color: var(--color-ink); }
.foot-inline__spacer { flex: 1; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 880px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .split--reverse > .split__proof { order: 0; }
  .faq__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .nav-pill__links { display: none; }
  .nav-pill { gap: var(--space-sm); padding-left: 0.7rem; }
  .logo-mark { height: 27px; }
  .hero { padding-top: var(--space-3xl); }
}
@media (max-width: 420px) {
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv dt { padding-bottom: 0; font-size: var(--text-xs); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
