/* Inner pages (site/feature.ts, industry.ts, hub.ts, generic.ts): the page components. Loaded after
   styles.css and before signup.css; the home page never loads it. Paper cards on the mist page, one
   navy band at the foot, teal only as the accent. */

.page-top { padding-top: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; padding: 0; list-style: none; color: var(--muted); font-size: 0.86rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--petrol); text-decoration: underline; }
@media (max-width: 640px) { .crumbs a { min-height: 44px; } }
.crumbs a[aria-current="page"] { color: var(--muted); }

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

.page-hero { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px); }
.page-hero-text { max-width: 62rem; }
.eyebrow { margin-bottom: 12px; color: var(--petrol); font-size: 0.92rem; font-weight: 560; }
.page-hero h1 {
  font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
}
.page-answer {
  margin-top: clamp(16px, 2vw, 24px);
  color: var(--steel);
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
  line-height: 1.55;
  max-width: 40em;
}
.page-plan { margin-top: 6px; color: var(--muted); font-size: 0.9rem; }
.page-note { margin-top: 14px; color: var(--muted); font-size: 0.88rem; }
.page-lead { margin-top: clamp(32px, 5vw, 56px); }
.page-hero h1 { text-wrap: balance; }

.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 28px; }
.cta-price { margin-top: 12px; max-width: 34em; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

/* Request a callback beside Start free: a quiet underlined link that keeps its place until walkthrough.js shows it */
.callback-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--petrol);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 4px;
}
.callback-link:hover { color: var(--petrol-deep); text-decoration-color: currentColor; }
.callback-link[hidden] { display: inline-flex; visibility: hidden; }

/* ---- shared section rhythm ------------------------------------------------------------------------------ */

.rows, .pains, .one-job, .start-with, .questions, .related, .hub, .plans, .table-section, .definitions, .prose {
  padding-block: clamp(32px, 5vw, 64px);
}
.pains > h2, .one-job > h2, .start-with > h2, .questions > h2, .related > h2, .hub-group > h2,
.plans > h2, .table-section > h2, .definitions > h2, .prose > h2 {
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ticks { display: grid; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; color: var(--steel); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--petrol);
  border-bottom: 2px solid var(--petrol);
  transform: rotate(-45deg);
}

/* ---- feature rows: question and answer beside the recording, sides alternating from 900 px ----------- */

.row { display: grid; gap: 20px; padding-block: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.row:first-child { border-top: 0; padding-top: 0; }
.row-text h2 { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.9rem); line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.row-body > p { margin-top: 12px; color: var(--steel); max-width: 36em; }
.row-body > .ticks + p { margin-top: 20px; }
/* a reference table under its row, full width */
.row-table { display: flex; flex-direction: column; grid-column: 1 / -1; min-width: 0; margin-top: clamp(4px, 1vw, 12px); }
/* a long table: the cue sits above it, where the reader meets it, and the columns get room */
.row-table .table-cue { order: -1; margin: 0 0 8px; }
.row-table .data-table { min-width: 56rem; table-layout: fixed; }
.row-table .data-table thead th:nth-child(1) { width: 19%; }
.row-table .data-table thead th:nth-child(2) { width: 27%; }
.row-table .data-table thead th:nth-child(3) { width: 31%; }
.row-table .data-table thead th:nth-child(4) { width: 23%; }
@media (max-width: 900px) {
  /* the row heading stays put while the other columns scroll past it */
  .row-table .data-table tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
}
/* the caption stays in view while the table scrolls sideways */
.caption-text { position: sticky; left: 18px; display: block; max-width: calc(100vw - 2 * var(--gutter) - 36px); }

@media (min-width: 901px) {
  .row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
  /* the recording always takes the wider column, whichever side it sits on */
  .row-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .row-flip .row-text { order: 2; }
  .row-flip .row-table { order: 3; }
  /* a row with no recording yet: the question on the left, the answer beside it */
  .row-text-only { display: block; }
  .row-text-only .row-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .row-text-only .row-body > p:first-child { margin-top: 0; }
  .row-text-only .row-body > .ticks:first-child { margin-top: 0; }
  .row-text-only .row-body { max-width: 40rem; }
  .row-text-only .row-table { margin-top: clamp(28px, 3vw, 40px); }
}

/* the credit line under a caption (the map recording's LINZ and pipe data licences) */
.media-credit { display: block; margin-top: 6px; color: var(--muted); font-size: 0.8rem; }
/* a still kept at its own shape (the Doug answers): no fixed ratio */
.still-natural .media-frame::before { display: none; }
.still-natural .media-frame > picture { position: static; display: block; width: 100%; height: auto; }
.still-natural .media-frame > picture img { position: static; display: block; width: 100%; height: auto; }

/* ---- what it doesn't do yet --------------------------------------------------------------------------- */


/* ---- questions (as on the home page) -------------------------------------------------------------------- */

.questions-list { max-width: 52rem; border-top: 1px solid var(--line-2); }
.questions-list details { border-bottom: 1px solid var(--line-2); }
.questions-list summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-size: 1.02rem;
  font-weight: 560;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::after { content: "+"; position: absolute; right: 6px; top: 15px; color: var(--petrol); font-size: 1.35rem; font-weight: 400; }
.questions-list details[open] summary::after { content: "\2212"; }
.questions-list details p { max-width: 42em; padding: 0 40px 22px 0; color: var(--steel); font-size: 0.97rem; }

/* ---- related links ---------------------------------------------------------------------------------- */

.related-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-weight: 500;
  text-decoration: none;
}
.related-links a:hover { color: var(--petrol-deep); box-shadow: inset 0 0 0 1.5px var(--petrol); }

