/*
  TurnDesk public site. One stylesheet for every page, no framework.

  The look: cream paper, forest-green ink, lime and periwinkle highlights, big
  rounded panels and hand-drawn line drawings. Inter is served from
  /assets/fonts. Motion comes from /assets/motion.js, which adds the .motion
  class only for visitors who have not asked for reduced motion; without it
  every drawing, word and line is simply there.

  Fonts (both SIL Open Font License, served from /assets/fonts): Figtree for
  headings, Inter for text.
*/

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/figtree-latin-wght.woff2") format("woff2"); }

:root {
  --cream: #f8f4f0;
  --forest: #1e3a2b;
  --forest-2: #2d5240;
  --lime: #eff87a;
  --peri: #cfdcff;
  --peri-ink: #aec3ff;
  --sand: #efe6dc;
  --white: #ffffff;
  --ink: #1e3a2b;
  --ink-2: #34493d;
  --ink-3: #56685e;
  --line: rgba(30, 58, 43, .14);
  --line-strong: rgba(30, 58, 43, .3);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Figtree", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 40px;
  /* The phone mock-up keeps WhatsApp's own colours. */
  --chat-bg: #efe7dc;
  --bubble-in: #ffffff;
  --bubble-out: #d9fdd3;
  --chat-ink: #111b21;
  --brand: #0b7a5f;
  --surface: #ffffff;
  --shadow-lg: 0 2px 6px rgba(30, 58, 43, .06), 0 30px 60px -24px rgba(30, 58, 43, .35);
  color-scheme: light;
}
@media (max-width: 479px) { :root { --gutter: 24px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.25rem/1.4 var(--font); letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: var(--lime); color: var(--forest); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--forest); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--mono); font-size: .86em; background: var(--sand); padding: .1rem .35rem; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(1368px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 60; background: var(--forest); color: var(--cream);
  padding: .6rem 1rem; border-radius: 999px; font-size: 1rem; text-decoration: none;
}
.skip:focus { top: .75rem; }

/* Type scale. */
.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
.h1 { font-size: clamp(4rem, 6vw, 6rem); line-height: 1; letter-spacing: -.035em; }
.h2 { font-size: clamp(3.5rem, 5vw, 4.5rem); line-height: 1.1; letter-spacing: -.03em; }
.h3 { font-size: 2.25rem; line-height: 1.22; }
.h4 { font-family: var(--font); font-size: 2rem; line-height: 1.12; font-weight: 600; letter-spacing: -.03em; }
.t-xl { font-size: 2.25rem; line-height: 1.12; font-weight: 600; letter-spacing: -.035em; }
.t-lg { font-size: 1.5rem; line-height: 1.33; letter-spacing: -.02em; }
.t-sm { font-size: 1.25rem; line-height: 1.4; }
@media (max-width: 991px) {
  .h1 { font-size: 4.5rem; }
  .h2 { font-size: 3.25rem; line-height: 1.2; }
}
@media (max-width: 767px) {
  .h1 { font-size: 2.75rem; line-height: 1.05; }
  .h2 { font-size: 2.25rem; line-height: 1.12; }
  .h3 { font-size: 1.75rem; line-height: 1.3; }
  .h4 { font-size: 1.5rem; line-height: 1.33; }
  .t-xl { font-size: 1.75rem; line-height: 1.15; }
  .t-lg { font-size: 1.25rem; line-height: 1.4; }
}
@media (max-width: 479px) {
  .h2 { font-size: 2rem; }
  .h4 { font-size: 1.25rem; line-height: 1.2; }
  .t-xl { font-size: 1.375rem; line-height: 1.2; }
  .t-lg, .t-sm { font-size: 1.125rem; line-height: 1.35; }
}

/* ---------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-size: 1.25rem; line-height: 1.25rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap;
  padding: 1.5rem 2rem; border: 0; border-radius: 999px; background: var(--peri); color: var(--forest);
  text-decoration: none; cursor: pointer; transition: color .2s, background-color .2s, box-shadow .2s;
}
.btn:hover { background: var(--forest); color: var(--cream); }
.btn.outline { background: transparent; box-shadow: inset 0 0 0 2px var(--peri); }
.btn.outline:hover { color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }
.btn.outline.fill { background: var(--cream); }
.btn.dark { background: var(--forest); color: var(--cream); }
.btn.dark:hover { background: var(--forest-2); }
.panel.forest .btn.outline { color: var(--cream); }
@media (max-width: 991px) { .btn { padding: 1.25rem 1.75rem; font-size: 1.125rem; line-height: 1.5rem; } }

/* ----------------------------------------------------------------- header -- */
.site-header .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding-block: 2rem; }
.logo {
  display: inline-flex; align-items: center; gap: .3rem; color: var(--forest); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.035em;
}
/* The mark: a chat bubble cut like a token ticket, with a tick. */
.mark { flex: none; overflow: visible; }
.logo .mark { width: 48px; height: 48px; margin-block: -4px; }
.mark-body { fill: var(--forest); }
.mark-tick { fill: none; stroke: var(--lime); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.motion .site-header .mark-tick { stroke-dasharray: 1 1; animation: tick-in .7s cubic-bezier(.6, .1, .3, 1) .35s both; }
@keyframes tick-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.site-nav { display: flex; justify-content: center; flex-wrap: wrap; height: 64px; overflow: hidden; }
.site-nav a {
  position: relative; display: flex; align-items: center; height: 64px; padding: 16px 24px;
  color: var(--forest); text-decoration: none; letter-spacing: -.015em;
}
.nav-ul { position: absolute; left: 14px; right: 14px; bottom: 8px; width: calc(100% - 28px); height: 12px; overflow: visible; fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; }
.nav-ul path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .75s cubic-bezier(.08, .69, .1, 1); }
.site-nav a:hover .nav-ul path, .site-nav a[aria-current="page"] .nav-ul path { stroke-dashoffset: 0; }
@media (max-width: 1240px) { .site-nav a { padding-inline: 14px; } }
.site-header .actions { display: flex; align-items: center; gap: .25rem; }
.site-header .signin { color: var(--forest); text-decoration: none; padding: 1rem 1.1rem; border-radius: 999px; transition: background-color .2s; }
.site-header .signin:hover { background: var(--sand); }

