@font-face {
  font-family: Webbrain;
  src: url("./space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  font-family: Webbrain, "Helvetica Neue", Arial, sans-serif;
  color: #22251f;
  background: #fafaf7;
  font-synthesis: none;
  --ink: #22251f;
  --muted: #71736c;
  --yellow: #ffe463;
  --line: #dedfd7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid #747820;
  outline-offset: 6px;
}
svg {
  display: block;
}
.page {
  max-width: 1120px;
  margin: auto;
  padding: 0 32px;
}
.masthead {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: flex;
  align-items: center;
  font-weight: 650;
  font-size: 25px;
  letter-spacing: -1.2px;
  gap: 0;
}
.domain {
  font-weight: 400;
  color: var(--muted);
}
.brand-icon {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  border: 1.6px solid var(--ink);
  border-radius: 9px;
  width: 31px;
  height: 30px;
  font-size: 23px;
  margin-right: 10px;
  font-weight: 500;
  line-height: 1;
  transform: rotate(-5deg);
}
.brand-icon span {
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background: var(--ink);
  position: absolute;
  top: 4px;
  right: 4px;
}
.source-link {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 14px;
}
.source-link svg {
  width: 20px;
  height: 20px;
}
.source-link.github-link {
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 36px;
  white-space: nowrap;
}
.source-link.github-link:hover {
  background: #fff;
}
.source-link.github-link .github-star {
  width: 14px;
  height: 14px;
}
.source-tag {
  color: var(--muted);
  margin-left: -4px;
}
.bot-page {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.hero {
  padding: 36px 48px 32px;
}
h1 {
  font-size: clamp(42px, 5.8vw, 72px);
  font-weight: 500;
  letter-spacing: -3.5px;
  line-height: 1.08;
  margin: 0 0 28px;
  white-space: nowrap;
}
.title-dot {
  color: var(--ink);
}
.identity {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  margin: 0 0 28px;
}
.url-prefix {
  display: flex;
  gap: 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -1.9px;
  white-space: nowrap;
}
.url-slash {
  color: #95978d;
  font-weight: 300;
}
.name-field {
  position: relative;
  flex: 1;
  min-width: 100px;
  display: flex;
  align-items: center;
}
.name-field input {
  width: 100%;
  border: 1px solid #d5d7ca;
  border-radius: 10px;
  background: #f9faf4;
  color: var(--ink);
  font-size: 32px;
  letter-spacing: -1.8px;
  padding: 9px 46px 10px 16px;
  line-height: 1.25;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.name-field input:hover {
  border-color: #85896f;
}
.name-field input:focus {
  background: #fffef2;
  border-color: #888b5c;
  outline: 2px solid #d9dda6;
  outline-offset: 3px;
}
.edit-icon {
  width: 19px;
  height: 19px;
  position: absolute;
  right: 20px;
  color: #787d68;
  pointer-events: none;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 170px;
  margin-bottom: 24px;
}
.intro-copy {
  padding: 5px 0;
}
.intro-copy p {
  font-size: clamp(23px, 2.5vw, 28px);
  line-height: 1.3;
  letter-spacing: -1.15px;
  margin: 0 0 8px;
}
.intro-copy .freedom {
  margin: 16px 0 0;
  font-size: 24px;
  letter-spacing: -0.8px;
}
.freedom span {
  display: inline-block;
  background: var(--yellow);
  border-radius: 6px;
  padding: 1px 8px 3px;
  margin-left: 3px;
  transform: rotate(-4deg);
}
.mascot {
  width: 164px;
  flex-shrink: 0;
  margin-right: 4px;
  position: relative;
  transform: rotate(-9deg);
}
.smile {
  width: 100%;
  height: auto;
}
.mascot-note {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1px;
  text-align: center;
  margin-top: 10px;
  transform: rotate(9deg);
  color: var(--muted);
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.primary-button {
  border: 1px solid var(--ink);
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 18px;
  min-height: 46px;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary-button svg {
  width: 21px;
  height: 21px;
  color: var(--yellow);
  flex-shrink: 0;
}
.primary-button:hover {
  background: #41463a;
  transform: translateY(-2px);
}
.primary-button:active {
  transform: translateY(0);
}
.download-link {
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: #cbcec0;
  text-underline-offset: 5px;
}
.download-link svg {
  width: 19px;
  height: 19px;
}
.download-link:hover {
  text-decoration-color: var(--ink);
}
.ownership-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  white-space: nowrap;
}
.comparison-block {
  /* Temporarily hidden; see TODO.md before restoring. */
  display: none;
  margin-top: 18px;
  padding: 30px 48px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.comparison-heading .eyebrow {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.3px;
}
.comparison-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.6px;
}
.comparison-heading > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.comparison-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.comparison-card {
  display: flex;
  min-height: 164px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.comparison-card-ours {
  background: color-mix(in srgb, var(--yellow) 22%, #fff);
  border-color: color-mix(in srgb, var(--yellow) 75%, #fff);
}
.card-kicker {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1px;
}
.comparison-card h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.comparison-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.comparison-card strong {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.comparison-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.instinct-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.instinct-note span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.6px;
}
.instinct-note strong {
  color: var(--ink);
  font-size: 13px;
}
.comparison-details {
  margin-top: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.comparison-details > summary {
  padding: 12px 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 550;
}
.comparison-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
  scrollbar-color: #b8baad #f3f4ef;
}
.comparison-scroll:focus-visible {
  outline-offset: 3px;
}
.comparison-table {
  width: 100%;
  min-width: 690px;
  border-spacing: 0;
  table-layout: fixed;
  text-align: left;
  font-size: 13px;
  line-height: 1.4;
}
.comparison-table th,
.comparison-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  overflow-wrap: break-word;
}
.comparison-table th {
  font-weight: 500;
}
.comparison-table thead th {
  font-size: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid var(--line);
}
.comparison-table thead th:first-child,
.comparison-table tbody th {
  padding-left: 0;
  color: var(--muted);
  font-size: 13px;
}
.comparison-table thead .comparison-ours {
  background: var(--yellow);
  font-weight: 650;
  letter-spacing: -0.4px;
}
.comparison-table tbody .comparison-ours {
  background: color-mix(in srgb, var(--yellow) 18%, #fff);
  font-weight: 500;
}
.comparison-table a:hover,
.comparison-sources a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.comparison-notes {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.comparison-notes > p {
  margin: 0;
  max-width: 510px;
}
.comparison-sources {
  flex-shrink: 0;
  max-width: 290px;
}
.comparison-sources summary {
  cursor: pointer;
}
.comparison-sources summary span {
  margin-left: 7px;
}
.comparison-sources p {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
}
.comparison-sources a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.footer a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer svg {
  width: 17px;
  height: 17px;
}
.footer a:hover {
  color: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.preview-dialog {
  width: min(490px, calc(100% - 32px));
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  box-shadow: 0 20px 80px #22251f26;
}
.preview-dialog::backdrop {
  background: #22251f70;
  backdrop-filter: blur(4px);
}
.close-button {
  position: absolute;
  top: 17px;
  right: 17px;
  background: none;
  border: 0;
  padding: 6px;
  border-radius: 6px;
}
.close-button svg {
  width: 22px;
  height: 22px;
}
.dialog-smile {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 52px;
  line-height: 1;
  background: var(--yellow);
  width: 56px;
  height: 56px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 14px;
}
.preview-dialog h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1.4px;
  margin: 0 0 10px;
}
.preview-dialog p {
  font-size: 14px;
  line-height: 1.6;
}
.preview-dialog .bot-address {
  font-size: 17px;
  overflow-wrap: anywhere;
  margin: 0 0 14px;
}
.connection-options {
  margin: 16px 0;
  padding: 4px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.connection-options strong {
  font-weight: 500;
  display: block;
}
.connection-options span {
  font-size: 14px;
  color: var(--muted);
}
.preview-dialog .preview-note {
  font-size: 13px;
  color: var(--muted);
}
.dialog-done {
  font-size: 16px;
  min-height: 48px;
  padding: 12px 22px;
  margin-top: 10px;
}
@media (max-width: 1100px) {
  .page {
    padding: 0 24px;
  }
  .hero {
    padding: 30px 36px 28px;
  }
  .comparison-block {
    padding-right: 36px;
    padding-left: 36px;
  }
  h1 {
    letter-spacing: -3.5px;
  }
  .mascot {
    width: 148px;
    margin-right: 0;
  }
  .identity {
    margin-bottom: 24px;
  }
  .intro-copy p {
    font-size: 26px;
  }
  .ownership-note {
    display: none;
  }
}
@media (max-width: 940px) {
  .comparison-scroll-hint {
    display: block;
  }
}
@media (max-width: 760px) {
  .page {
    padding: 0 16px;
  }
  .masthead {
    height: 64px;
  }
  .wordmark {
    font-size: 22px;
  }
  .source-tag {
    display: none;
  }
  .source-link {
    font-size: 13px;
    gap: 6px;
  }
  .bot-page {
    border-radius: 16px;
  }
  .hero {
    padding: 24px;
  }
  .comparison-block {
    padding: 24px;
    border-radius: 16px;
  }
  .comparison-cards {
    grid-template-columns: 1fr;
  }
  .comparison-card {
    min-height: 0;
    padding: 17px 18px;
  }
  .comparison-card p {
    margin-bottom: 10px;
  }
  .comparison-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 1px 0 var(--line);
  }
  .comparison-notes {
    flex-direction: column;
    gap: 10px;
  }
  .comparison-sources {
    max-width: 100%;
  }
  h1 {
    font-size: clamp(34px, 6.8vw, 48px);
    letter-spacing: -2.3px;
    margin-bottom: 22px;
  }
  .identity {
    gap: 10px;
    margin-bottom: 24px;
  }
  .url-prefix {
    font-size: 26px;
    letter-spacing: -1.1px;
    gap: 9px;
  }
  .name-field input {
    font-size: 27px;
    padding: 8px 34px 8px 12px;
    border-radius: 8px;
  }
  .edit-icon {
    width: 15px;
    height: 15px;
    right: 12px;
  }
  .intro {
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    min-height: 0;
  }
  .intro-copy p {
    font-size: 23px;
    letter-spacing: -0.8px;
    margin-bottom: 9px;
  }
  .intro-copy .freedom {
    font-size: 21px;
    margin-top: 16px;
  }
  .mascot {
    width: 116px;
    margin-top: 4px;
  }
  .mascot-note {
    font-size: 11px;
  }
  .actions {
    gap: 25px;
  }
  .primary-button {
    font-size: 16px;
    padding: 12px 16px;
    gap: 20px;
    min-height: 46px;
  }
  .download-link {
    font-size: 15px;
    gap: 8px;
  }
  .footer {
    min-height: 56px;
    font-size: 12px;
  }
  .footer > span {
    max-width: 210px;
  }
}
@media (max-width: 520px) {
  .page {
    padding: 0 12px;
  }
  .masthead {
    height: 58px;
  }
  .source-link {
    font-size: 12px;
  }
  .source-link svg {
    width: 17px;
  }
  .wordmark {
    font-size: 20px;
  }
  .brand-icon {
    width: 27px;
    height: 26px;
    font-size: 20px;
    margin-right: 8px;
  }
  .hero {
    padding: 22px 18px;
  }
  .comparison-block {
    padding: 20px 18px;
    margin-top: 12px;
  }
  .comparison-heading h2 {
    font-size: 28px;
    letter-spacing: -1.2px;
  }
  .comparison-heading > p {
    margin-bottom: 14px;
    font-size: 13px;
  }
  .comparison-table th,
  .comparison-table td {
    padding-right: 12px;
    padding-left: 12px;
  }
  .comparison-bottom {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
  }
  .comparison-bottom > p {
    font-size: 18px;
  }
  h1 {
    font-size: clamp(28px, 8.2vw, 40px);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
  }
  .identity {
    gap: 8px;
    margin-bottom: 22px;
  }
  .url-prefix {
    font-size: 20px;
    gap: 7px;
    letter-spacing: -1.1px;
  }
  .name-field input {
    font-size: 22px;
    padding: 8px 29px 8px 10px;
  }
  .edit-icon {
    right: 9px;
    width: 13px;
  }
  .intro {
    gap: 12px;
    margin-bottom: 20px;
  }
  .intro-copy {
    flex: 1;
    min-width: 0;
  }
  .intro-copy p {
    font-size: 20px;
  }
  .intro-copy .freedom {
    margin-top: 14px;
    font-size: 18px;
  }
  .mascot {
    width: 80px;
  }
  .mascot-note {
    display: none;
  }
  .actions {
    width: 100%;
    gap: 16px;
  }
  .primary-button {
    gap: 12px;
    padding: 12px;
    font-size: 15px;
  }
  .primary-button svg {
    width: 18px;
  }
  .download-link {
    font-size: 14px;
    gap: 7px;
  }
  .hero-bottom {
    display: block;
  }
  .ownership-note {
    display: block;
    text-align: left;
    margin-top: 14px;
    font-size: 12px;
  }
  .footer {
    gap: 15px;
    font-size: 11px;
    min-height: 54px;
  }
  .footer > span {
    max-width: 170px;
  }
  .footer a {
    gap: 5px;
    white-space: nowrap;
  }
  .footer svg {
    width: 15px;
  }
  .preview-dialog {
    padding: 22px;
  }
  .preview-dialog h2 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
