/* YourDataScouting -- site styles
   Palette: deep navy ground, single warm gold accent.
   Committed dark look. All backgrounds painted explicitly. */

:root {
  --navy-900: #0a1526;
  --navy-850: #0d1b30;
  --navy-800: #112339;
  --navy-700: #16304b;
  --line: #21395a;
  --line-soft: #1a2c46;

  --gold: #e0a530;
  --gold-dim: #b8842a;

  --text: #eef3fa;
  --text-mid: #b6c4d8;
  --text-dim: #8698b1;

  --max: 1120px;
  --pad: 20px;
  --radius: 10px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--text-mid);
  max-width: 62ch;
}

.section-note {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 62ch;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 21, 38, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .b-thin { font-weight: 400; color: var(--text-mid); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 0.93rem;
}
.nav-links a { color: var(--text-mid); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: #17233a;
  border-color: var(--gold);
}
.btn-primary:hover { background: #eeb547; color: #17233a; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--text); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }
.section-alt { background: var(--navy-850); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { max-width: 66ch; margin-bottom: 36px; }
.section-head.narrow { max-width: 46ch; margin-bottom: 0; }

/* ---------- Hero ---------- */

.hero {
  padding: 68px 0 72px;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(224, 165, 48, 0.07), transparent 62%),
    linear-gradient(180deg, #0b1728 0%, var(--navy-900) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero h1 { max-width: 15ch; }
.hero .lede { margin-bottom: 0; }

/* The three-word pitch: affordable, customizable, repeatable. Uneven lines on
   purpose. A symmetrical card grid would read as a feature table. */
.pitch {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  max-width: 58ch;
}
.pitch li {
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.55;
  margin-bottom: 12px;
}
.pitch li:last-child { margin-bottom: 0; }
.pitch strong { color: var(--text); font-weight: 700; }

.hero-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 54ch;
}

/* The hero visual is a crop of a real report page, presented as a page
   fragment: light paper, thin border, soft shadow, tipped a degree and a half
   so it reads as something printed rather than something drawn. */
.hero-shot { margin: 0; }
.hero-shot img {
  width: 100%;
  background: #fff;
  border: 1px solid #cdd6e2;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  transform: rotate(-1.4deg);
}
.hero-shot figcaption {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 46ch;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--navy-800);
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-mid); font-size: 0.96rem; margin-bottom: 0; }

.card-shot {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--navy-800);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-shot .shot {
  background: #f4f6f9;
  border-bottom: 1px solid var(--line-soft);
  height: 168px;
  overflow: hidden;
}
.card-shot .shot img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
}
.card-shot .body { padding: 20px 22px 24px; }
.card-shot h3 { margin-bottom: 8px; }
.card-shot p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 0; }

/* who it's for: two short facts, not a card grid */
.facts {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 26px;
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
}
.facts dt {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.facts dd {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.96rem;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}
.steps li {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--navy-800);
  padding: 22px 22px 24px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy-700);
  border: 1px solid var(--line);
  color: var(--text-mid);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Gallery strip ---------- */

.strip {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.strip a {
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f4f6f9;
}
.strip a:hover { border-color: var(--gold-dim); }
.strip img { width: 100%; }

/* ---------- Two-up strip (consulting + rankings) ---------- */

.duo {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.duo-card {
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--navy-800);
  padding: 26px 24px 28px;
  color: var(--text);
}
.duo-card:hover { text-decoration: none; border-color: var(--gold-dim); }
.duo-card h3 { margin-bottom: 8px; }
.duo-card p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 12px; }
.duo-more { color: var(--gold); font-size: 0.92rem; font-weight: 600; }

/* ---------- Testimonial ---------- */

.quote {
  border-left: 3px solid var(--line);
  padding: 4px 0 4px 24px;
  max-width: 62ch;
  margin: 0;
}
.quote p {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 16px;
}
.quote footer { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Pricing + CTA ---------- */

.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--navy-800);
  padding: 34px 26px 38px;
}
.panel h2 { margin-bottom: 10px; }
.panel p { color: var(--text-mid); max-width: 58ch; }

/* ---------- Samples page ---------- */

.sample {
  margin: 0 0 56px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--navy-800);
  overflow: hidden;
}
.sample .frame { background: #f4f6f9; padding: 0; }
.sample .frame img { width: 100%; }
.sample .cap { padding: 20px 22px 24px; }
.sample .cap h2 { font-size: 1.25rem; margin-bottom: 8px; }
.sample .cap p { color: var(--text-mid); font-size: 0.96rem; }
.sample .cap p:last-child { margin-bottom: 0; }
.sample .cap ul { color: var(--text-mid); font-size: 0.96rem; margin: 0 0 14px; padding-left: 20px; }
.sample .cap li { margin-bottom: 6px; }

.notice {
  border: 1px solid var(--line-soft);
  background: var(--navy-800);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 44px;
}
.notice strong { color: var(--text); }

/* ---------- Prose (about) ---------- */

.prose { max-width: 68ch; }
.prose h2 { margin-top: 44px; }
.prose p { color: var(--text-mid); }
.prose ul { color: var(--text-mid); padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-850);
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 52px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
.site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-mid); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
}

/* ---------- 404 ---------- */

.center-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 72px 0;
}

/* ---------- Responsive ---------- */

@media (min-width: 620px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 26px 40px; }
  .duo { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .panel { padding: 44px 40px 48px; }
}

@media (min-width: 900px) {
  body { font-size: 17.5px; }
  section { padding: 88px 0; }
  .hero { padding: 96px 0 100px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* Phone header: five links will not fit beside the wordmark, so the brand
   takes its own row and the links wrap underneath as a plain flex row. No
   JavaScript menu, nothing to tap open, everything reachable. */
@media (max-width: 719px) {
  .site-nav .wrap {
    min-height: 0;
    gap: 8px 14px;
    padding-top: 9px;
    padding-bottom: 10px;
    flex-wrap: wrap;
  }
  .brand { font-size: 0.95rem; gap: 8px; }
  .brand svg { width: 24px; height: 24px; }
  .nav-links {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.85rem;
    line-height: 1.3;
  }
}
