/*
 * kelden.ai: the one shared stylesheet. No external resources and no build step. The document pages
 * use system fonts; the home page (body.home, at the end) uses one self-hosted font, Noto Sans, under
 * the SIL Open Font License (fonts/OFL.txt).
 * Colors are tokens. The document pages' dark scheme follows the visitor's system setting (body text
 * is 7:1 or better in both schemes); the home page is light only. Every text/background pair meets
 * WCAG AA.
 */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f4f5f7;
  --text: #16181d;
  --muted: #4a505a;
  --border: #d7dae0;
  --accent: #1f4fd1;
  --accent-text: #ffffff;
  --focus: #1f4fd1;
  --page: 68rem;
  --prose: 44rem;
  --radius: 0.75rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #1a1d23;
    --text: #eceef2;
    --muted: #b3b9c3;
    --border: #2f343c;
    --accent: #8fb1ff;
    --accent-text: #0b1020;
    --focus: #8fb1ff;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p,
li,
td,
th,
dd {
  overflow-wrap: break-word;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

/* Skip link: hidden until focused. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 0.875rem;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--focus);
  border-radius: 0.5rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 40rem) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.wordmark {
  color: var(--text);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.625rem 1.125rem;
  border: 2px solid var(--accent);
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.button:hover {
  text-decoration: underline;
}

.button-secondary {
  background: transparent;
  color: var(--accent);
}

.button-small {
  padding: 0.4375rem 0.875rem;
  font-size: 0.9375rem;
}

/* Home */
.hero {
  padding: 3rem 0 2.5rem;
}

@media (min-width: 48rem) {
  .hero {
    padding: 5rem 0 3.5rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 20ch;
  margin: 0 0 1rem;
  font-size: clamp(2.125rem, 1.5rem + 3vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.1875rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
}

.section > .container > h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
}

.section-intro {
  max-width: 40rem;
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 0.875rem;
  max-width: 48rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.125rem 1.25rem 1.125rem 3.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 1.125rem;
  left: 1.125rem;
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.9375rem;
  font-weight: 700;
}

.steps h3,
.card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
}

.steps p,
.card p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.integrations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem 2rem;
  margin: 0;
}

.integrations dt {
  font-weight: 600;
}

.integrations dd {
  margin: 0.125rem 0 0;
  color: var(--muted);
}

/* Legal and security documents */
.doc {
  padding: 2.5rem 0 3rem;
}

.prose {
  max-width: var(--prose);
}

.prose a {
  overflow-wrap: anywhere;
}

.doc h1 {
  margin: 0 0 0.375rem;
  font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  letter-spacing: -0.02em;
}

