* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: #14161c;
  /* barely-there dot grid, just enough to stop the dark areas from feeling like a flat void */
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #eef0f4;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: 920px; /* was 680, felt cramped on anything bigger than a laptop */
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 22, 28, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(70, 76, 92, 0.5);
  transition: box-shadow 0.2s ease;
}
/* gets a shadow once you scroll past the hero, .is-scrolled toggled in script.js */
.site-nav.is-scrolled {
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.6);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f2f3f6;
}
.site-nav a {
  font-size: 14px;
  color: #9aa0ae;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: #6e9bff;
}

.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 140px 24px 116px;
  position: relative;
  overflow: hidden;
}
/* faint glow behind the headline, felt like the hero needed some depth instead of flat black - sized up a bit to match the bigger type below */
.hero::before {
  content: '';
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-46%);
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(110, 155, 255, 0.18), rgba(110, 155, 255, 0) 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-badge, .hero h1, .hero .subhead, .hero .lede {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #b7c0d4;
  border: 1px solid rgba(110, 155, 255, 0.3);
  background: rgba(110, 155, 255, 0.06);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 22px;
  color: #fbfbfc;
}
.subhead {
  font-size: 21px;
  font-weight: 500;
  margin: 0 0 20px;
  max-width: 520px;
  color: #cdd1da;
}
.lede {
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0;
  max-width: 500px;
  color: #9199a8;
}

.band {
  background: #191c23;
  border-top: 1px solid rgba(70, 76, 92, 0.5);
  border-bottom: 1px solid rgba(70, 76, 92, 0.5);
}
.band .wrap { max-width: 1000px; padding: 88px 24px; }

.section { padding: 84px 24px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8890a0; /* bumped up from the mockup's #767e91 for contrast, still reads as muted */
  margin-bottom: 18px;
}

.work-row {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.work-copy { flex: 1; min-width: 280px; }
.work-copy h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #f5f6f8;
}
.by {
  font-size: 14.5px;
  margin: 0 0 20px;
  color: #7a8194;
}
.work-copy p:not(.by) {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 30px;
  max-width: 460px;
  color: #a3aab8;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 9px;
  text-decoration: none;
  background: #6e9bff;
  color: #14161c;
  border: 1px solid transparent;
  box-shadow: 0 10px 26px -12px rgba(110, 155, 255, 0.55);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover, .cta:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgba(110, 155, 255, 0.65);
}

.work-logo {
  width: 150px;
  height: 150px;
  border-radius: 34px;
  background: linear-gradient(135deg, #6e9bff, #2855b9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 36px;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12); /* thin rim so it doesn't just melt into the gradient */
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(110, 155, 255, 0.05);
}

.about-section { padding: 108px 24px; } /* bumped up from the plain .section default, this bit felt thin next to the bands either side of it */
.about-lead {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 640px;
  margin: 0 0 24px;
  color: #f5f6f8;
}
.about-copy {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 600px;
  color: #a8afbd;
}
.about-copy:last-of-type { margin-bottom: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 22px;
}
.step {
  padding: 36px 30px;
  border: 1px solid rgba(70, 76, 92, 0.5);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.015);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 155, 255, 0.4);
  background: rgba(110, 155, 255, 0.04);
}
.step-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  font-family: 'SF Mono', ui-monospace, Menlo, monospace; /* wanted the numbers to feel a bit more "system", not just Inter */
  color: #a7b4d6;
  border: 1px solid rgba(110, 155, 255, 0.35);
  border-radius: 50%;
  margin-bottom: 24px;
  background: rgba(110, 155, 255, 0.07);
}
.step-title {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 11px;
  color: #eceef2;
}
.step p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #97a0af;
}


.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(63, 70, 87, 0.6);
  flex-wrap: wrap;
  gap: 8px;
}
.contact-row.last { border-bottom: none; }
.contact-row span { font-size: 16px; color: #b0b6c2; }
.contact-row a {
  font-size: 16px;
  font-weight: 500;
  color: #6e9bff;
  text-decoration: none;
}
.contact-row a:hover, .contact-row a:focus-visible { text-decoration: underline; }

footer {
  border-top: 1px solid rgba(70, 76, 92, 0.5);
}
footer .wrap {
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
footer p {
  font-size: 13px;
  margin: 0;
  color: #7e8494; /* was #6b7182 in the mockup, nudged for AA contrast on the dark bg */
}
footer a {
  font-size: 13px;
  color: #7e8494;
  text-decoration: underline;
  text-underline-offset: 2px;
}
footer a:hover, footer a:focus-visible { color: #9aa0ae; }

/* privacy.html - reuses the site's section/eyebrow styling */
.legal-updated {
  font-size: 13px;
  color: #767e91;
  margin: -8px 0 32px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  color: #eceef2;
  margin: 40px 0 12px;
}
.legal p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
  color: #a8afbd;
  margin: 0 0 14px;
}
.legal a { color: #6e9bff; }

/* keyboard focus - browsers default outline gets clipped by some of the flex layouts above, so set our own */
a:focus-visible {
  outline: 2px solid #6e9bff;
  outline-offset: 3px;
  border-radius: 2px;
}

/* scroll reveal, see script.js */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 640px) {
  .hero { padding: 84px 20px 64px; }
  .hero-badge { font-size: 12px; padding: 6px 12px; margin-bottom: 20px; }
  .band .wrap { padding: 64px 20px; }
  .section { padding: 56px 20px; }
  .about-section { padding: 64px 20px; }
  .work-row { gap: 32px; }
  .work-logo { width: 110px; height: 110px; border-radius: 26px; font-size: 28px; }
  .steps { gap: 28px; }
}

@media (max-width: 420px) {
  .work-row { flex-direction: column-reverse; align-items: flex-start; }
}
