@font-face {
  font-family: Fredoka;
  src: url("/static/font.woff") format("woff");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f4eb;
  color: #354c42;
  font-family: Fredoka, ui-rounded, system-ui, sans-serif;
  font-weight: 400;
}
header {
  max-width: 1180px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 28px;
  gap: 20px;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: #8b559b;
}
nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
}
.logo {
  font-size: 27px;
  text-decoration: none;
  letter-spacing: -1px;
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 20px 28px 65px;
}
.hero {
  text-align: center;
  padding: 30px 0 10px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: #7c8267;
}
h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 20px 0;
}
h2 {
  font-size: 30px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 23px;
}
p {
  line-height: 1.65;
  font-size: 18px;
}
.hero p {
  font-size: 20px;
}
.muted,
small {
  font-size: 14px;
  color: #70796f;
}
.button,
button {
  display: inline-block;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  border: 1.5px solid #354c42;
  background: #354c42;
  color: #fffced;
  padding: 15px 23px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 3px 0 #23372e;
  transition: transform 0.15s;
}
.button:hover,
button:hover {
  transform: translateY(-2px);
  color: #fff;
  background: #526a59;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
.samples {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 35px 0 55px;
}
.card {
  width: 100%;
  height: auto;
  max-width: 360px;
  filter: drop-shadow(0 12px 12px #34463f12);
}
.samples .card {
  width: 27%;
  max-width: 265px;
  transform: rotate(-8deg);
}
.samples .card:nth-child(2) {
  transform: rotate(4deg) translateY(15px);
}
.samples .card:nth-child(3) {
  transform: rotate(10deg);
}
.strip {
  border-top: 1px solid #dcded0;
  border-bottom: 1px solid #dcded0;
  padding: 30px 0;
  margin: 40px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.tile {
  padding: 27px;
  background: #ecefdf;
  border: 1px solid #dce0ce;
  border-radius: 24px;
  text-decoration: none;
}
.tile:nth-child(2n) {
  background: #eee7f0;
}
.tile:nth-child(3n) {
  background: #f2e8d5;
}
.tile span {
  font-size: 11px;
  letter-spacing: 2px;
}
.tile p {
  font-size: 16px;
}
.pricing .tile {
  display: flex;
  flex-direction: column;
}
.pricing form {
  margin-top: auto;
}
footer {
  border-top: 1px solid #dcded0;
  padding: 28px;
  text-align: center;
  font-size: 14px;
}
footer p {
  font-size: 14px;
}
.dev {
  text-align: center;
  background: #ffe9a0;
  padding: 9px;
  font-size: 13px;
}
.reveal {
  text-align: center;
}
.reveal h1 {
  font-size: clamp(33px, 5vw, 53px);
}
.reveal > .card,
.reveal > a > .card {
  max-width: 360px;
  margin: 20px auto;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  align-items: center;
}
.actions button {
  background: #e9dfed;
  color: #354c42;
}
.duo {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.duo a {
  max-width: 40%;
}
.binder article {
  padding-bottom: 20px;
  text-align: center;
}
.badge {
  display: inline-block;
  font-size: 13px;
  background: #e7e9db;
  border-radius: 15px;
  padding: 7px 12px;
  margin: 4px;
}
.quiz {
  max-width: 680px;
  margin: 25px auto;
}
.quiz h1 {
  font-size: 42px;
}
fieldset {
  border: 0;
  padding: 20px 0;
  margin: 20px 0;
}
legend {
  font-size: 27px;
  line-height: 1.4;
}
legend small {
  display: inline-block;
  margin-bottom: 14px;
}
.answer {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 18px;
  background: #ecefdf;
  border: 2px solid transparent;
  border-radius: 16px;
  margin: 12px 0;
  cursor: pointer;
}
.answer:has(input:checked) {
  border-color: #68795c;
  background: #dfe7cc;
}
input[type="radio"] {
  accent-color: #354c42;
  width: 19px;
  height: 19px;
}
progress {
  width: 100%;
  height: 10px;
  accent-color: #7d9b76;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 15px 0;
}
[hidden] {
  display: none !important;
}
input:not([type="radio"]):not([type="hidden"]),
textarea {
  display: block;
  width: 100%;
  max-width: 600px;
  padding: 15px;
  border: 1px solid #acb7a2;
  border-radius: 12px;
  font: inherit;
  margin: 10px 0 18px;
  background: #fffdf6;
}
form {
  margin: 16px 0;
}
.legal {
  max-width: 750px;
  margin: 40px auto;
}
.legal h1 {
  font-size: 46px;
}
details {
  border-bottom: 1px solid #dce0ce;
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-size: 20px;
}
code {
  word-break: break-all;
}
.new .card {
  animation: hatch 0.9s ease-out;
}
@keyframes hatch {
  0% {
    transform: scale(0.4) rotate(-15deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.04) rotate(3deg);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 600px) {
  header {
    padding: 20px;
    align-items: flex-start;
  }
  .logo {
    font-size: 23px;
  }
  nav {
    gap: 10px;
    font-size: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 175px;
  }
  main {
    padding: 10px 20px 40px;
  }
  .hero {
    padding-top: 25px;
  }
  .hero p {
    font-size: 17px;
  }
  .samples {
    gap: 9px;
    padding: 30px 0;
  }
  .samples .card {
    width: 30%;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .binder {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .binder button {
    font-size: 12px;
    padding: 10px;
  }
  .quiz h1 {
    font-size: 36px;
  }
  .actions .button,
  .actions button {
    font-size: 13px;
    padding: 13px;
  }
  .duo a {
    max-width: 48%;
  }
  .duo {
    gap: 8px;
  }
}

/* Keep keyboard orientation and touch targets clear through every hatch. */
:focus-visible {
  outline: 3px solid #704380;
  outline-offset: 4px;
}
fieldset:focus { outline: none; }
fieldset:focus-visible legend { outline: 3px solid #704380; outline-offset: 5px; }
nav { gap: 8px; }
nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 8px; }
.skip-link { position: absolute; top: -80px; left: 16px; padding: 14px; background: #fffdf6; z-index: 10; }
.skip-link:focus { top: 10px; }
.quiz-error { color: #843629; font-size: 16px; }
#quiz-status { margin-bottom: 8px; color: #526348; }
.answer input { flex-shrink: 0; }
@media (max-width: 600px) {
  header { flex-wrap: wrap; gap: 8px; padding: 16px 20px; }
  nav { max-width: none; width: 100%; justify-content: space-between; font-size: 14px; }
  .quiz-nav { padding: 12px 0; }
}
