/* Kira landing: shared by / and /ru/ */
:root {
  /* Logo palette: cream, deep green, mint, lime. */
  --canvas: #fdf8ec;
  --ink: #14261b;
  --muted: #56655b;
  --panel: #f4eedc;
  --line: #e2dbc5;
  --leaf: #c4ed2d;
  --leaf-hover: #d2f255;
  --leaf-press: #b3dc1d;
  --leaf-tint: #d9f6e5;
  --leaf-deep: #cdeeda;
  --leaf-ink: #08451e;
  --accent: #08451e;
  --mint: #98f4c1;
  --link: #0d5c2b;
  --font: "Geologica", "Avenir Next", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --display: clamp(31px, 4.3vw + 15px, 62px);
  --heading: clamp(29px, 2.8vw, 40px);
  --gutter: 48px;
  --page: 1280px;
}

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

html {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  accent-color: var(--accent);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--canvas);
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

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

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

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

button {
  font: inherit;
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  top: 12px;
}

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

.h2 {
  font-size: var(--heading);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.copy {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.textlink {
  font-size: 14px;
  font-weight: 500;
  color: var(--link);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.textlink:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 14px 26px;
  border: 0;
  border-radius: 12px;
  background: var(--leaf);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}

.button:hover {
  background: var(--leaf-hover);
}

.button:active {
  background: var(--leaf-press);
  transform: translateY(1px);
}

.button.small {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
}

/* ---------- header ---------- */
.header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--page);
  min-height: 76px;
  margin-inline: auto;
  padding: 8px var(--gutter);
  font-size: 14px;
  font-weight: 500;
}

.logo img {
  width: 107px;
  height: 38px;
}

.logo .mark {
  display: none;
}

.header nav {
  display: flex;
  gap: 24px;
  margin-inline: auto;
}

.header nav a {
  white-space: nowrap;
}

.langs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header nav a:hover,
.header .lang:hover,
.header .gh:hover {
  color: var(--link);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
}

.gh svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: var(--panel);
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.menu-toggle .x,
.header.open .menu-toggle .bars {
  display: none;
}

.header.open .menu-toggle .x {
  display: block;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 353px;
  grid-template-rows: 1fr auto 1fr;
  column-gap: 88px;
  padding-top: 20px;
  padding-bottom: 80px;
}