/* Mobile menu: a <details>, so it needs no script. */
.menu { display: none; position: relative; justify-self: end; }
.menu summary {
  list-style: none; cursor: pointer; width: 56px; height: 56px; border-radius: 999px;
  display: grid; place-items: center; background: var(--peri);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--forest); position: relative; transition: transform .25s ease, background-color .25s ease;
}
.menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -7px; }
.menu summary span::after { top: 7px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(7px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-7px) rotate(-45deg); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + .75rem); z-index: 40; width: min(20rem, calc(100vw - 2 * var(--gutter)));
  background: var(--cream); border: 3px solid var(--forest); border-radius: 24px; padding: .6rem;
  display: grid; gap: .15rem; animation: menu-in .2s ease;
}
.menu-panel a { color: var(--forest); text-decoration: none; padding: .85rem 1rem; border-radius: 14px; font-size: 1.125rem; }
.menu-panel a:hover { background: var(--sand); }
.menu-panel .btn { margin-top: .4rem; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (max-width: 991px) {
  .site-header .wrap { grid-template-columns: 1fr auto; padding-block: 1.5rem; }
  .site-nav, .site-header .actions { display: none; }
  .menu { display: block; }
}

/* ------------------------------------------------------------ hand-drawn -- */
/* Line drawings share one pen: forest ink, round ends. */
.art { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.art .paper { fill: var(--cream); }
.art .white { fill: var(--white); }
.art .solid { fill: var(--forest); stroke: none; }
.art .lime-f { fill: var(--lime); }
.art .peri-f { fill: var(--peri); }
.art .sand-f { fill: var(--sand); }
.art .light { stroke: var(--cream); }
.art text { fill: var(--forest); stroke: none; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.art .tag { font-size: 12.5px; letter-spacing: .12em; }
.art .big { font-size: 92px; letter-spacing: -.05em; }

/* A periwinkle loop around a word, and a pen line under a phrase. */
.hl { position: relative; display: inline-block; margin-left: .12em; margin-right: .04em; }
.hl-oval { position: absolute; left: -9%; top: -3%; width: 118%; height: 110%; z-index: -1; overflow: visible; fill: none; stroke: var(--peri-ink); stroke-width: 5; stroke-linecap: round; }
.ul { position: relative; display: inline-block; }
.ul-line { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .34em; overflow: visible; fill: none; stroke: var(--peri-ink); stroke-width: 5; stroke-linecap: round; }
.panel.forest .ul-line { stroke: var(--peri); }

/* Lime marker lines, drawn by scrolling. */
.squiggle { position: absolute; z-index: 0; pointer-events: none; overflow: visible; fill: none; stroke: var(--lime); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.squiggle.thin { stroke-width: 16; }

/* Small hand-lettered notes with an arrow. */
.note { position: absolute; display: flex; gap: .25rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); pointer-events: none; }
.note span { display: block; transform: rotate(-6deg); white-space: nowrap; }
.note svg { width: 5.5rem; height: 4.5rem; overflow: visible; fill: none; stroke: var(--forest); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------- hero -- */
.hero { position: relative; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; padding-top: 160px; }
.hero h1 { max-width: 16ch; position: relative; z-index: 1; }
.hero .sub { max-width: 640px; margin-top: 2.5rem; color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 3.5rem; }
.checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; padding: 0; margin: 2rem 0 0; font-size: 1rem; }
.checks li { display: inline-flex; align-items: center; gap: .45rem; }
.checks li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--lime) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a2b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
}
.stage-wrap { position: relative; max-width: 1368px; margin: 0 auto; padding: 104px var(--gutter); }
.sq-hero { left: 0; top: 0; width: 100%; height: auto; }
.note-try { left: calc(50% + 22.5rem / 2 + 1.5rem); top: 150px; flex-direction: column; align-items: flex-start; }
.note-try svg { margin: .35rem 0 0 -.5rem; }
.stage-wrap:not(:has(.demo-on)) .note-try { display: none; } /* only once the phone can be tried */
@media (max-width: 767px) {
  .hero-copy { padding-top: 104px; }
  .hero .sub { margin-top: 1.75rem; }
  .cta { margin-top: 2.5rem; }
  .stage-wrap { padding-block: 64px 40px; }
  .sq-hero, .note-try { display: none; }
}
@media (max-width: 479px) {
  .hero-copy { padding-top: 40px; }
  .cta .btn { flex: 1 1 100%; }
}

/* ----------------------------------------------------- the floating bar -- */
/* It rests under the demo and then sticks to the bottom of the screen until the
   end of "How it works". Sticky, so it needs no script and never covers the demo.
   When that section ends, motion.js adds .is-off and the bar slides away rather
   than riding up with the green panel; scroll back and it returns. */
.dock-zone { position: relative; }
.dock {
  --dock-h: 104px; --dock-gap: 32px;
  position: sticky; top: calc(100vh - var(--dock-h) - var(--dock-gap)); height: 0; z-index: 30;
  display: flex; justify-content: center; pointer-events: none;
}
@supports (height: 100dvh) { .dock { top: calc(100dvh - var(--dock-h) - var(--dock-gap)); } }
.floater {
  pointer-events: auto; display: flex; align-items: center; gap: 48px; height: var(--dock-h);
  padding: 16px; background: var(--cream); border: 4px solid var(--forest); border-radius: 999px;
  transition: transform .45s cubic-bezier(.3, .7, .2, 1), opacity .3s ease, visibility 0s;
}
.dock.is-off .floater {
  opacity: 0; transform: translateY(calc(var(--dock-gap) + 56px)); visibility: hidden;
  transition: transform .45s cubic-bezier(.3, .7, .2, 1), opacity .3s ease, visibility 0s linear .45s;
}
.dock-end { height: 0; }
.floater-flex { display: flex; align-items: center; gap: 20px; padding-left: 4px; }
.floater-ava { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--forest); }
.floater-ava .mark, .faq-ava .mark { width: 70%; height: 70%; margin-top: 8%; }
.floater-ava .mark-body, .faq-ava .mark-body { fill: var(--lime); }
.floater-ava .mark-tick, .faq-ava .mark-tick { stroke: var(--forest); }
.floater-title { font: 600 1.5rem/1.2 var(--font); letter-spacing: -.03em; white-space: nowrap; }
.floater-btns { display: flex; gap: 12px; }
.floater .btn { padding: 1.25rem 1.75rem; }
@media (max-width: 991px) {
  .dock { --dock-h: 100px; --dock-gap: 0px; }
  .floater { width: 100%; justify-content: center; gap: 24px; border-radius: 0; border-width: 4px 0 0; padding: 16px 24px; }
  .floater-title { display: none; }
}
@media (max-width: 479px) {
  .dock { --dock-h: 80px; }
  .floater-flex { display: none; }
  .floater { padding: 12px 16px; }
  .floater-btns { width: 100%; }
  .floater .btn { flex: 1; padding: .9rem 1rem; font-size: 1rem; }
}

