:root {
  color-scheme: dark;
  --ink: #f4f1e8;
  --muted: #b7b4aa;
  --paper: #111312;
  --line: rgba(244, 241, 232, 0.15);
  --panel: rgba(18, 21, 20, 0.78);
  --cyan: #54d7d6;
  --lime: #c8f25f;
  --coral: #ff7b6d;
  --shadow: rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #111312;
}

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

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(17, 19, 18, 0.82), rgba(17, 19, 18, 0));
}

.brand,
.topbar-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(17, 19, 18, 0.52);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px var(--shadow);
}

.brand {
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 8px;
  font-weight: 760;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #101210;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  font-weight: 850;
}

.topbar-link {
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 120px clamp(18px, 6vw, 76px) 72px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.05) contrast(1.04);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 19, 18, 0.96) 0%, rgba(17, 19, 18, 0.76) 43%, rgba(17, 19, 18, 0.24) 100%),
    linear-gradient(0deg, #111312 0%, rgba(17, 19, 18, 0.15) 38%, rgba(17, 19, 18, 0.2) 100%);
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 11vw, 144px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(244, 241, 232, 0.88);
  font-size: clamp(20px, 3vw, 31px);
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.primary-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--ink);
  color: #111312;
  font-weight: 820;
  box-shadow: 0 20px 46px rgba(244, 241, 232, 0.18);
  transition: transform 160ms ease, background-color 160ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.primary-action:focus-visible,
.topbar-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.microcopy {
  color: var(--muted);
  font-size: 15px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-card {
  min-height: 210px;
  padding: clamp(24px, 4vw, 44px);
  background: #111312;
}

.quick-kicker {
  color: var(--coral);
  font-size: 13px;
  font-weight: 820;
}

.quick-card h2 {
  margin: 34px 0 12px;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1;
  letter-spacing: 0;
}

.quick-card p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .topbar {
    padding: 14px;
  }

  .hero {
    min-height: 84svh;
    padding: 104px 18px 48px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 19, 18, 0.96) 0%, rgba(17, 19, 18, 0.72) 70%, rgba(17, 19, 18, 0.38) 100%),
      linear-gradient(0deg, #111312 0%, rgba(17, 19, 18, 0.18) 45%, rgba(17, 19, 18, 0.22) 100%);
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    justify-content: flex-start;
  }

  .topbar-link {
    display: none;
  }

  .brand span:last-child {
    max-width: 126px;
    overflow-wrap: anywhere;
  }

  .lead {
    max-width: 304px;
    font-size: 18px;
  }

  .primary-action {
    width: min(100%, 320px);
  }
}
