/* Fredoka by The Fredoka Project Authors, SIL Open Font License. See /fonts/OFL.txt */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/fredoka-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fredoka-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #202020;
  --text: #FFFFFF;
  --muted: #777777;
  --teal: #54B9A7;
  --red: #EA3F45;
  --amber: #F19E38;
  --purple: #895CF5;
  --green: #5BC57A;
  --pink: #EC469A;
  --blue: #3C81F6;
  --brown: #8C6641;
  --orange: #EC712E;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Fredoka", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-wrap: break-word;
  padding-bottom: env(safe-area-inset-bottom);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

::selection {
  background: var(--orange);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  z-index: 2;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 3rem;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 100%;
  padding-top: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 48px;
  color: var(--text);
  text-decoration: none;
}

.logo {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border-radius: 0.7rem;
}

.header-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: 100%;
  margin-left: auto;
}

.header-actions .button {
  width: auto;
  margin: 0;
}

.wordmark,
h1,
h2,
h3,
.tagline,
.card-title,
button,
.button,
.kicker,
.num,
.empty {
  font-family: var(--display);
  font-weight: 600;
}

.wordmark {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 0.35rem;
  color: var(--text);
}

.nav a[aria-current="page"] {
  text-decoration-thickness: 3px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  margin: 0.35rem 0 1rem;
  font-size: 2.15rem;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2.4rem 0 0.75rem;
  font-size: 1.55rem;
}

h3 {
  margin: 1.25rem 0 0.35rem;
  font-size: 1.25rem;
}

p {
  margin: 0.8rem 0;
}

a {
  color: var(--teal);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--text);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0 0.25rem;
}

.hero-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 36rem;
  min-width: 0;
}

.hero-logo {
  width: 4.25rem;
  height: 4.25rem;
  flex: 0 0 auto;
  border-radius: 1.1rem;
}

.palette {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  flex: 0 0 auto;
}

.swatch-teal { background: var(--teal); }
.swatch-red { background: var(--red); }
.swatch-white { background: var(--text); box-shadow: inset 0 0 0 1.5px var(--muted); }
.swatch-amber { background: var(--amber); }
.swatch-purple { background: var(--purple); }
.swatch-green { background: var(--green); }
.swatch-pink { background: var(--pink); }
.swatch-gray { background: var(--muted); }
.swatch-blue { background: var(--blue); }
.swatch-brown { background: var(--brown); }
.swatch-orange { background: var(--orange); }

.hero h1 {
  width: auto;
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 4.6vw, 2.6rem);
  line-height: 1.05;
  text-align: center;
  text-wrap: nowrap;
}

.hero .tagline {
  text-align: center;
}

.hero-line {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.45;
  text-align: center;
}

.first-hour,
.get-app {
  text-align: left;
}

.definition {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.prompt {
  margin: 0.85rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--orange);
  font-weight: 600;
}

.figure {
  margin: 1.15rem 0 0.25rem;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.closing {
  margin-top: 1.5rem;
  font-weight: 600;
}

.job {
  text-align: left;
}

.job h1 {
  margin-top: 0.35rem;
}

.verdict {
  margin: 0.15rem 0 1.15rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.15rem;
  line-height: 1.1;
}

.verdict-yes {
  color: var(--green);
}

.verdict-partly {
  color: var(--amber);
}

.verdict-no {
  color: var(--red);
}

.job .panel h2,
.job .todo h2 {
  margin-top: 0;
}

.job .todo p {
  margin: 0.45rem 0 0;
}

.job .kicker {
  margin-top: 1rem;
}

.source-list {
  margin: 0.2rem 0 0.6rem;
  padding-left: 1.2rem;
}

.source-list li {
  margin: 0.65rem 0;
}

.job ol.steps {
  margin: 0.2rem 0 0.7rem;
  padding-left: 1.3rem;
}

.job ol.steps li {
  margin: 0.65rem 0;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin: 2.25rem 0 0;
}

.hero-pills .button {
  width: auto;
  margin: 0;
}

#signup,
#subscribe,
.faq-topic,
.faq-item {
  scroll-margin-top: 0.75rem;
}

#signup {
  text-align: left;
}

#signup > h2 {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-bottom: 0.35rem;
  margin-left: 0;
  text-align: left;
  text-wrap: wrap;
}

#signup > .signup-offer,
#signup > .signup-line {
  width: 100%;
  max-width: none;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  text-align: left;
  text-wrap: wrap;
}

#signup > .signup-offer {
  margin: 0 0 0.2rem;
}

#signup > .signup-line {
  margin: 0 0 1.15rem;
}

.tagline {
  margin: 0;
  color: var(--text);
  line-height: 1.15;
  text-align: center;
}

.latest {
  margin-top: 2rem;
}

.teaser {
  padding: 0.85rem 1rem 1rem;
  border: 2px dashed var(--muted);
  border-radius: 12px;
}

.teaser .kicker {
  margin: 0;
}

.teaser h2 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.45rem;
}

.teaser p:last-child {
  margin: 0;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0.35rem 0;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: var(--bg);
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg);
}

a.button.secondary,
button.secondary {
  border-color: var(--text);
  background: transparent;
  color: var(--text);
}

a.button.secondary:hover,
button.secondary:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.cards {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--muted);
  border-radius: 12px;
}

.card:hover {
  border-color: var(--teal);
}

.card > a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 48px;
  padding: 0.9rem 1rem;
  color: var(--text);
  text-decoration: none;
}

