/* Mr.Bot Meet - the public site. One file, no inline styles (the Content-Security-Policy forbids them).
   The same design system as the web app: three layers of tokens (primitive → semantic → component); the light and the
   dark theme only redefine the semantic layer; every text/background pair reaches 4.5:1. The theme follows the system
   unless the visitor picks one (data-theme). Logical properties (inline-start/end) make every page work left to right
   and right to left (Arabic, Persian). */

/* ==== fonts (served by the web app: /app/fonts, fetched at build by tools/fetch_fonts.py) ==== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/app/fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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("/app/fonts/inter-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Vazirmatn"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/app/fonts/vazirmatn-arabic-wght.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ==== tokens ==== */
:root {
  /* primitives */
  --indigo-300: #a5abff; --indigo-400: #8b93ff; --indigo-500: #6366f1; --indigo-600: #4f46e5; --indigo-700: #4338ca; --violet-700: #6d28d9;
  --cyan-400: #22d3ee; --green-600: #047857; --green-400: #34d399; --amber-700: #b45309; --amber-400: #fbbf24; --rose-600: #e11d48; --rose-400: #fb7185;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif;

  /* semantic: dark (the brand look) */
  --bg: #070a14;
  --bg-2: #0b1020;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --surface-solid: #0f1428;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #eceffa;
  --muted: #a3abc8;
  --faint: #8189a8;
  --accent: var(--indigo-400);
  --accent-hover: var(--indigo-300);
  --accent-2: var(--cyan-400);
  --ok: var(--green-400);
  --warn: var(--amber-400);
  --danger: var(--rose-400);
  --grad: linear-gradient(135deg, var(--indigo-600) 0%, var(--violet-700) 100%);       /* buttons: white text 6.3:1 / 7.1:1 */
  --grad-text: linear-gradient(110deg, #8b93ff 0%, #c084fc 45%, #22d3ee 100%);        /* large display text only */
  --glow: radial-gradient(900px 520px at 12% -6%, rgba(99, 102, 241, .32), transparent 60%),
          radial-gradient(700px 420px at 92% 6%, rgba(34, 211, 238, .18), transparent 60%),
          radial-gradient(800px 520px at 50% 108%, rgba(168, 85, 247, .16), transparent 60%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
  --shadow-lg: 0 30px 80px -30px rgba(80, 90, 255, .45);
  --field-bg: rgba(255, 255, 255, .04);
  --chip-ok: rgba(52, 211, 153, .15);
  --chip-warn: rgba(251, 191, 36, .15);
  color-scheme: dark;

  /* component */
  --header-h: 68px;
  --btn-h: 48px;
  --radius: var(--r-lg);
}
:root[data-theme="light"] {
  --bg: #f7f8fc; --bg-2: #eef0f8; --surface: #ffffff; --surface-2: #f3f4fa; --surface-solid: #ffffff;
  --line: #e2e5f0; --line-strong: #c9cede; --text: #12152a; --muted: #4d557a; --faint: #636a89;
  --accent: var(--indigo-600); --accent-hover: var(--indigo-700); --accent-2: #0e7490; --ok: var(--green-600); --warn: var(--amber-700); --danger: var(--rose-600);
  --grad-text: linear-gradient(110deg, #4f46e5 0%, #7c3aed 50%, #0e7490 100%);
  --glow: radial-gradient(900px 520px at 12% -6%, rgba(99, 102, 241, .12), transparent 60%), radial-gradient(700px 420px at 92% 6%, rgba(34, 211, 238, .10), transparent 60%);
  --shadow-sm: 0 1px 2px rgba(18, 21, 42, .05), 0 6px 18px -10px rgba(18, 21, 42, .15);
  --shadow-lg: 0 30px 70px -35px rgba(79, 70, 229, .35);
  --field-bg: #ffffff; --chip-ok: rgba(4, 120, 87, .1); --chip-warn: rgba(180, 83, 9, .1);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f8fc; --bg-2: #eef0f8; --surface: #ffffff; --surface-2: #f3f4fa; --surface-solid: #ffffff;
    --line: #e2e5f0; --line-strong: #c9cede; --text: #12152a; --muted: #4d557a; --faint: #636a89;
    --accent: var(--indigo-600); --accent-hover: var(--indigo-700); --accent-2: #0e7490; --ok: var(--green-600); --warn: var(--amber-700); --danger: var(--rose-600);
    --grad-text: linear-gradient(110deg, #4f46e5 0%, #7c3aed 50%, #0e7490 100%);
    --glow: radial-gradient(900px 520px at 12% -6%, rgba(99, 102, 241, .12), transparent 60%), radial-gradient(700px 420px at 92% 6%, rgba(34, 211, 238, .10), transparent 60%);
    --shadow-sm: 0 1px 2px rgba(18, 21, 42, .05), 0 6px 18px -10px rgba(18, 21, 42, .15);
    --shadow-lg: 0 30px 70px -35px rgba(79, 70, 229, .35);
    --field-bg: #ffffff; --chip-ok: rgba(4, 120, 87, .1); --chip-warn: rgba(180, 83, 9, .1);
    color-scheme: light;
  }
}
/* the colour of each mode (the same as in the web app) */
[data-mode="business"] { --mode: #3b82f6; } [data-mode="medical"] { --mode: #06b6d4; } [data-mode="university"] { --mode: #f97316; }
[data-mode="service-desk"] { --mode: #14b8a6; } [data-mode="sales"] { --mode: #22c55e; } [data-mode="interview"] { --mode: #a78bfa; }
[data-mode="field"] { --mode: #f59e0b; } [data-mode="legal"] { --mode: #94a3b8; } [data-mode="language"] { --mode: #f472b6; }

/* ==== base ==== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--glow), var(--bg); }
html[lang="fa"] body, html[lang="ar"] body { line-height: 1.85; }
/* a page in another language waits (at most 2.5 s, see boot.js) for its dictionary instead of flashing English */
.i18n-wait main, .i18n-wait .site-header, .i18n-wait .site-footer { visibility: hidden; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img, svg { max-width: 100%; }
::selection { background: color-mix(in srgb, var(--indigo-500) 35%, transparent); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 5.3vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 760; }
h3 { font-size: 1.15rem; font-weight: 680; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:is(html[lang="fa"], html[lang="ar"]) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.4; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .88em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); direction: ltr; unicode-bidi: isolate; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.err-text { color: var(--danger); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--indigo-600); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 12px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }
.loading { display: flex; align-items: center; gap: 10px; }
.loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==== header ==== */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  background: color-mix(in srgb, var(--bg) 74%, transparent); border-bottom: 1px solid var(--line); min-height: var(--header-h); }
.bar { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; white-space: nowrap; }
.logo:hover { text-decoration: none; color: var(--text); }
.logo img { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(99, 102, 241, .7); }
.main-nav { display: flex; gap: 2px; margin-inline-start: 10px; }
.main-nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 560; font-size: .94rem; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); text-decoration: none; }
.bar-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 42px; height: 42px; padding: 0 11px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .15s, border-color .15s; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-strong); }
.burger { display: none; }

/* the language menu */
.lang-menu { position: relative; }
.lang-list { display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 200px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .45); }
.lang-list.open { display: block; animation: drop .16s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.lang-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 560; color: var(--text); }
.lang-list li:hover, .lang-list li:focus { background: var(--surface-2); outline: none; }
.lang-list li[aria-selected="true"] { color: var(--accent); }
.lang-list svg { flex: none; }
.lang-code { font-size: .82rem; letter-spacing: .04em; }