/* ---- the closing band ------------------------------------------------------------------------------- */

.cta-band { padding-block: clamp(32px, 5vw, 64px) var(--section); }
.cta-band-inner { padding: clamp(28px, 6vw, 72px); color: var(--on-dark); background: var(--ink); border-radius: 24px; }
.cta-band h2 { max-width: 18em; color: var(--paper); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.04; letter-spacing: -0.038em; }
.cta-band-text { margin-top: 14px; max-width: 34em; color: var(--on-dark-2); }
.cta-band .callback-link { color: #8fe9e1; }
.cta-band .callback-link:hover { color: var(--paper); }
.cta-band .cta-price { color: var(--on-dark-3); }
.cta-band a:focus-visible, .cta-band .btn:focus-visible { outline-color: var(--teal); }

/* ---- industry pages ------------------------------------------------------------------------------- */

.pain-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 16px; padding: 0; list-style: none; }
.pain { padding: 22px 24px; background: var(--paper); border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); }
.pain h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.015em; }
.pain p { margin-top: 8px; color: var(--steel); font-size: 0.96rem; }
.pain .pain-source { color: var(--muted); font-size: 0.84rem; }
.pain-source a { color: var(--petrol); }

.one-job-intro { max-width: 40em; color: var(--steel); }
.steps { display: grid; gap: clamp(28px, 4vw, 48px); margin-top: 28px; padding: 0; list-style: none; }
.step { display: grid; gap: 18px; }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  color: var(--paper);
  background: var(--petrol);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
}
.step-text h3 { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem); line-height: 1.15; letter-spacing: -0.025em; }
.step-text p:not(.step-n) { margin-top: 8px; max-width: 34em; color: var(--steel); }

@media (min-width: 901px) {
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
}

.start-with > p { max-width: 40em; margin-top: 16px; color: var(--steel); }
.reviewed p { color: var(--muted); font-size: 0.9rem; }

/* ---- hubs ------------------------------------------------------------------------------------------- */

