@font-face {
  font-family: "Chivo";
  src: url("/fonts/Chivo-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.seo-site,
.seo-shell {
  --charcoal: #24231f;
  --paper: #f3e7cb;
  --paper-deep: #e5d4ae;
  --ink: #292721;
  --red: #d85f45;
  --teal: #2f7483;
  --mustard: #e7bf58;
  box-sizing: border-box;
  color: var(--ink);
  font-family: "Chivo", "Arial Narrow", Arial, sans-serif;
}

.seo-site *,
.seo-shell * {
  box-sizing: border-box;
}

body.seo-site {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(41, 39, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 39, 33, 0.025) 1px, transparent 1px), var(--paper);
  background-size: 26px 26px;
}

.seo-site a,
.seo-shell a {
  color: inherit;
}

.seo-header,
.seo-site main,
.seo-site footer,
.seo-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.seo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  border-bottom: 2px solid rgba(41, 39, 33, 0.2);
}

.seo-brand {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.seo-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 750;
}

.seo-hero,
.seo-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vw, 136px) clamp(20px, 6vw, 74px);
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: rgba(248, 239, 218, 0.86);
  box-shadow: 12px 12px 0 rgba(41, 39, 33, 0.14);
}

.seo-hero {
  margin-block: 56px 36px;
}

.seo-hero::after,
.seo-shell::after {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -72px;
  top: -72px;
  border: 28px solid var(--red);
  border-radius: 50%;
  content: "";
  opacity: 0.18;
}

.seo-kicker {
  margin: 0 0 18px;
  color: #8c3c2d;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.seo-hero h1,
.seo-shell h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.5rem, 7.4vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.seo-intro,
.seo-shell > p {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: #fff8e9 !important;
  background: #a24733;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.seo-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.seo-button:focus-visible,
.seo-tool__secondary:focus-visible,
.seo-site a:focus-visible,
.seo-site select:focus-visible,
.seo-site summary:focus-visible {
  outline: 4px solid var(--teal);
  outline-offset: 4px;
}

.seo-link {
  font-weight: 750;
  text-underline-offset: 4px;
}

.seo-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--mustard);
  list-style: none;
}

.seo-facts li {
  padding: 20px;
  text-align: center;
  font-weight: 850;
}

.seo-facts li + li {
  border-left: 2px solid var(--ink);
}

.seo-tool {
  margin: 46px 0 24px;
  padding: clamp(26px, 5vw, 52px);
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: rgba(255, 250, 236, 0.78);
  box-shadow: 9px 9px 0 rgba(41, 39, 33, 0.14);
}

.seo-tool__heading {
  max-width: 760px;
}

.seo-tool__heading h2,
.seo-resources h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.06;
}

.seo-tool__heading > p:last-child {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.65;
}

.seo-tool__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.seo-tool__controls label {
  font-weight: 850;
}

.seo-tool__controls select {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 9px 12px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: #fffaf0;
  font: inherit;
}

.seo-tool__card {
  --card-accent: var(--mustard);
  margin-top: 22px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  background: var(--paper-deep);
}

.seo-tool__card[data-category="object"] {
  --card-accent: #3d78b6;
}

.seo-tool__card[data-category="action"] {
  --card-accent: #de733c;
}

.seo-tool__card[data-category="difficult"] {
  --card-accent: #5d9464;
}

.seo-tool__card[data-category="all-play"] {
  --card-accent: #d8584f;
}

.seo-tool__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 9px solid var(--card-accent);
  color: #fff8e9;
  background: var(--charcoal);
}

.seo-tool__card-header span {
  font-weight: 900;
  letter-spacing: 0.14em;
}

.seo-tool__card-header small {
  font-weight: 800;
}

.seo-tool__card-body {
  padding: clamp(30px, 6vw, 56px) 22px;
}

.seo-tool__card-body > p,
.seo-tool__card-body > strong {
  min-height: 1.4em;
  margin: 0 0 28px;
}

.seo-tool__card-body > strong {
  display: block;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.05;
}

.seo-tool__card-body > strong[hidden] {
  display: none;
}

.seo-tool__card-body > div,
.seo-tool__timer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.seo-tool button {
  cursor: pointer;
  font: inherit;
}

.seo-tool__secondary {
  min-height: 52px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: #fffaf0;
  font-weight: 850;
}

