@import url("/styles.css");

/* Steel City CFO service-site refresh.
   The Academy keeps the original stylesheet and remains a separate lane. */

:root {
  --bg: #f3f1eb;
  --bg-2: #263b49;
  --surface: #fdfdfb;
  --surface-2: #dfe6e7;
  --line: #cfd3d2;
  --line-2: #b8c2c3;
  --fg: #22272a;
  --fg-dim: #555f64;
  --fg-mute: #68757b;
  --fg-mute-2: #5f6d73;
  --accent: #b55335;
  --accent-2: #8d3e29;
  --accent-deep: #74301f;
  --warn: #b55335;
  --ok: #3f755f;
  --max: 1120px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  font-feature-settings: normal;
}

p,
li {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.service-area-global {
  padding: 8px 20px;
  background: #1d2d37;
  color: #dce4e7;
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  background: #263b49;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: none;
}

.header-inner {
  height: 76px;
}

.site-header .nav a {
  color: #eef3f3;
  border-radius: 0;
}

.site-header .nav a:hover,
.site-header .nav a:focus-visible,
.site-header .nav a.active {
  color: #ffd8c9;
  background: transparent;
}

.site-header .nav .btn-nav {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
}

.site-header .nav .btn-nav:hover,
.site-header .nav .btn-nav:focus-visible {
  color: #fff;
  background: #b55335;
  border-color: #b55335;
}

.menu-btn {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  border-radius: 0;
}

.skip-link {
  color: #fff;
  background: #b55335;
  border-radius: 0;
}

.page-hero {
  background: #fdfdfb;
  border-bottom-color: var(--line);
}

.page-hero .grid-bg {
  display: none;
}

.page-hero-inner {
  padding: 82px 0 76px;
}

.page-hero h1 {
  max-width: 850px;
  margin-top: 20px;
  font-size: clamp(2.65rem, 5.3vw, 4.65rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 720;
}

.page-hero h1 em {
  color: #8d3e29;
}

.page-hero p {
  max-width: 720px;
  color: var(--fg-dim);
  font-size: 1.12rem;
}

.label {
  color: #8d3e29;
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 720;
  letter-spacing: 0.075em;
}

.label .dot {
  color: #b55335;
}

.btn {
  min-height: 49px;
  border-radius: 0;
  font-family: inherit;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: #b55335;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  background: #8d3e29;
}

.btn-ghost {
  color: #263b49;
  border-color: #263b49;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #fff;
  background: #263b49;
  border-color: #263b49;
}

.crumbs {
  color: #68757b;
}

.crumbs a:hover {
  color: #8d3e29;
}

.sec {
  padding: 92px 0;
  border-bottom-color: var(--line);
}

.sec-head {
  max-width: 800px;
  margin-bottom: 48px;
}

.sec-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.042em;
}

.sec-head p,
.prose,
.gp {
  color: var(--fg-dim);
}

.panel,
.linkcard,
.pricecard,
.card,
.form-card,
.spec,
.issue,
.step {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.panel,
.linkcard,
.pricecard,
.card,
.form-card {
  background: #fdfdfb;
  border-color: var(--line);
}

.linkcard,
.pricecard {
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.linkcard:hover,
.linkcard:focus-visible,
.pricecard:hover {
  border-color: #b55335;
  transform: translateY(-2px);
}

.matrix-table th {
  color: #fff;
  background: #263b49;
}

.matrix-table td {
  background: #fdfdfb;
  border-color: var(--line);
}

.matrix-table a,
.prose a,
.gp a {
  color: #8d3e29 !important;
  text-underline-offset: 4px;
}

.cta {
  background: #263b49 !important;
  color: #fff;
}

.cta p {
  color: #d5dde0 !important;
}

.cta .label {
  color: #ffbda4;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 82px;
  align-items: start;
}

.editorial-copy {
  max-width: 640px;
  color: var(--fg-dim);
  font-size: 1.04rem;
}

.ruled-list {
  border-top: 4px solid #b55335;
}

.ruled-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  gap: 38px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}

.ruled-row h3,
.ruled-row p {
  margin: 0;
}

.ruled-row h3 {
  color: #263b49;
  font-size: 1.12rem;
  line-height: 1.38;
}

.ruled-row p {
  color: var(--fg-dim);
  font-size: 0.96rem;
}

.plain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.plain-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plain-card {
  padding: 24px 0 0;
  border-top: 3px solid #263b49;
}

.plain-card h3 {
  margin-bottom: 10px;
  color: #263b49;
  font-size: 1.16rem;
}

.plain-card p {
  margin-bottom: 0;
  color: var(--fg-dim);
}

.plain-card a {
  color: #8d3e29;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dark-section {
  color: #fff;
  background: #263b49;
}

.dark-section .sec-head p,
.dark-section .editorial-copy,
.dark-section .plain-card p {
  color: #d5dde0;
}

.dark-section .label,
.dark-section .plain-card h3 {
  color: #ffbda4;
}

.dark-section .plain-card {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.dark-section .ruled-list {
  border-top-color: #ffbda4;
}

.dark-section .ruled-row {
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.dark-section .ruled-row h3 {
  color: #ffbda4;
}

.dark-section .ruled-row p {
  color: #d5dde0;
}

.callout {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  padding: 26px 28px;
  background: #dfe6e7;
  border-left: 4px solid #263b49;
}

.callout p {
  max-width: 650px;
  margin: 0;
  color: var(--fg);
  font-weight: 650;
}

.fit-list-refresh {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.fit-list-refresh li {
  padding: 17px 0;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line);
}

.decision-note {
  margin-top: 18px;
  color: var(--fg-mute);
  font-size: 0.91rem;
}

.content-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.content-links a {
  color: #8d3e29;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-layout-refresh {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 72px;
  align-items: start;
}

.contact-copy-refresh h1 {
  margin-top: 20px;
  font-size: clamp(2.65rem, 5vw, 4.35rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-copy-refresh > p {
  max-width: 520px;
  color: var(--fg-dim);
  font-size: 1.08rem;
}

.contact-points {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-points li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg-dim);
}

.contact-points strong {
  color: var(--fg);
}

.contact-form-refresh {
  padding: 32px;
  background: #fdfdfb;
  border: 1px solid var(--line);
}

.contact-form-refresh h2 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.contact-form-refresh .fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-refresh .field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.contact-form-refresh .field.full {
  grid-column: 1 / -1;
}

.contact-form-refresh label {
  color: #5f6d73;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-form-refresh input,
.contact-form-refresh textarea,
.contact-form-refresh select {
  width: 100%;
  padding: 12px 13px;
  color: var(--fg);
  background: #fff;
  border: 1px solid #b8c2c3;
  border-radius: 0;
  font: inherit;
}

.contact-form-refresh textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-refresh input:focus,
.contact-form-refresh textarea:focus,
.contact-form-refresh select:focus {
  outline: 3px solid rgba(181, 83, 53, 0.2);
  border-color: #b55335;
}

.contact-form-refresh .submit {
  width: 100%;
  min-height: 50px;
  color: #fff;
  background: #b55335;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-form-refresh .submit:hover,
.contact-form-refresh .submit:focus-visible {
  background: #8d3e29;
}

.form-note-refresh {
  margin: 13px 0 0;
  color: var(--fg-mute);
  font-size: 0.82rem;
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

footer {
  color: #d2dade;
  background: #1d2d37;
}

footer .foot-brand p,
footer .foot-col a,
footer .foot-base {
  color: #c9d2d5;
}

footer .foot-col h4 {
  color: #ffbda4;
}

footer .foot-col a:hover,
footer .foot-col a:focus-visible {
  color: #fff;
}

:focus-visible {
  outline: 3px solid #ffc5af;
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .nav.open {
    background: #1d2d37;
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .editorial-split,
  .contact-layout-refresh {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .plain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    height: 70px;
  }

  .page-hero-inner {
    padding: 58px 0 56px;
  }

  .page-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .sec {
    padding: 70px 0;
  }

  .ruled-row,
  .plain-grid,
  .plain-grid.two,
  .contact-form-refresh .fgrid {
    grid-template-columns: 1fr;
  }

  .ruled-row {
    gap: 7px;
  }

  .callout {
    display: block;
  }

  .callout .btn {
    margin-top: 18px;
  }

  .contact-form-refresh {
    padding: 24px 18px;
  }
}