.hub { padding-top: 0; }
.hub-group + .hub-group { margin-top: clamp(48px, 6vw, 80px); }
.hub-group-head { display: grid; gap: 8px; margin-bottom: clamp(20px, 2.5vw, 28px); }
.hub-group-head h2 { margin-bottom: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.08; letter-spacing: -0.035em; }
.hub-group-lead { max-width: 40em; color: var(--steel); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 20px; padding: 0; list-style: none; }
/* each card is one link: the heading's link covers the whole card */
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow 160ms ease, transform 160ms ease; }
.card:not(.card-with-poster):not(.card-media) { align-self: start; }
.card:hover { box-shadow: 0 0 0 1.5px var(--petrol), 0 24px 48px -32px rgba(13, 27, 42, 0.35); transform: translateY(-2px); }
.card:focus-within { box-shadow: 0 0 0 2px var(--petrol); }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.card h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.02em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card:hover h3 a { color: var(--petrol-deep); }
.card p { color: var(--steel); font-size: 0.95rem; }
.card .card-note { padding: 10px 12px; color: var(--ink); background: var(--mist); border-radius: 8px; font-size: 0.86rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.card-tag { padding: 2px 10px; color: #7a3f00; background: #fff1dc; border-radius: 999px; font-size: 0.8rem; font-weight: 500; }
.card-poster { position: relative; aspect-ratio: 16 / 10; margin: 8px 8px 0; overflow: hidden; border-radius: 10px; background: #e4eaf0; }
.card-poster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.card-poster-label { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; color: var(--paper); background: rgba(13, 27, 42, 0.82); border-radius: 999px; font-size: 0.76rem; font-weight: 500; }
.card .card-credit { color: var(--muted); font-size: 0.76rem; line-height: 1.4; }

/* the hub's plan strip: what each plan includes, Lite first, stacked on phones */
.plan-strip { margin-top: clamp(48px, 7vw, 88px); }
.plan-strip > h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -0.03em; }
.plan-strip-plans { display: grid; gap: 16px; }
@media (min-width: 720px) { .plan-strip-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .plan-strip-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan-strip-plan { display: grid; align-content: start; gap: 14px; padding: clamp(22px, 3vw, 32px); background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2); }
.plan-strip-standard { box-shadow: 0 0 0 2px var(--petrol); }
.plan-strip-plan h3 { font-size: 1.4rem; letter-spacing: -0.02em; }
.plan-strip-facts { display: grid; gap: 10px; margin: 0; }
.plan-strip-facts dt { color: var(--muted); font-size: 0.84rem; }
.plan-strip-facts dd { margin: 2px 0 0; color: var(--ink); }
.plan-strip-facts div:first-child dd { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.plan-strip-includes { padding-top: 14px; color: var(--ink); font-weight: 600; border-top: 1px solid var(--line); }
.plan-strip-plan .ticks { margin-top: 0; }
.plan-strip-plan .ticks li { font-size: 0.95rem; }
.plan-strip-not { margin-top: 18px; color: var(--ink); font-weight: 530; }
.plan-strip-note { margin-top: 6px; color: var(--muted); font-size: 0.9rem; }
.plan-strip-link { margin-top: 14px; }
.plan-strip-link a { color: var(--petrol); font-weight: 530; }
.card .plan-tag, .plan-tag { align-self: flex-start; padding: 2px 10px; border-radius: 12px; color: var(--petrol-deep); background: var(--teal-tint); font-size: 0.8rem; font-weight: 500; }

/* ---- pricing: plan columns, tables, definitions, prose ------------------------------------------------------- */

.plan-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 16px; }
.plan { display: grid; align-content: start; gap: 10px; padding: 28px; background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2); }
.plan-name { font-size: 1.3rem; letter-spacing: -0.02em; }
.plan-summary, .plan-ex { color: var(--steel); }
.plan-ex { font-size: 0.88rem; }
.plan-price { color: var(--steel); }
.plan-figure { color: var(--ink); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; }
.plan .ticks { margin-bottom: 8px; }
.plan .btn { justify-self: start; }
.plans-note { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }

.table-scroll { position: relative; overflow-x: auto; background: var(--paper); border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); }
.table-scroll:focus-visible { outline-offset: 3px; }
.data-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.94rem; }
.data-table caption { padding: 16px 18px 6px; color: var(--muted); font-size: 0.86rem; text-align: left; }
.data-table th, .data-table td { padding: 12px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { color: var(--ink); font-weight: 560; border-top: 0; }
.data-table tbody th { color: var(--ink); font-weight: 500; white-space: nowrap; }
.data-table td { color: var(--steel); }
.table-cue { display: none; margin-top: 8px; color: var(--muted); font-size: 0.84rem; }
.table-note { margin-top: 10px; color: var(--muted); font-size: 0.86rem; }

.definitions dl { display: grid; gap: 0; max-width: 52rem; border-top: 1px solid var(--line-2); }
.definitions dl > div { display: grid; gap: 4px 32px; padding-block: 16px; border-bottom: 1px solid var(--line-2); }
.definitions dt { color: var(--ink); font-weight: 560; }
.definitions dd { color: var(--steel); }
@media (min-width: 641px) {
  .definitions dl > div { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

.prose p { max-width: 40em; color: var(--steel); }
.prose p + p { margin-top: 12px; }

/* ---- phones ------------------------------------------------------------------------------------------ */

@media (max-width: 640px) {
  .cta-actions .btn { width: 100%; }
  .cta-actions { gap: 4px 24px; margin-top: 22px; }
  .table-cue { display: block; }
  .questions-list summary { padding-block: 14px; font-size: 0.98rem; }
  .questions-list summary::after { top: 12px; }
  .cta-band-inner { padding: 28px 20px; border-radius: 18px; }
  .plan { padding: 22px; }
}

/* ---- shared additions for the industries, pricing, category and comparison pages ------------------------ */

.example-note { color: var(--muted); font-size: 0.9rem; }
.section-lede { max-width: 44em; margin-bottom: 20px; color: var(--steel); }
.plain-list { display: grid; gap: 12px; max-width: 46rem; margin-top: 16px; padding-left: 20px; }
.plain-list li { color: var(--steel); }
.plain-list li::marker { color: var(--petrol); }
.plain-list strong { color: var(--ink); font-weight: 560; }
.prose h2 + .plain-list { margin-top: 0; }
.prose .plain-list + p { margin-top: 16px; }
.prose a, .table-note a, .compare-intro a, .questions-list a, .plain-list a {
  color: var(--petrol);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 3px;
}
.prose a:hover, .table-note a:hover, .compare-intro a:hover, .questions-list a:hover, .plain-list a:hover { color: var(--petrol-deep); text-decoration-color: currentColor; }
.ticks a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--petrol) 55%, transparent); text-underline-offset: 3px; }
.ticks a:hover { color: var(--petrol-deep); }

