:root {
  --ink: #0b1220;
  --ink-2: #121c30;
  --ink-3: #1b2740;
  --ivory: #f7f4ee;
  --paper: #ffffff;
  --sand: #ece6da;
  --text: #0b1220;
  --muted: #5b6578;
  --blue: #e8552b;
  --blue-deep: #c4421d;
  --sky: #ffa27f;
  --blue-soft: #fdeee8;
  --gold: #b8935a;
  --line: #06c755;
  --stroke: rgba(11, 18, 32, 0.1);
  --stroke-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 10px rgba(11, 18, 32, 0.06);
  --shadow: 0 24px 60px -20px rgba(11, 18, 32, 0.28);
  --shadow-blue: 0 14px 30px -10px rgba(232, 85, 43, 0.55);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font: "Manrope", "Anuphan", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Anuphan", Georgia, serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
blockquote,
fieldset {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ---------- Type ---------- */

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

h1 em,
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--blue);
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lede,
.body-lg {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34rem;
}

/* ---------- Thai typography ----------
   Thai has tall vowel and tone marks, no capitals and no true italic,
   so it needs looser leading, no tight tracking and an upright accent. */

:lang(th) {
  --font: "Anuphan", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--font);
}

:lang(th) body {
  line-height: 1.75;
}

:lang(th) h1,
:lang(th) h2 {
  letter-spacing: -0.01em;
  line-height: 1.28;
}

:lang(th) h1 {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
}

:lang(th) h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

:lang(th) h1 em,
:lang(th) h2 em {
  /* keeps the highlighted phrase together instead of leaving one word behind */
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  letter-spacing: inherit;
}

:lang(th) h3,
:lang(th) h4,
:lang(th) .price,
:lang(th) .job-title strong,
:lang(th) .panel-copy h3,
:lang(th) .ai-copy h3,
:lang(th) .division h3,
:lang(th) .suite-head h3 {
  letter-spacing: 0;
  line-height: 1.4;
}

:lang(th) .eyebrow,
:lang(th) .tile small,
:lang(th) .job-title small,
:lang(th) .job-cols h4,
:lang(th) .footer h4,
:lang(th) .pill,
:lang(th) .plan-flag,
:lang(th) .live-label,
:lang(th) .marquee-track span {
  letter-spacing: 0.02em;
}

:lang(th) .eyebrow {
  font-size: 0.86rem;
}

:lang(th) .step-num {
  font-family: "Instrument Serif", Georgia, serif;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition:
    transform 140ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn .ic {
  transition: transform 180ms var(--ease-out);
}

.btn-sm {
  min-height: 42px;
  padding: 0 1.1rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-ghost {
  background: transparent;
  border-color: var(--stroke);
  color: inherit;
}

.btn-line {
  background: var(--line);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(6, 199, 85, 0.7);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--blue-deep);
  }
  .btn-ghost:hover {
    border-color: currentColor;
  }
  .btn-line:hover {
    background: #05b34c;
  }
  .btn:hover .ic {
    transform: translateX(3px);
  }
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 244, 238, 0);
  border-bottom: 1px solid transparent;
  transition:
    background-color 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}

.header.is-scrolled {
  background: rgba(247, 244, 238, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--stroke);
}

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

.logo img {
  width: 150px;
  margin-left: -10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a {
  transition: color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    color: var(--text);
  }
}

.nav-mobile-extra {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-item {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--muted);
}

.lang-item.is-active {
  background: var(--ink);
  color: #fff;
}

.lang-item {
  transition: color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  a.lang-item:hover {
    color: var(--text);
  }
}

.login-lang {
  align-self: flex-start;
}

.login-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 220ms var(--ease-out);
}

.menu-btn span:first-child {
  top: 17px;
}

.menu-btn span:last-child {
  top: 25px;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}

.section-head .body-lg {
  margin-top: 1.1rem;
  max-width: 38rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .body-lg {
  margin-inline: auto;
}

.dark {
  background: var(--ink);
  color: #f4f6fb;
}

.dark .body-lg,
.dark .lede {
  color: #a9b4c9;
}

.dark h2 em {
  color: var(--sky);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.split-copy h2 {
  margin-bottom: 1.2rem;
}

.split-copy .btn,
.split-copy .ticks {
  margin-top: 1.8rem;
}

.split-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.media-soft img {
  box-shadow: none;
  border: 1px solid var(--stroke);
  background: #fff;
}

/* ---------- Reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms var(--ease-out) var(--d, 0ms),
    transform 700ms var(--ease-out) var(--d, 0ms);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto 35%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(255, 162, 127, 0.35), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-eyebrow {
  flex-wrap: wrap;
}

.rotator {
  display: inline-block;
  color: var(--blue);
  transition:
    opacity 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.rotator.is-out {
  opacity: 0;
  transform: translateY(-45%);
}

.rotator.is-pre {
  opacity: 0;
  transform: translateY(45%);
  transition: none;
}

.hero .lede {
  margin-top: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.93rem;
  font-weight: 600;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.ticks .ic {
  margin-top: 0.22em;
  color: var(--blue);
}

.dark .ticks .ic {
  color: var(--sky);
}

.ticks-col {
  flex-direction: column;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  /* room above and below the phone for the two chips */
  padding: 4.4rem 0;
  border-radius: 40px;
  isolation: isolate;
}

.stage-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.08), rgba(11, 18, 32, 0.4));
}

.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 0.84rem;
  font-weight: 700;
}

.chip-a {
  top: 14px;
  left: 14px;
}

.chip-a .ic {
  color: var(--blue);
}

/* bottom-left, clear of the floating LINE button in the bottom-right corner */
.chip-b {
  left: 14px;
  bottom: 12px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition:
    opacity 260ms var(--ease-out),
    transform 400ms var(--ease-out);
}

.chip-b.is-on {
  opacity: 1;
  transform: none;
}

.chip-b small {
  display: block;
  font-weight: 600;
  color: var(--muted);
}

.chip-dot,
.tick {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--line);
  color: #fff;
}

/* ---------- Phone ---------- */

.phone {
  position: relative;
  width: min(292px, 74vw);
  aspect-ratio: 292 / 600;
  padding: 9px;
  border-radius: 46px;
  background: #0a0d14;
  box-shadow:
    0 0 0 1.5px #2a3142,
    0 40px 70px -24px rgba(5, 9, 18, 0.7);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #eef2f8;
  color: var(--text);
}

.phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 24px;
  margin-left: -42px;
  border-radius: 20px;
  background: #0a0d14;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 44px 14px 10px;
  background: #fff;
  border-bottom: 1px solid var(--stroke);
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.chat-title {
  flex: 1;
  min-width: 0;
  line-height: 1.2;
}