.card > a.card-related {
  flex-direction: row;
  align-items: center;
  min-height: 44px;
  margin: 0 1rem 0.85rem;
  padding: 0.15rem 0 0;
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.card > a.card-related:hover {
  color: var(--text);
}

.featured-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.6rem 0 0;
  padding: 0.9rem 1rem 1rem;
  border: 2px solid var(--orange);
  border-radius: 12px;
  background: var(--orange);
  color: var(--bg);
  text-decoration: none;
}

.featured-card:hover {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--bg);
}

.featured-card .card-title,
.featured-card .card-note {
  color: var(--bg);
}

.featured-card .figure {
  margin: 0.65rem 0 0;
}

.guide-step h2 {
  margin-bottom: 0.35rem;
}

.next-step-label {
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.newsletter-block {
  margin-top: 2.4rem;
  padding: 1rem 1rem 1.15rem;
  border: 2px solid var(--orange);
  border-radius: 12px;
}

.newsletter-block h2 {
  margin-top: 0;
}

.card-title {
  font-size: 1.25rem;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.card-note {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.guide-hub,
.next-step {
  margin-top: 1.75rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.85rem;
  border: 2px solid var(--teal);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.pill:hover {
  border-color: var(--orange);
  color: var(--text);
}

.panel {
  margin-top: 0.4rem;
  padding: 1rem 1rem 0.4rem;
  border: 2px solid var(--text);
  border-radius: 12px;
}

.field {
  margin: 0 0 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.optional {
  font-weight: 400;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--text);
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font: 1rem var(--sans);
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.25rem 0 1.15rem;
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--orange);
  flex: 0 0 auto;
}

.check label {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 650;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--red);
  border-radius: 10px;
}

.alert p {
  margin: 0.25rem 0;
}

.thanks {
  margin: 0.4rem 0 1rem;
  padding: 0.9rem 1rem;
  border: 2px solid var(--green);
  border-radius: 10px;
}

.thanks p {
  margin: 0;
  overflow-wrap: anywhere;
}

.alt,
.privacy {
  font-size: 1rem;
  line-height: 1.45;
}

.kicker {
  margin: 0.75rem 0 0.35rem;
  color: var(--teal);
  font-size: 1.05rem;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.4;
}

.num {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--teal);
  font-size: 0.95rem;
}

.on-this-page {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1rem 1rem;
  border-left: 4px solid var(--teal);
}

.on-this-page p {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.on-this-page ol {
  margin: 0;
  padding-left: 1.25rem;
}

.on-this-page a {
  display: inline-block;
  padding: 0.2rem 0;
}

.guide-list,
.days,
.prose ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.guide-list li,
.days li,
.prose li {
  margin: 0.75rem 0;
}

.days {
  list-style: none;
  padding-left: 0;
}

.days li {
  margin: 0 0 0.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--muted);
}

.days li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.days h3 {
  margin-top: 0;
}

.todo,
.empty {
  margin: 1.15rem 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
}

.todo {
  border: 2px solid var(--amber);
}

.todo p {
  margin: 0;
}

.empty {
  border: 2px solid var(--teal);
  font-size: 1.5rem;
  line-height: 1.3;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.15rem;
  border-top: 2px solid var(--muted);
  text-align: center;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.15rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--text);
  text-decoration: none;
}

.social-link:hover {
  color: var(--orange);
}

.social-link svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  fill: currentColor;
}

.footer-nav {
  margin-top: 0.15rem;
}

.footer-x {
  margin: 0;
}

.footer-x a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  text-decoration: none;
}

.footer-x a:hover {
  color: var(--orange);
}

.footer-x svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.3;
}

.prose h1 {
  margin-top: 0.75rem;
}

@media (max-width: 719px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav a {
    flex: 1 1 0;
  }
}

@media (min-width: 720px) {
  .wrap {
    padding-top: 1rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .swatch {
    width: 1.05rem;
    height: 1.05rem;
  }

  .palette {
    gap: 0.7rem;
  }

  .hero-lockup {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-logo {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 1.35rem;
  }

  .logo {
    width: 3rem;
    height: 3rem;
  }

  .wordmark {
    font-size: 1.35rem;
  }

  .hero-pills {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: center;
    width: auto;
    max-width: 100%;
  }

  .hero-pills .button {
    width: auto;
    white-space: nowrap;
  }

  button,
  .button {
    width: auto;
  }

  .nav {
    margin-left: auto;
  }
}

.faq-topic {
  margin-top: 0.35rem;
}

.faq-topic > summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  margin-top: 0.85rem;
  cursor: pointer;
  list-style: none;
}

.faq-topic > summary::-webkit-details-marker,
.faq-topic > summary::marker {
  display: none;
  content: "";
}

.faq-topic > summary::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.2rem;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
  flex: 0 0 auto;
}

.faq-topic[open] > summary::before {
  margin-top: 0.15rem;
  transform: rotate(45deg);
}

.faq-topic > summary h2 {
  margin: 0;
}

.faq-item {
  margin: 0.55rem 0;
}

.faq-item summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  border: 2px solid var(--text);
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  background: var(--text);
  color: var(--bg);
}

.faq-answer {
  max-width: 40rem;
  margin: 0.75rem 0 1.25rem;
  text-align: left;
}

.faq-draft {
  padding: 0.1rem 0.45rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faq-sources {
  padding-left: 1.2rem;
}
