/* kanutus.com — static site styles. Tokens come from tokens.css (copy of packages/ui/src/tokens.css). */

@font-face {
  font-family: "Space Grotesk";
  src: url("./fonts/SpaceGrotesk-wght.ttf") format("truetype-variations"), url("./fonts/SpaceGrotesk-wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

a:hover {
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--r-sm);
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

/* container: grows with wide screens (up to 1480 px), side padding scales 16 → 64 px.
   Reading measure is kept by each text block's own max-width (.lead, .section-head, .prose…). */
:root {
  --wrap-max: 1480px;
  --gutter: clamp(16px, 4vw, 64px);
}

.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  line-height: 1.02;
}

.h2 {
  font-size: clamp(1.75rem, 1rem + 2.2vw, 3.1rem);
}

.h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}

.lead {
  max-width: 36em; /* ~65–70 characters, whatever the container width */
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.center .lead,
.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

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

.subtle {
  color: var(--subtle);
}

.small {
  font-size: 14px;
}

.mono {
  font-family: var(--font-mono);
}

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

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--surface-3);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: var(--surface);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  color: var(--ink);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .ic-close {
  display: none;
}

.nav[data-open="true"] .nav-toggle .ic-close {
  display: block;
}

.nav[data-open="true"] .nav-toggle .ic-menu {
  display: none;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid var(--line);
}

.nav-mobile a {
  padding: 12px 8px;
  border-radius: var(--r-sm);
  font-size: 17px;
  font-weight: 500;
}

.nav-mobile a:hover {
  background: var(--surface);
}

.nav-mobile .btn {
  margin-top: 8px;
}

.site-header[data-open="true"] .nav-mobile {
  display: flex;
}

@media (min-width: 1180px) {
  .nav-links,
  .nav-actions {
    display: inline-flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* ---------- sections ---------- */
.section {
  padding: 72px 0;
}

@media (min-width: 880px) {
  .section {
    padding: 104px 0;
  }
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

@media (min-width: 1440px) {
  .section-head {
    max-width: 760px;
    margin-bottom: 52px;
  }
}

.section-head .h2 {
  margin-top: 14px;
}

.section-head .lead {
  margin-top: 14px;
}

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

.section-head.center .eyebrow {
  justify-content: center;
}

.hairline {
  border-top: 1px solid var(--line);
}

/* ---------- hero ---------- */
.hero {
  padding: 56px 0 40px;
}

@media (min-width: 880px) {
  .hero {
    padding: 96px 0 56px;
  }
}

.hero-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
  }
}

@media (min-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(40px, 4vw, 80px);
  }
}

.hero .h1 {
  margin-top: 18px;
}

/* home hero (people globe): the headline grows with wide screens */
@media (min-width: 980px) {
  .hero-grid:has(.people-globe-wrap) .h1 {
    font-size: clamp(3.4rem, 1rem + 4.2vw, 5.25rem);
  }
}

.hero .lead {
  margin-top: 20px;
  max-width: 34em;
}

@media (min-width: 1440px) {
  .hero .lead {
    font-size: 1.375rem;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--subtle);
}

/* ---------- product mock (call + floating island) ---------- */
.mock {
  position: relative;
  padding-top: 20px;
}

.call {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 124px 14px 14px; /* room for the island floating over the top of the call */
  box-shadow: var(--shadow);
}

.call-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 12px;
  font-size: 12px;
  color: var(--subtle);
}

.call-top strong {
  color: var(--ink-2);
  font-weight: 600;
}

.call-dots {
  display: inline-flex;
  gap: 5px;
}

.call-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-3);
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile.speaking::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  background: var(--surface-3);
  color: var(--ink);
}

.tile.speaking .avatar {
  background: var(--accent);
  color: var(--on-accent);
}

.tile .name {
  position: absolute;
  inset-inline-start: 8px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.tile .flag {
  position: absolute;
  inset-inline-end: 8px;
  top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--subtle);
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 6px;
  border-radius: var(--r-xs);
}

.call-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
}

.call-bar i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
}

.call-bar i svg {
  width: 16px;
  height: 16px;
}

.call-bar i.end {
  background: var(--danger);
  color: #fff;
  width: 48px;
  border-radius: var(--r-pill);
}

.room-chip {
  position: relative;
  margin: 12px auto 0;
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding-block: 7px 7px;
  padding-inline: 10px 12px;
  font-size: 12px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.room-chip svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.room-chip .mono {
  color: var(--subtle);
}

@media (max-width: 420px) {
  .room-chip .mono {
    display: none;
  }
}

/* the island: black pill with inset hairline, anchored at the top centre of the call */
.island {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: #000;
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  min-width: 126px;
  width: min(380px, calc(100% - 24px));
  overflow: hidden;
}

.island-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 9px 9px;
  padding-inline: 12px 16px;
  font-size: 12px;
  font-weight: 500;
}

.island-row .grip {
  display: inline-grid;
  grid-template-columns: repeat(2, 3px);
  gap: 3px;
  opacity: 0.45;
}

.island-row .grip i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
}

.island-row svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

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

.wave i {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  animation: wave 1.1s var(--ease) infinite;
}

.wave i:nth-child(2) {
  animation-delay: 0.12s;
}

.wave i:nth-child(3) {
  animation-delay: 0.24s;
}

.wave i:nth-child(4) {
  animation-delay: 0.36s;
}

.wave i:nth-child(5) {
  animation-delay: 0.48s;
}

@keyframes wave {
  0%,
  100% {
    height: 5px;
  }

  50% {
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wave i {
    animation: none;
    height: 9px;
  }
}

.island .pair,
.af-island .pair {
  margin-inline-start: auto;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #d1d1d6;
}

.island .dot,
.af-island .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.island-body {
  padding: 2px 16px 13px;
  display: grid;
  gap: 6px;
}

.island-body p {
  font-size: 13px;
  line-height: 1.4;
  color: #a1a1a6;
}

.island-body p strong {
  display: block;
  font-weight: 500;
  color: #fff;
}

.island-body .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-inline-end: 6px;
}