/* ------------------------------------------------------------- the problem -- */
.problem { position: relative; max-width: 1016px; margin: 0 auto; padding: 240px var(--gutter) 104px; display: flex; flex-direction: column; align-items: center; gap: 80px; text-align: center; }
.problem .h2 { position: relative; z-index: 1; }
.problem-head .h2 { font-size: clamp(2.5rem, 3.6vw, 3.25rem); }
.art-chaos { max-width: 600px; position: relative; z-index: 1; }
.problem-copy { display: grid; gap: 2.5rem; justify-items: center; position: relative; z-index: 1; }
.problem-copy .t-xl { max-width: 44rem; }
.problem-copy .t-sm { max-width: 36rem; color: var(--ink-2); }
.problem-copy .sq-left { right: calc(100% + 1.5rem); top: -3rem; width: 300px; height: auto; }
.worry { width: 100%; display: grid; gap: 3rem; }
.worry > .h4 { font-size: 1.5rem; }
.words-box { position: relative; width: 100%; max-width: 64rem; margin: 0 auto; }
.words { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; width: 100%; height: 26rem; }
.words li {
  position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r));
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.7vw, 2.4rem); line-height: 1.02; letter-spacing: -.025em; white-space: nowrap;
}
.words .ul-line, .words .hl-oval { stroke: var(--forest); stroke-width: 2.6; }
.words-doodles { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) {
  .problem { padding-top: 120px; padding-bottom: 80px; gap: 56px; }
  .sq-left { display: none; }
  .words { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 1.5rem; }
  .words li { position: static; font-size: 1.6rem; }
  .words-doodles { display: none; }
}

/* ----------------------------------------------------------------- panels -- */
.panel-out { padding-inline: 24px; }
.panel { position: relative; border-radius: 24px; padding-inline: 40px; overflow: clip; }
.panel.lime { background: var(--lime); }
.panel.forest { background: var(--forest); color: var(--cream); }
.panel-head { position: relative; z-index: 1; max-width: 1374px; margin: 0 auto; padding: 160px 0; display: flex; flex-direction: column; align-items: center; gap: 80px; text-align: center; }
.panel-head .h2 { max-width: 1120px; }
@media (max-width: 767px) {
  .panel-out { padding-inline: 12px; }
  .panel { padding-inline: 24px; }
  .panel-head { padding: 80px 0; gap: 48px; }
}
@media (max-width: 479px) { .panel-out { padding-inline: 0; } .panel { padding-inline: 20px; } }