.chat-title strong {
  display: block;
  overflow: hidden;
  font-size: 0.82rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chat-title small {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.66rem;
  color: var(--muted);
}

.chat-title i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.line-badge,
.fb-badge {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: var(--line);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fb-badge {
  background: #0a7cff;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 10px 12px;
  overflow: hidden;
  transition: opacity 300ms var(--ease-out);
}

.chat-body.is-clearing {
  opacity: 0;
}

/* each message grows its own row so older messages slide up smoothly */
.msg {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 320ms var(--ease-out),
    opacity 280ms var(--ease-out);
}

.msg.in {
  grid-template-rows: 1fr;
  opacity: 1;
}

.msg > div {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.msg.no-anim {
  transition: none;
}

.bubble {
  align-self: flex-start;
  max-width: 86%;
  margin-bottom: 7px;
  padding: 0.5rem 0.75rem;
  border-radius: 16px 16px 16px 5px;
  background: #fff;
  font-size: 0.78rem;
  line-height: 1.42;
}

.bubble.user {
  align-self: flex-end;
  border-radius: 16px 16px 5px 16px;
  background: var(--line);
  color: #fff;
}

.typing {
  display: flex;
  gap: 4px;
  padding: 0.7rem 0.8rem;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa5b8;
  animation: typing 1s var(--ease-in-out) infinite;
}

.typing i:nth-child(2) {
  animation-delay: 140ms;
}

.typing i:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.card-slots,
.card-confirm,
.card-pay {
  align-self: stretch;
  margin-bottom: 7px;
  padding: 0.75rem;
  border-radius: 16px;
  background: #fff;
  font-size: 0.76rem;
}

.card-slots b {
  display: block;
  margin-bottom: 0.5rem;
}

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

.slots span {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  transition:
    background-color 160ms var(--ease-out),
    color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.slots span.is-picked {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.slots span.is-tap {
  transform: scale(0.92);
}

.card-confirm {
  text-align: center;
}

.card-confirm .tick {
  margin: 0.2rem auto 0.45rem;
  background: var(--blue);
}

.card-confirm strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.86rem;
}

.card-confirm dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.3rem 0;
  border-top: 1px solid var(--stroke);
  text-align: left;
}

.card-confirm dt {
  color: var(--muted);
}

.card-confirm dd {
  font-weight: 700;
  text-align: right;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 12px 16px;
  background: #fff;
  border-top: 1px solid var(--stroke);
}

.chat-input span {
  flex: 1;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #eef2f8;
  color: #9aa5b8;
  font-size: 0.74rem;
}

.chat-input b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
}

/* ---------- Marquee ---------- */

.marquee {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 1.1rem;
  overflow: hidden;
  border-block: 1px solid var(--stroke);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  display: flex;
  align-items: center;
  padding-inline: 1.6rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 3.2rem;
  border-radius: 50%;
  background: var(--gold);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Results ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--stroke);
}

.stat {
  padding: 2.2rem 2rem 0 0;
}

.stat + .stat {
  padding-left: 2rem;
  border-left: 1px solid var(--stroke);
}

.stat strong {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat p {
  margin-top: 0.8rem;
  max-width: 16rem;
  color: var(--muted);
}

/* ---------- Why ---------- */

.why {
  padding-top: 0;
}

/* live activity panel (same cards as the login page, over a photo) */
.live-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: clamp(420px, 46vw, 560px);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  color: #fff;
  isolation: isolate;
}

.live-panel .login-photo {
  border-radius: 0;
  box-shadow: none;
  animation: none;
}

.live-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.45), rgba(11, 18, 32, 0.25) 45%, rgba(11, 18, 32, 0.85));
}

/* the scroll reveal already brings the panel in; no second entrance */
.live-panel .live-card,
.live-panel .live-feed {
  animation: none;
}

.live-caption {
  max-width: 18rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.benefits {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: var(--paper);
}

.benefit-ic,
.feature-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.15rem;
}

.benefits strong {
  display: block;
}

.benefits span span,
.benefits div span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- How it works ---------- */

.how-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(2rem, 6vw, 6rem);
}

.step {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  padding: 2rem 0;
  border-top: 1px solid var(--stroke-dark);
  opacity: 0.38;
  transition: opacity 320ms var(--ease-out);
}

.step.is-active {
  opacity: 1;
}

.step-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--sky);
}

.step h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.step p {
  margin-top: 0.6rem;
  max-width: 32rem;
  color: #a9b4c9;
}

.step ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.step ul li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--stroke-dark);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d5dcea;
}

.how-sticky {
  position: sticky;
  top: calc(var(--header-h) + 5vh);
  align-self: start;
  display: grid;
  place-items: center;
  padding: 2.4rem 0;
  border-radius: 40px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 162, 127, 0.28), transparent 70%),
    var(--ink-2);
  border: 1px solid var(--stroke-dark);
}

.screens {
  position: relative;
  flex: 1;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 12px 18px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 260ms var(--ease-out),
    transform 380ms var(--ease-out);
}

.screen.is-active {
  opacity: 1;
  transform: none;
  transition-delay: 120ms;
}

.screen-note {
  margin-top: 0.4rem;
  font-size: 0.66rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
}

.channels {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 7px;
}

.svc-list {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.svc {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: #fff;
  font-size: 0.74rem;
}

.svc span {
  color: var(--muted);
}

.svc.is-picked {
  border-color: var(--blue);
}

.card-pay {
  align-self: center;
  width: 78%;
  text-align: center;
}

.card-pay small {
  display: block;
  color: var(--muted);
  font-weight: 600;
}

.card-pay strong {
  font-size: 1.3rem;
}

.fake-qr {
  width: 96px;
  height: 96px;
  margin: 0.5rem auto 0.2rem;
  border-radius: 8px;
  background:
    conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 16px 16px,
    conic-gradient(transparent 25%, var(--ink) 0 50%, transparent 0 75%, var(--ink) 0) 4px 8px / 24px 24px,
    #fff;
  outline: 6px solid #fff;
  box-shadow: 0 0 0 7px var(--stroke);
}

/* ---------- Industries ---------- */

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: none;
  min-height: 46px;
  padding: 0 1.15rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--muted);
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    transform 140ms var(--ease-out);
}

.tab:active {
  transform: scale(0.97);
}

.tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  align-items: stretch;
  gap: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.panel[hidden] {
  display: none;
}

.panel.is-active {
  animation: panel-in 380ms var(--ease-out);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.panel-copy {
  padding: clamp(0.6rem, 2vw, 1.6rem);
}

.panel-copy h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.panel-copy p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.panel-chat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
  border-radius: var(--r);
  background: #eef2f8;
}

.panel-chat .bubble {
  font-size: 0.92rem;
  padding: 0.7rem 1rem;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.panel-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--r);
}

/* ---------- Features ---------- */

.features {
  background: var(--paper);
}

.suite-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.suite-stats div + div {
  border-left: 1px solid var(--stroke);
}

.suite-stats strong {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.suite-stats div > span {
  display: block;
  margin-top: 0.5rem;
  padding-inline: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* AI receptionist spotlight */

.ai-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 4rem);
  padding: clamp(1.4rem, 4vw, 3.5rem);
  border-radius: 40px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(232, 85, 43, 0.45), transparent 65%),
    var(--ink);
  color: #f4f6fb;
}

.ai-copy h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.ai-copy p {
  margin-top: 1rem;
  color: #a9b4c9;
  font-size: 1.05rem;
}

.ai-copy .ticks {
  margin-top: 1.6rem;
}

.ai-copy .ticks .ic {
  color: var(--sky);
}

.ai-demo {
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--stroke-dark);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
}

.lang-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1.2rem;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 999px;
  background: #fff;
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform 320ms var(--ease-out);
}

.lang-tab {
  position: relative;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: #c9d2e3;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 200ms var(--ease-out);
}

.lang-tab.is-active {
  color: var(--ink);
}

.convos {
  display: grid;
}

/* all three share one cell, so the box keeps the height of the tallest */
.convo {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  visibility: hidden;
}

.convo.is-active {
  visibility: visible;
}

.convo .bubble {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
}

.convo .bubble.user {
  color: #fff;
}

.convo.is-active .bubble {
  animation: bubble-in 420ms var(--ease-out) both;
}

.convo.is-active .bubble:nth-child(2) {
  animation-delay: 600ms;
}

.convo.is-active .bubble:nth-child(3) {
  animation-delay: 1500ms;
}

.convo.is-active .bubble:nth-child(4) {
  animation-delay: 2100ms;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}

/* The suite */

.suite-head {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.suite-head h3 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
}

/* Icon-first grid: the icon carries the tile, the words are a caption. */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.2rem 1rem;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transition:
    opacity 500ms var(--ease-out) calc(var(--i, 0) * 28ms),
    transform 500ms var(--ease-out) calc(var(--i, 0) * 28ms);
}

.suite-grid.in .tile {
  opacity: 1;
  transform: none;
}

/* once the entrance has played, filter changes respond at once */
.suite-grid.is-settled .tile {
  transition-delay: 0ms;
  transition-duration: 240ms;
}

