/* CoSeeker — shared styles
   Palette grounded in the logo: charcoal #322f30 wordmark + blue-marble globe.
   Type: Poppins (rounded geometric, echoes the wordmark) for brand/headings,
   Spectral (calm literary serif) for long-form reading. */

:root {
  --ink:        #322f30;   /* brand charcoal — primary text + headings */
  --ground:     #fbfaf6;   /* warm near-white page */
  --paper:      #ffffff;
  --night:      #0b0e13;   /* deep space field — hero */
  --night-2:    #141a24;
  --ocean:      #1f4e79;   /* deep ocean blue from the globe — links/accent */
  --ocean-br:   #2e6ca4;   /* hover / brighter */
  --mist:       #e7e2d6;   /* hairline dividers */
  --muted:      #6c6a64;   /* secondary text */
  --measure:    66ch;

  --f-brand: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --f-read:  "Spectral", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-read);
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ocean-br); }

:focus-visible {
  outline: 2px solid var(--ocean-br);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ---------- Site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--mist);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 0; }
.brand img { height: 26px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--f-brand); font-weight: 500; font-size: 14.5px;
  letter-spacing: .01em; color: var(--ink); text-decoration: none;
}
.nav a:hover { color: var(--ocean); }
.nav a.cta {
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px;
}
.nav a.cta:hover { background: var(--ocean); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--mist);
  margin-top: 96px; padding: 48px 0 64px;
  font-family: var(--f-brand);
}
.site-footer .cols {
  display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start;
  justify-content: space-between;
}
.site-footer .mark { display: flex; align-items: center; gap: 12px; }
.site-footer .mark img { width: 34px; height: 34px; border-radius: 8px; }
.site-footer .mark span { font-weight: 600; font-size: 16px; }
.site-footer .lead { font-family: var(--f-read); color: var(--muted); max-width: 30ch; margin: 10px 0 0; font-size: 15px; }
.foot-group h4 {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin: 0 0 12px;
}
.foot-group a { display: block; color: var(--ink); text-decoration: none; font-size: 14.5px; margin: 7px 0; }
.foot-group a:hover { color: var(--ocean); }
.colophon {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--mist);
  color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
}

/* ---------- Hero (landing) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 72% 18%, #1a2535 0%, rgba(20,26,36,0) 60%),
    radial-gradient(900px 600px at 12% 90%, #10202e 0%, rgba(11,14,19,0) 55%),
    var(--night);
  color: #f3f1ea;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 104px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.eyebrow {
  font-family: var(--f-brand); font-weight: 500; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: #9fb7cf; margin: 0 0 22px;
}
.hero h1 {
  font-family: var(--f-read); font-weight: 500; font-size: clamp(38px, 6vw, 68px);
  line-height: 1.06; letter-spacing: -.01em; margin: 0 0 22px; color: #fbfaf4;
}
.hero h1 em { font-style: italic; color: #cdd9e6; }
.hero p.sub {
  font-size: clamp(17px, 2.2vw, 21px); line-height: 1.6; color: #cfcabc;
  max-width: 46ch; margin: 0 0 34px;
}
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  font-family: var(--f-brand); font-weight: 500; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: #f3f1ea; color: var(--ink); }
.btn-primary:hover { background: #fff; color: var(--ink); transform: translateY(-1px); }
.btn-ghost { color: #e7eef6; border: 1px solid rgba(231,238,246,.35); }
.btn-ghost:hover { border-color: #e7eef6; color: #fff; transform: translateY(-1px); }

.globe-stage { position: relative; display: grid; place-items: center; min-height: 360px; }
.globe-stage img {
  width: min(82%, 380px); height: auto; display: block;
  filter: drop-shadow(0 30px 80px rgba(33,78,121,.55));
  animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.ring {
  position: absolute; inset: 0; margin: auto;
  width: min(96%, 470px); height: min(96%, 470px);
  border: 1px solid rgba(159,183,207,.22); border-radius: 50%;
  animation: fade 2s ease both;
}
.ring.r2 { width: min(120%, 600px); height: min(120%, 600px); border-color: rgba(159,183,207,.12); }
@keyframes rise { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Promise strip ---------- */
.promise {
  border-bottom: 1px solid var(--mist);
  background: var(--paper);
}
.promise .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; padding: 22px 28px; justify-content: center; }
.promise span {
  font-family: var(--f-brand); font-weight: 500; font-size: 14.5px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 9px;
}
.promise .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ocean); display: inline-block; }

