:root {
  --bg: #fafafa;
  --ink: #26282c;
  --muted: #5b5d63;
  --accent: #14b8a6;
  --accent-strong: #0f766e;
  --accent-ink: #ffffff;
  --border: #e4e4e7;
  --radius: 16px;
  --container-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 115%;
}

body {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

/* Header */

.site-header {
  border-bottom: 4px solid var(--accent);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  height: 28px;
  width: auto;
}

.logo span {
  color: var(--accent);
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.site-header nav a[aria-current="page"] {
  color: var(--ink);
}

.site-header nav a:hover {
  color: var(--ink);
}

/* Hero */

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/hero-bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 48px;
  padding: 96px 24px 48px;
}

.hero-media-top {
  grid-column: 2;
  grid-row: 1;
}

.hero-media-bottom {
  grid-column: 1;
  grid-row: 2;
}

.hero-media {
  min-height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-single {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 700;
  max-width: 21ch;
  color: var(--accent);
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
  padding: 32px;
}

.hero .lede {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 2em;
  max-width: 42ch;
}

.hero-features {
  grid-column: 2;
  grid-row: 2;
  list-style: none;
  margin: 0;
  padding: 32px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-features li {
  position: relative;
  padding-left: 24px;
  color: #ffffff;
}

.hero-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-features li strong {
  font-weight: 700;
}

.hero-cta {
  text-align: center;
  padding: 0 24px 96px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Footer */

.site-footer {
  border-top: 4px solid var(--accent);
  padding: 32px 0;
  background: rgba(160, 161, 162, 0.5);
}

.site-footer p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
  text-align: center;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  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;
  }
  .btn {
    transition: none;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 56px 24px 32px;
  }

  .hero-copy,
  .hero-media-top,
  .hero-media-bottom,
  .hero-features {
    grid-column: auto;
    grid-row: auto;
  }

  .hero h1 {
    max-width: none;
  }
}