/* compact island variant (used on how-it-works) */
.island.static {
  position: relative;
  left: auto;
  transform: none;
  width: auto;
  display: inline-block;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  gap: 28px;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

@media (min-width: 1040px) {
  .steps.four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  counter-increment: step;
  padding-top: 18px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-ink);
  position: relative;
  z-index: 1;
}

.step .num::before {
  content: counter(step);
}

@media (min-width: 760px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 38px;
    inset-inline-start: 48px;
    inset-inline-end: -16px;
    height: 1px;
    background: var(--line);
  }
}

.step .h3 {
  margin-top: 18px;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- cards / features ---------- */
.grid {
  display: grid;
  gap: 16px;
}

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

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

@media (min-width: 640px) {
  .grid.two,
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* wide screens: a 2×2 grid of four cards becomes one row of four (keeps line length readable) */
@media (min-width: 1440px) {
  .grid.two:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  margin-bottom: 18px;
}

.card .icon svg {
  width: 20px;
  height: 20px;
}

.card .h3 + p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
}

@media (min-width: 760px) {
  .panel {
    padding: 40px;
  }
}

.split {
  display: grid;
  gap: 32px;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
}

.split .lead {
  margin-top: 14px;
}

.split .h2 {
  margin-top: 14px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-2);
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

/* pipeline (how it works) */
.pipeline {
  display: grid;
  gap: 10px;
}

@media (min-width: 760px) {
  .pipeline {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
  }
}

.pipe-node {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 18px;
}

.pipe-node .k {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.pipe-node .h3 {
  margin-top: 6px;
}

.pipe-node p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.pipe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--subtle);
}

.pipe-arrow svg {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
}

@media (min-width: 760px) {
  .pipe-arrow svg {
    transform: none;
  }
}

/* listener mock (phone) */
.phone {
  width: 240px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone .url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--subtle);
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: 6px 10px;
  text-align: center;
}

.phone .ph-title {
  margin-top: 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.phone .ph-sub {
  margin-top: 4px;
  text-align: center;
  font-size: 12px;
  color: var(--subtle);
}

.phone .langs {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.phone .langs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: 13px;
}

.phone .langs li.on {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.phone .langs li.on::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.phone .listening {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
}

/* ---------- pricing ---------- */
.toggle-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px;
}

.toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

.toggle .save {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.toggle button[aria-pressed="true"] .save {
  background: rgba(0, 0, 0, 0.18);
  color: var(--on-accent);
}

.plans {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
}

/* the plan most people pick is the main card: lighter, green-lit, taller, with a slow light running on the border */
@property --plan-sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.plan.featured {
  z-index: 1;
  border-color: rgba(118, 185, 0, 0.55);
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(118, 185, 0, 0.13), transparent 70%),
    linear-gradient(180deg, #232325, var(--surface) 85%);
  box-shadow:
    0 0 0 1px rgba(118, 185, 0, 0.18),
    0 24px 60px -24px rgba(118, 185, 0, 0.35),
    var(--shadow);
}

.plan.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--plan-sweep), transparent 0deg 250deg, rgba(155, 224, 31, 0.15) 290deg, var(--accent-2) 330deg, rgba(155, 224, 31, 0.15) 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: plan-sweep 7s linear infinite;
  pointer-events: none;
}

@keyframes plan-sweep {
  to {
    --plan-sweep: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan.featured::before {
    animation: none;
    background: none;
  }
}

.plan.featured .amount {
  font-size: clamp(38px, 2.9vw, 44px);
  color: var(--ink);
}

.plan.featured .minutes {
  color: var(--accent-ink);
}

.plan.featured .feats {
  color: var(--ink);
}

.plan:not(.featured) .name,
.plan:not(.featured) .amount {
  color: var(--ink-2);
}

.plan .badge {
  position: absolute;
  z-index: 2;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  box-shadow: 0 0 0 4px var(--bg), 0 6px 18px -4px rgba(118, 185, 0, 0.55);
}

@media (min-width: 1040px) {
  .plans {
    align-items: stretch;
    padding-block: 30px 24px;
  }

  .plan.featured {
    margin-block: -18px;
    padding: 40px 26px 30px;
    transform: scale(1.04);
  }
}

@media (max-width: 760px) {
  .plan.featured {
    order: -1;
    margin-bottom: 8px;
  }
}

.plan .name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}

.plan .desc {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  min-height: 2.6em;
}

.plan .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
}

.plan .amount {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(30px, 2.3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.plan .per {
  font-size: 14px;
  color: var(--muted);
}

.plan .billed {
  margin-top: 8px;
  font-size: 13px;
  color: var(--subtle);
  min-height: 1.4em;
}

.plan .billed .save {
  white-space: nowrap;
  color: var(--accent-ink);
  font-weight: 600;
  margin-inline-start: 6px;
}

.plan .minutes {
  font-weight: 600;
  font-size: 15px;
}

.plan .feats {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.plan .feats li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan .feats svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.plan .cta {
  margin-top: auto;
}

/* month/year toggling: both prices are in the DOM; data-interval hides one */
.plans [data-year],
.plans [data-month] {
  display: none;
}

.plans[data-interval="month"] [data-month],
.plans[data-interval="year"] [data-year] {
  display: initial;
}

.packs {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .packs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: grid;
  gap: 8px;
}

.pack .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.pack .name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
}

.pack .per-min {
  font-size: 12px;
  color: var(--subtle);
}

.pack .amount {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.pack .valid {
  font-size: 13px;
  color: var(--subtle);
}

.pack .btn {
  margin-top: 10px;
}

.pricing-status {
  text-align: center;
  font-size: 13px;
  color: var(--subtle);
  min-height: 1.4em;
}

.pricing-status[data-live="true"] {
  color: var(--accent-ink);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  transition: color var(--dur) var(--ease);
}

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

.faq summary:hover {
  color: var(--accent-ink);
}

.faq summary .n {
  font-size: 12px;
  color: var(--subtle);
  width: 22px;
  flex-shrink: 0;
  font-weight: 500;
}

.faq summary .plus {
  margin-inline-start: auto;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  color: var(--subtle);
}

.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transition: transform var(--dur) var(--ease);
}

.faq summary .plus::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq summary .plus::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq details[open] summary .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq .answer {
  padding-block: 0 22px;
  padding-inline: 38px 4px;
  color: var(--muted);
  font-size: 15px;
  max-width: 640px;
}

.faq .answer a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sheet);
  padding: 44px 24px;
  text-align: center;
}

