/* Tony's industry-page styles, ported from tests/fixtures/industry-mockup/styles.css and scoped to the
 * industry page design. Three transforms were applied to the source:
 *   1. Chrome dropped (.nav, .footer, the review-bar, @keyframes in): the real pages use the site's
 *      global header/footer, so Tony's standalone copies would double them. Tony's
 *      `:root[data-theme="dark"]{color-scheme:light}` guard is dropped too — the site has no dark mode
 *      and renders light, like its other pages.
 *   2. data-dir="match" flattened: only the "site match" direction ships, so its token overrides are
 *      baked in as the sole values and its few selector overrides applied in place (hero light ground +
 *      purple head/kicker but yellow .fit rule; proof deep band + transparent cards + 1px line border +
 *      teal stat + yellow kicker; story paper + purple stat; close mint + teal <em>; .photo dropped, the
 *      .diagram shown). The dead default direction is gone.
 *   3. Every rule scoped under `.industry-page section.page` so Tony's CSS neither leaks onto the global
 *      header/footer nor is overridden by the site's base element rules: the prefix's specificity
 *      (>= 0,2,1) beats the site's bare element/class rules, and `industry-page` (not `detail-page`)
 *      keeps the site's `.detail-page main ...` content rules from matching inside the section.
 * Tony's class names are unchanged (the round-trip compares against his markup). Values — clamps, the
 * 900px breakpoints, colours, spacing — are his, untouched. */

.industry-page section.page {
  /* Palette + the flattened "site match" direction tokens; children inherit them. */
  --violet: #7f28d8;
  --purple: #7000e0;
  --deep: #230056;
  --deep2: #2c0a6b;
  --yellow: #ffc436;
  --teal: #55cbd6;
  --teal2: #579fbb;
  --ink: #18181d;
  --ink2: #4d4a58;
  --rule: #e4e6f1;
  --paper: #f7f6f2;
  --ground: #fbfcf8;
  --white: #ffffff;
  --mint: #effaf5;
  --lav: #e4e6f1;
  --display: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --bg: var(--ground);
  --fg: var(--ink);
  --fg2: var(--ink2);
  --line: var(--rule);
  --surface: var(--white);
  --hero-bg: var(--ground);
  --hero-fg: var(--ink);
  --hero-fg2: var(--ink2);
  --hero-h1: var(--purple);
  --hero-hl: var(--purple);
  --proof-bg: var(--deep);
  --proof-fg: #fff;
  --proof-fg2: #c9bde3;
  --proof-card: transparent;
  --proof-line: rgba(255, 255, 255, 0.16);
  --proof-stat: var(--teal);
  --proof-kicker: var(--yellow);
  --story-bg: var(--paper);
  --story-fg: var(--ink);
  --story-fg2: var(--ink2);
  --story-stat: var(--purple);
  --close-bg: var(--mint);
  --close-fg: var(--ink);
  --close-fg2: var(--ink2);
  --kicker: var(--purple);
  --h2: var(--ink);
  --card-top: var(--violet);
  /* from Tony's body{} — applied to the section wrapper */
  box-sizing: border-box;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.industry-page section.page * {
  box-sizing: border-box;
}
.industry-page section.page a {
  color: inherit;
}
.industry-page section.page h1,
.industry-page section.page h2,
.industry-page section.page h3 {
  font-family: var(--display);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
  /* neutralise site.css's generic `h3 { line-height: 30px }` (chrome sheet): Tony's headings inherit
     the body 1.6 unless a per-section rule sets their own (every heading except .step h3 sets its own) */
  line-height: inherit;
}
.industry-page section.page p {
  margin: 0;
}
.industry-page section.page .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}
.industry-page section.page .kicker {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kicker);
}
.industry-page section.page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  white-space: nowrap;
  font-family: var(--body);
}
.industry-page section.page .btn-primary {
  background: var(--violet);
  color: #fff;
}
.industry-page section.page .btn-primary:hover {
  background: var(--purple);
}
.industry-page section.page .btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.industry-page section.page .btn-yellow:hover {
  filter: brightness(0.95);
}
.industry-page section.page a:focus-visible,
.industry-page section.page button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* Hero */
.industry-page section.page .hero {
  background: var(--hero-bg);
  color: var(--hero-fg);
  padding-block: 72px 64px;
  position: relative;
  overflow: hidden;
}
.industry-page section.page .hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}
.industry-page section.page .hero .kicker {
  color: var(--hero-hl);
}
.industry-page section.page .hero h1 {
  color: var(--hero-h1);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  margin-top: 16px;
}
.industry-page section.page .hero h1 em {
  font-style: normal;
  color: var(--hero-hl);
}
.industry-page section.page .hero .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--hero-fg2);
  margin-top: 22px;
  max-width: 58ch;
}
.industry-page section.page .hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
/* match override: the fit rule stays yellow even though --hero-hl is now purple */
.industry-page section.page .hero .fit {
  margin-top: 26px;
  font-size: 14px;
  color: var(--hero-fg2);
  border-left: 3px solid var(--yellow);
  padding-left: 14px;
  max-width: 52ch;
}
.industry-page section.page .hero .fit b {
  color: var(--hero-fg);
  font-weight: 600;
}
/* match: .photo is dropped and the diagram shown */
.industry-page section.page .diagram {
  display: block;
  max-width: 100%;
}
.industry-page section.page .diagram img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .industry-page section.page .hero .grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .industry-page section.page .hero {
    padding-block: 52px 44px;
  }
}

