/* ═══════════════════════════════════════════════
   PROJECT:  iQ Ops Suite — Marketing Site
   FILE:     public/assets/css/main.css
   VERSION:  v1.36
   UPDATED:  2026-11-18 10:12 AM CT
   CHANGES:  v1.36 — plan cards, guarantee line, and phone
             spacing so the iQ ADA button does not cover the
             first pricing CTA. Earlier notes unchanged.
             (v1.35: inside-the-suite feature cards; current-page
             style for the Pricing nav link.)
             (v1.32: legal tables stack on phones.)
             (v1.30: header and hero cream are #FBEACB.)
             (v1.29: two-line header lockup and two-column hero.)
   ═══════════════════════════════════════════════ */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* FES-style green + blue for iQ Ops (light only) */
  --green: #2F6B45;
  --green-deep: #245235;
  --green-tint: #e8f3ec;
  --blue: #1853b9;
  --blue-deep: #123f8c;
  --blue-tint: #e8eef8;
  --ink: #0b0b0b;
  --ink-muted: #52514e;
  --paper: #fcfcfb;
  --page: #f4f5f3;
  --band: #eef2f6;
  --rule: #d5dce6;
  --white: #ffffff;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Header and hero. Exact match to the octopus panel field. */
  --hero-cream: #FBEACB;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wide { max-width: 64rem; }
.wrap-full {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--green-deep);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* Header */
.bar {
  background: var(--hero-cream); /* same field as the hero and the octopus panel */
  border-bottom: none;
  padding: 0.7rem 0;
}
.bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  max-width: 84rem;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  flex: 0 0 auto;
  min-width: max-content;
  max-width: 100%;
}
.mark {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 560;
  font-stretch: normal;
  font-synthesis: none;
  line-height: 1.15;
  letter-spacing: 0.012em;
  color: var(--green-deep);
}
.brand .mark,
.brand .mark-sub {
  display: block;
  margin: 0;
  white-space: nowrap;
}
.mark-sub {
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-left: 0.65rem;
}
.bar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  font-size: 1rem;
}
.bar-nav a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bar-phone {
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: none;
  font-size: 1.0625rem;
}
.bar-phone:hover { text-decoration: underline; }

/* Sections */
section { padding: 3rem 0; }
.band { background: var(--page); }
.tint { background: var(--green-tint); }
.blue-tint { background: var(--blue-tint); }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--green-deep);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(1.85rem, 4.5vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.15rem); }
h3 { font-size: 1.25rem; font-family: var(--sans); }

p { margin: 0 0 1.1rem; font-size: 1.125rem; color: var(--ink); }
.lead { font-size: 1.25rem; color: var(--ink); }
.muted { color: var(--ink-muted); font-size: 1.0625rem; }
.big {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-deep);
}
.hero-tag {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--green-deep);
  margin: 0 0 0.55rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin: 0 0 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none !important;
  padding: 0.95rem 1.6rem;
  border-radius: 8px;
  border: 2px solid var(--green);
  cursor: pointer;
  line-height: 1.3;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
}
.btn-blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-ghost {
  background: transparent;
  color: var(--green-deep) !important;
  border-color: var(--green);
}
.btn-ghost:hover { background: var(--green-tint); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: 1.25rem 0 0.5rem;
}
.under { font-size: 1rem; color: var(--ink-muted); margin-top: 0.5rem; }

/* Hero — copy and octopus are separate columns on desktop so text
   cannot land on the illustration when the viewport or zoom changes.
   The cream is full-bleed. The two columns sit in a narrower centered
   stage, 24px apart, with the blank field of the JPEG cropped away.
   Phone: copy first on cream, full image below (never over octopus). */
.top {
  background: var(--hero-cream);
  padding: 0.85rem 0 0.35rem;
}
.hero-stage {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0.25rem 1.35rem;
  color: var(--green-deep);
}
.hero-copy .lead,
.hero-copy .big,
.hero-copy .under,
.hero-copy h1 {
  color: var(--green-deep);
}
.hero-copy .lead { color: var(--ink); }
.hero-copy .under { color: var(--ink-muted); }
.hero-art {
  margin: 0;
  line-height: 0;
  background: var(--hero-cream);
  order: 2;
}
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  /* phone: show entire illustration including MAIN STREET sign */
  object-fit: contain;
  object-position: center center;
}
/* Speech bubble is drawn in the JPEG. This overlay sits in the oval
   and scales with the picture. Hidden from assistive tech. */