.effective {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.doc .lead {
  margin: 0.75rem 0 0.5rem;
}

.doc h2 {
  margin: 2.5rem 0 0.625rem;
  font-size: 1.4375rem;
  scroll-margin-top: 1rem;
}

.doc h3 {
  margin: 1.5rem 0 0.375rem;
  font-size: 1.125rem;
  scroll-margin-top: 1rem;
}

.doc ul,
.doc ol {
  padding-left: 1.375rem;
}

.doc li + li {
  margin-top: 0.375rem;
}

.toc {
  margin: 1.5rem 0 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
}

.toc h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.toc ol {
  margin: 0;
  columns: 2 14rem;
  column-gap: 2rem;
}

.toc li + li {
  margin-top: 0.25rem;
}

.callout {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 0.5rem 0.5rem 0;
  background: var(--surface);
}

.callout p {
  margin: 0;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

caption {
  padding-bottom: 0.5rem;
  color: var(--muted);
  text-align: left;
}

th,
td {
  padding: 0.625rem 0.875rem 0.625rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

thead th {
  border-bottom-width: 2px;
}

tbody th {
  min-width: 7rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: 1rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.footer-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.site-footer p {
  margin: 0.25rem 0;
}

/* ------------------------------------------------------------------------------------------
 * Home page (body.home): the marketing design of 26 September 2026. Light only. Every class
 * starts with "h-", so nothing here reaches the document pages above.
 * The booking demo runs without scripts, which the site's policy forbids: one group of hidden radios
 * holds the business type and the picked time together (h-st-home or h-st-spa, then h-st-none or
 * h-st-picked with the time), and the rules below show the rest. A tab checks its type's no-time
 * state, so a pick never carries to the other type. A picked time's parts go from display:none to
 * shown, so each pick replays its animations.
 * ------------------------------------------------------------------------------------------ */

@font-face {
  font-family: "Noto Sans Web";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/noto-sans-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;
}

.home {
  /* The shared tokens the skip link and focus ring read, fixed to the light scheme. */
  --bg: #ffffff;
  --text: #0f1b2d;
  --focus: #0f1b2d;
  --ink: #0f1b2d;
  --ink-2: #2e3a4d;
  --ink-3: #525e70;
  --orange: #ff6b2c;
  --good: #146c46;
  --bad: #b42318;
  color-scheme: light;
  background: #e9eef4;
  color: var(--ink);
  font-family: "Noto Sans Web", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.home ::selection {
  background: #ffd9c7;
}

.home a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.home a:hover {
  color: var(--ink-2);
}

.home [id] {
  scroll-margin-top: 104px;
}

.home svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.h-wrap {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 56px;
}

.h-sec {
  padding: 120px 0;
}

.h-sec-tight {
  padding: 0 0 120px;
}

.h-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.h-h1,
.h-h2,
.h-hcta {
  margin: 0;
  font-weight: 800;
  text-wrap: balance;
}

.h-h1 {
  max-width: 980px;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.h-h2 {
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.h-hcta {
  max-width: 720px;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.h-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}

.h-head p {
  margin: 0;
  max-width: 480px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
}

.h-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.h-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}

/* Glass: the frosted panels. */
.h-bar,
.h-cal,
.h-chat,
.h-with,
.h-kchat,
.h-try {
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}

/* Header: a floating glass bar over the hero. */
.h-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 92px;
  margin-bottom: -92px;
  padding: 16px 16px 0;
  pointer-events: none;
}

.h-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1168px;
  height: 62px;
  margin: 0 auto;
  padding: 0 9px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 32px -20px rgba(15, 27, 45, 0.4);
  pointer-events: auto;
}

.h-wordmark {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.h-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.h-navlinks {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-navlinks a,
.h-signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.home .h-navlinks a {
  color: var(--ink-2);
}

.h-signin {
  margin-right: 8px;
  font-weight: 600;
}

.h-navlinks a:hover,
.h-signin:hover {
  text-decoration: underline;
}

/* Buttons */
.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  background: var(--orange);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(255, 107, 44, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.18s ease;
}

.home .h-btn:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.h-btn-large {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 17px;
  box-shadow: 0 12px 26px -14px rgba(255, 107, 44, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.h-btn-ghost {
  padding: 0 22px;
  border: 1px solid rgba(15, 27, 45, 0.12);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  box-shadow: none;
}

.h-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Hero */
.h-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 110px;
}

.h-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.h-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 660px;
  gap: 56px;
  align-items: start;
}

.h-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 4px;
}

.h-lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.h-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
}

.h-ticks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.h-ticks svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
  color: var(--good);
}

.h-works {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 27, 45, 0.1);
}

.h-works ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-3);
}

/* Demo: the controls */
.h-demo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.h-state {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
}

.h-demo-for {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.h-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 20px -14px rgba(15, 27, 45, 0.35);
}

.h-tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.h-st-home:checked ~ .h-demo-for .h-tab-home,
.h-st-spa:checked ~ .h-demo-for .h-tab-spa {
  background: var(--ink);
  color: #f3f6fa;
  font-weight: 700;
  cursor: default;
}

.h-st-home.h-st-none:focus-visible ~ .h-demo-for .h-tab-home,
.h-st-spa.h-st-none:focus-visible ~ .h-demo-for .h-tab-spa {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.h-st-home:checked ~ .h-stage .h-scene-spa,
.h-st-spa:checked ~ .h-stage .h-scene-home {
  display: none;
}

/* Demo: the stage, a calendar behind a conversation */
.h-stage {
  position: relative;
  width: 660px;
  height: 648px;
  margin: 0;
}

.h-amb {
  position: absolute;
  top: 0;
  left: -24px;
  right: -170px;
  bottom: 44px;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(15, 27, 45, 0.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 27, 45, 0.05) 1px, transparent 1px);
  background-size: 72px 56px;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 58% 48%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 60% at 58% 48%, #000 55%, transparent 100%);
}

