/* ============================================================================
   Solutions of Today — platform design system.
   Derived from William's UI mockup (Claude design console artifact, 2026-09-26).

   This is a NEW stylesheet rather than an edit to sot.css. sot.css carries the
   old teal + Cormorant identity and is still what the retired pages
   (/setup/, /tools/, /custom-build/, /discovery/) render with. Editing it in
   place would have broken every one of them mid-pivot. When those pages are
   retired or rebuilt, sot.css goes with them and this becomes the only one.

   Values are read from the mockup, not approximated.
   ========================================================================= */

:root {
  /* ---- ink and surface ---- */
  --ink:        #13243B;   /* display type, dark buttons, logo mark */
  --ink-2:      #2A3B50;
  --muted:      #6B7F95;   /* body copy on light; the workhorse */
  --muted-2:    #4A5E75;   /* nav links, slightly stronger than muted */
  --bg:         #F4F8FC;
  --surface:    #FFFFFF;
  --surface-2:  #FAFCFE;
  --surface-3:  #F0F6FD;

  /* ---- brand blue ---- */
  --brand:      #1F6FB8;
  --brand-hi:   #2E7AC3;
  --brand-lo:   #1D5A9C;

  /* ---- accents ---- */
  --gold:       #FFD27A;   /* the one warm note; used sparingly, on dark */
  --gold-ink:   #A8690F;   /* gold as readable text on light */
  --gold-soft:  #FDF1DC;
  --green:      #1F8A5B;   /* healthy / live */
  --green-soft: #C4F1DA;

  /* ---- tints and lines ---- */
  --tint:       #E2EFFB;
  --tint-2:     #EAF1F8;
  --tint-3:     #C6DBF0;
  --tint-4:     #DCE9F6;
  --line:       rgba(15, 35, 64, .07);
  --line-soft:  rgba(15, 35, 64, .06);
  --line-firm:  rgba(15, 35, 64, .10);

  /* ---- the hero wash ---- */
  --sky: linear-gradient(180deg, #CFE5FA 0px, #E6F1FC 520px, #F4F8FC 1000px);

  /* ---- type ---- */
  --display: Newsreader, Georgia, "Times New Roman", serif;
  --sans:    Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- shape ---- */
  --r-pill: 999px;
  --r-card: 18px;
  --r-md:   14px;
  --r-sm:   12px;

  --shadow-card: 0 1px 2px rgba(15, 35, 64, .04), 0 8px 24px rgba(15, 35, 64, .06);
  --shadow-lift: 0 18px 44px rgba(15, 35, 64, .14);
  --shadow-pop:  0 10px 30px rgba(0, 0, 0, .18);

  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; display: block; }
input, textarea, select, button { font: inherit; color: inherit; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---- display type ---- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.015em; line-height: 1.12; margin: 0; color: var(--ink); }
h1 { font-size: clamp(38px, 5.2vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
p  { margin: 0; }

.serif-i { font-family: var(--display); font-style: italic; color: var(--brand); }

/* ---- the small uppercase label used throughout ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--gold  { color: var(--gold-ink); }

.lede { color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-align: center;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  padding: 12px 22px; min-height: 44px;
  border-radius: var(--r-pill);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--brand); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-firm); }
.btn--ghost:hover { background: var(--surface); border-color: var(--brand); color: var(--brand); }
.btn--onblue { background: #fff; color: var(--ink); }
.btn--onblue:hover { background: var(--gold); color: var(--ink); }
.btn--quiet { background: none; color: var(--ink); padding: 8px 10px; }
.btn--quiet:hover { color: var(--brand); }
.btn:active { transform: translateY(1px); }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 248, 252, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
@media (max-width: 640px) { .nav__inner { padding: 14px 20px; } }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; flex: none; }
.brand__mark i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); display: block; }
.brand__name { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 28px; font-size: 13.5px; }
.nav__links a { color: var(--muted-2); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ---- sections ---- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
@media (max-width: 640px) { .section { padding: 60px 0; } }

/* ---- cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}

/* ---- trust strip ---- */
.trust { display: flex; flex-wrap: wrap; gap: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line-soft); padding: 32px 0; color: var(--muted); font-size: 13px; }
.foot__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
