/* ============================================================
   Niagara Office Rescue: founding audit page
   Visual system: the getdesign.md Sentry preview
   (design-md/sentry/preview.html), matched to its CSS: white
   canvas, Rubik 700 display with tight tracking, left-aligned
   hero, violet numbered eyebrows, midnight primary buttons,
   hairline cards with ticks, one rounded dark band, lime chips
   and a lime squiggle divider.
   ============================================================ */

:root {
  /* colors (preview tokens) */
  --primary: #150f23;
  --ink-deep: #1f1633;
  --on-primary: #ffffff;
  --accent-lime: #c2ef4e;
  --accent-violet: #6a5fc1;
  --accent-violet-deep: #422082;
  --accent-violet-mid: #79628c;
  --canvas: #ffffff;
  --canvas-dark: #1f1633;
  --night: #150f23;
  --press-light: #f0f0f0;
  --press-stronger: #efefef;
  --hairline-violet: #362d59;
  --hairline-cool: #cfcfdb;
  --hairline-cloud: #e5e7eb;
  --ink: #1f1633;
  --ink-soft: rgba(31, 22, 51, 0.7); /* the preview's ink at 0.7 opacity */
  --ink-press: #1a1a1a;
  --on-dark-muted: #bdb8c0;
  --ring-focus: rgba(59, 130, 246, 0.5);

  --font-display: "Rubik", system-ui, -apple-system, sans-serif;
  --font-body: "Rubik", -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 48px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: var(--on-primary);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* lime keyword chip */
.lime {
  background: var(--accent-lime);
  color: var(--ink-deep);
  padding: 0 12px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ---------- buttons ---------- */

.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 0 20px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn--primary:active {
  background: var(--press-stronger);
  color: var(--ink-press);
}

.btn--secondary {
  background: var(--canvas);
  color: var(--ink-deep);
  border: 1px solid var(--hairline-cool);
}

.btn--secondary:active {
  background: var(--press-light);
}

.btn--inverted {
  background: var(--on-primary);
  color: var(--ink-deep);
}

.btn--inverted:active {
  background: var(--press-light);
  color: var(--ink-press);
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ring-focus);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---------- type ---------- */

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin: 0 0 12px;
}

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section-heading {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--ink-deep);
  margin: 0 0 16px;
  max-width: 24ch;
}

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

.band {
  padding-block: 96px;
  border-top: 1px solid var(--hairline-cloud);
  background: var(--canvas);
}

/* soft canvas bands (preview token canvas-soft) so white cards read */
.band--sage {
  background: var(--press-light);
  border-top-color: var(--press-light);
}

.band--sage + .band {
  border-top-color: var(--press-light);
}

/* shared card chrome (card.pricing-light) */
.callback,
.report__doc,
.stats,
.step,
.fit__card,
.about,
.signs__list li,
.safety__list li {
  background: var(--canvas);
  border: 1px solid var(--hairline-cloud);
  border-radius: 12px;
}

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

/* dark nav variant (DESIGN.md "Top Nav (dark variant)"): midnight bar,
   white type, inverted white button */
.nav-band {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 0 48px;
  height: 64px;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--on-primary);
  text-decoration: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--on-primary);
  text-decoration: none;
}

.nav__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav .btn {
  height: 40px;
  padding: 0 16px;
  background: var(--on-primary);
  color: var(--ink-deep);
}

.nav .btn:active {
  background: var(--press-light);
  color: var(--ink-press);
}

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

.hero {
  padding-block: 96px;
  background: var(--press-light);
}

.hero__intro {
  max-width: 1200px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--ink-deep);
  margin: 0 0 32px;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 900px;
  margin: 0 0 40px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 72px;
}

/* form card */

.callback {
  padding: 32px;
  scroll-margin-top: 88px;
}

.callback__who {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.callback__photo img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  object-fit: cover;
}

.callback__name {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.callback__role {
  font-size: 14px;
  color: var(--ink-soft);
}

.callback__heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.callback__terms {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-top: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 6px;
}

.field__req,
.field__opt {
  font-weight: 400;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 40px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-deep);
  background: var(--canvas);
  border: 1px solid var(--hairline-cool);
  border-radius: 6px;
  padding: 8px 12px;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid var(--ring-focus);
  outline-offset: 0;
  box-shadow: rgba(0, 0, 0, 0.15) 0 2px 10px inset;
}

.callback__submit {
  width: 100%;
  margin-top: 24px;
}

.callback__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 16px;
}

.callback__status {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-violet);
  margin-top: 8px;
  min-height: 20px;
}

/* report preview */

.report__heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin-top: 8px;
}

.report__sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 8px;
}

.report__doc {
  padding: 24px;
  margin-top: 20px;
}

.report__page + .report__page {
  margin-top: 20px;
}

.report__page .label {
  margin-bottom: 12px;
}

.report__leak,
.report__next {
  background: var(--press-light);
  border-radius: 8px;
  padding: 12px 16px;
}

.report__leak + .report__leak {
  margin-top: 8px;
}

.report__leak strong,
.report__next strong {
  display: block;
  font-weight: 600;
}

.report__leak span {
  font-size: 14px;
  color: var(--ink-soft);
}

.report__nexts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.report__next {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.report__next strong {
  font-size: 15px;
  color: var(--ink-deep);
}

/* stat strip */

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 0;
  margin-top: 32px;
}

.stats li {
  padding-inline: 32px;
}

.stats li + li {
  border-left: 1px solid var(--hairline-cloud);
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ink-deep);
}

.stats span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- signs ---------- */

