/* Ona landing page: daylight sky hero (one screen), pricing as the second screen.
   Phones get an iMessage-style onboarding, wide screens a big headline with the CTA. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: HK;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: HK;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fbf8f5;
  --ink: #18161b;
  --ink-2: #4b4752;
  --line: #18161b1a;
  --frost: #ffffffad;
  --frost-edge: #ffffffd9;
  --blue: #0b6bd6; /* links and icons: AA on white */
  --cta: #ffc4d3;
  --cta-hover: #ffd4df;
  --cta-ink: #3a1322;
  --wine: #8a3550;
  /* iMessage */
  --im-grey: #e9e9eb;
  --im-blue: #0a84ff;
  --im-meta: #6e6e73;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", HK, system-ui, sans-serif;
  --sans: HK, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --spring: cubic-bezier(0.2, 0.9, 0.3, 1.2);
  --gl: max(16px, env(safe-area-inset-left));
  --gr: max(16px, env(safe-area-inset-right));
  --hh: calc(env(safe-area-inset-top) + 64px); /* header height */
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
svg {
  flex: none;
}
p {
  margin: 0;
}
[id] {
  scroll-margin-top: 8px;
}

.page {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
}

/* ---------- Sky: a band at the top on phones, the whole first screen on wide screens ---------- */
.sky {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -1;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(180deg, #84bff0 0%, #b5d8f6 42%, #e4f0fb 74%, var(--paper) 100%);
}
.hero-screen > .sky {
  top: calc(-1 * var(--hh));
}
.sky-defs {
  position: absolute;
}
.cloud {
  position: absolute;
  height: auto;
  animation: drift var(--d, 90s) ease-in-out var(--delay, 0s) infinite alternate;
  will-change: transform;
}
.c1 {
  left: -36px;
  top: 78px;
  width: 170px;
}
.c2 {
  left: 64%;
  top: 30px;
  width: 150px;
  opacity: 0.9;
  --d: 110s;
  --delay: -30s;
}
.c3 {
  left: 72%;
  top: 176px;
  width: 120px;
  opacity: 0.75;
  --d: 100s;
  --delay: -60s;
}
.c4,
.c5,
.c6,
.horizon {
  display: none;
}
.horizon .h1 {
  fill: #dfe4f4;
}
.horizon .h2 {
  fill: #f7e4de;
}

/* ---------- Header ---------- */
.top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--hh);
  padding: env(safe-area-inset-top) var(--gr) 0 var(--gl);
}
.wordmark {
  font: italic 400 36px/1 var(--serif);
  letter-spacing: -1px;
  text-decoration: none;
  padding: 2px 4px 6px 0;
  border-radius: 6px;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-link {
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.top-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lang,
.pill-cta,
.more {
  border: 1px solid var(--frost-edge);
  border-radius: 999px;
  background: var(--frost);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
}
.lang a {
  display: block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  color: var(--ink-2);
  text-decoration: none;
}
.lang a:hover {
  color: var(--ink);
}
.lang a[aria-current] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px #18161b1f;
}
.pill-cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 4px 4px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.pill-cta:hover {
  background: #ffffffe6;
}
.bubble-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--im-blue);
  color: #fff;
}
.bubble-icon svg {
  width: 74%;
  height: 74%;
}

/* ---------- Hero screen ---------- */
.hero-screen {
  position: relative;
  isolation: isolate;
  padding: 0 var(--gr) 0 var(--gl);
}
h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}
/* On phones the headline is for screen readers; the chat carries the screen. */
.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.rotator,
.act {
  display: none;
}