.h-amb i,
.h-cta-amb i {
  position: absolute;
  animation: h-amb 14s ease-in-out infinite both;
}

.h-amb i {
  border-radius: 14px;
}

.h-amb i:nth-child(1) { left: 564px; top: 84px; width: 170px; height: 150px; background: rgba(127, 180, 255, 0.55); animation-delay: -1s; }
.h-amb i:nth-child(2) { left: 614px; top: 250px; width: 160px; height: 190px; background: rgba(94, 209, 182, 0.55); animation-delay: -9s; }
.h-amb i:nth-child(3) { left: 454px; top: 420px; width: 180px; height: 120px; background: rgba(255, 211, 107, 0.6); animation-delay: -4s; }
.h-amb i:nth-child(4) { left: 414px; top: 170px; width: 160px; height: 130px; background: rgba(185, 164, 255, 0.55); animation-delay: -6s; }
.h-amb i:nth-child(5) { left: 624px; top: 470px; width: 150px; height: 110px; background: rgba(255, 140, 105, 0.45); animation-delay: -2s; }

.h-cal {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 300px;
  height: 566px;
  padding: 18px 16px 16px 26px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 30px 60px -30px rgba(15, 27, 45, 0.35), 0 2px 8px rgba(15, 27, 45, 0.05);
}

.h-cal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.h-cal-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h-cal-src {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ink-3);
}

.h-cal-src svg {
  width: 12px;
  height: 12px;
  stroke-width: 1.8;
}

.h-cal-days {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.h-cal-days span {
  padding-left: 4px;
}

/* One hour is 56px, from 8 am at the top. */
.h-cal-grid {
  position: relative;
  height: 448px;
}

.h-cal-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 42px;
  right: 0;
  height: 449px;
  background: repeating-linear-gradient(to bottom, rgba(15, 27, 45, 0.08) 0 1px, transparent 1px 56px);
}

.h-hr {
  position: absolute;
  left: 0;
  width: 32px;
  font-size: 10.5px;
  line-height: 14px;
  text-align: right;
  white-space: nowrap;
  color: var(--ink-3);
}

.h-hr:nth-child(1) { top: -7px; }
.h-hr:nth-child(2) { top: 49px; }
.h-hr:nth-child(3) { top: 105px; }
.h-hr:nth-child(4) { top: 161px; }
.h-hr:nth-child(5) { top: 217px; }
.h-hr:nth-child(6) { top: 273px; }
.h-hr:nth-child(7) { top: 329px; }
.h-hr:nth-child(8) { top: 385px; }
.h-hr:nth-child(9) { top: 441px; }

.h-ev,
.h-open,
.h-booked {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 99px;
  height: 50px;
  padding: 5px 8px;
  border-radius: 10px;
}

.h-ev b,
.h-open b,
.h-booked b {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 14px;
}

.h-ev span,
.h-open span {
  font-size: 11px;
  line-height: 14px;
  color: var(--ink-2);
}

