/* Warden landing page. Direction: quiet instrument (frost and slate). */
:root {
  --bg: #f7f9fa; --surface: #ecf0f2; --ink: #1f3038; --muted: #5d6b72;
  --accent: #0d7480; --accent-ink: #fff;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1rem + 6vw, 7rem);
  --start: max(20px, 22vw);
  --col: min(560px, 100vw - var(--start) - 20px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --face: "Clash Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.55 var(--face); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #cfe4e7; color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; transition: color 180ms ease; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code { font: 0.9em/1.5 var(--code); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; padding: 8px 12px; background: var(--ink); color: var(--bg); border-radius: 6px; z-index: 2; }
.skip:focus { top: 12px; }
.skip:hover { color: var(--bg); }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px max(20px, 4vw); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: var(--step-lead); text-decoration: none; letter-spacing: -0.01em; }
.top nav { display: flex; gap: 24px; font-size: var(--step-small); }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }

/* column */
.col { width: var(--col); margin-left: var(--start); margin-top: clamp(96px, 10vw, 140px); }
.hero { margin-top: clamp(64px, 18vh, 200px); }
h1, h2 { font-weight: 500; letter-spacing: -0.03em; line-height: 0.95; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: var(--step-display); width: min(10ch, calc(100vw - var(--start) - 20px)); }
h2 { font-size: var(--step-head); }
p { margin: 0 0 1em; max-width: 62ch; }
.who { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 28px 0 0; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font: 500 var(--step-small)/1 var(--face); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 180ms ease; }
.btn:hover { color: var(--accent-ink); background: #0a5f69; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.text-link { font-size: var(--step-small); }

/* pictures of the real dashboard */
.shot { margin: 48px 0 0; }
.shot img, .shot video { display: block; width: 100%; height: auto; border-radius: 8px; background: #11151c; }
.shot figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); max-width: 60ch; }
.hero-shot, .wide { width: min(760px, calc(100vw - var(--start) - 20px)); }

/* proof row */
.names { font-size: var(--step-lead); color: var(--muted); line-height: 1.5; display: flex; flex-wrap: wrap; gap: 0.2em 0.9em; }
.names span { color: var(--ink); }

.incidents { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 24px; }
.incidents li { max-width: 62ch; }
.incidents a { color: var(--accent); white-space: nowrap; }

/* call and response */
.exchange { display: grid; gap: 16px; margin-top: 32px; }
.exchange > * { min-width: 0; }
.call p { margin-bottom: 10px; }
pre { margin: 0; padding: 16px 18px; background: var(--surface); border-radius: 8px; overflow-x: auto; font-size: var(--step-small); line-height: 1.6; }
.reply { margin-left: 56px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 12px 14px; background: #fff; border: 1px solid #d5dde1; border-radius: 8px; font-size: var(--step-small); }
.reply small { color: var(--muted); font: inherit; }
.chip { padding: 2px 9px; border-radius: 999px; font-weight: 500; }
.chip.hold { background: #fbefd5; color: #7a4d00; }
.chip.ok { background: #dcefe4; color: #1d5b39; }
.exchange .wide { margin: 8px 0 0; }

/* works today, with margin notes */
.panel { position: relative; background: var(--surface); border-radius: 8px; padding: 24px 24px 24px 22px; margin-top: 24px; }
.today { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.notes { font-size: var(--step-small); color: var(--muted); }
.notes p { margin: 0 0 8px; }
.notes b { color: var(--ink); font-weight: 500; }
@media (min-width: 1180px) {
  .notes { position: absolute; top: 24px; left: calc(100% + 40px); width: 200px; }
}
@media (max-width: 1179px) {
  .notes { margin-top: 20px; }
}

/* pricing as a menu */
.menu { margin: 24px 0 24px; display: grid; gap: 18px; }
.menu div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.menu dt { font-weight: 500; }
.menu dt small { display: block; font-weight: 400; color: var(--muted); font-size: var(--step-small); }
.menu dd { margin: 0; font-size: var(--step-lead); font-weight: 500; white-space: nowrap; }
.menu dd small { font-size: var(--step-small); color: var(--muted); font-weight: 400; }

/* waitlist */
form { display: grid; gap: 8px; margin-top: 24px; }
label { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }
input, select { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #c9d3d8; border-radius: 8px; transition: border-color 180ms ease; }
input:hover, select:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
form .btn { justify-self: start; margin-top: 18px; }
.msg { min-height: 1.5em; margin: 6px 0 0; }
.msg.ok { color: var(--accent); }
.msg.err { color: #b3261e; }
.fine { font-size: var(--step-small); color: var(--muted); margin: 0; }

/* faq as reading text */
.faq { columns: 1; }
.faq p { break-inside: avoid; margin-bottom: 1.1em; }
.faq b { font-weight: 500; }
@media (min-width: 1100px) {
  #faq { width: min(1000px, calc(100vw - var(--start) - 40px)); }
  .faq { columns: 2; column-gap: 48px; }
}

/* footer */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 120px max(20px, 4vw) 32px; font-size: var(--step-small); color: var(--muted); }
.foot-links { justify-self: end; display: flex; gap: 20px; }
.foot-links a { text-decoration: none; }

/* entrances: only when JS runs, never hiding content otherwise */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ease-out), transform 620ms var(--ease-out); }
.js .rise.in { opacity: 1; transform: none; }
.js .hero .rise:nth-child(2) { transition-delay: 70ms; }
.js .hero .rise:nth-child(3) { transition-delay: 140ms; }
.js .hero .rise:nth-child(4) { transition-delay: 210ms; }
.js .hero .rise:nth-child(5) { transition-delay: 300ms; }
.js .exchange .rise:nth-child(even) { transition-delay: 80ms; }

@media (max-width: 1024px) {
  :root { --start: 20px; }
}
@media (max-width: 760px) {
  .top nav { display: none; }
  .reply { margin-left: 24px; }
  .menu div { gap: 12px; }
  .foot { grid-template-columns: 1fr; justify-items: start; padding-top: 96px; }
  .foot-links { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  /* the clip still plays on request via the script below */
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .btn { transition: background-color 180ms ease; }
  .btn:active { transform: none; }
}
