/* Offer pages (AI coding safety audit and later offers).
   Builds on styles.css tokens: the price callout is a chart note in magenta on buff. */

.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  color: var(--magenta); margin: 0 0 1rem;
}
code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .86em;
  background: var(--shoal); padding: .05em .35em; border-radius: 4px; white-space: nowrap;
}

/* Hero */
.offer-hero {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(2.5rem, 7vw, 6rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
}
.offer-hero h1 { font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.offer-hero .lede { max-width: 36rem; }

.chart-note {
  background: var(--buff); padding: 1.5rem 1.6rem 1.4rem; border-left: 4px solid var(--magenta);
  justify-self: end; width: min(100%, 22rem);
}
.note-label { font-family: var(--display); font-weight: 600; font-size: .9rem; color: #4f4a36; margin: 0 0 .2rem; }
.note-price, .price-figure {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.6rem); color: var(--magenta); margin: 0 0 1rem;
  font-variant-numeric: tabular-nums;
}
.chart-note ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.chart-note li { padding: .45rem 0; border-top: 1px solid rgba(16, 35, 59, .22); font-size: .98rem; }
.chart-note li:last-child { border-bottom: 1px solid rgba(16, 35, 59, .22); }
.note-founding { font-style: italic; font-size: .95rem; color: #4f4a36; margin: 0; }

/* Fit band */
.offer-band { background: var(--shoal); padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter); }
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1rem clamp(2rem, 5vw, 5rem); }
.fit h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; grid-row: 1 / 3; }
.fit p { margin: 0; max-width: var(--measure); }
.signs { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.signs li { padding: .8rem 0 .8rem 1.6rem; border-top: 1px solid rgba(16, 35, 59, .25); position: relative; }
.signs li::before { content: ""; position: absolute; left: .2rem; top: 1.35rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--magenta); }

/* Sections */
.offer-section { padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.offer-section + .offer-section { border-top: 1px solid var(--rule); }
.offer-buff { background: var(--buff); border-top: 0 !important; }
.offer-buff .section-head p { color: #4f4a36; }
.offer-shoal { background: var(--shoal); border-top: 0 !important; }
.offer-buff + .offer-section, .offer-shoal + .offer-section { border-top: 0; }

/* Scorecard */
.scorecard { margin-top: clamp(2rem, 4vw, 3.5rem); }
.scorecard h3, .handling h3, .not-this h3, .price-next h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.table-wrap { overflow-x: auto; }
.scorecard table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: .98rem; }
.scorecard th { font-family: var(--display); font-weight: 600; text-align: left; color: var(--fathom); padding: .5rem 1rem .5rem 0; border-bottom: 2px solid var(--ink); }
.scorecard td { padding: .75rem 1rem .75rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.scorecard td:first-child { font-family: var(--display); font-weight: 600; width: 34%; }

/* Deliverables */
.deliverables { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 2.5vw, 2rem); }
.deliverables li { padding: 1.1rem 0; border-top: 1px solid rgba(16, 35, 59, .28); }
.deliverables strong { font-family: var(--display); display: block; font-size: 1.2rem; letter-spacing: -0.015em; margin-bottom: .3rem; }

/* Steps: a real sequence, so they are numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--magenta); margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.steps p { margin: 0; font-size: .98rem; }
.handling { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 44rem; padding: 1.25rem 1.4rem; border: 1px solid var(--rule); border-radius: 10px; }
.handling p { margin: 0; }

/* About */
.about { max-width: 44rem; }
.about h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.5rem; }

/* Price */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem clamp(2rem, 5vw, 5rem); }
.price-main { background: var(--buff); padding: 1.5rem 1.6rem; border-left: 4px solid var(--magenta); align-self: start; }
.price-main p { max-width: var(--measure); }
.price-next dl { margin: 0; }
.price-next dl > div { padding: 1rem 0; border-top: 1px solid var(--rule); }
.price-next dl > div:last-child { border-bottom: 1px solid var(--rule); }
.price-next dt { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: .3rem; }
.price-next dd { margin: 0; max-width: var(--measure); }
.not-this { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 44rem; }
.not-this p { margin: 0; color: var(--fathom); }

.contact .colophon a { color: inherit; }

.matrix-note { max-width: 44rem; color: var(--fathom); margin: 0 0 1rem; }

/* Links to the other offers, above the booking footer */
.other-offers { padding: clamp(2rem, 4vw, 3rem) var(--gutter); border-top: 1px solid var(--rule); }
.other-offers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(1.5rem, 3vw, 2.5rem); }
.other-offers li { display: grid; gap: .25rem; }
.other-offers a { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.015em; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.other-offers a:hover { color: var(--magenta); }
.other-offers span { color: var(--fathom); font-size: .98rem; }

@media (max-width: 60rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliverables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliverables li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
  .deliverables { grid-template-columns: 1fr; }
}
@media (max-width: 44rem) {
  .offer-hero, .fit, .price-grid { grid-template-columns: 1fr; }
  .fit h2 { grid-row: auto; }
  .chart-note { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .other-offers ul { grid-template-columns: 1fr; }
  code { white-space: normal; }
}
@media print {
  .chart-note, .price-main, .offer-band, .offer-buff, .offer-shoal { background: none; }
}
