/* ---------- Tokens ---------- */
:root {
  /* Palette (per brand) */
  --black:         #000000;
  --ink:           #4a4a4b;     /* body text */
  --muted:         #9d9d9d;     /* captions, borders */
  --paper:         #f4f4f4;     /* page bg */
  --white:         #ffffff;     /* surfaces */
  --blue:          #2297f9;     /* primary accent */
  --bronze:        #927f66;     /* secondary / craft accent */

  /* Semantic tokens */
  --bg:            var(--paper);
  --bg-alt:        var(--white);
  --surface:       var(--white);
  --surface-2:     var(--paper);
  --surface-dark:  var(--black);

  --text:          var(--black);
  --text-body:     var(--ink);
  --text-muted:    var(--muted);

  --border:        #e5e5e5;
  --border-strong: #d9d9d9;

  --accent:        var(--blue);
  --accent-hover:  #0f7fe0;
  --accent-soft:   rgba(34, 151, 249, 0.10);
  --accent-ring:   rgba(34, 151, 249, 0.22);

  --accent-2:      var(--bronze);
  --accent-2-soft: rgba(146, 127, 102, 0.12);

  --danger:        #d14343;

  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:     0 24px 60px rgba(0,0,0,0.12);

  --container:     1160px;
  --font-sans:     'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display:  'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .18s;
}
a:hover { color: var(--accent-hover); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

.accent    { color: var(--accent); }
.accent-2  { color: var(--accent-2); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 .6em;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 2rem;
}
section { padding: 96px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  text-align: center;
  font-family: inherit;
}
.btn-sm  { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg  { padding: 16px 34px; font-size: 1rem; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 22px -8px rgba(34, 151, 249, 0.55);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(34, 151, 249, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* On-dark variants (used inside dark sections) */
.dark-section .btn-primary {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 10px 30px -10px rgba(255,255,255,0.4);
}
.dark-section .btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}
.dark-section .btn-outline {
  color: var(--white);
  border-color: var(--white);
}
.dark-section .btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 90px;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(34, 151, 249, 0.08), transparent 65%),
    radial-gradient(700px 400px at 100% 20%, rgba(146, 127, 102, 0.06), transparent 65%),
    var(--white);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.hero-copy .lede {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-2-soft);
  color: var(--accent-2);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.hero-copy .sub {
  color: var(--text-body);
  font-size: 1.15rem;
  margin: 0 0 28px;
  max-width: 540px;
}
.checklist {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}
.checklist li {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-weight: 500;
  color: var(--text-body);
}
.checklist li:last-child { border-bottom: 1px solid var(--border); }

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Problem ---------- */
.problem {
  background: var(--paper);
  text-align: center;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 44px 0 36px;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pain-card .x {
  font-size: 1.3rem;
  color: var(--danger);
  flex: 0 0 auto;
}
.pain-card p {
  margin: 0;
  color: var(--text-body);
}
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--text);
  font-weight: 700;
  max-width: 780px;
  margin: 0 auto;
  padding: 10px 0 0;
}

/* ---------- Framework ---------- */
.framework {
  text-align: center;
  background: var(--white);
}
.framework-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
  margin-top: 46px;
}
.framework-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.framework-benefits h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.framework-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.framework-benefits li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--text-body);
}
.framework-benefits li:first-child { border-top: 1px solid var(--border); }

@media (max-width: 860px) {
  .framework-grid { grid-template-columns: 1fr; }
}

/* ---------- Cases ---------- */
.cases {
  background: var(--paper);
  text-align: center;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 44px;
  text-align: left;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: var(--shadow-sm);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.case-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}
.case-body { padding: 22px 24px 26px; }
.case-body h3 {
  margin-bottom: 8px;
  color: var(--accent);
}
.case-body p {
  color: var(--text-body);
  margin: 0;
}
.case-body strong { color: var(--text); }

/* ---------- About ---------- */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}
/* Circular cutout with transparent corners: no box border or box-shadow
   (they'd draw a rectangle around the circle). drop-shadow follows the
   image's alpha, so the shadow hugs the circle. */
.about-photo {
  display: flex;
  justify-content: center;
}
.about-photo picture {
  display: block;
  width: 100%;
  max-width: 380px;
}
.about-photo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.14));
}
.about-copy h2 { margin-bottom: 0; }
.title-line {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-2);
  margin: 4px 0 24px;
}
.about-copy blockquote {
  margin: 0 0 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent-2);
  background: var(--paper);
  border-radius: 6px;
  font-size: 1.15rem;
  color: var(--text-body);
  font-style: italic;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Process (dark feature section) ---------- */
.process {
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.dark-section,
.process {
  --text: var(--white);
  --text-body: rgba(255,255,255,0.78);
  --text-muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.1);
}
.process h2 { color: var(--white); }
.process .section-sub { color: rgba(255,255,255,0.65); }

.process-list {
  list-style: none;
  padding: 0;
  margin: 46px 0 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  text-align: left;
}
.process-list li {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform .18s, border-color .18s, background .18s;
}
.process-list li:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(34, 151, 249, 0.08);
}
.process-list .num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
}
.process-list h3 {
  margin: 4px 0 6px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--white);
}
.process-list p {
  margin: 0;
  color: rgba(255,255,255,0.65);
  font-size: 0.98rem;
}
.process-cta { margin-top: 28px; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background: var(--white);
  padding: 100px 0;
}
.final-visual {
  max-width: 820px;
  margin: 0 auto 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
}
.pillar-list li {
  font-size: 1.1rem;
  color: var(--text-body);
}
.pillar-list strong { color: var(--accent); font-weight: 700; }
.final-cta h2 { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-inner p {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent); }