/* Client logo strip */
.industry-page section.page .logos {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-block: 26px;
}
.industry-page section.page .logos .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 44px;
}
.industry-page section.page .logos .lbl {
  font-size: 12px;
  color: var(--fg2);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 100%;
}
.industry-page section.page .logos img {
  height: 26px;
  width: auto;
  max-width: 190px;
  filter: brightness(0);
  opacity: 0.72;
}
.industry-page section.page .logos img.sq {
  height: 38px;
}

/* Proof band */
.industry-page section.page .proof {
  background: var(--proof-bg);
  color: var(--proof-fg);
  padding-block: 72px;
}
.industry-page section.page .proof .kicker {
  color: var(--proof-kicker);
}
.industry-page section.page .proof .head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-top: 10px;
}
.industry-page section.page .proof h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: inherit;
}
.industry-page section.page .proof .head a {
  font-weight: 600;
  font-size: 15px;
  color: inherit;
}
.industry-page section.page .proof .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
/* match override: cards are transparent with a 1px top line, not a 4px accent bar */
.industry-page section.page .pcard {
  background: var(--proof-card);
  border: 1px solid var(--proof-line);
  border-top: 1px solid var(--proof-line);
  border-radius: 6px;
  padding: 26px 26px 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.industry-page section.page .pcard .lab {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--proof-kicker);
  min-height: 2.6em;
}
.industry-page section.page .pcard .num {
  font-family: var(--display);
  font-size: clamp(36px, 3.6vw, 46px);
  font-weight: 700;
  color: var(--proof-stat);
  line-height: 1.05;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.industry-page section.page .pcard .what {
  font-weight: 600;
  font-size: 15px;
  margin-top: 8px;
  line-height: 1.4;
}
.industry-page section.page .pcard .who {
  font-size: 13px;
  color: var(--proof-fg2);
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--proof-line);
}
.industry-page section.page .pcard .body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--proof-fg2);
  margin-top: 14px;
  flex: 1;
  /* neutralise site.css's generic `.body { background-color: #fbfcf8 }` (loaded for the chrome) */
  background: transparent;
}
.industry-page section.page .pcard .more {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .industry-page section.page .proof .cards {
    grid-template-columns: 1fr;
  }
}