.suite-grid.in .tile.is-dim {
  opacity: 0.18;
}

.tile-ic {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sky), var(--blue) 70%);
  color: #fff;
  font-size: 2.3rem;
  box-shadow: 0 16px 28px -14px rgba(232, 85, 43, 0.75);
  transition: transform 220ms var(--ease-out);
}

.tile-ic .ic {
  stroke-width: 1.5;
}

/* the category label is for screen readers only now */
.tile small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.tile h4 {
  max-width: 11rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.tile p {
  max-width: 11rem;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.4;
  opacity: 0.8;
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile-ic {
    transform: translateY(-5px);
  }
}

.handoff {
  margin-top: clamp(4rem, 8vw, 6.5rem);
}

/* ---------- Control centre ---------- */

.tilt {
  perspective: 1600px;
}

.tilt img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--p, 1)) * 16deg)) scale(calc(0.92 + var(--p, 1) * 0.08));
  will-change: transform;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.trio-card {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.trio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.trio-card div {
  padding: 1.5rem;
}

.trio-card p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Revenue ---------- */

.duo {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.duo div {
  padding-left: 1.1rem;
  border-left: 2px solid var(--sky);
}

.duo strong {
  display: block;
}

.duo span {
  color: #a9b4c9;
  font-size: 0.95rem;
}

.calc {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--stroke-dark);
  border-radius: var(--r-lg);
  background: var(--ink-2);
}

.calc-top {
  margin-bottom: 1.6rem;
  padding: 1.5rem;
  border-radius: var(--r);
  background: linear-gradient(140deg, #fff1ea, #ffd3bf);
  color: var(--ink);
}

.pill {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calc-top p {
  font-size: 0.92rem;
  font-weight: 600;
}

.calc-total {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.calc-total small {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.calc-note {
  color: #33415c;
}

.field-range {
  display: block;
  margin-top: 1.2rem;
}

.field-range > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  color: #a9b4c9;
}

.field-range b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  accent-color: var(--sky);
  cursor: pointer;
}

/* ---------- Stories ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.quote {
  position: relative;
  padding: 3.6rem 1.8rem 1.8rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--paper);
  font-size: 1.05rem;
  line-height: 1.55;
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.6rem;
  left: 1.6rem;
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--gold);
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--paper);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.2rem;
}

.plan {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--ivory);
}

.plan-featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.plan-flag {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 1.3rem;
}

.plan-desc {
  min-height: 3em;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.plan-featured .plan-desc {
  color: #a9b4c9;
}

.price {
  margin: 1.2rem 0 1.4rem;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price small {
  margin-left: 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.plan-featured .price small {
  color: #a9b4c9;
}

.plan ul {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.95rem;
  font-weight: 600;
}

.plan-featured ul {
  border-top-color: var(--stroke-dark);
}

.plan li {
  display: flex;
  gap: 0.6rem;
}

.plan li .ic {
  margin-top: 0.2em;
  color: var(--blue);
}

.plan-featured li .ic {
  color: var(--sky);
}

.plans-note {
  margin-top: 1.8rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

/* ---------- Service / team ---------- */

.service .split-media,
.team .split-media {
  max-width: 440px;
  justify-self: center;
}

.team {
  padding-top: 0;
}

/* ---------- Demo ---------- */

.demo {
  padding-top: 0;
}

.demo-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.6rem, 5vw, 4rem);
  border-radius: 40px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 162, 127, 0.5), transparent 60%),
    var(--blue-soft);
}

.demo-copy h2 {
  margin-bottom: 1rem;
}

.demo-id {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.demo-qr img {
  width: min(300px, 70vw);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

/* ---------- Sign up ---------- */

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.signup-copy h2 {
  margin-bottom: 1.2rem;
}

.form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--text);
}

.field {
  margin-bottom: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field label,
.plan-pick legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.opt {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 0.95rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-sm);
  background: var(--ivory);
  font-size: 1rem;
  transition:
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(232, 85, 43, 0.15);
}

.field input.is-invalid {
  border-color: #d93025;
}

.plan-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  border: 0;
}

.plan-pick legend {
  grid-column: 1 / -1;
}

.plan-pick input {
  position: absolute;
  opacity: 0;
}

.plan-pick label span {
  display: block;
  padding: 0.6rem 0.4rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-sm);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 160ms var(--ease-out),
    background-color 160ms var(--ease-out);
}

.plan-pick small {
  display: block;
  font-weight: 600;
  color: var(--muted);
}

