/* ReadyGrid marketing site styles */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-900);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.01em; }
h3 { font-size: 18px; font-weight: 600; }

/* ------------------------------------------------------------- nav --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 245, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.nav__links a:hover { color: var(--text-1); }
@media (max-width: 860px) { .nav__links { display: none; } .nav__inner { justify-content: space-between; } }

/* ------------------------------------------------------------ hero --- */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 78%, var(--ink-800) 100%);
  color: var(--text-inv);
  overflow: hidden;
}
.hero__grid-bg, .console-band__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 212, 183, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 212, 183, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 90% at 60% 10%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 60% 10%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.hero__copy h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -0.015em;
  margin: 18px 0 20px;
}
.hero__pop { color: var(--brand-bright); }
.eyebrow--inv { color: var(--brand-bright); }
.eyebrow--bright { color: var(--brand-bright); }
.hero__sub { font-size: 17.5px; color: var(--text-inv-2); max-width: 54ch; margin: 0 0 28px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin: 18px 0 0; font-size: 12px; color: #6f8b99; }

/* live monitor card */
.monitor {
  background: #0e3145;
  border: 1px solid rgba(42, 212, 183, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.monitor__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 11.5px;
  color: var(--text-inv-2);
  border-bottom: 1px solid rgba(159, 184, 196, 0.16);
  background: rgba(7, 30, 44, 0.5);
}
.monitor__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 0 rgba(42, 212, 183, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 212, 183, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(42, 212, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 212, 183, 0); }
}
.monitor__live { margin-left: auto; letter-spacing: 0.1em; font-size: 10px; }
.monitor__body { padding: 20px 20px 8px; min-height: 342px; }
.mcase { animation: fadeUp 0.45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mcase__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.mcase__title { font-family: var(--font-body); font-weight: 600; font-size: 16.5px; color: #fff; margin: 2px 0 8px; }
.mcase__plain { font-size: 13.5px; color: var(--text-inv-2); line-height: 1.55; margin: 0 0 14px; }
.mcase__meter { margin: 0 0 14px; }
.mcase__meter-label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--text-inv-2); margin-bottom: 6px; }
.mbar { position: relative; height: 10px; border-radius: 5px; background: rgba(159, 184, 196, 0.18); }
.mbar__fill { position: absolute; inset: 0 auto 0 0; border-radius: 5px 4px 4px 5px; background: var(--seq-400); }
.mbar__proj { position: absolute; inset: 0 auto 0 0; border-radius: 5px 4px 4px 5px; background: repeating-linear-gradient(135deg, rgba(42,212,183,0.55) 0 6px, rgba(42,212,183,0.25) 6px 12px); }
.mbar__tick { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #fff; }
.mcase__tasks { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.mcase__tasks li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: 12.5px;
  color: #cfe0e8;
}
.mcase__tasks .owner {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(42, 212, 183, 0.16);
  color: var(--brand-bright);
}
.mcase__tasks .owner--client { background: rgba(250, 178, 25, 0.16); color: #f6c95c; }
.mcase__src { margin: 14px 0 0; font-family: var(--font-mono); font-size: 10.5px; color: #5f7d8c; }
.monitor__dots { display: flex; gap: 8px; padding: 14px 20px 16px; }
.monitor__dots button {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  border: 0;
  padding: 0;
  background: rgba(159, 184, 196, 0.25);
  cursor: pointer;
  transition: background 0.2s;
}
.monitor__dots button[aria-selected="true"] { background: var(--brand-bright); }

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; padding: 64px 24px 72px; }
  .monitor__body { min-height: 0; }
}

/* ----------------------------------------------------------- stats --- */

.stats { background: var(--ink-800); color: var(--text-inv); border-top: 1px solid rgba(42, 212, 183, 0.25); }
.stats__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__n { font-size: 26px; font-weight: 500; color: var(--brand-bright); }
.stat__l { font-size: 13px; color: var(--text-inv-2); max-width: 24ch; }
@media (max-width: 860px) { .stats__inner { grid-template-columns: repeat(2, 1fr); } }

/* -------------------------------------------------------- sections --- */

.section { padding: 88px 0; }
.section--dim { background: #e9efef; }
.section--ink { background: var(--ink-900); color: var(--text-inv); }
.section--ink h2 { color: #fff; }
.section--ink .section__lede { color: var(--text-inv-2); }
.section__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section__lede { font-size: 17px; color: var(--text-2); max-width: 68ch; margin: 0 0 40px; }
.section__lede a { color: var(--brand-deep); }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1020px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards4 { grid-template-columns: 1fr; } }

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink-800);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.pcard h3 { margin-bottom: 8px; }
.pcard p { margin: 0; font-size: 14px; color: var(--text-2); }

/* ---------------------------------------------------- counts widget --- */

.counts-widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14.5px; font-weight: 500; margin-bottom: 22px; }
.toggle input { position: absolute; opacity: 0; }
.toggle__track {
  flex: 0 0 auto;
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: var(--line-strong);
  position: relative;
  transition: background 0.2s;
}
.toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.toggle input:checked + .toggle__track { background: var(--brand); }
.toggle input:checked + .toggle__track::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__track { outline: 2px solid var(--brand); outline-offset: 2px; }
.toggle .mono { color: var(--text-3); font-size: 12px; }

.counts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1020px) { .counts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .counts-grid { grid-template-columns: 1fr; } }