.h-ev { padding: 6px 8px; }
.h-ev1 { left: 45px; top: 87px; height: 78px; background: #d6e8ff; }
.h-ev2 { left: 45px; top: 199px; background: #d3f2ea; }
.h-ev3 { left: 45px; top: 395px; background: #e6defe; }
.h-ev4 { left: 156px; top: 143px; height: 78px; background: #ffefc7; }
.h-ev5 { left: 156px; top: 283px; height: 78px; background: #d6e8ff; }

.h-at-wed8 { left: 45px; top: 3px; }
.h-at-wed130 { left: 45px; top: 311px; }
.h-at-thu9 { left: 156px; top: 59px; }

.h-open {
  justify-content: center;
  border: 1.5px dashed var(--orange);
  animation: h-breathe 2.8s ease-in-out infinite;
}

.h-open.h-at-wed130 { animation-delay: 0.9s; }
.h-open.h-at-thu9 { animation-delay: 1.8s; }

.h-booked {
  display: none;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  row-gap: 2px;
  background: var(--orange);
  box-shadow: 0 10px 20px -10px rgba(255, 107, 44, 0.95);
}

.h-booking,
.h-done {
  display: flex;
  align-items: center;
  grid-area: 2 / 1;
  font-size: 11px;
  line-height: 14px;
}

.h-booking {
  gap: 5px;
  font-weight: 600;
}

.h-done {
  gap: 4px;
  font-weight: 700;
}

.h-done svg {
  width: 11px;
  height: 11px;
  stroke-width: 3;
}

.h-booking i,
.h-cap-busy i {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-top-color: transparent;
  border-radius: 50%;
  animation: h-spin 0.8s linear infinite;
}

.h-chat {
  position: absolute;
  top: 44px;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 380px;
  height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 34px 70px -30px rgba(15, 27, 45, 0.45), 0 2px 8px rgba(15, 27, 45, 0.06);
}

.h-chat-head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
}

.h-avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff9a6e;
  font-size: 13px;
  font-weight: 700;
}

.h-avatar-teal {
  background: #5ed1b6;
}

.h-who {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1px;
  min-width: 0;
}

.h-who b {
  font-size: 14.5px;
}

.h-who span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.h-who svg,
.h-pill svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}

.h-replying {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 27, 45, 0.06);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-2);
}

/* Newest at the bottom; older messages slide up under a fade. */
.h-msgs {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-end;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
}

.h-msgs > * + * {
  margin-top: 10px;
}

.h-msgs-static {
  justify-content: flex-start;
  padding: 18px;
  -webkit-mask-image: none;
  mask-image: none;
}

.h-pill {
  display: inline-flex;
  flex-shrink: 0;
  align-self: center;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 27, 45, 0.06);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.h-in,
.h-out {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 4px;
}

.h-in {
  align-self: flex-start;
  align-items: flex-start;
  max-width: 280px;
}

.h-out {
  align-self: flex-end;
  align-items: flex-end;
  max-width: 310px;
}

.h-in > p,
.h-out > p {
  margin: 0;
  padding: 9px 13px;
  font-size: 13.5px;
  line-height: 1.45;
}

.h-in > p {
  border: 1px solid rgba(15, 27, 45, 0.08);
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, 0.92);
}

.h-out > p,
.h-bubble,
.h-typing {
  border-radius: 16px 16px 5px 16px;
  background: var(--ink);
  color: #f3f6fa;
}

.h-bubble {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 10px 12px;
  font-size: 13.5px;
  line-height: 1.45;
}

.h-bubble p {
  margin: 0;
}

.h-in > span,
.h-out > span {
  display: flex;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-3);
}

.h-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.h-slot {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  animation: h-pulse 2.4s ease-in-out infinite;
}

.h-slot:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Once a time is picked, the list is answered: the other times fade and none can be picked. */
.h-st-picked:checked ~ .h-stage .h-slot {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: default;
  pointer-events: none;
  animation: none;
}

.h-st-wed8:checked ~ .h-stage .h-slot-wed8,
.h-st-wed130:checked ~ .h-stage .h-slot-wed130,
.h-st-thu9:checked ~ .h-stage .h-slot-thu9 {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
}

.h-st-wed8:focus-visible ~ .h-stage .h-slot-wed8,
.h-st-wed130:focus-visible ~ .h-stage .h-slot-wed130,
.h-st-thu9:focus-visible ~ .h-stage .h-slot-thu9 {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.h-said,
.h-conf,
.h-typing,
.h-cap-busy,
.h-cap-done,
.h-replay {
  display: none;
}

.h-typing {
  flex-shrink: 0;
  align-self: flex-end;
  align-items: center;
  gap: 5px;
  padding: 13px 15px;
  overflow: hidden;
}

.h-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f3f6fa;
  animation: h-dot 1s ease-in-out infinite;
}

.h-typing i:nth-child(2) { animation-delay: 0.15s; }
.h-typing i:nth-child(3) { animation-delay: 0.3s; }

.h-conf {
  overflow: hidden;
}