.plan-pick input:checked + span {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.plan-pick input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.form-error {
  margin-bottom: 0.9rem;
  color: #d93025;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-fine {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.form-done {
  padding: 1.5rem 0.5rem;
  text-align: center;
  animation: panel-in 380ms var(--ease-out);
}

.form-done[hidden] {
  display: none;
}

.tick-lg {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.form-done h3 {
  font-size: 1.5rem;
}

.form-done p {
  margin: 0.5rem 0 1.5rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.footer {
  padding: 4rem 0 6.5rem;
  border-top: 1px solid var(--stroke-dark);
  font-size: 0.94rem;
  color: #a9b4c9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-logo {
  width: 150px;
  margin-left: -10px;
  filter: brightness(0) invert(1);
}

.footer-tag {
  margin-top: 0.4rem;
}

.footer h4 {
  margin-bottom: 0.9rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-grid a {
  display: block;
  padding: 0.28rem 0;
  transition: color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .footer a:hover {
    color: #fff;
  }
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke-dark);
  font-size: 0.86rem;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.legal h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.legal .lede {
  max-width: none;
  margin-top: 1.4rem;
}

.legal h2 {
  margin: 2.4rem 0 0.6rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.legal p + p {
  margin-top: 1rem;
}

.legal a {
  color: var(--blue);
  text-decoration: underline;
}

.legal-footer {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ---------- Careers ---------- */

.careers-hero {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.careers-photo {
  max-width: 440px;
  justify-self: center;
}

.careers-photo img {
  width: 100%;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.divisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.division {
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.division.dark {
  border-color: var(--ink);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(232, 85, 43, 0.4), transparent 65%),
    var(--ink);
}

.division h3 {
  margin-top: 1.4rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
}

.division p {
  margin-top: 0.6rem;
  max-width: 30rem;
  color: var(--muted);
}

.division.dark p {
  color: #a9b4c9;
}

.division ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.division li {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.division.dark li {
  border-color: var(--stroke-dark);
}

.positions {
  background: var(--paper);
}

.jobs {
  border-top: 1px solid var(--stroke);
}

.job {
  border-bottom: 1px solid var(--stroke);
}

.job-head {
  display: grid;
  grid-template-columns: 1fr auto 44px;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 1.6rem 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.job-title small {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.job-title strong {
  display: block;
  margin: 0.2rem 0 0.3rem;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  transition: color 180ms var(--ease-out);
}

.job-title > span {
  display: block;
  max-width: 40rem;
  color: var(--muted);
}

.job-meta {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.job-plus {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  transition:
    background-color 200ms var(--ease-out),
    transform 320ms var(--ease-out);
}

.job-plus::before,
.job-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--blue);
  transition: background-color 200ms var(--ease-out);
}

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

.job.is-open .job-plus {
  background: var(--blue);
  transform: rotate(45deg);
}

.job.is-open .job-plus::before,
.job.is-open .job-plus::after {
  background: #fff;
}

.job.is-open .job-title strong {
  color: var(--blue);
}

@media (hover: hover) and (pointer: fine) {
  .job-head:hover .job-title strong {
    color: var(--blue);
  }
}

/* an accordion is the one place a height change is the honest animation */
.job-body {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 380ms var(--ease-out),
    visibility 0s 380ms;
}

.job.is-open .job-body {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}

.job-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}

.job.is-open .job-inner {
  opacity: 1;
  transition-delay: 80ms;
}

.job-intro {
  max-width: 46rem;
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.job-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.job-cols > div {
  padding: 1.4rem;
  border-radius: var(--r);
  background: var(--ivory);
}

.job-cols h4 {
  margin-bottom: 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.job-cols li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.1rem;
  font-size: 0.94rem;
  line-height: 1.5;
}

.job-cols li::before {
  content: "";
  position: absolute;
  top: 0.95em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.job-inner > .btn {
  margin-bottom: 2rem;
}

.cv-card {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .divisions,
  .job-cols {
    grid-template-columns: 1fr;
  }

  .job-head {
    grid-template-columns: 1fr 44px;
    gap: 1rem;
  }

  .job-meta {
    grid-row: 2;
    justify-self: start;
  }

  .job-plus {
    grid-row: 1;
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-body,
  .job-plus {
    transition: none;
  }
}

/* ---------- Business login ---------- */

.login {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100dvh;
}

.login-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  margin: 14px;
  padding: clamp(1.6rem, 4vw, 3.4rem);
  overflow: hidden;
  border-radius: 36px;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.login-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: photo-in 1400ms var(--ease-out) both;
}

.login-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.35) 0%, rgba(11, 18, 32, 0.55) 45%, rgba(11, 18, 32, 0.94) 100%);
}

@keyframes photo-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.login-live {
  display: grid;
  gap: 12px;
  width: min(340px, 100%);
}

.live-card,
.feed-item {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.live-card {
  padding: 1.1rem 1.2rem;
  animation: rise-in 700ms var(--ease-out) 200ms both;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.25);
}

.live-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.live-stats strong {
  display: block;
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.live-stats strong.is-bump {
  animation: bump 500ms var(--ease-out);
}

@keyframes bump {
  from {
    transform: translateY(8px);
    opacity: 0.2;
  }
}

.live-stats span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.live-feed {
  display: grid;
  animation: rise-in 700ms var(--ease-out) 340ms both;
}

.feed-item {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition:
    opacity 260ms var(--ease-out),
    transform 420ms var(--ease-out);
}

.feed-item.is-active {
  opacity: 1;
  transform: none;
}

.feed-item strong {
  display: block;
  font-size: 0.92rem;
}

.feed-item small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.feed-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.feed-green {
  background: var(--line);
}

.login-art-copy {
  max-width: 30rem;
  animation: rise-in 800ms var(--ease-out) 460ms both;
}

.login-art-copy .eyebrow {
  color: #e2c999;
}

.login-art-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.login-art-copy h2 em {
  color: var(--sky);
}

.login-art-copy p:last-child {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.25rem, 6vw, 5rem);
}

.login-box {
  width: min(420px, 100%);
  margin-inline: auto;
  animation: rise-in 700ms var(--ease-out) 120ms both;
}

.login-box h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
}

.login-sub {
  margin: 0.8rem 0 2rem;
  color: var(--muted);
}

.login-form .field input {
  background: var(--paper);
}

.pass-wrap {
  position: relative;
}

.pass-wrap input {
  padding-right: 4.2rem;
}

.pass-toggle {
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  min-width: 44px;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.2rem 0 1.4rem;
  font-size: 0.92rem;
}

.login-row a {
  font-weight: 700;
  color: var(--blue);
}

.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.login-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--stroke);
  font-weight: 600;
  color: var(--muted);
}

.login-help .btn {
  color: var(--text);
}

.login-foot {
  font-size: 0.84rem;
  text-align: center;
  color: var(--muted);
}

.login-foot a {
  text-decoration: underline;
}

.header-login {
  font-size: 0.93rem;
  font-weight: 700;
  padding: 0.6rem 0.2rem;
}

@media (max-width: 900px) {
  .login {
    grid-template-columns: 1fr;
  }

  /* form first on a phone; the brand panel becomes a short band underneath */
  .login-art {
    order: 2;
    margin: 0 14px 14px;
    border-radius: 28px;
  }

  .login-panel {
    order: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-photo,
  .live-card,
  .live-feed,
  .login-art-copy,
  .login-box,
  .live-stats strong.is-bump {
    animation: none;
  }

  .feed-item {
    transform: none;
  }
}

/* ---------- Floating LINE button ---------- */

.line-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.1rem 0 0.8rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  transition: transform 140ms var(--ease-out);
}

.line-fab:active {
  transform: scale(0.97);
}

.line-fab .line-badge {
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  font-size: 0.68rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .header-line {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  /* absolute, not fixed: the header's backdrop-filter would trap a fixed child */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 20px 2rem;
    background: var(--ivory);
    font-size: 1.35rem;
    color: var(--text);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 220ms var(--ease-out),
      transform 220ms var(--ease-out),
      visibility 0s 220ms;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .nav > a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--stroke);
  }

  .nav-mobile-extra {
    display: block;
    margin-top: 1.6rem;
  }

  .nav-mobile-extra {
    display: grid;
    gap: 0.7rem;
  }

  .nav-mobile-extra .btn {
    width: 100%;
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .signup-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    border-radius: 32px;
  }

  .how-sticky {
    display: none;
  }

  .step {
    opacity: 1;
  }

  .ai-card {
    grid-template-columns: 1fr;
    border-radius: 32px;
  }

  .suite-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats,
  .trio,
  .quotes,
  .plans {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat + .stat {
    padding: 1.8rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--stroke);
  }

  .panel {
    grid-template-columns: 1fr;
  }

  .panel-img {
    max-height: 240px;
    min-height: 0;
  }

  .plan-desc {
    min-height: 0;
  }

  .demo-card {
    grid-template-columns: 1fr;
  }

  .demo-qr {
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team .split-copy {
    order: -1;
  }
}

@media (max-width: 520px) {
  .hero-cta .btn {
    width: 100%;
  }

  /* chips sit in the stage's own padding so they never cover the phone */
  .hero-stage {
    padding-block: 4.4rem;
  }

  .chip-a {
    left: 12px;
    top: 12px;
  }

  .chip-b {
    left: 12px;
    bottom: 10px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .suite-stats strong {
    font-size: 2.4rem;
  }

  .suite-stats div > span {
    font-size: 0.8rem;
  }

  .suite-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem 0.6rem;
  }

  .tile-ic {
    width: 68px;
    height: 68px;
    font-size: 1.8rem;
  }

  .tile h4 {
    font-size: 0.78rem;
  }

  .tile p {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .line-fab-text {
    display: none;
  }

  .line-fab {
    padding: 0 0.8rem;
  }
}

/* ---------- Reduced motion: keep fades, drop movement ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    transform: none;
    transition: opacity 300ms ease;
  }

  .marquee-track,
  .typing i {
    animation: none;
  }

  .msg {
    grid-template-rows: 1fr;
    transition: opacity 200ms ease;
  }

  .screen,
  .chip-b,
  .rotator,
  .rotator.is-out,
  .rotator.is-pre {
    transform: none;
  }

  .tilt img {
    transform: none;
  }

  .panel.is-active,
  .form-done,
  .convo.is-active .bubble {
    animation: none;
  }

  .tile {
    transform: none;
    transition: opacity 300ms ease;
  }

  .lang-thumb {
    transition: none;
  }

  .btn:active,
  .tab:active,
  .line-fab:active {
    transform: none;
  }
}

/* ---------- Content pages (how it works, industries, features, pricing, demo, contact) ---------- */

.page-hero {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
}

.page-hero .lede {
  max-width: 42rem;
}

.paper {
  background: var(--paper);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.paper .card {
  background: var(--ivory);
}

.dark .card {
  border-color: var(--stroke-dark);
  background: var(--ink-2);
}

.card h3 {
  margin-top: 1.1rem;
}

.card > p {
  margin-top: 0.5rem;
  font-size: 0.96rem;
  color: var(--muted);
}

.dark .card > p {
  color: #a9b4c9;
}

.card-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--blue);
}

.dark .card-num {
  color: var(--sky);
}

.card .ticks {
  margin-top: 1.1rem;
  font-size: 0.88rem;
}

.card > .btn {
  margin-top: 1.4rem;
}

a.card {
  display: block;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  a.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
  }
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.jump a {
  padding: 0.5rem 1rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 700;
}

.ind {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--stroke);
}

.ind:nth-of-type(even) .ind-media {
  order: -1;
}

.ind h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.ind-copy > p {
  margin-top: 1rem;
  color: var(--muted);
}

.ind-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.ind-media .panel-chat {
  margin-top: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.6rem;
}

.chips li {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.chips-label {
  margin-top: 1.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips-label + .chips {
  margin-top: 0.7rem;
}

.tool-group + .tool-group {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.tool-group > h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.tool-group > p {
  margin-top: 0.5rem;
  max-width: 40rem;
  color: var(--muted);
}

.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.tool {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: var(--paper);
}

.tool h3 {
  font-size: 1.02rem;
}

.tool p {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.faq {
  max-width: 52rem;
  border-top: 1px solid var(--stroke);
}

.faq details {
  border-bottom: 1px solid var(--stroke);
}

.faq summary {
  position: relative;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  top: 1rem;
  right: 0.3rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  padding-bottom: 1.4rem;
  max-width: 46rem;
  color: var(--muted);
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--stroke);
  text-align: center;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare th:first-child,
.compare td:first-child {
  text-align: left;
  font-weight: 600;
}

.compare thead th {
  font-size: 1.05rem;
}

.compare thead small {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

.compare .ic {
  color: var(--blue);
}

.compare .no {
  color: #b9c0cc;
}

.contact-card .feature-ic {
  margin-bottom: 0.2rem;
}

.contact-card a.contact-main {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  word-break: break-word;
}

.cta {
  text-align: center;
}

.cta h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.cta .body-lg {
  margin: 1.1rem auto 0;
}

.cta .hero-cta {
  justify-content: center;
}

.dark .btn-ghost {
  border-color: var(--stroke-dark);
  color: #fff;
}

@media (max-width: 900px) {
  .cards,
  .cards-2,
  .cards-4,
  .tools,
  .ind {
    grid-template-columns: 1fr;
  }

  .ind:nth-of-type(even) .ind-media {
    order: 0;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .cards-4,
  .tools {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Content pages: motion and interaction (fx.js) ---------- */

.scroll-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* hero: drifting colour orbs, a glow that follows the pointer, words that rise in */
.page-hero::before {
  inset: -40% -10% auto 30%;
  background: radial-gradient(closest-side, rgba(255, 162, 127, 0.4), transparent);
  animation: orb-a 14s var(--ease-in-out) infinite alternate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px circle at var(--gx, 20%) var(--gy, 30%), rgba(232, 85, 43, 0.16), transparent 70%),
    radial-gradient(30% 50% at 8% 90%, rgba(184, 147, 90, 0.16), transparent);
  pointer-events: none;
}

@keyframes orb-a {
  to {
    transform: translate(-12%, 14%) scale(1.15);
  }
}

.page-hero h1.is-split .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.7em) rotate(3deg);
  animation: word-in 800ms var(--ease-out) calc(var(--i) * 70ms + 120ms) forwards;
}

@keyframes word-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.page-hero .eyebrow,
.page-hero .lede,
.page-hero .hero-cta,
.page-hero .jump,
.page-hero .ticks {
  animation: rise-in 800ms var(--ease-out) both;
}

.page-hero .lede {
  animation-delay: 420ms;
}

.page-hero .hero-cta,
.page-hero .jump {
  animation-delay: 560ms;
}

.page-hero .ticks {
  animation-delay: 680ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* cards: light follows the pointer, gentle lift */
.fx-spot {
  transition:
    transform 260ms var(--ease-out),
    box-shadow 260ms var(--ease-out),
    border-color 260ms var(--ease-out);
}

.fx-spot:hover {
  background-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 85, 43, 0.13), transparent 70%);
  border-color: rgba(232, 85, 43, 0.35);
}

.card.fx-spot:hover,
.tool.fx-spot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.dark .fx-spot:hover {
  background-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 162, 127, 0.2), transparent 70%);
  border-color: rgba(255, 162, 127, 0.45);
}

.card .feature-ic,
.tool .feature-ic {
  transition: transform 400ms var(--ease-out);
}

.card:hover .feature-ic,
.tool:hover .feature-ic {
  transform: rotate(-8deg) scale(1.12);
}

[data-tilt] {
  transition: transform 300ms var(--ease-out);
  will-change: transform;
}

.float {
  animation: float 5s var(--ease-in-out) infinite alternate;
}

@keyframes float {
  to {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

.jump a,
.chips li {
  transition:
    transform 200ms var(--ease-out),
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .jump a:hover {
    transform: translateY(-2px);
    background: var(--ink);
    color: #fff;
  }

  .chips li:hover {
    transform: scale(1.06);
  }
}

.confetti {
  position: fixed;
  z-index: 80;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  pointer-events: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  z-index: 70;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition:
    opacity 200ms var(--ease-out),
    transform 200ms var(--ease-out);
  pointer-events: none;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* chat simulator */
.chatbox {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: #eef2f8;
  color: var(--text);
  box-shadow: var(--shadow);
}

.cb-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border-bottom: 1px solid var(--stroke);
}

.cb-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.cb-title {
  flex: 1;
  line-height: 1.25;
}

.cb-title strong {
  display: block;
  font-size: 0.95rem;
}

.cb-title small {
  font-size: 0.78rem;
  color: var(--line);
  font-weight: 700;
}

.cb-log {
  display: flex;
  flex-direction: column;
  height: 340px;
  padding: 1.1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cb-log > :first-child {
  margin-top: auto;
}

.cb-log .bubble {
  flex: none;
  margin-bottom: 10px;
  padding: 0.65rem 0.95rem;
  font-size: 0.93rem;
  box-shadow: var(--shadow-sm);
  animation: bubble-in 420ms var(--ease-out) both;
}

.cb-typing {
  display: flex;
  gap: 4px;
  padding: 0.85rem 0.95rem !important;
}

.cb-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa5b8;
  animation: typing 1s var(--ease-in-out) infinite;
}

.cb-typing i:nth-child(2) {
  animation-delay: 140ms;
}

.cb-typing i:nth-child(3) {
  animation-delay: 280ms;
}

.cb-card {
  flex: none;
  align-self: stretch;
  margin-bottom: 10px;
  padding: 1.1rem;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
  animation: pop-in 520ms var(--ease-out) both;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  60% {
    transform: scale(1.04);
  }
}

.cb-card strong {
  display: block;
  margin-bottom: 0.5rem;
}

.cb-tick {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: var(--line);
  color: #fff;
  font-weight: 800;
}

.cb-qr {
  width: 92px;
  height: 92px;
  margin: 0.2rem auto 0.8rem;
  border-radius: 8px;
  background:
    conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 16px 16px,
    conic-gradient(transparent 25%, var(--ink) 0 50%, transparent 0 75%, var(--ink) 0) 4px 8px / 24px 24px,
    #fff;
}

.cb-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-top: 1px solid var(--stroke);
  font-size: 0.86rem;
  text-align: left;
}

.cb-row span {
  color: var(--muted);
}

.cb-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 64px;
  padding: 0.8rem 1.1rem 1.1rem;
  background: #fff;
  border-top: 1px solid var(--stroke);
}

.cb-choice {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  animation: rise-in 420ms var(--ease-out) calc(var(--i, 0) * 80ms) both;
  transition:
    background-color 160ms var(--ease-out),
    color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.cb-choice:active {
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .cb-choice:hover {
    background: var(--blue);
    color: #fff;
  }
}

.sim-note {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.dark .sim-note {
  color: #8f9bb3;
}

/* how it works: steps drive the chat */
.flow {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.flow-chat {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.hsteps {
  display: grid;
  gap: 0.7rem;
}

.hstep {
  display: flex;
  gap: 1.1rem;
  width: 100%;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--stroke-dark);
  border-radius: var(--r);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 260ms var(--ease-out),
    border-color 260ms var(--ease-out),
    transform 260ms var(--ease-out);
}

.hstep .card-num {
  font-size: 1.8rem;
  opacity: 0.55;
  transition: opacity 260ms var(--ease-out);
}

.hstep strong {
  display: block;
  font-size: 1.08rem;
}

.hstep span > span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.93rem;
  color: #a9b4c9;
}

.hstep.is-active {
  border-color: var(--sky);
  background: var(--ink-2);
  transform: translateX(6px);
}

.hstep.is-active .card-num {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .hstep:hover {
    border-color: rgba(255, 162, 127, 0.5);
  }
}

/* features */
.tool[hidden],
.tool-group[hidden] {
  display: none;
}

.tool {
  animation: rise-in 420ms var(--ease-out) calc(var(--i, 0) * 22ms) both;
}

.filter-row {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-block: 0.8rem;
  background: var(--ivory);
}

.filter-row .tabs {
  flex: 1;
  margin: 0;
}

.filter-count {
  flex: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.filter-count b {
  color: var(--blue);
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 44rem;
}

.stat-row strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.stat-row span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* pricing */
.plan {
  transition:
    transform 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-page .plan:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
  }
}

.roi-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.roi-plans button {
  min-height: 44px;
  border: 1px solid var(--stroke-dark);
  border-radius: 999px;
  background: transparent;
  color: #c9d2e3;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out);
}

.roi-plans button.is-active {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.roi-bar {
  position: relative;
  height: 12px;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--blue);
  overflow: hidden;
}

.roi-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--cost, 10%);
  background: var(--ink);
  transition: width 500ms var(--ease-out);
}

.roi-legend {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #33415c;
}

.roi-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.roi-facts div {
  padding: 1rem;
  border: 1px solid var(--stroke-dark);
  border-radius: var(--r);
  font-size: 0.86rem;
  color: #a9b4c9;
}

.roi-facts b {
  display: block;
  font-size: 1.8rem;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.compare td,
.compare th {
  transition: background-color 200ms var(--ease-out);
}

.compare .is-col {
  background: var(--blue-soft);
}

.faq details[open] p {
  animation: rise-in 360ms var(--ease-out) both;
}

.faq summary::after {
  transition: transform 260ms var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

/* contact */
.copy-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0.8rem 0 0 0.4rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:active {
  transform: scale(0.95);
}

@media (max-width: 900px) {
  .flow {
    grid-template-columns: 1fr;
  }

  .flow-chat {
    position: static;
    order: -1;
  }

  .hstep.is-active {
    transform: none;
  }

  .filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .filter-row .tabs {
    flex: none;
  }

  .cb-log {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::before,
  .float,
  .page-hero h1.is-split .w,
  .page-hero .eyebrow,
  .page-hero .lede,
  .page-hero .hero-cta,
  .page-hero .jump,
  .page-hero .ticks,
  .tool,
  .cb-choice,
  .cb-card,
  .cb-log .bubble {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.ind-media img {
  aspect-ratio: 16 / 9;
}

.ind-media .chatbox {
  margin-top: 1rem;
}

.ind-media .cb-log {
  height: 250px;
}

/* ---------- Blog ---------- */

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.posts-2 {
  grid-template-columns: repeat(2, 1fr);
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.paper .post-card {
  background: var(--ivory);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.6rem;
}

.post-card h2,
.post-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  text-wrap: pretty;
}

.post-card-body > p:not(.post-meta) {
  margin-top: 0.6rem;
  font-size: 0.96rem;
  color: var(--muted);
}

.post-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.post-card .post-meta {
  margin-bottom: 0.6rem;
}

.post-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--blue);
}

.post-more .ic {
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }

  .post-card:hover .post-more .ic {
    transform: translateX(4px);
  }
}

.post-head {
  max-width: 760px;
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
}

.post-back {
  display: flex;
  width: fit-content;
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
}

.post-head h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
}

.post-head .post-meta {
  margin-top: 1.2rem;
}

.post-head .lede {
  max-width: none;
  margin-top: 1.2rem;
}

.post-cover {
  max-width: 980px;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.post-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.post-body {
  max-width: 760px;
  padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(3.5rem, 7vw, 5.5rem);
  font-size: 1.08rem;
  line-height: 1.75;
}

.post-body > * + * {
  margin-top: 1.1rem;
}

.post-body h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.post-body h2 + * {
  margin-top: 0.8rem;
}

.post-body ul {
  padding-left: 1.3rem;
  list-style: disc;
}

.post-body li + li {
  margin-top: 0.35rem;
}

.post-body li::marker {
  color: var(--blue);
}

.post-body a {
  color: var(--blue);
  text-decoration: underline;
}

.post-next {
  margin-top: 2.6rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--blue);
  border-radius: var(--r-sm);
  background: var(--blue-soft);
  font-weight: 600;
}

:lang(th) .post-card h2,
:lang(th) .post-card h3,
:lang(th) .post-body h2 {
  font-size: 1.2rem;
  letter-spacing: 0;
  line-height: 1.5;
}

:lang(th) .post-body h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
}

:lang(th) .post-head h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.35;
}

:lang(th) .post-body {
  line-height: 1.9;
}

@media (max-width: 900px) {
  .posts,
  .posts-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Front desk section (home): motion ---------- */

.service .split-media {
  position: relative;
}

.desk-photo {
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.desk-photo img {
  border-radius: 0;
  box-shadow: none;
  /* zooms slowly towards the phone in the photo */
  transform-origin: 54% 62%;
  animation: desk-zoom 16s var(--ease-in-out) infinite alternate;
}

@keyframes desk-zoom {
  to {
    transform: scale(1.09);
  }
}

.desk-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px -14px rgba(11, 18, 32, 0.4);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  scale: 0.8;
  transition:
    opacity 500ms var(--ease-out),
    scale 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.desk-chip-live {
  top: 9%;
  right: -1.6rem;
  transition-delay: 500ms;
}

.desk-chip-ok {
  bottom: 12%;
  left: -1.6rem;
  transition-delay: 800ms;
}

.split-media.in .desk-chip {
  opacity: 1;
  scale: 1;
  animation: desk-float 5s var(--ease-in-out) infinite alternate;
}

.split-media.in .desk-chip-ok {
  animation-delay: -2.5s;
}

@keyframes desk-float {
  to {
    translate: 0 -10px;
  }
}

.desk-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f0443e;
  animation: desk-pulse 1.6s ease-out infinite;
}

@keyframes desk-pulse {
  from {
    box-shadow: 0 0 0 0 rgba(240, 68, 62, 0.55);
  }
  to {
    box-shadow: 0 0 0 9px rgba(240, 68, 62, 0);
  }
}

.desk-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.desk-wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleY(0.25);
  animation: desk-wave 800ms ease-in-out infinite alternate;
}

.desk-wave i:nth-child(2) {
  animation-delay: -300ms;
}

.desk-wave i:nth-child(3) {
  animation-delay: -550ms;
}

.desk-wave i:nth-child(4) {
  animation-delay: -150ms;
}

@keyframes desk-wave {
  to {
    transform: scaleY(1);
  }
}

.desk-chip-ok .ic {
  width: 1.5em;
  height: 1.5em;
  padding: 4px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

/* the copy arrives line by line instead of as one block */
.service .split-copy.in > * {
  animation: desk-rise 700ms var(--ease-out) backwards;
}

.service .split-copy.in > :nth-child(1) {
  animation-delay: 150ms;
}

.service .split-copy.in > :nth-child(2) {
  animation-delay: 280ms;
}

.service .split-copy.in > :nth-child(3) {
  animation-delay: 410ms;
}

.service .split-copy.in > :nth-child(4) {
  animation-delay: 540ms;
}

@keyframes desk-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.service .split-copy .btn .ic {
  animation: desk-nudge 1.6s var(--ease-in-out) infinite alternate;
}

@keyframes desk-nudge {
  to {
    transform: translateX(5px);
  }
}

/* ---------- Industry panels: chat replayed in Thai, English and Chinese ---------- */

.pchat-langs {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.pchat-langs span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--muted);
  transition:
    background-color 250ms var(--ease-out),
    color 250ms var(--ease-out),
    scale 250ms var(--ease-out);
}

.pchat-langs span.is-on {
  background: var(--ink);
  color: #fff;
  scale: 1.06;
}

.pchat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  /* tall enough for the longest language, so the panel does not jump between them */
  min-height: 12.5rem;
  transition: opacity 200ms var(--ease-out);
}

.pchat-body.is-clearing {
  opacity: 0;
}

.pchat-in {
  animation: bubble-in 380ms var(--ease-out) backwards;
}

.panel-pic {
  overflow: hidden;
  border-radius: var(--r);
}

.panel-pic .panel-img {
  border-radius: 0;
  animation: desk-zoom 14s var(--ease-in-out) infinite alternate;
}

@media (min-width: 901px) {
  /* the frame takes over the photo's height limits, and the photo fills it */
  .panel-pic {
    min-height: 260px;
    max-height: 380px;
  }

  .panel-pic .panel-img {
    min-height: 0;
    max-height: none;
  }
}

/* ---------- Dashboard screenshot: a pointer opens an appointment and confirms it ----------
   Everything is sized in cqw (1% of the screenshot's width) and placed in % of the wide
   screenshot, so it stays lined up with the picture at any size. One 11s loop. */

.dash {
  position: relative;
  container-type: inline-size;
  border-radius: var(--r-lg);
}

.dash img {
  width: 100%;
}

/* on the home page the scroll tilt moves the whole frame, pointer included */
.tilt .dash {
  transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--p, 1)) * 16deg)) scale(calc(0.92 + var(--p, 1) * 0.08));
  will-change: transform;
}

