:root {
  --bg: #0B0F17;
  --bg-2: #111725;
  --card: #151C2C;
  --line: #232C40;
  --text: #E8ECF4;
  --muted: #9AA4B8;
  --accent: #FF6B2C;
  --accent-2: #FFB36B;
  --good: #3DD68C;
  --radius: 16px;
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .logo span, .kpi strong, .out strong, .steps span {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin-bottom: 40px; max-width: 760px; }
h3 { font-size: 19px; margin-bottom: 8px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #0B0F17; font-weight: 600;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer; font-size: 15px;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); box-shadow: none; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11,15,23,.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links .btn { color: #0B0F17; }

/* Hero */
.hero { padding: 88px 0 96px; background: radial-gradient(900px 480px at 85% 10%, rgba(255,107,44,.14), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; margin-bottom: 22px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.tagline { font-weight: 600; color: var(--text); font-size: 15px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.panel-head { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.panel-title { margin-left: 10px; font: 12px/1 ui-monospace, Consolas, monospace; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi small { display: block; color: var(--muted); font-size: 12px; }
.kpi strong { display: block; font-size: 22px; margin: 2px 0; }
.kpi em { font-style: normal; font-size: 12px; color: var(--muted); }
.kpi em.up { color: var(--good); }
.kpi em.up::before { content: "▲ "; font-size: 9px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--accent), rgba(255,107,44,.35)); }
.log { list-style: none; font: 13px/1.4 ui-monospace, Consolas, monospace; color: var(--muted); }
.log li { display: flex; gap: 10px; padding: 7px 4px; border-top: 1px dashed var(--line); }
.log b { color: var(--good); }
.log time { margin-left: auto; }

/* Problem */
.problem { background: var(--bg-2); border-block: 1px solid var(--line); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.pain span { color: var(--accent); font: 600 13px/1 ui-monospace, Consolas, monospace; }
.pain p { margin-top: 12px; color: var(--muted); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.svc:hover { border-color: rgba(255,107,44,.5); transform: translateY(-2px); }
.svc p { color: var(--muted); font-size: 15px; }
.svc-wide { grid-column: span 3; }
.nav { position: sticky; }
.ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,107,44,.12); color: var(--accent); font-size: 20px; margin-bottom: 18px; }

/* How */
.how { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-left: 2px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #0B0F17; font-weight: 700; margin-bottom: 16px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Outcomes */
.out-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.out { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,107,44,.10), transparent 60%), var(--card); }
.out strong { display: block; font-size: 40px; color: var(--accent); margin-bottom: 8px; }
.out p { color: var(--muted); }

/* Contact */
.contact { padding-top: 40px; }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 48px; }
.contact-box h2 { margin-bottom: 16px; }
.contact-box > div p { color: var(--muted); font-size: 17px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form textarea {
  font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; }
.form-note { font-size: 14px; color: var(--muted); }
.form-note a { color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 14px; }
.footer .logo { font-size: 18px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .contact-box { grid-template-columns: 1fr; }
  .pain-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .pain-grid, .steps, .svc-grid, .out-grid, .kpis { grid-template-columns: 1fr; }
  .svc-wide { grid-column: auto; }
  .contact-box { padding: 28px 20px; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi strong { font-size: 18px; }
}

/* ===== Multi-page components ===== */
.sec { padding: 88px 0; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.narrow { max-width: 820px; }
.sub { color: var(--muted); margin-top: 24px; font-size: 15px; }
.sub a, .prose a, .foot-brand a { color: var(--accent); }
.muted-sm { color: var(--muted); font-size: 12px; }
.center { text-align: center; }
.center .hero-cta { justify-content: center; }

/* nav mobile */
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); font-size: 20px; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }

/* page hero */
.page-hero { padding: 64px 0 56px; background: radial-gradient(800px 380px at 90% 0%, rgba(255,107,44,.12), transparent 60%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 900px; }
.page-hero .lead { max-width: 760px; }
.page-hero .hero-cta { margin-bottom: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-current] { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.meta { color: var(--muted); font-size: 14px; }

/* strip + chips */
.strip { padding: 32px 0; border-bottom: 1px solid var(--line); }
.strip p { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--card); transition: border-color .2s; }
a.chip:hover { border-color: var(--accent); }
.chip.static { font-size: 13px; }

/* cards */
a.svc { display: block; }
.svc .more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--accent); font-weight: 600; }
.svc-grid.three .svc-wide { grid-column: auto; }
.svc-grid .svc:last-child:nth-child(3n+1) { grid-column: span 3; }
.group-h { font-size: 24px; margin: 8px 0 20px; }
.group-h:not(:first-child) { margin-top: 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card h2, .two-col h2 { font-size: 26px; margin-bottom: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.x-list, .check-list { list-style: none; display: grid; gap: 14px; }
.x-list li, .check-list li { position: relative; padding-left: 30px; color: var(--muted); }
.x-list li::before, .check-list li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.x-list li::before { content: "✕"; background: rgba(255,90,90,.12); color: #FF7A7A; }
.check-list li::before { content: "✓"; background: rgba(61,214,140,.12); color: var(--good); }
.check-list strong { color: var(--text); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feat h3 { font-size: 17px; }
.feat p { color: var(--muted); font-size: 15px; }

/* posts */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.sec-head h2 { margin-bottom: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: rgba(255,107,44,.5); transform: translateY(-2px); }
.post-card h3 { font-size: 19px; line-height: 1.3; margin: 0; }
.post-card p { color: var(--muted); font-size: 14px; flex: 1; }
.tag { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent); background: rgba(255,107,44,.12); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.post-card .tag { margin-bottom: 0; }
.post-card .meta { font-size: 13px; }

/* article */
.article-hero h1 { font-size: clamp(30px, 4.2vw, 46px); }
.prose-sec { padding-top: 56px; }
.prose { font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 28px; margin: 44px 0 0; line-height: 1.25; }
.prose h3 { font-size: 21px; margin-top: 32px; }
.prose p, .prose li { color: #C9D0DD; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose strong { color: var(--text); }
.callout { border-left: 3px solid var(--accent); background: var(--card); padding: 18px 20px; border-radius: 0 12px 12px 0; color: var(--muted); }
.callout strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-family: "Space Grotesk", sans-serif; background: var(--card); }

/* faq */
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 22px 20px; color: var(--muted); }

/* cta */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(255,107,44,.16), transparent 55%), var(--card); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.form select { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }

/* footer */
.footer { padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot-grid h4 { font-family: "Space Grotesk", sans-serif; font-size: 15px; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid li a { color: var(--muted); font-size: 14px; }
.foot-grid li a:hover { color: var(--text); }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 300px; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 6px; }

@media (max-width: 960px) {
  .two-col, .feat-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid .svc:last-child:nth-child(3n+1) { grid-column: auto; }
  .svc-grid .svc:last-child:nth-child(odd) { grid-column: span 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; text-align: center; }
}
@media (max-width: 640px) {
  .sec { padding: 60px 0; }
  .page-hero { padding: 40px 0; }
  .post-grid, .feat-grid, .foot-grid { grid-template-columns: 1fr; }
  .svc-grid .svc:last-child:nth-child(odd) { grid-column: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .cta-band, .card { padding: 28px 20px; }
  .prose { font-size: 16px; }
}

.btn-wa { background: #25D366; color: #06210F; }
.btn-wa:hover { box-shadow: 0 8px 24px -8px #25D366; }
@media (max-width: 640px) { .contact-box { margin: 0 16px; width: auto; } }