@media (min-width: 760px) {
  .cta-band {
    padding: 72px 40px;
  }
}

.cta-band .lead {
  margin: 14px auto 0;
  max-width: 520px;
}

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

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 26px;
  width: auto;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 600;
}

.footer-col ul {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--ink-2);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--subtle);
}

/* ---------- prose (legal, about) ---------- */
.prose {
  max-width: 720px;
}

.prose .h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.prose .updated {
  margin-top: 12px;
  color: var(--subtle);
  font-size: 14px;
}

.prose .body {
  margin-top: 40px;
  display: grid;
  gap: 32px;
  color: var(--ink-2);
}

.prose .body h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.prose .body p + p {
  margin-top: 12px;
}

.prose .body ul {
  list-style: disc;
  padding-inline-start: 22px;
  display: grid;
  gap: 6px;
}

.prose .body a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .notice {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 404 ---------- */
.nf {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}

.nf .code {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}

/* ---------- utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-2 {
  margin-top: 8px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-6 {
  margin-top: 24px;
}

.mt-8 {
  margin-top: 32px;
}

.center {
  text-align: center;
}

/* ---------- hero globe ---------- */
.globe-wrap {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin: 0 auto;
  touch-action: pan-y;
}

.globe-wrap .globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.globe-wrap .globe:active {
  cursor: grabbing;
}

.globe-wrap .globe-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.globe-wrap .globe[data-ready="true"] + .globe-poster {
  display: none;
}

/* hero people globe: fills the right column and, on wide screens, bleeds a little to the right
   (never past the viewport: the bleed is capped by the gutter + the margin outside .wrap). */
@media (min-width: 980px) {
  .hero .people-globe-wrap {
    --bleed: max(0px, min(160px, calc(var(--gutter) + max(0px, (100vw - var(--wrap-max)) / 2) - 24px)));
    width: calc(100% + var(--bleed));
    max-width: 860px;
    margin: 0 calc(-1 * var(--bleed)) 0 auto;
  }
}

/* people globe (assets/people-globe.js; preview/hero-people*.html for now) */
.people-globe-wrap .people-globe {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.people-globe-wrap .people-globe[data-ready="true"] + .globe-poster {
  display: none;
}

/* ---------- pricing teaser ---------- */
.teaser {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 880px) {
  .teaser {
    grid-template-columns: 1fr auto;
    gap: 48px;
  }
}

.teaser .h2 {
  margin-top: 12px;
}

.teaser .lead {
  margin-top: 12px;
  max-width: 560px;
}

/* ---------- footer disclaimer ---------- */
.footer-disclaimer {
  margin-top: 36px;
  font-size: 12px;
  color: var(--subtle);
  max-width: 760px;
}

/* ---------- scroll reveal (only when JS + motion allowed) ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* =====================================================================================================
   2026-10 revision: language menu, proof row, photo band, orbit, scroll carousel, progress line,
   sectors, download, Calendly, business, about.
   ===================================================================================================== */

/* ---------- buttons with icons ---------- */
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-sm svg {
  width: 16px;
  height: 16px;
}

/* ---------- language menu ---------- */
.flag-ic {
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  outline: 1px solid rgba(255, 255, 255, 0.14);
  outline-offset: -1px;
}

.flag-ic svg {
  width: 100%;
  height: 100%;
}

.langsel {
  position: relative;
}

.langsel summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding-block: 0 0;
  padding-inline: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

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

.langsel summary:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.langsel summary > svg {
  width: 14px;
  height: 14px;
  color: var(--subtle);
  transition: transform var(--dur) var(--ease);
}

.langsel[open] summary > svg {
  transform: rotate(180deg);
}

.langsel-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 196px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  animation: menu-in var(--dur) var(--ease);
}

.langsel-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--ink-2);
}

.langsel-menu a:hover,
.langsel-menu a:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
}

.langsel-menu a[aria-current="true"] {
  color: var(--ink);
}

.langsel-menu a svg {
  width: 16px;
  height: 16px;
  margin-inline-start: auto;
  color: var(--accent);
}

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

.nav-dl-mobile {
  margin-inline-start: auto;
}

@media (min-width: 1180px) {
  .nav-dl-mobile {
    display: none;
  }
}

.lang-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.nav-mobile .lang-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}

.nav-mobile .lang-list a[aria-current="true"] {
  background: var(--surface);
  color: var(--ink);
}

.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer-langs a {
  color: var(--subtle);
}

.footer-langs a:hover,
.footer-langs a[aria-current="true"] {
  color: var(--ink);
}

/* ---------- proof row under the hero ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
  .proof {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof li {
  display: grid;
  gap: 6px;
  align-content: start;
}

.proof strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.6rem, 0.6rem + 1.9vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.proof span {
  font-size: 14px;
  color: var(--muted);
  max-width: 220px;
}

@media (min-width: 1440px) {
  .proof span {
    font-size: 15px;
    max-width: 260px;
  }
}

/* ---------- human photo band ---------- */
.band {
  padding: 16px 0 0;
}