.tilt .dash img {
  transform: none;
}

.dash-demo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.95cqw;
  line-height: 1.45;
  pointer-events: none;
}

.dash-demo > * {
  position: absolute;
  animation: 11s var(--ease-in-out) infinite;
}

.dash-hit {
  left: 57.2%;
  top: 44.8%;
  width: 6.4%;
  height: 4.2%;
  border: 0.2cqw solid var(--blue);
  border-radius: 0.5cqw;
  background: rgba(232, 85, 43, 0.12);
  opacity: 0;
  animation-name: dash-hit;
}

@keyframes dash-hit {
  0%,
  23% {
    opacity: 0;
  }
  26%,
  76% {
    opacity: 1;
  }
  80%,
  100% {
    opacity: 0;
  }
}

.dash-pop {
  left: 34%;
  top: 46%;
  width: 22.5%;
  padding: 1.2cqw;
  border: 1px solid var(--stroke);
  border-radius: 1cqw;
  background: #fff;
  box-shadow: 0 1.6cqw 4cqw -1.2cqw rgba(11, 18, 32, 0.45);
  color: var(--ink);
  transform-origin: 100% 8%;
  opacity: 0;
  animation-name: dash-pop;
}

@keyframes dash-pop {
  0%,
  25% {
    opacity: 0;
    transform: scale(0.85);
  }
  30%,
  74% {
    opacity: 1;
    transform: none;
  }
  79%,
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

.dash-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6cqw;
}