/* Problems */
.industry-page section.page .section {
  background: var(--bg);
  padding-block: 84px;
  /* neutralise site.css's generic `.section { padding: 100px 10% }` inline padding (chrome sheet);
     Tony lets the inner .wrap do the horizontal centring */
  padding-inline: 0;
}
.industry-page section.page .section.alt {
  background: var(--paper);
}
.industry-page section.page .two {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
}
.industry-page section.page .two h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--h2);
  margin-top: 12px;
}
.industry-page section.page .two .sub {
  color: var(--fg2);
  margin-top: 14px;
  font-size: 16.5px;
  max-width: 34ch;
}
.industry-page section.page .rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.industry-page section.page .rows li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.industry-page section.page .rows li:first-child {
  padding-top: 0;
}
.industry-page section.page .rows h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
}
.industry-page section.page .rows p {
  color: var(--fg2);
  font-size: 15.5px;
  margin-top: 6px;
  max-width: 66ch;
}
@media (max-width: 900px) {
  .industry-page section.page .two {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Offers */
.industry-page section.page .center {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto;
}
.industry-page section.page .center h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--h2);
  margin-top: 12px;
}
.industry-page section.page .center p {
  color: var(--fg2);
  margin-top: 12px;
  font-size: 16.5px;
}
.industry-page section.page .offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.industry-page section.page .offer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-top);
  border-radius: 8px;
  padding: 32px;
  min-width: 0;
  box-shadow: 0 12px 30px -24px rgba(35, 0, 86, 0.35);
}
.industry-page section.page .offer .kicker {
  font-size: 10.5px;
}
.industry-page section.page .offer h3 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.2;
  color: var(--fg);
}
.industry-page section.page .offer .tag {
  font-weight: 600;
  font-size: 15.5px;
  margin-top: 8px;
}
.industry-page section.page .offer p {
  color: var(--fg2);
  margin-top: 10px;
  font-size: 15.5px;
}
.industry-page section.page .offer ul {
  margin: 18px 0 0;
  padding: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 15px;
  border-top: 1px solid var(--line);
}
.industry-page section.page .offer li {
  padding-left: 18px;
  position: relative;
}
.industry-page section.page .offer li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.industry-page section.page .offer .price {
  margin-top: 18px;
  font-weight: 700;
  color: var(--purple);
  font-size: 15px;
}
.industry-page section.page .offer .link {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  /* neutralise site.css's generic `.link` (chrome sheet): restore Tony's underline and drop the
     reset's padding, line-height and transition so the role links match his standalone render */
  padding: 0;
  line-height: inherit;
  text-decoration: underline;
  transition: none;
}
.industry-page section.page .guar {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.industry-page section.page .guar .kicker {
  font-size: 10.5px;
}
.industry-page section.page .guar b {
  display: block;
  font-weight: 600;
}
.industry-page section.page .guar span {
  color: var(--fg2);
  font-size: 14.5px;
}
@media (max-width: 900px) {
  .industry-page section.page .offers {
    grid-template-columns: 1fr;
  }
  .industry-page section.page .guar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Story */
.industry-page section.page .story {
  background: var(--story-bg);
  color: var(--story-fg);
  padding-block: 80px;
}
.industry-page section.page .story .wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: center;
}
.industry-page section.page .story .kicker {
  color: var(--story-stat);
}
.industry-page section.page .story .stat {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1;
  color: var(--story-stat);
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}
.industry-page section.page .story .stat small {
  display: block;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--story-fg2);
  margin-top: 12px;
  line-height: 1.45;
  max-width: 26ch;
}
.industry-page section.page .story blockquote {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 500;
  font-family: var(--display);
  /* neutralise site.css's generic blockquote border-left + padding (chrome sheet) */
  border: 0;
  padding: 0;
}
.industry-page section.page .story .cite {
  margin-top: 16px;
  color: var(--story-fg2);
  font-size: 14px;
}
.industry-page section.page .story .cite a {
  font-weight: 600;
  color: var(--story-fg);
}
@media (max-width: 900px) {
  .industry-page section.page .story .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Steps */
.industry-page section.page .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.industry-page section.page .step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  min-width: 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.industry-page section.page .step .n {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.industry-page section.page .step .n.y {
  background: var(--yellow);
  color: var(--ink);
}
.industry-page section.page .step .n.t {
  background: var(--teal2);
  color: #fff;
}
.industry-page section.page .step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}
.industry-page section.page .step p {
  color: var(--fg2);
  font-size: 15px;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .industry-page section.page .steps {
    grid-template-columns: 1fr;
  }
}

/* Close */
.industry-page section.page .close {
  background: var(--close-bg);
  color: var(--close-fg);
  padding-block: 84px;
}
.industry-page section.page .close .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: center;
}
.industry-page section.page .close h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: inherit;
}
/* match override: the accent line is teal on the mint ground, not yellow */
.industry-page section.page .close h2 em {
  font-style: normal;
  color: var(--teal2);
}
.industry-page section.page .close p {
  color: var(--close-fg2);
  font-size: 18px;
  margin-top: 16px;
  max-width: 52ch;
}
.industry-page section.page .close .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.industry-page section.page .close .pyr {
  max-width: 100%;
}
.industry-page section.page .close .pyr img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin-left: auto;
}
@media (max-width: 900px) {
  .industry-page section.page .close .wrap {
    grid-template-columns: 1fr;
  }
  .industry-page section.page .close .pyr img {
    margin: 0;
    max-width: 280px;
  }
}
