/* ================================================================
   HYBOX — stylesheet
   Palette: ink slate / cool paper / status green (the only accent)
   Type: IBM Plex Sans (voice) + IBM Plex Mono (machine truth)
   ================================================================ */

:root {
  --ink:      #16212B;   /* deep blue-slate — server room at night */
  --ink-2:    #22303C;
  --paper:    #F5F6F4;   /* cool paper white — the printed report  */
  --card:     #FFFFFF;
  --ok:       #2FA36B;   /* monitoring's native green              */
  --ok-dim:   #DFF0E7;
  --amber:    #E5A33C;
  --muted:    #5C6B77;
  --line:     #DCE0DD;
  --line-ink: #2E3E4C;

  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  --wrap: 1120px;
  --r: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 28px; }
h3 { font-size: 20px; font-weight: 600; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ok);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: var(--r);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ok); color: #fff; }
.btn-primary:hover { background: #278A5B; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-full { width: 100%; text-align: center; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-name {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.14em;
}
.brand-name.small { font-size: 15px; }
.brand-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47,163,107,.45); }
  55%      { box-shadow: 0 0 0 7px rgba(47,163,107,0); }
}

.head-nav { display: flex; gap: 26px; align-items: center; }
.head-nav a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.head-nav a:hover { color: var(--ok); }
.nav-cta {
  border: 1.5px solid var(--ink);
  padding: 7px 16px; border-radius: var(--r);
}
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 18px;
}
.tick { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--ok); }

.lede { font-size: 19px; color: var(--muted); max-width: 46ch; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 14.5px; color: var(--muted); }

/* ---------- the report card (signature) ---------- */
.report-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(22,33,43,.06),
    0 12px 32px rgba(22,33,43,.10);
  transform: rotate(.6deg);
  font-family: var(--mono);
  overflow: hidden;
}
.report-head {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #FBFCFB, #F3F5F3);
}
.report-brand { font-weight: 600; letter-spacing: .14em; font-size: 13px; }
.report-title { font-size: 13px; color: var(--muted); flex: 1; }
.report-period { font-size: 12.5px; color: var(--muted); }

.report-lines { list-style: none; padding: 10px 0; }
.report-lines li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 22px;
  font-size: 14px;
}
.report-lines li + li { border-top: 1px dashed var(--line); }
.report-lines .k { color: var(--muted); width: 76px; flex-shrink: 0; }
.report-lines .v { color: var(--ink); }

.dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.dot.ok    { background: var(--ok);    box-shadow: 0 0 0 3px var(--ok-dim); }
.dot.amber { background: var(--amber); box-shadow: 0 0 0 3px #F7E9D2; }
.dot.big   { width: 14px; height: 14px; }

.report-foot {
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  background: #FBFCFB;
}

/* ---------- proof strip ---------- */
.proof {
  background: var(--ink);
  color: var(--paper);
  padding: 46px 0;
}
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.proof-item { display: flex; flex-direction: column; gap: 6px; }
.proof-big {
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 600;
  color: #fff;
}
.proof-label { font-size: 14px; color: #A8B4BE; line-height: 1.5; }

/* ---------- plans ---------- */
.plans { padding: 88px 0; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan-featured {
  border-color: var(--ok);
  border-width: 1.5px;
  box-shadow: 0 10px 28px rgba(47,163,107,.12);
}
.plan h3 {
  font-family: var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 15px;
}
.price { display: flex; align-items: baseline; gap: 4px; }
.price .amount { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.price .per { color: var(--muted); font-size: 15px; }
.plan-tag { color: var(--ok); font-weight: 600; font-size: 15.5px; }
.plan ul { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.plan ul li {
  padding-left: 22px;
  position: relative;
  font-size: 15.5px;
}
.plan ul li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok-dim);
  border: 2px solid var(--ok);
}
.plan-btn { margin-top: 6px; text-align: center; }

/* ---------- how it works ---------- */
.how { padding: 0 0 88px; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  color: var(--ok);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* ---------- report section ---------- */
.report-section {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 0;
}
.report-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: start;
}
.report-section p { color: #C4CDD4; }
.report-quote {
  border-left: 3px solid var(--ok);
  padding: 6px 0 6px 22px;
  margin: 26px 0;
}
.report-quote p {
  font-family: var(--mono);
  font-size: 15.5px;
  line-height: 1.75;
  color: #E6EBEE;
}
.report-aside {
  background: var(--ink-2);
  border: 1px solid var(--line-ink);
  border-radius: 8px;
  padding: 28px;
}
.report-aside h3 {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #fff;
}
.watch-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.watch-list li {
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: #C4CDD4;
}
.watch-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
}

/* ---------- contact ---------- */
.contact { padding: 88px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy p { color: var(--muted); margin-bottom: 16px; max-width: 44ch; }
.contact-small { font-size: 14.5px; }

.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-weight: 600; font-size: 14.5px;
}
.optional { color: var(--muted); font-weight: 400; }
.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ok);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.form-error {
  background: #FBEEE2;
  border: 1px solid var(--amber);
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: 15px;
}
.form-success {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 12px 4px;
}
.form-success h3 { font-size: 22px; }
.form-success p { color: var(--muted); }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.foot-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  justify-content: space-between;
  font-size: 14px; color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .report-split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .plan-grid, .steps { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: repeat(2, 1fr); }
  .report-card { transform: none; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 620px) {
  .head-nav a:not(.nav-cta) { display: none; }
  .proof-row { grid-template-columns: 1fr; gap: 24px; }
  body { font-size: 16px; }
}