.dash-pop strong {
  font-size: 1.15cqw;
}

.dash-pop p {
  margin-top: 0.3cqw;
  color: var(--muted);
}

.dash-status {
  display: grid;
  font-size: 0.8cqw;
  font-weight: 700;
}

.dash-status i {
  grid-area: 1 / 1;
  justify-self: end;
  padding: 0.15cqw 0.6cqw;
  border-radius: 999px;
  background: #fff1d6;
  font-style: normal;
  color: #a86200;
  animation: dash-pending 11s linear infinite;
}

.dash-status i + i {
  background: #dff5e8;
  color: #0d8a4a;
  animation-name: dash-confirmed;
}

@keyframes dash-pending {
  0%,
  51% {
    opacity: 1;
  }
  53%,
  100% {
    opacity: 0;
  }
}

@keyframes dash-confirmed {
  0%,
  51% {
    opacity: 0;
    scale: 0.8;
  }
  54%,
  100% {
    opacity: 1;
    scale: 1;
  }
}

.dash-pop-btns {
  display: flex;
  gap: 0.5cqw;
  margin-top: 0.9cqw;
  font-size: 0.9cqw;
  font-weight: 700;
}

.dash-pop-btns span {
  padding: 0.5cqw 1cqw;
  border-radius: 0.6cqw;
  background: #eef2f8;
}

