/* Engage للمكالمات landing page, in the Engage Decks / Engage Posts style: Tajawal, pink on near-black,
   the product lockup in the header and the family footer. Everything is served from this server. */
@import url("/fonts/tajawal.css");

:root {
  --bg: #0a0a0c;
  --bg-2: #121116;
  --surface: #17151b;
  --surface-2: #211e26;
  --border: #2a2630;
  --text: #f6f3f7;
  --muted: #a39ca8;
  --accent: #e82a72;
  --accent-2: #ff4f8f;
  --accent-soft: rgba(232, 42, 114, .14);
  --ok: #5fd39b;
  --warn: #f2b25c;
  --header: rgba(10, 10, 12, .86);
  --theirs: #2b1520;
  --phone: #050506;
  --phone-edge: #2e2a33;
  --shadow: 0 40px 90px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #fbf9fb;
  --bg-2: #f3eff4;
  --surface: #ffffff;
  --surface-2: #f2edf3;
  --border: #e4dde7;
  --text: #16131a;
  --muted: #6c6572;
  --accent-soft: rgba(232, 42, 114, .10);
  --ok: #1d9b5f;
  --warn: #a8640a;
  --header: rgba(251, 249, 251, .88);
  --theirs: #fde9f1;
  --phone: #16131a;
  --phone-edge: #2e2a33;
  --shadow: 0 30px 70px rgba(40, 10, 30, .14);
  color-scheme: light;
}
/* each lockup comes in a dark-background and a light-background version */
html[data-theme="light"] .on-dark, html:not([data-theme="light"]) .on-light { display: none !important; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Tajawal, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
.shell { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── header ── */
header.top {
  position: sticky; top: 0; z-index: 20; background: var(--header); backdrop-filter: blur(14px);
}
header.top::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 42, 114, .7), transparent);
}
header.top .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.lockup img { height: 30px; width: auto; }
nav.links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
nav.links a { color: var(--muted); text-decoration: none; transition: color .15s; }
nav.links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700;
  text-decoration: none; border-radius: 12px; padding: 13px 26px; cursor: pointer; border: 1px solid transparent;
  transition: transform .1s, background .15s, border-color .15s;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--muted); }
.btn:active { transform: scale(.98); }
.btn.small { padding: 8px 16px; font-size: 15px; border-radius: 10px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn { white-space: nowrap; }
.head-end { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-decoration: none;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px;
}
.lang:hover { color: var(--text); border-color: var(--muted); }
.theme {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: none; color: var(--muted);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.theme:hover { color: var(--text); border-color: var(--muted); }
.theme svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="light"] .theme .moon, html:not([data-theme="light"]) .theme .sun { display: none; }
.lang svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
html[lang="en"] body { letter-spacing: 0; }
/* between tablet and wide desktop the header holds five links and the longer CALLS lockup */
@media (max-width: 1180px) { nav.links { gap: 20px; } .lockup img { height: 26px; } }
@media (max-width: 820px) { nav.links { display: none; } .lockup img { height: 24px; } }
.btn .short { display: none; }
@media (max-width: 360px) {
  .lockup img { height: 15px !important; }
  .lang { padding: 5px 9px; }
  .btn .long { display: none; }
  .btn .short { display: inline; }
}
@media (max-width: 420px) {
  header.top .shell { padding: 0 16px; gap: 10px; }
  .lockup img { height: 19px; }
  .btn.small { padding: 7px 12px; font-size: 14px; }
  .shell { padding: 0 18px; }
}

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(232, 42, 114, .22), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(232, 42, 114, .10), transparent 70%);
}
.hero .shell { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px 14px;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.18; font-weight: 800; margin: 20px 0 22px; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--accent); }
.lede { color: var(--muted); font-size: 19px; margin: 0 0 30px; max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.small-note { color: var(--muted); font-size: 14px; margin: 16px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft);
  border-radius: 999px; padding: 3px 12px;
}
@media (max-width: 920px) { .hero .shell { grid-template-columns: 1fr; } .hero { padding-top: 56px; } }

