@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/manrope-latin.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --ink: #082c39;
  --paper: #fff9ec;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}
.page {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 550px;
  display: grid;
  grid-template-rows: 100px 1fr 76px;
  background: #68bcee;
  overflow: clip;
}
.scene,
#ocean,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}
.scene img,
#ocean {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 80%;
}
#ocean {
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -2;
}
#ocean.ready {
  opacity: 1;
}
.shade {
  z-index: -1;
  background:
    radial-gradient(ellipse 57% 29% at 24% 48%, #b1e0f3cc 0%, #b1e0f3b3 42%, #b1e0f300 88%),
    linear-gradient(180deg, transparent 78%, #072935cc 100%);
  pointer-events: none;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5%;
}
.wordmark {
  display: block;
  width: 164px;
}
.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
.login {
  font-size: 15px;
  padding: 13px 20px;
  background: #ffffff75;
  border-radius: 100px;
}
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-content: center;
  align-items: center;
  padding: 0 4.5% 35px;
}
.copy {
  min-width: 0;
  max-width: 930px;
}
h1 {
  font-size: clamp(64px, 6.25vw, 104px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.055em;
  word-spacing: 0.04em;
  margin: 0;
}
.keep {
  white-space: nowrap;
}
.support {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin: 20px 0 0;
}
.flip-window {
  display: inline-block;
  vertical-align: bottom;
  min-width: 300px;
  perspective: 600px;
}
#flip {
  display: inline-block;
  transform-origin: 50% 50%;
  transition:
    transform 0.23s ease,
    opacity 0.23s ease;
  white-space: nowrap;
}
#flip.out {
  transform: rotateX(80deg) translateY(-5px);
  opacity: 0;
}
#flip.in {
  transform: rotateX(-80deg) translateY(5px);
  opacity: 0;
}
.start {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 340px;
  margin-top: 18px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border-radius: 100px;
  background: #fff0a3;
  padding: 27px 36px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
  box-shadow: 0 10px 27px #07374424;
  transition:
    transform 0.18s,
    background 0.18s;
  white-space: nowrap;
}
.cta svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.cta:hover {
  background: #fff7c6;
  transform: translateY(-2px);
}
/* One example exchange, drawn as the texts it would be. Wide screens keep Tomo's shape, a headline and one button,
   so it shows only in the single-column layout, where it stands in for the rotating line. */