.band-fig {
  position: relative;
  margin: 0;
  border-radius: var(--r-sheet);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
  .band-fig {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 980px) {
  .band-fig {
    aspect-ratio: 2.1 / 1;
  }
}

@media (min-width: 1440px) {
  .band-fig {
    aspect-ratio: 2.35 / 1;
  }
}

.band-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.band-fig::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.band-fig figcaption {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}

.band-fig figcaption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (min-width: 760px) {
  .band-fig figcaption {
    inset-inline-start: 32px;
    bottom: 28px;
    font-size: 16px;
  }
}

/* ---------- works with: orbit ---------- */
.works-split .lead {
  max-width: 480px;
}

.app-names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.app-names li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.orbit {
  --rot: 0deg;
  --size: min(440px, calc(100vw - 48px));
  --r: calc(var(--size) * 0.39);
  --app: 56px;
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 0 auto;
}

@media (max-width: 520px) {
  .orbit {
    --app: 46px;
  }
}

@media (min-width: 1440px) {
  .orbit {
    --size: 540px;
    --app: 64px;
  }
}

.orbit-ring {
  position: absolute;
  left: calc(50% - var(--r));
  top: calc(50% - var(--r));
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-ring.inner {
  left: calc(50% - var(--r) * 0.58);
  top: calc(50% - var(--r) * 0.58);
  width: calc(var(--r) * 1.16);
  height: calc(var(--r) * 1.16);
  border-color: rgba(255, 255, 255, 0.05);
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: 104px;
  margin: -52px 0 0 -52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  z-index: 2;
}

.orbit-core img {
  width: 52px;
  height: 52px;
}

.orbit.linked .orbit-core {
  animation: core-pulse 1.7s var(--ease) infinite;
}

@keyframes core-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(118, 185, 0, 0.32);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(118, 185, 0, 0);
  }
}

.orbit-app {
  --t: calc(var(--a) + var(--rot));
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--app);
  height: var(--app);
  margin: calc(var(--app) / -2) 0 0 calc(var(--app) / -2);
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  z-index: 3;
  transform: rotate(var(--t)) translateY(calc(var(--r) * -1)) rotate(calc(var(--t) * -1));
  transition: border-color var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
  will-change: transform;
}

.orbit-app img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6) opacity(0.5);
  transition: filter var(--dur-slow) var(--ease);
}

.orbit-app.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(118, 185, 0, 0.12);
}

.orbit-app.on img {
  filter: none;
}

/* the beam: from the core up to the app sitting at the top */
.orbit-beam {
  position: absolute;
  left: calc(50% - 1px);
  top: calc(50% - var(--r) + var(--app) / 2);
  width: 2px;
  height: calc(var(--r) - var(--app) / 2 - 52px);
  background: var(--accent);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 340ms var(--ease);
  z-index: 1;
}

.orbit.linked .orbit-beam {
  transform: scaleY(1);
}

.orbit-beam i {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.orbit-beam i::before {
  content: "";
  position: absolute;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(118, 185, 0, 0.25);
}

.orbit-beam i.out::before {
  bottom: -4px;
}

.orbit-beam i.in::before {
  top: -4px;
}

.orbit.is-live.linked .orbit-beam i.out {
  animation: beam-up 1.15s var(--ease) 0.3s infinite;
}

.orbit.is-live.linked .orbit-beam i.in {
  animation: beam-down 1.15s var(--ease) 0.88s infinite;
}

@keyframes beam-up {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes beam-down {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

.orbit-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 64px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  z-index: 2;
}

.orbit-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--control-off);
  transition: background-color var(--dur) var(--ease);
}

.orbit.linked .orbit-label .dot {
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .orbit.linked .orbit-core {
    animation: none;
  }
}

/* ---------- "it still sounds like you": scroll-driven app carousel ---------- */
.product-head {
  align-items: end;
}

.product-head .check-list {
  margin-top: 0;
}

.scrolly {
  margin-top: 56px;
}

.scrolly-grid {
  display: grid;
  gap: 28px;
}

.scrolly-h {
  margin-top: 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.scrolly-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  max-width: 440px;
  text-wrap: pretty;
}

.scrolly-nav {
  display: none;
}

/* without JS: frames simply stack */
.scrolly-stage {
  display: grid;
  gap: 40px;
}

.app-frame {
  display: grid;
  gap: 12px;
  max-width: 560px;
  width: 100%;
  justify-self: center;
}

.af-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.af-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.af-top img {
  width: 20px;
  height: 20px;
}

.af-top strong {
  font-weight: 600;
}

.af-live {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.af-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-2);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.af-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: #0b0b0c;
}

.af-stage.layout-speaker {
  grid-template-columns: repeat(3, 1fr);
}

.af-stage.layout-speaker .ftile:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8;
}

.af-stage.layout-huddle {
  background: var(--surface);
}

.af-stage.layout-huddle .ftile {
  border-radius: var(--r-lg);
}

.ftile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface-2);
}

.ftile > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ftile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.ftile.speaking::after {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.ftile.hearing::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.ftile figcaption {
  position: absolute;
  inset-inline-start: 7px;
  bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 14px);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.66);
  font-size: 11px;
  font-weight: 500;
  color: #f5f5f7;
  white-space: nowrap;
}

.ftile figcaption b {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.ftile figcaption svg {
  width: 12px;
  height: 12px;
}

.ftile figcaption .wave {
  height: 12px;
}

.ftile figcaption .wave i {
  width: 2px;
}

.af-island {
  margin: 12px auto 14px;
  width: calc(100% - 24px);
  max-width: 440px;
  background: #000;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.af-note {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  color: var(--muted);
  min-height: 2.9em;
  padding: 0 4px;
}

.af-count {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--subtle);
}

/* with JS: sticky stage, one frame per scroll step */
.scrolly.is-on {
  height: calc(100vh - 64px + var(--n) * 62vh);
}

.scrolly.is-on .scrolly-stick {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

.scrolly.is-on .scrolly-stage {
  gap: 0;
}

.scrolly.is-on .app-frame {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s;
}

.scrolly.is-on .app-frame.past {
  transform: translateY(-28px) scale(0.985);
}

.scrolly.is-on .app-frame.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0s;
}

.scrolly.is-on .scrolly-nav {
  display: grid;
  gap: 4px;
  margin-top: 24px;
}

.scrolly-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--r-md);
  text-align: start;
  color: var(--muted);
  overflow: hidden;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.scrolly-nav button:hover {
  color: var(--ink);
}

.scrolly-nav img {
  width: 20px;
  height: 20px;
  filter: grayscale(1) brightness(1.6) opacity(0.5);
  transition: filter var(--dur) var(--ease);
}

.scrolly-nav .sn-name {
  font-size: 15px;
  font-weight: 500;
}

.scrolly-nav .sn-pair {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--subtle);
}