/* What it does: drawings and copy, side by side, alternating. */
.rows { max-width: 1240px; margin: 0 auto; padding-bottom: 160px; display: grid; gap: 80px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.row .art { max-width: 440px; justify-self: center; }
.row:nth-child(even) .row-copy { order: 2; }
.row-copy { max-width: 32rem; display: grid; gap: 1.5rem; }
.row-copy h3 { font: 600 2rem/1.12 var(--font); letter-spacing: -.03em; }
.row-copy p { font-size: 1.25rem; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 767px) {
  .rows { padding-bottom: 80px; gap: 64px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: center; }
  .row .art { order: -1; max-width: 320px; }
  .row:nth-child(even) .row-copy { order: 0; }
  .row-copy { justify-self: center; }
  .row-copy h3 { font-size: 1.5rem; }
}

/* ------------------------------------------------------------------ proof -- */
.proof { position: relative; padding: 240px 0 80px; }
.proof-lines { position: relative; z-index: 3; }
.proof-h { line-height: 1.16; }
.ava {
  display: inline-grid; place-items: center; width: clamp(56px, 5vw, 80px); height: clamp(56px, 5vw, 80px); border-radius: 16px;
  vertical-align: -.16em; margin-right: .1em; transition: transform .2s, border-radius .2s;
}
.ava:hover { transform: scale(.9); border-radius: 12px; }
.ava svg { width: 60%; height: 60%; fill: none; stroke: var(--forest); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ava.a1 { background: var(--peri); }
.ava.a2 { background: var(--lime); }
.ava.a3 { background: var(--sand); }
.proof-2 { margin-top: 3rem; }
.prompt { position: absolute; left: 7.5rem; top: 0; transform: translateY(-100%); display: flex; align-items: flex-start; gap: .5rem; font-size: 1.125rem; }
.prompt svg { width: 5rem; height: 4.5rem; overflow: visible; fill: none; stroke: var(--forest); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: .6rem; order: -1; }
@media (max-width: 767px) {
  .proof { padding: 120px 0 40px; text-align: center; }
  .ava, .prompt svg { display: none; }
  .prompt { position: static; transform: none; justify-content: center; margin-bottom: 1.25rem; }
}

/* The card carousel. */
.slides { position: relative; padding: 40px 0 80px; }
.slides-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 80px; padding: 80px 0; }
.arrows { display: flex; gap: 12px; }
.arrow {
  width: 64px; height: 56px; border: 0; border-radius: 999px; background: var(--peri); color: var(--forest);
  display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s;
}
.arrow:hover { background: var(--forest); color: var(--cream); }
.arrow:disabled { opacity: .2; pointer-events: none; }
.arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slides:not(.has-arrows) .arrows { display: none; }
.track {
  position: relative; z-index: 2; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.track::-webkit-scrollbar { display: none; }
.slides:not(.has-arrows) .track { scrollbar-width: thin; padding-bottom: 12px; }
.slide {
  flex: 0 0 calc((100% - 24px) * .48); scroll-snap-align: start; min-height: 22rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px; border-radius: 24px;
}
.slide h3 { font: 600 1.5rem/1.2 var(--font); letter-spacing: -.03em; margin-bottom: 1rem; }
.slide p { font-size: 1.25rem; line-height: 1.4; }
.slide .ic { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s-white { background: var(--white); }
.s-lime { background: var(--lime); }
.s-peri { background: var(--peri); }
.s-forest { background: var(--forest); color: var(--cream); }
.s-sand { background: var(--sand); }
.sq-cards { left: 16%; top: 110px; width: 62%; height: auto; }
@media (max-width: 767px) {
  .slides-head { flex-direction: column; text-align: center; gap: 32px; padding: 48px 0 40px; }
  .slide { flex-basis: 80%; }
  .sq-cards { display: none; }
}
@media (max-width: 479px) { .slide { flex-basis: 88%; padding: 24px; gap: 24px; min-height: 0; } }

/* -------------------------------------------------------- any age, any phone -- */
.ages { position: relative; padding: 80px 0 160px; }
.ages-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.ages .h2 { position: relative; z-index: 1; }
.ages-sub { margin-top: 5rem; max-width: 28rem; }
.ages-art { position: relative; }
.ages-art .art { position: relative; z-index: 1; max-width: 440px; margin-inline: auto; }
.sq-loop { left: 32%; top: -70px; width: 150px; height: auto; }
@media (max-width: 767px) {
  .ages { padding: 40px 0 96px; }
  .ages-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; text-align: center; }
  .ages-sub { margin: 1.5rem auto 0; }
  .ages-art .art { max-width: 300px; }
  .sq-loop { display: none; }
}

/* ------------------------------------------------------ the dashboard panel -- */
.dcards { width: 100%; max-width: 1374px; display: grid; gap: 16px; text-align: left; }
.dcards-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.dcard { min-width: 0; display: flex; flex-direction: column; gap: 40px; padding: 48px; border-radius: 24px; background: var(--cream); color: var(--forest); }
.dcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem 1.5rem; flex-wrap: wrap; }
.dcard-head h3 { font-size: 3rem; line-height: 1; letter-spacing: -.045em; }
.dcard-tag { font: 600 1.5rem/1.2 var(--font); letter-spacing: -.03em; }
.dcard-body .dcard-sub { font: 600 2rem/1.12 var(--font); letter-spacing: -.03em; color: var(--forest); }
.dcard-body { display: grid; gap: 1.25rem; }
.dcard-body p { font-size: 1.125rem; line-height: 1.45; color: var(--ink-2); }
.feat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.feat.vertical { flex-direction: column; }
.feat li { display: flex; align-items: center; gap: .6rem; font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.feat li::before {
  content: ""; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--peri) center / 13px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
}
.dcard .btn { width: 100%; margin-top: auto; }
.dcard.wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.dcard.wide .dcard-main { display: flex; flex-direction: column; gap: 40px; }
.dcard.wide .btn { width: auto; align-self: flex-start; }
@media (max-width: 991px) {
  .dcards-two, .dcard.wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .dcard { padding: 24px; gap: 28px; border-radius: 16px; }
  .dcard-head { flex-direction: column; align-items: flex-start; }
  .dcard-head h3 { font-size: 2.25rem; }
  .dcard-body .dcard-sub { font-size: 1.5rem; }
  .dcard.wide .btn { width: 100%; }
}

/* An illustration of the dashboard, drawn with HTML. */
.browser { position: relative; min-width: 0; background: var(--white); border: 2px solid var(--forest); border-radius: 18px; overflow: hidden; }
.browser .chrome { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-bottom: 2px solid var(--forest); background: var(--sand); }
.browser .chrome i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--forest); }
.browser .chrome i:nth-child(1) { background: var(--lime); }
.browser .chrome i:nth-child(2) { background: var(--peri); }
.browser .chrome .url {
  margin-left: .8rem; flex: 1; max-width: 18rem; font-size: .75rem; letter-spacing: 0; color: var(--ink-3); font-family: var(--mono);
  padding: .3rem .7rem; border-radius: 999px; background: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app { display: grid; grid-template-columns: 9rem minmax(0, 1fr); min-height: 19rem; }
.app aside { border-right: 1px solid var(--line); padding: 1rem .7rem; display: grid; align-content: start; gap: .25rem; }
.app aside b { font-size: .8rem; padding: .2rem .55rem .7rem; display: flex; align-items: center; gap: .45rem; letter-spacing: -.01em; }
.app aside b::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: var(--forest); }
.app aside span { font-size: .78rem; letter-spacing: 0; color: var(--ink-3); padding: .45rem .6rem; border-radius: 9px; }
.app aside span.on { background: var(--lime); color: var(--forest); font-weight: 600; }
.app main { padding: 1rem; display: grid; gap: .9rem; align-content: start; min-width: 0; }
.app h4 { font: 600 .92rem var(--font); letter-spacing: -.01em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.stat { border-radius: 12px; padding: .6rem .7rem; background: var(--cream); }
.stat span { display: block; font-size: .64rem; letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; }
.stat b { font-size: 1.4rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.table-scroll { overflow-x: auto; }
.mini { width: 100%; border-collapse: collapse; font-size: .8rem; letter-spacing: 0; min-width: 19rem; }
.mini th, .mini td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mini th { font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
.mini tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; font-size: .68rem; font-weight: 600; padding: .15rem .55rem; border-radius: 99px; }
.badge.booked { background: var(--lime); color: var(--forest); }
.badge.done { background: var(--peri); color: var(--forest); }
.badge.cancelled { background: var(--sand); color: #8a3b2b; }
@media (max-width: 34rem) { .app { grid-template-columns: minmax(0, 1fr); } .app aside { display: none; } }
.fig-note { margin-top: .75rem; font-size: .875rem; color: var(--ink-3); }

/* How it works: numbered steps joined by pen arrows. */
.how { position: relative; z-index: 1; max-width: 1374px; margin: 0 auto; padding: 40px 0 160px; display: flex; flex-direction: column; align-items: center; gap: 112px; text-align: center; }
.how-title { color: var(--cream); }
.step { position: relative; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.num { position: relative; width: 64px; height: 64px; display: grid; place-items: center; font: 600 1.6rem var(--font-display); color: var(--cream); }
.num svg { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); overflow: visible; fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; }
.step h3 { color: var(--white); }
.step p { font-size: 1.25rem; line-height: 1.4; color: color-mix(in srgb, var(--cream) 86%, transparent); max-width: 40rem; }
.step-arrow { position: absolute; top: 0; width: 190px; height: 230px; overflow: visible; fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.step-arrow.right { right: 0; transform: translate(115%, 55%); }
.step-arrow.left { left: 0; transform: translate(-80%, 50%); }
@media (max-width: 767px) {
  .how { padding: 24px 0 80px; gap: 80px; }
  .step-arrow { width: 120px; height: 150px; }
  .step-arrow.right { transform: translate(80%, 50%); }
  .step-arrow.left { transform: translate(-60%, 50%); }
}
@media (max-width: 479px) { .step-arrow { display: none; } .how { gap: 56px; } }

/* -------------------------------------------------------------------- FAQ -- */
.faq { padding: 120px 0 80px; }
.faq-title { padding-bottom: 80px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .5fr); gap: 48px; align-items: start; }
.faq-list details { border-radius: 16px; margin-bottom: 8px; transition: background-color .2s; }
.faq-list details:hover, .faq-list details[open] { background: var(--sand); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 16px 24px; font: 600 1.5rem/1.33 var(--font); letter-spacing: -.03em; border-radius: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); transition: background-color .2s; }
.faq-list details:hover .plus, .faq-list details[open] .plus { background: var(--cream); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--forest); transform: translate(-50%, -50%); transition: transform .3s ease; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.answer { padding: 0 24px 24px; font-size: 1.25rem; line-height: 1.45; color: var(--ink-2); max-width: 48rem; }
.answer p + p { margin-top: .75rem; }
.faq-list details[open] .answer { animation: answer-in .35s ease; }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } }
.faq-card { position: relative; overflow: hidden; padding: 56px; border-radius: 16px; background: var(--sand); }
.faq-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--peri); stroke-width: 30; stroke-linecap: round; }
.faq-card-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.faq-ava { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); }
.faq-card .h3 { font-size: 2rem; line-height: 1.15; }
.faq-mail { font-size: 1rem; color: var(--forest); }
@media (max-width: 991px) {
  .faq-grid { display: flex; flex-direction: column; }
  .faq-card { order: -1; width: 100%; }
  .faq-list { width: 100%; }
}
@media (max-width: 767px) {
  .faq { padding: 80px 0 40px; }
  .faq-title { padding-bottom: 40px; }
  .faq-list summary { font-size: 1.2rem; padding: 14px 16px; }
  .answer { padding: 0 16px 20px; font-size: 1.1rem; }
  .faq-card { padding: 32px; }
}

