/* ─────────────────────────────────────────────────────────────────────
   Content pages (about, guides)
   ───────────────────────────────────────────────────────────────────── */

.content-page {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.content-page h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--navy);
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
  color: var(--ink);
}

.content-page p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.content-page ul {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.content-page li {
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.content-page a {
  color: var(--brass-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-page a:hover {
  color: var(--brass);
}

/* ─── Tables ─────────────────────────────────────────────────────── */

.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.content-table th,
.content-table td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 0.5px solid var(--rule);
}

.content-table th {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  opacity: 0.7;
}

.content-table td:first-child {
  font-weight: 500;
  white-space: nowrap;
}

.content-table--compare th:first-child {
  width: 30%;
}

.content-table--compare td:nth-child(2) {
  color: var(--brass-deep);
  font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────────
   Large-diameter landing page (/large-diameter/)
   ───────────────────────────────────────────────────────────────────── */

.ld-hero__cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Applications grid — 6 short cards */
.ld-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 960px) { .ld-apps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ld-apps { grid-template-columns: 1fr; } }
.ld-app {
  border: 0.5px solid var(--navy);
  background: var(--paper-warm);
  padding: 1.25rem 1.4rem;
}
.ld-app__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0 0 0.4rem;
  color: var(--navy);
}
.ld-app__body {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* "Why cast at this scale" — short inverted band */
.ld-why {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.ld-why__body {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.45;
  max-width: 62ch;
  margin: 0.9rem 0 0;
}

/* Quote form */
.quote-form {
  max-width: 720px;
}
.quote-form__lede {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}
.quote-form__success {
  border: 0.5px solid var(--brass-deep);
  background: var(--paper-warm);
  color: var(--brass-deep);
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
}
.quote-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .quote-form__row--2 { grid-template-columns: 1fr; }
}
/* Honeypot: visually removed, still submittable by naive bots */
.quote-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.quote-form__submit { align-self: flex-start; margin-top: 0.25rem; }
.quote-form__note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0;
}
.quote-form__note a {
  color: var(--brass-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form fields (same look as checkout — duplicated here so this page
   doesn't need checkout.css) */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.field__label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.field__input,
.field__select {
  padding: 0.7rem 0.85rem;
  background: var(--paper);
  border: 0.5px solid var(--navy);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  width: 100%;
}
.field__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%),
                    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.field__input:focus,
.field__select:focus {
  outline: none;
  border-color: var(--brass);
  background: #fff;
}
.field__error {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #993c1d;
}
.field--has-error .field__input,
.field--has-error .field__select { border-color: #993c1d; }

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .content-page h2 { font-size: 1.3rem; }

  .content-table {
    font-size: 0.82rem;
  }

  .content-table th,
  .content-table td {
    padding: 0.4rem 0.5rem;
  }
}

/* ═══ SEGMENT LANDING PAGES (commit 83) ═══════════════════════════════
   Shared by /certified-cast-acrylic/, /aquarium-cast-acrylic/ and
   /industrial-cast-acrylic/. Everything here reuses the existing type scale
   and brand tokens — these pages should read as the same site, just aimed at
   a narrower reader. */

/* Sections on the landing pages sit closer together than the default rhythm;
   they're scannable blocks, not long-form article sections. */
.section--tight {
  padding-top: clamp(2rem, 3.5vw, 3rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}

/* ── Term/definition list — "what we certify", "why cast" ─────────── */
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  max-width: 68ch;
}
.spec-list__item {
  padding-left: 1.1rem;
  border-left: 2px solid var(--brass);
}
.spec-list__term {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.spec-list__body {
  display: block;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
/* On the navy bands the ink tokens would vanish, so re-point them at paper. */
.spec-list--inverted { margin-top: 1.25rem; }
.spec-list--inverted .spec-list__term { color: var(--paper); }
.spec-list--inverted .spec-list__body { color: var(--paper); opacity: 0.8; }

/* ── Numbered process list — "how it works" ───────────────────────── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  max-width: 68ch;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: baseline;
  gap: 0.5rem;
}
.step__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.step__body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ── Callout — the industrial page's engineering caveat ───────────── */
/* Bordered rather than coloured: this is a scope boundary, not a warning.
   Industrial buyers read it as professional, and a red alert box would
   read as a liability disclaimer nobody wants to sign. */
.callout {
  border: 0.5px solid var(--navy);
  border-left: 3px solid var(--brass);
  background: var(--paper-warm);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 72ch;
}
.callout__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.callout__body strong { color: var(--ink); }

/* ── Small trailing link under a section ──────────────────────────── */
.section-aside {
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ── Form field hint ──────────────────────────────────────────────── */
.field__hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* ── Segment routing cards on /large-diameter/ ────────────────────── */
/* /large-diameter/ is the capabilities hub; these send a general-search
   arrival to the page written in their own vocabulary. */
.segment-routes__section {
  padding-top: 0;
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}
.segment-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 860px) {
  .segment-routes { grid-template-columns: 1fr; }
}
.segment-route {
  display: block;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  background: var(--paper-warm);
  border: 0.5px solid var(--rule);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}
.segment-route:hover {
  background: var(--paper-deep);
  border-color: var(--navy);
}
.segment-route__label {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.segment-route__body {
  display: block;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}
.segment-route__go {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

/* ── Certification page: "what it is / what it isn't" (commit 84) ──── */
.cert-split__head {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--paper);
  margin: 1.75rem 0 0;
}
/* The is/isn't lists are statements, not term+definition pairs, so they drop
   the brass rule that the labelled .spec-list items carry. */
.spec-list--plain .spec-list__item {
  border-left: 0;
  padding-left: 0;
}
.spec-list--plain { gap: 0.6rem; }
/* Caveats get a rule back, in a muted tone — present, not alarming. */
.spec-list--caveat .spec-list__item {
  border-left: 2px solid rgba(244, 236, 219, 0.28);
  padding-left: 1.1rem;
}
.spec-list--inverted .spec-list__body strong { color: var(--paper); }