.scrolly-nav .sn-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  border-radius: 2px;
}

.scrolly-nav [aria-current="step"] {
  background: var(--surface);
  color: var(--ink);
}

.scrolly-nav [aria-current="step"] img,
.scrolly-nav .done img {
  filter: none;
}

.scrolly-nav [aria-current="step"] .sn-bar {
  transform: scaleX(var(--sp, 0));
}

@media (min-width: 880px) {
  .scrolly-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: center;
  }
}

@media (max-width: 879px) {
  .scrolly.is-on .scrolly-stick {
    align-items: flex-start;
    padding-top: 16px;
  }

  .scrolly.is-on .scrolly-grid {
    gap: 14px;
  }

  .scrolly-h {
    margin-top: 8px;
    font-size: 1.3rem;
  }

  .scrolly-lead {
    font-size: 14px;
  }

  .scrolly.is-on .scrolly-nav {
    display: flex;
    gap: 6px;
    margin-top: 14px;
  }

  .scrolly-nav li {
    flex: 1;
  }

  .scrolly-nav button {
    display: flex;
    justify-content: center;
    padding: 10px 0 12px;
    background: var(--surface);
  }

  .scrolly-nav .sn-name,
  .scrolly-nav .sn-pair {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .scrolly-nav [aria-current="step"] {
    background: var(--surface-2);
  }

  .scrolly-nav .sn-bar {
    left: 8px;
    right: 8px;
  }

  .ftile {
    aspect-ratio: 16 / 11;
  }

  .af-stage.layout-speaker .ftile:first-child {
    aspect-ratio: 16 / 7;
  }

  .af-island {
    margin: 10px auto 12px;
  }

  .af-note {
    font-size: 13px;
  }
}

/* wide screens: the call frame grows with the column, but never taller than the sticky viewport */
@media (min-width: 1280px) {
  .app-frame {
    max-width: clamp(560px, (100vh - 130px) / 1.2, 700px);
  }
}

@media (min-width: 1440px) {
  .scrolly-h {
    font-size: 2.1rem;
  }

  .scrolly-lead {
    font-size: 16px;
    max-width: 480px;
  }
}

@media (max-width: 879px) and (max-height: 720px) {
  .scrolly-lead {
    display: none;
  }
}

@media (min-width: 880px) and (max-height: 780px) {
  .ftile {
    aspect-ratio: 16 / 10;
  }

  .af-stage.layout-speaker .ftile:first-child {
    aspect-ratio: 16 / 6;
  }
}

/* ---------- how it works: progress line ---------- */
.howline {
  position: relative;
}

.howline-track {
  display: none;
}

.howline.is-on .howline-track {
  display: block;
  position: absolute;
  margin: -1px 0 0;
  background: var(--line);
  border-radius: 2px;
  pointer-events: none;
}

.howline.is-on.vertical .howline-track {
  margin: 0 0 0 -1px;
}

.howline-track i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

.howline.vertical .howline-track i {
  transform: scaleY(var(--p, 0));
  transform-origin: 50% 0;
}

.howline.is-on .step::after {
  display: none;
}

.howline.is-on .step .num {
  transition: background-color var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease), color var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.howline.is-on .step .h3,
.howline.is-on .step p {
  transition: opacity var(--dur-slow) var(--ease);
  opacity: 0.45;
}

.howline.is-on .step.lit .num {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  transform: scale(1.06);
}

.howline.is-on .step.lit .h3,
.howline.is-on .step.lit p {
  opacity: 1;
}

/* single-column steps: number on the left, line runs down through the numbers */
@media (max-width: 759px) {
  .howline .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    padding-top: 0;
  }

  .howline .step .num {
    grid-row: span 2;
  }

  .howline .step .h3 {
    margin-top: 9px;
  }
}

@media (min-width: 760px) and (max-width: 1039px) {
  .howline .steps.four {
    grid-template-columns: 1fr;
  }

  .howline .steps.four .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    padding-top: 0;
  }

  .howline .steps.four .step .num {
    grid-row: span 2;
  }

  .howline .steps.four .step .h3 {
    margin-top: 9px;
  }
}

/* ---------- who it's for: sectors ---------- */
.sectors {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}

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