/* ----------------------------------------------------------------- footer -- */
.site-footer { padding: 24px; }
.foot-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px 32px; padding: 24px 40px; background: var(--peri); border-radius: 24px; }
.foot-links, .foot-right { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; font-size: 1rem; }
.foot-right { justify-content: flex-end; }
.foot-bar a:not(.logo) { color: var(--forest); text-decoration: none; }
.foot-bar a:not(.logo):hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-note { margin: 16px 0 0; text-align: center; font-size: .875rem; letter-spacing: -.01em; color: var(--ink-3); }
@media (max-width: 991px) {
  .foot-bar { display: flex; flex-direction: column; gap: 24px; padding: 40px 24px; text-align: center; }
  .foot-links, .foot-right { justify-content: center; }
  .foot-links { order: 1; }
}
@media (max-width: 479px) { .site-footer { padding: 12px; } }

/* ------------------------------------------------------------ legal pages -- */
.page { padding: 80px 0 120px; }
.page .label {
  display: inline-block; padding: .35rem .85rem; border-radius: 999px; background: var(--lime);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.page h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.045em; margin-top: 1.25rem; }
.page .lead { font-size: 1.375rem; line-height: 1.45; color: var(--ink-2); max-width: 44rem; }
.meta { color: var(--ink-3); font-size: 1rem; margin-top: 1rem; }
.layout { display: grid; gap: 3rem; margin-top: 3rem; }
@media (min-width: 60rem) { .layout { grid-template-columns: 16rem minmax(0, 1fr); align-items: start; } }
nav.toc { font-size: 1rem; background: var(--white); border-radius: 24px; padding: 1.5rem; }
@media (min-width: 60rem) { nav.toc { position: sticky; top: 2rem; } }
nav.toc h2 { font: 600 .8rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; }
nav.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
nav.toc a { color: var(--forest); text-decoration: none; }
nav.toc a:hover { text-decoration: underline; }
.page article { min-width: 0; max-width: 48rem; }
.page article section { padding-top: 2.5rem; scroll-margin-top: 1.5rem; }
.page article h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 1rem; }
.page article h3 { font: 600 1.2rem/1.3 var(--font); letter-spacing: -.02em; margin: 1.5rem 0 .5rem; }
.page article p { margin: .75rem 0; font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); }
.page article ul { margin: .6rem 0; padding-left: 1.3rem; font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); }
.page article li { margin: .35rem 0; }
.page article strong { color: var(--forest); font-weight: 600; }
.summary { background: var(--white); border-radius: 24px; padding: 1.75rem 2rem; margin-top: 2rem; }
.summary h2 { font: 600 1.25rem var(--font); letter-spacing: -.02em; margin-bottom: .6rem; }
.summary ul { margin: 0; padding-left: 1.2rem; font-size: 1.1rem; line-height: 1.6; color: var(--ink-2); }
.summary li { margin: .3rem 0; }
.data-table-scroll { overflow-x: auto; margin: 1rem 0; border-radius: 16px; background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem; letter-spacing: -.01em; min-width: 34rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.data-table th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--sand); font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td { color: var(--ink-2); }
.data-table td:first-child { color: var(--forest); font-weight: 600; }

/* ---------------------------------------------------------------- contact -- */
.card { background: var(--white); border-radius: 24px; padding: 2rem; transition: transform .25s ease; }
.card:hover { transform: translateY(-3px); }
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); margin-top: 3rem; }
.contact-grid .card h2 { font: 600 1.5rem/1.2 var(--font); letter-spacing: -.03em; margin-bottom: .75rem; }
.contact-grid .card p { margin-bottom: 1rem; font-size: 1.1rem; line-height: 1.5; color: var(--ink-2); }
.contact-grid .card p:last-child { margin-bottom: 0; }
.contact-grid .card ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-2); font-size: 1.05rem; line-height: 1.5; }
.email-link { font-weight: 600; overflow-wrap: anywhere; }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.error-page .label { display: inline-block; padding: .35rem .85rem; border-radius: 999px; background: var(--lime); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.error-page h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; margin-top: 1rem; }
.error-page p { color: var(--ink-2); margin: 1rem auto 2rem; max-width: 32rem; }

