/* Harmony pass, 2026-10-29: brings the 4 page templates in line with the demo homepage
   (igwirescreen.pages.dev). Loaded after each page's own styles; the 2026-10-27 pages are untouched.
   Font stays Poppins (Shivam's "homepage font" = the live site). Section spacing stays tighter than
   the homepage on purpose: these pages carry about 20 sections each. */

/* 1. Page width: the homepage's 1240px content column. The header uses the same .container, so the logo lines up too */
.container { max-width: calc(1240px + var(--gutter) * 2); }

/* 2. Section label above each heading (homepage .section-label) and a teal accent phrase in the heading */
.section-label {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 4px;
  color: var(--blue-deep);
  font: 600 13px/1.2 var(--head);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.section-label::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: 0.45; }
.section-title em { font-style: normal; color: #477788; }
.ssg-wrap .section-label, .steps-wrap .section-label { color: var(--amber-light); }
.ssg-wrap .section-title em, .steps-wrap .section-title em { color: #8fb4c2; }
@media (max-width: 640px) {
  .section-label { font-size: 11px; letter-spacing: 0.1em; }
  .section-label::after { width: 32px; }
}

/* 3. Cards: white with the homepage's 1px border, on white and grey sections alike */
:root { --card-line: rgb(8 26 45 / 0.14); }
.tile, .band .tile, .adv, .why, .ind, .type, .ind-tile, .itile, .itile a,
.pcard a, .band .pcard a, .alloy a, .card a, .band .card a, .grade a, .band .grade a, .jump,
.faq, .faq-col .faq:last-child {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--card-line);
}
.grade.is-current a { box-shadow: inset 0 0 0 2px var(--ink); }
.pcard a, .alloy a, .card a, .grade a, .jump, .ind, .ind-tile, .itile a, a.itile, .type-link {
  transition: box-shadow 0.18s ease, background-color 0.18s ease;
}
:is(.pcard a, .alloy a, .card a, .grade a, .jump, a.ind, .ind-tile, .itile a, a.itile, .type-link):hover {
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--navy);
}
/* Photo cards: photos run to the card edge on phones, so draw the border above them */
.alloy a, .pcard a, .card a { position: relative; }
.alloy a::after, .pcard a::after, .card a::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--card-line); transition: box-shadow 0.18s ease;
}
:is(.alloy a, .pcard a, .card a):hover::after { box-shadow: inset 0 0 0 1px var(--navy); }

/* 4. Menu weight as on the homepage (Poppins 700 reads heavier than Manrope 700) */
.shell .nav-trigger { font-weight: 500; }

/* 5. Body text one step up on wide screens (homepage 19px; kept at 17px for these long pages) */
@media (min-width: 901px) {
  body { font-size: 17px; }
}

/* 6. Applications as small cards, 3 across (Keshav, 2026-11-02): square picture left, text right.
   Each paragraph folds to 4 lines beside a 112px photo; a card opened with "Read more" grows alone */
.apps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px;
  max-width: none; margin: 24px 0 0; padding: 0; border-top: 0; list-style: none;
}
.app {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: start;
  padding: 14px; border-bottom: 0;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--card-line);
}
.app figure { grid-row: 1 / 3; width: 112px; aspect-ratio: 1; margin: 0; }
.app-text, .app .more { grid-column: 2; }
.app p { font-size: 14px; line-height: 1.55; }
.app-text.is-clamped p { -webkit-line-clamp: 4; }
.app .more { justify-self: start; margin-top: 4px; font-size: 14px; }
@media (max-width: 1100px) {
  .apps { grid-template-columns: 1fr; }
  .app-text.is-clamped p { -webkit-line-clamp: 3; }
}
@media (max-width: 640px) {
  .apps { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .app { grid-template-columns: 88px minmax(0, 1fr); column-gap: 12px; padding: 12px; }
  .app figure { width: 88px; }
  .app p { font-size: 14px; line-height: 1.5; }
  .app .more { min-height: 44px; margin: 0 0 -12px; }
}
