:root {
  --ink: #142f36;
  --teal: #00675d;
  --paper: #fafaf5;
  --lime: #e8f480;
  --line: #d8ddd1;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--teal);
  text-underline-offset: 0.22em;
}
button,
input,
textarea,
select {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d45110;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  z-index: 2;
  left: 1rem;
  top: -10rem;
  background: white;
  padding: 1rem;
}
.skip:focus {
  top: 0.5rem;
}
header,
footer,
main {
  max-width: 1400px;
  margin: auto;
}
header {
  padding: 1.45rem clamp(1rem, 4.5vw, 5.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  font-size: 1.55rem;
  letter-spacing: -0.08em;
}
.brand span {
  color: var(--teal);
  font-size: 0.75em;
  letter-spacing: -0.055em;
}
.brand i {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  width: 1.8rem;
  height: 1.8rem;
  font-size: 1.45rem;
  font-style: normal;
  line-height: 1;
  border-radius: 8px 8px 8px 1px;
  margin-right: 0.42rem;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 2.8rem);
}
nav a,
.themes a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
}
nav a:hover,
.themes a:hover {
  text-decoration: underline;
}
main {
  padding: 0 clamp(1rem, 4.5vw, 5.5rem);
}
.hero {
  margin: 2rem 0 2.6rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 430px;
  background: #e4eee4;
  border-radius: 22px;
  overflow: hidden;
}
.hero-copy {
  padding: clamp(2rem, 4.6vw, 5rem);
  align-self: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}
.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--teal);
}
h1,
h2,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -0.055em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 5.4vw, 6rem);
  line-height: 1.01;
  margin-bottom: 1.2rem;
  font-weight: 720;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.075em;
  color: var(--teal);
}
h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.85rem);
  line-height: 1.13;
  margin-bottom: 1rem;
}
p,
li {
  line-height: 1.6;
}
.lede {
  font-size: 1.13rem;
  max-width: 36ch;
}
.actions,
.row,
.sample {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.actions {
  margin-top: 1.6rem;
}
.button,
button {
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 99px;
  padding: 0.88rem 1.48rem;
  text-decoration: none;
  background: var(--ink);
  color: white;
  font-weight: 700;
  line-height: 1.3;
}
button:hover,
.button:hover {
  background: var(--teal);
  color: white;
}
.secondary,
.button.secondary {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink);
  color: var(--ink);
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
.textlink {
  font-size: 0.94rem;
  font-weight: 700;
}
.cover {
  position: relative;
  margin: 0;
  min-height: 100%;
  background: #48684f;
}
.cover img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 51% 46%;
}
.cover figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.5rem 0.85rem;
  background: rgba(12, 38, 33, 0.88);
  color: white;
  border-radius: 0.5rem;
  font-size: 0.82rem;
}
.cover figcaption span {
  font-weight: 700;
  border-right: 1px solid #a0ada9;
  padding-right: 0.55rem;
  margin-right: 0.45rem;
}
.row,
.sample {
  justify-content: space-between;
}
.row h2 {
  margin: 0;
}
.themes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
  margin: 1.35rem 0;
}
.themes a {
  padding: 1.15rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}
.stamp {
  font-family: Georgia, serif;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 15px;
  background: #dfeddb;
  color: #195645;
  font-size: 2.1rem;
  line-height: 1;
}
.t1,
.t4 {
  background: #f3e5ce;
  color: #89441e;
}
.t2,
.t5 {
  background: #dee9f4;
  color: #285176;
}
.t3 {
  background: #eee1ee;
  color: #723870;
}
.sample {
  padding: 2rem;
  margin: 2.6rem 0;
  background: var(--lime);
  border-radius: 16px;
}
.sample h2 {
  max-width: 28ch;
  margin: 0;
}
.sample .eyebrow {
  margin-bottom: 0.5rem;
}
.inner {
  padding: clamp(2rem, 5vw, 5rem) 0;
  min-height: 52vh;
}
.narrow {
  max-width: 800px;
  margin: auto;
}
.narrow h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1rem, 4.5vw, 5.5rem);
}
footer > div {
  display: flex;
  gap: 0.48rem;
  flex-direction: column;
}
footer a {
  font-size: 0.9rem;
}
label {
  display: block;
  font-weight: 650;
  margin: 0.9rem 0;
}
input,
select,
textarea {
  display: block;
  padding: 0.7rem;
  width: 100%;
  max-width: 38rem;
  border: 1px solid #799188;
  background: white;
  border-radius: 8px;
  color: var(--ink);
}
textarea {
  min-height: 8rem;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0;
}
.choices button {
  justify-content: flex-start;
  text-align: left;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  border: 1px solid #72877c;
  padding: 1rem;
}
.choices button:hover,
.choices button:focus-visible {
  border-color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.choices strong {
  margin-right: 0.65rem;
  color: var(--teal);
}
.answer,
article.result {
  background: #e5eee4;
  padding: 1.1rem 1.3rem;
  border-radius: 12px;
  margin: 1rem 0;
}
.answer a,
article.result a {
  display: inline-block;
  margin-right: 0.55rem;
}
progress {
  width: 100%;
  accent-color: var(--teal);
  height: 0.7rem;
}
.error {
  color: #8a2b19;
}
.video {
  max-width: 390px;
  width: 100%;
  max-height: 65vh;
}
.actions a {
  display: inline-flex;
}
.status {
  min-height: 1.5em;
}
.table {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
}
td,
th {
  padding: 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
small {
  font-size: 0.86rem;
}
@media (max-width: 760px) {
  header {
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
  }
  nav {
    gap: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
  }
  .hero {
    grid-template-columns: 1fr;
    margin-top: 1rem;
    min-height: 0;
  }
  .hero-copy {
    padding: 1.6rem;
  }
  .cover {
    min-height: 225px;
  }
  .themes {
    grid-template-columns: repeat(3, 1fr);
  }
  .sample {
    padding: 1.25rem;
  }
  .hero .eyebrow {
    margin-bottom: 0.8rem;
  }
  footer {
    flex-wrap: wrap;
  }
  .choices {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 400px) {
  nav {
    gap: 0.7rem;
    font-size: 0.85rem;
  }
  .themes {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-copy {
    padding: 1.25rem;
  }
  .cover {
    min-height: 185px;
  }
  .cover figcaption {
    bottom: 0.6rem;
    left: 0.6rem;
  }
  .actions {
    gap: 0.8rem;
  }
  .actions .button {
    padding: 0.8rem 1.1rem;
  }
}

[hidden] {
  display: none !important;
}
