:root {
  --orange: #f57f17;
  --orange-600: #e06e0b;
  --orange-soft: rgba(245, 127, 23, 0.12);
  --ink: #0d0f12;
  --ink-2: #15181d;
  --ink-3: #1f232a;
  --line-dark: rgba(255, 255, 255, 0.09);
  --text: #16181c;
  --text-muted: #5b616b;
  --text-on-dark: #f3f4f6;
  --text-on-dark-muted: #a3a9b3;
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --line: #e6e6e2;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 15, 18, 0.04), 0 8px 24px rgba(13, 15, 18, 0.06);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.accent { color: var(--orange); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 50px; padding: 0 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 20px rgba(245, 127, 23, 0.3); }
.btn-primary:hover { background: var(--orange-600); }
.btn-ghost { color: var(--text-on-dark); border-color: rgba(255, 255, 255, 0.2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost-dark { color: var(--text); border-color: var(--line); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--text); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px;
}

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(13, 15, 18, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav .brand { color: #fff; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text-on-dark-muted); font-size: 0.94rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--text-on-dark);
  padding: 160px 0 110px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(245, 127, 23, 0.18), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(120, 130, 145, 0.16), transparent 70%),
    linear-gradient(160deg, #1a1d22 0%, #0d0f12 55%, #0a0b0d 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 80%);
  opacity: 0.5;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.lede { font-size: 1.15rem; color: var(--text-on-dark-muted); margin-top: 22px; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Pipeline card */
.pipeline-card {
  background: linear-gradient(180deg, rgba(31, 35, 42, 0.9), rgba(21, 24, 29, 0.9));
  border: 1px solid var(--line-dark);
  border-radius: 18px; padding: 20px 22px 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.pc-head { display: flex; align-items: center; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.pc-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #3a3f47; }
.pc-title { margin-left: 10px; font-family: var(--font-head); font-size: 0.85rem; color: var(--text-on-dark-muted); }
.stages { list-style: none; margin: 0; padding: 8px 0 0; position: relative; }
.stages::before {
  content: ""; position: absolute; left: 11px; top: 34px; bottom: 34px; width: 3px;
  background: linear-gradient(var(--orange), rgba(245, 127, 23, 0.35));
  border-radius: 2px;
}
.stage {
  position: relative; display: grid; grid-template-columns: 26px 1fr auto; gap: 16px; align-items: center;
  padding: 14px 0;
  opacity: 0; transform: translateY(8px);
  animation: stageIn .6s ease forwards;
}
.stage:nth-child(1) { animation-delay: .15s; }
.stage:nth-child(2) { animation-delay: .45s; }
.stage:nth-child(3) { animation-delay: .75s; }
.stage:nth-child(4) { animation-delay: 1.05s; }
@keyframes stageIn { to { opacity: 1; transform: none; } }
.node { width: 25px; height: 25px; border-radius: 50%; border: 4px solid var(--orange); background: var(--ink-2); position: relative; z-index: 1; }
.node-square { border-radius: 3px; }
.stage strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: #fff; }
.stage small { color: var(--text-on-dark-muted); font-size: 0.85rem; }
.stage em { font-style: normal; font-size: 0.8rem; color: var(--text-on-dark-muted); background: var(--ink-3); padding: 4px 10px; border-radius: 999px; }
.stage-goal { margin-top: 4px; padding: 14px; margin-left: -14px; margin-right: -14px; background: var(--orange-soft); border: 1px solid rgba(245, 127, 23, 0.3); border-radius: 12px; }
.stage-goal em { background: var(--orange); color: #fff; }
.pc-note { text-align: right; font-size: 0.72rem; color: #6b717b; margin-top: 10px; }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 56px; max-width: 640px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section .muted { margin-top: 18px; font-size: 1.1rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.step-num { display: inline-block; font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 0.9rem; margin-bottom: 18px; padding: 4px 10px; background: var(--orange-soft); border-radius: 999px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -25px; width: 26px; height: 3px; background: var(--orange); z-index: 1;
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: var(--orange); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--text-muted); }

/* CTA + form */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-dark); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.form { background: #fff; color: var(--text); border-radius: 18px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 500; }
.form input, .form textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfbfa; color: var(--text);
  transition: border-color .2s, background .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--orange); background: #fff; outline: none; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 0.92rem; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #1a7f45; }
.form-status.err { color: #c0392b; }

/* Footer */
.footer { background: var(--ink); color: var(--text-on-dark); border-top: 1px solid var(--line-dark); }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 130px 0 80px; }
  .hero-grid, .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -25px; right: auto; left: 44px; width: 3px; height: 26px; }
  .section { padding: 80px 0; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav-inner { gap: 12px; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px 16px 16px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 1rem; }
  .nav .btn-sm { margin-left: auto; }
  .nav-toggle {
    display: grid; gap: 5px; place-content: center; width: 40px; height: 40px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
}
@media (max-width: 420px) {
  .nav .btn-sm { display: none; }
  .nav-toggle { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage { animation: none; opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* ---------- Inner pages ---------- */
.nav-links a[aria-current="page"] { color: #fff; }
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-dark); padding: 136px 0 72px; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 20ch; }
.page-hero .lede { max-width: 58ch; }
.crumbs { font-size: 0.85rem; color: var(--text-on-dark-muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: 0.5; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; color: #2c3037; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--orange); }
.prose a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }

.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.aside { position: sticky; top: 96px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aside h3 { margin-bottom: 10px; }
.aside p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.aside ul { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; font-size: 0.92rem; }
.aside ul a { color: var(--text-muted); }
.aside ul a:hover, .aside ul a[aria-current="page"] { color: var(--orange-600); }

.note { border-left: 3px solid var(--orange); background: #fff8f1; padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; }
.note p:last-child { margin-bottom: 0; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--text-muted); font-size: 0.97rem; flex: 1; }
.card .more { margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--orange-600); }
.card-num { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--orange); background: var(--orange-soft); padding: 4px 10px; border-radius: 999px; align-self: flex-start; }
.card-wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 32px; background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.card-wide p { color: var(--text-on-dark-muted); }
.card-wide h3 { margin: 0 0 6px; color: #fff; }
.card-wide .more { margin: 0; white-space: nowrap; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink-2); padding: 28px 24px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 10px; color: var(--text-on-dark-muted); font-size: 0.92rem; }
.stats-light { background: var(--line); border-color: var(--line); }
.stats-light .stat { background: #fff; }
.stats-light .stat strong { color: var(--text); }
.stats-light .stat span { color: var(--text-muted); }
.stats-caption { font-size: 0.88rem; color: var(--text-on-dark-muted); margin-top: 14px; }
.stats-light + .stats-caption { color: var(--text-muted); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--orange), rgba(245,127,23,.25)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 40px 56px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 2px; width: 27px; height: 27px; border-radius: 50%; border: 4px solid var(--orange); background: #fff; box-sizing: border-box; }
.timeline li:last-child::before { border-radius: 4px; }
.timeline .when { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-600); }
.timeline h3 { margin: 4px 0 8px; }
.timeline p { color: var(--text-muted); max-width: 60ch; }

/* Two column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.split h3 { margin-bottom: 14px; }
.split ul { margin: 0; padding-left: 20px; color: var(--text-muted); }
.split li { margin-bottom: 8px; }
.split li::marker { color: var(--orange); }

/* CTA band */
.band { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-dark); padding: 88px 0; }
.band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.band h2 { max-width: 22ch; }
.band p { color: var(--text-on-dark-muted); margin-top: 12px; max-width: 52ch; }

/* Footer grid */
.footer { padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-grid a:not(.brand):not(.btn) { color: var(--text-on-dark-muted); font-size: 0.93rem; }
.footer-grid a:not(.brand):not(.btn):hover { color: #fff; }
.footer-brand p { color: var(--text-on-dark-muted); font-size: 0.93rem; max-width: 30ch; margin: 6px 0 8px; }
.footer-h { font-family: var(--font-head); font-weight: 600; color: #fff; margin-bottom: 4px; }
.footer-base { border-top: 1px solid var(--line-dark); padding: 22px 24px; color: var(--text-on-dark-muted); font-size: 0.85rem; }

.form-page { max-width: 640px; }
.form-light { box-shadow: var(--shadow); border: 1px solid var(--line); }

@media (max-width: 960px) {
  .layout-side { grid-template-columns: 1fr; gap: 48px; }
  .aside { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 116px 0 56px; }
}
@media (max-width: 760px) {
  .nav-links a[aria-current="page"] { color: var(--orange); }
  .cards, .split { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .stat strong { font-size: 2.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .band { padding: 64px 0; }
  .footer-base { padding: 22px 16px; }
}
