@font-face {
  font-family: Nunito;
  src: url("/assets/fonts/Nunito.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #25252d;
  --muted: #565a67;
  --line: #dedfe3;
  --green: #58cc02;
  --focus: #1cb0f6;
  font-family: Nunito, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; }
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.content-width {
  width: min(100% - 64px, 1040px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.marketing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}

.brand {
  font-size: 25px;
  font-weight: 1000;
  letter-spacing: -.045em;
  text-decoration: none;
}

.sign-in {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.sign-in:hover,
.topic-card:hover,
.questions summary:hover { background: #f8f9f7; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 24px;
  padding: 26px 12px 40px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(43px, 5.4vw, 68px);
  line-height: 1.03;
  font-weight: 1000;
  letter-spacing: -.045em;
}

.hero-copy p {
  max-width: 29ch;
  margin: 20px 0 24px;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.28;
  font-weight: 750;
}

.guest-entry {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 44px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-underline-offset: 3px;
}

.hero-art {
  display: block;
  justify-self: center;
  width: auto;
  max-width: 100%;
  height: clamp(270px, 35vw, 407px);
  object-fit: contain;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 320px);
  min-height: 54px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-bottom: 4px solid #48a700;
  border-radius: 12px;
  color: #173f0c;
  background: var(--green);
  text-decoration: none;
  font-size: 23px;
  font-weight: 1000;
}

.primary:hover { background: #62d90b; }
.primary:active { transform: translateY(2px); }

.topics,
.questions {
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -.028em;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.topic-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 88px;
  height: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}

.topic-card strong,
.topic-card span span { display: block; }
.topic-card strong {
  font-size: clamp(20px, 2.25vw, 27px);
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.topic-card span span {
  margin-top: 3px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.25;
}

.topic-card svg,
.disclosure-chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  transition: transform 180ms ease;
}

.topic-card:hover svg { transform: translateX(3px); }

.topic-browse {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 850;
  text-underline-offset: 3px;
}

.questions details { border-bottom: 1px solid var(--line); }
.questions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 9px 3px;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.questions summary::marker { content: ""; }
.questions summary::-webkit-details-marker { display: none; }
.questions details[open] .disclosure-chevron { transform: rotate(180deg); }
.questions details[open] .faq-answer { animation: disclosure-in 180ms ease-out both; }
.faq-answer {
  max-width: 66ch;
  margin: 0;
  padding: 0 3px 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

@keyframes disclosure-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.marketing-footer {
  padding: 10px 0 20px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 680px) {
  .content-width { width: calc(100% - 36px); }
  .marketing-header { min-height: 60px; }
  .brand { font-size: 22px; }
  .sign-in { padding-inline: 13px; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 6px 0 20px;
    text-align: center;
  }
  .hero-art {
    grid-row: 1;
    height: clamp(154px, 48vw, 215px);
  }
  .hero-copy h1 { font-size: clamp(32px, 9vw, 46px); }
  .hero-copy p {
    margin: 11px auto 13px;
    font-size: clamp(17px, 4.6vw, 21px);
  }
  .primary {
    min-height: 48px;
    font-size: 20px;
  }
  .guest-entry { margin-inline: auto; font-size: 14px; }
  .topics,
  .questions { padding: 17px 0 20px; }
  .topic-list { grid-template-columns: 1fr; gap: 7px; }
  .topic-card { min-height: 61px; padding: 8px 12px; }
  .questions summary { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .topic-card svg,
  .disclosure-chevron { transition: none; }
  .questions details[open] .faq-answer { animation: none; }
}