.signs__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.signs__list li {
  padding: 24px;
  font-size: 16px;
  line-height: 1.6;
}

.signs__closing {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 720px;
  margin-top: 24px;
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.steps--four {
  grid-template-columns: repeat(4, 1fr);
}

.step {
  padding: 32px;
}

.step__number {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--accent-violet);
  margin-bottom: 12px;
}

.step__number::before {
  content: "0";
}

.step__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.step__time {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

.step__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 12px;
}

.hour__aside {
  font-weight: 600;
  margin-top: 24px;
}

/* ---------- the Cleanup: card.pricing-featured ---------- */

.sprint {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--night);
  color: var(--on-primary);
  border-radius: 12px;
  padding: 32px;
  margin-top: 32px;
}

.sprint .label {
  color: var(--on-dark-muted);
}

.sprint__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-top: 8px;
}

.sprint__price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  white-space: nowrap;
  margin-top: 16px;
}

.sprint__price-note {
  font-size: 14px;
  color: var(--on-dark-muted);
  margin-top: 4px;
}

.sprint__body p {
  font-size: 14px;
  line-height: 2;
  padding-left: 1.4em;
  text-indent: -1.4em;
}

.sprint__body p::before {
  content: "✓ ";
  color: var(--accent-lime);
  font-weight: 700;
  display: inline-block;
  width: 1.4em;
  text-indent: 0;
}

/* ---------- keep it clean: light card under the cleanup ---------- */

.keep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: var(--canvas);
  border: 1px solid var(--hairline-cloud);
  border-radius: 12px;
  padding: 32px;
  margin-top: 16px;
}

.keep__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-top: 8px;
}

.keep__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-violet);
  margin-top: 8px;
}

.keep__body {
  font-size: 14px;
  line-height: 2;
}

/* ---------- fit ---------- */

.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.fit__card {
  padding: 32px;
}

.fit__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.fit__card ul,
.safety__list {
  list-style: none;
}

.fit__card ul {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 2;
}

.fit__card li::before {
  content: "✓ ";
  color: var(--accent-violet);
  font-weight: 700;
}

.fit__card:last-child li::before {
  content: "× ";
}

/* ---------- safety + about ---------- */

.safety__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.safety__list {
  margin-top: 32px;
  display: grid;
  gap: 8px;
}

.safety__list li {
  padding: 14px 20px;
  font-size: 14px;
}

.safety__list li::before {
  content: "✓ ";
  color: var(--accent-violet);
  font-weight: 700;
}

.about {
  padding: 32px;
}

.about__heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.about__body {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
}

/* ---------- closer: the rounded dark band ---------- */

.dark-band {
  background: var(--canvas-dark);
  color: var(--on-primary);
  padding: 64px 48px;
  border-radius: 18px;
}

.closer__heading {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--on-primary);
}

.closer__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-muted);
  margin-top: 16px;
}

.dark-band .btn {
  margin-top: 32px;
}

/* ---------- how to book ---------- */

.book__call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.book__number a {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1;
  color: var(--ink-deep);
  text-decoration: none;
}

.book__number a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.book__area {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 16px;
}

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

.lime-divider {
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'><path d='M0,6 Q10,0 20,6 T40,6 T60,6 T80,6 T100,6' stroke='%23c2ef4e' stroke-width='3' fill='none'/></svg>");
  margin: 16px 0;
}

.footer {
  border-top: 1px solid var(--hairline-cloud);
  padding-block: 16px 32px;
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--ink);
}

/* ---------- mobile sticky bar ---------- */

.call-bar {
  display: none;
}

/* ---------- responsive (preview breakpoints: 1024, 720) ---------- */

@media (max-width: 1024px) {
  .container,
  .nav {
    padding-inline: 32px;
  }

  .band,
  .hero {
    padding-block: 64px;
  }

  .section-heading {
    font-size: 32px;
  }

  .hero__headline {
    font-size: 56px;
  }

  .hero__cols,
  .safety__grid,
  .sprint,
  .keep {
    grid-template-columns: 1fr;
  }

  .sprint,
  .keep {
    gap: 24px;
  }

  .steps,
  .steps--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 76px; /* room for the sticky bar */
  }

  .container {
    padding-inline: 20px;
  }

  .nav {
    padding: 12px 20px;
    height: auto;
    min-height: 56px;
  }

  .nav__link,
  .nav .btn {
    display: none; /* the sticky bar carries both actions */
  }

  .band,
  .hero {
    padding-block: 48px;
  }

  .hero__headline {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .hero__actions {
    display: none; /* same two actions live in the sticky bar */
  }

  .hero__cols {
    margin-top: 40px;
  }

  .callback,
  .step,
  .fit__card,
  .about,
  .sprint,
  .keep {
    padding: 24px;
  }

  .field-row,
  .report__nexts,
  .steps,
  .steps--four,
  .fit {
    grid-template-columns: 1fr;
  }

  .field-row {
    gap: 0;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
  }

  .stats li {
    padding-inline: 20px;
  }

  .stats li:nth-child(3) {
    border-left: 0;
  }

  .stats strong {
    font-size: 34px;
  }

  .sprint__price {
    font-size: 36px;
  }

  .dark-band {
    padding: 40px 24px;
  }

  .closer__heading {
    font-size: 36px;
  }

  .dark-band .btn,
  .book__call .btn {
    width: 100%;
  }

  .book__number a {
    font-size: 32px;
  }

  .footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .call-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 12px 16px;
    background: var(--canvas);
    border-top: 1px solid var(--hairline-cloud);
  }

  .call-bar .btn {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
