/* Moosefox Consulting — minimal static styles */

:root {
  --bg: #0f1116;
  --bg-soft: #151820;
  --surface: #181c24;
  --surface-hover: #1f2430;
  --surface-raised: #222836;
  --border: #2e3544;
  --border-soft: #242933;
  --text: #e4e6eb;
  --text-muted: #919aab;
  --blue: #6eb0ff;
  --blue-dim: #4a8fd4;
  --blue-soft: #1a2433;
  --red: #e08888;
  --red-dim: #c96a6a;
  --red-soft: #2a2022;
  --accent-line: linear-gradient(90deg, var(--blue) 0%, var(--red) 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Roboto", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 60% at 10% -15%, rgba(110, 176, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 10%, rgba(224, 136, 136, 0.05), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: rgba(110, 176, 255, 0.25);
  color: var(--text);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(15, 17, 22, 0.88);
  border-bottom: 1px solid var(--border-soft);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.925rem;
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text) !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--surface-hover);
  border-color: var(--blue-dim);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.85rem 0.5rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}

/* Layout */

main,
.site-footer {
  position: relative;
}

main {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section + .section {
  border-top: 1px solid var(--border-soft);
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-label::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--accent-line);
  border-radius: 1px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-head h2 em {
  font-style: normal;
  color: var(--blue);
}

/* Hero */

.hero {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0.45rem 0.9rem 0.45rem 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 2.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-accent {
  background: linear-gradient(120deg, var(--blue) 20%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin: 1.35rem 0 0;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 400;
  color: var(--text-muted);
}

.tagline-accent {
  color: var(--text);
  font-style: normal;
}

.hero-lede {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  color: #f4f7fa;
  background: var(--blue-dim);
  border: 1px solid #5a9ee0;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #5599d8;
  border-color: var(--blue);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--surface);
  border-color: var(--red-dim);
  transform: translateY(-1px);
}

.btn-large {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  position: relative;
  padding: 1.15rem 1.25rem 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.hero-stats li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
}

.stat-blue::before { background: var(--blue); }
.stat-red::before { background: var(--red); }
.stat-mix::before { background: var(--accent-line); }

.hero-stats strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(110, 176, 255, 0.08);
}

.card:hover {
  background: var(--surface-hover);
  border-color: var(--border);
  transform: translateY(-2px);
}

.card:hover::after {
  opacity: 1;
}

.card-featured {
  background: var(--surface-raised);
  border-color: #3a4a62;
}

.card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: var(--accent-line);
  border-radius: 0 0 2px 2px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  border-radius: 10px;
}

.card-icon-blue {
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid rgba(110, 176, 255, 0.15);
}

.card-icon-red {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(224, 136, 136, 0.15);
}

.card-icon-mix {
  background: #252530;
  color: var(--blue);
  border: 1px solid var(--border);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* How it works */

.how {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.step:first-child {
  padding-top: 0;
}

.step-num {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.85;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.billing-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--red);
}

.billing-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.billing-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.billing-card p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.contact-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-line);
}

.contact-lede {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--text-muted);
}

.contact-actions {
  text-align: right;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Footer */

.site-footer {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0.35rem 0 0;
}

.footer-tag {
  max-width: 28rem;
  color: #7d8594;
}

/* Responsive */

@media (max-width: 900px) {
  .service-grid,
  .how,
  .contact-inner,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    text-align: left;
  }

  .billing-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse-dot {
    animation: none;
  }

  .btn:hover,
  .btn:focus-visible,
  .card:hover {
    transform: none;
  }
}