.seo-tool__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.seo-tool__timer output {
  min-width: 4ch;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.seo-tool__full-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 54px);
  margin-top: 32px;
  padding: clamp(26px, 5vw, 42px);
  border: 3px solid var(--ink);
  border-left: 10px solid var(--mustard);
  border-radius: 10px;
  color: #fff8e9;
  background: var(--charcoal);
}

.seo-tool__full-game .seo-kicker {
  color: var(--mustard);
}

.seo-tool__full-game h3 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.seo-tool__full-game p:not(.seo-kicker) {
  max-width: 650px;
  margin: 0;
  color: #d8cfbd;
  line-height: 1.6;
}

.seo-tool__full-game-action {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 13px;
}

.seo-tool__full-game-action small {
  color: #d8cfbd;
  text-align: center;
}

.seo-tool__notice {
  margin: 22px 0 0;
  padding: 14px;
  border-left: 5px solid var(--teal);
  background: #fffaf0;
}

.seo-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-block: 72px;
}

.seo-sections section {
  padding: 30px;
  border-top: 7px solid var(--teal);
  background: rgba(255, 250, 236, 0.72);
}

.seo-sections h2,
.seo-faq h2,
.seo-final h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.08;
}

.seo-sections p,
.seo-faq p,
.seo-final p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.68;
}

.seo-faq {
  max-width: 820px;
  margin: 0 auto 72px;
}

.seo-upcoming-packs {
  margin: 0 0 72px;
  padding: clamp(30px, 6vw, 58px);
  border: 3px solid var(--ink);
  border-radius: 16px;
  color: #fff8e9;
  background: var(--charcoal);
}

.seo-upcoming-packs > h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.seo-upcoming-packs > p:not(.seo-kicker) {
  max-width: 760px;
  color: #d8cfbd;
  font-size: 1.05rem;
  line-height: 1.65;
}

.seo-upcoming-packs > div {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seo-upcoming-packs article {
  padding: 26px;
  border: 2px solid rgba(243, 231, 203, 0.45);
  border-top: 7px solid var(--mustard);
  border-radius: 10px;
}

.seo-upcoming-packs article span {
  color: var(--mustard);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.seo-upcoming-packs article h3 {
  margin: 12px 0 8px;
  font-size: 1.5rem;
}

.seo-upcoming-packs article p {
  margin: 0;
  color: #d8cfbd;
  line-height: 1.6;
}

.seo-faq details {
  padding: 22px 0;
  border-bottom: 2px solid rgba(41, 39, 33, 0.22);
}

.seo-faq summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 850;
}

.seo-faq details p {
  padding-top: 14px;
}

.seo-resources {
  margin: 0 0 72px;
}

.seo-resources > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.seo-resources a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-top: 7px solid var(--teal);
  border-radius: 8px;
  background: rgba(255, 250, 236, 0.72);
  text-decoration: none;
}

.seo-resources a:hover {
  background: #fffaf0;
  transform: translateY(-2px);
}

.seo-resources strong {
  font-size: 1.08rem;
}

.seo-resources span {
  line-height: 1.5;
}

.seo-final {
  padding: clamp(34px, 6vw, 64px);
  border: 3px solid var(--ink);
  color: #fff8e9;
  background: var(--charcoal);
}

.seo-final p {
  max-width: 720px;
  margin-bottom: 28px;
  color: #d8cfbd;
}

.seo-site footer {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-block: 36px;
  font-size: 0.86rem;
}

.seo-site footer span {
  margin-right: auto;
  font-weight: 850;
}

.seo-shell {
  width: min(1040px, calc(100% - 32px));
  margin-block: 32px;
  color: var(--ink);
}

.seo-shell nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
  font-weight: 750;
}

@media (max-width: 760px) {
  .seo-header {
    align-items: flex-start;
    padding-block: 22px;
  }

  .seo-header nav {
    gap: 8px 14px;
    font-size: 0.78rem;
  }

  .seo-hero {
    margin-top: 28px;
  }

  .seo-facts,
  .seo-sections {
    grid-template-columns: 1fr;
  }

  .seo-facts li + li {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .seo-sections {
    padding-block: 44px;
  }

  .seo-upcoming-packs > div {
    grid-template-columns: 1fr;
  }

  .seo-tool__controls,
  .seo-resources > div {
    grid-template-columns: 1fr;
  }

  .seo-tool__timer {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .seo-tool__full-game {
    grid-template-columns: 1fr;
  }
}
