:root {
  --slate: #0F172A;
  --slate-2: #1E293B;
  --grey: #475569;
  --grey-light: #CBD5E1;
  --line: #E2E8F0;
  --bg-soft: #F8FAFC;
  --green: #22C55E;
  --green-dark: #15803D;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--slate); background: #fff; line-height: 1.6; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--green-dark); }
code { font-size: .9em; background: var(--bg-soft); border: 1px solid var(--line); padding: 0 .3em; border-radius: 4px; }
section { padding: 72px 0; scroll-margin-top: 64px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.4em; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.btn-green { background: var(--green); color: var(--slate); }
.btn-green:hover { background: #4ADE80; }
.btn-ghost { border-color: var(--slate); color: var(--slate); }
.btn-ghost:hover { background: var(--slate); color: #fff; }
.btn-sm { min-height: 44px; padding: .5em 1.1em; font-size: .95rem; }
.btn-block { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--slate); color: #fff; display: grid; place-items: center; flex: none; }
.brand-word { font-family: var(--head); font-size: 1.35rem; color: var(--grey); }
.brand-word b { color: var(--slate); }
.brand-light { color: #fff; }
.brand-light .brand-mark { background: var(--slate-2); }
.brand-light .brand-word { color: var(--green); }
.brand-light .brand-word b { color: #fff; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--green-dark); }

/* Hero */
.hero { padding: 48px 0 72px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.hero-in { display: grid; gap: 40px; align-items: center; }
.eyebrow { font-family: var(--head); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: .8em; }
.eyebrow-light { color: var(--green); }
.lead { font-size: 1.15rem; color: var(--grey); max-width: 36em; }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--head); font-weight: 500; font-size: .95rem; padding: .35em .9em; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phones { position: relative; height: 420px; max-width: 420px; margin-inline: auto; width: 100%; }
.phone { position: absolute; width: 190px; border-radius: 28px; border: 8px solid var(--slate); background: var(--slate); overflow: hidden; box-shadow: 0 24px 48px rgba(15,23,42,.25); }
.phone img { border-radius: 20px; }
.phone-back { left: 8%; top: 0; transform: rotate(-6deg); }
.phone-front { right: 8%; top: 36px; transform: rotate(5deg); }

/* Why */
.why { background: #fff; }
.why-grid { display: grid; gap: 16px; margin-top: 28px; }
.why-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); }
.why-card p { color: var(--grey); margin: 0; }

/* Work */
.work { background: var(--bg-soft); }
.section-lead { color: var(--grey); }
.work-grid { display: grid; gap: 24px; margin-top: 28px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.shot { display: block; background: var(--slate-2); padding: 0; position: relative; }
.browser { display: flex; gap: 6px; padding: 10px 12px; background: var(--slate-2); }
.browser i { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; transition: opacity .2s; }
.shot:hover img { opacity: .92; }
.work-body { padding: 20px 22px 24px; }
.work-body p { color: var(--grey); }
.work-link { font-weight: 700; text-decoration: none; }
.work-link:hover { text-decoration: underline; }

/* Pricing */
.pricing-in { display: grid; gap: 40px; align-items: start; }
.price-card { background: var(--slate); color: #fff; border-radius: 24px; padding: 32px 28px; }
.price { font-family: var(--head); font-weight: 700; font-size: 3.4rem; line-height: 1; margin-bottom: .2em; }
.price span { font-size: 1.4rem; color: var(--green); vertical-align: .9em; }
.price-note { color: var(--grey-light); }
.price-card h3 { margin-top: 24px; }
.pages { padding-left: 1.3em; margin: 0 0 28px; color: #E2E8F0; }
.pages li { padding: 4px 0; }
.pages li::marker { color: var(--green); font-family: var(--head); font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; }
.ticks li { position: relative; padding: 0 0 14px 34px; color: var(--grey); }
.ticks li b { color: var(--slate); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230F172A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.extras { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.extras li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.extras li span:last-child { font-family: var(--head); font-weight: 700; text-align: right; }
.extras small { display: block; font-family: var(--body); font-weight: 400; color: var(--grey); font-size: .8rem; }

/* How */
.how { background: var(--bg-soft); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: none; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps p { color: var(--grey); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--slate); color: var(--green); font-family: var(--head); font-weight: 700; margin-bottom: 12px; }

/* FAQ */
.faq-in { display: grid; gap: 24px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-family: var(--head); font-weight: 700; font-size: 1.1rem; position: relative; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--green-dark); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: var(--grey); padding-right: 24px; }

/* Final + footer */
.final { background: var(--slate); color: #fff; text-align: center; }
.final-in { max-width: 680px; }
.final p { color: var(--grey-light); font-size: 1.15rem; margin-bottom: 28px; }
.foot { background: #020617; color: var(--grey-light); padding: 40px 0; }
.foot-in { display: grid; gap: 20px; }
.contacts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.contacts a { color: #fff; text-decoration: none; display: inline-block; padding: 8px 0; }
.contacts a:hover { color: var(--green); }
.small { font-size: .9rem; margin: 0; }

@media (min-width: 720px) {
  .nav { display: flex; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  section { padding: 96px 0; }
  .hero { padding: 72px 0 96px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; }
  .hero-phones { height: 480px; }
  .phone { width: 220px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .pricing-in { grid-template-columns: 420px 1fr; gap: 64px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .faq-in { grid-template-columns: 1fr 2fr; gap: 64px; }
  .foot-in { grid-template-columns: auto 1fr; align-items: center; }
  .foot-in .small { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shot img { transition: none; }
}
