:root {
  --ink: #0b1220;
  --ink-2: #121c30;
  --ink-3: #1b2740;
  --ivory: #f7f4ee;
  --paper: #ffffff;
  --sand: #ece6da;
  --text: #0b1220;
  --muted: #5b6578;
  --blue: #1668f5;
  --blue-deep: #0b4fd0;
  --sky: #6bb8ff;
  --blue-soft: #e7f0ff;
  --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(22, 104, 245, 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(107, 184, 255, 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(107, 184, 255, 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(22, 104, 245, 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(22, 104, 245, 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, #dff0ff, #b9dcff);
  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(107, 184, 255, 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(22, 104, 245, 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(22, 104, 245, 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;
  }
}
