/* ---------- Tokens ---------- */
:root {
  --ink:       #0A3340;   /* deep teal (LC-aligned) */
  --ink-soft:  #1E4D5C;
  --paper:     #FBFAF7;   /* warm off-white */
  --paper-2:   #F1EDE3;
  --rule:      #E0DACB;
  --accent:    #E8704A;   /* LC warm orange */
  --accent-2:  #F2A583;
  --sage:      #6FA89E;   /* LC sage green */
  --sage-soft: #D8E8E4;
  --muted:     #5B7280;
  --max:       1120px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

.eyebrow,
.section-kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.lede {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.light { color: var(--paper) !important; }
.section-kicker.light { color: var(--accent-2); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: #A94B1F; border-color: #A94B1F; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
  padding: 8px 16px;
  font-size: 0.88rem;
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px;
  height: auto;
  color: var(--accent);
  flex-shrink: 0;
  transform: translateY(-1px);
}
.brand-text {
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.brand-trial { color: var(--ink); }
.brand-ai {
  color: var(--accent);
  font-weight: 700;
  margin-left: 1px;
}
.brand-footer .brand-mark { width: 22px; }
.brand-footer .brand-text { font-size: 1.05rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.93rem;
  font-weight: 500;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(232,112,74,0.12), transparent 55%),
    radial-gradient(ellipse at 5% 95%, rgba(111,168,158,0.18), transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(232,112,74,0.18), transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero h1 { max-width: 18ch; margin-bottom: 26px; }
.proof-line {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--sage);
  background: rgba(111,168,158,0.08);
  border-radius: 0 8px 8px 0;
}
.proof-line strong { color: var(--ink); font-weight: 600; }

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 56px;
}
.stat-intro {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.4;
  color: var(--paper);
  max-width: 60ch;
  margin: 0 0 36px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.stat-sources {
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #8E9CAE;
  max-width: 75ch;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.93rem;
  line-height: 1.45;
  color: #CBD3DF;
}
.stat-label em { color: var(--paper); font-style: normal; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section h2 { max-width: 22ch; margin-bottom: 28px; }

.pullquote {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 22px;
  margin: 36px 0 0;
  max-width: 42ch;
}

.section-dark {
  background: var(--ink);
  color: #D4DBE7;
}
.section-dark h2,
.section-dark h3 { color: var(--paper); }
.section-dark .lede { color: #CBD3DF; }

.section-accent {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-cta {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(198,93,46,0.12), transparent 60%),
    var(--paper);
  padding: 120px 0;
}
.section-cta h2 { margin-left: auto; margin-right: auto; }
.section-cta .btn-lg { margin-top: 12px; }
.section-cta .small { margin-top: 26px; }
.cta-kicker {
  margin: 48px auto 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #c65d2e);
}
.cta-question {
  font-family: var(--serif, 'Newsreader', serif);
  font-size: clamp(22px, 2.6vw, 28px);
  font-style: italic;
  line-height: 1.3;
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink, #1a1a1a);
}

/* ---------- Phase grid ---------- */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.phase {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 32px 28px;
}
.phase-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.phase p { color: #C4CCDB; }
.phase-deliverable {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #DDE4E8;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.deliverable-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 4px;
}

/* ---------- Services grid ---------- */
.svc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 48px;
}
.svc-grid .svc-card {
  flex: 0 1 calc(33.333% - 18px);
  min-width: 280px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-2);
  box-shadow: 0 14px 40px -20px rgba(11,31,58,0.25);
}
.svc-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  color: var(--accent);
  border-radius: 10px;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.scenario {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 20px !important;
  flex-grow: 1;
}
.scenario-link {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: var(--accent) !important;
  letter-spacing: 0.02em;
  margin: 0 !important;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* ---------- How we work ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}
.how-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 32px 30px;
}
.how-card h3 { margin-bottom: 12px; }
.how-card p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  margin-top: 36px;
}
.why-col h3 {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 28px 0 14px;
}
.why-col h3:first-child { margin-top: 0; }
.track-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.track-list li {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.track-list li:last-child { border-bottom: 1px solid var(--rule); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .phase-grid,
  .svc-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 80px 0 70px; }
  .section { padding: 80px 0; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .stat-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  /* Normalize body-text elements to a single mobile reading size */
  .lede { font-size: 1.02rem; line-height: 1.55; }
  .stat-intro { font-size: 1.02rem; }
  .stat-label { font-size: 0.95rem; }
  .scenario { font-size: 1rem; }
  .svc-card p,
  .phase p,
  .phase-deliverable,
  .track-list li,
  .how-card p { font-size: 1rem; line-height: 1.55; }
  .proof-line { font-size: 0.92rem; }
  .small { font-size: 0.88rem; }
}
