/* X Live Video Call: the app's website. Plain CSS, no framework. Colours follow the app logo (blue → violet → pink). */
:root {
  --ink: #0f172a; --body: #334155; --dim: #64748b; --line: #e2e8f0;
  --bg: #ffffff; --soft: #f5f7ff; --card: #ffffff;
  --blue: #2563eb; --violet: #7c3aed; --pink: #db2777; --indigo: #4f46e5;
  --grad: linear-gradient(120deg, #2563eb 0%, #7c3aed 55%, #db2777 100%);
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 12px 32px -16px rgba(79, 70, 229, .28);
  --radius: 20px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); color: var(--body); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .55); outline-offset: 3px; border-radius: 6px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.brand img { border-radius: 11px; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--body); }
.nav a:hover { background: var(--soft); color: var(--indigo); }
.nav .nav-cta { background: var(--grad); color: #fff; margin-left: 6px; }
.nav .nav-cta:hover { color: #fff; filter: brightness(1.08); background: var(--grad); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px;
  background: radial-gradient(700px 420px at 85% 20%, rgba(124, 58, 237, .14), transparent 70%),
              radial-gradient(600px 400px at 10% 90%, rgba(37, 99, 235, .12), transparent 70%), var(--bg); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .86rem; font-weight: 600; color: var(--indigo); box-shadow: var(--shadow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 800; margin: 20px 0 18px; letter-spacing: -.035em; }
.lead { font-size: 1.15rem; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; align-items: center; }
.play { display: inline-flex; align-items: center; gap: 12px; background: #0f172a; color: #fff; padding: 12px 22px 12px 18px; border-radius: 14px;
  font-weight: 700; font-size: 1.15rem; line-height: 1.1; box-shadow: 0 12px 24px -12px rgba(15, 23, 42, .6); transition: transform .2s; }
.play small { display: block; font-size: .66rem; letter-spacing: .08em; font-weight: 600; opacity: .85; }
.play:hover { transform: translateY(-2px); }
.play.light { background: #fff; color: var(--ink); }
.ghost { padding: 14px 22px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; color: var(--ink); background: #fff; }
.ghost:hover { border-color: var(--violet); color: var(--violet); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--dim); font-size: .95rem; }
.facts b { color: var(--ink); }

.hero-art { position: relative; height: 560px; }
.phone { position: absolute; border-radius: 34px; padding: 9px; background: #0f172a; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .45); }
.phone img { border-radius: 26px; width: 100%; height: 100%; object-fit: cover; }
.phone-front { width: 270px; height: 540px; left: 12%; top: 10px; z-index: 2; }
.phone-back { width: 240px; height: 480px; right: 4%; top: 64px; transform: rotate(6deg); opacity: .96; }
.bubble { position: absolute; z-index: 3; background: #fff; color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: 16px; box-shadow: var(--shadow);
  display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.b1 { left: 0; top: 120px; border-bottom-left-radius: 4px; }
.b2 { right: 0; bottom: 70px; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec-soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head.left { text-align: left; margin-left: 0; margin-bottom: 20px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.sec h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.sec-head p { color: var(--dim); font-size: 1.08rem; }
.sec p + p { margin-top: 14px; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.feat:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, .35); }
.feat h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.feat p { color: var(--dim); font-size: .98rem; }
.ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; }
.ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c1 { background: #eef2ff; color: #4f46e5; } .c2 { background: #ecfdf5; color: #059669; } .c3 { background: #fdf2f8; color: #db2777; }
.c4 { background: #eff6ff; color: #2563eb; } .c5 { background: #f5f3ff; color: #7c3aed; } .c6 { background: #fff7ed; color: #ea580c; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 0; }
.split-art img { margin: 0 auto; max-height: 560px; width: auto; }
.steps { list-style: none; counter-reset: s; margin-top: 24px; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; align-items: start; }
.steps li::before { content: counter(s); grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; }
.steps b { color: var(--ink); font-size: 1.1rem; }
.steps span { color: var(--dim); }
.note { margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .96rem; }
.text-link { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--violet); }
.text-link:hover { text-decoration: underline; }
.list { margin: 18px 0 18px 22px; display: grid; gap: 10px; }
.list li::marker { color: var(--violet); font-weight: 800; }

.tip { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.tip b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.tip span { color: var(--dim); font-size: .95rem; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--dim); }

.cta-box { display: flex; align-items: center; gap: 26px; padding: 36px 40px; border-radius: 28px; background: var(--grad); color: #fff; box-shadow: 0 30px 60px -28px rgba(79, 70, 229, .7); }
.cta-box img { border-radius: 22px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.cta-box div { flex: 1; }
.cta-box h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-box p { opacity: .92; }

/* ---------- footer ---------- */
.foot { background: #0f172a; color: #cbd5e1; padding: 56px 0 26px; margin-top: 20px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 32px; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot-in > div:not(:first-child) a { display: block; padding: 4px 0; color: #cbd5e1; font-size: .95rem; word-break: break-word; }
.foot a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; font-size: .88rem; color: #94a3b8; }
.copy a { color: #cbd5e1; }

/* ---------- reveal on scroll (only when JS runs and motion is fine) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .hero-in, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 40px 0 56px; }
  .hero-art { height: 470px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone-front { width: 230px; height: 460px; left: 6%; }
  .phone-back { width: 200px; height: 400px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split.rev > :first-child { order: 1; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(15, 23, 42, .25); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .sec { padding: 64px 0; }
  .grid, .grid-4 { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; text-align: center; padding: 32px 22px; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-art { height: 420px; }
  .phone-front { width: 200px; height: 400px; left: 2%; }
  .phone-back { width: 172px; height: 344px; right: 0; }
  .b1 { top: 70px; }
  .b2 { bottom: 40px; }
  .play { padding: 11px 18px 11px 14px; font-size: 1.05rem; }
}
@media (min-width: 761px) and (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- guide pages ---------- */
.page-hero { padding: 48px 0 26px; background: radial-gradient(600px 300px at 90% 0%, rgba(124, 58, 237, .12), transparent 70%), var(--soft); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .9rem; color: var(--dim); margin-bottom: 14px; }
.crumbs a { color: var(--indigo); font-weight: 600; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -.03em; }
.page-hero .meta { margin-top: 14px; font-size: .88rem; color: var(--dim); }
.article { padding-top: 34px; padding-bottom: 40px; }
.article h2 { font-size: clamp(1.4rem, 2.8vw, 1.8rem); font-weight: 800; margin: 42px 0 12px; }
.article p { margin-bottom: 14px; }
.article p a, .article li a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article .text-link { text-decoration: none; }
.ticks { list-style: none; display: grid; gap: 12px; margin: 16px 0 18px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 6px; background: var(--grad); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 9px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ticks b { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 22px 0 8px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.article table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; background: #fff; }
.article th, .article td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--soft); color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.article tr:last-child td { border-bottom: 0; }
.faq-sec { margin: 50px 0 40px; }
.faq-sec h2 { margin-top: 0; }
.more-guides { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.more-guides span { font-weight: 800; color: var(--ink); }
.guide-link { font-weight: 700; color: var(--indigo); }
.guide-link:hover { text-decoration: underline; }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.guide:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, .35); }
.guide .tag { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.guide h3 { font-size: 1.18rem; margin: 8px 0 8px; }
.guide p { color: var(--dim); font-size: .96rem; }
.guide .go { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--indigo); }
.foot-4 { grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; }
@media (max-width: 960px) { .guides { grid-template-columns: 1fr; } .foot-4 { grid-template-columns: 1fr 1fr; } }

/* the app at the top of every guide, and its row in tables */
.app-strip { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid rgba(124, 58, 237, .25); box-shadow: var(--shadow); margin-bottom: 10px; }
.app-strip img { border-radius: 14px; flex: none; }
.app-strip div { flex: 1; min-width: 0; }
.app-strip b { display: block; color: var(--ink); font-size: 1.08rem; }
.app-strip div span { color: var(--dim); font-size: .94rem; }
.app-strip .play { padding: 10px 16px 10px 12px; font-size: 1rem; flex: none; }
.article tr.ours td { background: #f5f3ff; font-weight: 600; color: var(--ink); }
@media (max-width: 600px) { .app-strip { flex-wrap: wrap; } .app-strip .play { width: 100%; justify-content: center; } }