/* ---------- Generic sections ---------- */
section.band { padding: 84px 0; }
.section-eyebrow {
  font-family: var(--f-brand); font-weight: 600; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ocean); margin: 0 0 16px;
}
.section-lead {
  font-family: var(--f-read); font-weight: 500; font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.18; letter-spacing: -.01em; margin: 0 0 18px; max-width: 22ch;
}
.section-body { color: var(--muted); max-width: 56ch; font-size: 18px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.card {
  background: var(--paper); border: 1px solid var(--mist); border-radius: 16px;
  padding: 30px 28px;
}
.card .n {
  font-family: var(--f-brand); font-weight: 600; font-size: 13px; color: var(--ocean);
  letter-spacing: .04em;
}
.card h3 { font-family: var(--f-read); font-weight: 600; font-size: 23px; margin: 14px 0 10px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.62; }

.network {
  background:
    radial-gradient(800px 500px at 85% 0%, #16202c 0%, rgba(11,14,19,0) 60%),
    var(--night);
  color: #e9ece8; border-radius: 24px; margin: 0 28px;
}
.network .inner { max-width: 1024px; margin: 0 auto; padding: 72px 36px; display: grid; grid-template-columns: 56px 1fr; gap: 28px; align-items: start; }
.network img { width: 56px; height: 56px; border-radius: 12px; }
.network h2 { font-family: var(--f-read); font-weight: 500; font-size: clamp(24px,3vw,32px); margin: 0 0 14px; color: #fbfaf4; letter-spacing: -.01em; }
.network p { color: #b9c2cb; max-width: 60ch; margin: 0 0 12px; }
.network a { color: #9fc1e4; }

/* ---------- Legal / long-form article ---------- */
.doc-head { padding: 64px 0 40px; border-bottom: 1px solid var(--mist); }
.doc-head .kicker {
  font-family: var(--f-brand); font-weight: 600; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ocean); margin: 0 0 14px;
}
.doc-head h1 { font-family: var(--f-read); font-weight: 600; font-size: clamp(34px,5vw,52px); margin: 0 0 12px; letter-spacing: -.015em; }
.doc-head .eff { font-family: var(--f-brand); font-weight: 500; font-size: 14px; color: var(--muted); }
.doc-nav { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.doc-nav a {
  font-family: var(--f-brand); font-weight: 500; font-size: 13.5px; text-decoration: none;
  color: var(--ink); border: 1px solid var(--mist); border-radius: 999px; padding: 7px 15px;
}
.doc-nav a:hover { border-color: var(--ocean); color: var(--ocean); }
.doc-nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.doc { max-width: var(--measure); margin: 0 auto; padding: 8px 0 24px; }
.doc .intro { font-size: 19.5px; color: var(--ink); margin: 36px 0 8px; }
.doc h2 {
  font-family: var(--f-brand); font-weight: 600; font-size: 21px; letter-spacing: -.005em;
  margin: 46px 0 14px; padding-top: 8px; color: var(--ink);
  display: flex; gap: 12px; align-items: baseline;
}
.doc h2 .num { color: var(--ocean); font-variant-numeric: tabular-nums; min-width: 1.6em; }
.doc h3 { font-family: var(--f-brand); font-weight: 600; font-size: 16.5px; margin: 28px 0 8px; color: var(--ink); }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 18px; padding-left: 1.15em; }
.doc li { margin: 0 0 10px; padding-left: .25em; }
.doc li::marker { color: var(--ocean); }
.doc strong { font-weight: 600; }
.doc em { color: var(--muted); }
.doc .legal-caps {
  font-size: 15.5px; line-height: 1.7; color: var(--ink);
  background: #f4f2ec; border: 1px solid var(--mist); border-radius: 12px;
  padding: 18px 20px; margin: 0 0 18px;
}
.doc .callout {
  border-left: 3px solid var(--ocean); background: #f1f5f9;
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 0 0 22px;
}
.doc .callout p:last-child { margin-bottom: 0; }
.doc hr { border: 0; border-top: 1px solid var(--mist); margin: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .globe-stage { order: -1; min-height: 280px; margin-bottom: 8px; }
  .three { grid-template-columns: 1fr; }
  .nav .navlink { display: none; }
  .network .inner { grid-template-columns: 1fr; }
  .network img { width: 48px; height: 48px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .site-header .wrap { height: 60px; }
  .brand img { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .globe-stage img, .ring { animation: none; }
  .btn:hover, .btn-primary:hover, .btn-ghost:hover { transform: none; }
}
