:root {
  --bg: #06101b;
  --surface: #0c1826;
  --elevated: #122033;
  --border: #1e2f44;
  --fg: #e8eef6;
  --muted: #9aafc4;
  --subtle: #6b849c;
  --accent: #5ba3ff;
  --ok: #58d68d;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow-col { max-width: 720px; }
.text-center { text-align: center; }
.narrow { max-width: 540px; margin-inline: auto; }
.mt { margin-top: 1rem; }
.mt-lg { margin-top: 2.5rem; }

/* Header */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background: rgba(6,16,27,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.solid { border-bottom-color: var(--border); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .65rem; }
.logo-mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 4px;
  background: var(--elevated); font-size: 1.1rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 13px; letter-spacing: .02em; }
.logo-text small { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--muted); }

.nav-desktop { display: none; gap: 1.25rem; }
.nav-desktop a { font-size: .875rem; color: var(--muted); transition: color .15s; }
.nav-desktop a:hover { color: var(--fg); }

.menu-btn {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.menu-btn span { width: 20px; height: 2px; background: var(--fg); display: block; }
.nav-mobile {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--surface); border-top: 1px solid var(--border);
}
.nav-mobile a { font-size: .95rem; color: var(--muted); padding: .35rem 0; }
.nav-mobile[hidden] { display: none; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
  .nav-mobile { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; padding: .7rem 1.2rem; border-radius: 6px;
  font-size: .9rem; font-weight: 500; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-sm { padding: .45rem .9rem; font-size: .8rem; }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-outline { border-color: var(--border); color: var(--fg); background: transparent; }
.btn-outline:hover { border-color: var(--fg); }
.btn.full { width: 100%; }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; padding: 6rem 0 3.5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,16,27,.92) 15%, rgba(6,16,27,.55) 60%, rgba(6,16,27,.4));
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--subtle); margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600;
  line-height: 1.08; letter-spacing: -.02em; margin-bottom: .85rem;
}
.lead { font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--muted); font-weight: 500; margin-bottom: 1rem; }
.sub { color: var(--muted); font-size: .95rem; max-width: 34rem; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-actions.center { justify-content: center; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--subtle);
}

/* Proof */
.proof { border-block: 1px solid var(--border); background: var(--surface); }
.proof-grid {
  display: grid; grid-template-columns: 1fr 1fr;
}
@media (min-width: 700px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-grid > div { padding: 1.5rem 0; border-right: 1px solid var(--border); padding-inline: 1rem; }
.proof-grid > div:last-child { border-right: none; }
.proof-grid strong { display: block; font-family: var(--mono); font-size: 1.1rem; }
.proof-grid span {
  display: block; margin-top: .25rem;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle);
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 600;
  letter-spacing: -.02em; margin-bottom: 1rem; max-width: 28rem;
}
.note { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; max-width: 40rem; }