/* ==== buttons ==== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; min-height: var(--btn-h); border-radius: var(--r-md); border: 1px solid var(--line-strong);
  font: inherit; font-weight: 650; line-height: 1.25; cursor: pointer; color: var(--text); background: var(--surface); text-align: center;
  transition: transform .15s var(--ease), box-shadow .2s, background-color .15s, border-color .15s, filter .15s; }
.btn:hover { text-decoration: none; color: var(--text); transform: translateY(-1px); background: var(--surface-2); border-color: var(--line-strong); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 28px -10px rgba(99, 102, 241, .85); }
.btn.primary:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 14px 36px -10px rgba(99, 102, 241, .95); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.lg { min-height: 54px; padding: 12px 28px; font-size: 1.04rem; border-radius: 16px; }
.btn.sm { padding: 8px 15px; min-height: 40px; font-size: .9rem; border-radius: 11px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn.google { background: var(--surface-solid); }
.g { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #4285f4; font-weight: 800; font-size: .85rem; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }

/* ==== sections ==== */
section { padding: 92px 0; }
section.band { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-2) 70%, transparent) 18%, color-mix(in srgb, var(--bg-2) 70%, transparent) 82%, transparent); }
.page-head { padding-top: 64px; }
.sec-head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.12rem; }
.kicker { display: inline-block; color: var(--accent-2); font-weight: 750; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
:is(html[lang="fa"], html[lang="ar"]) .kicker { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card.feature { transition: transform .25s var(--ease), border-color .2s; }
.card.feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(99, 102, 241, .28), rgba(34, 211, 238, .16)); border: 1px solid rgba(124, 131, 255, .35); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card ul { padding-inline-start: 1.2em; color: var(--muted); margin: 14px 0 0; }
.badge { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: var(--r-full); font-size: .78rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.badge.ok { background: var(--chip-ok); color: var(--ok); border-color: transparent; }
.badge.soon { background: var(--chip-warn); color: var(--warn); border-color: transparent; }

/* ==== hero ==== */
.hero { padding: 76px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: .88rem; font-weight: 580; margin-bottom: 24px; transition: border-color .2s; }
.eyebrow:hover { text-decoration: none; color: var(--text); border-color: var(--line-strong); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero .lead { font-size: 1.22rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 20px; }
.cta-row.tight { margin: 12px 0; }
.center-row { justify-content: center; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .93rem; padding: 0; list-style: none; margin: 0; }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-inline-end: 7px; }

/* the demo window */
.mock { border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-top i { width: 11px; height: 11px; border-radius: 50%; background: var(--faint); opacity: .55; }
.mock-top span { margin-inline-start: 10px; font-size: .82rem; color: var(--faint); }
.mock-body { padding: 22px; }
.speaker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.wave { display: flex; align-items: center; gap: 3px; height: 38px; flex: 1; }
.wave i { flex: 1; max-width: 5px; min-height: 5px; border-radius: 4px; background: var(--grad-text); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-duration: .8s; } .wave i:nth-child(4n) { animation-duration: 1.4s; } .wave i:nth-child(5n+1) { animation-delay: -.5s; }
.wave i:nth-child(2n) { animation-delay: -.25s; } .wave i:nth-child(7n) { animation-delay: -.7s; }
@keyframes wave { 0%, 100% { height: 16%; } 50% { height: 100%; } }
.chip-live { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 750; padding: 4px 10px; border-radius: var(--r-full); background: var(--chip-ok); color: var(--ok); }
.chip-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ping 1.6s infinite; }
.cap { border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; font-size: 1.02rem; }
.cap small { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; font-weight: 700; }
:is(html[lang="fa"], html[lang="ar"]) .cap small { letter-spacing: 0; text-transform: none; font-size: .8rem; }
.cap.src { background: var(--surface); border: 1px dashed var(--line-strong); color: var(--muted); }
.cap.dst { background: linear-gradient(135deg, rgba(99, 102, 241, .2), rgba(34, 211, 238, .1)); border: 1px solid rgba(124, 131, 255, .4); }
.cap p { margin: 0; min-height: 3.1em; }
.mock-foot { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 22px 20px; }
.pill { font-size: .78rem; padding: 5px 11px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.pill b { color: var(--text); }
.platforms-label { text-align: center; color: var(--faint); font-size: .86rem; margin-top: 60px; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding-top: 4px; }
.platforms span { padding: 8px 18px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); font-weight: 620; color: var(--muted); font-size: .92rem; }

/* ==== modes ==== */
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.mode-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .2s; }
.mode-card::after { content: ""; position: absolute; inset-inline-start: 0; inset-block: 0; width: 3px; background: var(--mode); opacity: .9; }
.mode-card:hover { text-decoration: none; color: var(--text); transform: translateY(-3px); border-color: color-mix(in srgb, var(--mode) 55%, var(--line)); }
.mode-ico { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--mode); background: color-mix(in srgb, var(--mode) 16%, transparent); }
.mode-ico svg { width: 24px; height: 24px; fill: currentColor; }
.mode-card h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.mode-card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* ==== after the meeting, steps, languages, trust ==== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.list-clean { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
/* the label in bold and the sentence after it flow as one text (a flex row would split them into columns) */
.list-clean li { position: relative; padding-inline-start: 38px; color: var(--muted); }
.list-clean li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--chip-ok); color: var(--ok); font-weight: 800; font-size: .8rem; }
.list-clean b { color: var(--text); }
.meeting-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); padding: 22px; }
.meeting-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs span { padding: 6px 13px; border-radius: 10px; font-size: .82rem; font-weight: 620; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.tabs span.on { background: var(--grad); color: #fff; border-color: transparent; }
.line { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.line time { color: var(--faint); font-variant-numeric: tabular-nums; flex: none; width: 3.2em; }
.line.sum { color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0 0 36px; }
.step { position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: step; box-shadow: var(--shadow-sm); }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 6px 0; }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: slide 70s linear infinite; }
.marquee.second .track { animation-direction: reverse; animation-duration: 85s; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { padding: 9px 18px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line); white-space: nowrap; font-weight: 560; }
@keyframes slide { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee .track { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(50%); } }
.big-number { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; line-height: 1; }

/* ==== pricing ==== */
.toggle { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 5px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line); gap: 4px; margin-bottom: 40px; }
.toggle button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 650; padding: 9px 18px; min-height: 42px; border-radius: var(--r-full); cursor: pointer; display: inline-flex; align-items: center; }
.toggle button[aria-pressed="true"] { background: var(--grad); color: #fff; }
.toggle .save { font-size: .72rem; margin-inline-start: 8px; padding: 2px 8px; border-radius: var(--r-full); background: var(--chip-ok); color: var(--ok); }
.toggle button[aria-pressed="true"] .save { background: rgba(255, 255, 255, .2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-bottom: 28px; }
.plan { display: flex; flex-direction: column; position: relative; padding: 32px 28px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan.featured { border: 1px solid transparent; background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad-text) border-box; box-shadow: var(--shadow-lg); }
.plan.current { outline: 2px solid var(--ok); outline-offset: 4px; }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 28px; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 750; padding: 4px 12px; border-radius: var(--r-full); }
.plan h3 { font-size: 1.3rem; margin: 0 0 4px; }
.plan .tagline { color: var(--muted); min-height: 3.2em; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; flex-wrap: wrap; }
.price b { font-size: 2.9rem; line-height: 1; letter-spacing: -.03em; }
.price span { color: var(--muted); }
.per-year { color: var(--faint); font-size: .86rem; min-height: 1.4em; margin-bottom: 4px; }
.saves { color: var(--ok); font-size: .86rem; font-weight: 650; min-height: 1.4em; margin-bottom: 14px; }
.plan .minutes { display: block; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .94rem; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; color: var(--muted); font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; flex: none; }
.plan .plan-form { margin-top: 12px; }
.plan .plan-form label { margin-top: 0; }
.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r-md); padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent);
  background: color-mix(in srgb, var(--warn) 10%, transparent); color: var(--text); font-size: .95rem; max-width: 900px; margin: 0 auto; }
