/* AcrossView website. Brand colour and dark surfaces match the apps (web/public/meet.css). */

:root {
  --brand: #4f8cff;
  --brand-strong: #2563eb;
  --brand-soft: #eaf1ff;
  --ink: #0b1220;
  --text: #253041;
  --muted: #5d6779;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --line: #e3e7ef;
  --dark: #0b0d12;
  --dark-2: #151922;
  --dark-3: #1e2330;
  --dark-line: #2a3142;
  --dark-text: #e9edf5;
  --dark-muted: #9aa4b6;
  --ok: #16a34a;
  --warn-bg: #fff7e0;
  --warn-line: #f0c95b;
  --danger: #dc2626;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 8px 24px rgba(11, 18, 32, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Nirmala UI", "Noto Sans Devanagari", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.lead { font-size: 20px; color: var(--muted); max-width: 720px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); }
.btn-outline-light { background: transparent; color: var(--dark-text); border-color: rgba(233, 237, 245, 0.35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 19px; }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav-links { display: flex; gap: 22px; flex: 1; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 550; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.nav-actions { display: flex; gap: 10px; }
.nav-actions .btn { padding: 9px 16px; font-size: 15px; }
.nav-actions { align-items: center; }
.nav-signin { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 6px; }
.nav-signin:hover { color: var(--brand-strong); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(79, 140, 255, 0.28), transparent 60%), var(--dark); color: var(--dark-text); padding: 72px 0 84px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--dark-muted); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--brand); }
.hero-points { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; color: var(--dark-text); }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(79, 140, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238db4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--dark-muted); }
.page-hero { background: var(--dark); color: var(--dark-text); padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 48px); }
.page-hero .lead { color: var(--dark-muted); }

/* ---------- product mock (hero visual) ---------- */
.mock { position: relative; }
.mock-window { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--dark-3); border-bottom: 1px solid var(--dark-line); font-size: 12px; color: var(--dark-muted); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4255; display: inline-block; }
.mock-bar span { margin-left: 8px; }
.mock-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; font-size: 12px; color: var(--dark-text); border-bottom: 1px solid var(--dark-line); }
.mock-banner b { color: #fff; }
.mock-pill { padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(34, 197, 94, 0.5); color: #86efac; font-size: 11px; }
.mock-pill.blue { border-color: rgba(79, 140, 255, 0.6); color: #8db4ff; }
.mock-stage { position: relative; margin: 10px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1c3d6e, #2a5a8f 55%, #3d76b0); }
.mock-desktop-win { position: absolute; left: 7%; top: 9%; width: 62%; height: 70%; background: #f8fafc; border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); overflow: hidden; }
.mock-desktop-win .t { height: 12%; background: #e2e8f0; }
.mock-desktop-win .rows { padding: 6% 6%; display: grid; gap: 7%; }
.mock-desktop-win .rows i { display: block; height: 7px; border-radius: 4px; background: #cbd5e1; }
.mock-desktop-win .rows i:nth-child(2n) { width: 70%; }
.mock-desktop-win .rows i:nth-child(3n) { width: 85%; background: #93c5fd; }
.mock-desktop-win2 { position: absolute; right: 6%; bottom: 10%; width: 34%; height: 44%; background: #fff; border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.mock-desktop-win2::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 18%; background: #fde68a; border-radius: 6px 6px 0 0; }
.mock-cursor { position: absolute; left: 47%; top: 52%; width: 18px; height: 18px; }
.mock-taskbar { position: absolute; inset: auto 0 0 0; height: 8%; background: rgba(15, 23, 42, 0.75); }
.mock-controls { display: flex; justify-content: center; gap: 8px; padding: 2px 0 12px; }
.mock-controls i { width: 30px; height: 30px; border-radius: 50%; background: var(--dark-3); border: 1px solid var(--dark-line); display: inline-block; }
.mock-controls i.on { background: var(--brand); border-color: var(--brand); }
.mock-controls i.end { background: #ef4444; border-color: #ef4444; width: 44px; border-radius: 999px; }
.mock-phone { position: absolute; right: -14px; bottom: -36px; width: 42%; max-width: 230px; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); border: 1px solid var(--dark-line); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted, .section-dark .lead { color: var(--dark-muted); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p:last-child { margin-bottom: 0; }
.card .card-link { margin-top: auto; padding-top: 10px; font-weight: 650; text-decoration: none; }
.card .card-link::after { content: " →"; }
.section-dark .card { background: var(--dark-2); border-color: var(--dark-line); box-shadow: none; color: var(--dark-text); }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.section-dark .icon { background: rgba(79, 140, 255, 0.15); color: #8db4ff; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.top { align-items: start; }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(11, 18, 32, 0.14); background: var(--dark); }
.shots { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.shots img { width: calc(50% - 9px); max-width: 320px; }
.figure-caption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 12px; }

.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plain-list { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.plain-list li::marker { color: var(--brand); }
.section-dark .ticks li::before { background-color: rgba(79, 140, 255, 0.18); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 750; margin-bottom: 14px; }
.steps h3 { font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }

.callout { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 22px 24px; }
.callout p:last-child { margin-bottom: 0; }
.callout h2 { font-size: 22px; }
code { font: 14px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; background: rgba(11, 18, 32, 0.07); padding: 1px 5px; border-radius: 5px; }
code.hash { display: inline-block; margin-top: 4px; word-break: break-all; }
.callout [lang="hi"] { font-size: 18px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 650; background: var(--brand-soft); color: var(--brand-strong); }
.badge.soon { background: #f1f5f9; color: var(--muted); }
.badge.ok { background: #dcfce7; color: #166534; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.stat { border-left: 3px solid var(--brand); padding: 4px 0 4px 16px; }
.stat-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.section.flush-top { padding-top: 0; }
.stat strong { display: block; font-size: 30px; color: #fff; line-height: 1.2; }
.stat span { color: var(--dark-muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; color: var(--ink); font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand-strong); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #1d4ed8, #4f8cff); color: #fff; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.86); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); color: var(--ink); font-weight: 650; }
tr:last-child td { border-bottom: 0; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--brand); }
.plan .price { font-size: 38px; font-weight: 750; color: var(--ink); margin: 6px 0 2px; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .ticks { margin: 18px 0 24px; font-size: 16px; }
.plan .btn { margin-top: auto; }

/* ---------- prose (legal and long pages) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin: 42px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--muted); font-size: 15px; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 26px 0; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: 15px; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfd6e3; border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.25); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-status.ok { background: #dcfce7; color: #166534; }
.form-status.err { background: #fee2e2; color: #991b1b; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 64px 0 28px; margin-top: 0; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 15px; }
.site-footer h2 { color: #fff; font-size: 15px; letter-spacing: 0.02em; margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.site-footer a { color: var(--dark-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--dark-line); margin-top: 44px; padding-top: 22px; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .grid-4, .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mock-phone { right: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px 22px; flex-direction: column; align-items: stretch; gap: 16px; box-shadow: 0 12px 24px rgba(11, 18, 32, 0.08); }
  .site-nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { padding: 10px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-actions .btn { flex: 1; padding: 12px 16px; }
  .nav-signin { flex: 1 1 100%; text-align: center; border: 1px solid var(--line); border-radius: 12px; }
  .nav-actions { flex-wrap: wrap; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 64px; }
  .lead { font-size: 18px; }
  .grid-4, .stat-row, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 32px 24px; }
  .form .row { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .shots { flex-direction: column; align-items: center; }
  .shots img { width: 100%; max-width: 340px; }
  .mock-phone { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
}