/* ------------------------------------------------------ the phone mock-up -- */
/* An Android phone running WhatsApp: slim bezel, side buttons, a punch-hole
   camera, WhatsApp's green bars, beige chat and its message bubbles. */
.stage { position: relative; z-index: 1; display: grid; place-items: center; margin: 0; }
.device {
  --phone-w: 22.5rem;
  position: relative; width: min(var(--phone-w), 100%); aspect-ratio: 9 / 18.6; padding: 9px; border-radius: 50px;
  background: linear-gradient(160deg, #1d2622 0%, #0c110f 55%, #1a221e 100%);
  box-shadow: inset 0 0 0 1.5px #3a443f, inset 0 0 0 3px #080b0a, 0 2px 6px rgba(30, 58, 43, .08), 0 44px 80px -30px rgba(30, 58, 43, .5);
  animation: rise 1s cubic-bezier(.2, .8, .2, 1) .15s both, float 7s ease-in-out 1.2s infinite;
}
.device::before, .device::after { content: ""; position: absolute; width: 3.5px; border-radius: 3px; background: linear-gradient(90deg, #2b3430, #151b18); }
.device::before { right: -3px; top: 19%; height: 62px; box-shadow: 0 86px 0 0 #1f2724; }   /* volume up, volume down */
.device::after { right: -3px; top: 42%; height: 44px; opacity: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes float { 50% { translate: 0 -10px; } }
.screen-wrap {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 41px;
  background: #efeae2; text-align: left; letter-spacing: 0; color: #111b21; font-size: 14.2px; line-height: 1.36;
}

/* Status bar: time, camera, signal, wifi, battery. */
.phone-status {
  position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 2px 24px 0 26px;
  background: #007763; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
.ps-cam { position: absolute; left: 50%; top: 9px; width: 13px; height: 13px; border-radius: 50%; transform: translateX(-50%); background: #070a09; box-shadow: inset 0 0 0 2.5px #1a2320, 0 0 0 1px rgba(255, 255, 255, .06); }
.ps-icons { display: inline-flex; align-items: center; gap: 5px; }
.ps-icons svg { height: 12px; width: auto; fill: currentColor; }
.phone-body { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #efeae2; }
.phone-nav { flex: none; display: grid; place-items: center; height: 18px; background: #efeae2; }
.phone-nav span { width: 104px; height: 4px; border-radius: 2px; background: #111b21; opacity: .45; }
.screen-wrap.show-list .phone-nav { background: #fff; }

/* The chat screen. */
.wa-app { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; background: #efeae2; }
.wa-top { flex: none; display: flex; align-items: center; gap: 6px; padding: 8px 10px 9px 4px; background: #008069; color: #fff; }
.wa-back { flex: none; width: 34px; height: 34px; display: grid; place-items: center; margin-right: -4px; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; padding: 0; }
.wa-back:hover { background: rgba(255, 255, 255, .12); }
.wa-back svg, .wa-icons svg { width: 22px; height: 22px; fill: currentColor; }
.wa-top .avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #e7f6f1; }
.wa-top .avatar svg { width: 24px; height: 24px; }
.wa-who { flex: 1; min-width: 0; padding-left: 4px; }
.wa-top b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-status { position: relative; display: block; height: 1.25em; font-size: 12.5px; opacity: .9; }
.wa-status span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.wa-status .typing { opacity: 0; animation: typing-window 6s linear both; }
.wa-status .online { animation: online-window 6s linear both; }
@keyframes typing-window { 0%, 14% { opacity: 0; } 16%, 30% { opacity: 1; } 32%, 60% { opacity: 0; } 62%, 72% { opacity: 1; } 74%, 100% { opacity: 0; } }
@keyframes online-window { 0%, 14% { opacity: 1; } 16%, 30% { opacity: 0; } 32%, 60% { opacity: 1; } 62%, 72% { opacity: 0; } 74%, 100% { opacity: 1; } }
.wa-icons { flex: none; display: flex; align-items: center; gap: 16px; padding-right: 4px; }

/* WhatsApp's beige wallpaper, with a faint pattern of our own. */
.wa-chat {
  flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 8px 12px 10px; overflow: hidden;
  background: #efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='none' stroke='%23000' stroke-opacity='.055' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 30c0-6 8-8 10-2 2-6 10-4 10 2 0 7-10 12-10 12s-10-5-10-12z'/%3E%3Crect x='96' y='14' width='26' height='22' rx='4'/%3E%3Cpath d='M96 21h26M103 10v7M115 10v7'/%3E%3Cpath d='M58 86l6 6 12-12'/%3E%3Ccircle cx='67' cy='86' r='11'/%3E%3Cpath d='M128 90c8 0 12 4 12 10s-4 10-12 10h-10l-6 6v-6c-4-2-6-5-6-10 0-6 4-10 12-10z'/%3E%3Crect x='18' y='118' width='28' height='12' rx='6'/%3E%3Cpath d='M32 118v12'/%3E%3Cpath d='M92 136l4-9 4 9 9 1-7 6 2 9-8-5-8 5 2-9-7-6z'/%3E%3C/svg%3E") repeat;
  background-size: 160px 160px;
}
.wa-date { align-self: center; margin: 6px 0 8px; padding: 5px 12px 6px; border-radius: 8px; background: #fff; color: #54656f; font-size: 12px; font-weight: 600; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }

/* Message bubbles, with WhatsApp's little tail on the first of a run. */
.msg {
  position: relative; max-width: 82%; margin-top: 8px; padding: 6px 8px 8px 9px; border-radius: 8px;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13); overflow-wrap: anywhere;
  opacity: 0; animation: msg-in .5s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: var(--d, 0s);
}
.msg.cont { margin-top: 2px; }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 0; transform-origin: 0 0; }
.msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 0; transform-origin: 100% 0; }
.msg.cont.in { border-top-left-radius: 8px; }
.msg.cont.out { border-top-right-radius: 8px; }
.msg:not(.cont)::before { content: ""; position: absolute; top: 0; width: 8px; height: 13px; background: inherit; }
.msg.in:not(.cont)::before { left: -7px; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.msg.out:not(.cont)::before { right: -7px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.msg-body { position: relative; }
.msg-text { white-space: pre-line; }
.msg-text::after { content: ""; display: inline-block; width: 50px; height: 1px; }
.msg.out .msg-text::after { width: 68px; }
.msg-meta { position: absolute; right: -2px; bottom: -5px; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; line-height: 15px; color: #667781; white-space: nowrap; }
.msg-meta .ticks { width: 16px; height: 11px; color: #8696a0; transition: color .3s; }
.msg-meta .ticks.read { color: #53bdeb; }
.msg.has-choices { min-width: 76%; }
.msg .choices { display: block; margin: 9px -8px -8px -9px; border-top: 1px solid #e9edef; }
.msg .choices > * {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 10px 8px;
  font: inherit; font-size: 14.5px; font-weight: 600; color: #027eb5; text-align: center; background: none; border: 0; border-top: 1px solid #e9edef;
}
.msg .choices > :first-child { border-top: 0; }
.msg .choices svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }

/* The input bar: emoji, message, attach, camera, and the green mic / send button. */
.wa-bar, .wa-composer { flex: none; display: flex; align-items: flex-end; gap: 6px; padding: 5px 7px 7px; }
.wa-field {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px;
  border-radius: 24px; background: #fff; color: #8696a0; box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
}
.wa-field svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.wa-field .ph, .wa-field input { flex: 1; min-width: 0; font: inherit; font-size: 15px; color: #111b21; }
.wa-field .ph { color: #8696a0; }
.wa-field input { border: 0; outline: 0; background: transparent; padding: 11px 0; }
.wa-field input::placeholder { color: #8696a0; }
.wa-field:focus-within { box-shadow: 0 0 0 2px #00a884; }
.wa-send { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #00a884; color: #fff; cursor: pointer; padding: 0; }
.wa-send svg { width: 21px; height: 21px; fill: currentColor; }
.wa-send .i-send { display: none; }
.wa-composer.has-text .wa-send .i-send { display: block; }
.wa-composer.has-text .wa-send .i-mic { display: none; }

/* The chats list the demo opens on. */
.wa-list { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; background: #fff; }
.wl-bar { flex: none; background: #008069; color: #fff; }
.wl-title { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 10px 0 18px; }
.wl-title b { font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.wl-title span { display: inline-flex; gap: 20px; padding-right: 8px; }
.wl-title svg { width: 22px; height: 22px; fill: currentColor; }
.wl-tabs { display: flex; }
.wl-tabs span { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 11px 0 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .72; border-bottom: 3px solid transparent; }
.wl-tabs .on { opacity: 1; border-color: #fff; }
.wl-tabs i { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff; color: #008069; font-size: 11px; line-height: 18px; text-align: center; }
.wl-rows { flex: 1; min-height: 0; overflow: hidden; padding-top: 4px; }
.wl-row { position: relative; display: flex; align-items: center; gap: 13px; width: 100%; padding: 9px 16px; border: 0; background: none; font: inherit; color: inherit; text-align: left; }
button.wl-row { cursor: pointer; }
button.wl-row:hover, button.wl-row.pressed { background: #f0f2f5; }
.wl-ava { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #dfe5e7; overflow: hidden; }
.wl-ava svg { width: 100%; height: 100%; }
.wl-ava.clinic { background: #e7f6f1; }
.wl-ava.clinic svg { width: 30px; height: 30px; }
.wl-main { flex: 1; min-width: 0; }
.wl-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wl-name { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-time { flex: none; font-size: 12px; color: #667781; }
.wl-row.unread .wl-time { color: #1fa855; font-weight: 600; }
.wl-last { display: block; margin-top: 2px; font-size: 14px; color: #667781; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-last.hint { color: #008069; font-weight: 600; }
.wl-last .ticks { width: 16px; height: 11px; margin-right: 1px; vertical-align: -1px; color: #53bdeb; }
.wl-badge { flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #25d366; color: #fff; font-size: 11.5px; font-weight: 600; line-height: 20px; text-align: center; }
.wl-fab { position: absolute; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #00a884; color: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .22); }
.wl-fab svg { width: 24px; height: 24px; fill: currentColor; }
.wl-tap { position: absolute; left: 41px; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0, 128, 105, .3); opacity: 0; pointer-events: none; }
.wl-clinic.hint .wl-tap { animation: tap-hint 1.4s ease-out infinite; }
.wl-clinic.tapped .wl-tap { animation: tap-press .5s ease-out both; }
@keyframes tap-hint { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes tap-press { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

/* Opening a chat slides it in over the list, as on the phone. */
.wa-app, .wa-list { transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.screen-wrap.show-list .wa-app { transform: translateX(100%); }
.screen-wrap:not(.show-list) .wa-list { transform: translateX(-28%); }
.screen-wrap.show-list .wa-app { box-shadow: none; }
.wa-app { box-shadow: -6px 0 16px rgba(11, 20, 26, .12); }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .7rem; text-align: left;
  padding: .7rem .95rem; border-radius: 16px; background: var(--white); border: 2px solid var(--forest);
  font-size: .85rem; line-height: 1.3; letter-spacing: -.01em; color: var(--forest);
  opacity: 0; animation: pop .6s cubic-bezier(.2, .9, .3, 1.25) both, bob 6s ease-in-out infinite;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + .6s);
}
.float-card b { display: block; font-size: .92rem; font-weight: 600; }
.float-card small { color: var(--ink-3); font-size: .78rem; }
.float-card .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; color: var(--forest); background: var(--lime); }
.float-card .ic svg { width: 18px; height: 18px; }
/* Beside the phone, overlapping only its bezel, so no message is covered. */
.float-card.fc1 { right: calc(50% - 22.5rem / 2 - 12.5rem); top: 30%; }
.float-card.fc2 { left: calc(50% - 22.5rem / 2 - 11.5rem); top: 58%; }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -8px; } }
@media (max-width: 40rem) {
  .float-card { display: none; }
}
.caption { font-size: 1rem; letter-spacing: -.01em; color: var(--ink-2); text-align: center; margin-top: 1.5rem; }

/* ------------------------------------------------ the live WhatsApp demo -- */
/* assets/demo.js turns the hero phone into a clickable demo; without it the
   animated example above is shown instead. */
.demo-hint { display: none; }
.demo-on .demo-hint { display: inline; }
.demo-on .static-hint { display: none; }
.demo-restart {
  font: inherit; font-weight: 600; color: var(--forest); background: none; border: 0; padding: 0 .1rem;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.device.live { position: relative; animation: rise 1s cubic-bezier(.2, .8, .2, 1) .15s both; }
/* The chat scrolls inside the phone; once it can't scroll further, the page does. */
.device.live .wa-chat { overflow-y: auto; scroll-behavior: smooth; scrollbar-width: none; }
.device.live .wa-chat::-webkit-scrollbar { display: none; }
.device.live .wa-status .online, .device.live .wa-status .typing { animation: none; }
.device.live .wa-status .typing { opacity: 0; }
.device.live .wa-status.is-typing .typing { opacity: 1; }
.device.live .wa-status.is-typing .online { opacity: 0; }
.device.live .msg { animation-duration: .32s; }
.msg .choices button { cursor: pointer; }
.msg .choices button:hover:not(:disabled) { background: #f5f6f6; }
.msg .choices button:disabled { color: #8696a0; cursor: default; }
/* visibility keeps a closed sheet's rows out of the tab order and away from screen readers. */
.wa-sheet-bg {
  position: absolute; inset: 0; z-index: 4; background: rgba(11, 20, 26, .45); opacity: 0; pointer-events: none;
  visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
}
.wa-sheet-bg.open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .2s ease; }
.wa-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 76%; overflow-y: auto;
  background: #fff; color: #111b21; border-radius: 18px 18px 0 0;
  transform: translateY(100%); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.wa-sheet-bg.open .wa-sheet { transform: none; }
.wa-sheet-head {
  position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px 14px; font-size: 16px; font-weight: 600; background: #fff; border-bottom: 1px solid #e9edef;
}
.wa-sheet-head::before { content: ""; position: absolute; left: 50%; top: 6px; width: 34px; height: 4px; border-radius: 2px; background: #d1d7db; transform: translateX(-50%); }
.wa-sheet-close { font-size: 1.5rem; line-height: 1; background: none; border: 0; color: #667781; cursor: pointer; padding: 0 2px; }
.wa-sheet-item {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer;
  padding: 13px 18px; border-bottom: 1px solid #f0f2f5;
}
.wa-sheet-item:hover, .wa-sheet-item:focus-visible { background: #f5f6f6; }
.wa-sheet-item .si-t { display: block; font-size: 15px; font-weight: 500; }
.wa-sheet-item .si-s { display: block; margin-top: 2px; font-size: 12.5px; color: #667781; }
.wa-sheet-item .radio { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #8696a0; }
/* The "new booking" card waits for the visitor's own booking. The demo moves it
   into the phone, across its top edge like a notification, so at any width it
   stays clear of the messages and the clinic's name. The static "Today" card
   would cover the list sheet, so the live demo leaves it out. */
.demo-on .float-card.fc2 { display: none; }
.device.live .float-card.fc1 { top: -1.6rem; right: -1.6rem; z-index: 5; }
.demo-on .float-card.fc1 { opacity: 0; animation: none; pointer-events: none; }
.demo-on .float-card.fc1.show { opacity: 1; animation: pop .6s cubic-bezier(.2, .9, .3, 1.25) both, bob 6s ease-in-out .6s infinite; }
/* On a phone the booking card drops in over the top of the screen, like a notification. */
@media (max-width: 40rem) { .device.live .float-card.fc1 { display: flex; top: 44px; left: 18px; right: 18px; } }

/* ----------------------------------------------------------------- motion -- */
/* Only with the .motion class, which /assets/motion.js adds for visitors who
   have not asked for reduced motion. */
.motion [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
}
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion .draw [pathLength] {
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset var(--dur, 1.1s) cubic-bezier(.55, .1, .3, 1) calc(var(--d, 0s) + var(--i, 0) * var(--step, 30ms));
}
/* Matched by element type, not [pathLength]: Chrome does not re-style SVG children
   picked by that camelCase attribute when an ancestor's class changes. */
.motion .draw.in :is(path, circle, ellipse, rect, line, polyline, polygon) { stroke-dashoffset: 0; }
.motion .draw :is(.paper, .white, .solid, .lime-f, .peri-f, .sand-f) { transition: fill-opacity .7s ease calc(var(--d, 0s) + var(--fill, .9s)); }
.motion .draw:not(.in) :is(.paper, .white, .solid, .lime-f, .peri-f, .sand-f) { fill-opacity: 0; }
.motion .draw text { transition: opacity .6s ease calc(var(--d, 0s) + .5s); }
.motion .draw:not(.in) text { opacity: 0; }
.motion [data-scroll-draw] [pathLength] { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.motion .words li {
  opacity: 0; transform: rotate(var(--r)) translateY(18px) scale(.9);
  transition: opacity .5s ease calc(var(--i) * 110ms), transform .6s cubic-bezier(.2, .9, .3, 1.3) calc(var(--i) * 110ms);
}
.motion .words.in li { opacity: 1; transform: rotate(var(--r)); }
@media (max-width: 767px) { .motion .words li { transform: rotate(calc(var(--r) / 2)) translateY(18px); } .motion .words.in li { transform: rotate(calc(var(--r) / 2)); } .words li { transform: rotate(calc(var(--r) / 2)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .msg, .float-card, .wa-status .online { opacity: 1 !important; }
  .wa-status .typing { opacity: 0 !important; }
  .demo-on .float-card.fc1:not(.show) { opacity: 0 !important; }
  .demo-on .float-card.fc1.show { opacity: 1 !important; }
  .device.live .msg { opacity: 1 !important; }
}
@media print {
  .dock, .squiggle, .note { display: none !important; }
  .motion [data-reveal], .motion .words li { opacity: 1 !important; transform: none !important; }
  .motion .draw [pathLength], .motion [data-scroll-draw] [pathLength] { stroke-dashoffset: 0 !important; }
}