.chat {
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0 0 22px;
}
.chat figcaption {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  opacity: 0.75;
}
.bubble {
  max-width: 88%;
  margin: 0;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.35;
  box-shadow: 0 6px 18px #07374418;
}
.bubble.me {
  align-self: flex-end;
  background: #0a7cff;
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble.clawd {
  position: relative;
  align-self: flex-start;
  background: #fffdf7f2;
  border-bottom-left-radius: 6px;
}
/* The person's thumbs-up sits on the corner of the text it answers, the way a tapback does. */
.tapback {
  position: absolute;
  top: -11px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 2px solid #eaf6fb;
  background: #0a7cff;
  font-size: 14px;
  line-height: 1;
}
.bubble.me + .bubble.clawd {
  margin-top: 5px;
}
/* Hours passed before this one: the gap a thread leaves between texts sent far apart. */
.bubble.later {
  margin-top: 12px;
}
/* The exchange plays once, a text at a time. Every text holds its place from the start, so nothing below it moves;
   without the script, or with reduced motion, it is simply all there. */
.chat.play > :not(figcaption),
.chat.play .tapback {
  opacity: 0;
  transform: translateY(9px) scale(0.97);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.chat.play .tapback {
  transform: scale(0.2);
}
.chat.play > .shown,
.chat.play .tapback.shown {
  opacity: 1;
  transform: none;
}
footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 4.5%;
  color: #fff;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
footer a {
  padding: 13px 0;
}
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
footer :focus-visible {
  outline-color: white;
}
dialog {
  border: 0;
  border-radius: 18px;
  padding: 30px 36px 36px;
  background: #fffdf7;
  color: var(--ink);
  width: min(610px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  overflow-y: auto;
}
dialog::backdrop {
  background: #0a273970;
  backdrop-filter: blur(9px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #567077;
}
.close {
  display: grid;
  place-items: center;
  font-size: 28px;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  margin-right: -12px;
}
h2 {
  font-size: 43px;
  letter-spacing: -0.05em;
  line-height: 1.03;
  margin: 26px 0;
}
dialog > p {
  font-size: 16px;
  line-height: 1.65;
  color: #46616a;
}
.dialog-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
.requests {
  list-style: none;
  margin: 0;
  padding: 0;
}
.requests li {
  border-top: 1px solid #dce3de;
  padding: 21px 0;
}
.requests li > span {
  font-size: 11px;
  color: #5f777c;
}
.requests li p {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 7px 0 0;
}
.note {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #52686e !important;
}
.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;
}

@media (min-width: 1700px) {
  main {
    grid-template-columns: minmax(0, 1100px) auto;
    justify-content: space-between;
    padding-bottom: 30px;
  }
  .copy {
    max-width: 1100px;
  }
  h1 {
    font-size: 110px;
  }
  .support {
    font-size: 24px;
  }
  .cta {
    font-size: 32px;
    padding: 30px 42px;
  }
}
@media (max-width: 1200px) {
  main {
    gap: 30px;
    padding-bottom: 40px;
  }
  h1 {
    font-size: clamp(58px, 6.15vw, 78px);
  }
  .support {
    font-size: 17px;
  }
  .flip-window {
    min-width: 270px;
  }
  .cta {
    font-size: 23px;
    padding: 23px 30px;
  }
  .cta svg {
    width: 21px;
  }
}
@media (max-width: 960px) {
  .chat {
    display: flex;
  }
  main {
    grid-template-columns: 1fr;
    gap: 30px;
    align-content: center;
    padding-bottom: 50px;
  }
  .copy {
    max-width: 780px;
  }
  .start {
    align-items: flex-start;
    width: auto;
    max-width: 380px;
    margin: 0;
  }
  .support {
    font-size: 16px;
  }
  h1 {
    font-size: clamp(58px, 7.5vw, 76px);
  }
  .shade {
    background:
      radial-gradient(ellipse 90% 32% at 35% 40%, #b1e0f3b3, transparent 90%), linear-gradient(180deg, transparent 78%, #072935cc 100%);
  }
}
@media (max-width: 640px) {
  .page {
    grid-template-rows: 85px 1fr 64px;
  }
  header {
    padding: 0 24px;
  }
  .wordmark {
    width: 148px;
  }
  .login {
    font-size: 13px;
    padding: 11px 14px;
  }
  .page {
    height: auto;
    min-height: 100svh;
  }
  main {
    display: block;
    align-content: start;
    padding: clamp(16px, 4vh, 48px) 24px 20px;
  }
  .copy {
    max-width: 420px;
  }
  h1 {
    font-size: clamp(47px, 12.8vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.065em;
    max-width: 350px;
  }
  /* On a phone the example exchange says what the rotating line said, so the line steps aside. */
  .support {
    display: none;
  }
  .start {
    align-items: stretch;
    margin: 22px 0 0;
  }
  .chat {
    width: 100%;
    max-width: 380px;
    margin-bottom: 20px;
  }
  .chat figcaption {
    text-align: left;
    padding-left: 4px;
  }
  .cta {
    align-self: stretch;
    justify-content: center;
    max-width: 380px;
  }
  .cta {
    padding: 19px 24px;
    font-size: 20px;
    gap: 12px;
  }
  .shade {
    background: linear-gradient(180deg, transparent 78%, #072935cc 100%);
  }
  footer {
    padding: 0 24px;
  }
  footer nav {
    gap: 15px;
    font-size: 13px;
  }
  dialog {
    padding: 21px 25px 28px;
  }
  h2 {
    font-size: 37px;
  }
  .requests li p {
    font-size: 16px;
  }
}
@media (max-height: 700px) and (min-width: 641px) {
  .page {
    grid-template-rows: 76px 1fr 62px;
  }
  main {
    padding-bottom: 20px;
  }
  h1 {
    font-size: clamp(58px, 5.8vw, 86px);
  }
  .support {
    margin-top: 18px;
  }
  .shade {
    background:
      radial-gradient(ellipse 58% 32% at 24% 49%, #b1e0f3db 0%, #b1e0f3c0 43%, #b1e0f300 88%),
      linear-gradient(180deg, transparent 78%, #072935cc 100%);
  }
}
@media (max-height: 720px) and (max-width: 640px) {
  .page {
    grid-template-rows: 72px 1fr 58px;
  }
  main {
    padding-top: 22px;
  }
  /* A short phone still shows the whole exchange and the button on its first screen. */
  h1 {
    font-size: 42px;
  }
  .chat {
    gap: 6px;
    margin-bottom: 14px;
  }
  .bubble {
    font-size: 14px;
    padding: 8px 13px;
  }
  .support {
    margin-top: 19px;
  }
  .start {
    margin-top: 18px;
  }
  .cta {
    padding: 16px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  #ocean {
    display: none;
  }
  #flip {
    transform: none !important;
    opacity: 1 !important;
  }
}
