* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --page: #0b0b0d;
  --surface: #111114;
  --surface-raised: #17171b;
  --line: #26262c;
  --text: #e8e8ed;
  --muted: #92929c;
  --icon-soft: #777780;
  --icon-bright: #d4d4dc;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 24%, rgba(49, 49, 58, 0.16), transparent 48%),
    var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

main {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
}

.landing {
  width: min(100% - 40px, 820px);
  margin: 0 0 0 max(20px, calc((100% - 1220px) / 2));
}

.title-row {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.title-block {
  flex: 0 0 42%;
  background: linear-gradient(90deg, rgba(57, 57, 59, 0) 0%, #29292b 72%, #39393b 100%);
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(4rem, 11.5vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.description {
  margin-left: 42%;
  margin-top: 36px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 42%;
  margin-top: 44px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 145px;
  padding: 13px 18px;
  border: 0;
  border-radius: 7px;
  background: rgba(18, 18, 20, 0.88);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.72);
  color: var(--text);
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.actions a .duotone-icon {
  width: 17px;
  height: 17px;
}

.actions a:hover {
  background-color: #222227;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.78);
  transform: translateY(-2px);
}

.actions a:active {
  transform: translateY(0) scale(0.97);
}

.actions a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid #c9c9d2;
  outline-offset: 4px;
}

.site-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  color: #777;
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

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

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

.duotone-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: var(--icon-bright);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.duotone-icon .icon-soft {
  fill: var(--icon-soft);
  stroke: none;
}

@media (max-width: 600px) {
  .landing {
    width: calc(100% - 36px);
    margin: 0 auto;
  }

  .title-block {
    flex-basis: 0;
  }

  h1 {
    font-size: clamp(4rem, 17vw, 6rem);
  }

  .description,
  .actions {
    margin-left: 0;
  }

  .description {
    margin-top: 28px;
  }

  .actions {
    margin-top: 30px;
  }

  .actions a {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-footer {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
}

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