.sector {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.sector:hover {
  border-color: var(--line-strong);
}

.sector {
  container-type: inline-size;
}

@container (max-width: 280px) {
  .convo {
    left: 8px;
    right: 8px;
    gap: 6px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .convo b {
    font-size: 10px;
  }
}

.js-reveal .sector[data-reveal] {
  transition: opacity 0.6s var(--ease) calc(var(--i) * 90ms), transform 0.6s var(--ease) calc(var(--i) * 90ms), border-color var(--dur) var(--ease);
}

.sector-ph {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.sector-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.sector:hover .sector-ph img {
  transform: scale(1.04);
}

.convo {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.7);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}

.convo span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.convo b {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.convo .convo-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
  flex-shrink: 0;
}

.convo-wave i {
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  animation: wave 1.3s var(--ease) infinite;
}

.convo-wave i:nth-child(2) {
  animation-delay: 0.15s;
}

.convo-wave i:nth-child(3) {
  animation-delay: 0.3s;
}

.convo-wave i:nth-child(4) {
  animation-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
  .convo-wave i,
  .af-live i {
    animation: none;
    height: 7px;
  }
}

.sector-body {
  padding: 18px 20px 22px;
}

.sector-body p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

@media (max-width: 639px) {
  .sectors-wrap {
    padding-inline-end: 0;
  }

  .sectors {
    padding-inline-end: 16px;
  }
}

@media (min-width: 640px) {
  .sectors {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    gap: 16px;
  }
}

@media (min-width: 1080px) {
  .sectors {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- download ---------- */
.download {
  scroll-margin-top: 64px;
}

.download-panel {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 880px) {
  .download-panel {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.download-panel .h2,
.download-panel .lead {
  margin-top: 14px;
}

.download-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--subtle);
}

.dl-list {
  display: grid;
  gap: 10px;
}

.dl {
  display: grid;
  grid-template-columns: 26px 1fr auto 18px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  color: var(--ink);
  transition: background-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}

.dl:hover {
  background: var(--surface-3);
}

.dl:active {
  transform: translateY(1px);
}

.dl strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.dl small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.dl > svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.dl-yours {
  display: none;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.16);
}

.dl.is-yours {
  background: var(--accent);
  color: var(--on-accent);
}

.dl.is-yours:hover {
  background: var(--accent-2);
}

.dl.is-yours small,
.dl.is-yours > svg {
  color: rgba(11, 11, 12, 0.72);
}

.dl.is-yours .dl-yours {
  display: inline-block;
}

.no-os .dl.is-yours {
  background: var(--surface-2);
  color: var(--ink);
}

.no-os .dl.is-yours small,
.no-os .dl.is-yours > svg {
  color: var(--muted);
}

.no-os .dl-yours {
  display: none !important;
}

.os-ic {
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}

.os-windows {
  --m: url("./os/windows.svg");
  width: 21px;
  height: 21px;
}

.os-mac {
  --m: url("./os/apple.svg");
}

.os-linux {
  --m: url("./os/linux.svg");
}

@media (max-width: 420px) {
  .dl {
    grid-template-columns: 24px 1fr 18px;
    padding: 14px 16px;
  }

  .dl-yours {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .dl > svg {
    grid-column: 3;
    grid-row: 1;
  }
}

/* ---------- pricing teaser: subtle animated button ---------- */
.btn-nudge {
  position: relative;
}

.btn-nudge svg {
  animation: nudge 2.8s var(--ease) infinite;
}

.btn-nudge::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: ring-out 2.8s var(--ease) infinite;
  pointer-events: none;
}

@keyframes nudge {
  0%,
  55%,
  100% {
    transform: translateX(0);
  }
  70% {
    transform: translateX(4px);
  }
  85% {
    transform: translateX(0);
  }
}

@keyframes ring-out {
  0%,
  50% {
    opacity: 0;
    transform: scale(1);
  }
  62% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: scale(1.08, 1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-nudge svg,
  .btn-nudge::before {
    animation: none;
  }
}

/* ---------- talk to us (Calendly) ---------- */
.talk {
  scroll-margin-top: 64px;
}

.talk-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 980px) {
  .talk-grid {
    grid-template-columns: minmax(0, 1fr) 600px;
    gap: 56px;
    align-items: start;
  }

  .talk-copy {
    position: sticky;
    top: 112px;
  }
}

.talk-copy .h2,
.talk-copy .lead {
  margin-top: 14px;
}

/* <= 600 px wide the Calendly page uses its compact layout with no white page margins */
.calendly-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 820px;
  margin: 0 auto;
  transition: height var(--dur-slow) var(--ease);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  overflow: hidden;
}


.calendly-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.calendly-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}

.calendly-fallback {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 48px);
  text-align: center;
}

.calendly-box.is-ready .calendly-loading,
.calendly-box.is-ready .calendly-fallback {
  display: none;
}

.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}

.talk-email {
  margin-top: 20px;
  font-size: 14px;
  color: var(--subtle);
}

/* ---------- business ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 36px;
}

.chips a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.chips a:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.scenarios {
  display: grid;
  gap: 20px;
}

.scenario {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  scroll-margin-top: 88px;
}

.scenario-ph {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
}

.scenario-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario-body {
  padding: 24px;
}

.scenario-body .h3 {
  font-size: 1.35rem;
}

.scenario dl {
  margin: 18px 0 0;
  display: grid;
  gap: 16px;
}

.scenario dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--subtle);
}

.scenario dd {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.scenario .with dt {
  color: var(--accent-ink);
}

@media (min-width: 880px) {
  .scenario {
    grid-template-columns: 1fr 1.1fr;
  }

  .scenario-ph {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .scenario-ph img {
    position: absolute;
    inset: 0;
  }

  .scenario:nth-child(even) .scenario-ph {
    order: 2;
  }

  .scenario-body {
    padding: 36px 40px;
  }
}

/* ---------- about ---------- */
.about-head {
  max-width: 860px;
}

.about-head .h1 {
  margin-top: 18px;
}

.about-head .lead {
  margin-top: 20px;
  max-width: 640px;
}

.stories {
  display: grid;
  gap: 16px;
}

@media (min-width: 880px) {
  .stories {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding-bottom: 24px;
}

.js-reveal .story[data-reveal] {
  transition-delay: calc(var(--i) * 90ms);
}

.story figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}

.story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story .h3 {
  padding: 20px 22px 0;
}

.story p {
  padding: 8px 22px 0;
  font-size: 15px;
  color: var(--muted);
}

.mission {
  align-items: start;
}