.hero h1 {
  grid-area: 1 / 1;
  align-self: end;
  max-width: 12em;
  font-size: var(--display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.nb {
  white-space: nowrap;
}

.hero-intro {
  grid-area: 2 / 1 / 4 / 2;
  padding-top: 28px;
}

.lead {
  max-width: 27em;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.hero .button {
  margin-top: 28px;
}

.hero-visual {
  grid-area: 1 / 2 / 4 / 3;
  position: relative;
}

.hero-fold {
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: -1;
  width: 1000px;
  max-width: none;
  height: 1000px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ---------- phone demo ---------- */
.demo {
  position: relative;
  --tg-font: -apple-system, "SF Pro Text", "Segoe UI", Roboto, var(--font);
}

.phone {
  position: relative;
  width: 353px;
  max-width: 100%;
  aspect-ratio: 353 / 724;
  padding: 9px;
  border-radius: 56px;
  background: #0c1411;
  box-shadow:
    inset 0 0 0 2px #2c3a34,
    0 40px 70px -34px rgba(23, 37, 31, 0.55);
}

.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #1c2823;
}

.phone::before {
  left: -3px;
  top: 150px;
  height: 58px;
  box-shadow: 0 74px 0 #1c2823;
}

.phone::after {
  right: -3px;
  top: 190px;
  height: 84px;
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 47px;
  background:
    radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 2px) 0 0 / 22px
      22px,
    radial-gradient(rgba(23, 37, 31, 0.05) 1.5px, transparent 2px) 11px 11px /
      22px 22px,
    linear-gradient(165deg, #e3f4b9 0%, #c3e9ac 42%, #a9e3c4 100%);
  font-family: var(--tg-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.32;
  color: #111b17;
}

.sbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 26px 0 30px;
  font-size: 15px;
  font-weight: 600;
}

.island {
  width: 98px;
  height: 28px;
  border-radius: 20px;
  background: #0c1411;
}

.sicons {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.sicons svg {
  height: 11px;
  width: auto;
}

.chead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 12px 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: start;
  height: 34px;
  padding: 0 10px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 3px rgba(23, 37, 31, 0.12);
}

.pill svg {
  width: 9px;
  height: 14px;
}

.pill b {
  min-width: 17px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
}

.ctitle {
  display: grid;
  justify-items: center;
  min-width: 96px;
  height: 40px;
  padding: 3px 18px;
  border-radius: 20px;
  line-height: 1.2;
}

.ctitle b {
  min-width: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.ctitle small {
  font-size: 11px;
  color: #5b6b62;
}

.ctitle small.on {
  color: var(--link);
}

.cav {
  justify-self: end;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 50%;
  background: var(--canvas);
}

.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 0;
  padding: 6px 9px 8px;
  overflow: hidden;
}

.day {
  align-self: center;
  flex: none;
  padding: 2px 9px;
  border-radius: 10px;
  background: rgba(23, 37, 31, 0.42);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.msg {
  flex: none;
  position: relative;
  max-width: 100%;
  padding: 8px 11px 7px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 1px 1.5px rgba(23, 37, 31, 0.14);
  transition:
    opacity 0.35s,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.msg.enter,
.kb.enter {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
}

.msg.bot {
  align-self: stretch;
  border-bottom-left-radius: 5px;
}

.msg.me {
  align-self: flex-end;
  max-width: 82%;
  border-bottom-right-radius: 5px;
  background: #e2f6c6;
}

.msg time {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #7b8a82;
  text-align: right;
}

.msg.me time {
  color: #5f8f2e;
}

.msg b,
.msg strong {
  font-weight: 600;
}

.msg .title {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 7px 0 8px;
  padding: 2px;
  border-radius: 9px;
  background: #eef0ee;
}

.seg button {
  padding: 4px 0;
  border: 0;
  border-radius: 7px;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: #5b6b62;
  cursor: pointer;
}

.seg button.on {
  background: #fff;
  color: #111b17;
  box-shadow: 0 1px 2px rgba(23, 37, 31, 0.16);
}

.plan li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px;
  padding: 3px 0;
}

.plan li > span {
  font-weight: 600;
}

.plan li small {
  display: block;
  font-size: 11px;
  color: #7b8a82;
}

.plan li.now,
.plan li.now > span {
  color: var(--link);
  font-weight: 600;
}

.plan[hidden] {
  display: none;
}

.voice {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voice .play {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #5fae35;
  color: #fff;
  font-size: 11px;
}

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

.wave i {
  width: 3px;
  height: var(--h, 50%);
  border-radius: 2px;
  background: #5fae35;
}

.file {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.file i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.file small,
.msg .src {
  display: block;
  font-size: 11px;
  color: #7b8a82;
}

.msg .src {
  margin-top: 5px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--link);
}

.todo li,
.steps li {
  position: relative;
  padding: 3px 0 3px 22px;
}

.todo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border: 1.5px solid #b9c4bd;
  border-radius: 4px;
}

.todo em,
.steps em {
  display: block;
  font-size: 11px;
  font-style: normal;
  color: #7b8a82;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 6px;
  width: 12px;
  height: 12px;
  border: 1.5px solid #b9c4bd;
  border-radius: 50%;
  background: #fff;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: -5px;
  width: 1.5px;
  background: #d5ddd8;
}

.steps li:last-child::after {
  display: none;
}

.steps li.done::before {
  border-color: #5fae35;
  background: #5fae35;
}

.steps li.now {
  font-weight: 600;
}

.steps li.now::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 69, 30, 0.2);
}

.kb {
  flex: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 5px;
  transition:
    opacity 0.35s,
    transform 0.35s;
}

.kb button {
  padding: 8px 6px;
  border: 0;
  border-radius: 10px;
  background: rgba(23, 37, 31, 0.36);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.kb button:hover:not(:disabled) {
  background: rgba(23, 37, 31, 0.5);
}

.kb button:disabled {
  cursor: default;
  opacity: 0.55;
}

.kb button.picked {
  background: var(--accent);
  opacity: 1;
}

.cbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px 22px;
}

.cbar > * {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(23, 37, 31, 0.12);
}

.cbar svg {
  width: 16px;
  height: 16px;
}

.cbar .cinput {
  flex: 1;
  justify-items: start;
  padding: 0 14px;
  border-radius: 17px;
  color: #7b8a82;
}

.cbar .cnext {
  position: relative;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.cbar .cnext::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(8, 69, 30, 0.45);
  animation: pulse 2s infinite;
}

.demo.touched .cnext::after {
  animation: none;
}

@keyframes pulse {
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(8, 69, 30, 0);
  }
}

.homebar {
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 118px;
  height: 4px;
  border-radius: 2px;
  background: #111b17;
  transform: translateX(-50%);
}

.demo-cap {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 500;
}

.demo-cap button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 0;
  background: none;
  cursor: pointer;
}

