:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f7;
  --card: #ffffff;
  --border: #e4e4e8;
  --text: #0c0c0d;
  --muted: #5f5f66;
  --accent: #0c0c0d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }

/* ---- Nav ---- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-weight: 900; font-size: 1.15rem; letter-spacing: .02em;
  color: var(--text); text-decoration: none;
}
.wordmark span { color: var(--muted); font-weight: 600; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--text); color: #ffffff !important;
  font-weight: 700; font-size: .95rem;
  padding: 14px 28px; border-radius: 8px;
  text-decoration: none; border: 1px solid var(--text);
  cursor: pointer; transition: opacity .15s;
}
.btn:hover { opacity: .85; }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text); opacity: 1; }
.btn-small { padding: 9px 18px !important; font-size: .85rem !important; color: #ffffff !important; }
.btn-wide { width: 100%; border: none; font-family: inherit; font-size: 1rem; }

/* ---- Hero ---- */
header { padding: 110px 0 90px; border-bottom: 1px solid var(--border); }
.kicker {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--muted);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -.02em;
  max-width: 800px;
}
.hero h1 em { font-style: normal; color: var(--muted); }
.hero .sub { margin-top: 24px; font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 64px; display: flex; gap: 56px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.9rem; font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: .88rem; }

/* ---- Sections ---- */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 40px;
}
.grid { display: grid; gap: 20px; }

/* ---- Work ---- */
.work-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card {
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s, transform .15s;
}
a.card:hover { border-color: #0c0c0d; transform: translateY(-2px); }
.tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted);
  border: 1px solid var(--border); border-radius: 99px;
  padding: 4px 12px;
}
.card h3 { font-size: 1.3rem; font-weight: 800; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.visit { font-size: .88rem; font-weight: 600; }

/* ---- Services ---- */
.services-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.service {
  padding: 26px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg);
}
.service h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .93rem; }

/* ---- Pricing ---- */
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: start; }
.plan {
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.plan.featured { border-color: var(--text); }
.badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--text); color: #ffffff;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 99px;
}
.plan h3 { font-size: 1.05rem; font-weight: 700; }
.price { font-size: 2.3rem; font-weight: 900; letter-spacing: -.02em; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { color: var(--muted); font-size: .93rem; padding-left: 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--text); font-weight: 700; }
.plan .btn { text-align: center; }
.pricing-note { margin-top: 36px; text-align: center; color: var(--muted); font-size: .95rem; }
.pricing-note a { color: var(--text); }

/* ---- Audit form ---- */
#audit .sub { color: var(--muted); margin-bottom: 36px; max-width: 560px; }
.audit-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.audit-form input, .audit-form textarea {
  width: 100%;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; color: var(--text);
  font-family: inherit; font-size: .95rem;
}
.audit-form input:focus, .audit-form textarea:focus {
  outline: none; border-color: #0c0c0d;
}
.audit-form ::placeholder { color: #9a9aa1; }

/* ---- Footer ---- */
footer { padding: 56px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; gap: 10px; }
footer p { color: var(--muted); font-size: .92rem; }
footer .fine { font-size: .8rem; color: #a3a3aa; }

/* ---- Mobile ---- */
@media (max-width: 640px) {
  header { padding: 70px 0 60px; }
  section { padding: 64px 0; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
}
