/* About page: layout and a shared type scale for each content level. */
.about-main.wf-main {
  --about-heading-size: 32px;
  --about-card-size: 20px;
  --about-body-size: 20px;
  --about-label-size: 11px;
  --about-heading-color: #090a0b;
  --about-body-color: #53636a;
  --about-page-gutter: 54px;
  font-family: var(--font-primary, Inter, Arial, sans-serif);
}

/* Shared typography. The footer retains the AlphaDojo type scale. */
.about-main.wf-main h2 {
  color: var(--about-heading-color);
  font-size: var(--about-heading-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}
.about-main.wf-main h3 {
  color: var(--about-heading-color);
  font-size: var(--about-card-size);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
.about-main.wf-main .info-content p.desc,
.about-main.wf-main .overview-content p,
.about-main.wf-main .about-contact-copy p {
  color: var(--about-body-color);
  font-size: var(--about-body-size);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
}
.about-main.wf-main .about-hero-eyebrow,
.about-main.wf-main .about-contact .eyebrow {
  color: #565e61;
  font-size: var(--about-label-size);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .16em;
  text-align: left;
}
.about-main.wf-main .about-hero-button,
.about-main.wf-main .about-contact .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid #00c7d2;
  border-radius: 0;
  background: #00c7d2;
  color: #050607;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.about-main.wf-main .about-hero-button:hover,
.about-main.wf-main .about-contact .button:hover {
  background: #82e3e9;
  border-color: #82e3e9;
}
.about-main.wf-main a:focus-visible {
  outline: 3px solid #007e88;
  outline-offset: 5px;
}

/* Hero. */
.about-main.wf-main .about-finance-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  height: auto;
  min-height: 520px;
  margin-top: 0;
  padding: 100px var(--about-page-gutter);
  background:
    linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
    #000 url("../images/compute/compute-bg.png") center / cover no-repeat;
  border: 1px solid #eee;
  border-top: 0;
  overflow: hidden;
  color: #fff;
  text-align: left;
}
.about-finance-hero .about-hero-copy { max-width: 1030px; }
.about-main.wf-main .about-finance-hero .about-hero-eyebrow {
  color: rgba(255, 255, 255, .8);
  max-width: none;
  margin: 0 0 24px;
}
.about-main.wf-main .about-finance-hero h1 {
  max-width: 1000px;
  margin: 0 0 32px;
  color: #fff;
  font-size: clamp(40px, 5.1vw, 76px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-align: left;
}
.about-finance-hero .about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Who We Are. */
.about-main.wf-main .base-content.info-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  padding: 64px var(--about-page-gutter);
  border-right: 1px solid var(--border, #eee);
  border-left: 1px solid var(--border, #eee);
  text-align: left;
}
.about-main.wf-main .info-content h2 {
  width: 100%;
  max-width: 970px;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}
.about-main.wf-main .info-content p.desc {
  width: 100%;
  max-width: 970px;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
}
.about-main.wf-main .info-content p.desc:last-child { margin-bottom: 0; }

/* Vision and Mission retain the original two-card layout. */
.about-main.wf-main .product-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 60px;
  border-right: 1px solid var(--border, #eee);
  border-left: 1px solid var(--border, #eee);
}
.about-main.wf-main .overview-section-head {
  grid-column: 1 / -1;
  padding: 56px var(--about-page-gutter) 28px;
}
.about-main.wf-main .overview-section-head h2 { margin: 0; }
.about-main.wf-main .overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 0;
  min-height: 260px;
  padding: 48px 40px;
  border-top: 1px solid var(--border, #eee);
  border-bottom: 1px solid var(--border, #eee);
  text-align: center;
  transition: background-color .2s ease;
}
.about-main.wf-main .overview-item + .overview-item { border-left: 1px solid #d5e4e7; }
.about-main.wf-main .overview-item:hover { background-color: #e8fafb; }
.about-main.wf-main .overview-item:hover h3 { color: #007e88; }
.about-main.wf-main .overview-content { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; max-width: 460px; }
.about-main.wf-main .overview-content h3,
.about-main.wf-main .overview-content p { margin: 0; }
.about-main.wf-main .overview-icon { width: 32px; height: 32px; }
.about-main.wf-main .overview-icon img { display: block; width: 100%; height: 100%; }

/* Values fill the content frame. */
.about-main.wf-main .about-values,
.about-main.wf-main .about-contact {
  box-sizing: border-box;
  border: 1px solid #e1e9eb;
  border-top: 0;
  background: #fff;
  text-align: left;
}
.about-main.wf-main .about-values *,
.about-main.wf-main .about-contact * { box-sizing: border-box; }
.about-main.wf-main .about-values { padding: 56px 0 0; }
.about-main.wf-main .about-values .section-head { margin: 0 0 28px; padding: 0 var(--about-page-gutter); }
.about-main.wf-main .about-values h2,
.about-main.wf-main .about-contact h2 { margin: 0; }
.about-main.wf-main .value-rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #dfe8ea; }
.about-main.wf-main .value-rows article { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; padding: 30px 18px 26px; text-align: center; border-right: 1px solid #dfe8ea; }
.about-main.wf-main .value-rows article:last-child { border-right: 0; }
.about-main.wf-main .value-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.about-main.wf-main .value-icon img { display: block; width: 32px; height: 32px; }
.about-main.wf-main .value-rows h3 { min-height: 54px; max-width: 240px; margin: 0; }

/* Contact. */
.about-main.wf-main .about-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; padding: 56px var(--about-page-gutter); }
.about-main.wf-main .about-contact .section-head { margin: 0; }
.about-main.wf-main .about-contact .eyebrow { margin: 0 0 18px; }
.about-main.wf-main .about-contact-copy p { margin: 0 0 18px; }
.about-main.wf-main .about-contact-email { display: inline-block; margin: 0 0 24px; color: #007e88; font-size: var(--about-body-size); font-weight: 400; line-height: 1.8; letter-spacing: 0; overflow-wrap: anywhere; text-decoration: none; }
.about-main.wf-main .about-contact .actions { display: flex; margin: 0; }

/* Shared footer appearance matches AlphaDojo. */
.footer-bottom-banner .bottom-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 50px;
  background: #000 url("../images/home/faq-banner-bg.png") center / cover no-repeat;
  text-align: center;
}
.footer-bottom-banner .bottom-banner-content h3 {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}
.bottom-banner.footer-bottom-banner { width: 100%; max-width: none; margin: 0; padding: 0; }
.bottom-banner.footer-bottom-banner,
.footer-bottom-banner + footer.wf-footer,
.footer-bottom-banner + footer.wf-footer .wf-footer-container,
.footer-bottom-banner + footer.wf-footer .wf-footer-top,
.footer-bottom-banner + footer.wf-footer .wf-footer-main { border: 0; }
.footer-bottom-banner + footer.wf-footer .wf-footer-bottom { border: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.footer-bottom-banner + footer.wf-footer .wf-footer-container { padding-top: 60px; }
.footer-bottom-banner + footer.wf-footer .wf-footer-top { padding-top: 0; }

@media (max-width: 1000px) {
  .about-main.wf-main { --about-page-gutter: 32px; }
  .about-main.wf-main .base-content.info-content { padding-top: 56px; padding-bottom: 56px; }
  .about-main.wf-main .value-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-main.wf-main .value-rows article:nth-child(2n) { border-right: 0; }
  .about-main.wf-main .value-rows article:nth-child(n+3) { border-top: 1px solid #dfe8ea; }
  .about-main.wf-main .about-contact { gap: 36px; }
}
@media (max-width: 960px) {
  .about-main.wf-main .overview-item { padding: 40px 20px; }
}
@media (max-width: 760px) {
  .about-main.wf-main { --about-heading-size: 28px; --about-body-size: 18px; --about-label-size: 10px; --about-page-gutter: 24px; }
  .about-main.wf-main .about-finance-hero { min-height: 380px; padding: 80px var(--about-page-gutter); }
  .about-main.wf-main .about-finance-hero .about-hero-eyebrow { margin-bottom: 20px; }
  .about-main.wf-main .about-finance-hero h1 { font-size: clamp(38px, 7vw, 54px); }
  .about-main.wf-main .base-content.info-content { padding-top: 40px; padding-bottom: 40px; }
  .about-main.wf-main .info-content h2 { margin-bottom: 24px; }
  .about-main.wf-main .about-values { padding-top: 40px; }
  .about-main.wf-main .overview-section-head { padding-top: 40px; }
  .about-main.wf-main .value-rows article { padding: 26px 14px 22px; gap: 14px; }
  .about-main.wf-main .about-contact { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 680px) {
  .about-main.wf-main .product-overview { grid-template-columns: 1fr; }
  .about-main.wf-main .overview-item { padding: 40px 15px; }
  .about-main.wf-main .overview-item + .overview-item { border-left: 0; border-top: 0; }
  .footer-bottom-banner .bottom-banner-content { padding: 60px 20px; }
}