.hero-bubble {
  position: absolute;
  z-index: 2;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1a120c;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  pointer-events: none;
  container-type: size;
  /* Desktop crop: interior of the oval, as a share of the visible frame. */
  left: 80.6%;
  top: 45.0%;
  width: 13.4%;
  height: 4.6%;
}
.hero-bubble span {
  font-size: 36cqh;
  line-height: 1.05;
  font-weight: 700;
}
@media (min-width: 860px) {
  .top {
    /* Cream stays edge to edge. A short top pad puts the pill just under the header. */
    padding: 0.35rem clamp(1.25rem, 4vw, 4rem) 0.65rem;
  }
  .hero-stage {
    position: relative;
    display: grid;
    /* Narrower than the viewport so both columns sit in from the edges.
       Text keeps a readable measure. Art takes the rest. 24px between them.
       Both columns start at the top so the copy sits up under the logo. */
    width: min(72rem, 100%);
    max-width: 72rem;
    grid-template-columns: minmax(20rem, 34rem) minmax(14rem, 1fr);
    column-gap: 24px;
    align-items: start;
    justify-content: center;
    min-height: 0;
    overflow: visible;
  }
  .hero-art {
    position: relative;
    inset: auto;
    order: 0;
    z-index: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    align-self: start;
    width: 100%;
    /* 612/864 keeps the shop-sign edge and crops the blank field
       so the calendar, not empty cream, is the picture's left edge.
       Right edge stays put: sign, hat, and watch stay in frame. */
    aspect-ratio: 612 / 864;
    min-height: 0;
    background: var(--hero-cream);
  }
  .hero-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
  }
  .hero-copy {
    grid-column: 1;
    align-self: start;
    padding: 0.15rem 0 0.85rem;
    max-width: none;
    min-width: 0;
    background: var(--hero-cream);
  }
  /* Keep the button and the 15-minute line inside the picture
     after the longer green paragraph. Font size stays 20px. */
  .hero-copy .lead,
  .hero-copy .big {
    line-height: 1.45;
    margin-bottom: 0.7rem;
  }
  .hero-copy .hero-tag {
    margin-bottom: 0.4rem;
  }
  .hero-copy .btn-row {
    margin-top: 0.55rem;
    margin-bottom: 0.2rem;
  }
}
@media (max-width: 859px) {
  /* Same order as before full-bleed: copy first, art below (not above fold). */
  .top { padding: 0; }
  .hero-copy {
    background: var(--hero-cream);
    order: 1;
    padding: 1rem 1.25rem 1.25rem;
  }
  .hero-art {
    position: relative;
    order: 2;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    border: none;
    background: var(--hero-cream);
    box-shadow: none;
    aspect-ratio: 3 / 4;
    max-height: 70vh;
    min-height: 0;
  }
  .hero-art img {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center 22%;
  }
  /* Phone crop is a different frame, so the oval sits at a different share. */
  .hero-bubble {
    left: 79.5%;
    top: 47.8%;
    width: 14.2%;
    height: 5.0%;
  }
}

/* Suit comparison — right after hero */
.suit-compare {
  padding: 2.25rem 0 2.75rem;
  background: var(--paper);
}
.suit-compare .suit-lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.3;
  margin: 0 0 1.25rem;
  text-align: center;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}
.suit-frame {
  margin: 0 auto;
  max-width: 920px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(36, 82, 53, 0.08);
}
.suit-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1280 / 720;
  object-fit: cover;
  object-position: center center;
}
.suit-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  background: var(--white);
}
.suit-labels > div {
  padding: 0.9rem 1rem 1.05rem;
  text-align: center;
}
.suit-labels > div:first-child {
  border-right: 1px solid var(--rule);
  background: #f7f4ef;
}
.suit-labels > div:last-child {
  background: var(--green-tint);
}
.suit-labels .tag {
  display: block;
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.suit-labels .sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.35;
}
.suit-compare .suit-caption {
  margin: 1rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 1.125rem;
  color: var(--ink);
  line-height: 1.45;
}

.hammer {
  background: var(--white);
  border-left: 5px solid var(--blue);
  padding: 1.1rem 1.25rem;
  margin: 1.75rem 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.hammer p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.35;
}

/* Leak cards */
.cards {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.15rem 1.2rem;
}
.card h3 { margin-bottom: 0.4rem; color: var(--blue-deep); }
.card p { margin: 0; font-size: 1.0625rem; color: var(--ink-muted); }

/* Feature list */
.features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.features li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  font-size: 1.125rem;
  border-bottom: 1px solid var(--rule);
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--green);
}
.features li b { color: var(--green-deep); }

/* v1.33 — illustrated feature list: two-column card grid */
.features.features-illustrated {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.75rem 0 1.5rem;
}
.features.features-illustrated li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: 1rem 1rem 1.1rem;
  padding-left: 1rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  min-width: 0;
}
.features.features-illustrated li::before { content: none; }
.features.features-illustrated img {
  width: 100%;
  max-width: 16rem;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--white);
}
.features.features-illustrated p {
  margin: 0;
  font-size: 1.125rem;
  min-width: 0;
}
@media (min-width: 700px) {
  .features.features-illustrated {
    grid-template-columns: 1fr 1fr;
  }
  .features.features-illustrated li:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.5rem);
    justify-self: center;
    width: 100%;
  }
}