.ccard { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--card-dim); }
.ccard h4 { margin: 0 0 2px; font-size: 14.5px; font-weight: 600; }
.ccard .law { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); display: block; margin-bottom: 12px; }
.ccard__count { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.ccard__count .n { font-family: var(--font-mono); font-size: 30px; font-weight: 500; color: var(--text-1); transition: color 0.2s; }
.ccard__count .of { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.ccard__how { font-size: 12px; color: var(--text-2); margin: 10px 0 0; min-height: 3.6em; }
.counts-note { font-size: 13px; color: var(--text-2); margin: 20px 0 0; max-width: 80ch; }

/* -------------------------------------------------------- pipeline --- */

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
  counter-reset: step;
}
.pipeline__step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
}
.pipeline__step--core { border-color: var(--brand); border-width: 1.5px; background: var(--brand-wash); }
.pipeline__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 24px;
  color: var(--text-3);
  font-size: 14px;
  z-index: 1;
}
.pipeline__num { font-size: 11px; color: var(--brand-deep); letter-spacing: 0.1em; }
.pipeline__step h3 { font-family: var(--font-body); font-size: 15px; margin: 6px 0 6px; }
.pipeline__step p { margin: 0; font-size: 12.5px; color: var(--text-2); }
@media (max-width: 1020px) {
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline__step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) { .pipeline { grid-template-columns: 1fr; } }

.ai-note {
  border-left: 3px solid var(--brand);
  background: var(--brand-wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
}
.ai-note p { margin: 0; font-size: 14.5px; color: var(--text-1); max-width: 90ch; }

/* four questions */
.qgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 44px; }
@media (max-width: 1020px) { .qgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .qgrid { grid-template-columns: 1fr; } }
.qcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.qcard__n { font-size: 11px; color: var(--brand-deep); letter-spacing: 0.1em; }
.qcard h3 { font-family: var(--font-body); font-size: 15.5px; margin: 6px 0 6px; }
.qcard p { margin: 0; font-size: 13px; color: var(--text-2); }

/* customer lanes */
.lane-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .lane-grid { grid-template-columns: 1fr; } }
.lane {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.lane--first { border-color: var(--brand); border-width: 1.5px; box-shadow: var(--shadow); }
.lane h3 { margin: 2px 0 0; }
.lane p { margin: 0 0 6px; font-size: 14px; color: var(--text-2); flex: 1; }

/* rule factory + strategy quote */
.rulefactory { margin-top: 28px; }
.rulefactory > p:not(.eyebrow) { font-size: 15px; color: var(--text-2); max-width: 88ch; margin: 10px 0 0; }
.rulefactory .mono { font-size: 12.5px; color: var(--brand-deep); }
.rulefactory a { color: var(--brand-deep); font-weight: 600; }
.strategy {
  margin: 26px 0 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--ink-800);
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.45;
  color: var(--text-1);
  max-width: 62ch;
}

/* ---------------------------------------------------- trigger tabs --- */

.trigger-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.trigger-tabs button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(159, 184, 196, 0.35);
  background: transparent;
  color: var(--text-inv-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.trigger-tabs button[aria-selected="true"] {
  background: var(--brand-bright);
  border-color: var(--brand-bright);
  color: var(--ink-950);
}
.tpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; animation: fadeUp 0.3s ease; }
@media (max-width: 900px) { .tpanel { grid-template-columns: 1fr; } }
.tpanel[hidden] { display: none; }