/* The pick, in order: the lead's answer now, the calendar booking at 0.75s, "Booked" once the
   calendar reads it back at 1.6s, and the confirmation at 2.3s. */
.h-st-wed8:checked ~ .h-stage .h-said-wed8,
.h-st-wed130:checked ~ .h-stage .h-said-wed130,
.h-st-thu9:checked ~ .h-stage .h-said-thu9 {
  display: flex;
  animation: h-in 0.35s ease-out both;
}

.h-st-wed8:checked ~ .h-stage .h-booked-wed8,
.h-st-wed130:checked ~ .h-stage .h-booked-wed130,
.h-st-thu9:checked ~ .h-stage .h-booked-thu9 {
  display: grid;
  animation: h-drop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.75s both;
}

.h-st-picked:checked ~ .h-stage .h-booking {
  animation: h-hide 0.15s linear 1.6s both;
}

.h-st-picked:checked ~ .h-stage .h-done {
  animation: h-show 0.3s ease-out 1.6s both;
}

.h-st-picked:checked ~ .h-stage .h-typing {
  display: flex;
  animation: h-typing 1.55s linear 0.75s both;
}

.h-st-wed8:checked ~ .h-stage .h-conf-wed8,
.h-st-wed130:checked ~ .h-stage .h-conf-wed130,
.h-st-thu9:checked ~ .h-stage .h-conf-thu9 {
  display: flex;
  animation: h-grow 0.4s ease-out 2.3s both;
}

/* The caption under the demo */
.h-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}

.h-cap > span {
  align-items: center;
  gap: 8px;
}

.h-cap-idle {
  display: flex;
}

.h-cap-idle svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.h-cap-busy {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.h-cap-busy i {
  width: 12px;
  height: 12px;
  border-color: var(--orange);
  border-top-color: transparent;
}

.h-cap-done {
  font-weight: 700;
  color: var(--good);
}

.h-cap-done svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}

.h-replay {
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(15, 27, 45, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.h-st-picked:checked ~ .h-stage .h-cap-idle {
  display: none;
}

.h-st-picked:checked ~ .h-stage .h-cap-busy {
  display: flex;
  animation: h-hide 0.2s linear 2.3s both;
}

.h-st-picked:checked ~ .h-stage .h-cap-done,
.h-st-picked:checked ~ .h-stage .h-replay {
  display: flex;
  animation: h-show 0.35s ease-out 2.3s both;
}

/* Each type has its own Replay, for its own no-time state. */
.h-st-home:checked ~ .h-stage .h-replay-spa,
.h-st-spa:checked ~ .h-stage .h-replay-home {
  display: none;
}

/* Before and after */
.h-without,
.h-with {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 26px;
}

.h-without {
  border: 1.5px dashed rgba(15, 27, 45, 0.16);
  background: rgba(15, 27, 45, 0.04);
}

.h-without h3,
.h-with h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h-without h3 {
  color: var(--ink-3);
}

.h-without ul,
.h-with ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-without ul {
  gap: 10px;
}

.h-without li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 14px -10px rgba(15, 27, 45, 0.35);
  font-size: 16px;
  font-weight: 700;
  transform: rotate(-1.2deg);
}

.h-without li:nth-child(2) { transform: rotate(0.8deg); }
.h-without li:nth-child(3) { transform: rotate(-0.6deg); }
.h-without li:nth-child(4) { transform: rotate(1deg); }
.h-without li:nth-child(5) { transform: rotate(-0.8deg); }

.h-without svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
  color: var(--bad);
}

.h-with-wrap,
.h-try-wrap {
  position: relative;
}

.h-blob {
  position: absolute;
  border-radius: 18px;
}

