:root {
  --bg: #f6f5f1;
  --bg-2: #ecebe5;
  --paper: #ffffff;
  --ink: #111216;
  --ink-2: #565965;
  --line: #e0ded6;
  --accent: #5b4cff;
  --accent-2: #18c29c;
  --radius: 20px;
  --shadow: 0 30px 60px -30px rgba(20, 20, 40, .35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(42px, 6vw, 82px); }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: 24px; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 99; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ic { width: 20px; height: 20px; flex: none; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 30px -14px var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--accent-2); color: var(--ink); }
.btn.small { padding: 11px 18px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--accent); }
.link .ic { width: 18px; height: 18px; transition: transform .2s; }
.link:hover .ic { transform: translateX(3px); }
.link.muted { color: var(--ink-2); font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 245, 241, .85); backdrop-filter: blur(12px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { font-weight: 800; font-size: 26px; letter-spacing: -0.04em; text-decoration: none; }
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle .ic { width: 26px; height: 26px; }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; margin-bottom: 26px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(24, 194, 156, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(24, 194, 156, 0); } }
.hl { background: linear-gradient(100deg, var(--accent), #9b5cff 60%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.stats { display: flex; gap: 36px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.stats strong { display: block; font-size: 28px; letter-spacing: -0.03em; }
.stats span { font-size: 14px; color: var(--ink-2); }
.hero-art { position: relative; aspect-ratio: 1.05; }
.hero-art::before { content: ''; position: absolute; inset: 10% 5% 5% 10%; background: radial-gradient(circle at 40% 40%, rgba(91, 76, 255, .35), transparent 60%), radial-gradient(circle at 70% 70%, rgba(24, 194, 156, .3), transparent 55%); filter: blur(40px); }
.shot { position: absolute; border-radius: 14px; box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.06); background: #fff; }
.shot-back { width: 78%; right: 0; top: 2%; transform: rotate(3deg); opacity: .95; }
.shot-front { width: 82%; left: 0; top: 24%; transform: rotate(-2deg); }
.shot-phone { width: 24%; right: 6%; bottom: 0; border-radius: 22px; border: 6px solid #15161b; }

/* Tech chips */
.tech { border-block: 1px solid var(--line); background: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; margin: 0; padding: 22px 0; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* Sections */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-2); }
.head { margin-bottom: 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }

/* Case studies */
.case { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.case:last-child { margin-bottom: 0; }
.case.flip .case-media { order: 2; }
.case-media { padding: 34px; border-radius: 28px; background: linear-gradient(135deg, #1b1d3a, #3b2fb0); }
.case-media.warm { background: linear-gradient(135deg, #f0dfc8, #c9875a); }
.case-media.volt { background: radial-gradient(circle at 80% 20%, rgba(200, 240, 60, .55), transparent 55%), linear-gradient(135deg, #0b0b0d, #23252b); }
.case-media img { border-radius: 12px; box-shadow: 0 30px 50px -25px rgba(0,0,0,.6); transition: transform .5s ease; }
.case:hover .case-media img { transform: translateY(-6px); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: rgba(91, 76, 255, .1); padding: 6px 12px; border-radius: 999px; }
.case-copy h3 { font-size: 38px; margin-top: 12px; }
.case-copy > p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.ticks .ic { color: var(--accent-2); margin-top: 3px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(91, 76, 255, .1); color: var(--accent); margin-bottom: 22px; }
.card-ic .ic { width: 26px; height: 26px; }
.card p { color: var(--ink-2); }
.card .price { color: var(--ink); font-weight: 800; font-size: 20px; margin-top: auto; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { padding: 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.steps span { display: inline-block; font-weight: 800; color: var(--accent); margin-bottom: 18px; }
.steps p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* FAQ */
.qa { background: var(--paper); border-radius: 16px; border: 1px solid var(--line); margin-bottom: 12px; padding: 0 24px; }
.qa summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--accent); transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* CTA */
.cta { text-align: center; padding: 80px 30px; border-radius: 32px; color: #fff; background: radial-gradient(circle at 20% 0%, #7d6bff, transparent 50%), radial-gradient(circle at 90% 100%, #18c29c, transparent 45%), #1b1c3f; }
.cta h2 { color: #fff; }
.cta p { color: #d8d8f2; font-size: 19px; margin-bottom: 30px; }

/* Footer */
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; color: var(--ink-2); font-size: 15px; }
.small { font-size: 14px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Page */
.page { padding: 60px 0 100px; }

@media (max-width: 980px) {
  .hero-inner, .case { grid-template-columns: 1fr; }
  .case.flip .case-media { order: 0; }
  .hero-art { max-width: 640px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 8px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .hero { padding-top: 28px; }
  .section { padding: 72px 0; }
  .case { margin-bottom: 64px; gap: 28px; }
  .case-media { padding: 18px; border-radius: 22px; }
  .steps { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
  .cta { padding: 56px 22px; }
}
