/* Fareply public site. No external requests: fonts are self-hosted, no inline styles (CSP style-src 'self'). */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #071821; --navy-2: #0b202a; --panel: #0f2833; --line-dark: #203843;
  --teal: #13b8a6; --teal-text: #0b7a6e; --cyan: #16d9e8; --coral: #ff6b61; --coral-text: #c2410c;
  --paper: #fcfaf5; --cloud: #f5f7fa; --ink: #152534; --muted: #5a6a77; --line: #dce4e8;
  --on-dark: #e8f1f4; --on-dark-muted: #9fb3bd;
  --radius: 12px; --radius-sm: 8px;
  --display: "Manrope", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--teal-text); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--cyan); color: var(--navy); padding: 8px 14px; z-index: 50; border-radius: 6px; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 24, 33, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); letter-spacing: .02em;
  color: #fff; text-decoration: none; }
.mark { width: 33px; height: 29px; flex: none; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--cyan); }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--body);
  padding: 14px 22px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary, .nav a.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover, .nav a.btn-primary:hover { color: var(--navy); box-shadow: 0 6px 24px rgba(22, 217, 232, .3); }
.btn-ghost { color: var(--on-dark); border-color: #3a5866; }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--body); padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); white-space: nowrap; }
.chip.ok { background: #e6f6f3; border-color: #bfe8e1; color: #075e55; }
.chip.warn { background: #fff1ec; border-color: #ffd2c4; color: #9a3412; }
.chip.auto { background: #e8f0ff; border-color: #c9d8ff; color: #1e40af; }
.chip.dark { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.chip.pilot { border-style: dashed; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); display: inline-block; }
.example { font: 600 10px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted);
  border: 1px solid var(--line-dark); border-radius: 4px; padding: 4px 6px; }
.light .example { color: var(--muted); border-color: var(--line); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.dark { background: var(--navy); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: var(--on-dark-muted); }
.dark a:not(.btn) { color: var(--cyan); }
.light { background: var(--paper); }
.cloud { background: var(--cloud); }
.eyebrow { font: 700 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 14px; }
.dark .eyebrow { color: var(--cyan); }
.h2 { font-size: clamp(30px, 4vw, 46px); }
.accent { color: var(--teal-text); }
.dark .accent { color: var(--cyan); }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.dark .lead { color: var(--on-dark-muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.split-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(22, 217, 232, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(22, 217, 232, .05) 1px, transparent 1px),
                    radial-gradient(60% 50% at 75% 40%, rgba(19, 184, 166, .16), transparent 70%);
  background-size: 48px 48px, 48px 48px, 100% 100%; }
.hero .grid-2 { grid-template-columns: .82fr 1.18fr; gap: 48px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 54px); color: #fff; }
.hero .lead { font-size: 18px; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--on-dark-muted); }

/* control layer mockup */
.console { background: linear-gradient(180deg, #0d2530, #0a1e27); border: 1px solid var(--line-dark); border-radius: 16px;
  padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.console-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.console-head b { font: 700 15px/1 var(--display); color: #fff; }
.stages { display: grid; grid-template-columns: 1fr 1.1fr 1.15fr; gap: 10px; }
.stage { background: var(--panel); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 12px; min-width: 0; }
.stage h3 { font: 600 12px/1.3 var(--body); color: var(--on-dark-muted); margin: 0 0 10px; letter-spacing: 0; }
.bubble { background: #fff; color: var(--ink); border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
.bubble small { display: block; color: var(--muted); font-size: 11px; margin-top: 6px; }
.bubble.reply { background: #e9fbf8; }
.gloss { font-size: 11px; color: var(--on-dark-muted); margin-top: 8px; line-height: 1.45; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: var(--on-dark);
  background: #0b222c; border: 1px solid var(--line-dark); border-radius: 8px; padding: 8px 9px; }
.tick { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); position: relative; margin-top: 1px; }
.tick::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid var(--navy);
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks li span small { display: block; color: var(--on-dark-muted); font-size: 11px; }
.reply-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 6px; flex-wrap: wrap; }
.channels-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-dark); }

/* sequence animation (only when motion is allowed; JS adds .play) */
.seq > * { transition: opacity .5s ease, transform .5s ease; }
.js .seq:not(.play) > * { opacity: .15; transform: translateY(6px); }
.seq.play > *:nth-child(1) { transition-delay: .1s; } .seq.play > *:nth-child(2) { transition-delay: .7s; }
.seq.play > *:nth-child(3) { transition-delay: 1.3s; } .seq.play > *:nth-child(4) { transition-delay: 1.9s; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(21, 37, 52, .08); }
.card .num { font: 700 12px/1 var(--body); color: var(--teal-text); letter-spacing: .1em; }
.card h3 { font-size: 19px; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: #e6f6f3; display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; stroke: var(--teal-text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- price check demo ---------- */
.fw { display: grid; gap: 12px; }
.fw-step { background: var(--panel); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 16px 18px; }
.fw-step header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px;
  font: 600 13px/1.3 var(--body); color: var(--on-dark-muted); }
.fw-step p { margin: 0; color: var(--on-dark); font-size: 15px; }
.blocked { background: rgba(255, 107, 97, .14); color: #ffb4ad; text-decoration: line-through; padding: 1px 4px; border-radius: 4px; }
.token { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: rgba(22, 217, 232, .12);
  color: var(--cyan); padding: 2px 6px; border-radius: 4px; }
.filled { background: rgba(19, 184, 166, .2); color: #7ff0e2; padding: 1px 5px; border-radius: 4px; font-weight: 600; }
.fw-step.bad { border-color: rgba(255, 107, 97, .45); }
.fw-step.good { border-color: rgba(19, 184, 166, .55); }
.pill-bad { color: #ffb4ad; } .pill-good { color: #7ff0e2; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 10px; align-items: flex-start; }
.dark .points li { color: var(--on-dark); }

/* ---------- inbox and ledger ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(21, 37, 52, .06); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-head b { font: 700 15px/1.2 var(--display); }
.tabs { display: flex; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--body); color: #fff; background: #2b6777; }
.avatar.b { background: #7a4b9c; } .avatar.c { background: #b4592f; } .avatar.d { background: #36506a; } .avatar.e { background: #0f766e; }
.row .who { font-weight: 600; font-size: 14px; }
.row .who small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.row .msg { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .msg[dir="rtl"] { text-align: right; }
.table-wrap { overflow-x: auto; }
table.ledger { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.ledger th, .ledger td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.ledger th { font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.ledger tr:last-child td { border-bottom: 0; }
.ver { font: 600 12px/1 ui-monospace, monospace; border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; }
.ver.live { border-color: var(--teal); color: var(--teal-text); }
.caption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.channel-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }

/* ---------- reply controls ---------- */
.controls { background: var(--panel); border: 1px solid var(--line-dark); border-radius: 16px; padding: 8px 0; }
.ctl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding: 16px 20px; border-bottom: 1px solid var(--line-dark); align-items: center; }
.ctl:last-of-type { border-bottom: 0; }
.ctl b { color: #fff; font-size: 15px; }
.ctl small { display: block; color: var(--on-dark-muted); font-size: 12.5px; }
.seg { display: inline-flex; border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.seg span { font-size: 12px; padding: 7px 10px; color: var(--on-dark-muted); }
.seg span.on { background: var(--teal); color: var(--navy); font-weight: 700; }
.meter { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--on-dark-muted); }
.bar { flex: 1; height: 6px; background: #163745; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.bar i.w45 { width: 45%; } .bar i.w100 { width: 100%; } .bar i.w90 { width: 90%; }
.ready { color: #7ff0e2; font-weight: 600; }
.controls-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px 8px; flex-wrap: wrap; }

/* ---------- trust ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.pillar { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 22px; }
.pillar h3 { font-size: 17px; margin: 14px 0 6px; }
.pillar p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- final call ---------- */
.final { padding: 88px 0; background-color: var(--navy);
  background-image: radial-gradient(50% 80% at 85% 50%, rgba(19, 184, 166, .14), transparent 70%); }
.final .grid-2 { grid-template-columns: 1.2fr .8fr; }
.benefits { list-style: none; margin: 0; padding: 0 0 0 32px; border-left: 1px solid var(--line-dark); display: grid; gap: 16px; }
.benefits li { display: flex; gap: 10px; align-items: center; color: var(--on-dark); }

/* ---------- footer ---------- */
.foot { background: var(--navy-2); color: var(--on-dark-muted); padding: 48px 0 40px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; }
.foot p { margin: 12px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.foot nav a { color: var(--on-dark); text-decoration: none; }
.foot nav a:hover { color: var(--cyan); }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 20px; font-size: 13px; }

/* ---------- reading pages (privacy, terms) ---------- */
.page main { background: var(--paper); }
.prose { max-width: 780px; }
.page main { padding: 56px 0 80px; }
.prose h1 { font-size: clamp(32px, 4vw, 42px); }
.prose h2 { font-size: 22px; margin-top: 2em; }
.prose .meta { color: var(--muted); font-size: 14px; }
.prose .lead { max-width: none; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 1em 0; background: #fff; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.prose th { background: var(--cloud); }
.prose .table-scroll { overflow-x: auto; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose code { background: var(--cloud); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.prose .btn { margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero .grid-2, .grid-2, .final .grid-2, .split-head { grid-template-columns: 1fr; gap: 40px; }
  .benefits { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .js .menu-btn { display: block; }
  .top-in { flex-wrap: wrap; height: auto; min-height: 64px; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .js .nav { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--line-dark); padding: 8px 24px 20px; }
  .js .nav:not(.open) { display: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a.btn { margin-top: 16px; border-bottom: 0; padding: 14px; }
  .no-js-hide { display: none; }
  .grid-3, .pillars { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .cta-row .btn { width: 100%; }
  .row { grid-template-columns: 36px 1fr; }
  .row .chip { grid-column: 2; justify-self: start; }
  .ctl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .seq:not(.play) > * { opacity: 1; transform: none; }
}
.row > div { min-width: 0; }
.ctl > .chip { justify-self: start; }
@media (max-width: 520px) {
  table.ledger { min-width: 0; font-size: 13px; }
  .ledger th, .ledger td { padding: 10px 10px; }
  .ledger:not(.price-table) th:nth-child(2), .ledger:not(.price-table) td:nth-child(2) { display: none; }
}
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* language examples in the hero: one shown at a time (JS rotates; without JS the first stays) */
.lv { display: none; }
.lv.is-on { display: block; }
span.lv.is-on { display: inline; }
.lang-switch { display: none; flex-wrap: wrap; gap: 5px; margin: 0 0 12px; }
.js .lang-switch { display: flex; }
.lang-switch button { font: 600 11.5px/1 var(--body); padding: 6px 9px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--on-dark-muted); border: 1px solid var(--line-dark); }
.lang-switch button[aria-pressed="true"] { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.lang-switch button:hover { color: #fff; border-color: var(--cyan); }
.bubble[dir="rtl"] { text-align: right; }
.bubble:lang(ar) { font-size: 14px; line-height: 1.7; }
.bubble:lang(hi) { line-height: 1.75; }

/* ---------- how it works: three steps ---------- */
.how-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.how-head .lead { margin: 0; }
.how-head .h2 { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative; counter-reset: none; }
.steps::before { content: ""; position: absolute; top: 44px; left: 8%; right: 8%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.step:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(21, 37, 52, .08); border-color: #bfe8e1; }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.step-no { font: 800 34px/1 var(--display); letter-spacing: -0.03em; color: var(--teal-text); }
.step .icon { width: 44px; height: 44px; border-radius: 12px; }
.step h3 { font-size: 21px; margin: 0 0 10px; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.65; flex: 1; }
.step .tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 4px; }
@media (max-width: 1080px) { .how-head { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }
section[id] { scroll-margin-top: 64px; }

/* ---------- pricing ---------- */
.price-hero { padding: 80px 0 120px; text-align: center; }
.narrow-head { max-width: 780px; }
.narrow-head .lead { margin: 0 auto; }
.plans-section { padding-top: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -72px; position: relative; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column;
  box-shadow: 0 12px 30px rgba(21, 37, 52, .07); position: relative; }
.plan h2 { font-size: 22px; margin: 0 0 4px; }
.plan-for { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.plan.featured { border: 2px solid var(--teal); box-shadow: 0 18px 44px rgba(19, 184, 166, .18); }
.plan-badge { position: absolute; top: -13px; left: 28px; margin: 0; background: var(--teal); color: var(--navy);
  font: 700 12px/1 var(--body); letter-spacing: .04em; padding: 7px 12px; border-radius: 99px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.price b { font: 800 44px/1 var(--display); letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 14px; }
.annual { color: var(--teal-text); font-size: 13.5px; font-weight: 600; margin: 6px 0 20px; }
.plan .btn { width: 100%; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-text); }
.feat { list-style: none; padding: 20px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 14.5px; }
.feat li { display: flex; gap: 10px; align-items: flex-start; }
.feat .tick { margin-top: 3px; }
.plans-two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 32px auto 0; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 720px; margin: 28px auto 0; }
.price-table th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); font-weight: 500; }
.price-table td { font-weight: 700; font-size: 15px; }
.small-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.faq-wrap { max-width: 820px; }
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font: 600 16px/1.4 var(--display); padding: 18px 28px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 400 24px/1 var(--body); color: var(--teal-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* Example conversation on solution pages */
.prose .ex { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px 16px; margin: 1em 0 .4em;
  display: grid; gap: 10px; }
.prose .ex p { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 15px; }
.prose .ex-in { background: var(--cloud); }
.prose .ex-out { background: #e6f6f3; }
.prose .ex-why { background: none; padding: 0 2px; font-size: 13.5px; color: var(--muted); }
.prose details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.prose summary { cursor: pointer; font-weight: 600; }

/* Pricing: why regional prices */
.why-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; max-width: 560px; }
.why-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.why-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.why-list b { color: var(--ink); }

/* ---------- help center ---------- */
.help-search { display: grid; gap: 6px; margin: 24px 0 8px; font-weight: 600; font-size: 14px; }
.help-search input { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); }
.help-search input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.prose .help-list, .help-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.help-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.help-list li a { font-weight: 600; display: block; }
.help-list li span { color: var(--muted); font-size: 14.5px; }
.help-list li[hidden], .help-group[hidden] { display: none; }
.help-stuck { margin-top: 48px; padding: 20px 22px; border-radius: var(--radius); background: var(--cloud); border: 1px solid var(--line); }
.help-stuck h2 { margin-top: 0; font-size: 18px; }
.help details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; margin: 8px 0; background: #fff; }
.help details summary { cursor: pointer; font-weight: 600; }
.help code { background: var(--cloud); padding: 1px 5px; border-radius: 4px; font-size: .92em; }

/* Where the money goes: four leaks and the estimate */
.leaks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0 32px; }
.leak { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 20px; }
.leak b { font-family: var(--display); font-size: 16.5px; display: block; margin-bottom: 6px; }
.leak p { color: var(--muted); font-size: 14.5px; margin: 0; }
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; }
.roi h3 { font-size: 17px; margin: 0 0 14px; }
.roi-in { padding: 26px; border-right: 1px solid var(--line); }
.roi-in label { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14.5px;
  color: var(--ink); margin-bottom: 12px; }
.roi-in input, .roi-in select { width: 130px; flex: none; font: 15px var(--body); padding: 8px 10px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.roi-in select { width: 170px; }
.roi-in details { margin-top: 6px; }
.roi-in summary { cursor: pointer; color: var(--teal-text); font-size: 14px; margin-bottom: 12px; }
.roi-out { padding: 26px; background: var(--navy); color: var(--on-dark); }
.roi-out h3 { color: #fff; }
.roi-out h3 + .roi-row { margin-top: 0; }
.roi-row { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 10px; color: var(--on-dark-muted); font-size: 15px; }
.roi-row b { color: #fff; font-weight: 600; text-align: right; }
.roi-out .roi-row:nth-of-type(2) { margin-bottom: 22px; }
.roi-total { display: flex; justify-content: space-between; gap: 16px; margin: 18px 0 6px; padding-top: 16px;
  border-top: 1px solid var(--line-dark); font-family: var(--display); font-size: 19px; color: #fff; }
.roi-total b { color: var(--cyan); font-size: 26px; }
.roi-x { color: var(--cyan); margin: 0 0 14px; font-weight: 600; }
.roi-note { font-size: 13px; color: var(--on-dark-muted); margin: 0; }
@media (max-width: 960px) { .leaks { grid-template-columns: 1fr 1fr; } .roi { grid-template-columns: 1fr; }
  .roi-in { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .leaks { grid-template-columns: 1fr; } .roi-in label { flex-direction: column; align-items: stretch; gap: 6px; }
  .roi-in input, .roi-in select { width: 100%; } .roi-in, .roi-out { padding: 20px; } }
.help .toc, .prose .toc { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin: 20px 0 8px; }
.help .toc ol, .prose .toc ol { margin: 6px 0 0; columns: 2; column-gap: 28px; }
.help .toc li, .prose .toc li { margin: 2px 0; break-inside: avoid; }
.help figure.shot, .prose figure.shot { margin: 18px 0 26px; }
.help figure.shot img, .prose figure.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 34px rgba(7, 24, 33, .08); background: #fff; }
.help figure.shot.narrow img, .prose figure.shot.narrow img { max-width: 560px; }
.help figure.shot figcaption, .prose figure.shot figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.help table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.help th, .help td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.help th { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .help .toc ol, .prose .toc ol { columns: 1; } .help table { font-size: 14px; } }

/* related links under landing pages */
.related { margin: 48px 0 8px; padding: 22px 24px; background: #f5f7fa; border: 1px solid var(--line); border-radius: 14px; }
.related h2 { font-size: 15px; margin: 0 0 10px; letter-spacing: .02em; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 20px; }
.related li { margin: 0; }
.related a { font-weight: 600; }

/* footer social icons: small and quiet, brighter on hover */
.foot .foot-social { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: var(--on-dark-muted); border: 1px solid var(--line-dark); transition: color .15s, border-color .15s; }
.foot-social a:hover, .foot-social a:focus-visible { color: var(--cyan); border-color: var(--cyan); }
.foot-social svg { width: 15px; height: 15px; fill: currentColor; }

/* wide tables scroll sideways on phones instead of widening the page */
@media (max-width: 640px) { .help table, .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }

/* Fareply graphics layer (appended to style.css by build.py): colour, people and scenes.
   Original illustrations in brand colours. Motion is gentle and off for reduced motion. */

/* ---------- hero colour ---------- */
.hero.hero-glow::before, .hero.hero-glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero.hero-glow::before { width: 520px; height: 520px; right: -140px; top: -160px; background: rgba(22, 217, 232, .22); }
.hero.hero-glow::after { width: 460px; height: 460px; left: 34%; bottom: -260px; background: rgba(255, 107, 97, .16); }
.hero.hero-glow .container { position: relative; z-index: 1; }
.console { box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.stage h3 { display: flex; align-items: center; gap: 7px; }
.stage h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.stage:nth-child(2) h3::before { background: var(--cyan); }
.stage:nth-child(3) h3::before { background: #25d366; }
.stage:first-child { background: linear-gradient(180deg, rgba(255, 107, 97, .10), var(--panel) 60%); }
.stage:nth-child(3) { background: linear-gradient(180deg, rgba(37, 211, 102, .10), var(--panel) 60%); }
.who-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--on-dark); font-size: 12px; }
.who-row b { font-weight: 600; }
.who-row small { color: var(--on-dark-muted); }
.face { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); background: #fff; }
.face.sm { width: 26px; height: 26px; }
.bubble.reply { background: #dcf8c6; }
.stage:first-child .bubble { border-top-left-radius: 3px; }
.stage:nth-child(3) .bubble { border-top-right-radius: 3px; }

/* smiling faces stack */
.faces { display: flex; align-items: center; margin-top: 22px; }
.faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; margin-left: -10px; box-shadow: 0 0 0 3px var(--navy); background: #fff; }
.faces img:first-child { margin-left: 0; }
.faces span { margin-left: 14px; font-size: 13px; color: var(--on-dark-muted); line-height: 1.4; }
.light .faces img { box-shadow: 0 0 0 3px #fff; }
.light .faces span { color: var(--muted); }

/* ---------- channel glyphs ---------- */
.glyph { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; flex: none; }
.glyph svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip .glyph { width: 20px; height: 20px; border-radius: 6px; margin-left: -4px; }
.chip .glyph svg { width: 12px; height: 12px; }
.g-wa { background: #25d366; } .g-ig { background: linear-gradient(45deg, #f9a03f, #e1306c 50%, #8a3ab9); }
.g-ms { background: linear-gradient(45deg, #0a7cff, #a033ff); } .g-wc { background: #07c160; }
.g-tg { background: #2aabee; } .g-ln { background: #06c755; } .g-em { background: var(--coral); } .g-web { background: #0b5c8a; }
.channels-row .chip.dark { background: rgba(255, 255, 255, .04); padding: 5px 10px 5px 8px; }

.channel-band { background: var(--navy-2); border-top: 1px solid var(--line-dark); padding: 26px 0; }
.channel-band .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.channel-band p { color: var(--on-dark-muted); font-size: 13px; margin: 0; letter-spacing: .04em; }
.channel-band .chan { display: inline-flex; align-items: center; gap: 9px; color: var(--on-dark); font: 600 14px var(--body); }

/* ---------- spot illustrations for cards ---------- */
.spot { height: 112px; margin: -6px -6px 18px; border-radius: 12px; background: linear-gradient(160deg, #eefaf8, #f5f7fa); overflow: hidden; }
.spot svg { width: 100%; height: 100%; display: block; }

/* ---------- scenes: people in travel moments ---------- */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.scene-card { margin: 0; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 18px 50px rgba(7, 24, 33, .08); }
.scene-card .pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.scene-card .pic > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.scene-card:hover .pic > img { transform: scale(1.03); }
.scene-card figcaption { padding: 18px 20px 22px; }
.scene-card figcaption b { display: block; font: 700 17px/1.3 var(--display); color: var(--ink); margin-bottom: 6px; }
.scene-card figcaption span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.time { display: inline-block; font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text);
  background: #e6f6f3; padding: 4px 9px; border-radius: 999px; margin-bottom: 10px; }
.pop { position: absolute; display: flex; align-items: flex-start; gap: 8px; max-width: 74%; padding: 9px 11px; border-radius: 14px;
  background: #fff; color: var(--ink); font-size: 12.5px; line-height: 1.4; box-shadow: 0 12px 30px rgba(7, 24, 33, .22); animation: bob 6s ease-in-out infinite; }
.pop small { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.pop.reply { background: #dcf8c6; }
.pop.tl { left: 12px; top: 12px; } .pop.br { right: 12px; bottom: 12px; animation-delay: -3s; }
.pop .face { width: 26px; height: 26px; box-shadow: none; }

/* a day in messages: heading left, one chat window right */
.moments-head { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin-bottom: 44px; }
.moments-lead { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 460px; margin: 0; }
.moments-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.moments-tags span { background: #e6f6f3; color: var(--teal-text); font: 600 13px var(--body); padding: 6px 11px; border-radius: 999px; }
.dc { background: var(--cloud); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(7, 24, 33, .10); overflow: hidden; }
.dc-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.dc-head span { color: var(--muted); }
.dc-body { padding: 18px; display: grid; gap: 10px; }
.dc-b { display: flex; gap: 9px; align-items: flex-end; }
.dc-b .face { width: 30px; height: 30px; box-shadow: none; }
.dc-b.me { justify-content: flex-end; }
.dc-m { background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 9px 13px; font-size: 14.5px; line-height: 1.45; color: var(--ink); box-shadow: 0 6px 18px rgba(7, 24, 33, .06); max-width: 330px; }
.dc-b.me .dc-m { background: #dcf8c6; border-color: #cdeeb4; border-radius: 16px 16px 4px 16px; }
.dc-m small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.dc-ch { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.c-wa { background: #25d366; } .c-ig { background: #e1306c; } .c-ms { background: #0a7cff; } .c-wc { background: #07c160; }
.dc-body.seq.play > :nth-child(5) { transition-delay: 2.5s; } .dc-body.seq.play > :nth-child(6) { transition-delay: 3.1s; }
@media (max-width: 960px) { .moments-head { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- inbox faces ---------- */
.row .face { width: 36px; height: 36px; box-shadow: none; }

/* ---------- group desk showcase ---------- */
.gd-show { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.wechat { margin-top: 36px; border-radius: 22px; background: #ededed; overflow: hidden; box-shadow: 0 24px 60px rgba(7, 24, 33, .18); }
.wechat .w-bar { display: flex; align-items: center; gap: 8px; justify-content: center; background: #f7f7f7; padding: 12px 16px; font: 700 14px var(--display); color: #111; border-bottom: 1px solid #ddd; }
.wechat .w-msgs { padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.wl { display: flex; gap: 7px; align-items: flex-start; }
.wl.me { flex-direction: row-reverse; }
.wl .face { width: 28px; height: 28px; border-radius: 6px; box-shadow: none; }
.wm { max-width: 86%; padding: 9px 11px; border-radius: 6px; font-size: 13px; line-height: 1.55; color: #111; background: #fff; }
.wl.me .wm { background: #95ec69; }
.wm .line { display: block; }
.wm .st-ok { color: #0a7d3e; font-weight: 700; } .wm .st-rq { color: #b45309; font-weight: 700; }
.fr-mark { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: var(--navy); color: var(--cyan); font: 800 11px var(--display); flex: none; }
.board { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(7, 24, 33, .12); overflow: hidden; }
.board .b-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.board .b-head b { font: 700 14px var(--display); }
.gfile { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eef2f4; }
.gfile:last-child { border-bottom: 0; }
.ring { width: 46px; height: 46px; }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: #e7eef0; } .ring .fg { stroke: var(--teal); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring text { font: 800 12px var(--display); fill: var(--ink); }
.gfile b { display: block; font: 700 13.5px var(--display); }
.gfile span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.pips { display: flex; gap: 4px; margin-top: 6px; }
.pips i { width: 18px; height: 6px; border-radius: 3px; background: #e7eef0; }
.pips i.c { background: var(--teal); } .pips i.r { background: #f6b04a; }
.tag { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.tag.ok { background: #dcf7f2; color: var(--teal-text); }
.tag.auto { background: #e0f4ff; color: #0b5c8a; }
.tag.person { background: #ffe9e6; color: var(--coral-text); }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .pop { animation: none; } .scene-card .pic > img { transition: none; } }
@media (max-width: 960px) {
  .scenes { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .gd-show { grid-template-columns: 1fr; }
  .wechat { margin-top: 0; }
}
