/* =========================================================
   RELAY STRATA — ABOUT
   ========================================================= */

:root {
  --relay-black: #171717;
  --relay-text: #2b2b2b;
  --relay-muted: #666a67;
  --relay-line: #dfe6e2;
  --relay-soft: #f6f8f7;
  --relay-mint: #A7DCC1;
  --relay-mint-deep: #78CBA5;
  --relay-orange: #F28A30;
  --relay-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.about-page {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--relay-text);
  background: var(--relay-white);
  -webkit-font-smoothing: antialiased;
}

.about-header {
  background: var(--relay-white);
  border-bottom: 1px solid var(--relay-line);
}

.about-header-inner,
.about-shell,
.about-footer-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.about-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--relay-black);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .055em;
}

.about-brand-mark {
  color: var(--relay-mint-deep);
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.13em;
  padding-right: .13em;
}

.about-home-link {
  color: var(--relay-black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--relay-mint);
  padding: 7px 0 5px;
}

.about-home-link:hover,
.about-home-link:focus-visible {
  border-bottom-color: var(--relay-orange);
}

.about-hero {
  position: relative;
  overflow: hidden;
  background: var(--relay-mint);
}

.about-hero::after {
  display: none;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px 0 38px;
  max-width: none;
}

.about-hero-eyebrow {
  margin: 0 0 14px;
  color: rgba(23,23,23,.68);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 1120px;
  margin: 0;
  color: var(--relay-black);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
}

.about-stop {
  color: var(--relay-orange);
}

.about-hero-lead {
  max-width: 790px;
  margin: 22px 0 0;
  color: rgba(23,23,23,.78);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  font-weight: 400;
}

.about-main {
  padding: 0 0 96px;
}

.about-intro {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding: 68px 0 62px;
  border-bottom: 1px solid var(--relay-line);
}

.about-section-label {
  margin: 0;
  color: var(--relay-black);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.03em;
  text-transform: none;
}

.about-intro-copy p,
.about-copy p {
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.62;
}

.about-intro-copy p:last-child,
.about-copy p:last-child {
  margin-bottom: 0;
}

.about-intro-copy strong,
.about-copy strong {
  color: var(--relay-black);
}

.about-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
  padding: 68px 0;
  border-bottom: 1px solid var(--relay-line);
}

.about-section h2 {
  margin: 0;
  color: var(--relay-black);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.about-ai-callout {
  margin: 28px 0 0;
  padding: 26px 28px;
  background: var(--relay-soft);
  border-left: 5px solid var(--relay-mint);
  font-size: 18px;
  line-height: 1.55;
}

.about-footer {
  background: var(--relay-black);
  color: rgba(255,255,255,.72);
}

.about-footer-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.about-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--relay-white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
}

.about-footer-brand .about-brand-mark {
  color: var(--relay-mint);
}

.about-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.about-footer-links a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 13px;
}

.about-footer-links a:hover,
.about-footer-links a:focus-visible {
  color: var(--relay-white);
}

/* Home-page About button — same clean CTA system as the app. */
.relay-login-about-wrap {
  margin-top: 42px;
  max-width: 420px;
}

.relay-login-about-button {
  min-width: 210px;
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--relay-mint);
  color: var(--relay-black);
  border: 1px solid var(--relay-mint);
  border-radius: 6px;
  box-shadow: none;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.relay-login-about-button:hover,
.relay-login-about-button:focus-visible {
  background: #93D2B3;
  border-color: #93D2B3;
  transform: translateY(-1px);
  box-shadow: none;
}

/* =========================================================
   UNIFIED SITE FOOTER
   ========================================================= */

.relay-footer,
.about-footer {
  width: 100% !important;
  background: #111111 !important;
  color: #ffffff !important;
  border-top: 0 !important;
}

.relay-footer-inner,
.about-footer-inner {
  width: min(calc(100% - 48px), 1320px) !important;
  min-height: 98px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px !important;
}

.relay-footer-left {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
}

.relay-footer-brand,
.about-footer-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
  white-space: nowrap !important;
}

.relay-footer-mark,
.about-footer-brand .about-brand-mark {
  color: #A7DCC1 !important;
  font-size: 21px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: -.13em !important;
  padding-right: .13em !important;
}

.relay-footer-wordmark,
.about-footer-brand > span:last-child {
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
}

.relay-footer-wordmark span,
.about-footer-brand .about-stop {
  color: #F28A30 !important;
}

.relay-footer-copyright,
.about-footer-brand::after {
  color: rgba(255,255,255,.58) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.about-footer-brand::after {
  content: "© 2026 Relay Strata. All rights reserved.";
  margin-left: 18px;
}

.relay-footer-links,
.about-footer-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
}

.relay-footer-links a,
.about-footer-links a {
  position: relative !important;
  display: inline-block !important;
  padding: 0 18px !important;
  color: rgba(255,255,255,.72) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

.relay-footer-links a:first-child,
.about-footer-links a:first-child {
  padding-left: 0 !important;
}

.relay-footer-links a:last-child,
.about-footer-links a:last-child {
  padding-right: 0 !important;
}

.relay-footer-links a + a::before,
.about-footer-links a + a::before {
  content: "|" !important;
  position: absolute !important;
  left: 0 !important;
  color: rgba(255,255,255,.25) !important;
}

.relay-footer-links a:hover,
.relay-footer-links a:focus-visible,
.about-footer-links a:hover,
.about-footer-links a:focus-visible {
  color: #A7DCC1 !important;
}

@media (max-width: 820px) {
  .about-header-inner,
  .about-shell,
  .about-footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .about-hero-inner {
    padding: 40px 0 38px;
  }

  .about-intro,
  .about-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-intro {
    padding: 58px 0 54px;
  }

  .about-section {
    padding: 52px 0;
  }

  .relay-footer-inner,
  .about-footer-inner {
    width: min(calc(100% - 32px), 1320px) !important;
    min-height: 130px !important;
    padding: 26px 0 !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 18px !important;
  }

  .relay-footer-left,
  .about-footer-brand {
    flex-wrap: wrap !important;
    gap: 10px 20px !important;
  }

  .about-footer-brand::after {
    margin-left: 0;
  }

  .relay-footer-links,
  .about-footer-links {
    justify-content: flex-start !important;
  }
}

@media (max-width: 520px) {
  .about-header-inner {
    min-height: 68px;
  }

  .about-brand {
    font-size: 13px;
  }

  .about-home-link {
    font-size: 13px;
  }

  .about-hero h1 {
    font-size: 38px;
  }

  .about-hero-lead {
    font-size: 17px;
  }

  .about-intro-copy p,
  .about-copy p {
    font-size: 17px;
  }

  .relay-login-about-wrap {
    margin-top: 30px;
  }

  .relay-login-about-button {
    width: 100%;
    min-width: 0;
  }

  .relay-footer-links a,
  .about-footer-links a {
    padding: 0 10px !important;
  }
}
