:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --text: #111111;
  --text-soft: #444444;
  --link: #111111;
  --line: rgba(17, 17, 17, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #d8d8d8;
    --text-soft: #9a9a9a;
    --link: #d8d8d8;
    --line: rgba(216, 216, 216, 0.14);
  }
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--bg);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 1.15rem;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  border-radius: 0.35rem;
  overflow: hidden;
}

.brand-mark:hover {
  text-decoration: none;
}

.brand-mark:focus-visible {
  outline: 1px solid var(--text-soft);
  outline-offset: 3px;
}

.brand-mark img,
.brand-mark picture {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark img {
  object-fit: cover;
  object-position: center;
  border-radius: 0.35rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a:focus-visible {
  outline: 1px solid var(--text-soft);
  outline-offset: 3px;
}

.page-footer {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-year {
  font-size: inherit;
  font-weight: inherit;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-soft);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.footer-brand:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-brand:focus-visible {
  outline: 1px solid var(--text-soft);
  outline-offset: 3px;
}

/* Shared page chrome */
.site-header,
main,
.page-footer {
  width: min(720px, calc(100% - 2.5rem));
  margin-inline: auto;
}

main {
  padding: 3.5rem 0 4rem;
}

main.stub {
  padding: 2.5rem 0;
}

.waitlist {
  width: min(30rem, 100%);
  margin: 0 auto;
}

.waitlist-embed {
  padding: 1.35rem 1.35rem 1.15rem;
  background: #4a5568;
  border-radius: 0.65rem;
  overflow: hidden;
}

.waitlist iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.stub h1 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.55;
}

.stub p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.15rem;
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.prose h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.prose h2 {
  margin: 2.25rem 0 0.7rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
}

.prose h1 + .faq h2 {
  margin-top: 1.25rem;
}

.faq-list {
  margin-top: 0.75rem;
  border-top: 1px dashed var(--line);
}

.faq-item {
  border-bottom: 1px dashed var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
}

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

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.15rem;
  border-right: 1.5px solid var(--text-soft);
  border-bottom: 1.5px solid var(--text-soft);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  margin-top: 0.2rem;
  transform: rotate(225deg);
}

.faq-item summary:focus-visible {
  outline: 1px solid var(--text-soft);
  outline-offset: 3px;
}

.faq-answer {
  padding: 0 1.75rem 1.15rem 0;
}

.faq-answer p {
  margin: 0 0 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.prose p,
.prose ul {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  color: var(--text);
}

.meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.support-contact {
  margin-top: 2rem;
}

.support-contact h2 {
  margin-top: 0;
}

.support-embed {
  margin-top: 1.25rem;
  padding: 1.1rem 1.1rem 0.95rem;
  background: #4a5568;
  border-radius: 0.65rem;
  overflow: hidden;
}

.support-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}