/* tables whose row headers are sentences wrap them instead of forcing the width */
.data-table.compare-table tbody th, .data-table.worked-table tbody th, .data-table.price-table tbody th, .data-table.cost-table tbody th { white-space: normal; }
.data-table.price-table td { white-space: nowrap; }
/* the totals table fits its box at every width: tighter cells up to 900 px, and up to 720 px each row
   folds into two lines (Standard over Lite) under a header folded the same way */
.totals-table { min-width: 0; }
.totals-table td { white-space: nowrap; }
.totals-table tbody th { font-size: 1.05rem; }
@media (max-width: 900px) {
  .totals-table th, .totals-table td { padding-inline: 12px; }
}
@media (max-width: 720px) {
  .totals-table, .totals-table thead, .totals-table tbody, .totals-table caption { display: block; }
  .totals-table caption { position: static; max-width: none; }
  .totals-table tr { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr); padding-block: 6px; border-top: 1px solid var(--line); }
  .totals-table thead tr { border-top: 0; }
  .totals-table th, .totals-table td { padding: 6px 8px; border-top: 0; }
  .totals-table tr > :first-child { grid-row: span 2; }
  .totals-table td { white-space: normal; text-wrap: balance; }
}
.page-hero + .plans { padding-top: 0; }

/* ---- industry pages: several recordings in one step, text-only steps, the worked table ---------------- */

.step-media { display: grid; gap: 24px; min-width: 0; }
.step-text-only { grid-template-columns: minmax(0, 1fr); }
.step-text-only .step-text p:not(.step-n) { max-width: 44em; }
.one-job-after { display: grid; gap: 18px; margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-2); }
.one-job-after > p { max-width: 44em; color: var(--steel); }
.one-job-after > p strong { color: var(--ink); font-weight: 560; }
.worked { max-width: 52rem; min-width: 0; }
.worked-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 12px;
  color: var(--steel);
  background: var(--paper);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 0.82rem;
  font-weight: 500;
}
.worked-table { min-width: 30rem; }
.worked-table td:last-child { color: var(--ink); font-weight: 560; }

/* ---- industries hub: cards with a still, the trades on the way --------------------------------------- */

.cards-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: 20px; }
.card-media { padding: 0; overflow: hidden; gap: 0; }
.card-media picture { display: block; aspect-ratio: 16 / 10; background: var(--line); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* a phone shows a card's 4:5 poster, where it has one, whole (components.ts phonePoster) */
@media (max-width: 640px) {
  .card-poster:has(source[media]), .card-media picture:has(source[media]) { aspect-ratio: 4 / 5; }
}
.card-media .card-body { display: grid; gap: 8px; padding: 22px 24px 26px; }
.card-media h3 a::after { content: ""; position: absolute; inset: 0; }
.card-media { position: relative; }
.card-media:hover { box-shadow: 0 0 0 1.5px var(--petrol); }
.on-the-way { margin-top: 24px; color: var(--steel); }
.on-the-way ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 0; list-style: none; }
.on-the-way li { padding: 6px 14px; color: var(--muted); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.9rem; }

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

