:root {
  --bg: #0b0d10;
  --bg-raised: #12151a;
  --bg-card: #151920;
  --line: #232831;
  --line-strong: #323946;
  --text: #e8eaed;
  --text-muted: #9aa3af;
  --text-dim: #6b7380;
  --accent: #7dd3a8;
  --accent-ink: #0b0d10;
  --radius: 10px;
  --max: 1120px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

p a,
li a {
  color: var(--accent);
}

p a:hover,
li a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--text-muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.brand small {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav .btn {
  color: var(--accent-ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  padding: 6px 10px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #96e0bb;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text-dim);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.9rem;
}

/* Hero */

.hero {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 320px at 85% 0%, rgba(125, 211, 168, 0.09), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(125, 211, 168, 0.15);
}

.hero h1 {
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lede {
  max-width: 60ch;
  margin-top: 26px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero-list li {
  padding: 20px 20px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-list .num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.page-hero {
  padding: 90px 0 60px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  max-width: 20ch;
}

.page-hero .lede {
  max-width: 62ch;
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head p {
  color: var(--text-muted);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: block;
}

/* Cards / grids */

.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cell {
  background: var(--bg);
  padding: 32px;
}

.cell h3 {
  margin-bottom: 12px;
}

.cell p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 10px;
}

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(125, 211, 168, 0.5);
  box-shadow: 0 0 0 1px rgba(125, 211, 168, 0.15) inset;
}

.price-step {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.price-card h3 {
  font-size: 1.1rem;
  min-height: 2.6em;
}

.price {
  margin: 18px 0 4px;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price .per {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-term {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.price-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-card li {
  padding: 7px 0 7px 20px;
  border-top: 1px solid var(--line);
  position: relative;
}

.price-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.price-card .btn {
  margin-top: auto;
  justify-content: center;
}

.pricing-note {
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* Work / case studies */

.work-list {
  display: grid;
  gap: 16px;
}

.work-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 36px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.work-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.work-meta strong {
  display: block;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.work-item h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.work-item p {
  color: var(--text-muted);
}

.work-item p + p {
  margin-top: 16px;
}

.work-item dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 0;
}

.work-item dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.work-item dd {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text);
}

/* Principles */

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.principle h3 {
  margin-bottom: 10px;
}

.principle p {
  color: var(--text-muted);
}

/* Process steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.steps li {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.steps .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.steps h3 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
}

.steps p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.steps .meta {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Stack */

.stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stack h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.stack ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stack li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

/* Detailed service blocks */

.service {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.service:last-child {
  border-bottom: none;
}

.service-aside .price {
  margin-top: 24px;
}

.service-aside p {
  color: var(--text-muted);
  margin-top: 14px;
}

.service h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}

.service-body h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 32px 0 12px;
}

.service-body h4:first-child {
  margin-top: 0;
}

.service-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-body li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--text-muted);
}

.service-body li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-body p {
  color: var(--text-muted);
}

/* FAQ */

.section-top {
  border-top: 1px solid var(--line);
}

.faq-title {
  margin-bottom: 32px;
}

.faq {
  max-width: 820px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 12px;
  color: var(--text-muted);
}

/* About */

.about {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}

.about-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  align-self: start;
}

.about-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 18px;
}

.about-card dl {
  margin: 20px 0 0;
}

.about-card dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 14px;
}

.about-card dd {
  margin: 2px 0 0;
  font-size: 0.95rem;
}

.prose p + p {
  margin-top: 18px;
}

.prose p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.prose p strong {
  color: var(--text);
  font-weight: 500;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.contact-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}

.contact-method:hover {
  border-color: var(--line-strong);
}

.contact-method span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-method strong {
  font-weight: 500;
}

.contact-method .arrow {
  color: var(--accent);
  font-family: var(--font-mono);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.checklist li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  position: relative;
}

.checklist li::before {
  content: "0" counter(list-item);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  top: 15px;
}

/* CTA */

.cta {
  padding: 110px 0;
  text-align: left;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(500px 240px at 100% 100%, rgba(125, 211, 168, 0.1), transparent 70%),
    var(--bg-raised);
}

.cta-box p {
  margin-top: 16px;
  color: var(--text-muted);
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cta-actions .mono {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer a:hover {
  color: var(--text);
}

/* Responsive */

@media (max-width: 980px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .stack,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service,
  .about,
  .contact-grid,
  .cta-box,
  .section-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .section {
    padding: 72px 0;
  }

  .pricing,
  .grid-3,
  .grid-2,
  .stack,
  .steps,
  .principles,
  .hero-list,
  .work-item dl {
    grid-template-columns: 1fr;
  }

  .cell,
  .work-item {
    padding: 26px;
  }

  .cta-box {
    padding: 32px;
  }
}
