:root {
  --ink: #0B0D0C;
  --white: #F4F7F5;
  --steel: #DDE3DF;
  --red: #FF2D3F;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 18px/1.6 "Nimbus Sans", "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; }
h2, h3 { margin: 0 0 .6em; letter-spacing: .02em; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); }
.red { color: var(--red); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

.top {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(11, 13, 12, .92);
  border-bottom: 1px solid #1d2120;
}
.brand img { display: block; }
nav a {
  margin-left: 28px; text-decoration: none;
  text-transform: uppercase; font-size: .8rem; letter-spacing: .15em; font-weight: bold;
}
nav a:hover { color: var(--red); }

.hero {
  min-height: min(86vh, 820px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  border-bottom: 4px solid var(--red);
}
.hero-logo { width: min(420px, 80vw); }
.tagline { font-size: 1.4rem; color: var(--steel); margin: 24px 0 36px; }
.button {
  display: inline-block; padding: 14px 36px;
  background: var(--red); color: var(--white);
  text-decoration: none; font-weight: bold; text-transform: uppercase; letter-spacing: .15em;
}
.button:hover { background: var(--white); color: var(--red); }

.light { background: var(--white); color: var(--ink); }
.light p { max-width: 720px; }

.grid {
  display: grid; gap: 2px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: #1d2120; border: 2px solid #1d2120;
}
.grid article { background: var(--ink); padding: 28px; }
.grid p { margin: 0; color: var(--steel); }

footer { padding: 48px 24px; text-align: center; color: #8a918d; font-size: .85rem; }
.footer-logo { width: min(360px, 80vw); }

@media (max-width: 600px) {
  nav a { margin-left: 16px; font-size: .7rem; letter-spacing: .1em; }
  h2 { font-size: 1.7rem; }
  section { padding: 64px 0; }
}