.process-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  margin: 2rem 0 1.5rem;
}
@media (min-width: 700px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-grid li {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 8px; padding: 1.35rem;
}
.process-grid .num { font-family: var(--mono); font-size: 11px; color: var(--subtle); }
.process-grid h3 { margin: .85rem 0 .4rem; font-size: 1.05rem; }
.process-grid p { font-size: .875rem; color: var(--muted); }

/* Work */
.work-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 700px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card {
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  background: var(--bg); display: flex; flex-direction: column;
}
.work-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.work-card > div { padding: 1.15rem 1.25rem 1.35rem; }
.work-card .tag { font-family: var(--mono); font-size: 11px; color: var(--subtle); letter-spacing: .08em; }
.work-card h3 { margin: .35rem 0 .4rem; font-size: 1.1rem; }
.work-card p { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.work-card a { font-size: .875rem; font-weight: 500; color: var(--accent); }

/* CTA block */
.cta-block .container {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 10px; padding: 3rem 1.5rem;
}
.cta-block h2 { margin-inline: auto; }

/* Packages */
.pkg-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  margin: 2rem 0;
}
@media (min-width: 800px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.pkg-grid.four { grid-template-columns: 1fr; }
@media (min-width: 700px) { .pkg-grid.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pkg-grid.four { grid-template-columns: repeat(4, 1fr); } }

.pkg-card {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 8px; padding: 1.5rem; display: flex; flex-direction: column;
  position: relative;
}
.pkg-card.featured { border-color: rgba(232,238,246,.3); box-shadow: 0 0 0 1px rgba(232,238,246,.08); }
.badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 11px; font-weight: 500; padding: .2rem .55rem;
  border-radius: 4px; background: var(--fg); color: var(--bg);
}
.pkg-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.pkg-card .price { font-family: var(--mono); font-size: 2rem; letter-spacing: -.02em; }
.pkg-card .price span { font-size: 1rem; color: var(--muted); }
.price-note { font-size: 12px; color: var(--subtle); margin-bottom: .75rem; }
.blurb { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; }
.pkg-card ul { flex: 1; margin-bottom: 1rem; }
.pkg-card li {
  font-size: .85rem; color: var(--muted); padding: .3rem 0 .3rem 1.1rem;
  position: relative;
}
.pkg-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--fg); font-size: .75rem;
}
.best { font-size: 12px; color: var(--subtle); margin-bottom: 1rem; }

.panel {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 8px; padding: 1.5rem; margin: 2rem 0;
}
.panel h3 { margin-bottom: .75rem; }
.panel p { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 480px; }
th {
  text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--subtle); font-weight: 500; padding: 0 1rem .75rem 0; border-bottom: 1px solid var(--border);
}
td { padding: .75rem 1rem .75rem 0; border-bottom: 1px solid rgba(30,47,68,.6); color: var(--muted); }
td:first-child { color: var(--fg); font-weight: 500; }

.sub-section { margin-top: 2.5rem; }
.sub-section h3 { margin-bottom: .4rem; }
.sub-section > p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.two-col { display: grid; gap: 1rem; }
@media (min-width: 700px) { .two-col { grid-template-columns: 1fr 1fr; } }
.mini-card {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 8px; padding: 1.25rem;
}
.mini-card .label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.price-sm { font-family: var(--mono); font-size: 1.25rem; margin: .4rem 0; }
.mini-card p { font-size: .875rem; color: var(--muted); margin-bottom: .5rem; }
.subtle { font-size: 12px; color: var(--subtle); }

/* Policies */
.policy-grid {
  display: grid; gap: 1rem; margin-top: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .policy-grid { grid-template-columns: 1fr 1fr; } }
.policy-grid article {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 8px; padding: 1.25rem;
}
.policy-grid h3 { font-size: 1rem; margin-bottom: .5rem; }
.policy-grid p { font-size: .875rem; color: var(--muted); }

.glossary {
  display: grid; gap: .75rem; margin-top: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .glossary { grid-template-columns: 1fr 1fr 1fr; } }
.glossary > div {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 6px; padding: .9rem 1rem;
}
.glossary strong {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin-bottom: .35rem;
}
.glossary span { font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq-list { margin-top: 1.5rem; }
.faq-list details {
  border-bottom: 1px solid var(--border); padding: 1rem 0;
}
.faq-list summary {
  cursor: pointer; font-weight: 500; font-size: .95rem;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p {
  margin-top: .6rem; font-size: .9rem; color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 2.5rem 0 2rem;
  background: var(--surface);
}
.footer-inner { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-inner strong { display: block; margin-bottom: .25rem; }
.footer-inner p { font-size: .875rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { font-size: .875rem; color: var(--muted); }
.footer-links a:hover { color: var(--fg); }
.copy { font-size: 12px; color: var(--subtle); }

@media (min-width: 700px) {
  .footer-inner {
    display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem;
  }
  .copy { grid-column: 1 / -1; }
}