.plans .plan-columns { gap: 20px; align-items: start; }
/* with the Coming note among them, the plans stack full width until they fit side by side */
.plan-columns:has(> .plan-coming) { grid-template-columns: minmax(0, 1fr); }
.plan { gap: 12px; padding: clamp(24px, 3vw, 36px); }
.plan-standard { box-shadow: 0 0 0 2px var(--petrol); }
.plan-name { font-size: 1.5rem; }
.plan-who { color: var(--steel); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; }
.plan-figure { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem); line-height: 1.05; white-space: nowrap; }
.plan-unit { color: var(--steel); }
.plan-yearly, .plan-us { color: var(--steel); font-size: 0.92rem; }
.plan-yearly strong { color: var(--ink); font-weight: 560; }
.plan-us { color: var(--muted); }
.plan-act { display: grid; gap: 8px; margin: 8px 0 6px; padding: 18px 0; border-block: 1px solid var(--line); }
.plan-act .btn { justify-self: stretch; }
.plan-under { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.plan-list-title { margin-top: 10px; font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; }
.plan .ticks { margin-top: 4px; }
.plan .ticks li { font-size: 0.94rem; }
.plan-not { margin-top: 6px; padding: 12px 16px; color: var(--steel); background: var(--mist); border-radius: 10px; font-size: 0.92rem; }
.plan-not strong { color: var(--ink); font-weight: 560; }
.plan-coming p { padding: 14px 18px; color: var(--steel); background: var(--teal-tint); border-radius: 12px; font-size: 0.92rem; }
.plan-coming strong { color: var(--petrol-deep); font-weight: 600; }
/* Starter, Lite and Standard side by side once all three fit; below that Starter spans the row */
@media (min-width: 901px) {
  .plans .plan-columns, .plan-columns:has(> .plan-coming) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "starter starter" "lite standard" "coming coming"; }
  .plan-starter { grid-area: starter; }
  .plan-standard { grid-area: standard; }
  .plan-lite { grid-area: lite; }
  .plan-coming { grid-area: coming; justify-self: center; text-align: center; }
}
@media (min-width: 1101px) {
  .plans .plan-columns, .plan-columns:has(> .plan-coming) { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "starter lite standard" "coming coming coming"; }
}

/* Enterprise, under the plan cards: arranged on request, no price */
.enterprise { padding-block: clamp(8px, 2vw, 24px); }
.enterprise-card { display: grid; gap: clamp(20px, 3vw, 40px); padding: clamp(24px, 3vw, 40px); background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2); }
.enterprise-head h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -0.03em; }
.enterprise-pitch { max-width: 32em; margin-top: 10px; color: var(--steel); }
.enterprise-act { display: grid; gap: 8px; justify-items: start; margin-top: 20px; }
.enterprise-under { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.enterprise-list .plan-list-title { margin-top: 0; }
.enterprise-list .ticks { margin-top: 10px; }
.enterprise-list .ticks li { font-size: 0.94rem; }
@media (min-width: 901px) {
  .enterprise-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.table-section .table-note + .table-note { margin-top: 6px; }


.first-days { padding-block: clamp(32px, 5vw, 64px); }
.first-days > h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.08; letter-spacing: -0.035em; }
.first-days-grid { display: grid; gap: 16px; }
.first-days-grid > div { padding: clamp(22px, 3vw, 32px); background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2); }
.first-days-grid h3 { margin-bottom: 14px; font-size: 1.15rem; letter-spacing: -0.02em; }
.first-days-steps, .first-days-after { display: grid; gap: 14px; padding-left: 22px; }
.first-days-steps li, .first-days-after li { color: var(--steel); }
.first-days-steps li::marker { color: var(--petrol); font-weight: 600; }
.first-days-after li::marker { color: var(--petrol); }
.first-days-grid strong { color: var(--ink); font-weight: 560; }
@media (min-width: 901px) { .first-days-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

.offer-strip { display: grid; gap: 16px; padding-block: clamp(16px, 3vw, 32px); }
.offer-card { display: grid; gap: 18px; align-content: space-between; padding: clamp(22px, 3vw, 32px); background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2); }
.offer-eyebrow { margin-bottom: 8px; color: var(--petrol); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }
.offer-card p { max-width: 36em; color: var(--steel); }
.offer-card p + p { margin-top: 8px; }
.offer-line strong { color: var(--ink); font-size: 1.12rem; font-weight: 600; line-height: 1.4; }
.offer-card .btn { justify-self: start; }
@media (min-width: 901px) { .offer-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- category page ------------------------------------------------------------------------------------ */

.jobs-intro { max-width: 46rem; padding-bottom: clamp(16px, 3vw, 32px); }
.jobs-intro h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.08; letter-spacing: -0.035em; }
.jobs-intro p { color: var(--steel); }
.jobs-intro p + p { margin-top: 8px; }
.jobs-intro .example-note { color: var(--muted); }
.job-row:first-of-type { border-top: 1px solid var(--line-2); padding-top: clamp(24px, 4vw, 48px); }
.job-row h3 { font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem); line-height: 1.14; letter-spacing: -0.03em; }
.job-row h3 .plan-tag { position: relative; top: -0.2em; margin-left: 6px; font-size: 0.78rem; letter-spacing: 0; vertical-align: middle; }
.job-row .row-text > p:not(.step-n) { margin-top: 12px; max-width: 36em; color: var(--steel); }
.job-row .row-text > p.job-general { color: var(--ink); font-weight: 500; }
.row-media { display: grid; gap: 24px; min-width: 0; }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  color: var(--petrol-deep);
  background: var(--teal-tint);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.inline-links a:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--petrol); }
