:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #000000;
  --muted: #6e6e73;
  --pressed: #292929;
  --focus: #007aff;
  --sketch-gap: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
html.story-site { scroll-snap-type: y mandatory; scroll-behavior: smooth; }
.story-site .landing, .story-site .panel { scroll-snap-align: start; scroll-snap-stop: always; }
.story-site .profile-aside { min-height: 100svh; }
.story-arrow { position: fixed; left: 50%; z-index: 10; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 44px; min-height: 44px; padding: 4px; border: 0; background: transparent; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.story-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.story-up { top: max(12px, env(safe-area-inset-top)); }
.story-down { bottom: max(12px, env(safe-area-inset-bottom)); }
.story-down.is-scroll-hint svg { animation: scroll-hint 1.6s ease-in-out 4.8s 3; }
@keyframes scroll-hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.story-arrow:hover { opacity: .55; }
.story-arrow:active { opacity: .35; }
.story-arrow:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html.story-site { scroll-behavior: auto; scroll-snap-type: none; } }
@media (prefers-reduced-motion: reduce) { .story-down.is-scroll-hint svg { animation: none; } }
.privacy-page { max-width: 680px; margin: 0 auto; padding: 64px 24px 96px; font-size: 16px; line-height: 1.65; }
.privacy-page h1 { margin: 48px 0 24px; font-size: 36px; line-height: 1.15; letter-spacing: -.035em; }
.privacy-page h2 { margin: 36px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.privacy-page p { margin: 0 0 16px; }
.privacy-page a { color: inherit; }

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(56px, env(safe-area-inset-top)) 24px max(56px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.identity { display: flex; flex-direction: column; align-items: center; gap: 14px; }
img, svg { display: block; max-width: 100%; height: auto; }
.logo { width: 104px; }
h1 { margin: 0; line-height: 0; }
.wordmark { width: clamp(230px, 28vw, 300px); }

/* The face draws itself once, stroke by stroke, like a persons timelapse. */
.logo .stroke { stroke-dasharray: 1 2; animation: draw var(--d) cubic-bezier(.5, 0, .3, 1) var(--at) both; }
.logo .head { --at: .25s; --d: .7s; }
.logo .body { --at: 1.05s; --d: .5s; }
.logo .smile { --at: 1.95s; --d: .3s; }
.logo .eye { transform-box: fill-box; transform-origin: center; animation: dot .12s ease-out 1.65s both; }
.logo .eye.right { animation-delay: 1.78s; }
/* Once the face is finished, write the existing wordmark one letter at a time. */
.wordmark path { stroke-dasharray: 1 2; animation: draw .36s cubic-bezier(.5, 0, .3, 1) both; }
.wordmark path:nth-child(1) { animation-delay: 2.35s; }
.wordmark path:nth-child(2) { animation-delay: 2.65s; }
.wordmark path:nth-child(3) { animation-delay: 2.95s; }
.wordmark path:nth-child(4) { animation-delay: 3.25s; }
.wordmark path:nth-child(5) { animation-delay: 3.55s; }
.wordmark path:nth-child(6) { animation-delay: 3.85s; }
.wordmark path:nth-child(7) { animation-delay: 4.15s; }
@keyframes draw { from { stroke-dashoffset: 1.05; } to { stroke-dashoffset: 0; } }
@keyframes dot { from { transform: scale(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo .stroke, .logo .eye, .wordmark path { animation: none; }
}

.description, .headline {
  margin: 0;
  font-size: clamp(30px, 6.4vw, 40px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.16;
  text-align: center;
}
/* Matching, straightforward controls in the site’s system font. */
.hero-actions { display: flex; justify-content: center; gap: 10px; width: min(360px, 100%); margin-top: 48px; animation: reveal-hero-actions .3s ease-out 4.51s both; }
@keyframes reveal-hero-actions { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
@media (prefers-reduced-motion: reduce) { .hero-actions { animation: none; } }
.hero-more, .waitlist.hero-waitlist {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 1 1 0; min-width: 0; min-height: 48px; margin: 0; padding: 0 14px;
  border: 0; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: -.01em;
  white-space: nowrap; text-decoration: none; box-shadow: none;
  transition: background-color .15s ease, transform .1s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-more { background: #f0f0f2; color: var(--ink); }
.waitlist.hero-waitlist { background: var(--ink); color: var(--paper); }
.hero-more:hover { background: #e6e6e9; }
.waitlist.hero-waitlist:hover { background: var(--pressed); }
.hero-more:active, .waitlist.hero-waitlist:active { transform: scale(.97); }
.hero-more:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hero-more, .waitlist.hero-waitlist { transition: none; } .hero-more:active, .waitlist.hero-waitlist:active { transform: none; } }

/* One idea per screen, with the same breathing room on phone and laptop. */
.commercial { text-align: center; }
.panel {
  min-height: 100vh;
  min-height: 100svh;
  padding: max(80px, 14svh) 24px;
  display: grid;
  place-items: center;
}
.beat {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(680px, 100%);
  text-align: center;
}
.commercial .headline { font-size: clamp(34px, 5vw, 60px); line-height: 1.1; letter-spacing: -.045em; text-wrap: balance; }
.sketch { width: 80px; height: 80px; margin-bottom: var(--sketch-gap); flex: none; }
.introduction .sketch { width: 104px; height: 104px; }
.drawing-panel .sketch { width: 104px; height: 104px; }
.no-friends-sketch { width: min(184px, 85%); height: auto; margin-bottom: 36px; }
.answer { margin: 0; font-size: clamp(34px, 5vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.body-copy { margin: 28px 0 0; max-width: 440px; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; letter-spacing: -.02em; text-wrap: balance; }
.share-person { margin-top: 18px; border: 0; border-radius: 999px; padding: 12px 18px; min-height: 44px; background: #f0f0f2; color: #000; font-size: 15px; font-weight: 600; cursor: pointer; }
.share-person:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.profile-faces { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 24px); margin: 0 0 var(--sketch-gap); }
.profile-faces img { width: clamp(52px, 15vw, 88px); height: auto; border-radius: 50%; }
.profile-faces img:nth-child(1) { transform: rotate(-6deg); }
.profile-faces img:nth-child(2) { transform: rotate(4deg); }
.profile-faces img:nth-child(3) { transform: rotate(-3deg); }
.profile-faces img:nth-child(4) { transform: rotate(6deg); }
.beat > .waitlist { margin-top: 36px; }
.closing { position: relative; }
.site-footer { position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); left: 24px; right: 24px; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.footer-note { max-width: 520px; margin: 0 auto 12px; }
.site-copyright { margin: 0; }
.site-copyright a, .site-copyright a:visited { color: var(--ink); }

.thoughts-panel { position: relative; overflow: hidden; min-height: max(680px, 100svh); }
.thoughts-panel .beat { position: relative; z-index: 1; }
.thoughts-doodles { position: absolute; inset: 0; pointer-events: none; }
.thoughts-doodles img { position: absolute; width: clamp(72px, 11vw, 145px); height: auto; }
.thought-cat { top: 12%; left: 13%; transform: rotate(-10deg); }
.thought-coffee { top: 12%; right: 13%; transform: rotate(9deg); }
.thought-film { bottom: 12%; left: 15%; transform: rotate(8deg); }
.thought-question { bottom: 12%; right: 15%; transform: rotate(-8deg); }
.superfriend-line { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.superfriend-line img { width: clamp(52px, 8vw, 72px); height: auto; flex: none; }
.life-copy { max-width: 510px; }
@media (max-width: 480px) {
  .superfriend-line { font-size: clamp(28px, 8.5vw, 34px); }
  .thought-cat, .thought-film { left: 8%; }
  .thought-coffee, .thought-question { right: 8%; }
  .thoughts-panel .body-copy { max-width: 270px; }
}

.signup { margin-top: 24px; width: min(400px, 100%); text-align: center; }
.signup-row { display: flex; gap: 8px; }
input, button { font: inherit; }
input[type="email"] {
  width: 100%; min-width: 0; min-height: 52px;
  padding: 15px 18px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 20px;
}
input::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.waitlist {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; flex: none; padding: 15px 24px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 600; line-height: 20px;
  text-decoration: none; -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.waitlist:hover, .waitlist:active { background: var(--pressed); }
.waitlist:disabled { opacity: .45; cursor: not-allowed; }
.waitlist:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }

.signup-note, .signup-status { font-size: 12px; line-height: 1.5; }
.signup-note { margin: 14px 0 0; color: var(--muted); }
.surprise-agreement { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; min-height: 44px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.surprise-agreement input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--ink); }
.signup-status { margin: 10px 0 0; }
.signup-status:empty { display: none; }
.signup-status[data-error] { color: #b42318; }
.honeypot, .visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

@media (max-height: 600px) {
  .landing { padding-top: 32px; padding-bottom: 32px; }
  .logo { width: 80px; }
  .identity { gap: 12px; }
  .hero-actions { margin-top: 32px; }
  .signup { margin-top: 20px; }
  .sponsor { bottom: 4px; }
}


/* A complete gesture on arrival, replayed by the same accessible button. */
.private-person, .public-person { display: block; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.private-person-art, .public-person-art { width: 100%; height: 100%; overflow: visible; }
.private-person:focus-visible, .public-person:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: 12px; }
    .persons-private-left,.persons-private-right{transform-box:view-box;animation-duration:2s;animation-timing-function:ease-in-out;animation-iteration-count:1}
    .persons-private-left{transform-origin:8.1px 12.1px;animation-name:none}
    .persons-private-right{transform-origin:15.6px 12.2px;animation-name:none}
    .private-person-art.is-playing .persons-private-left{animation-name:persons-private-touch-left}
    .private-person-art.is-playing .persons-private-right{animation-name:persons-private-touch-right}
    @keyframes persons-private-touch-left{0%,6%,38%,76%,100%{transform:rotate(0deg)}20%,25%,52%,57%{transform:rotate(-14deg)}}
    @keyframes persons-private-touch-right{0%,6%,38%,76%,100%{transform:rotate(0deg)}20%,25%,52%,57%{transform:rotate(14deg)}}
    @media(prefers-reduced-motion:reduce){.persons-private-left,.persons-private-right{animation:none}}

.persons-public-hand { transform-box: view-box; transform-origin: 3.4px 9.2px; }
.public-person-art.is-playing .persons-public-hand { animation: persons-public-wave 2s ease-in-out 1; }
@keyframes persons-public-wave { 0%,8%,38%,68%,100% { transform: rotate(0deg); } 23%,53% { transform: rotate(12deg); } }
@media (prefers-reduced-motion: reduce) { .public-person-art.is-playing .persons-public-hand { animation: none; } }

/* A small earnest infomercial, in the same ink and paper as Persons. */
.infomercial .panel { padding-left: 16px; padding-right: 16px; }
.before-art { width: 160px; height: 120px; margin-bottom: 26px; }
.before-question { margin: 24px 0 0; color: var(--muted); font-size: 16px; }
.demo-panel { padding-top: 56px; padding-bottom: 56px; }
.demo-host-face { width: 72px; height: 72px; margin-top: 20px; padding: 0; color: #000; border: 0; background: none; cursor: pointer; }
.demo-host-face svg { width: 100%; height: 100%; }
.demo-host-face.is-playing path { stroke-dasharray: 1 1; animation: demo-line 1s ease-out both; }
.demo-host-face.is-playing path + path { animation-delay: .8s; }
@keyframes demo-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.demo-nailed, .demo-turn { margin: 5px 0 0; font-size: 15px; }
.demo-panel.is-demo-playing .demo-nailed { animation: demo-caption .2s ease-out 1.8s both; }
@keyframes demo-caption { from { opacity: 0; } to { opacity: 1; } }
.demo-turn { margin: 14px 0 8px; font-weight: 600; }
#face-canvas { display: block; width: min(210px, 58vw); height: auto; aspect-ratio: 1; background: #fff; border: 1px solid #ededed; border-radius: 4px; touch-action: none; cursor: crosshair; }
.face-actions { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.face-actions button { border: 0; border-radius: 999px; padding: 10px 17px; min-height: 44px; background: #f0f0f2; color: #000; font-size: 15px; font-weight: 600; cursor: pointer; }
.face-actions button:last-child { background: #000; color: #fff; }
.face-actions button:disabled { opacity: .4; cursor: default; }
.face-actions button:focus-visible, .demo-host-face:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.face-status { min-height: 18px; margin: 7px 0 0; font-size: 12px; color: var(--muted); }
.face-result img { width: min(180px, 48vw); height: auto; border: 1px solid #ededed; }
.demo-panel.is-result #face-canvas, .demo-panel.is-result .beat > .face-actions { display: none; }
.feed-product { padding-top: 56px; padding-bottom: 56px; }
.feed-product .body-copy { margin: 14px 0 18px; }
.feed-phone { width: min(230px, 58vw, 34svh); height: auto; }
.montage-beat { min-height: 55svh; padding: 56px 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.montage-beat h2 { margin: 0; font-size: clamp(27px, 4vw, 46px); line-height: 1.14; letter-spacing: -.04em; text-wrap: balance; }
.montage-beat p { margin: 18px 0 0; max-width: 370px; font-size: 16px; line-height: 1.4; }
.montage-beat .sketch { margin-bottom: 24px; }
.montage-doodles { display: flex; justify-content: center; gap: 12px; margin-bottom: 28px; }
.montage-doodles img { width: min(62px, 18vw); }
.montage-beat .profile-faces { margin: 0 0 28px; }
.montage-star { width: 48px; margin-top: 18px; }
.testimonials { padding-top: 64px; padding-bottom: 64px; }
.fictional-label { margin: 14px 0 24px; font-size: 14px; color: var(--muted); }
.testimonial-list { width: min(560px, 100%); display: grid; gap: 20px; }
.testimonial-list article { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; text-align: left; align-items: start; }
.testimonial-list img { width: 46px; grid-row: span 2; }
.testimonial-list blockquote { margin: 0; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.35; }
.testimonial-list article p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
/* At the end of the page, fill Safari's expanded viewport so the last snap
   can align at the top instead of stopping short at the document boundary. */
.closing { min-height: 100vh; min-height: 100dvh; padding-block: max(80px, 14svh); }
@media (prefers-reduced-motion: reduce) { .demo-host-face.is-playing path, .demo-panel.is-demo-playing .demo-nailed { animation: none; } }

.profile-aside { min-height: 65svh; }
.profile-aside .profile-faces { margin-top: 0; }

/* Story hierarchy keeps each screen focused on one idea. */
.hero-actions { margin-top: 32px; }
.commercial .beat { width: min(1000px, 100%); }
.commercial .headline { font-size: clamp(36px, 5.8vw, 78px); line-height: 1.03; letter-spacing: -.05em; }
.commercial .body-copy { max-width: 460px; color: #55555a; font-size: clamp(17px, 1.65vw, 21px); line-height: 1.5; }
#about-persons .headline { max-width: 1050px; font-size: clamp(38px, 6.3vw, 88px); }
.profile-faces { gap: clamp(12px, 2.5vw, 28px); }
.profile-faces img { width: clamp(52px, 16vw, 120px); }

.masterpieces-panel.panel { padding: max(68px, 9svh) 24px; }
.masterpiece-art { width: min(600px, 100%); height: auto; margin-top: 32px; }
@media (max-width: 600px) { .masterpiece-art { margin-top: 28px; } }

.topic-example { width: min(480px, 100%); margin: 28px 0 0; padding: 24px; border: 1.5px solid var(--ink); font-size: clamp(22px, 2.5vw, 30px); font-weight: 500; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }

#community-heading sup { font-size: .45em; line-height: 0; vertical-align: super; }

.unsubscribe-page { min-height: 100svh; display: grid; place-items: center; padding: 64px 24px; text-align: center; }
.unsubscribe-page > div { max-width: 720px; }
.unsubscribe-page .body-copy { margin: 28px auto 0; max-width: 440px; }

.unsubscribe-person { width: 96px; height: 96px; margin: 0 auto 24px; }
.unsubscribe-confirmation { margin: 24px auto 0; max-width: 440px; font-size: 15px; font-weight: 600; line-height: 1.5; }

.sketch-comments { width: min(540px, 100%); list-style: none; margin: 26px 0 0; padding: 0; text-align: left; }
.comment-row { display: flex; align-items: flex-start; gap: 10px; }
.comment-replies { position: relative; list-style: none; margin: 14px 0 0 40px; padding: 0; }
.comment-thread { position: absolute; left: -26px; top: -18px; width: 26px; height: 38px; }
.comment-person { width: 32px; height: 32px; flex: none; border-radius: 50%; }
.sketch-comment { flex: 1; min-width: 0; }
.comment-author { display: block; font-size: 11px; line-height: 1.4; color: var(--muted); }
.comment-author-badge { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px; background: #f0f0f2; color: var(--ink); font-size: 10px; }
.sketch-comment p { margin: 3px 0 0; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.35; letter-spacing: -.015em; }