.tpanel__alert {
  background: #0e3145;
  border: 1px solid rgba(42, 212, 183, 0.25);
  border-radius: var(--radius);
  padding: 18px;
  align-self: start;
}
.tpanel__alert h3 { font-family: var(--font-body); font-size: 15.5px; color: #fff; margin: 10px 0 8px; }
.tpanel__alert p { font-size: 13px; color: var(--text-inv-2); margin: 0; }
.tpanel__steps { background: rgba(7, 30, 44, 0.45); border: 1px solid rgba(159, 184, 196, 0.16); border-radius: var(--radius); overflow: hidden; }
.tpanel__steps table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tpanel__steps th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-bright);
  padding: 12px 16px 8px;
  border-bottom: 1px solid rgba(159, 184, 196, 0.16);
}
.tpanel__steps td { padding: 10px 16px; border-bottom: 1px solid rgba(159, 184, 196, 0.1); color: #cfe0e8; vertical-align: top; }
.tpanel__steps tr:last-child td { border-bottom: 0; }
.tpanel__steps td:first-child { font-weight: 600; color: #fff; white-space: nowrap; }

/* -------------------------------------------------------- cap grid --- */

.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1020px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }
.cap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.cap h3 { font-family: var(--font-body); font-size: 15px; margin-bottom: 6px; color: var(--brand-deep); }
.cap p { margin: 0; font-size: 13px; color: var(--text-2); }

/* ---------------------------------------------------- console band --- */

.console-band { position: relative; background: var(--ink-950); color: var(--text-inv); overflow: hidden; }
.console-band__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.console-band h2 { color: #fff; margin-bottom: 8px; }
.console-band p { color: var(--text-inv-2); max-width: 60ch; margin: 0; }

/* --------------------------------------------------------- pricing --- */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.price--hi { border-color: var(--brand); border-width: 1.5px; box-shadow: var(--shadow); }
.price h3 { font-family: var(--font-body); font-size: 15px; }
.price__n { font-size: 27px; font-weight: 500; margin: 4px 0 10px; color: var(--text-1); }
.price__n span { font-size: 12px; color: var(--text-3); margin-left: 6px; }
.price p:last-child { margin: 0; font-size: 13.5px; color: var(--text-2); }

.calc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.calc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.calc__head h3 { font-family: var(--font-body); font-size: 16px; margin: 0; }
.calc__head p { margin: 0; color: var(--brand-deep); font-size: 14px; }
.calc input[type="range"] { width: 100%; margin: 18px 0; accent-color: var(--brand); }
.calc__out { display: flex; gap: 40px; flex-wrap: wrap; }
.calc__out > div { display: flex; flex-direction: column; }
.calc__out .mono { font-size: 26px; font-weight: 500; color: var(--text-1); }
.calc__out span:last-child { font-size: 12.5px; color: var(--text-3); }

/* ----------------------------------------------------------- pilot --- */

.pilot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .pilot { grid-template-columns: 1fr; } }
.pilot__list { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-2); }
.pilot__card {
  background: var(--ink-900);
  color: var(--text-inv);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.pilot__card h3 { color: #fff; }
.pilot__card > p { font-size: 13.5px; color: var(--text-inv-2); }
.pilot__form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.pilot__form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--text-inv-2); }
.pilot__form input, .pilot__form select {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(159, 184, 196, 0.3);
  background: rgba(7, 30, 44, 0.55);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
}
.pilot__ok { font-size: 11.5px; color: var(--brand-bright); margin: 0; }

/* ---------------------------------------------------------- footer --- */

.footer { background: var(--ink-950); color: var(--text-inv-2); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 40px;
}
@media (max-width: 800px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand p { font-size: 13.5px; max-width: 40ch; }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h4 { margin: 0 0 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #6f8b99; font-weight: 500; }
.footer__col a { color: var(--text-inv-2); text-decoration: none; font-size: 14px; }
.footer__col a:hover { color: #fff; }
.footer__legal { border-top: 1px solid rgba(159, 184, 196, 0.14); }
.footer__legal p { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; font-size: 11px; color: #5f7d8c; }