/* ---------- Phone: iMessage-style onboarding ---------- */
.flow {
  font-family: var(--sf);
}
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}
.avatar img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 3px #fff,
    0 8px 20px -8px #18161b66;
}
.contact-name {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}
.contact-name svg {
  width: 13px;
  height: 13px;
  color: var(--im-meta);
}
.service {
  margin: 16px 0 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--im-meta);
}
.msgs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 0 0 0 5px;
  list-style: none;
}
.msgs li {
  position: relative;
  max-width: 88%;
}
.msg,
.rb {
  position: relative;
  isolation: isolate; /* the tail (z-index -1) sits between the bubble background and its text */
  display: block;
  padding: 7px 12px;
  border-radius: 18px;
  font-size: 17px;
  line-height: 22px;
  text-wrap: pretty;
}
.msg {
  background: var(--im-grey);
  color: #000;
  transform-origin: 0 100%;
  animation: pop 0.36s var(--spring) both;
}
/* iMessage tail: a mask in the bubble's own colour, mirrored for sent bubbles. */
.msgs li:last-child .msg::after,
.reply input:checked ~ .rb::after {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: -1;
  width: 20px;
  height: 20px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 0C5 9 3.8 14.8 0 19.6C3.6 20.6 8.4 19.8 11.2 17.6C13 19.2 15.6 20 20 20V0Z'/%3E%3C/svg%3E")
    no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 0C5 9 3.8 14.8 0 19.6C3.6 20.6 8.4 19.8 11.2 17.6C13 19.2 15.6 20 20 20V0Z'/%3E%3C/svg%3E")
    no-repeat;
}
.msgs li:last-child .msg::after {
  left: -5px;
}
.reply input:checked ~ .rb::after {
  right: -5px;
  transform: scaleX(-1);
}
/* Typing indicator with its little thought-bubble tail */
.dots {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 13px;
  border-radius: 18px;
  background: var(--im-grey);
  opacity: 0;
  transform-origin: 0 100%;
  animation: typing 0.7s ease both;
}
.dots::before,
.dots::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--im-grey);
}
.dots::before {
  left: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
}
.dots::after {
  left: -5px;
  bottom: -5px;
  width: 5px;
  height: 5px;
}
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8e8e93;
  animation: blink 1s ease-in-out infinite;
}
.dots i:nth-child(2) {
  animation-delay: 0.16s;
}
.dots i:nth-child(3) {
  animation-delay: 0.32s;
}
.msgs li:nth-child(1) .dots {
  animation-delay: 0.25s;
}
.msgs li:nth-child(1) .msg {
  animation-delay: 0.9s;
}
.msgs li:nth-child(2) .dots {
  animation-delay: 1.15s;
}
.msgs li:nth-child(2) .msg {
  animation-delay: 1.8s;
}
.msgs li:nth-child(3) .dots {
  animation-delay: 2.05s;
}
.msgs li:nth-child(3) .msg {
  animation-delay: 2.7s;
}