.demo-cap button:hover {
  color: var(--link);
}

.demo-cap svg {
  width: 13px;
  height: 13px;
}

.hint {
  position: absolute;
  right: calc(100% + 6px);
  bottom: 62px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hand);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  color: var(--link);
  white-space: nowrap;
  transform: rotate(-4deg);
  transition: opacity 0.4s;
  pointer-events: none;
}

.hint svg {
  flex: none;
  width: 58px;
  max-width: none;
  height: 26px;
}

.demo.touched .hint {
  opacity: 0;
}

/* ---------- use cases ---------- */
.cases {
  padding-top: 40px;
  padding-bottom: 76px;
}

.case-rows {
  display: grid;
  gap: 84px;
}

.case {
  display: grid;
  grid-template-columns: minmax(0, 592fr) minmax(0, 528fr);
  column-gap: 64px;
  align-items: center;
}

.case:nth-child(even) {
  grid-template-columns: minmax(0, 528fr) minmax(0, 592fr);
}

.case:nth-child(even) .case-art {
  order: 2;
}

.case-copy .h2 {
  max-width: 12.5em;
}

.case-copy .copy {
  max-width: 24em;
  margin-top: 18px;
}

.case-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 444px;
}

.case-art::before {
  content: "";
  position: absolute;
  inset: 5% 3%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    #c3f1d9 0,
    #d6f5e4 48%,
    rgba(221, 246, 232, 0.55) 78%,
    rgba(221, 246, 232, 0) 100%
  );
}

.px {
  position: absolute;
  z-index: -1;
  width: var(--s, 9px);
  height: var(--s, 9px);
  background: var(--c, var(--leaf));
  opacity: var(--o, 1);
}

.v {
  display: grid;
  gap: 12px;
  width: min(350px, 84%);
  font-size: 13px;
  line-height: 1.4;
}

.vc {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(23, 37, 31, 0.05),
    0 24px 44px -24px rgba(8, 69, 30, 0.38);
}

.vc.l {
  transform: translateX(-7%) rotate(-2deg);
}

.vc.r {
  transform: translateX(8%) rotate(2deg);
}

.vt {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
}

.vm {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.vrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.vrow:first-child {
  padding-top: 0;
  border-top: 0;
}

.vrow:last-child {
  padding-bottom: 0;
}

.vrow > div {
  min-width: 0;
}

.vrow b {
  display: block;
  font-weight: 500;
}

.vtime {
  flex: none;
  width: 42px;
  font-weight: 500;
  color: var(--link);
}

.vchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--leaf);
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 12px 24px -14px rgba(8, 69, 30, 0.45);
}

.vchip.b {
  background: var(--accent);
  color: #fff;
}

.vchip.w {
  background: #fff;
}

.vchip.end {
  justify-self: end;
}

.vchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vb {
  justify-self: end;
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 16px 16px 5px 16px;
  background: #e2f6c6;
  box-shadow: 0 20px 36px -22px rgba(8, 69, 30, 0.38);
}

.vb .wave i {
  background: var(--leaf-ink);
}

.vb .play {
  background: var(--leaf-ink);
}

.vav {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.vbadge {
  flex: none;
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.vbadge.g {
  background: var(--leaf);
  color: var(--ink);
}

.vbadge.a {
  background: #f3c44f;
  color: var(--ink);
}

.vbar {
  height: 6px;
  margin: 10px 0 6px;
  border-radius: 3px;
  background: var(--panel);
}

.vbar i {
  display: block;
  width: var(--w, 50%);
  height: 100%;
  border-radius: 3px;
  background: var(--leaf);
}

.vline {
  height: 7px;
  margin-top: 7px;
  border-radius: 4px;
  background: var(--panel);
}

.vline.s {
  width: 62%;
}

.vcode {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--link);
}

.v .todo li,
.v .steps li {
  padding-block: 4px;
}

/* ---------- asks ---------- */
.asks {
  padding-top: 20px;
  padding-bottom: 56px;
}

.asks-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 28px;
}

.asks-panel {
  padding: 30px;
  border-radius: 28px;
  background: var(--leaf-deep);
  columns: 3;
  column-gap: 22px;
}

.ask {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
  break-inside: avoid;
}

.ask:last-child {
  margin-bottom: 0;
}

.ask-av {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.ask-b {
  padding: 12px 16px 10px;
  border-radius: 16px 16px 16px 5px;
  background: #fff;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: 0 1px 1.5px rgba(23, 37, 31, 0.1);
}

.ask-b b {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c, var(--link));
}

.ask-b small {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- connections ---------- */
.conn {
  padding-top: 56px;
  padding-bottom: 72px;
}

.conn-head {
  display: grid;
  grid-template-columns: minmax(0, 592fr) minmax(0, 528fr);
  column-gap: 64px;
  align-items: start;
  margin-bottom: 44px;
}

.conn-head .textlink {
  display: inline-block;
  margin-top: 14px;
}

.marq {
  display: grid;
  gap: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
}

.marq-row {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: slide var(--d, 70s) linear infinite;
}

.marq-row:nth-child(even) {
  animation-direction: reverse;
}

.marq:hover .marq-row {
  animation-play-state: paused;
}

@keyframes slide {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.svc {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 58px;
  padding: 0 20px 0 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 6px 16px -12px rgba(23, 37, 31, 0.4);
}

.svc i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
}

.svc svg {
  width: 20px;
  height: 20px;
}

.svc.g i {
  background: var(--leaf);
  color: var(--ink);
}

.svc.n i {
  background: var(--mint);
  color: var(--ink);
}

.svc.t i {
  background: var(--leaf-tint);
  color: var(--leaf-ink);
}

.svc.k i {
  background: var(--ink);
}

/* ---------- price ---------- */
.price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 72px;
}

.price-logo {
  width: 280px;
  height: auto;
  margin-bottom: 26px;
}

.price h2 {
  font-size: clamp(40px, 5.3vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--leaf-ink);
}

.price h2 span {
  display: block;
  width: fit-content;
  white-space: nowrap;
  margin: 0.08em 0 0 -0.1em;
  padding: 0 0.14em 0.08em 0.1em;
  background: var(--leaf);
}

.price .note {
  max-width: 32em;
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.price-art {
  justify-self: center;
  width: min(100%, 520px);
  aspect-ratio: 1;
}

.price-art canvas {
  width: 100%;
  height: 100%;
}

/* ---------- install ---------- */
.install {
  padding: 76px 0 72px;
  background: var(--leaf-tint);
  text-align: center;
}

.install .h2 {
  max-width: 16.5em;
  margin-inline: auto;
}

.install .copy {
  max-width: 39em;
  margin: 20px auto 0;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 30px;
}

.install .button.done {
  background: var(--ink);
  color: #fff;
}

#agent-prompt {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  overflow-wrap: anywhere;
}

