/* SystemsWright site — single shared stylesheet, dark theme, zero JS */

:root {
  --bg: #0b0f14;
  --surface: #121821;
  --surface-2: #171f2a;
  --border: #223041;
  --text: #e7ecf2;
  --muted: #9db0c3;
  --accent: #43d68b;
  --accent-dim: #2ea56a;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- nav ---------- */

.site-nav {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 20, 0.9);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

a.wordmark:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-cta {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  list-style: none;
}

.site-nav ul a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

/* ---------- hero ---------- */

.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero .kicker,
.kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.hero .tagline {
  margin-top: 1.25rem;
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 44ch;
}

.cta-row {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--accent);
}

.btn.primary {
  background: var(--accent);
  color: #08130d;
}

.btn.primary:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  text-decoration: none;
}

.btn.ghost {
  color: var(--accent);
}

.btn.ghost:hover {
  background: rgba(67, 214, 139, 0.08);
  text-decoration: none;
}

/* ---------- sections ---------- */

section {
  padding: 3.5rem 0;
}

h2 {
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* ---------- case studies ---------- */

.case {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 2rem;
  margin-bottom: 1.75rem;
}

.case h3 {
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.case p {
  margin-bottom: 0.9rem;
  max-width: 72ch;
}

.case p:last-of-type {
  margin-bottom: 0;
}

.case p strong {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.15rem;
}

.photo-slot {
  width: 6rem;
  height: 6rem;
  margin-bottom: 1.5rem;
  border: 1px dashed var(--border);
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  line-height: 1.3;
  text-align: center;
}

.video-slot {
  margin: 1.4rem 0;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  aspect-ratio: 16 / 9;
  max-width: 34rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.case .code-link {
  font-size: 0.92rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- cards (services row, packages) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card h3 {
  font-size: 1.15rem;
}

.card .price {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
  flex-grow: 1;
}

.card .card-cta {
  font-weight: 600;
  font-size: 0.95rem;
}

.card.featured {
  border-color: var(--accent);
  background: var(--surface-2);
}

.badge {
  align-self: flex-start;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}

/* ---------- misc lists ---------- */

.check-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.check-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.check-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
  border-left: 3px solid var(--border);
  padding-left: 1rem;
  max-width: 60ch;
}

/* ---------- contact ---------- */

.contact {
  border-top: 1px solid var(--border);
}

.contact form {
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact input,
.contact textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 0.65rem 0.8rem;
  font: inherit;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact button {
  align-self: flex-start;
  cursor: pointer;
  background: var(--accent);
  color: #08130d;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  font: inherit;
  font-weight: 600;
}

.contact button:hover {
  background: var(--accent-dim);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

@media (max-width: 40rem) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .case {
    padding: 1.4rem;
  }
}
