:root {
  /* Light editorial palette — restrained, one blue accent from the RSI logo */
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-alt: #f3f6fa;
  --ink: #0f1b2d;        /* headings / near-navy black */
  --body: #3a475d;       /* body text */
  --muted: #6b7891;      /* secondary text */
  --faint: #97a2b6;
  --line: #e6eaf1;       /* hairline borders */
  --line-soft: #eef1f6;

  --accent: #1f87d4;     /* logo blue */
  --accent-deep: #1769b3;
  --accent-soft: #eaf3fb;

  --dark: #0c1422;       /* the one dark section (centrepiece) */
  --dark-2: #111d31;

  --maxw: 1100px;
  --maxw-wide: 1180px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

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

.display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 23px; width: auto; display: block; }
.brand-name { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.15s; }
.nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 18px; border: 1px solid var(--ink); border-radius: 999px;
  color: var(--ink) !important; transition: background 0.18s, color 0.18s;
}
.nav-cta:hover { background: var(--ink); color: #fff !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.14s ease, background 0.18s, color 0.18s, border-color 0.18s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1b2c45; color: #fff; transform: translateY(-1px); }
.btn-text { color: var(--ink); padding: 14px 6px; }
.btn-text .arr { transition: transform 0.16s; color: var(--accent); }
.btn-text:hover { color: var(--accent-deep); }
.btn-text:hover .arr { transform: translateX(4px); }
.btn-lg { padding: 16px 34px; font-size: 16.5px; }

/* ---------- Hero ---------- */
.hero { padding: 120px 0 104px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2.4px; font-size: 12.5px;
  font-weight: 600; color: var(--accent); margin: 0 0 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.08; margin: 0 0 28px; color: var(--ink); max-width: 18ch;
}
.hero h1 .accent { color: var(--accent); }
.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.55;
  color: var(--muted); max-width: 56ch; margin: 0 0 36px;
}
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust {
  margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 15px; max-width: 40ch;
}

/* ---------- Section scaffolding ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  text-transform: uppercase; letter-spacing: 2.4px; font-size: 12.5px;
  font-weight: 600; color: var(--accent); margin: 0 0 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12;
  color: var(--ink); margin: 0 0 24px; max-width: 22ch;
}
.section-lede { font-size: 1.18rem; color: var(--muted); max-width: 60ch; margin: 0 0 52px; }

/* ---------- Problem ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.prob { background: var(--bg); padding: 34px 32px; }
.prob h3 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 650; color: var(--ink); }
.prob p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- What we do ---------- */
.do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.do { position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.do-num {
  display: block; font-family: var(--serif); font-size: 1.05rem;
  color: var(--accent); font-weight: 560; margin-bottom: 14px;
}
.do h3 { margin: 0 0 12px; font-size: 1.3rem; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.do p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* ---------- How we work (dark centrepiece) ---------- */
.section-dark {
  background:
    radial-gradient(900px 460px at 82% -10%, rgba(31, 135, 212, 0.18), transparent 70%),
    linear-gradient(180deg, var(--dark), var(--dark-2));
  color: #cdd6e6;
}
.section-dark .section-title { color: #ffffff; }
.kicker-light { color: #5fbff0; }
.section-lede-light { color: #9fb0ca; max-width: 64ch; }

.split { margin: 8px 0 0; }
.split-bar {
  display: flex; height: 76px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.seg { display: flex; align-items: center; justify-content: center; font-weight: 700; }
.seg span { font-size: 1.4rem; }
.seg-auto { background: linear-gradient(120deg, #29b6ec, #1f87d4); color: #04121f; }
.seg-human { background: #1c2c45; color: #cdd6e6; border-left: 1px solid rgba(255,255,255,0.12); }
.split-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; }
.leg { display: flex; gap: 12px; align-items: flex-start; }
.leg-key { flex: none; width: 14px; height: 14px; border-radius: 4px; margin-top: 5px; }
.leg-auto { background: linear-gradient(120deg, #29b6ec, #1f87d4); }
.leg-human { background: #2a3c59; }
.leg p { margin: 0; font-size: 1rem; color: #9fb0ca; }
.leg strong { color: #eaf0fb; font-weight: 600; }

.payoff {
  margin: 48px 0 0; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.3; color: #ffffff; max-width: 26ch;
}

/* ---------- Managed (two column) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col .section-title { margin-bottom: 0; }
.two-col-body p { font-size: 1.12rem; color: var(--body); margin: 0 0 18px; }
.two-col-body p:last-child { margin-bottom: 0; }

/* ---------- Why a specialist ---------- */
.spec-copy { font-size: 1.18rem; color: var(--body); margin: 0 0 22px; }
.spec-copy:last-child { margin-bottom: 0; }

/* ---------- Proof ---------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.proof { padding: 34px 32px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.proof-stat {
  font-family: var(--serif); font-size: 2rem; font-weight: 560; color: var(--accent);
  margin: 0 0 10px; letter-spacing: -0.01em;
}
.proof-line { margin: 0; color: var(--muted); font-size: 1.04rem; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 112px 0; text-align: center;
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--ink); margin: 0 0 18px; line-height: 1.1; }
.cta-band p { color: var(--muted); font-size: 1.18rem; max-width: 52ch; margin: 0 auto 34px; }
.cta-mail { margin: 22px 0 0; font-size: 15px; color: var(--faint); }
.cta-mail::before { content: "or email "; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { height: 19px; width: auto; margin-top: 3px; }
.footer-entity { display: block; font-weight: 600; color: var(--ink); font-size: 15px; }
.footer-sub { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.footer-right { text-align: right; }
.footer-right a { display: block; font-size: 14.5px; }
.footer-copy { display: block; color: var(--faint); font-size: 13.5px; margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .do-grid { grid-template-columns: 1fr; gap: 0; }
  .do { padding: 26px 0; border-top: 1px solid var(--line); }
  .do:first-child { border-top: 2px solid var(--ink); }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .split-legend { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 80px 0; }
  .hero { padding: 88px 0 76px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .nav a:not(.nav-cta) { display: none; }
  .brand-name { display: none; }
  .hero { padding: 64px 0 60px; }
  .hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.5rem); max-width: 100%; }
  .lede { font-size: 1.08rem; }
  .section-title { max-width: 100%; }
  .prob-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-right { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
