@font-face {
  font-family: "Geist";
  src: url("./assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("./assets/geist-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  color: #edf4ef;
  background: #0a0a0a;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --brand-green: #00dc62;
  --text-muted: #8eb59e;
}

* { box-sizing: border-box; }

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 280px;
}

/* Same ambient light and grid as datacash/resources/social-media/artwork.css.
   The channel artwork is exported at 2x, so its 128px grid is 64px here. */
body::before,
body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    radial-gradient(ellipse 65% 65% at 50% 50%, rgb(0 220 98 / 8%) 0%, rgb(0 220 98 / 7%) 35%, transparent 75%),
    radial-gradient(ellipse 65% 75% at 0% 8%, rgb(0 220 98 / 11%), transparent 72%),
    radial-gradient(ellipse 50% 65% at 100% 70%, rgb(0 220 98 / 7%), transparent 74%),
    radial-gradient(ellipse 50% 40% at 50% 0%, rgb(0 220 98 / 3%), transparent 80%);
}

body::after {
  background-image:
    linear-gradient(rgb(0 220 98 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 220 98 / 7%) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #8ff3b9; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 2px; }
::selection { color: #0a0a0a; background: var(--brand-green); }

.page-shell {
  display: flex;
  flex-direction: column;
  width: min(100% - 112px, 1440px);
  min-height: 100svh;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header { min-height: 112px; }
.header-brand { display: grid; gap: 4px; flex-shrink: 0; }
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { display: block; width: 126px; height: auto; }
.brand-tagline { margin: 0; color: #b8f5d0; font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0.71px; text-align: right; }

main { display: grid; flex: 1; place-items: center; padding: 76px 0 104px; }
.brand-stage { width: 100%; text-align: center; }
.brand-lockup { position: relative; container-type: inline-size; width: min(100%, 640px); aspect-ratio: 1056 / 180; margin: 0 auto; }
.brand-lockup img { position: absolute; inset: 0 auto auto 0; display: block; width: 14.5833333333%; height: 100%; }
/* Match the SVG's Geist Bold outlines: 240px type, 2px tracking, baseline 225,
   scaled by 0.759021 within its 1056 x 180 viewBox. Disable pair kerning. */
.brand-name { position: absolute; left: 18.4986131629%; top: 8.1125643333%; color: #edf4ef; font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: 17.2504772727cqw; font-weight: 700; font-kerning: none; line-height: 1; letter-spacing: 0.0083333333em; white-space: nowrap; }
.brand-slogan { margin: clamp(22px, 3vw, 36px) 0 0; color: #b8f5d0; font-size: clamp(18px, 3.8vw, 40px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.brand-url { margin: clamp(18px, 2vw, 24px) 0 0; color: #b8f5d0; font-family: "Geist Mono", ui-monospace, monospace; font-size: clamp(13px, 2vw, 26px); font-weight: 500; line-height: 1.3; letter-spacing: 0.06em; }

.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: start; gap: clamp(24px, 5vw, 80px); padding-block: 24px; border-top: 1px solid rgb(64 132 96 / 45%); color: var(--text-muted); font: normal 400 9px/1.6 "Geist", ui-sans-serif, system-ui, sans-serif; -webkit-text-size-adjust: none; text-size-adjust: none; }
.site-footer p,
.site-footer address { margin: 0; font: inherit; }
.footer-details { display: grid; width: 100%; gap: 1.6em; text-align: left; }
.company-details { display: grid; gap: 0; align-self: end; justify-self: end; text-align: right; }
.company-identifiers { white-space: nowrap; }

.skip-link { position: fixed; top: 12px; left: 16px; z-index: 2; padding: 12px 18px; color: #0a0a0a; background: var(--brand-green); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: #0a0a0a; }

.about-main { display: block; place-items: normal; width: min(100%, 720px); margin-inline: auto; padding: 40px 0 64px; }
.about-article { color: #a3afa8; font-size: 16px; line-height: 1.75; overflow-wrap: break-word; }
.about-article h1,
.about-article h2,
.about-article h3 { color: #ffffff; font-weight: 600; line-height: 1.35; }
.about-article h1 { margin: 0 0 20px; font-size: 32px; letter-spacing: -0.025em; }
.about-article h2 { margin: 32px 0 12px; font-size: 22px; letter-spacing: -0.015em; }
.about-article h3 { margin: 24px 0 8px; font-size: 17px; }
.about-article p { margin: 0 0 16px; }
.about-article ul { margin: 0 0 20px; padding-left: 24px; }
.about-article li + li { margin-top: 10px; }
.about-article strong { color: #d5ecdf; font-weight: 600; }
.about-article section { scroll-margin-top: 24px; }
.about-article a { color: #b8f5d0; text-decoration: underline; text-underline-offset: 3px; }
.about-article a:hover { color: var(--brand-green); }
.about-article .about-contact { margin-top: 32px; }

@media (min-width: 1800px) {
  main { padding-block: 100px 132px; }
}

@media (max-width: 700px) {
  .page-shell { width: calc(100% - 48px); }
  .site-header { min-height: 88px; }
  main { padding: 72px 0 88px; }
  .about-main { padding: 32px 0 48px; }
  .about-article h1 { font-size: 28px; }
  .site-footer { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 540px) {
  .site-header { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 24px 8px; }
  .header-brand { align-self: flex-start; }
  .brand-tagline { text-align: left; }
}

@media (max-width: 370px) {
  .page-shell { width: calc(100% - 32px); }
  .site-header { gap: 16px; }
  .site-footer { padding-block: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