.replies {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
  margin: 18px 0 0;
  padding: 0 5px 0 0;
  border: 0;
}
.reply {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 88%;
  cursor: pointer;
  transform-origin: 100% 100%;
  animation: pop 0.36s var(--spring) both;
}
.reply:nth-child(1) {
  animation-delay: 3.05s;
}
.reply:nth-child(2) {
  animation-delay: 3.2s;
}
.reply:nth-child(3) {
  animation-delay: 3.35s;
}
.reply input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}
.tick {
  flex: none;
  width: 24px;
  height: 24px;
  border: 1.5px solid #c7c7cc;
  border-radius: 50%;
  background: #fff;
}
.reply input:checked ~ .tick {
  border-color: var(--im-blue);
  background: var(--im-blue)
    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='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}
.rb {
  background: #d8e9ff;
  color: #0756b0;
}
.reply input:checked ~ .rb {
  background: var(--im-blue);
  color: #fff;
}
.reply input:focus-visible ~ .rb {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.go-wrap {
  margin-top: 24px;
  animation: rise 0.5s ease-out 3.6s both;
}
.go {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 56px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 19px/1.2 var(--sans);
  text-decoration: none;
  box-shadow: 0 14px 30px -16px #18161bb3;
}
.go svg {
  position: absolute;
  right: 22px;
  width: 24px;
  height: 24px;
}
.go:hover {
  background: #2c2931;
}
.go.small {
  display: inline-flex;
  min-height: 52px;
  padding: 0 52px 0 26px;
  font-size: 17px;
}
.go.small svg {
  right: 18px;
}
.go-wrap .adult,
.go-wrap .number,
.go-wrap .facts {
  font-family: var(--sans);
}

.adult {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.badge {
  flex: none;
  padding: 3px 8px;
  border: 1.5px solid var(--wine);
  border-radius: 9px;
  color: var(--wine);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.number {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-2);
}
.number strong {
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}
.facts {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
  text-wrap: pretty;
}
.facts li {
  display: flex;
  gap: 9px;
}
.facts svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

/* "Pricing ↓" hint at the end of the first screen */
.more {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 28px auto 0;
  padding: 8px 14px 8px 16px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.more svg {
  width: 16px;
  height: 16px;
  animation: nudge 2.4s ease-in-out 4s infinite;
}
.more:hover {
  background: #ffffffe6;
}

/* ---------- Pricing ---------- */
.pricing {
  position: relative;
  z-index: 1;
  padding: 64px var(--gr) 64px var(--gl);
  background: linear-gradient(180deg, #f7e4de 0, var(--paper) 260px);
}
.home .pricing {
  margin-top: 36px;
  background: var(--paper);
}
.pricing-in {
  max-width: 1160px;
  margin: 0 auto;
}
.pricing-head h2 {
  font-size: clamp(46px, 12vw, 96px);
}
.pricing-intro {
  max-width: 30em;
  margin-top: 16px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}
.plans {
  display: grid;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid #18161b14;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 1px 2px #18161b0d,
    0 22px 44px -32px #18161b4d;
}
.plan.featured {
  border: 2px solid #ffb2c6;
  background: linear-gradient(180deg, #fff 0%, #fff5f8 100%);
  box-shadow:
    0 1px 2px #18161b0d,
    0 30px 60px -34px #d9637f99;
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
}
.plan h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}
.plan-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 18px;
}
.plan-tag {
  margin-top: 8px;
  font: 700 23px/1.15 var(--display);
  letter-spacing: -0.02em;
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin-top: 18px;
}
.price strong {
  font: 800 clamp(42px, 11vw, 52px) / 1 var(--display);
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.price span {
  font-size: 16px;
  color: var(--ink-2);
}
.features {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 15.5px;
  line-height: 1.4;
  text-wrap: pretty;
}
.features li {
  display: flex;
  gap: 10px;
}
.features svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--blue);
}
.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  margin-top: auto;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 650;
  text-decoration: none;
  transition:
    background 0.18s,
    color 0.18s;
}
.plan-cta .bubble-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.plan-cta:hover {
  background: var(--ink);
  color: #fff;
}
.featured .plan-cta {
  border-color: transparent;
  background: var(--cta);
  color: var(--cta-ink);
  box-shadow: 0 12px 28px -14px #d9637f99;
}
.featured .plan-cta:hover {
  background: var(--cta-hover);
}
.pricing-notes {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 30px;
  text-align: center;
}
.cancel {
  font-size: 17px;
  font-weight: 650;
}
.beta {
  max-width: 34em;
  font-size: 15px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.pricing-notes .adult {
  margin-top: 8px;
  text-align: left;
}
.wide-only {
  display: none;
}

/* ---------- Footer ---------- */
.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px var(--gr) calc(env(safe-area-inset-bottom) + 22px) var(--gl);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.wordmark.small {
  font-size: 26px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.foot nav a {
  padding: 6px 0;
  color: var(--ink-2);
  text-underline-offset: 3px;
  text-decoration-color: #4b475266;
}
.foot nav a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* ---------- Legal placeholders and 404 ---------- */
.doc {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 720px;
  padding: 72px var(--gr) 64px var(--gl);
}
.doc h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 11vw, 80px);
}
.placeholder {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: 14px;
  background: #fff;
  font-size: 17px;
  text-wrap: pretty;
}
.lead {
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--ink-2);
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 6px 0;
  text-underline-offset: 3px;
}
.back svg {
  width: 20px;
  height: 20px;
}
.nf-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 28px;
}
.nf-links .back {
  margin-top: 0;
}

