@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #102a43;
  --navy-raised: #1b3b53;
  --navy-line: #345269;
  --teal: #087f83;
  --teal-strong: #066569;
  --mint: #42d6b8;
  --mist: #eef4f6;
  --mist-deep: #e1ebef;
  --white: #ffffff;
  --text: #102a43;
  --slate: #486274;
  --line: #d6e1e7;
  --on-navy: #f4f9fc;
  --on-navy-muted: #b3c7d6;
  --danger: #a63a2b;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--teal-strong);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-s);
}
.skip:focus {
  top: 1rem;
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font: 700 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.button:hover {
  background: var(--teal-strong);
  border-color: var(--teal-strong);
}
.button-quiet {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.button-quiet:hover {
  background: var(--mist);
  border-color: var(--slate);
}
.button-small {
  min-height: 2.5rem;
  padding: 0.45rem 1.05rem;
  font-size: 0.9375rem;
}
.button-wide {
  width: 100%;
}
.button[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--teal-strong);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.logo img {
  width: 150px;
  height: auto;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.9375rem;
}
.site-header nav a:not(.button) {
  color: var(--navy);
  text-decoration: none;
}
.site-header nav a:not(.button):hover {
  color: var(--teal-strong);
  text-decoration: underline;
}

/* Hero */

.hero {
  padding-block: clamp(3rem, 7vw, 6rem) var(--section);
  background: var(--mist);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.3vw, 4.5rem);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--slate);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 2.1rem;
}
.status-line {
  margin-top: 2.25rem;
  font-size: 0.9375rem;
  color: var(--slate);
}

/* The ask card: the one moment on the page */

.ask {
  margin: 0;
}
.ask-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow:
    0 1px 0 rgba(16, 42, 67, 0.04),
    0 28px 60px -32px rgba(16, 42, 67, 0.35);
}
.ask-from {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9375rem;
  color: var(--slate);
}
.ask-from strong {
  color: var(--navy);
}
.bot-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
  flex: none;
}
.ask-body {
  margin-top: 1.25rem;
}
.ask-request {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  font-weight: 480;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.ask-request strong {
  font-weight: 650;
}
.ask-detail {
  margin: 1.3rem 0 0;
  border-top: 1px solid var(--line);
}
.ask-detail div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.ask-detail dt {
  color: var(--slate);
}
.ask-detail dd {
  margin: 0;
}
.ask-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.ask-always {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.5rem;
  background: none;
  border: 0;
  color: var(--slate);
  font: inherit;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.ask-always:hover {
  color: var(--navy);
}
.ask-result {
  min-height: 15.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}
.ask-outcome {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  font-weight: 520;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ask-outcome:focus {
  outline: none;
}
.ask-outcome::before {
  content: "";
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--teal) center / 1.1rem no-repeat;
}
.ask-card[data-state="once"] .ask-outcome::before,
.ask-card[data-state="always"] .ask-outcome::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.ask-card[data-state="no"] .ask-outcome::before {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
.ask-explain {
  color: var(--slate);
  max-width: 30rem;
}
.ask-again {
  align-self: flex-start;
  margin-top: 0.4rem;
}
.ask figcaption {
  margin-top: 1rem;
  padding-left: 0.25rem;
  font-size: 0.9375rem;
  color: var(--slate);
}

@media (prefers-reduced-motion: no-preference) {
  .ask-body:not([hidden]) {
    animation: settle 0.32s ease-out;
  }
  @keyframes settle {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Sections */

.family,
.steps,
.security,
.note,
.join {
  padding-block: var(--section);
}
section h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
}
.section-intro {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1.1875rem;
  color: var(--slate);
}

/* The wee family */

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.product:first-of-type {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.wordmark {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.wordmark span {
  color: var(--teal);
}
.pill {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
  font-size: 0.875rem;
}
.pill-pilot {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--slate);
}
.promise {
  margin-top: 1rem;
  max-width: 22rem;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--slate);
}
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.features li {
  position: relative;
  padding-left: 1.65rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 2px solid var(--teal);
}

/* How an assistant asks */

.steps {
  background: var(--mist);
}
.step-list {
  list-style: none;
  counter-reset: step;
  margin: clamp(2.25rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.step-list li {
  counter-increment: step;
}
.step-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}
.step-list h3 {
  font-size: 1.45rem;
}
.step-list p {
  margin-top: 0.6rem;
  color: var(--slate);
}

/* What we can see */

.security {
  background: var(--navy);
  color: var(--on-navy);
}
.security .section-intro {
  color: var(--on-navy-muted);
}
.see-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-top: clamp(2.25rem, 4vw, 3rem);
}
.see {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-m);
  background: var(--navy-raised);
}
.see:first-child {
  box-shadow: inset 0 0 0 1px rgba(66, 214, 184, 0.45);
}
.see h3 {
  font-size: 1.5rem;
  color: var(--white);
}
.see:first-child h3 {
  color: var(--mint);
}
.see ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.see li {
  padding-top: 0.6rem;
  border-top: 1px solid var(--navy-line);
  color: var(--on-navy);
}
.see li:first-child {
  border-top: 0;
  padding-top: 0;
}
.promise-note {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  max-width: 44rem;
  font-size: 1.125rem;
  color: var(--on-navy-muted);
}

/* Founder note */

.note-inner {
  max-width: 50rem;
}
.note blockquote {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.01em;
}
.note blockquote p + p {
  margin-top: 1.2em;
}
.signature {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--slate);
}
.sig-name {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 2.2rem;
  font-weight: 380;
  line-height: 1;
  color: var(--teal-strong);
  transform: rotate(-3deg);
  transform-origin: left bottom;
  margin-bottom: 0.5rem;
}

/* Join */

.join {
  background: var(--mist);
}
.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.join-copy p {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 1.1875rem;
  color: var(--slate);
}
.join-form,
.joined {
  width: 100%;
  max-width: 34rem;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border: 1px solid var(--line);
}
.joined {
  grid-column: 2;
}
.joined:focus {
  outline: none;
}
.joined h3 {
  font-size: 2rem;
}
.joined p {
  margin-top: 0.75rem;
  color: var(--slate);
}
.field {
  margin: 0 0 1.25rem;
}
.field > label:not(.choice),
.interests legend {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  font-weight: 700;
}
.optional {
  font-weight: 400;
  color: var(--slate);
}
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #b9c9d3;
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--text);
  font: inherit;
}
.field input:focus-visible {
  outline: 3px solid rgba(8, 127, 131, 0.35);
  outline-offset: 0;
  border-color: var(--teal);
}
.field input[aria-invalid="true"] {
  border-color: var(--danger);
}
.field-error {
  margin-top: 0.4rem;
  color: var(--danger);
  font-size: 0.9375rem;
}
.interests {
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.interests legend {
  padding: 0;
  margin-bottom: 0.6rem;
}
.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  padding: 0.5rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
}
.choice:hover {
  border-color: #b9c9d3;
}
.choice:has(input:checked) {
  border-color: var(--teal);
  background: #f1faf8;
}
.choice input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--teal);
  margin: 0;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 0.85rem;
  font-size: 0.9375rem;
  color: var(--danger);
}
.form-status:empty {
  display: none;
}
.fine-print {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--slate);
}

