:root {
  --white: #FFFFFF;
  --tint: #F2F8FD;
  --tint-2: #E6F2FB;
  --line: #DCE7F2;
  --navy: #0E1B33;
  --text: #13213B;
  --muted: #56667F;
  --blue: #1A7FDB;
  --teal: #13A8A1;
  --teal-text: #0B847E;
  --grad: linear-gradient(100deg, #1468C8 0%, #0B8781 100%);
  --grad-soft: linear-gradient(135deg, #EAF4FE 0%, #E4F7F5 100%);
  --wrap: 1180px;
  --head: "Sora", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.15; max-width: 20ch; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 58ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 10px; font-family: var(--head);
  font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 1px solid transparent; transition: filter .2s, border-color .2s, background .2s;
}
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue); }
.text-link { color: var(--blue); font-weight: 600; text-decoration: none; font-family: var(--head); font-size: .98rem; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.logo img { height: 80px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-family: var(--head); font-size: .95rem; font-weight: 500; transition: color .2s; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--teal); }
.nav .btn { padding: 12px 20px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-family: var(--head); font-weight: 600; color: var(--navy); cursor: pointer; }

/* Hero */
.hero { padding: 80px 0 72px; position: relative; overflow: hidden; background: var(--grad-soft); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.tag { display: inline-block; color: var(--teal-text); font-weight: 600; font-family: var(--head); font-size: .92rem; margin-bottom: 18px; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 34px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-hero { padding: 80px 0 64px; background: var(--grad-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; margin-bottom: 20px; }

/* Pipeline */
.pipeline { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 24px 50px -28px rgba(14, 60, 120, .35); }
.pipeline-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; font-family: var(--head); }
.pipeline-head strong { font-size: .95rem; color: var(--navy); }
.pipeline-head span { color: var(--muted); font-size: .8rem; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col { background: var(--tint); border-radius: 10px; padding: 10px; min-height: 250px; display: flex; flex-direction: column; gap: 8px; }
.col-title { font-size: .76rem; color: var(--muted); font-weight: 600; font-family: var(--head); padding: 2px 2px 4px; }
.lead { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px 48px 10px 10px; font-size: .8rem; line-height: 1.35; position: relative; }
.lead b { display: block; font-weight: 700; font-size: .82rem; color: var(--navy); }
.lead small { color: var(--muted); font-size: .74rem; }
.lead .val { color: var(--teal-text); font-weight: 700; position: absolute; top: 10px; right: 10px; }
.lead.live { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(19, 168, 161, .14); }
.lead .ping { display: none; margin-top: 6px; color: var(--teal-text); font-size: .72rem; font-weight: 700; }
.lead.live .ping { display: block; }
.pipeline-foot { margin-top: 14px; display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.pipeline-foot b { color: var(--navy); }

/* Proof strip */
.proof { border-bottom: 1px solid var(--line); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 30px 24px; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item strong { display: block; font-family: var(--head); font-size: 2rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1.15; }
.proof-item span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 104px 0; }
.section.tinted { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 52px; }
.section-head .lede { justify-self: end; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 32px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-num { font-family: var(--head); font-weight: 700; color: var(--blue); font-size: 1rem; margin-bottom: 16px; display: block; }
.step h3 { margin-bottom: 10px; font-size: 1.4rem; }
.step p { color: var(--muted); }

/* Service overview (home) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.pillar h3 { font-size: 1.5rem; margin-bottom: 6px; }
.pillar .sub { color: var(--teal-text); font-weight: 600; font-size: .95rem; margin-bottom: 18px; display: block; }
.pillar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.pillar li { display: flex; gap: 12px; }
.pillar li::before, .checks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--grad); }
.more { margin-top: 32px; }

/* Services detail */
.svc-group { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); }
.svc-group:first-child { border-top: 0; padding-top: 0; }
.svc-group > div:first-child h2 { font-size: 2rem; }
.svc-group > div:first-child p { color: var(--teal-text); font-weight: 600; margin-top: 8px; }
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 40px; }
.svc h3 { margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.svc p { color: var(--muted); }
.svc .checks { margin-top: 14px; }
.price { color: var(--teal-text); font-weight: 700; font-size: .95rem; font-family: var(--head); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--text); font-size: .98rem; }
.checks li { display: flex; gap: 12px; }

/* Results */
.results-grid { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 20px; }
.metric, .table-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--white); }
.metric-label { color: var(--muted); font-size: .9rem; font-family: var(--head); font-weight: 500; }
.metric-value { font-family: var(--head); font-size: 3.2rem; font-weight: 700; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 6px; }
.metric-change { color: var(--teal-text); font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.metric p { color: var(--muted); font-size: .95rem; }
.table-card { padding-bottom: 12px; }
.table-card .metric-label { margin-bottom: 10px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
th { text-align: left; color: var(--muted); font-weight: 500; font-size: .82rem; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td:last-child { color: var(--teal-text); font-weight: 700; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote { padding: 30px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.quote.feature { background: var(--grad); border: 0; color: #fff; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; }
.quote.feature blockquote { font-family: var(--head); font-size: 1.45rem; line-height: 1.4; font-weight: 500; color: #fff; letter-spacing: -0.01em; }
.quote.feature cite { color: rgba(255,255,255,.85); }
.quote h3 { margin-bottom: 10px; font-size: 1.08rem; }
.quote blockquote { margin: 0; color: var(--muted); }
.quote cite { display: block; font-style: normal; color: var(--muted); font-size: .88rem; margin-top: 18px; font-weight: 500; }
.quote-stack { display: grid; gap: 20px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq-wrap .lede { margin-top: 18px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--head); font-weight: 600; font-size: 1.04rem; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--muted); padding: 0 40px 24px 0; max-width: 66ch; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.prose p { color: var(--muted); margin-bottom: 18px; max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.principle { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.principle h3 { margin-bottom: 8px; }
.principle p { color: var(--muted); }
.person { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.person-photo { aspect-ratio: 1; border-radius: 16px; background: var(--grad-soft); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: .85rem; text-align: center; padding: 16px; }
.person h2 { margin-bottom: 14px; }

/* Book */
.book-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.expect { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 14px; }
.expect li { display: flex; gap: 14px; }
.expect li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 2px; background: var(--grad); }
.expect-title { margin-bottom: 18px; }
.alt-contact { border-top: 1px solid var(--line); padding-top: 28px; }
.alt-contact h3 { margin-bottom: 8px; }
.alt-contact p { color: var(--muted); margin-bottom: 14px; }
.alt-contact .links { display: flex; flex-direction: column; gap: 6px; }
.alt-contact a { text-decoration: none; font-weight: 600; color: var(--blue); }
.alt-contact a:hover { text-decoration: underline; }
.embed { border: 1px solid var(--line); border-radius: 16px; padding: 8px; background: var(--white); box-shadow: 0 24px 50px -32px rgba(14, 60, 120, .35); }
.embed iframe { display: block; width: 100%; min-height: 640px; border: 0; }
.form-slot { margin-top: 20px; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 80px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #B7C4D8; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-grid .logo img { height: 96px; }
.foot-grid p { color: var(--muted); max-width: 34ch; margin-top: 12px; }
.foot-grid h4 { margin-bottom: 14px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--blue); }
.legal { margin-top: 48px; color: var(--muted); font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .section-head, .faq-wrap, .book-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .section-head .lede { justify-self: start; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .table-card { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr; }
  .svc-group { grid-template-columns: 1fr; gap: 24px; }
  .menu-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 96px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 0; }
  .nav-cta { display: none; }
}
@media (max-width: 720px) {
  .nav { height: 80px; }
  .logo img { height: 64px; }
  .nav-links { top: 80px; }
  .hero, .page-hero { padding: 52px 0 48px; }
  .section { padding: 76px 0; }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 22px 16px; }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .svc-list, .quotes, .results-grid, .foot-grid, .principles { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person-photo { max-width: 200px; }
  .cols { gap: 6px; }
  .col { padding: 6px; min-height: 220px; }
  .lead { padding: 7px; }
  .lead .val { position: static; display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