.ask-list { display: grid; gap: 10px; max-width: 46rem; margin-top: 16px; padding-left: 24px; }
.ask-list li { color: var(--steel); }
.ask-list li::marker { color: var(--petrol); font-weight: 600; }
.explore { padding-block: clamp(32px, 5vw, 64px); }
.explore > h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.08; letter-spacing: -0.035em; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 16px; }
.explore-group { padding: 22px 24px; background: var(--paper); border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); }
.explore-group h3 { font-size: 1.05rem; letter-spacing: -0.015em; }
.explore-group > p { margin-top: 10px; color: var(--steel); }
.explore-group > p a { color: var(--petrol); font-weight: 500; }
.explore-group .inline-links { margin-top: 12px; }
.explore-note { margin-top: 10px; color: var(--muted); font-size: 0.88rem; }

/* ---- comparison pages ---------------------------------------------------------------------------------- */

.compare-intro { display: grid; gap: 14px; max-width: 46rem; margin-top: clamp(20px, 3vw, 32px); }
.compare-intro p { color: var(--steel); }
.checked-line { padding: 12px 16px; color: var(--ink); background: var(--paper); border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); font-size: 0.92rem; }
.ahead { margin-right: 6px; color: var(--petrol); font-size: 0.85em; }
.ahead-inline { color: var(--petrol); }
.page-hero + .compare-section { padding-top: 0; }
.price-table thead th { white-space: nowrap; }