/* Figures */
figure {
  margin: 1.5rem 0;
}
figure figcaption {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}
.shot {
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}
.shot-phone { max-width: 22rem; margin-left: auto; margin-right: auto; }
/* v1.35 — inside-the-suite feature cards (no fake screenshots) */
.inside-grid {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.inside-grid li {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.15rem 1.2rem;
}
.inside-grid h3 {
  margin: 0 0 0.4rem;
  color: var(--green-deep);
  font-size: 1.25rem;
}
.inside-grid p {
  margin: 0;
  font-size: 1.125rem;
  color: var(--ink);
}
@media (min-width: 700px) {
  .inside-grid { grid-template-columns: 1fr 1fr; }
}

.bar-nav a[aria-current="page"] {
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 700;
}

.napkin img { border-radius: 8px; border: 1px solid var(--rule); }

/* Proof band */
.proof-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .proof-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.stat {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1rem 1.15rem;
}
.stat .num {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
}
.stat .lab { font-size: 1rem; color: var(--ink-muted); margin-top: 0.25rem; }

/* Form */
.form-box {
  position: relative;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
  max-width: 36rem;
}
.form-box label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
  margin: 0.85rem 0 0.35rem;
}
.form-box input,
.form-box textarea,
.form-box select {
  width: 100%;
  font: inherit;
  font-size: 1.125rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.form-box textarea { min-height: 5.5rem; resize: vertical; }
.form-box .btn { margin-top: 1.15rem; width: 100%; text-align: center; border: none; }
.form-note { font-size: 1rem; color: var(--ink-muted); margin-top: 0.75rem; }

/* Honeypot — visually hidden, still in the DOM for bots */
.form-box .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  font-size: 1.125rem;
  margin-top: 0.85rem;
  color: var(--green-deep);
}
.form-status.is-error { color: #8f2626; }
.form-thanks {
  background: var(--green-tint);
  border: 2px solid var(--green);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  max-width: 36rem;
}
.form-thanks .thanks-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-deep);
  margin: 0 0 0.5rem;
}
.form-thanks .btn-row { margin: 1rem 0 0.35rem; }
.form-thanks .btn { display: inline-block; width: auto; }

/* Bio */
.bio {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .bio { grid-template-columns: 1fr 1.4fr; align-items: start; }
}

/* Secondary list CTA — light, not dark */
.list-cta {
  background: var(--blue-tint);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

footer {
  background: var(--page);
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.5rem;
  font-size: 1rem;
  color: var(--ink-muted);
}
footer a { color: var(--blue); }
footer .stamp { font-size: 0.9375rem; margin-top: 0.75rem; }


@media (max-width: 599px) {
  .bar .wrap { gap: 0.5rem; }
  .mark { font-size: 1.5rem; }
  .brand .mark,
  .brand .mark-sub { white-space: normal; }
  .mark-sub { display: block; margin-left: 0; }
  section { padding: 2.35rem 0; }
  p, .features li { font-size: 1.125rem; }
}

/* Legal / secondary pages */
.legal { padding: 3.5rem 0 4.5rem; }
.legal h2 { margin: 2.25rem 0 0.75rem; font-size: 1.5rem; }
.legal a { color: var(--blue); }
.eff {
  display: inline-block;
  margin: 0.25rem 0 2rem;
  padding: 0.375rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--page);
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.legal table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; }
.legal th, .legal td {
  padding: 0.5rem 0.625rem;
  text-align: left;
  vertical-align: top;
  font-size: 1rem;
  border-bottom: 1px solid var(--rule);
}
.legal th { font-weight: 700; }
/* v1.32 — phones: stack each table row into labeled lines (desktop unchanged). */
@media (max-width: 599px) {
  .legal table.stack,
  .legal table.stack tbody,
  .legal table.stack tr,
  .legal table.stack td { display: block; width: 100%; }
  .legal table.stack tr:first-child { display: none; }
  .legal table.stack tr { padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
  .legal table.stack td { border-bottom: 0; padding: 0.2rem 0; overflow-wrap: anywhere; }
  .legal table.stack td::before { content: attr(data-label) ": "; font-weight: 700; }
}
.foot {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  text-align: center;
  color: var(--ink);
}
.foot p { margin: 0; font-size: 1rem; }
.foot-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.375rem;
  margin: 0.875rem 0 0;
  padding: 0;
}
.foot-links a { color: var(--blue); font-size: 1rem; }
a.mark { text-decoration: none; color: var(--green-deep); }


/* v1.36 — plan cards, guarantee line, and phone spacing so
   the iQ ADA button (bottom left) does not cover the first
   pricing CTA. The widget itself is unchanged. */
.plans {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.plans li {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem 1.2rem;
}
.plans h3 {
  margin: 0 0 0.5rem;
  color: var(--green-deep);
  font-size: 1.25rem;
}
.plans .amt {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.15;
  margin: 0 0 0.45rem;
}
.plans p { margin: 0; font-size: 1.125rem; color: var(--ink); }
.plans a { color: var(--blue); }
.guarantee {
  font-size: 1.125rem;
  margin: 0 0 0.35rem;
}
@media (min-width: 700px) {
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .plans { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 599px) {
  /* Leave a clear lane for the fixed bottom-left iQ ADA button. */
  .page-pricing .btn-row {
    padding-left: 5rem;
  }
}