.h-blob-a { top: -22px; right: -22px; width: 200px; height: 120px; background: #5ed1b6; }
.h-blob-b { bottom: -22px; left: 40px; width: 230px; height: 100px; background: #ffd36b; }
.h-blob-c { top: -22px; left: 84px; width: 230px; height: 120px; background: #9cc3ff; }
.h-blob-d { top: 30px; right: 84px; width: 150px; height: 170px; background: #b9a4ff; }
.h-blob-e { bottom: -24px; left: 30%; width: 260px; height: 110px; background: #5ed1b6; }

.h-with {
  position: relative;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 34px 70px -30px rgba(15, 27, 45, 0.45);
}

.h-with h3 {
  color: var(--good);
}

.h-with li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
  font-size: 17px;
  font-weight: 700;
}

.h-with li:last-child {
  border-bottom: 0;
}

.h-with svg,
.h-checks svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
  color: var(--good);
}

/* Benefits */
.h-cards {
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 50px -30px rgba(15, 27, 45, 0.35);
}

.h-big {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.h-card h3 {
  margin: 4px 0 0;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.h-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* It knows your business */
.h-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 80px;
  align-items: center;
}

.h-split-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.h-split-copy > p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.h-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 4px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(15, 27, 45, 0.12);
  list-style: none;
}

.h-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  line-height: 1.5;
}

.h-checks svg {
  margin-top: 3px;
}

.h-kfig {
  position: relative;
  height: 470px;
}

.h-kfig::before,
.h-kfig::after {
  content: "";
  position: absolute;
  border-radius: 18px;
}

.h-kfig::before { bottom: 20px; left: -24px; width: 230px; height: 120px; background: #b9a4ff; }
.h-kfig::after { top: 130px; right: 30px; width: 170px; height: 150px; background: #ffd36b; }

.h-kchat {
  position: absolute;
  top: 96px;
  left: 0;
  z-index: 1;
  width: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 34px 70px -30px rgba(15, 27, 45, 0.45);
}

.h-kchat .h-chat-head {
  padding: 14px 18px;
}

.h-kchat .h-in,
.h-kchat .h-out {
  max-width: 300px;
}

.h-kchat .h-in > p,
.h-kchat .h-out > p {
  font-size: 14px;
}

.h-knote {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 330px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 56px -24px rgba(15, 27, 45, 0.5);
}

.h-knote-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.h-knote-head span:last-child {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-3);
}

.h-kmark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.h-knote > b {
  font-size: 15px;
}

.h-knote > p {
  margin: -8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}

.h-knote-actions {
  display: flex;
  gap: 8px;
}

.h-mini {
  display: grid;
  flex-grow: 1;
  place-items: center;
  min-height: 44px;
  border: 1px solid rgba(15, 27, 45, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
}

.h-mini-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #f3f6fa;
}

/* Set it up */
.h-try {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 56px;
  align-items: center;
  padding: 56px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 40px 80px -40px rgba(15, 27, 45, 0.45);
}

.h-try-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.h-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 18px;
  line-height: 1.5;
}

.h-steps li > span {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #f3f6fa;
  font-size: 15px;
  font-weight: 800;
}

.h-steps p {
  margin: 0;
}

.h-try-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
}

.h-try-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.h-try-card .h-try-big {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Integrations */
.h-introws {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}

.h-introw {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(15, 27, 45, 0.12);
}

.h-introw h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-3);
}

.h-introw ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-introw li {
  padding: 10px 16px;
  border: 1px solid rgba(15, 27, 45, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 700;
}

/* Questions */
.h-faq {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.h-qs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(15, 27, 45, 0.14);
}

.h-qs details {
  border-bottom: 1px solid rgba(15, 27, 45, 0.14);
}

.h-qs summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 20px 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.h-qs summary::-webkit-details-marker {
  display: none;
}

.h-qs details p {
  max-width: 640px;
  margin: 0;
  padding: 0 0 22px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}

.h-plus {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.h-plus::before,
.h-plus::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 14px;
  height: 2.2px;
  border-radius: 2px;
  background: currentColor;
}

.h-plus::after {
  transform: rotate(90deg);
}

.h-qs details[open] .h-plus {
  transform: rotate(45deg);
}

/* The closing call to action (/contact and /support land on its heading) */
.h-cta {
  position: relative;
  overflow: hidden;
  margin: 0 16px;
  border-radius: 32px;
  background: #dde5ee;
}

.h-cta-amb {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(15, 27, 45, 0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 27, 45, 0.045) 1px, transparent 1px);
  background-size: 14.2857% 64px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 52%, #000 72%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 52%, #000 72%);
}

.h-cta-amb i {
  width: calc(14.2857% - 12px);
  border-radius: 12px;
}