/* phone with the meeting screen */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone {
  width: min(100%, 330px); border-radius: 40px; padding: 10px; background: var(--phone);
  border: 1px solid var(--phone-edge); box-shadow: var(--shadow), 0 0 60px rgba(232, 42, 114, .12);
}
.screen { border-radius: 31px; background: var(--bg-2); padding: 18px 14px 22px; min-height: 560px; display: flex; flex-direction: column; gap: 10px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.screen-top img { height: 13px; width: auto; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
/* the video grid: a pink frame shows who is talking, timed with the lines below */
.cams { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cam { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #000; box-shadow: 0 0 0 0 transparent; }
.cam img { width: 100%; height: 100%; object-fit: cover; }
.cam figcaption {
  position: absolute; inset-inline-start: 5px; bottom: 5px; display: flex; align-items: baseline; gap: 4px;
  font-size: 10.5px; font-weight: 700; line-height: 1.3; color: #fff; background: rgba(0, 0, 0, .55); border-radius: 999px; padding: 1px 8px;
}
.cam figcaption small { font-weight: 500; opacity: .75; font-size: 9.5px; }
.cam::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2.5px var(--accent); opacity: 0; }
.speak-me::after { animation: talk 1.1s .3s, talk-on .3s 2.5s forwards; }
.speak-them::after { animation: talk 1.1s 1.4s; }
@keyframes talk { 0%, 100% { opacity: 1; } }
@keyframes talk-on { to { opacity: 1; } }
.ctls { display: flex; justify-content: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.ctls i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text); }
.ctls i.on { background: var(--accent); color: #fff; }
.ctls i.end { background: #f28b82; color: #2a0d0b; }
.ctls svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bubbles { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.bubble { max-width: 90%; padding: 9px 12px; border-radius: 16px; background: var(--surface-2); opacity: 0; transform: translateY(8px); animation: in .5s ease forwards; }
.bubble.theirs { align-self: flex-end; background: var(--theirs); border: 1px solid rgba(232, 42, 114, .4); }
.bubble .by { font-size: 10.5px; font-weight: 700; color: var(--accent); margin-bottom: 1px; }
.bubble .big { font-size: 14px; line-height: 1.5; }
.bubble .small { font-size: 12px; color: var(--muted); margin-top: 3px; }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--accent); border: 1px solid rgba(232, 42, 114, .45); border-radius: 6px; padding: 0 6px; margin-inline-end: 6px; }
.bubble:nth-child(1) { animation-delay: .3s; }
.bubble:nth-child(2) { animation-delay: 1.4s; }
.bubble:nth-child(3) { animation-delay: 2.5s; }
@keyframes in { to { opacity: 1; transform: none; } }
.phone-caption { color: var(--muted); font-size: 13px; }

/* ── sections ── */
section.block { padding: 88px 0; border-top: 1px solid var(--border); }
section.block.tint { background: var(--bg-2); }
h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.25; font-weight: 800; margin: 0 0 12px; }
h2 em { font-style: normal; color: var(--accent); }
.sub { color: var(--muted); margin: 0 0 40px; max-width: 40em; font-size: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.card .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 14px;
}
.card .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card b { display: block; font-size: 18px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before {
  counter-increment: step; content: counter(step); position: absolute; top: 22px; inset-inline-start: 24px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 15px;
}
@media (max-width: 920px) { .grid3 { grid-template-columns: 1fr; } }

/* minutes */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-inline-start: 30px; margin-bottom: 14px; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 800; }
.ticks b { color: var(--text); }
/* a laptop around the minutes: lid with a camera dot, a browser bar, then the keyboard deck */
.laptop { width: 100%; max-width: 620px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
html[data-theme="light"] .laptop { filter: drop-shadow(0 24px 40px rgba(40, 10, 30, .14)); }
.lid { position: relative; margin: 0 6%; background: var(--phone); border: 1px solid var(--phone-edge); border-radius: 18px 18px 6px 6px; padding: 18px 12px 12px; }
.cam-dot { position: absolute; top: 6px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2c2932; box-shadow: inset 0 0 0 1.5px #403b47; }
.display { border-radius: 6px; overflow: hidden; background: var(--surface); }
.browser { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.browser .dots { display: flex; gap: 5px; flex: none; }
.browser .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.browser .dots i:first-child { background: #ff6159; } .browser .dots i:nth-child(2) { background: #ffbd2e; } .browser .dots i:nth-child(3) { background: #28c941; }
.browser .address { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck {
  position: relative; height: 22px; border-radius: 3px 3px 18px 18px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12);
  background: linear-gradient(#3a3640, #1d1b21 70%, #121015); border: 1px solid var(--phone-edge); border-top: 0;
}
html[data-theme="light"] .deck { background: linear-gradient(#d9d4dc, #b9b3bd 70%, #a7a1ab); border-color: #c9c2cc; }
.deck::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 8px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: rgba(0, 0, 0, .25); }
.sheet { background: var(--surface); padding: 20px 22px 22px; font-size: 15px; }
/* landscape like a real laptop screen: terms on one side, next steps and checks on the other */
@media (min-width: 921px) {
  .laptop .sheet { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 22px; font-size: 14px; }
  .laptop .sheet .col:last-child h4:first-child { margin-top: 0; }
  .laptop .sheet .col:last-child { padding-top: 34px; }
}
.sheet td { word-break: keep-all; } /* a Chinese name stays on one line */
.sheet .tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.sheet .tabs span { font-size: 12px; border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.sheet .tabs span.on { color: var(--accent); border-color: var(--accent); }
.sheet h3 { font-size: 18px; margin: 0 0 10px; }
.sheet h4 { font-size: 13px; color: var(--accent); margin: 16px 0 6px; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet td { padding: 7px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.sheet td:first-child { color: var(--muted); width: 34%; }
.sheet .check { background: rgba(242, 178, 92, .12); color: var(--warn); border-radius: 12px; padding: 9px 12px; font-size: 14px; }
.sheet .confirms { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; }
.sheet .confirms span { background: var(--surface-2); border-radius: 999px; padding: 3px 11px; color: var(--ok); }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
/* on a phone screen the minutes sit in a phone: taller frame, no keyboard */
@media (max-width: 520px) {
  .laptop { max-width: 340px; }
  .lid { margin: 0; padding: 30px 9px 16px; border-radius: 36px; }
  .cam-dot { top: 11px; width: 54px; height: 9px; margin-left: -27px; border-radius: 999px; background: #000; box-shadow: none; }
  .display { border-radius: 24px; }
  .deck { display: none; }
  .browser .dots { display: none; } /* a phone browser shows only the address */
  .sheet { padding: 14px 14px 18px; font-size: 13.5px; }
}

.who { display: flex; flex-wrap: wrap; gap: 10px; }
.who span { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; font-size: 15.5px; font-weight: 500; }
.privacy { display: flex; gap: 18px; align-items: flex-start; }
.privacy .ic { flex: none; }
.privacy p { margin: 0; color: var(--muted); }

/* FAQ, as on Engage Posts: lines, not boxes */
.faq { max-width: 768px; margin: 0 auto; }
.faq h2 { text-align: center; margin-bottom: 28px; }
details { border-top: 1px solid var(--border); }
details:last-child { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; transition: transform .2s; }
details[open] summary svg { transform: rotate(180deg); }
details p { margin: 0 0 18px; color: var(--muted); }

/* closing */
.closing { text-align: center; padding: 104px 0; border-top: 1px solid var(--border); background: radial-gradient(50% 80% at 50% 100%, rgba(232, 42, 114, .14), transparent 70%); }
.closing h2 { font-size: clamp(32px, 4.6vw, 50px); }
.closing .sub { margin: 0 auto 30px; }

/* ── footer (same layout as the Engage family sites) ── */
footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 36px 0 28px; color: var(--muted); font-size: 14px; }
.foot-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.foot-brand img { height: auto; width: min(100%, 300px); margin-bottom: 8px; }
.foot-brand p { margin: 0; font-size: 13.5px; max-width: 24em; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.social a { color: var(--muted); display: grid; place-items: center; }
.social a:hover { color: var(--text); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.social svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.family { justify-self: end; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.family .label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.family a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.family a:hover { color: var(--text); }
.family a.here { color: var(--text); font-weight: 700; }
.family svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.foot-legal { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 26px; padding-top: 20px; font-size: 13px; }
.partner {
  color: var(--accent); font-weight: 700; text-decoration: none; border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px; display: inline-flex; align-items: center; gap: 6px;
}
.partner svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 820px) {
  .foot-row { grid-template-columns: 1fr; text-align: start; }
  .social { justify-content: flex-start; }
  .family { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; opacity: 1; transform: none; }
  .speak-me::after, .speak-them::after { animation: none; }
  .speak-them::after { opacity: 1; }
  .live::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* small screens: the header keeps the logo, theme and language; "Sign in" is the hero's first button */
@media (max-width: 520px) {
  .head-end .btn.small { display: none; }
  .lang svg { display: none; }
  .lang { padding: 5px 10px; }
  .theme { width: 30px; height: 30px; }
  .lockup img { height: 17px !important; }
}
@media (max-width: 360px) {
  .lockup img { height: 14px !important; }
  header.top .shell { gap: 8px; padding: 0 12px; }
}

/* ── pricing ── */
.pricing-head { text-align: center; }
.pricing-head .sub { margin: 0 auto 24px; }
.cycle { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 36px; }
.cycle button { font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 6px 20px; cursor: pointer; }
.cycle button.on { background: var(--accent); color: #fff; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; }
.price.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 60px rgba(232, 42, 114, .16); }
.price h3 { font-size: 20px; margin: 0 0 10px; }
.amount { display: flex; align-items: baseline; gap: 4px; min-height: 52px; }
.amount b { font-size: 42px; font-weight: 800; line-height: 1.2; }
.amount span { color: var(--muted); font-size: 15px; }
.hours { color: var(--accent); font-weight: 700; font-size: 15px; margin: 6px 0 0; min-height: 1.75em; }
.seats { color: var(--text); font-weight: 500; font-size: 14.5px; margin: 2px 0 18px; min-height: 1.75em; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.price li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.price .btn { width: 100%; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin: 24px auto 0; max-width: 40em; }
@media (max-width: 920px) { .prices { grid-template-columns: 1fr; max-width: 440px; } }
