:root {
  color-scheme: dark;
  --charcoal: #171915;
  --ink: #20251f;
  --paper: #f7f3ea;
  --paper-muted: #ddd9cf;
  --leaf: #6d8068;
  --coral: #df765e;
  --coral-hover: #ec866d;
  --line: rgba(247, 243, 234, 0.55);
  --veil: rgba(17, 20, 17, 0.56);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  background: var(--charcoal);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--charcoal);
  color: var(--paper);
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: 58% 50%;
  filter: saturate(0.88) contrast(1.04) brightness(0.88);
  transform: scale(1.015);
  animation: image-settle 1.4s ease-out both;
}

.hero__veil {
  z-index: -1;
  background: var(--veil);
}

.hero__layout {
  width: min(100%, 1440px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 32px 64px 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
}

.hero__brand {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__brand-mark {
  width: 34px;
  height: 3px;
  background: var(--coral);
}

.hero__content {
  width: min(670px, 72vw);
  padding: 40px 0;
  animation: content-arrive 700ms 120ms ease-out both;
}

.hero__eyebrow {
  margin: 0 0 22px;
  color: var(--paper-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 88px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__lead {
  max-width: 580px;
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.42;
  text-wrap: balance;
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  color: var(--paper-muted);
}

.hero__status p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.hero__status-line {
  flex: 0 0 42px;
  height: 1px;
  background: var(--leaf);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.action {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.action:hover {
  transform: translateY(-2px);
}

.action--primary {
  background: var(--coral);
  color: var(--charcoal);
}

.action--primary:hover {
  background: var(--coral-hover);
}

.action--secondary {
  border-color: var(--line);
  background: rgba(23, 25, 21, 0.28);
  color: var(--paper);
}

.action--secondary:hover {
  border-color: var(--paper);
  background: rgba(247, 243, 234, 0.1);
}

.action:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 4px;
}

.hero__footer {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--paper-muted);
  font-size: 12px;
  line-height: 1.4;
}

@keyframes content-arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-settle {
  from {
    opacity: 0.72;
    transform: scale(1.05);
  }

  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@media (max-width: 900px) {
  .hero__layout {
    padding-inline: 40px;
  }

  .hero__content {
    width: min(620px, 86vw);
  }

  h1 {
    font-size: 64px;
  }

  .hero__lead {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .hero__image {
    object-position: 54% 50%;
  }

  .hero__veil {
    background: rgba(17, 20, 17, 0.64);
  }

  .hero__layout {
    padding: 24px 22px 22px;
  }

  .hero__content {
    width: 100%;
    padding: 38px 0 30px;
  }

  .hero__eyebrow {
    margin-bottom: 18px;
  }

  h1 {
    font-size: 48px;
    line-height: 1;
  }

  .hero__lead {
    max-width: 410px;
    margin-top: 19px;
    font-size: 20px;
  }

  .hero__status {
    margin-top: 24px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .action {
    width: 100%;
  }

  .hero__footer span:last-child {
    display: none;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 18px;
  }
}

@media (max-height: 680px) and (min-width: 641px) {
  .hero__layout {
    padding-block: 22px;
  }

  .hero__content {
    padding-block: 24px;
  }

  h1 {
    font-size: 68px;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 21px;
  }

  .hero__status,
  .hero__actions {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
