:root {
  --bg: #fbfaf9;
  --surface: #ffffff;
  --surface-alt: #f3f2f0;
  --text: #16181d;
  --text-muted: #5c636e;
  --border: rgba(22, 24, 29, 0.09);
  --accent: #3b5bff;
  --accent-dark: #2c46e0;
  --accent-soft: rgba(59, 91, 255, 0.1);
  --accent-contrast: #ffffff;
  --dark-bg: #0b0c10;
  --dark-surface: #16181f;
  --dark-text: #f3f2f0;
  --dark-text-muted: #9aa0ab;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 18, 22, 0.05);
  --shadow-md: 0 8px 24px rgba(16, 18, 22, 0.07);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 249, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-right: auto;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.main-nav a:hover { color: var(--text); }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle span { width: 16px; height: 2px; background: var(--text); margin: 0 auto; transition: 0.2s; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav a { padding: 10px 4px; font-weight: 500; }
.mobile-nav .btn { margin-top: 8px; }
.site-header.open .mobile-nav { display: flex; }

/* Hero */
.hero { padding: 88px 0 56px; }
.hero-inner { max-width: 780px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero h1 { font-size: clamp(34px, 5.2vw, 58px); }
.highlight {
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px var(--accent-soft);
  border-radius: 4px;
}
.lede { font-size: 18px; max-width: 620px; }

.hero-actions { display: flex; gap: 14px; margin: 28px 0 36px; flex-wrap: wrap; }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.trust-line strong { color: var(--text); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--surface-alt); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.section h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 640px; }
.section-lede { font-size: 17px; max-width: 560px; margin-bottom: 40px; }

/* Work */
.work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.work-card:first-of-type { margin-top: 32px; }
.work-card.reverse .work-copy { order: 2; }
.work-card.reverse .work-visual { order: 1; }

.work-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tag {
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.tag-muted { background: var(--text-muted); }
.work-meta-text { font-size: 12.5px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.work-copy h3 { font-size: 24px; margin-bottom: 12px; }

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.text-link { color: var(--accent); font-weight: 600; font-size: 15px; display: inline-block; margin-top: 4px; }

.browser-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.browser-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.browser-url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  flex: 1;
}
.browser-body { padding: 18px; }
.mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; }
.mock-cta { background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: var(--radius-pill); }
.mock-hero {
  height: 90px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-soft), var(--surface-alt));
  margin-bottom: 14px;
}
.mock-hero.alt { background: linear-gradient(135deg, #f3ece3, #e7dccb); }
.mock-lines span { display: block; height: 8px; border-radius: 4px; background: var(--surface-alt); margin-bottom: 8px; }
.mock-lines span:nth-child(1) { width: 90%; }
.mock-lines span:nth-child(2) { width: 75%; }
.mock-lines span:nth-child(3) { width: 55%; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.feature-index {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; margin: 0; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.price-card h3 { font-size: 19px; margin-bottom: 4px; }
.price { font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: var(--text-muted); margin-bottom: 12px; }
.price span { font-size: 34px; color: var(--text); font-weight: 700; margin-right: 6px; }
.price-desc { font-size: 14.5px; margin-bottom: 20px; }
.price-card .check-list { margin-bottom: 24px; flex-grow: 1; }
.pricing-note { max-width: 640px; font-size: 14.5px; margin-top: 32px; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.process-step { position: relative; padding-top: 8px; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; margin: 0; }

/* FAQ */
.faq-list { margin-top: 24px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 4px 20px; margin: 0; font-size: 15px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-copy h2 { font-size: clamp(24px, 3vw, 32px); }
.contact-note {
  font-size: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-note { font-size: 13.5px; margin: 0; min-height: 18px; color: var(--accent); }

/* Footer */
.site-footer { background: var(--dark-bg); color: var(--dark-text); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-dark { color: var(--dark-text); }
.footer-brand p { color: var(--dark-text-muted); font-size: 14px; margin-top: 12px; max-width: 240px; }
.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-text-muted);
  margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--dark-text); font-size: 14.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 13.5px;
  color: var(--dark-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card, .work-card.reverse { grid-template-columns: 1fr; }
  .work-card .work-copy, .work-card.reverse .work-copy,
  .work-card .work-visual, .work-card.reverse .work-visual { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 56px 0 40px; }
  .section { padding: 56px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .trust-line { flex-direction: column; gap: 8px; }
}