.notice.secure { border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 9%, transparent); }
.notice svg { width: 22px; height: 22px; fill: var(--ok); flex: none; margin-top: 1px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 620px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cmp thead th { font-weight: 720; background: var(--surface-2); }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.yes { color: var(--ok); font-weight: 800; } .nope { color: var(--faint); }
.tick { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--chip-ok); font-size: .8rem; }

/* ==== FAQ, call to action ==== */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }
.cta-band { border-radius: var(--r-xl); padding: 68px 28px; text-align: center; background: linear-gradient(135deg, rgba(99, 102, 241, .3), rgba(34, 211, 238, .14)); border: 1px solid rgba(124, 131, 255, .45); box-shadow: var(--shadow-lg); }
.cta-band p { color: var(--muted); font-size: 1.12rem; max-width: 36em; margin-inline: auto; }
.subscribe { display: flex; gap: 10px; max-width: 460px; margin: 24px auto 0; }
.subscribe input { flex: 1; min-width: 0; }
.subscribe-card { margin-top: 32px; }

/* ==== forms ==== */
label { display: block; font-weight: 620; font-size: .92rem; margin: 16px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 15px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--field-bg); color: var(--text); font: inherit;
  transition: border-color .15s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
input::placeholder { color: var(--faint); opacity: 1; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--indigo-500); margin-top: 4px; flex: none; }
.check { display: flex; gap: 10px; font-weight: 450; align-items: flex-start; }
.form-card { max-width: 480px; margin: 64px auto; padding: 38px 34px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h1 { font-size: 1.95rem; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: .85rem; margin: 22px 0; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.msg { border-radius: 12px; padding: 12px 16px; margin: 14px 0; font-size: .95rem; }
.msg.err { background: color-mix(in srgb, var(--danger) 13%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent); }
.msg.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); }
.msg p:last-child { margin-bottom: 0; }
.form-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: .92rem; }