/* Footer */

.site-footer {
  padding-block: 3rem;
  background: var(--navy);
  color: var(--on-navy-muted);
  font-size: 0.9375rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
}
.footer-inner img {
  width: 140px;
  height: auto;
}
.site-footer nav {
  display: flex;
  gap: 1.5rem;
}
.site-footer a {
  color: var(--on-navy);
}
.site-footer .copyright {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--navy-line);
  font-size: 0.875rem;
}

/* Privacy page */

.legal {
  padding-block: clamp(3rem, 7vw, 5rem) var(--section);
}
.legal .wrap {
  max-width: 46rem;
}
.legal h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}
.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
}
.legal p,
.legal ul {
  margin-top: 0.9rem;
}
.legal ul {
  padding-left: 1.25rem;
}
.legal li + li {
  margin-top: 0.4rem;
}
.legal .updated {
  margin-top: 0.75rem;
  color: var(--slate);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .ask {
    max-width: 32rem;
  }
  .step-list {
    grid-template-columns: 1fr;
  }
  .step-list li {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    column-gap: 1.1rem;
  }
  .step-list li::before {
    grid-row: span 2;
    margin-bottom: 0;
  }
  .promise {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .join-grid,
  .product {
    grid-template-columns: 1fr;
  }
  .joined {
    grid-column: auto;
  }
  .site-header nav a:not(.button) {
    display: none;
  }
  .see-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .logo img {
    width: 124px;
  }
  .header-inner .button-small {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 340px) {
  .interests {
    grid-template-columns: 1fr;
  }
  .ask-detail div {
    grid-template-columns: 4.6rem 1fr;
  }
}