.dash-pop-btns span:first-child {
  background: var(--blue);
  color: #fff;
}

.dash-ring {
  left: 60.6%;
  top: 47.2%;
  width: 4cqw;
  height: 4cqw;
  margin: -2cqw 0 0 -2cqw;
  border: 0.25cqw solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  animation-name: dash-ring;
}

.dash-ring-2 {
  left: 38.6%;
  top: 57.4%;
  animation-name: dash-ring-2;
}

@keyframes dash-ring {
  0%,
  23% {
    opacity: 0;
    transform: scale(0.2);
  }
  24% {
    opacity: 0.9;
    transform: scale(0.2);
  }
  32%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes dash-ring-2 {
  0%,
  49% {
    opacity: 0;
    transform: scale(0.2);
  }
  50% {
    opacity: 0.9;
    transform: scale(0.2);
  }
  58%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.dash-cursor {
  left: 80%;
  top: 86%;
  width: 2.2cqw;
  height: 2.2cqw;
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 0.3cqw 0.5cqw rgba(11, 18, 32, 0.35));
  transform-origin: 15% 10%;
  opacity: 0;
  animation-name: dash-cursor;
}

@keyframes dash-cursor {
  0% {
    left: 80%;
    top: 86%;
    opacity: 0;
  }
  6% {
    left: 80%;
    top: 86%;
    opacity: 1;
  }
  22% {
    left: 60.6%;
    top: 47.2%;
    transform: none;
  }
  24% {
    transform: scale(0.8);
  }
  27%,
  34% {
    left: 60.6%;
    top: 47.2%;
    transform: none;
  }
  48% {
    left: 38.6%;
    top: 57.4%;
    transform: none;
  }
  50% {
    transform: scale(0.8);
  }
  53%,
  72% {
    left: 38.6%;
    top: 57.4%;
    transform: none;
    opacity: 1;
  }
  90% {
    left: 80%;
    top: 86%;
    opacity: 1;
  }
  96%,
  100% {
    left: 80%;
    top: 86%;
    opacity: 0;
  }
}

/* ---------- Dashboard screenshot: clickable appointments (built by dash.js) ----------
   Only on screens wide enough to click a calendar block; smaller ones keep the looping demo. */

.dash-live {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  font-size: clamp(11px, 1cqw, 15px);
  line-height: 1.45;
  color: var(--ink);
}

@media (min-width: 641px) {
  @container (min-width: 600px) {
    .dash-live {
      display: block;
    }
  }
}

.dash.is-live .dash-demo {
  display: none;
}

.dash-live button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.dash-spot {
  position: absolute;
  padding: 0;
  border-radius: 0.5cqw;
  background: transparent;
  transition:
    background-color 150ms var(--ease-out),
    border-color 150ms var(--ease-out);
}

.dash-live .dash-spot {
  border: 0.18cqw solid transparent;
}

.dash-live .dash-spot:hover,
.dash-live .dash-spot:focus-visible,
.dash-live .dash-spot.is-open {
  border-color: var(--blue);
  background: rgba(232, 85, 43, 0.14);
  outline: none;
}

.dash.is-live .dash-spot.is-wait {
  animation: dash-wait 1.8s var(--ease-in-out) infinite;
}

@keyframes dash-wait {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 85, 43, 0.5);
  }
  60% {
    box-shadow: 0 0 0 0.7cqw rgba(232, 85, 43, 0);
  }
}