/* ---------- Wide screens ---------- */
@media (min-width: 760px) {
  :root {
    --gl: max(40px, env(safe-area-inset-left));
    --gr: max(40px, env(safe-area-inset-right));
    --hh: 88px;
  }
  .sky,
  .hero-screen > .sky {
    inset: 0;
    height: auto;
    background: linear-gradient(180deg, #73b2ec 0%, #9bcaf3 34%, #c8e1f8 62%, #e8f0f8 82%, #fbe9e2 100%);
  }
  .hero-screen > .sky {
    top: calc(-1 * var(--hh));
  }
  .c1 {
    left: 5%;
    top: 13%;
    width: clamp(220px, 24vw, 380px);
  }
  .c2 {
    left: 58%;
    top: 7%;
    width: clamp(160px, 17vw, 270px);
  }
  .c3 {
    left: 72%;
    top: 30%;
    width: clamp(240px, 28vw, 440px);
    opacity: 0.95;
  }
  .c4 {
    display: block;
    left: 33%;
    top: 26%;
    width: clamp(120px, 12vw, 190px);
    opacity: 0.75;
    --d: 120s;
    --delay: -45s;
  }
  .c5 {
    display: block;
    left: -6%;
    top: 50%;
    width: clamp(280px, 32vw, 500px);
    opacity: 0.8;
    --d: 95s;
    --delay: -15s;
  }
  .c6 {
    display: block;
    left: 47%;
    top: 55%;
    width: clamp(200px, 22vw, 340px);
    opacity: 0.7;
    --d: 105s;
    --delay: -75s;
  }
  .horizon {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 17vh;
  }
  .top-link {
    font-size: 15px;
    padding: 8px 10px;
  }
  .top-right {
    gap: 10px;
  }
  .pill-cta {
    display: inline-flex;
  }

  .hero-screen {
    display: grid;
    align-content: end;
    gap: 36px;
    min-height: calc(100svh - var(--hh));
    padding-bottom: 96px;
  }
  .flow {
    display: none;
  }
  .hero h1 {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    font-size: clamp(56px, min(9.4vw, 14vh), 112px);
    animation: rise 0.7s ease-out both;
  }
  .rotator {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    margin-top: 24px;
    font-size: 18px;
    color: var(--ink-2);
  }
  .mini img {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff;
  }
  .rot {
    display: inline-block;
    color: var(--ink);
    font-weight: 650;
    transition:
      transform 0.28s ease,
      opacity 0.28s ease;
  }
  .rot.out {
    opacity: 0;
    transform: translateY(-0.6em);
  }
  .rot.in {
    opacity: 0;
    transform: translateY(0.6em);
    transition: none;
  }

  .act {
    display: block;
    animation: rise 0.7s ease-out 0.2s both;
  }
  .cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 0 34px 0 14px;
    border-radius: 999px;
    background: var(--cta);
    color: var(--cta-ink);
    font: 700 26px/1 var(--display);
    letter-spacing: -0.015em;
    white-space: nowrap;
    text-decoration: none;
    box-shadow:
      0 20px 44px -18px #d9637fa6,
      inset 0 0 0 1px #ffffff99;
    transition:
      background 0.18s,
      transform 0.18s;
  }
  .cta .bubble-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .cta:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
  }
  .cta:focus-visible {
    outline: 3px solid var(--ink);
  }
  .act .adult {
    width: fit-content;
    margin-top: 14px;
    padding: 5px 14px 5px 5px;
    border: 1px solid var(--frost-edge);
    border-radius: 999px;
    background: var(--frost);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .qr-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    max-width: 400px;
    margin-top: 10px;
    padding: 10px 18px 10px 10px;
    border: 1px solid var(--frost-edge);
    border-radius: 20px;
    background: var(--frost);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .qr,
  .qr-cap {
    display: none;
  }
  .qr-card .number {
    margin-top: 0;
  }

  .more {
    position: absolute;
    left: 50%;
    bottom: 24px;
    margin: 0;
    transform: translateX(-50%);
  }

  .home .pricing {
    margin-top: 0;
    padding-top: 104px;
    padding-bottom: 88px;
    background: linear-gradient(180deg, #fbe9e2 0, var(--paper) 280px);
  }
  .pricing-head {
    display: grid;
    gap: 12px 48px;
    align-items: end;
  }
  .plans {
    margin-top: 48px;
  }
  .wide-only {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 32px;
    margin-top: 14px;
    padding-top: 0;
    border: 0;
  }
  .foot {
    padding: 24px var(--gr);
  }
  .doc-page .foot {
    border-top: 0;
  }
  .doc {
    padding-top: 12vh;
  }
}

/* Mouse and trackpad: show the QR code for scanning with an iPhone */
@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
  .qr,
  .qr-cap {
    display: block;
  }
  .qr-code {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }
  .qr-cap {
    margin-bottom: 4px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--ink-2);
  }
}

/* Three plans side by side */
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }
  .plan {
    padding: 30px 28px 28px;
  }
  .plan.featured {
    transform: translateY(-12px);
  }
  .pricing-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .pricing-intro {
    margin: 0 0 8px;
  }
}

/* Large screens: headline left, CTA column right */
@media (min-width: 1100px) {
  :root {
    --gl: max(56px, env(safe-area-inset-left));
    --gr: max(56px, env(safe-area-inset-right));
  }
  .hero-screen {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 56px;
  }
  /* Sized to the left column (viewport minus gutters, CTA column and gap) so the longest line fits. */
  .hero h1 {
    font-size: clamp(64px, min((100vw - 568px) / 7.4, 15.5vh), 136px);
  }
  .act {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 400px;
    padding-bottom: 4px;
  }
  .cta {
    min-height: 84px;
    padding: 0 38px 0 16px;
    font-size: 30px;
  }
  .cta .bubble-icon {
    width: 54px;
    height: 54px;
    border-radius: 17px;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
}
@keyframes typing {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  15%,
  85% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes drift {
  from {
    transform: translateX(-3vw);
  }
  to {
    transform: translateX(3vw);
  }
}
@keyframes nudge {
  0%,
  70%,
  100% {
    transform: none;
  }
  80% {
    transform: translateY(3px);
  }
  90% {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
