:root {
  --bg: #1c1c1f;
  --text: #e4e4e7;
  --text-muted: #a1a1aa;
  --text-subtle: #8b8b94;
  --line: #2e2e33;
  --nav-h: 4rem;
  --max: 100rem;
  --gutter: 1rem;
  color-scheme: dark;
}

@media (min-width: 900px) {
  :root { --gutter: 3rem; }
}

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

html { -webkit-text-size-adjust: 100%; font-size: 16px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: var(--nav-h);
  background: var(--bg);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img { height: 1.75rem; width: auto; }

/* same type as the footer email (.footer a) */
.nav__email {
  color: var(--text-subtle);
  font-size: 0.85rem;
  font-weight: 400;
}

.hero {
  position: relative;
  text-align: center;
  padding: calc(var(--nav-h) + 6rem) var(--gutter) 4rem;
}

.hero__logo {
  width: 15rem;
  margin: 0 auto 2rem;
}

.hero__title {
  margin: 0 0 2.5rem;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03125rem;
  line-height: 1.15;
  color: var(--text);
}

.hero__subtitle {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 8rem); padding-bottom: 5rem; }
  .hero__logo { width: 22.5rem; }
  .hero__title { font-size: 3.25rem; }
}

.section {
  padding: 3rem 0;
  scroll-margin-top: var(--nav-h);
}

@media (min-width: 900px) {
  .section { padding: 4rem 0; }
}

.section__label {
  margin: 0 0 1.5rem;
  color: var(--text-subtle);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .section__label { margin-bottom: 2rem; }
}

.body-text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.body-text:last-child { margin-bottom: 0; }

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about__photo {
  width: 8.75rem;
  height: 8.75rem;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.about__profile { margin: 0; width: 8.75rem; text-align: center; }

.about__name {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
}


.about__text { max-width: none; }

@media (min-width: 900px) {
  .about { grid-template-columns: 8.75rem 1fr; gap: 3.5rem; }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
}

.steps__title {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.steps__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer {
  padding: 2.5rem 0 1rem;
  font-size: 0.85rem;
  line-height: 1.8;
  scroll-margin-top: var(--nav-h);
}

@media (min-width: 900px) {
  .footer { padding: 3rem 0 1rem; }
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .footer__top { flex-direction: row; justify-content: space-between; gap: 3rem; }
  .footer__right { text-align: right; }
}

.footer__label {
  margin: 0 0 0.5rem;
  color: #d4d4d8;
  font-weight: 500;
}

.footer__label--spaced { margin-top: 1.5rem; }

.footer__company { margin: 0 0 1rem; color: #d4d4d8; font-weight: 500; }

.footer__sublabel { margin: 0; color: var(--text-muted); font-weight: 500; }

.footer address { font-style: normal; color: var(--text-subtle); }

.footer__links { display: flex; flex-direction: column; }

@media (min-width: 900px) {
  .footer__links { align-items: flex-end; }
}

.footer a {
  color: var(--text-subtle);
  text-decoration: none;
}

.footer a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2.5rem;
  color: #6b6b74;
}

.footer__bottom a { color: #6b6b74; }

.footer__legal { display: flex; gap: 1.5rem; }

@media (min-width: 600px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

.legal {
  max-width: 47.5rem;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.legal h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.legal p,
.legal li {
  color: var(--text-muted);
  line-height: 1.8;
}

.legal .updated { color: var(--text-subtle); font-size: 0.9rem; margin-bottom: 2rem; }

.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.75rem; }
.legal li strong { color: var(--text); font-weight: 500; }

.legal a { color: var(--text); }