.dash-spot.is-ok::after {
  content: "✓";
  position: absolute;
  top: -0.7em;
  right: -0.7em;
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: #0d8a4a;
  font-size: 0.85em;
  font-weight: 800;
  color: #fff;
  animation: dash-card-in 220ms var(--ease-out);
}

.dash-fix {
  position: absolute;
  left: 87.1%;
  display: none;
  place-items: center;
  width: 3.8%;
  height: 1.9%;
  border-radius: 999px;
  background: #dff5e8;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.66cqw;
  font-weight: 700;
  color: #0d8a4a;
}

.dash-fix.is-on {
  display: grid;
}

.dash-card {
  position: absolute;
  z-index: 2;
  width: clamp(210px, 23cqw, 330px);
  padding: 1.1em 1.2em;
  border: 1px solid var(--stroke);
  border-radius: 1em;
  background: #fff;
  box-shadow: 0 1.2em 3em -1em rgba(11, 18, 32, 0.45);
  font-family: "Manrope", system-ui, sans-serif;
  animation: dash-card-in 180ms var(--ease-out);
}

.dash-card[hidden] {
  display: none;
}

@keyframes dash-card-in {
  from {
    opacity: 0;
    scale: 0.9;
  }
}

.dash-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3em 0.6em;
  padding-right: 1.6em;
}

.dash-card strong {
  font-size: 1.15em;
}

.dash-card p {
  margin-top: 0.25em;
  color: var(--muted);
}

.dash-pill {
  padding: 0.1em 0.6em;
  border-radius: 999px;
  background: #fff1d6;
  font-size: 0.82em;
  font-weight: 700;
  white-space: nowrap;
  color: #a86200;
}

.dash-pill.is-confirmed {
  background: #dff5e8;
  color: #0d8a4a;
}

.dash-pill.is-completed {
  background: #e8eefb;
  color: #2a5bd0;
}

.dash-card-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 0.9em;
}

.dash-live .dash-card-btns button {
  padding: 0.5em 1em;
  border-radius: 0.6em;
  background: #eef2f8;
  font-size: 0.95em;
  font-weight: 700;
  color: var(--ink);
  transition: filter 150ms var(--ease-out);
}

.dash-live .dash-card-btns button:first-child {
  background: var(--blue);
  color: #fff;
}

.dash-live .dash-card-btns button:hover {
  filter: brightness(0.93);
}

.dash-live .dash-card-x {
  position: absolute;
  top: 0.45em;
  right: 0.5em;
  width: 1.6em;
  height: 1.6em;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 1.2em;
  line-height: 1;
  color: var(--muted);
}

.dash-live .dash-card-x:hover {
  background: #eef2f8;
}

.dash-toast {
  position: absolute;
  left: 50%;
  bottom: 6%;
  z-index: 3;
  padding: 0.6em 1.1em;
  border-radius: 999px;
  background: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  translate: -50% 0.6em;
  pointer-events: none;
  transition:
    opacity 200ms var(--ease-out),
    translate 200ms var(--ease-out);
}

.dash-toast.is-on {
  opacity: 1;
  translate: -50% 0;
}

/* sits on the bottom edge of the picture */
.dash-live .dash-try {
  position: absolute;
  left: 50%;
  bottom: -1.1rem;
  z-index: 1;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0.6rem 1.4rem -0.6rem rgba(232, 85, 43, 0.8);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  translate: -50% 0;
  transition: scale 150ms var(--ease-out);
}

.dash-live .dash-try:hover {
  scale: 1.05;
}

@media (prefers-reduced-motion: reduce) {
  .dash.is-live .dash-spot.is-wait,
  .dash-spot.is-ok::after,
  .dash-card {
    animation: none;
  }
}

/* phones get the tall screenshot on the home page, which has a different layout */
@media (max-width: 640px) {
  .dash-demo:not(.dash-demo-always) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-demo {
    display: none;
  }

  .tilt .dash {
    transform: none;
  }
}

@media (max-width: 520px) {
  .desk-chip-live {
    right: 0.6rem;
  }

  .desk-chip-ok {
    left: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .desk-photo img,
  .desk-dot,
  .desk-wave i,
  .split-media.in .desk-chip,
  .service .split-copy.in > *,
  .service .split-copy .btn .ic {
    animation: none;
  }

  .desk-wave i {
    transform: scaleY(0.7);
  }
}

/* ---------- Double-date sale badge (drawn in code, no photo) ---------- */
.sale-badge {
  position: relative; overflow: hidden;
  display: grid; place-content: center; justify-items: center; gap: 0.7rem;
  padding: 1.6rem 1rem; background: var(--blue); color: #fff; text-align: center;
}
.sale-badge::before { content: ""; position: absolute; right: -50px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: #f7c948; opacity: 0.35; }
.sale-badge::after { content: ""; position: absolute; left: -30px; top: -30px; width: 90px; height: 90px; transform: rotate(45deg); background: #f7c948; opacity: 0.5; }
.sale-tag { position: relative; z-index: 1; padding: 0.25rem 0.9rem; border-radius: 999px; background: var(--ink-3); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; }
.sale-num { position: relative; z-index: 1; font-size: clamp(3.4rem, 7vw, 5rem); line-height: 1; font-weight: 900; letter-spacing: -0.03em; -webkit-text-stroke: 3px var(--ink-3); paint-order: stroke fill; }
.sale-bar { position: relative; z-index: 1; padding: 0.45rem 0.8rem; border-radius: 10px; background: var(--ink-3); color: #ffe48a; font-size: 0.8rem; font-weight: 700; line-height: 1.4; }

/* ---------- No more 2pm queue ---------- */
.queue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.queue-card { padding: 1.6rem; border: 1px solid var(--stroke); border-radius: var(--r-lg); background: var(--paper); }
.queue-card h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.queue-card > p { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
.queue-card ul, .queue-card ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.queue-card li { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.5; }
.queue-card li span { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: var(--blue-soft); font-size: 1rem; }
.queue-card ol li span { background: var(--blue); color: #fff; font-weight: 800; font-size: 0.9rem; }
.queue-card.is-desk { background: var(--ink-2); color: #fff; border-color: transparent; }
.queue-card.is-desk > p { color: rgba(255, 255, 255, 0.65); }
.queue-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.queue-compare > div { padding: 1.3rem 1.5rem; border-radius: var(--r); }
.queue-compare .is-old { background: var(--sand); }
.queue-compare .is-new { background: #e7f6ec; }
.queue-compare b { display: block; margin-bottom: 0.6rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.queue-steps { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.queue-steps span { padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.75); font-size: 0.88rem; font-weight: 600; }
.queue-compare .is-old .queue-steps span { color: var(--muted); }
.queue-compare .is-new .queue-steps span { background: #fff; color: #0a5a26; font-weight: 800; }
.queue-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.queue-foot p { margin: 0; color: var(--muted); }

/* ---------- Several properties ---------- */
.multi-prop { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; margin-top: 1.6rem; padding: 1.5rem 1.7rem; border-radius: var(--r-lg); background: var(--ink-2); color: #fff; }
.multi-prop .mp-ic { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 16px; background: var(--blue); font-size: 1.6rem; }
.multi-prop h3 { margin: 0 0 0.3rem; font-size: 1.2rem; }
.multi-prop p { margin: 0; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }

@media (max-width: 760px) {
  .queue-grid, .queue-compare { grid-template-columns: 1fr; }
  .multi-prop { grid-template-columns: 1fr; }
  .sale-badge { min-height: 220px; }
}