.h-cta-amb i:nth-child(1) { left: calc(14.2857% * 5 + 6px); top: 68px; height: 184px; background: rgba(127, 180, 255, 0.5); animation-delay: -2s; }
.h-cta-amb i:nth-child(2) { left: calc(14.2857% * 5 + 6px); top: 324px; height: 120px; background: rgba(255, 140, 105, 0.5); animation-delay: -7s; }
.h-cta-amb i:nth-child(3) { left: calc(14.2857% * 6 + 6px); top: 132px; height: 184px; background: rgba(94, 209, 182, 0.5); animation-delay: -4s; }
.h-cta-amb i:nth-child(4) { left: calc(14.2857% * 6 + 6px); top: 388px; height: 120px; background: rgba(255, 211, 107, 0.55); animation-delay: -9s; }

.h-cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding-top: 120px;
  padding-bottom: 120px;
}

.h-cta-inner > p {
  max-width: 560px;
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* Footer */
.h-footer {
  padding: 56px 0 64px;
}

.h-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.h-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
}

.h-footer-top > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.h-footer-top p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}

.h-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.h-footer nav a:hover {
  text-decoration: underline;
}

.h-legal {
  max-width: 760px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}

.h-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 27, 45, 0.12);
  font-size: 14px;
  color: var(--ink-3);
}

@keyframes h-amb {
  0% { opacity: 0; transform: translateY(10px) scale(0.98); }
  8% { opacity: 1; transform: none; }
  60% { opacity: 1; transform: none; }
  70% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes h-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 44, 0); }
  50% { box-shadow: 0 0 0 5px rgba(255, 107, 44, 0.35); }
}

@keyframes h-breathe {
  0%, 100% { background-color: rgba(255, 107, 44, 0.05); }
  50% { background-color: rgba(255, 107, 44, 0.17); }
}

@keyframes h-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes h-drop {
  from { opacity: 0; transform: translateY(-12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes h-spin {
  to { transform: rotate(360deg); }
}

@keyframes h-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

@keyframes h-show {
  from { opacity: 0; visibility: hidden; }
  to { opacity: 1; visibility: visible; }
}

@keyframes h-hide {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: hidden; }
}

@keyframes h-grow {
  from { max-height: 0; margin-top: 0; opacity: 0; }
  to { max-height: 240px; margin-top: 10px; opacity: 1; }
}

/* Kelden typing: shown from 0.75s until just before the confirmation, then gone. */
@keyframes h-typing {
  0% { max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
  12%, 88% { max-height: 40px; margin-top: 10px; padding-top: 13px; padding-bottom: 13px; opacity: 1; }
  100% { max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
}

@media (max-width: 1180px) {
  .h-hero-grid,
  .h-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .h-cta-amb {
    display: none;
  }
}

@media (max-width: 800px) {
  .h-wrap {
    padding: 0 20px;
  }

  .h-sec {
    padding: 64px 0;
  }

  .h-sec-tight {
    padding: 0 0 64px;
  }

  .h-hero {
    padding: 112px 0 56px;
  }

  .h-h1 {
    font-size: 40px;
  }

  .h-h2 {
    font-size: 32px;
  }

  .h-hcta {
    font-size: 38px;
  }

  .h-big {
    font-size: 40px;
  }

  .h-head,
  .h-faq,
  .h-grid2,
  .h-introw {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .h-introw {
    gap: 14px;
  }

  .h-try {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 24px;
  }

  .h-stage {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    height: auto;
  }

  .h-cal,
  .h-amb,
  .h-blob,
  .h-kfig::before,
  .h-kfig::after,
  .h-navlinks {
    display: none;
  }

  .h-chat {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 520px;
  }

  .h-cap {
    position: relative;
  }

  .h-kfig {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: auto;
  }

  .h-kchat,
  .h-knote {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
  }

  .h-cta-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* Reduced motion: every animation jumps to its end, so a pick shows its booked state at once. */
@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    animation-delay: 0s !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}

@media print {
  .skip-link,
  .header-nav,
  .footer-nav {
    display: none;
  }

  a {
    color: inherit;
  }
}