#agent-prompt[hidden] {
  display: none;
}

.install-hint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.install-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 16px auto 0;
  padding: 4px;
  border: 1px solid #b9e3cb;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.install-tabs button {
  padding: 7px 15px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.install-tabs button:hover:not([aria-selected="true"]) {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.install-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 7px 7px 7px 18px;
  border: 1px solid #b9e3cb;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  text-align: left;
}

.install-note {
  max-width: 44em;
  margin: 10px auto 0;
  font-size: 13px;
  color: var(--muted);
}

.cmd code {
  min-width: 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  overflow-wrap: anywhere;
}

.cmd button {
  flex: none;
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.cmd button:hover,
.cmd button.done {
  background: var(--ink);
  color: #fff;
}

/* ---------- faq ---------- */
.faq {
  padding-top: 28px;
  padding-bottom: 20px;
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  cursor: pointer;
  list-style: none;
}

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

.faq summary h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.faq summary svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--link);
  transition: transform 0.2s;
}

.faq details[open] > summary svg {
  transform: rotate(45deg);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 64px;
  padding: 8px 0 36px;
}

.faq-list h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq-list p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

.faq-list a {
  color: var(--link);
  border-bottom: 1px solid currentColor;
}

/* ---------- footer ---------- */
.footer {
  font-size: 13px;
  line-height: 1.45;
}

.footer-in {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 44px;
  padding-bottom: 36px;
}

.footer-logo img {
  width: 102px;
  height: 36px;
}

.footer-cols {
  display: flex;
  gap: 56px;
}

