/* About and legal pages, using the landing page's editorial rhythm and Cadi tokens. */
.legal-top { padding-bottom: 10px; }
.legal-top .brand-lockup { color: var(--text); text-decoration: none; }
.legal-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 30px); }
.legal-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--text); }
.legal-nav .legal-nav-cta { padding: 0 16px; color: #fff; background: var(--ink); border-radius: var(--r-pill); }
.legal-nav .legal-nav-cta:hover { color: #fff; background: var(--ink-hover); }
.st-doc { max-width: 760px; padding-top: 44px; }
.st-doc > .eyebrow { color: var(--accent); font: 600 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.st-h1-doc { font-family: var(--font-ui); font-size: clamp(38px, 6vw, 56px); line-height: 1.06; letter-spacing: -.045em; }
.st-toc { border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: none; }
.st-toc .label { color: var(--text-3); font: 600 11px/1.5 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.st-sec { border-top: 1px solid var(--border); padding-top: 28px; }
.st-sec h2 { font-family: var(--font-ui); font-size: 23px; }
.st-sec a { text-decoration-thickness: 1px; }
.st-foot { border-top: 1px solid var(--border); }
.st-foot-links { flex-wrap: wrap; }

/* About page */
.about-page { margin: 0; background: #f7f6fb; color: #171525; font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
.about-page a { color: inherit; text-decoration: none; }
.about-skip { position: absolute; top: -60px; left: 20px; z-index: 5; padding: 12px 16px; background: #fff; border-radius: 8px; }
.about-skip:focus { top: 16px; }
.about-header { width: min(100% - 80px, 1240px); min-height: 90px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.about-brand { display: inline-flex; align-items: center; gap: 10px; font: 800 24px/1 'Manrope', sans-serif; letter-spacing: -.06em; }
.about-brand img { width: 30px; height: 30px; }
.about-header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
.about-header nav a { color: #686578; font-size: 14px; font-weight: 600; }
.about-header nav a[aria-current="page"], .about-header nav a:hover { color: #171525; }
.about-header nav .about-nav-cta { padding: 13px 18px; background: #171525; border-radius: 999px; color: #fff; }
.about-nav-cta span { margin-left: 8px; font-size: 20px; line-height: 10px; }
.about-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 650px; padding: 82px max(40px, calc((100vw - 1240px) / 2)) 56px; background: #eeecf5; }
.about-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #5f5a79; font: 600 12px/1.4 'DM Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.about-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #6955dd; }
.about-hero h1 { position: relative; z-index: 1; max-width: 660px; margin: 0; font: 700 clamp(58px, 8vw, 104px)/.98 'Manrope', sans-serif; letter-spacing: -.075em; }
.about-hero h1 em, .about-story h2 em, .about-end h2 em { color: #6553d7; font-style: normal; }
.about-lede { position: relative; z-index: 1; max-width: 440px; margin: 26px 0 24px; color: #615e70; font-size: 17px; line-height: 1.7; }
.about-primary { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 24px; min-height: 52px; padding: 0 21px; background: #171525; border-radius: 999px; color: #fff !important; font-size: 14px; font-weight: 700; }
.about-primary span { font-size: 22px; line-height: 1; }
.about-primary:hover { background: #302d45; }
.about-location { position: relative; z-index: 2; margin: 25px 0 0; color: #777487; font: 500 11px/1.5 'JetBrains Mono', monospace; letter-spacing: .02em; text-transform: uppercase; }
.about-visual { position: absolute; z-index: 0; width: min(52vw, 680px); height: 470px; right: max(15px, calc((100vw - 1420px) / 2)); top: 87px; }
.about-orbit { position: absolute; border: 1px solid rgba(96, 80, 182, .12); border-radius: 50%; transform: rotate(-18deg); }
.orbit-a { width: 650px; height: 390px; top: 25px; left: 10px; }
.orbit-b { width: 510px; height: 310px; top: 65px; left: 80px; }
.about-card { position: absolute; top: 100px; left: 125px; width: min(390px, 78%); height: 248px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.62); border-radius: 23px; background: linear-gradient(135deg, #312a54 0%, #6554cf 58%, #9c91ea 100%); color: #fff; box-shadow: 0 34px 75px -24px rgba(41, 31, 99, .42); transform: rotate(-9deg); }
.about-card-top, .about-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.about-card-top { justify-content: flex-start; gap: 9px; font: 700 15px/1 'Manrope', sans-serif; letter-spacing: -.04em; }
.about-card-mark { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.15); }
.about-card-mark img { width: 16px; height: 16px; }
.about-nfc { margin-left: auto; font-size: 30px; transform: rotate(-35deg); }
.about-card-bottom strong, .about-card-bottom small { display: block; }
.about-card-bottom strong { font: 700 18px/1.3 'Manrope', sans-serif; }
.about-card-bottom small { margin-top: 4px; color: rgba(255,255,255,.74); font-size: 12px; }
.about-card-bottom > span { align-self: flex-end; color: rgba(255,255,255,.8); font: 500 10px/1.4 'JetBrains Mono', monospace; }
.about-caption { position: absolute; z-index: 1; padding: 9px 13px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); border-radius: 999px; box-shadow: 0 8px 24px rgba(34, 27, 76, .08); color: #615d72; font-size: 11px; font-weight: 600; }
.caption-one { top: 75px; right: 18px; }
.caption-two { bottom: 90px; left: 18px; }
.about-story { width: min(100% - 80px, 1120px); margin: 0 auto; padding: 100px 0 110px; }
.about-section-label { display: flex; align-items: center; gap: 24px; color: #7a7788; font: 500 11px/1.5 'JetBrains Mono', monospace; }
.about-section-label i { display: block; width: 100%; height: 1px; background: #dedce7; }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; padding: 45px 0 72px; }
.about-story h2, .about-end h2 { margin: 0; font: 700 clamp(42px, 6vw, 70px)/1.05 'Manrope', sans-serif; letter-spacing: -.065em; }
.about-story-grid > div { padding-top: 8px; }
.about-story-grid p { margin: 0 0 16px; color: #666375; font-size: 16px; line-height: 1.8; }
.about-features { border-top: 1px solid #dedce7; }
.about-features article { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 27px 0; border-bottom: 1px solid #dedce7; }
.about-features article > span { padding-top: 3px; color: #827d97; font: 500 12px/1.5 'JetBrains Mono', monospace; }
.about-features h3 { margin: 0 0 7px; font: 700 20px/1.35 'Manrope', sans-serif; letter-spacing: -.03em; }
.about-features p { max-width: 600px; margin: 0; color: #6d697b; font-size: 15px; line-height: 1.7; }
.about-end { padding: 78px 24px 88px; text-align: center; background: #171525; color: #fff; }
.about-end .about-kicker { justify-content: center; color: #c3bedb; }
.about-end .about-kicker > span { background: #aa9cff; }
.about-end h2 { margin: 0 auto 27px; font-size: clamp(42px, 6vw, 68px); }
.about-end h2 em { color: #aaa0ff; }
.about-end .about-primary { background: #fff; color: #171525 !important; }
.about-end .about-primary:hover { background: #ece9ff; }
.about-footer { width: min(100% - 80px, 1240px); margin: 0 auto; padding: 30px 0 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 32px; }
.about-footer p { margin: 0; color: #777487; font-size: 13px; }
.about-footer nav { display: flex; gap: 20px; }
.about-footer nav a, .about-footer small { color: #777487; font-size: 12px; }
.about-footer nav a:hover { color: #171525; }
.about-footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #e3e1eb; }

@media (max-width: 760px) {
  .legal-top { align-items: flex-start; flex-direction: column; }
  .legal-nav { width: 100%; justify-content: space-between; gap: 8px; }
  .legal-nav a { font-size: 12px; }
  .legal-nav .legal-nav-cta { padding: 0 12px; }
  .about-header { width: calc(100% - 40px); min-height: 76px; }
  .about-header nav { gap: 13px; }
  .about-header nav a { font-size: 12px; }
  .about-header nav .about-nav-cta { padding: 11px 12px; }
  .about-hero { min-height: 840px; padding: 58px 24px 340px; }
  .about-hero h1 { font-size: clamp(54px, 13vw, 82px); }
  .about-lede { max-width: 520px; font-size: 15px; }
  .about-visual { width: 100%; height: 390px; top: auto; right: 0; bottom: 0; }
  .orbit-a { width: 520px; height: 300px; top: 30px; left: 50%; transform: translateX(-50%) rotate(-18deg); }
  .orbit-b { width: 400px; height: 250px; top: 55px; left: 50%; transform: translateX(-50%) rotate(-18deg); }
  .about-card { top: 64px; left: 50%; width: min(350px, 78%); height: 220px; transform: translateX(-50%) rotate(-8deg); }
  .caption-one { top: 35px; right: 6%; }
  .caption-two { bottom: 40px; left: 6%; }
  .about-story { width: calc(100% - 48px); padding: 68px 0 76px; }
  .about-story-grid { grid-template-columns: 1fr; gap: 22px; padding: 34px 0 42px; }
  .about-story-grid > div { padding-top: 0; }
  .about-features article { grid-template-columns: 42px 1fr; gap: 14px; }
  .about-end { padding: 62px 18px 68px; }
  .about-footer { width: calc(100% - 40px); grid-template-columns: 1fr; padding-top: 25px; }
  .about-footer nav { flex-wrap: wrap; gap: 15px; }
  .about-footer small { padding-top: 16px; }
}

@media (max-width: 430px) {
  .about-header { gap: 10px; }
  .about-brand { font-size: 21px; }
  .about-brand img { width: 26px; height: 26px; }
  .about-header nav { gap: 9px; }
  .about-header nav a { font-size: 11px; }
  .about-header nav .about-nav-cta { padding: 10px; }
  .about-nav-cta span { margin-left: 3px; }
  .about-card { width: 82%; }
  .about-caption { font-size: 9px; }
}
.about-card-top img.about-nfc { width: 24px; height: 24px; filter: none; }

/* Keep the visual below the copy through tablet and compact laptop widths. */
@media (min-width: 761px) and (max-width: 1100px) {
  .about-hero { min-height: 870px; padding: 72px max(40px, calc((100vw - 1120px) / 2)) 390px; }
  .about-hero h1 { max-width: 780px; font-size: clamp(66px, 8vw, 88px); }
  .about-lede { max-width: 610px; }
  .about-visual { top: auto; right: 3%; bottom: 0; width: min(650px, 78vw); height: 390px; }
  .about-story-grid { gap: 42px; }
  .about-footer { grid-template-columns: auto 1fr; }
  .about-footer nav { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .about-hero { min-height: 0; padding-bottom: 390px; }
  .about-visual { height: 350px; }
  .about-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 540px) {
  .about-header { min-height: 0; padding: 20px 0 16px; flex-wrap: wrap; }
  .about-header nav { width: 100%; justify-content: space-between; }
}

@media (max-width: 380px) {
  .legal-nav, .about-header nav { display: grid; grid-template-columns: repeat(3, max-content); justify-content: space-between; row-gap: 4px; }
  .legal-nav .legal-nav-cta, .about-header nav .about-nav-cta { grid-column: 1 / -1; justify-content: center; margin-top: 4px; }
  .about-hero { padding-top: 48px; }
  .about-hero h1 { font-size: clamp(46px, 13vw, 54px); }
  .about-story h2, .about-end h2 { font-size: 40px; }
  .about-features article { grid-template-columns: 32px 1fr; gap: 10px; }
  .st-toc { padding: 20px; }
}
/* Keep the legal and About labels legible on their backgrounds. */
.about-location,.about-section-label,.about-features article>span,.about-footer p,.about-footer nav a,.about-footer small{color:#625e71}
.about-end h2{color:#fff}
.st-draft .pill-warning{color:#8a4500}
