@charset "UTF-8";

:root {
  color-scheme: dark;
  --home-ground: #171717;
  --home-header: #0c0f0d;
  --home-ink: #f0f0e8;
  --home-muted: #a8b0a3;
  --home-rule: #41483f;
  --home-lime: #c9ed76;
  --home-coral: #ff8068;
  --home-teal: #72c7bd;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--home-ground);
  color: var(--home-ink);
}

body.home-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--home-ground);
  color: var(--home-ink);
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--home-lime);
  color: #171b12;
}

.skip-link:focus {
  transform: translateY(0);
}

.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--home-rule);
  background: var(--home-header);
}

.home-brand {
  color: var(--home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
}

.home-status {
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.home-status {
  color: var(--home-lime);
}

.home-main {
  width: min(1036px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 30px;
}

.home-intro {
  margin: 0;
}

.home-intro h1 {
  max-width: 800px;
  margin: 0 0 14px;
  color: var(--home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.home-description {
  max-width: 770px;
  margin: 0;
  color: #bdc3b8;
  font-size: 16px;
  line-height: 1.45;
}

.home-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 94px;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--home-rule);
  border-bottom: 1px solid var(--home-rule);
}

.home-task-copy strong,
.home-task-copy span {
  display: block;
}

.home-task-copy strong {
  margin-bottom: 2px;
  color: var(--home-ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 16px;
  font-weight: 400;
}

.home-task-copy span {
  color: var(--home-muted);
  font-size: 14px;
}

.home-action {
  display: inline-flex;
  width: 204px;
  height: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  background: var(--home-lime);
  color: #171b12;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 140ms ease, transform 140ms ease;
}

.home-action:hover {
  background: #dcf7a1;
  transform: translateY(-1px);
}

.home-action svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.home-action:active {
  transform: translateY(0);
}

.home-action:focus-visible,
.home-brand:focus-visible,
.home-footer a:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--home-coral);
  outline-offset: 4px;
}

::selection {
  background: var(--home-lime);
  color: #171b12;
}

@media (max-width: 760px) {
  .home-topbar {
    min-height: 60px;
    flex-wrap: wrap;
    gap: 5px 14px;
    padding: 10px 20px;
  }

  .home-status {
    flex-basis: 100%;
    width: 100%;
    white-space: normal;
  }

  .home-main {
    width: calc(100% - 40px);
    padding: 22px 0 24px;
  }

  .home-intro h1 {
    width: 100%;
    max-width: 100%;
    font-size: 28px;
    line-height: 1.14;
  }

  .home-description {
    font-size: 14px;
    line-height: 1.4;
  }

  .home-task {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 0;
  }

  .home-action {
    justify-self: start;
  }

}

@media (max-width: 380px) {
  .home-task-copy strong {
    font-size: 14px;
  }
}

@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;
  }
}