.footer-cols span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.footer-cols a,
.footer-cols button {
  display: block;
  padding: 3px 0;
  border: 0;
  background: none;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.footer-cols a:hover,
.footer-cols button:hover,
.footer-base a:hover {
  color: var(--link);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 32px;
  padding-top: 18px;
  padding-bottom: 28px;
  color: var(--muted);
}

.footer-base a {
  font-weight: 500;
  color: var(--ink);
}

.footer-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.grass {
  width: 100%;
  height: 65px;
  margin-top: 28px;
}

.footer > .kira-privacy-settings {
  display: none !important;
}

/* ---------- consent banner (overrides analytics.css on the landing) ---------- */
body .kira-consent {
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  max-width: none;
  padding: 10px 16px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 350 13px/1.4 var(--font);
  box-shadow: none;
}

body .kira-consent h2 {
  display: none;
}

body .kira-consent p {
  margin: 0;
}

body .kira-consent a {
  color: var(--link);
}

body .kira-consent div {
  gap: 8px;
}

body .kira-consent button {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 500 13px/1.4 var(--font);
}

body .kira-consent button[data-consent="granted"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

body .kira-consent button:focus-visible {
  outline-color: var(--accent);
}

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero {
    column-gap: 48px;
  }

  .header nav {
    gap: 18px;
  }

  .gh span {
    display: none;
  }

  .asks-panel {
    columns: 2;
  }

  .hint {
    right: auto;
    left: 8px;
    bottom: -6px;
    transform: rotate(-3deg);
  }

  .hint svg {
    order: -1;
    transform: rotate(-100deg) scaleY(-1);
    width: 40px;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 22px;
  }

  .header {
    gap: 10px;
    min-height: 68px;
  }

  .logo .full {
    display: none;
  }

  .logo .mark {
    display: block;
    width: 46px;
    height: 46px;
  }

  .header nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    font-size: 16px;
    box-shadow: 0 24px 48px -24px rgba(23, 37, 31, 0.45);
  }

  .header.open nav {
    display: flex;
  }

  .header nav a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .header nav a:first-child {
    border-top: 0;
  }

  .header-actions {
    gap: 12px;
    margin-left: auto;
  }

  .header .lang {
    padding: 10px 4px;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    padding-top: 6px;
    padding-bottom: 40px;
  }

  .hero h1,
  .hero-visual,
  .hero-intro {
    grid-area: auto;
  }

  .hero-visual {
    justify-self: center;
    width: min(353px, 100%);
    margin-top: 26px;
  }

  .hero-fold {
    top: 54%;
  }

  .hero-intro {
    padding-top: 30px;
  }

  .case-rows {
    gap: 56px;
  }

  .case,
  .case:nth-child(even),
  .conn-head,
  .price {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-art,
  .case:nth-child(even) .case-art {
    order: 2;
    min-height: 340px;
    margin-top: 12px;
  }

  .conn-head .copy {
    margin-top: 16px;
  }

  .asks-panel {
    padding: 18px;
    border-radius: 22px;
    columns: 1;
  }

  .price-logo {
    width: 190px;
  }

  .price-art {
    margin-top: 36px;
  }

  .install {
    padding: 56px 0;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .footer-in {
    flex-direction: column;
  }

  .footer-cols {
    flex-wrap: wrap;
    gap: 28px 44px;
  }
}

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

  .marq-row,
  .cbar .cnext::after {
    animation: none;
  }

  .marq-row {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }

  .marq {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .js .reveal,
  .msg,
  .kb {
    transition: none;
  }
}

/* ---------- RTL (Hebrew) logical adjustments ---------- */
html[dir="rtl"] {
  --font: "Heebo", "Geologica", "Avenir Next", system-ui, sans-serif;
  --hand: "Playpen Sans Hebrew", "Caveat", cursive;
}

html[dir="rtl"] .skip {
  left: auto;
  inset-inline-start: 16px;
}

html[dir="rtl"] .hero-fold {
  transform: translate(-50%, -50%) scaleX(-1);
}

html[dir="rtl"] .sbar {
  direction: ltr;
}

html[dir="rtl"] .chead .pill svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .msg.bot {
  border-bottom-left-radius: 15px;
  border-end-start-radius: 5px;
}

html[dir="rtl"] .msg.me {
  border-bottom-right-radius: 15px;
  border-end-end-radius: 5px;
}

html[dir="rtl"] .msg time {
  text-align: end;
}

html[dir="rtl"] .msg .src,
html[dir="rtl"] .vcode {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] .todo li,
html[dir="rtl"] .steps li {
  padding-inline: 22px 0;
}

html[dir="rtl"] .todo li::before {
  left: auto;
  inset-inline-start: 0;
}

html[dir="rtl"] .steps li::before {
  left: auto;
  inset-inline-start: 1px;
}

html[dir="rtl"] .steps li::after {
  left: auto;
  inset-inline-start: 7px;
}

html[dir="rtl"] .vb {
  border-radius: 16px;
  border-end-end-radius: 5px;
}

html[dir="rtl"] .vbadge {
  margin-left: 0;
  margin-inline-start: auto;
}

html[dir="rtl"] .ask-b {
  border-radius: 16px;
  border-end-start-radius: 5px;
}

html[dir="rtl"] .marq {
  direction: ltr;
}

html[dir="rtl"] .svc {
  direction: rtl;
  padding-inline: 11px 20px;
}

html[dir="rtl"] .price h2 span {
  margin: 0.08em -0.1em 0 0;
  padding: 0 0.1em 0.08em 0.14em;
}

html[dir="rtl"] .cmd {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .footer-cols a,
html[dir="rtl"] .footer-cols button {
  text-align: start;
}

html[dir="rtl"] .hint {
  right: auto;
  left: calc(100% + 6px);
  transform: rotate(4deg);
}

html[dir="rtl"] .hint svg {
  transform: scaleX(-1);
}

@media (max-width: 1080px) {
  html[dir="rtl"] .hint {
    left: auto;
    right: 8px;
    bottom: -6px;
    transform: rotate(3deg);
  }

  html[dir="rtl"] .hint svg {
    order: -1;
    transform: rotate(100deg) scaleX(-1) scaleY(-1);
    width: 40px;
  }
}

@media (max-width: 860px) {
  html[dir="rtl"] .header-actions {
    margin-left: 0;
    margin-inline-start: auto;
  }
}