.compare-table { min-width: 0; font-size: 0.88rem; line-height: 1.5; }
.compare-table th, .compare-table td { min-width: 15rem; padding: 14px 16px; }
.compare-table thead th { position: sticky; top: 0; background: var(--paper); font-size: 0.92rem; }
/* the row label stays pinned while the columns scroll under it */
.compare-table th[scope="row"], .compare-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 10rem;
  max-width: 12rem;
  background: var(--paper);
  box-shadow: 1px 0 0 var(--line);
}
.compare-table tbody td:nth-child(2) { color: var(--ink); background: color-mix(in srgb, var(--teal-tint) 55%, var(--paper)); }
.compare-table thead th:nth-child(2) { color: var(--petrol-deep); background: color-mix(in srgb, var(--teal-tint) 55%, var(--paper)); }
.compare-section .table-cue { display: block; }
.cell-source { display: block; margin-top: 8px; color: var(--muted); font-size: 0.78rem; }
/* the hub table's scan marks: the mark at the start of the cell, level with the first line, the words hanging beside it */
.marked { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 7px; align-items: start; }
.mark { width: 16px; height: 16px; flex: none; margin-top: 0.15em; margin-top: calc((1lh - 16px) / 2); }
.mark-ring { fill: none; stroke: currentColor; stroke-width: 1.5; }
.mark-stroke { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.mark-tick { fill: none; stroke: var(--paper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mark-yes { color: var(--petrol); }
.mark-partial { color: #b26f12; }
.mark-no, .mark-notYet { color: #a5574f; }
.mark-unstated { color: #a3afbb; }
/* in the full table's narrow columns a long word hyphenates rather than splitting anywhere */
[data-compare-picker] .compare-table .marked-text { hyphens: auto; hyphenate-limit-chars: 12 5 5; }
.mark-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; padding: 0; color: var(--steel); font-size: 0.84rem; line-height: 1.4; list-style: none; }
.mark-legend li { display: inline-flex; align-items: center; gap: 7px; }
.mark-legend .mark { margin-top: 0; }
.mark-legend .ahead { margin-right: 0; font-size: 0.8rem; }
.mark-legend .mark-legend-note { color: var(--muted); }
.cell-source a { color: var(--petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.price-table th, .price-table td { padding: 12px 16px; }
.price-table td:nth-child(2) { min-width: 15rem; white-space: normal; color: var(--muted); font-size: 0.86rem; }
.price-table tbody tr:nth-child(-n + 2) th, .price-table tbody tr:nth-child(-n + 2) td { background: color-mix(in srgb, var(--teal-tint) 55%, var(--paper)); }
.price-section .table-scroll { margin-bottom: 8px; }
/* from 721 px the price table fits its box: tighter cells and a narrower "Charged per" column */
@media (min-width: 721px) {
  .price-table th, .price-table td { padding: 12px 10px; }
  .price-table td:nth-child(2) { min-width: 12rem; }
}
.read-title { margin-top: 28px; font-size: 1.05rem; letter-spacing: -0.015em; }
.read-list { display: grid; gap: 10px; max-width: 52rem; margin-top: 12px; padding-left: 20px; color: var(--steel); font-size: 0.94rem; }
.read-list a { font-weight: 560; }
.choose p { max-width: 46rem; }
.choose p strong { color: var(--ink); font-weight: 600; }
.price-section > p:not(.section-lede):not(.table-note), .table-section > p:not(.table-note):not(.section-lede) { max-width: 44em; margin-top: 16px; color: var(--steel); }
.split { display: grid; gap: clamp(24px, 4vw, 56px); }
.split-media { display: grid; gap: 24px; min-width: 0; align-content: start; }
@media (min-width: 901px) { .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.breaks { padding-block: clamp(32px, 5vw, 64px); }
.breaks > h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.08; letter-spacing: -0.035em; }
.breaks-after { max-width: 44em; margin-top: clamp(28px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line-2); color: var(--steel); }
.cost-table td:nth-child(2) { min-width: 16rem; }

/* ---- about (draft) ------------------------------------------------------------------------------------- */

.team { padding-block: clamp(32px, 5vw, 64px); }
.team > h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.08; letter-spacing: -0.035em; }
.team .founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 32px 24px; margin-top: 28px; padding: 0; list-style: none; }
.team .founders img { width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 14px; background: var(--line); border-radius: 12px; }
.team .founders h3 { font-size: 1.06rem; }
.team .founder-role { margin: 2px 0 8px; color: var(--petrol); font-size: 0.9rem; font-weight: 500; }
.team .founders p:not(.founder-role) { color: var(--steel); font-size: 0.93rem; }
.team .founder-email { display: inline-flex; align-items: center; min-height: 44px; color: var(--petrol); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.team .founder-email[hidden] { display: none; }
.page-hero-text .page-answer + .page-answer { margin-top: 12px; }

@media (max-width: 640px) {
  .compare-table th, .compare-table td { min-width: 13rem; padding: 12px 14px; }
  .compare-table th[scope="row"], .compare-table thead th:first-child { min-width: 7.5rem; max-width: 7.5rem; font-size: 0.84rem; }
  .plan-act .btn { width: 100%; }
  .offer-card .btn { width: 100%; justify-self: stretch; }
  .card-media .card-body { padding: 18px 18px 22px; }
}

/* on long comparison tables the sideways cue sits above the table, where it is seen */
.compare-section { display: flex; flex-direction: column; }
.compare-section > h2 { order: -3; }
.compare-section > .section-lede { order: -2; }
.compare-section > .table-cue { order: -1; margin: 0 0 8px; }

/* a caption stays in view, and wraps, while a wide table scrolls under it (a DataTable's caption-text does this itself) */
.data-table caption:not(:has(.caption-text)) { position: sticky; left: 0; max-width: min(100%, calc(100vw - 2 * var(--gutter) - 2px)); }

@media (min-width: 901px) {
  /* a step or row with two recordings keeps its words in view beside them */
  .step:has(.step-media > :nth-child(2)), .job-row:has(.row-media > :nth-child(2)) { align-items: start; }
  .step:has(.step-media > :nth-child(2)) .step-text, .job-row:has(.row-media > :nth-child(2)) .row-text { position: sticky; top: calc(var(--masthead) + 32px); }
}
.job-row .row-text > p.step-n { margin-top: 0; color: var(--paper); }

/* ---- the compare hub's table: the full table from 1100 px, a product picker below ---------------------- */

/* From 1100 px the table spreads to the page width and fits without scrolling sideways; as nothing
   scrolls inside its box, the header row can stay in view under the masthead while the rows go by.
   Below 1100 px eight columns leave under 120 px each and words split, so the picker shows instead. */
@media (min-width: 1100px) {
  .compare-section[data-compare-picker] { max-width: none; }
  [data-compare-picker] > .table-scroll { overflow: visible; }
  [data-compare-picker] .compare-table { table-layout: fixed; font-size: 0.8125rem; line-height: 1.45; }
  [data-compare-picker] .compare-table th, [data-compare-picker] .compare-table td { min-width: 0; padding: 10px 8px; overflow-wrap: break-word; }
  [data-compare-picker] .compare-table th[scope="row"], [data-compare-picker] .compare-table thead th:first-child { position: static; width: 6.5rem; min-width: 0; max-width: none; font-size: 0.8125rem; }
  [data-compare-picker] .compare-table thead th, [data-compare-picker] .compare-table thead th:first-child { position: sticky; top: var(--masthead); z-index: 2; box-shadow: 0 1px 0 var(--line); }
  [data-compare-picker] .compare-table thead th:first-child { border-top-left-radius: 14px; }
  [data-compare-picker] .compare-table thead th:last-child { border-top-right-radius: 14px; }
  [data-compare-picker] .compare-table thead th:nth-child(2) { width: 9rem; }
  [data-compare-picker] .compare-table .cell-source { font-size: 0.8125rem; }
}
@media (min-width: 1280px) {
  [data-compare-picker] .compare-table th, [data-compare-picker] .compare-table td { padding: 12px 10px; }
  [data-compare-picker] .compare-table th[scope="row"], [data-compare-picker] .compare-table thead th:first-child { width: 9.5rem; }
  [data-compare-picker] .compare-table thead th:nth-child(2) { width: 13rem; }
  [data-compare-picker] .compare-table thead th { font-size: 0.86rem; }
}

/* compare-picker.js builds .compare-picker; without it the full table scrolls sideways below 1100 px. */
.compare-picker { display: none; }
@media (max-width: 1099px) {
  .has-picker .compare-picker { display: grid; gap: 12px; }
  .has-picker > .table-scroll, .has-picker > .table-cue { display: none; }
}
.compare-picker-label { color: var(--ink); font-weight: 560; }
.compare-picker-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.compare-picker-option {
  min-height: 48px;
  padding: 8px 6px;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
}
.compare-picker-option[aria-pressed="true"] { color: var(--paper); background: var(--petrol-deep); box-shadow: none; }
.compare-picker-option:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; }
.compare-pair-wrap { margin-top: 4px; background: var(--paper); border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); }
.data-table.compare-pair { min-width: 0; table-layout: fixed; font-size: 0.86rem; line-height: 1.45; }
.compare-pair thead th { position: sticky; top: var(--masthead, 0px); z-index: 1; width: 50%; padding: 12px; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.compare-pair thead th:first-child { color: var(--petrol-deep); border-top-left-radius: 14px; }
.compare-pair thead th:last-child { border-top-right-radius: 14px; }
.compare-pair tbody th { padding: 12px 12px 4px; color: var(--ink); font-weight: 600; white-space: normal; border-top: 1px solid var(--line-2); }
.compare-pair td { padding: 6px 12px 14px; border-top: 0; overflow-wrap: break-word; }
.compare-pair td:first-child, .compare-pair thead th:first-child { color: var(--ink); background: color-mix(in srgb, var(--teal-tint) 55%, var(--paper)); }
.compare-pair thead th:first-child { color: var(--petrol-deep); }
.data-table.compare-pair caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* page-ui.js marks each sideways cue with whether its table is wider than its box: it shows only then */
.table-cue[data-overflow="yes"] { display: block; }
.table-cue[data-overflow="no"] { display: none; }
