@font-face {
  font-family: Public Sans;
  src: url(/fonts/public-sans-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
h1,
h2,
h3,
.brand {
  font-family: "Public Sans", sans-serif;
}
.related svg {
  vertical-align: middle;
  margin-left: 6px;
}
:root {
  --paper: #fafbf8;
  --ink: #203c34;
  --muted: #52665e;
  --teal: #176b59;
  --line: #d5dfd8;
  --wash: #edf3ee;
  --error: #8c332b;
  --radius: 12px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
::selection {
  background: #c8e7d9;
  color: #17382d;
}
html {
  scrollbar-color: var(--teal) var(--wash);
}
a {
  color: var(--teal);
  text-underline-offset: 0.22em;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
:focus-visible {
  outline: 3px solid #27866e;
  outline-offset: 4px;
}
header,
.tool-nav,
main,
footer {
  width: min(960px, calc(100% - 48px));
  margin-inline: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.brand svg {
  color: var(--teal);
}
.domain {
  font-weight: 400;
  color: var(--muted);
}
.header-help {
  font-size: 14px;
}
.tool-nav {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.tool-nav a {
  padding-block: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.tool-nav a[aria-current] {
  color: var(--teal);
  font-weight: 650;
  border-bottom: 2px solid var(--teal);
  margin-bottom: -1px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  text-wrap: balance;
}
h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
h2 {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
p {
  margin: 0 0 18px;
}
.workspace {
  padding-block: 42px 35px;
}
.intro {
  font-size: 18px;
  max-width: 62ch;
  margin-bottom: 28px;
}
form {
  max-width: 820px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 8px;
}
.search-row {
  display: flex;
  gap: 10px;
}
input {
  width: 100%;
  min-width: 0;
  border: 1px solid #aebeb3;
  border-radius: var(--radius);
  padding: 15px 18px;
  min-height: 58px;
  color: var(--ink);
  background: white;
  caret-color: var(--teal);
}
input::placeholder {
  color: var(--muted);
}
.search-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--teal);
  color: white;
  padding: 15px 23px;
  white-space: nowrap;
  font-weight: 600;
  min-height: 58px;
}
.search-row button:hover {
  background: #105241;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}
#status {
  margin-top: 24px;
}
.initial-note {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.notice {
  background: var(--wash);
  padding: 18px 20px;
  border-radius: var(--radius);
}
.notice h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.notice p {
  margin: 0;
  font-size: 15px;
}
.notice.error {
  color: var(--error);
  background: #faf0ed;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--teal);
  padding: 8px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  min-height: 44px;
}
.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
#recent {
  margin-top: 18px;
  max-width: 820px;
}
#recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#recent-list button {
  background: var(--wash);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  min-height: 44px;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  margin: 25px 0 16px;
}
.results-heading h2 {
  font-size: 22px;
  margin: 0;
  overflow-wrap: anywhere;
}
.results-heading span {
  color: var(--muted);
  font-size: 14px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.story {
  min-width: 0;
}
.story img,
.story video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: contain;
  background: #19241f;
  border-radius: var(--radius);
  display: block;
}
.story time {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin: 10px 0 6px;
}
.download {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--teal);
  color: var(--teal);
  background: white;
  border-radius: 10px;
  padding: 10px;
}
.download:hover {
  background: var(--wash);
}
.story-error {
  color: var(--error);
  font-size: 14px;
  margin-top: 8px;
}
.guide {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: 75ch;
}
.guide ol {
  padding-left: 25px;
  margin: 0 0 18px;
}
.guide li {
  padding-left: 6px;
  margin-bottom: 10px;
}
.guide > p {
  font-size: 14px;
  color: var(--muted);
}
.faq {
  margin-top: 40px;
  max-width: 75ch;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 17px 3px;
  cursor: pointer;
  font-weight: 550;
}
details p {
  color: var(--muted);
  padding: 0 3px 17px;
  margin: 0;
}
.related {
  margin: 40px 0 50px;
}
.related a {
  display: inline-block;
  margin-right: 30px;
  min-height: 44px;
  padding: 8px 0;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 27px 35px;
  color: var(--muted);
  font-size: 13px;
}
.footer-brand {
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
}
footer p {
  margin: 9px 0 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
footer nav a {
  padding-block: 6px;
}
.legal-page {
  padding-block: 40px 55px;
  max-width: 75ch;
}
.legal-page h2 {
  font-size: 22px;
  margin-top: 32px;
}
.legal-page ul {
  padding-left: 24px;
}
.skip {
  position: absolute;
  left: 20px;
  top: -90px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
.loading {
  border-radius: var(--radius);
  background: var(--wash);
  padding: 16px 20px;
  animation: loading 1.4s ease-out infinite;
}
@keyframes loading {
  50% {
    background: #dcece2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loading {
    animation: none;
  }
}
@media (max-width: 600px) {
  header,
  .tool-nav,
  main,
  footer {
    width: calc(100% - 36px);
  }
  header {
    padding-block: 18px;
  }
  .brand {
    font-size: 20px;
  }
  .tool-nav {
    gap: 0;
    justify-content: space-between;
  }
  .tool-nav a {
    font-size: 12px;
    padding-block: 11px;
  }
  .workspace {
    padding-top: 30px;
  }
  h1 {
    font-size: 32px;
  }
  .intro {
    font-size: 16px;
    margin-bottom: 23px;
  }
  .search-row {
    flex-direction: column;
  }
  .search-row input {
    font-size: 16px;
    padding: 14px;
  }
  .search-row button {
    min-height: 52px;
    padding: 12px;
  }
  .muted {
    font-size: 13px;
  }
  .guide {
    padding-top: 28px;
  }
  h2 {
    font-size: 23px;
  }
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .results-heading {
    flex-wrap: wrap;
  }
  .results-heading h2 {
    font-size: 20px;
  }
  .story time {
    font-size: 12px;
  }
  .related a {
    display: block;
    margin: 0;
  }
  footer nav {
    gap: 6px 17px;
  }
}
