/* === Fonts =============================================================== */
@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === Tokens ============================================================== */
:root {
  color-scheme: light;
  --paper:     #FAF7F2;
  --surface:   #FFFFFF;
  --ink:       #131211;
  --ink-2:     #4B463E;
  --ink-3:     #8C857A;
  --rule:      rgba(19, 18, 17, 0.10);
  --rule-strong: rgba(19, 18, 17, 0.18);
  --brand:     #1F4E5F;
  --brand-2:   #2C6A7E;
  --brand-soft:rgba(31, 78, 95, 0.06);
  --brand-mid: rgba(31, 78, 95, 0.16);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* === Reset =============================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--paper); }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "ss01", "cv11";
}
a { color: inherit; }

/* === Hero glow ========================================================== */
.glow {
  position: absolute;
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(72rem, 110vw);
  height: 36rem;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 30%, var(--brand-soft) 0%, transparent 70%),
    radial-gradient(40% 40% at 70% 50%, var(--brand-mid) 0%, transparent 60%);
  filter: blur(40px);
  opacity: 0.7;
  z-index: 0;
}

/* === Container =========================================================== */
.frame {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 1;
}

/* === Header ============================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  padding-top: 0.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.013em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark .logo {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.4375rem;
  background-image: url("/favicon.svg");
  background-size: cover;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
/* Crawler-resistant phone/email — display:none decoys are stripped from
   rendered text but pollute the HTML source so the digits/email don't
   appear as a contiguous regex-matchable string. Real value lives in
   the href and the aria-label. */
.pn-decoy { display: none; }

.lang {
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--ink-3);
  display: inline-flex;
  gap: 0.625rem;
  font-weight: 500;
}
.lang .active { color: var(--ink); }
.lang a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s ease;
}
.lang a:hover { color: var(--ink); }

/* === Hero ================================================================ */
.hero {
  padding: 5.5rem 0 4.5rem;
  max-width: 44rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand);
  margin: 0 0 1.5rem;
  letter-spacing: -0.005em;
}

h1.display {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.25rem, 5.4vw, 3.875rem);
  line-height: 1.05;
  letter-spacing: -0.034em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1.display em {
  font-style: normal;
  color: var(--brand);
}

.lede {
  margin: 1.75rem 0 0;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36rem;
  letter-spacing: -0.012em;
}

/* === Practice line — sentence, not chips ================================ */
.practice {
  margin: 2rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  max-width: 36rem;
}
.practice span {
  color: var(--brand);
  font-weight: 500;
  white-space: nowrap;
}

/* === Card: company facts ================================================ */
.card {
  margin: 4.5rem 0 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  box-shadow:
    0 1px 2px rgba(19,18,17,0.04),
    0 8px 24px -16px rgba(19,18,17,0.08);
}
.card-head {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin: 0 0 1.25rem;
  text-transform: uppercase;
}
.card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  row-gap: 0.625rem;
  column-gap: 1.25rem;
}
.card dt {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.card dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.card .ref {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0;
}

/* === Contact ============================================================= */
.contact {
  margin: 4.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
}
.contact h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 0.625rem;
}
.contact address,
.contact p {
  margin: 0;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink);
}
.contact a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-mid);
  padding-bottom: 0.05em;
  transition: border-color 0.15s ease;
}
.contact a:hover { border-bottom-color: var(--brand); }

/* === Footer ============================================================== */
.site-footer {
  margin: 5.5rem 0 0;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.site-footer p { margin: 0; }
.site-footer .legal {
  display: inline-flex;
  gap: 1.5rem;
}
.site-footer .legal a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer .legal a:hover { color: var(--ink); }

/* === Prose pages ========================================================= */
.prose {
  max-width: 40rem;
  margin: 2rem auto 4rem;
  padding: 0;
}
.prose h1 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.625rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 1.75rem;
  color: var(--ink);
}
.prose .stand {
  font-size: 0.875rem;
  color: var(--ink-3);
  margin: 0 0 2.5rem;
}
.prose .label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  margin: 2.25rem 0 0.5rem;
  letter-spacing: -0.005em;
}
.prose p,
.prose address {
  margin: 0 0 1rem;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink);
}
.prose a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-mid);
}
.prose a:hover { border-bottom-color: var(--brand); }
.prose .ref {
  font-family: var(--mono);
  font-size: 0.875em;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

/* === Mobile ============================================================== */
@media (max-width: 720px) {
  body { overflow-x: hidden; }
  .frame { padding: 0 1.25rem; max-width: 100%; }
  .glow { height: 24rem; opacity: 0.5; }

  .site-header { height: 4rem; }
  .hero { padding: 3rem 0 3rem; max-width: 100%; }
  h1.display { font-size: 1.875rem; letter-spacing: -0.026em; line-height: 1.1; }
  .lede { font-size: 1.0625rem; }

  .card {
    margin-top: 3rem;
    padding: 1.5rem 1.25rem;
    border-radius: 1rem;
  }
  .card dl {
    grid-template-columns: 1fr;
    row-gap: 0.875rem;
  }
  .card dt { margin-bottom: 0.125rem; }

  .contact {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 3rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 3.5rem;
    padding: 1.5rem 0 2rem;
  }

  .prose { padding: 0; margin: 1rem auto 2.5rem; }
  .prose h1 { font-size: 1.875rem; }
}