/* ==== account ==== */
.account { padding: 52px 0 96px; }
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dash .wide { grid-column: 1 / -1; }
.dash .card h2 { font-size: 1.35rem; margin-bottom: .6em; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.card-head h2 { margin-top: 10px; }
.meter { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 10px 0 6px; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--grad); width: 0; transition: width .6s; }
.meter.w0 i { width: 0; } .meter.w10 i { width: 10%; } .meter.w20 i { width: 20%; } .meter.w30 i { width: 30%; } .meter.w40 i { width: 40%; }
.meter.w50 i { width: 50%; } .meter.w60 i { width: 60%; } .meter.w70 i { width: 70%; } .meter.w80 i { width: 80%; } .meter.w90 i { width: 90%; } .meter.w100 i { width: 100%; }
.keys { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.keys li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.keys li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.keybox { display: flex; gap: 8px; padding: 12px; border-radius: 12px; border: 1px dashed var(--accent); background: var(--surface); word-break: break-all; align-items: center; }
.keybox code { flex: 1; direction: ltr; text-align: left; background: none; border: 0; }
.dash .cta-row { align-items: center; }
.dash .cta-row input { flex: 1 1 220px; width: auto; }

/* ==== download, news, legal ==== */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; min-height: 58px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.store small { display: block; color: var(--faint); font-size: .72rem; line-height: 1.1; }
.store b { display: block; line-height: 1.2; }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.os-steps { margin: 16px 0; padding-inline-start: 1.3em; color: var(--muted); }
.os-steps li { margin-bottom: 8px; }
.os-steps b { color: var(--text); }
.post { padding: 28px 0; border-top: 1px solid var(--line); }
.post:first-of-type { border-top: 0; }
.post time { color: var(--faint); font-size: .86rem; }
.post h2 { font-size: 1.55rem; margin: 6px 0 10px; }
.legal { padding: 60px 0 96px; }
.legal-text h2 { font-size: 1.35rem; margin-top: 2em; letter-spacing: -.01em; }
.legal-text p, .legal-text li { color: var(--muted); }
.legal-text { direction: ltr; text-align: left; }
.legal-note { margin-bottom: 28px; }

/* ==== footer ==== */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; background: color-mix(in srgb, var(--bg-2) 72%, transparent); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-size: .8rem; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
:is(html[lang="fa"], html[lang="ar"]) .foot-grid h4 { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.foot-grid a { display: block; color: var(--muted); padding: 4px 0; }
.foot-grid a.logo { display: inline-flex; color: var(--text); padding: 0; }
.foot-grid a:hover { color: var(--text); }
.foot-brand p { margin: 12px 0 16px; max-width: 26em; }
.foot-lang-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.foot-lang { width: auto; min-height: 42px; padding: 8px 12px; }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: .86rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==== smaller screens ==== */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 9px; }
  .bar-end .lang-name { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .steps, .plans { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr 1fr; }
  .dash, .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .hero { padding-top: 44px; }
  .plans { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .main-nav { display: none; position: absolute; inset-inline: 0; top: var(--header-h); flex-direction: column; margin: 0; padding: 12px 20px 20px; background: var(--surface-solid); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 1.05rem; }
  .bar-end .btn.ghost-hide { display: none; }
}
@media (max-width: 640px) {
  .modes-grid { grid-template-columns: 1fr; }
  .bar { gap: 10px; }
  .bar-end { gap: 6px; }
  .bar-end .btn.sm { padding: 8px 12px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .subscribe { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .form-card { margin: 24px auto; padding: 28px 22px; }
  .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* the API hub on the account page */
.hub-routing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.hub-order { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--surface); display: grid; gap: 8px; align-content: start; }
.hub-order h4 { margin: 0; font-size: .95rem; }
.hub-order ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hub-order-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hub-order-item > span:first-child { min-width: 0; }
.hub-order-item .cta-row { flex: none; flex-wrap: nowrap; margin: 0; }
.hub-order select { width: 100%; }
.hub-guide { font-size: .93rem; }
.hub-guide summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.hub-guide ol { margin: 8px 0; padding-inline-start: 22px; display: grid; gap: 4px; }

/* ==== Calm: a cleaner pass over the whole site (1.17) =============================================================== */
/* The brand look had a gradient mesh behind everything, glow on every button, gradient text, a coloured edge on each card
   and tracked capitals. This layer keeps the indigo and the structure and removes the noise: a flat page, hairline borders
   instead of shadows, one solid main colour, sentence-case labels, calmer spacing. Only tokens and a few rules change.
   The doubled :root raises the specificity above the media-query and data-theme rules above. */
:root:root {
  --r-sm: 8px; --r-md: 10px; --r-lg: 14px; --r-xl: 18px; --radius: 14px; --btn-h: 44px; --header-h: 64px;
  --bg: #ffffff; --bg-2: #f6f7fb; --surface: #ffffff; --surface-2: #f3f4f9; --surface-solid: #ffffff;
  --line: #e5e7ef; --line-strong: #cfd3e0;
  --text: #14162b; --muted: #505774; --faint: #6a7190;
  --accent: #4f46e5; --accent-hover: #4338ca; --accent-2: #4f46e5;
  --grad: #4f46e5; --grad-text: none; --glow: none; --shadow-sm: none; --shadow-lg: none;
  --field-bg: #ffffff; --chip-ok: #e6f6ee; --chip-warn: #fdf1de;
  --ok: #047857; --warn: #b45309; --danger: #be123c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:root:not([data-theme="light"]) {
    --bg: #0c0e1a; --bg-2: #11142a; --surface: #141830; --surface-2: #1b2040; --surface-solid: #141830;
    --line: #262c4d; --line-strong: #3a4170;
    --text: #eceffa; --muted: #a8b0cf; --faint: #8b93b3;
    --accent: #8b93ff; --accent-hover: #a5abff; --accent-2: #8b93ff;
    --grad: #6366f1; --field-bg: #141830; --chip-ok: #0d2a22; --chip-warn: #2b2110;
    --ok: #34d399; --warn: #fbbf24; --danger: #fb7185;
    color-scheme: dark;
  }
}
:root:root[data-theme="dark"] {
  --bg: #0c0e1a; --bg-2: #11142a; --surface: #141830; --surface-2: #1b2040; --surface-solid: #141830;
  --line: #262c4d; --line-strong: #3a4170;
  --text: #eceffa; --muted: #a8b0cf; --faint: #8b93b3;
  --accent: #8b93ff; --accent-hover: #a5abff; --accent-2: #8b93ff;
  --grad: #6366f1; --field-bg: #141830; --chip-ok: #0d2a22; --chip-warn: #2b2110;
  --ok: #34d399; --warn: #fbbf24; --danger: #fb7185;
  color-scheme: dark;
}
:root:root[data-theme="light"] {
  --bg: #ffffff; --bg-2: #f6f7fb; --surface: #ffffff; --surface-2: #f3f4f9; --surface-solid: #ffffff;
  --line: #e5e7ef; --line-strong: #cfd3e0;
  --text: #14162b; --muted: #505774; --faint: #6a7190;
  --accent: #4f46e5; --accent-hover: #4338ca; --accent-2: #4f46e5;
  --grad: #4f46e5; --field-bg: #ffffff; --chip-ok: #e6f6ee; --chip-warn: #fdf1de;
  --ok: #047857; --warn: #b45309; --danger: #be123c;
  color-scheme: light;
}
body::before { display: none; }
body { font-size: 16px; line-height: 1.65; }

/* type: smaller, quieter headings; no gradient text; labels in sentence case */
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 740; letter-spacing: -.028em; line-height: 1.1; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-weight: 650; }
.grad-text { background: none; color: var(--accent); -webkit-background-clip: border-box; }
.kicker { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.foot-grid h4, .cap small { text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 650; color: var(--muted); }
.hero .lead { font-size: 1.15rem; }

/* rhythm: less empty space between sections */
section { padding: 68px 0; }
section.band { background: var(--bg-2); }
.page-head { padding-top: 48px; padding-bottom: 28px; }
.hero { padding: 56px 0 28px; }
.sec-head { margin-bottom: 38px; }
.sec-head p { font-size: 1.05rem; }

/* header and footer: flat */
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.logo img { box-shadow: none; border-radius: 8px; }
.icon-btn { border-radius: 10px; }
.main-nav a { border-radius: 8px; font-weight: 550; }
.lang-list { box-shadow: 0 10px 30px -10px rgba(20, 22, 43, .25); }
.site-footer { background: var(--bg-2); }

/* buttons: one solid colour, nothing lifts or glows */
.btn { border-radius: 10px; font-weight: 600; transition: background-color .12s, border-color .12s, opacity .12s; }
.btn:hover { transform: none; }
.btn.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: none; }
.btn.primary:hover { color: #fff; filter: none; opacity: .9; box-shadow: none; }
.btn.lg { min-height: 50px; padding: 10px 26px; font-size: 1rem; border-radius: 10px; }
.btn.sm { min-height: 38px; padding: 6px 15px; border-radius: 8px; }

/* cards: hairline border, no shadow, no lift, no coloured edge */
.card, .plan, .step, .meeting-card, .mode-card, .mock { box-shadow: none; }
.card { padding: 24px; border-radius: 14px; }
.card.feature:hover, .mode-card:hover { transform: none; border-color: var(--line-strong); }
.mode-card::after { display: none; }
.mode-card { padding: 20px; transition: border-color .15s; }
.mode-ico { border-radius: 11px; width: 42px; height: 42px; background: color-mix(in srgb, var(--mode) 12%, var(--surface)); }
.ico { background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; width: 44px; height: 44px; }
.step { padding: 26px 24px; }
.step::before { background: var(--accent); border-radius: 10px; width: 38px; height: 38px; }
.plan { border-radius: 16px; padding: 28px 26px 26px; }
.plan.featured { background: var(--surface); border: 2px solid var(--accent); box-shadow: none; }
.plan .tag { background: var(--accent); }
.plan .minutes { border-radius: 10px; }
.mock { border-radius: 16px; background: var(--surface); }
.cap.dst { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); }
.wave i { background: var(--accent); }
.avatar { background: var(--accent); }
.tabs span.on, .toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.eyebrow { background: var(--surface-2); border-color: transparent; }
.badge { font-weight: 600; }
.platforms span, .marquee span, .pill { background: var(--surface-2); border-color: transparent; }
.notice { border-radius: 10px; }

/* forms and the sign-in / sign-up card: room between the parts (the button used to touch the password field) */
input[type=text], input[type=email], input[type=password], input[type=search], select, textarea { border-radius: 10px; min-height: 44px; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
input[type=checkbox] { accent-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
form .btn.block, form button.primary.block { margin-top: 18px; }
form label + input, form label + select { margin-top: 6px; }
.form-card { max-width: 440px; margin: 48px auto; padding: 34px 30px; border-radius: 16px; box-shadow: none; }
.form-card h1 { font-size: 1.75rem; }
.form-card .btn.block, .form-card button[type=submit] { margin-top: 22px; }
.form-card .btn.google { margin-top: 4px; }
.form-links { margin-top: 24px; gap: 8px 16px; }
.form-card > p.muted.small, .form-card .note { margin-top: 14px; line-height: 1.6; }
.msg { border-radius: 10px; }
.cta-band { background: var(--bg-2); border: 1px solid var(--line); box-shadow: none; border-radius: 16px; padding: 52px 28px; }
.faq details { border-radius: 12px; }
.faq details[open] { border-color: var(--line-strong); }
.table-wrap { box-shadow: none; border-radius: 12px; }
/* the account page: a calm column; a button under a field has room */
.account .container { width: min(900px, 100% - 32px); }
.account h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 20px; }
.dash { gap: 16px; }
.dash .card h2 { font-size: 1.15rem; }
.dash .field + .btn, .dash select + .btn, .dash input + .btn, .dash .card > .btn { margin-top: 12px; }
.keys li { border-radius: 10px; }
/* cards: a paragraph, a button and a list under a heading breathe (they stuck to each other) */
.card > p { margin-bottom: 0; }
.card > h3 + p, .card > p + p, .card > p + .cta-row, .card > p + ol, .card > p + ul, .card > p + .note { margin-top: 14px; }
.card > h3 { margin-top: 12px; }
.card .btn { margin-top: 2px; }
#app { grid-column: 1 / -1; }
#app .os-steps { columns: 3; column-gap: 28px; }
#app .os-steps li { break-inside: avoid; }
@media (max-width: 860px) { #app .os-steps { columns: 1; } }

/* Enterprise (on-premises) page */
.ent-price { max-width: 560px; margin: 0 auto; padding: 32px 28px; }
.ent-price .big-number { margin: 14px 0 8px; color: var(--text); }
.ent-price .big-number .small { font-size: 1.05rem; font-weight: 600; }
#options .card p { color: var(--muted); }
#options .card p b { color: var(--text); }

/* Videos page */
.video-card { padding: 16px 16px 22px; }
.video-slot { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.video-thumb { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: opacity .2s; }
.video-thumb:hover img, .video-thumb:focus-visible img { opacity: 1; }
.video-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(79, 70, 229, .92); color: #fff; font-size: 26px; padding-inline-start: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.video-frame { width: 100%; height: 100%; border: 0; display: block; }
.video-card h3 { margin-top: 16px; }
@media (max-width: 760px) { .videos .grid-2 { grid-template-columns: 1fr; } }

/* The screen recorder strip under the home page features, and its page */
.rec-strip { display: flex; gap: 20px; align-items: flex-start; margin-top: 20px; }
.rec-strip h3 { margin-top: 0; }
.rec-strip .ico { flex: none; }

/* "Enterprise" stands out in the menu */
.main-nav a.nav-ent { color: var(--accent-2); font-weight: 700; background: color-mix(in srgb, var(--accent) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.main-nav a.nav-ent:hover, .main-nav a.nav-ent[aria-current="page"] { color: #fff; background: var(--grad); box-shadow: none; }

/* the platforms: a colour and an icon for each */
.platforms span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px 8px 12px; color: var(--text); border-color: color-mix(in srgb, var(--pf, var(--line)) 35%, var(--line)); }
.platforms span b { font-weight: inherit; }
.platforms svg { width: 22px; height: 22px; flex: none; fill: var(--pf); }
.platforms span::before { content: none; }
.pf-meet { --pf: #00897b; } .pf-zoom { --pf: #2d8cff; } .pf-teams { --pf: #6264a7; } .pf-yt { --pf: #e5322d; } .pf-live { --pf: #f59e0b; } .pf-tab { --pf: #8b5cf6; }
.platforms span:hover { background: color-mix(in srgb, var(--pf) 10%, var(--surface)); transform: translateY(-2px); transition: transform .2s, background .2s; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-teams { --pf: #9ea0e6; } }
:root[data-theme="dark"] .pf-teams { --pf: #9ea0e6; }

/* Account: "Get set up" and the API hub, one card for each provider */
.setup { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface)); }
.setup-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.setup-step { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.setup-step.done { opacity: .75; }
.setup-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #fff; }
.setup-step.done .setup-n { background: var(--ok); }
.setup-body { flex: 1; min-width: 0; }
.setup-body p { margin: 2px 0 0; }
.setup-reveal { margin-top: 14px; }
.setup-reveal .keybox { margin: 8px 0; }
.flash { animation: flash 2.2s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 25% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 35%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
@media (prefers-reduced-motion: reduce) { .flash { animation: none; outline: 3px solid var(--accent); outline-offset: 2px; } }
.card .hub-list { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.hub-row { --brand: var(--accent); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); border-top: 3px solid var(--brand); }
.hub-row.on { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); border-top-color: var(--ok); }
.hub-head { display: flex; align-items: center; gap: 12px; }
.hub-logo { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #fff; background: var(--brand); }
.hub-title { flex: 1; min-width: 0; display: grid; gap: 4px; }
.hub-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.hub-chip { font-size: .72rem; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-weight: 600; }
.hub-state { margin: 0; }
.hub-keyline { display: flex; gap: 8px; align-items: center; }
.hub-keyline input { flex: 1 1 auto; min-width: 0; width: auto; }
.hub-keyline .btn { flex: none; margin: 0; }
.hub-actions { margin: 0; }
.hub-more { font-size: .93rem; }
.hub-more summary, .hub-guide summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.hub-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.hub-opt { margin: 0; }
.hub-opt input { width: 100%; }
.hub-row .msg { margin: 0; }
.brand-openai { --brand: #10a37f; } .brand-gemini { --brand: #4285f4; } .brand-groq { --brand: #f55036; } .brand-deepgram { --brand: #0e9f6e; } .brand-elevenlabs { --brand: #4b5563; }
.hub-routing { gap: 14px; }
.hub-order { border-radius: 14px; padding: 14px 16px; }
@media (max-width: 760px) { .card .hub-list, .hub-opts { grid-template-columns: minmax(0, 1fr); } .setup-step { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; } .setup-step > :nth-child(3) { grid-column: 2; justify-self: start; } }
.dash > .card { min-width: 0; }
@media (max-width: 860px) { .dash { grid-template-columns: minmax(0, 1fr); } }
.videos > p { margin-top: 18px; }

/* "Watch the demo": a play button that stands out beside "Start free" */
.btn.demo { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.btn.demo svg { width: 20px; height: 20px; fill: currentColor; }
.btn.demo:hover { color: #fff; background: var(--grad); border-color: transparent; }
