@font-face { font-family: Manrope; src: url('body.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('semibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url('headline.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: StewardHandwriting; src: url('handwriting.woff2') format('woff2'); font-display: swap; }

:root {
  color-scheme: light;
  --ink: #17171d;
  --muted: #53535f;
  --rule: #e3e3e9;
  --sans: Manrope, system-ui, sans-serif;
  --hand: StewardHandwriting, cursive;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
h1, h2, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #6156af; outline-offset: 4px; }
.frame { width: min(calc(100% - clamp(2.5rem, 9vw, 10rem)), 76rem); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto .5rem; z-index: 5; padding: .5rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header { padding-block: clamp(.9rem, 2.3svh, 1.55rem); }
.brand { display: inline-flex; align-items: center; gap: .48rem; text-decoration: none; min-height: 2.75rem; }
.brand { font-size: 1.65rem; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.brand svg { width: 1.9rem; height: 1.9rem; }
.landing { flex: 1; display: flex; flex-direction: column; }
.product-intro {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.35rem, 4.5svh, 3.4rem);
}
h1 { font-size: clamp(3.5rem, 5.65vw, 5.6rem); font-weight: 800; letter-spacing: -.059em; line-height: 1.02; }
h1 em { display: block; font-style: normal; }
.intro { max-width: 39ch; margin-block: 1.4rem 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.17rem); line-height: 1.62; text-wrap: pretty; }
.store-badges { display: flex; align-items: center; flex-wrap: wrap; gap: .18rem; }
.store-badges img { display: block; max-width: 100%; height: auto; }
.apple-badge { width: 8rem; }
.google-badge { width: 10rem; }

.conversation { isolation: isolate; position: relative; width: 100%; padding-bottom: 1.55rem; }
.conversation::before {
  content: ''; position: absolute; z-index: -1; inset: -3% -2%;
  background: radial-gradient(ellipse at center, #cbc9fa 0%, #ecebfb 39%, transparent 70%);
}
.devices { width: min(100%, 68svh, 36rem); margin: auto; position: relative; padding: 1.4rem 0 .8rem; }
.phone-link { display: block; position: relative; width: 45%; margin-left: 6%; transform: rotate(-5deg); cursor: zoom-in; border-radius: 15% / 7%; }
.phone { display: block; width: 100%; height: auto; filter: drop-shadow(0 1rem 1rem #1f1c3d25); }
.phone-zoom { display: none; }
.practice-screen {
  display: block; position: absolute; right: 6%; top: 3%; width: 40%; height: auto;
  border: clamp(3px,.38vw,6px) solid #202025; border-radius: 16% / 7.5%;
  box-shadow: inset 0 0 0 1px #888, 0 1rem 1.8rem #312d4826;
  transform: rotate(7deg); background: #f4f4f4;
}
.questions {
  position: relative; display: flex; align-items: center;
  margin: -1.55rem 2% 0 auto; width: fit-content; max-width: 88%;
  padding: .8rem 1.15rem; background: #242331; color: white;
  border-radius: 1.2rem 1.2rem 1.2rem .25rem; box-shadow: 0 .6rem 1.6rem #28234425;
}
.question-bubble { display: grid; max-width: 22ch; align-items: center; }
.question { grid-area: 1/1; opacity: 0; font-size: clamp(.98rem, 1.38vw, 1.2rem); font-weight: 600; line-height: 1.28; letter-spacing: -.025em; text-wrap: balance; }
.question:first-child { opacity: 1; }
.letter-switch { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
@media (prefers-reduced-motion: no-preference) {
  .question { animation: question-cycle 15s ease-in-out infinite; }
  .question:nth-child(2) { animation-delay: -10s; }
  .question:nth-child(3) { animation-delay: -5s; }
}
@keyframes question-cycle {
  0%, 29% { opacity: 1; transform: translateY(0); }
  33.333%, 96% { opacity: 0; transform: translateY(-.25rem); }
  97% { opacity: 0; transform: translateY(.25rem); }
  100% { opacity: 1; transform: translateY(0); }
}

.founder-note { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; padding: clamp(1.2rem, 2.7vw, 2.4rem); background: #f6f6f9; border-radius: 1.5rem; }
.founder-eyebrow { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin-top: .3rem; font-size: clamp(1.6rem, 3vw, 2.55rem); letter-spacing: -.06em; line-height: 1.1; font-weight: 800; }
.letter-toggle { display: inline-flex; align-items: center; gap: .8rem; justify-self: start; padding: .75rem 1.05rem; border: 1px solid #d7d7df; border-radius: 2rem; background: white; font-size: .84rem; font-weight: 600; cursor: pointer; }
.letter-toggle::after { content: '+'; line-height: 1; font-size: 1.1rem; }
.letter-switch:checked + .letter-toggle::after { content: '−'; }
.letter-switch:focus-visible + .letter-toggle { outline: 3px solid #6156af; outline-offset: 3px; }
.letter-body, .letter-toggle span:last-child, .letter-switch:checked + .letter-toggle span:first-child { display: none; }
.letter-switch:checked + .letter-toggle span:last-child { display: inline; }
.letter-switch:checked ~ .letter-body { display: block; }
.letter-body { grid-column: 1/-1; max-width: 60ch; padding-top: .6rem; color: var(--muted); line-height: 1.65; }
.founder-lead, .founder-signature { font: 400 1.45rem/1.3 var(--hand); color: var(--ink); }
.founder-story p, .founder-closing, .founder-signature { margin-top: .85rem; }
.founder-signature span { margin-left: .65rem; font: 600 .72rem/1.5 var(--sans); color: var(--muted); }
.site-footer { padding-block: 1rem; font-size: .76rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.site-footer a { display: inline-block; padding-block: .4rem; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Reserve space for the letter and footer on landscape screens. */
@media (min-width: 47rem) {
  .site-header { padding-block: .6rem; }
  .product-intro { padding-block: max(.7rem, 1.4svh); }
  .conversation { padding-block: 0 .85rem; }
  .devices { width: min(100%, clamp(21rem, calc(92svh - 12.75rem), 36rem)); padding-block: 1.1rem 1.4rem; }
  .questions { position: absolute; right: 0; bottom: 0; margin: 0; max-width: 51%; }
  .founder-note { padding-block: clamp(.95rem, 2.4svh, 1.55rem); }
  .site-footer { padding-block: .5rem; }
}
@media (min-width: 47rem) and (max-width: 60rem) {
  h1 { font-size: clamp(2.7rem, 5.35vw, 3.4rem); }
  .product-intro { gap: 1rem; }
}
@media (min-width: 47rem) and (max-width: 65rem) and (orientation: portrait) {
  .product-intro { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; padding-block: 1.5rem; }
  .hero-message { text-align: center; }
  h1 { font-size: clamp(3.5rem, 6.6vw, 4.25rem); }
  .intro { max-width: 48ch; margin: .9rem auto .7rem; }
  .store-badges { justify-content: center; }
  .conversation { max-width: 31rem; }
  .devices { width: min(100%, 46svh); }
}
@media (max-width: 46.99rem) {
  .product-intro { display: flex; flex-direction: column; align-items: stretch; gap: 1.9rem; padding-block: 1.65rem 2.25rem; }
  .hero-message { max-width: 34rem; }
  h1 { font-size: clamp(2rem, 10.5vw, 4.3rem); }
  .intro { margin-block: 1rem .85rem; }
  .conversation { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; padding: 0; }
  .devices { width: 100%; padding: 0; }
  .practice-screen { display: none; }
  .phone-link { margin: auto; width: min(99%, 23rem); transform: none; }
  .questions { order: -1; margin: 0; max-width: 100%; align-self: center; }
  .question-bubble { max-width: 23ch; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .3rem; }
}
@media (max-width: 35rem) {
  .founder-note { grid-template-columns: minmax(0, 1fr); }
  .site-header { padding-block: .7rem; }
  .brand { font-size: 1.45rem; }
  .apple-badge { width: min(43%, 7.4rem); }
  .google-badge { width: min(53%, 9.3rem); }
}
