:root {
  color-scheme: dark;
  --bg: #120602;
  --ink: #fff1df;
  --soft: #ffc27e;
  --muted: #d9793c;
  --line: rgba(255, 154, 74, 0.24);
  --button: #ff8a16;
  --button-hot: #ffd27a;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 169, 64, 0.22), transparent 24%),
    radial-gradient(circle at 12% 78%, rgba(179, 44, 13, 0.22), transparent 30%),
    radial-gradient(circle at 86% 74%, rgba(255, 106, 0, 0.14), transparent 28%),
    linear-gradient(145deg, #030100 0%, #120602 48%, #2a0900 100%);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100vh;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 34px;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: color-mix(in srgb, var(--soft) 68%, transparent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.wordmark {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.hero {
  flex: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 42px 0 34px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--button-hot);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.logo {
  display: block;
  width: min(380px, 68vw);
  height: auto;
}

h1 {
  max-width: 1040px;
  margin: 24px 0 0;
  font-size: 76px;
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 610px;
  margin: 22px 0 0;
  color: color-mix(in srgb, var(--ink) 74%, var(--muted));
  font-size: 20px;
  line-height: 1.36;
  font-weight: 560;
}

.cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.download {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  color: #1b0700;
  background: linear-gradient(135deg, var(--button-hot), var(--button) 58%, #f35a10);
  border: 0;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
}

.download:disabled {
  cursor: not-allowed;
  opacity: 0.82;
}

.beta-note {
  margin: 9px 0 0;
  color: color-mix(in srgb, var(--soft) 72%, transparent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 620;
}

.download:focus-visible {
  outline: 2px solid var(--button-hot);
  outline-offset: 4px;
}

.comparison {
  width: min(560px, 100%);
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(8, 2, 0, 0.32);
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}

.comparison th,
.comparison td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 154, 74, 0.14);
  text-align: center;
}

.comparison tr:last-child th,
.comparison tr:last-child td {
  border-bottom: 0;
}

.comparison thead th {
  color: color-mix(in srgb, var(--soft) 74%, transparent);
  font-weight: 760;
}

.comparison tbody th {
  width: 46%;
  color: color-mix(in srgb, var(--ink) 72%, var(--muted));
  font-weight: 620;
  text-align: left;
}

.answer {
  display: inline-flex;
  min-width: 44px;
  justify-content: center;
  font-weight: 820;
}

.answer.yes {
  color: var(--button-hot);
}

.answer.no {
  color: color-mix(in srgb, var(--muted) 84%, transparent);
}

.footer {
  padding-top: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: color-mix(in srgb, var(--soft) 54%, transparent);
}

.goat-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: color-mix(in srgb, var(--soft) 84%, transparent);
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.goat-link:hover,
.goat-link:focus-visible {
  color: var(--ink);
}

.goat-link:focus-visible {
  outline: 2px solid var(--button-hot);
  outline-offset: 5px;
  border-radius: 4px;
}

.goat-pop {
  position: absolute;
  left: calc(100% + 7px);
  top: 50%;
  opacity: 0;
  transform: translate(-5px, -48%) scale(0.78) rotate(-8deg);
  transform-origin: left center;
  transition:
    opacity 160ms ease,
    transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1.2);
  pointer-events: none;
}

.goat-link:hover .goat-pop,
.goat-link:focus-visible .goat-pop {
  opacity: 1;
  transform: translate(0, -50%) scale(1) rotate(0deg);
}

.goat-corner {
  position: fixed;
  right: 0;
  bottom: 0;
  width: clamp(132px, 18vw, 230px);
  height: auto;
  z-index: 20;
  opacity: 0;
  transform: translate(72%, 72%) rotate(45deg) scale(0.76);
  transform-origin: center center;
  transition:
    opacity 180ms ease,
    transform 360ms cubic-bezier(0.18, 0.96, 0.22, 1);
  pointer-events: none;
  user-select: none;
}

.goat-link:hover .goat-corner,
.goat-link:focus-visible .goat-corner {
  opacity: 1;
  transform: translate(24%, 22%) rotate(45deg) scale(1);
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 28px, 560px);
    padding-top: 20px;
  }

  .nav {
    font-size: 11px;
  }

  .hero {
    padding: 38px 0 30px;
  }

  .logo {
    width: min(330px, 78vw);
  }

  h1 {
    font-size: 48px;
  }

  .lede {
    font-size: 17px;
  }

  .cta {
    width: min(100%, 340px);
  }

  .download {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 1060px) {
  h1 {
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .nav {
    align-items: flex-start;
  }

  .nav span {
    max-width: 130px;
    text-align: right;
  }

  h1 {
    font-size: 40px;
  }

}