.mission-text p {
  max-width: 36em;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.mission-text p + p {
  margin-top: 18px;
}

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

@media (min-width: 640px) {
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- misc ---------- */
.packs-head {
  margin-top: 72px;
}

.nf-other {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

/* ---------- country flags on faces ---------- */
.cflag {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.tile .name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tile .name b {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- business: secondary uses ---------- */
.more-uses {
  margin-top: 64px;
  max-width: 640px;
}

.more-uses p {
  margin-top: 8px;
  color: var(--muted);
}

.uses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .uses {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .uses {
    grid-template-columns: repeat(5, 1fr);
  }
}

.use {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding-bottom: 18px;
  scroll-margin-top: 88px;
}

.js-reveal .use[data-reveal] {
  transition-delay: calc(var(--i) * 70ms);
}

.use figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}

.use img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.use h4 {
  padding: 14px 16px 0;
  font-size: 15px;
}

.use p {
  padding: 6px 16px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.af-stage.layout-speaker .ftile:not(:first-child) figcaption > svg {
  display: none;
}

/* keep the person in frame when a photo is cropped */
img[src*="sector-hr"] {
  object-position: 18% 50%;
}

/* ---------- about: eight faces, eight countries ---------- */
.faces {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.faces .ftile {
  aspect-ratio: 3 / 4;
}

.faces .ftile figcaption {
  font-size: 10.5px;
  padding-block: 3px 3px;
  padding-inline: 4px 7px;
}

@media (min-width: 980px) {
  .faces li:nth-child(even) {
    transform: translateY(18px);
  }
}

.about-head .h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

@media (max-width: 639px) {
  .faces .ftile figcaption {
    padding: 3px;
  }

  .faces .ftile figcaption span {
    display: none;
  }
}

/* ---------- Kanutus Rooms (own meeting room, N→N translation) ---------- */
.nn-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(118, 185, 0, 0.45);
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(118, 185, 0, 0.45);
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* carousel nav: the Rooms step is always outlined in green */
.scrolly-nav .sn-rooms button {
  box-shadow: inset 0 0 0 1px rgba(118, 185, 0, 0.35);
}

.scrolly-nav .sn-rooms img {
  filter: none;
}

.scrolly-nav .sn-rooms [aria-current="step"] {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.scrolly.is-on .scrolly-nav .sn-rooms {
  margin-top: 6px;
}

/* the Rooms frame (shorter than the call frames: centred in the shared grid cell) */
.scrolly.is-on .app-frame.af-rooms {
  align-content: center;
}

.af-rooms .af-window {
  border-color: rgba(118, 185, 0, 0.45);
  box-shadow: var(--shadow), 0 0 0 4px rgba(118, 185, 0, 0.07);
}

.af-rooms .af-top .nn-badge {
  margin-inline-start: 2px;
}

.rooms-body {
  display: grid;
  background: #0b0b0c;
}

.af-stage.layout-rooms {
  background: transparent;
}

.rt-cap {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 34px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ftile figcaption .rt-hears {
  color: var(--accent-ink);
  letter-spacing: 0.02em;
}

.rooms-chat {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 0 10px 10px;
}

.rc-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.rc-title svg {
  width: 13px;
  height: 13px;
  color: var(--accent-ink);
}

.rooms-chat ul {
  display: grid;
  gap: 8px;
}

.rooms-chat li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
}

.rc-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
}

.rc-who {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-2);
}

.rc-who em {
  font-style: normal;
  font-family: var(--font-head);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
}

.rc-text {
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.island-body .rooms-xl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 12px;
  color: var(--accent-ink);
  font-weight: 600;
}

.rooms-xl svg {
  width: 14px;
  height: 14px;
}

.rooms-xl .rooms-voice {
  font-weight: 400;
  color: #a1a1a6;
}

@media (min-width: 880px) {
  .rooms-body {
    grid-template-columns: minmax(0, 1fr) 150px;
  }

  .rooms-chat {
    padding-block: 10px 10px;
    padding-inline: 2px 10px;
  }
}

@media (max-width: 879px) {
  .scrolly-nav .nn-badge {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .scrolly.is-on .scrolly-nav .sn-rooms {
    margin-top: 0;
  }

  /* a little shorter than the call frames: the chat line sits under the tiles */
  .af-rooms .ftile {
    aspect-ratio: 16 / 10;
  }

  .af-rooms .af-top {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .af-rooms .af-island {
    margin: 8px auto 10px;
  }

  .af-rooms .island-body {
    gap: 4px;
    padding-bottom: 10px;
  }

  /* chat collapses to one translated message under the tiles */
  .rooms-chat {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
  }

  .rc-title span {
    display: none;
  }

  .rooms-chat li + li {
    display: none;
  }

  .rt-cap {
    bottom: 30px;
    font-size: 11px;
    padding: 2px 6px;
  }

  .ftile figcaption .rt-hears + svg {
    display: none;
  }

  .rooms-xl .rooms-voice {
    display: none;
  }
}

/* "works with": Kanutus Rooms in the orbit and the app list */
.orbit-app.is-own {
  border-color: rgba(118, 185, 0, 0.45);
}

.orbit-app.is-own img {
  filter: none;
  opacity: 0.85;
}

.orbit-app.is-own.on img {
  opacity: 1;
}

.app-names li.is-own {
  padding: 0;
  border-color: rgba(118, 185, 0, 0.45);
}

.app-names li.is-own a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 5px 5px;
  padding-inline: 8px 11px;
  color: var(--accent-ink);
}

.app-names li.is-own img {
  width: 14px;
  height: 14px;
}

/* home section */
.rooms-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 980px) {
  .rooms-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
  }
}

.rooms-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.rooms-kicker img {
  width: 22px;
  height: 22px;
}

.rooms-copy .h2 {
  margin-top: 16px;
}

.rooms-copy .lead {
  margin-top: 14px;
  max-width: 520px;
}

.rooms-copy .hero-cta {
  align-items: center;
}


.rooms-feats {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .rooms-feats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rooms-feats .card {
  padding: 20px;
}

.rooms-feats .card .icon {
  margin-bottom: 14px;
}

.rooms-feats .card.is-key {
  border-color: rgba(118, 185, 0, 0.45);
  background: linear-gradient(180deg, rgba(118, 185, 0, 0.08), rgba(118, 185, 0, 0) 70%), var(--surface);
}

.rooms-feats .nn {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rooms-feats .h3 + p {
  font-size: 14px;
}

/* /business paragraph */
.rooms-biz {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  border-color: rgba(118, 185, 0, 0.35);
}

.rooms-biz .h3 {
  margin-top: 14px;
  font-size: 1.3rem;
}

.rooms-biz p:not(.rooms-kicker) {
  margin-top: 10px;
  color: var(--muted);
  max-width: 760px;
  text-wrap: pretty;
}

@media (min-width: 880px) {
  .rooms-biz {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* 8 apps on the ring (7 call apps + Kanutus Rooms): on phones the lower apps sit closer to the label */
@media (max-width: 520px) {
  .orbit-core {
    width: 88px;
    height: 88px;
    margin: -44px 0 0 -44px;
  }

  .orbit-core img {
    width: 44px;
    height: 44px;
  }

  .orbit-beam {
    height: calc(var(--r) - var(--app) / 2 - 44px);
  }

  .orbit-label {
    top: calc(50% + 50px);
    font-size: 12px;
  }
}

/* ---------- scripts beyond Latin (ja, zh, ko, hi, ar, ru) ----------
   System fonts first (Windows / macOS / Android / Linux), then Noto, which build.mjs loads from Google Fonts only on
   the pages of that language (the browser downloads it only for glyphs no earlier font has). Latin words keep Inter /
   Space Grotesk. Space Grotesk has no Cyrillic, so Russian headings use Inter. */
html:lang(ja) {
  --cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
}
html:lang(zh-Hans) {
  --cjk: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}
html:lang(ko) {
  --cjk: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}
html:lang(hi) {
  --cjk: "Kohinoor Devanagari", "Nirmala UI", "Mangal", "Noto Sans Devanagari", sans-serif;
}
html:lang(ar) {
  --cjk: "Segoe UI", "Geeza Pro", "SF Arabic", "Noto Sans Arabic", Tahoma, sans-serif;
}
html:is(:lang(ja), :lang(zh-Hans), :lang(ko), :lang(hi), :lang(ar)) {
  --font-body: Inter, var(--cjk);
  --font-head: "Space Grotesk", var(--cjk);
}
html:lang(ru) {
  --font-head: Inter, "Segoe UI", Roboto, ui-sans-serif, system-ui, sans-serif;
}
/* tight Latin metrics don't suit these scripts: no negative tracking, taller lines (matras, ascenders, diacritics) */
html:is(:lang(ja), :lang(zh-Hans), :lang(ko), :lang(hi), :lang(ar)) :is(h1, h2, h3, h4, .eyebrow, .scrolly-h) {
  letter-spacing: 0;
}
html:is(:lang(ja), :lang(zh-Hans), :lang(ko)) :is(h1, h2, .h1, .h2) {
  line-height: 1.25;
}
html:is(:lang(hi), :lang(ar)) :is(h1, h2, .h1, .h2) {
  line-height: 1.35;
}
html:is(:lang(hi), :lang(ar)) :is(h3, h4, .h3, .scrolly-h) {
  line-height: 1.45;
}
html:is(:lang(hi), :lang(ar)) body {
  line-height: 1.75;
}
html:lang(ja) :is(h1, h2, h3, .lead) {
  word-break: auto-phrase;
}
html:lang(ko) :is(h1, h2, h3, .lead, p) {
  word-break: keep-all;
}
html:is(:lang(ja), :lang(zh-Hans)) {
  line-break: strict;
}
/* CJK headlines are visually denser: a notch smaller so they don't dominate */
html:is(:lang(ja), :lang(zh-Hans), :lang(ko)) .h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
}

/* ---------- right-to-left (Arabic) ----------
   Layout mirrors through logical properties (inset-inline, margin-inline…) and flex/grid following `dir`.
   Progress bars fill from the right, arrows point left; codes, URLs and language pairs stay LTR. The orbit and
   the globes are direction-free and stay as they are. */
[dir="rtl"] .scrolly-nav .sn-bar,
[dir="rtl"] .howline-track i {
  transform-origin: 100% 50%;
}
[dir="rtl"] .howline.vertical .howline-track i {
  transform-origin: 50% 0;
}
[dir="rtl"] .btn-nudge svg {
  animation-name: nudge-rtl;
}
@keyframes nudge-rtl {
  0%,
  55%,
  85%,
  100% {
    transform: translateX(0);
  }
  70% {
    transform: translateX(-4px);
  }
}
[dir="rtl"] .pipe-arrow svg {
  transform: rotate(-90deg);
}
@media (min-width: 760px) {
  [dir="rtl"] .pipe-arrow svg {
    transform: none;
  }
}
[dir="rtl"] :is(.pair, .sn-pair, .mono, .url, .rc-who em, .rt-hears, .dl-text small, .af-count) {
  unicode-bidi: isolate;
}
[dir="rtl"] :is(.pair, .sn-pair, .mono, .url, .rc-who em) {
  direction: ltr;
}

/* ---------- language menu: 16 languages in two columns, scrolls if the window is short ---------- */
.langsel-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 4px;
  width: max-content;
  min-width: 380px;
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
  max-height: min(72vh, 440px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.langsel-menu a {
  white-space: nowrap;
}
.lang-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
}
.lang-list a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Download CTAs on phones/tablets: "Get started" instead of a download promise ---------- */
.lbl-start {
  display: none;
}
[data-device="mobile"] [data-dl-cta] .lbl-dl,
[data-device="mobile"] [data-dl-cta] > svg {
  display: none;
}
[data-device="mobile"] [data-dl-cta] .lbl-start {
  display: inline;
}

/* ---------- download section: mobile notice, desktop options, "coming soon" installers ---------- */
.dl-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.dl-mobile {
  display: none;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
[data-device="mobile"] .dl-mobile {
  display: block;
}
.dl-mobile-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 17px;
}
.dl-mobile-h svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
.dl-mobile > p + p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}
.dl-mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.dl-mobile-actions .btn svg {
  width: 16px;
  height: 16px;
}
.dl-mobile-actions .is-done {
  border-color: var(--accent);
  color: var(--accent);
}
.dl-more > summary {
  display: none;
}
[data-device="mobile"] .dl-more > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.dl-more > summary::-webkit-details-marker {
  display: none;
}
.dl-more > summary svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}
.dl-more[open] > summary svg {
  transform: rotate(180deg);
}
[data-device="mobile"] .dl-more[open] > summary {
  margin-bottom: 6px;
}
.dl.is-soon {
  grid-template-columns: 26px 1fr auto auto;
  background: transparent;
  border: 1px dashed var(--line-strong);
  color: var(--ink-2);
}
.dl.is-soon:hover {
  background: transparent;
}
.dl.is-soon:active {
  transform: none;
}
.dl.is-soon.is-mine {
  border-style: solid;
  border-color: var(--accent);
}
.dl-soon {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
}
.dl-notify {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.dl-notify:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .dl.is-soon {
    grid-template-columns: 26px 1fr auto;
    row-gap: 8px;
  }
  .dl.is-soon .os-ic {
    grid-row: span 2;
  }
  .dl.is-soon .dl-soon {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }
  .dl.is-soon .dl-notify {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}
[dir="rtl"] :is(.island-body strong, .rt-cap)[dir="auto"] {
  text-align: right;
}
