/* Intents — shared styles (matches the Framer design) */
:root {
  --ink: #07161d;
  --body: #304653;
  --muted: #5f7889;
  --line: #dce3e7;
  --soft: #f5f7f7;
  --white: #ffffff;
  --radius: 3px;
  --max: 1200px;
  --pad-x: 48px;
  --h1: 64px; --h1-lh: 1.08; --h1-ls: -2px;
  --h2: 42px; --h2-lh: 1.15;
  --section-y: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px; line-height: 1.5; letter-spacing: -0.3px;
  color: var(--body); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--pad-x)); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); }

/* Type */
.eyebrow { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.section--dark .eyebrow { color: var(--line); }
h1 { font-size: var(--h1); font-weight: 500; line-height: var(--h1-lh); letter-spacing: var(--h1-ls); color: var(--ink); }
h2, .h2 { font-size: var(--h2); font-weight: 500; line-height: var(--h2-lh); letter-spacing: -1px; color: var(--ink); }
h3 { font-size: 24px; font-weight: 500; line-height: 30px; letter-spacing: -0.4px; color: var(--ink); }
.lead { font-size: 18px; line-height: 1.6; letter-spacing: -0.36px; color: var(--body); }
.small { font-size: 15px; line-height: 1.5; color: var(--body); }
.num { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 1.2px; color: var(--muted); }
.head { display: flex; flex-direction: column; gap: 20px; }
.head .eyebrow + h2 { margin-top: 0; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 21px; letter-spacing: -0.3px;
  transition: background-color .2s, box-shadow .2s, opacity .2s; cursor: pointer; border: 0; font-family: inherit;
}
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #1b2f38; }
.btn--light { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--light:hover { box-shadow: inset 0 0 0 1px var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { height: 100px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { width: 96px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a:not(.btn) { color: var(--body); font-size: 15px; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 88px 0 80px; }
.hero h1 { margin-top: 32px; max-width: 1000px; }
.hero .lead { margin-top: 32px; max-width: 650px; }
.hero .btns { margin-top: 32px; }
.flow { margin-top: 64px; background: var(--soft); border-radius: var(--radius); padding: 32px; }
.flow__row { margin-top: 20px; display: flex; align-items: center; gap: 24px; }
.flow__card { flex: 1; background: var(--white); padding: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.flow__card p { margin-top: 8px; }
.flow__card--dark { background: var(--ink); box-shadow: none; }
.flow__card--dark h3 { color: var(--white); }
.flow__card--dark p { color: var(--line); }
.flow__arrow { width: 24px; height: 24px; flex: none; color: var(--muted); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.split--center { align-items: center; }

/* Problem */
.problem .lead { margin-top: 20px; }
.pain { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-content: start; }
.pain li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.6; letter-spacing: -0.36px; display: flex; align-items: center; min-height: 98px; }

/* What we do */
.narrow { max-width: 720px; }
.steps6 { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.step { padding: 24px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.step--done { background: var(--ink); border-top-color: var(--ink); }
.step--done h3 { color: var(--white); }
.step--done svg { width: 17px; height: 17px; color: var(--line); }
.after-steps { margin-top: 48px; max-width: 720px; }

/* Use cases */
.cases { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; min-height: 300px; }
.case__top { display: flex; justify-content: space-between; align-items: center; }
.case__top svg { width: 20px; height: 20px; color: var(--muted); }
.case h3 { margin-top: 24px; }
.case .small { margin-top: 12px; }
.case__outcome { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.case__outcome p:last-child { margin-top: 8px; color: var(--ink); }
.case__desc { margin-bottom: 28px; }
.case--cta { background: transparent; justify-content: center; gap: 24px; }
.case--cta h3 { margin-top: 0; }
.case--cta .btn { align-self: flex-start; }

/* How we work */
.callout { background: var(--soft); padding: 28px; border-left: 2px solid var(--muted); }
.callout .lead { margin-top: 16px; }
.steps-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.steps-grid .item { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.steps-grid .item h3 { margin-top: -4px; }

/* Integration */
.diagram { background: var(--white); padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.chips { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip { padding: 12px; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.connector { width: 1px; height: 24px; background: var(--muted); }
.job { width: 100%; background: var(--ink); padding: 24px; text-align: center; }
.job h3 { color: var(--white); }
.job p { margin-top: 8px; color: var(--line); }

/* Control */
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.6; letter-spacing: -0.36px; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--muted); }

/* POV */
.pov h2 { color: var(--white); max-width: 960px; margin-top: 32px; }
.pov .lead { color: var(--line); max-width: 720px; margin-top: 32px; }

/* CTA */
.cta h2 { max-width: 800px; }
.cta .lead { margin-top: 28px; max-width: 650px; }
.cta .btns { margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer__brand { display: flex; gap: 24px; align-items: flex-start; }
.footer__brand img { width: 96px; }
.footer__brand p { max-width: 260px; padding-top: 26px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 37px; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Plain text pages */
.prose { max-width: 720px; }
.prose h1 { font-size: var(--h2); letter-spacing: -1px; }
.prose h2 { font-size: 24px; letter-spacing: -0.4px; margin-top: 40px; }
.prose p { margin-top: 16px; font-size: 18px; line-height: 1.6; }
.prose a { color: var(--ink); text-decoration: underline; }

/* Tablet */
@media (max-width: 1199px) {
  :root { --h1: 52px; --h2: 36px; --pad-x: 40px; }
  .steps6 { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 48px; }
}

/* Phone */
@media (max-width: 809px) {
  :root { --h1: 38px; --h1-ls: -1px; --h2: 30px; --pad-x: 20px; --section-y: 64px; }
  .nav { height: 72px; }
  .nav__logo img { width: 72px; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 16px; }
  .hero { padding: 48px 0 64px; }
  .hero h1, .hero .lead, .hero .btns { margin-top: 24px; }
  .flow { margin-top: 48px; padding: 20px; }
  .flow__row { flex-direction: column; align-items: stretch; gap: 12px; }
  .flow__arrow { transform: rotate(90deg); align-self: center; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .pain li { min-height: 0; font-size: 15px; }
  .steps6 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .steps6 h3 { font-size: 20px; }
  .cases { grid-template-columns: 1fr; }
  .case { min-height: 0; }
  .case--cta { padding: 12px 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .diagram { padding: 20px; }
  .checks li { font-size: 15px; }
  .footer__top { flex-direction: column; }
  .footer__links { padding-top: 0; }
  .footer__brand p { padding-top: 18px; }
}
@media (max-width: 480px) {
  .steps6 { grid-template-columns: repeat(2, 1fr); }
  .chips { grid-template-columns: 1fr 1fr; }
}
