/* ===== Forem Meet — marketing site (bright modern SaaS, light-first) ===== */
:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-subtle: #f6f8fc;
  --bg-sunken: #eef2f9;
  --surface: #ffffff;
  --hero-top: #f3f7ff;

  /* Lines */
  --border: #e7eaf1;
  --border-strong: #d6dce6;

  /* Text */
  --text: #0d1321;
  --text-2: #3a4255;
  --muted: #667085;

  /* Brand */
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --blue-ink: #1e40af;
  --blue-soft: #eef4ff;
  --blue-bright: #2563eb;
  --green: #16a34a;
  --green-soft: #e9f8ef;
  --red: #ef4444;
  --yellow: #d97706;
  --yellow-soft: #fef3e2;
  --violet: #7c3aed;
  --violet-soft: #f1ebfe;

  /* Radii */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --radius: 16px;

  /* Spacing rhythm (8pt scale) */
  --space-section: 112px;
  --space-section-sm: 72px;

  /* Shadows — soft, layered */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.04);
  --shadow: 0 4px 12px rgba(16, 24, 40, 0.05), 0 2px 4px rgba(16, 24, 40, 0.03);
  --shadow-card: 0 12px 32px rgba(16, 24, 40, 0.07), 0 3px 8px rgba(16, 24, 40, 0.03);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.12);
  --shadow-blue: 0 8px 20px rgba(37, 99, 235, 0.24);

  --maxw: 1180px;

  /* Phone device — always a dark "call app" screen, regardless of page theme */
  --p-shell: #0d0e11;
  --p-bg: #15161a;
  --p-tile: #26282d;
  --p-tile-2: #2f3138;
  --p-text: #f2f4f8;
  --p-muted: #9aa0a6;
}

/* ===== Dark theme (toggle) ===== */
:root[data-theme="dark"] {
  --bg: #0b0d11;
  --bg-subtle: #101319;
  --bg-sunken: #0a0c10;
  --surface: #14171d;
  --hero-top: #11151d;

  --border: #222731;
  --border-strong: #2c333f;

  --text: #f3f5f9;
  --text-2: #c2c8d4;
  --muted: #8b93a3;

  --blue: #3b82f6;
  --blue-strong: #2563eb;
  --blue-ink: #93b4fb;
  --blue-soft: rgba(59, 130, 246, 0.14);
  --blue-bright: #93b4fb;
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.14);
  --red: #f87171;
  --yellow: #fbbf24;
  --yellow-soft: rgba(251, 191, 36, 0.14);
  --violet: #a78bfa;
  --violet-soft: rgba(167, 139, 250, 0.16);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6);
  --shadow-blue: 0 12px 30px rgba(37, 99, 235, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient page glow */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(680px 680px at 6% -8%, rgba(37, 99, 235, 0.045), transparent 62%),
    radial-gradient(680px 680px at 100% 4%, rgba(22, 163, 74, 0.03), transparent 62%);
}
:root[data-theme="dark"] body::before {
  background:
    radial-gradient(760px 760px at 6% -8%, rgba(59, 130, 246, 0.10), transparent 62%),
    radial-gradient(760px 760px at 100% 4%, rgba(52, 211, 153, 0.06), transparent 62%);
}

a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Keyboard focus visibility */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { scroll-behavior: auto; }
}

/* ===== Announcement bar ===== */
.announce {
  position: relative; overflow: hidden;
  background:
    radial-gradient(640px 90px at 10% 0%, rgba(37, 99, 235, 0.10), transparent 70%),
    radial-gradient(640px 90px at 90% 100%, rgba(124, 58, 237, 0.09), transparent 70%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}
/* Slow shimmer sweep across the bar */
.announce::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.45) 50%, transparent 58%);
  transform: translateX(-100%);
  animation: announce-shimmer 7s ease-in-out infinite;
}
:root[data-theme="dark"] .announce::after {
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.05) 50%, transparent 58%);
}
@keyframes announce-shimmer { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .announce::after { display: none; } }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 24px; text-align: center; }
.announce__badge {
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 2px 9px; border-radius: 999px; line-height: 1.7; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}
.announce strong {
  font-weight: 700;
  background: linear-gradient(100deg, #3b82f6, #7c3aed);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="dark"] .announce strong { background-image: linear-gradient(100deg, #93b4fb, #c4b5fd); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
:root[data-theme="dark"] .nav { background: rgba(11, 13, 17, 0.72); }
.nav.is-scrolled { background: rgba(255, 255, 255, 0.9); border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06); }
:root[data-theme="dark"] .nav.is-scrolled { background: rgba(11, 13, 17, 0.92); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; display: block; box-shadow: 0 3px 10px rgba(37, 99, 235, 0.22); }
.brand { flex-shrink: 0; margin-right: 20px; }
.brand__text { display: flex; flex-direction: column; justify-content: center; }
.brand__name { font-size: 18px; letter-spacing: -0.3px; line-height: 1.2; white-space: nowrap; }
.brand__suite {
  font-size: 9px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase;
  white-space: nowrap; line-height: 1.4; margin-top: 1px;
  background: linear-gradient(100deg, #3b82f6, #7c3aed);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="dark"] .brand__suite { background-image: linear-gradient(100deg, #93b4fb, #c4b5fd); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color 0.15s; }
.nav__links a:not(.nav__cta):hover { color: var(--text); }
.nav__cta {
  background: var(--blue); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
  box-shadow: var(--shadow-blue);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.nav__cta:hover { background: var(--blue-strong); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(37, 99, 235, 0.38); }
.nav__web {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px;
  color: var(--text) !important; font-weight: 600;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.nav__links a.nav__web:hover { border-color: var(--blue); color: var(--blue) !important; transform: translateY(-1px); }

/* Hamburger */
.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0; background: transparent; border: 0; cursor: pointer; z-index: 60; }
.nav__toggle span { display: block; width: 24px; height: 2px; margin: 0 auto; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Theme toggle ===== */
.theme-toggle {
  width: 40px; height: 40px; flex-shrink: 0; margin-left: 18px;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: 50%; color: var(--text);
  transition: transform 0.18s, border-color 0.18s, background 0.2s;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--blue); }
.theme-toggle svg { width: 20px; height: 20px; fill: currentColor; }
/* light (default): show moon; dark: show sun */
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (max-width: 860px) { .theme-toggle { margin-left: auto; } }

/* ===== Shared button ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  padding: 13px 22px; transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s, border-color 0.2s, filter 0.2s;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-strong); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(37, 99, 235, 0.36); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(37, 99, 235, 0.11), transparent 60%),
    radial-gradient(820px 460px at 0% 30%, rgba(22, 163, 74, 0.055), transparent 55%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 62%);
  padding: 104px 0 112px;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-ink); font-weight: 600; letter-spacing: 0.2px; font-size: 13px;
  margin: 0 0 20px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-soft); border: 1px solid rgba(37, 99, 235, 0.16);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16); }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.05; font-weight: 800; margin: 0 0 20px; letter-spacing: -1.5px; color: var(--text); }
.grad { background: linear-gradient(100deg, #3b82f6, #2563eb 55%, #1d4ed8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--text-2); font-size: 19px; max-width: 540px; margin: 0 0 28px; }

.hero__avail {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 4px; padding: 12px 18px; max-width: 540px;
  background: var(--blue-soft); border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 12px; color: var(--text); font-size: 15px; line-height: 1.45;
}
.hero__avail strong { color: var(--blue-ink); font-weight: 700; }
.hero__avail-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--green); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); animation: availPulse 2s ease-in-out infinite; }
@keyframes availPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); } 50% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .hero__avail-dot { animation: none; } }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 14px; }
.hero__note { color: var(--muted); font-size: 14px; margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; }
.hero__note::before { content: "🔒"; font-size: 13px; }

/* ===== Store buttons ===== */
.store-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; transition: transform 0.18s ease, filter 0.18s; }
.store-badge img { display: block; width: auto; }
.store-badge--play img { height: 56px; }
.store-badge--appstore img { height: 39px; border-radius: 8px; }
.store-badge:hover { transform: translateY(-3px); filter: brightness(1.04); }
.store-badge[href="#"] { opacity: 0.5; cursor: default; pointer-events: none; }
/* Web app badge — matches the official store badges */
.store-badge--web {
  height: 39px; padding: 0 14px; gap: 9px;
  background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 8px;
}
.store-badge--web svg { flex-shrink: 0; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-badge__text small { font-size: 8.5px; font-weight: 500; letter-spacing: 0.2px; }
.store-badge__text strong { font-size: 15px; font-weight: 600; letter-spacing: 0.1px; }

/* ===== Phone mockup (always dark device screen) ===== */
.hero__art { display: flex; flex-direction: column; align-items: center; position: relative; }
.hero__art::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  filter: blur(24px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 276px; height: 564px;
  background: var(--p-shell); border-radius: 44px; padding: 12px; border: 2px solid #2a2c31;
  box-shadow: 0 50px 100px rgba(16, 24, 40, 0.28), 0 12px 30px rgba(16, 24, 40, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: floaty 6s ease-in-out infinite;
}
:root[data-theme="dark"] .phone { box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-0.4deg); } }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }
.phone__notch { position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 86px; height: 20px; background: var(--p-shell); border-radius: 999px; z-index: 3; }
.phone__screen {
  position: relative; width: 100%; height: 100%;
  background: var(--p-bg); border-radius: 32px; overflow: hidden;
  padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 8px;
}
.callbar { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 2px; flex-shrink: 0; }
.callbar__name { font-size: 12px; font-weight: 600; color: var(--p-text); }
.callbar__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--p-muted); font-variant-numeric: tabular-nums; }
.callbar__dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2); }
.callbar__chat { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; margin-right: 4px; cursor: pointer; background: var(--p-tile-2); border: 0; border-radius: 6px; transition: background 0.18s, transform 0.15s; }
.callbar__chat:hover { background: var(--blue); transform: scale(1.08); }
.callbar__chat svg { width: 12px; height: 12px; fill: #fff; }
.callbar__chat.is-active { background: var(--blue); }
.callbar__badge { position: absolute; top: -5px; right: -5px; min-width: 14px; height: 14px; padding: 0 3px; display: grid; place-items: center; font-size: 9px; font-weight: 700; line-height: 1; color: #fff; background: var(--red); border-radius: 999px; border: 1.5px solid var(--p-bg); }
.callbar__badge[hidden] { display: none; }
.callbar__layout { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; margin-right: 4px; cursor: pointer; background: var(--p-tile-2); border: 0; border-radius: 6px; transition: background 0.18s, transform 0.15s; }
.callbar__layout:hover { background: var(--blue); transform: scale(1.08); }
.callbar__layout svg { width: 12px; height: 12px; fill: #fff; }

.tile { position: relative; background: var(--p-tile); border-radius: 12px; overflow: hidden; }
.tile .cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.tile .name { z-index: 2; display: flex; align-items: center; gap: 4px; background: rgba(0, 0, 0, 0.55); padding: 2px 8px; border-radius: 6px; color: #fff; position: absolute; bottom: 8px; left: 8px; font-size: 11px; font-weight: 500; backdrop-filter: blur(4px); }
.tile .hand { z-index: 2; position: absolute; top: 8px; left: 8px; font-size: 13px; background: var(--blue); border-radius: 6px; padding: 1px 4px; }
.tile .mic-off { width: 11px; height: 11px; fill: var(--red); }
.tile--big { flex: 1.4; border: 2px solid var(--blue); box-shadow: inset 0 0 30px rgba(37, 99, 235, 0.18); }
.tile--big .dot { z-index: 2; width: 9px; height: 9px; border-radius: 50%; background: #34d399; position: absolute; top: 10px; right: 10px; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25); }
.tile--speaking { border: 2px solid var(--blue); animation: pulseRing 2s ease-in-out infinite; }
@keyframes pulseRing { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45); } 50% { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0); } }
.grid2 { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid2 .tile { padding: 0; border: 0; cursor: pointer; font-family: inherit; }
.grid2 .tile:hover { outline: 2px solid #93b4fb; outline-offset: -2px; }
.grid2 .tile.is-pinned { outline: 2px solid var(--blue); outline-offset: -2px; }
.tile__pin { position: absolute; top: 6px; right: 6px; z-index: 3; font-size: 10px; background: var(--blue); border-radius: 5px; padding: 1px 4px; line-height: 1.3; }

.tile--you .mic-off { display: none; }
.tile--you.is-muted .mic-off { display: inline; }
.tile--you.is-muted { border-color: var(--red); }
.cam-off { position: absolute; inset: 0; z-index: 1; display: none; align-items: center; justify-content: center; background: #1b1c1e; color: var(--p-muted); font-size: 13px; font-weight: 600; }
.tile--you.is-cam-off .cam { display: none; }
.tile--you.is-cam-off .cam-off { display: flex; }

.controls { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 6px 0 2px; }
.ctl { width: 36px; height: 36px; border-radius: 50%; background: var(--p-tile-2); display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; color: #fff; transition: transform 0.15s, background 0.2s, filter 0.2s; }
.ctl svg { width: 18px; height: 18px; fill: #fff; }
.ctl:hover { transform: translateY(-2px) scale(1.05); filter: brightness(1.1); }
.ctl:active { transform: scale(0.95); }
.ctl .ico-mic-off, .ctl .ico-cam-off { display: none; }
.ctl.is-off { background: var(--red); }
.ctl.is-off .ico-mic-on, .ctl.is-off .ico-cam-on { display: none; }
.ctl.is-off .ico-mic-off, .ctl.is-off .ico-cam-off { display: block; }
.ctl--share { background: var(--blue); }
.ctl--share.is-on { background: var(--green); box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.25); }
.ctl--end { background: var(--red); width: 50px; border-radius: 18px; }
.ctl--end svg { width: 20px; height: 20px; }

.reaction { position: absolute; font-size: 26px; z-index: 4; }
.reaction.is-live { animation: floatUp 2.6s ease-out forwards; }
@keyframes floatUp { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 15% { opacity: 1; transform: translateY(-8px) scale(1.1); } 100% { transform: translateY(-120px) scale(1); opacity: 0; } }

.reactbar { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); z-index: 5; display: flex; gap: 2px; padding: 5px; background: rgba(0, 0, 0, 0.82); border-radius: 999px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5); animation: popIn 0.18s ease both; }
.reactbar[hidden] { display: none; }
@keyframes popIn { from { opacity: 0; transform: translateX(-50%) translateY(8px) scale(0.9); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
.reactbar button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; font-size: 17px; cursor: pointer; transition: transform 0.12s, background 0.15s; }
.reactbar button:hover { transform: scale(1.25); background: rgba(255, 255, 255, 0.12); }

.phone__toast { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%) translateY(8px); z-index: 5; background: rgba(0, 0, 0, 0.82); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
.phone__toast.is-shown { opacity: 1; transform: translateX(-50%) translateY(0); }

/* In-call chat panel */
.chatpanel { position: absolute; left: 8px; right: 8px; top: 58px; bottom: 52px; z-index: 7; display: flex; flex-direction: column; background: rgba(15, 16, 19, 0.97); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); animation: slideUp 0.22s ease both; }
.chatpanel[hidden] { display: none; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.chatpanel__head { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; font-size: 12px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.08); flex-shrink: 0; }
.chatpanel__close { background: transparent; border: 0; color: var(--p-muted); font-size: 14px; cursor: pointer; padding: 2px 4px; line-height: 1; }
.chatpanel__close:hover { color: #fff; }
.chatpanel__msgs { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.chatmsg { max-width: 82%; align-self: flex-start; }
.chatmsg__name { font-size: 9.5px; color: #93b4fb; font-weight: 600; margin: 0 0 2px 2px; }
.chatmsg__bubble { background: var(--p-tile-2); color: #fff; font-size: 11.5px; line-height: 1.4; padding: 6px 10px; border-radius: 12px 12px 12px 4px; }
.chatmsg--me { align-self: flex-end; }
.chatmsg--me .chatmsg__name { text-align: right; margin: 0 2px 2px 0; color: var(--p-muted); }
.chatmsg--me .chatmsg__bubble { background: var(--blue); border-radius: 12px 12px 4px 12px; }
.chatpanel__form { display: flex; gap: 6px; padding: 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); flex-shrink: 0; }
.chatpanel__form input { flex: 1; min-width: 0; font-family: inherit; font-size: 11.5px; color: #fff; background: var(--p-tile-2); border: 0; border-radius: 999px; padding: 8px 12px; }
.chatpanel__form input:focus { outline: 1px solid var(--blue); }
.chatpanel__form button { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.18s, transform 0.12s; }
.chatpanel__form button:hover { background: var(--blue-strong); transform: scale(1.06); }
.chatpanel__form button svg { width: 15px; height: 15px; }

/* Incoming 1:1 call banner */
.phone__incoming { position: absolute; left: 8px; right: 8px; top: 8px; z-index: 7; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 16px; background: rgba(18, 19, 21, 0.93); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); animation: incomingIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
.phone__incoming[hidden] { display: none; }
@keyframes incomingIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.phone__incoming-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; animation: incomingRing 1.4s ease-out infinite; }
@keyframes incomingRing { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); } 100% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); } }
.phone__incoming-info { flex: 1; min-width: 0; line-height: 1.25; }
.phone__incoming-info strong { display: block; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__incoming-info span { font-size: 11px; color: var(--p-muted); }
.phone__incoming-actions { display: flex; gap: 8px; flex-shrink: 0; }
.phone__incoming-btn { width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: transform 0.15s, filter 0.2s; }
.phone__incoming-btn svg { width: 18px; height: 18px; fill: #fff; }
.phone__incoming-btn--accept { background: var(--green); }
.phone__incoming-btn--decline { background: var(--red); }
.phone__incoming-btn:hover { filter: brightness(1.1); transform: scale(1.06); }
.phone__incoming-btn:active { transform: scale(0.94); }
@media (prefers-reduced-motion: reduce) { .phone__incoming, .phone__incoming-avatar { animation: none; } }

/* Login overlay */
.phone__login { position: absolute; inset: 0; z-index: 8; border-radius: 32px; display: flex; align-items: center; justify-content: center; padding: 20px; background: #fff; animation: slideUp 0.22s ease both; }
.phone__login[hidden] { display: none; }
.phone__login.is-apple { background: #0b0b0c; }
.phone__login-card { width: 100%; text-align: center; color: #1f2328; }
.phone__login.is-apple .phone__login-card { color: #fff; }
.phone__login-logo { display: flex; justify-content: center; margin-bottom: 14px; }
.phone__login-title { margin: 0 0 2px; font-size: 16px; font-weight: 600; }
.phone__login-sub { margin: 0 0 18px; font-size: 12px; color: #5f6368; }
.phone__login.is-apple .phone__login-sub { color: #9aa0a6; }
.phone__login-acct { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer; background: #fff; border: 1px solid #dadce0; border-radius: 10px; padding: 8px 10px; margin-bottom: 12px; transition: background 0.15s, border-color 0.15s; }
.phone__login-acct:hover { background: #f6f8fc; border-color: #2563eb; }
.phone__login.is-apple .phone__login-acct { background: #1c1c1e; border-color: #333; color: #fff; }
.phone__login.is-apple .phone__login-acct:hover { border-color: #fff; }
.phone__login-acct img { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.phone__login-acct strong { display: block; font-size: 12px; }
.phone__login-acct small { font-size: 10.5px; color: #5f6368; }
.phone__login.is-apple .phone__login-acct small { color: #9aa0a6; }
.phone__login-continue { width: 100%; border: 0; border-radius: 999px; padding: 11px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 13px; background: #2563eb; color: #fff; margin-bottom: 8px; transition: filter 0.15s; }
.phone__login-continue:hover { filter: brightness(1.06); }
.phone__login.is-apple .phone__login-continue { background: #fff; color: #000; }
.phone__login-cancel { background: transparent; border: 0; cursor: pointer; padding: 4px; font-family: inherit; font-size: 12px; color: #5f6368; }
.phone__login.is-apple .phone__login-cancel { color: #9aa0a6; }
.phone__login-cancel:hover { text-decoration: underline; }

/* Call-ended overlay */
.phone__ended { position: absolute; inset: 0; z-index: 6; border-radius: 32px; background: rgba(14, 15, 16, 0.92); backdrop-filter: blur(4px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.phone__ended[hidden] { display: none; }
.phone__ended p { margin: 0; color: #fff; font-size: 16px; font-weight: 600; }
.phone__rejoin { font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 10px 22px; transition: transform 0.15s, filter 0.2s; }
.phone__rejoin:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* Speaker layout */
.phone__screen.is-speaker .tile--big { flex: 2.4; }
.phone__screen.is-speaker .grid2 { flex: 0 0 64px; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.phone__screen.is-speaker .grid2 .name { display: none; }

.phone__hint { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--muted); position: relative; z-index: 2; animation: hintPulse 2.4s ease-in-out infinite; }
@keyframes hintPulse { 0%, 100% { opacity: 0.65; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .phone__hint { animation: none; } }

/* ===== Trust band ===== */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 40px 0; text-align: center; }
.stat__num { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -1px; background: linear-gradient(100deg, var(--text), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== Section primitives ===== */
.section-eyebrow { display: block; text-align: center; color: var(--blue-ink); font-weight: 700; font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; margin: 0 0 14px; }
.section-title { text-align: center; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.8px; color: var(--text); }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 56px; font-size: 18px; line-height: 1.55; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ===== Features ===== */
.features { padding: var(--space-section) 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s, box-shadow 0.24s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--shadow-card); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--blue-soft); margin-bottom: 16px; transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1); }
.feature:hover .feature__icon { transform: scale(1.06) rotate(-3deg); }
.feature h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--text); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature__badge { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; padding: 4px 10px; border-radius: 999px; color: var(--yellow); background: var(--yellow-soft); border: 1px solid rgba(217, 119, 6, 0.3); }
.feature--soon .feature__icon { opacity: 0.75; }

/* ===== How it works ===== */
.how { padding: var(--space-section) 0; background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 26px; box-shadow: var(--shadow-sm); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.step:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--shadow-card); }
.step__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #3b82f6, var(--blue) 60%, var(--blue-strong)); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px; box-shadow: var(--shadow-blue); }
.step h3 { margin: 0 0 6px; font-size: 19px; color: var(--text); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Try-it demo ===== */
.trydemo { padding: var(--space-section) 0; }
.trydemo__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1080px; margin: 0 auto; align-items: start; }
.trydemo__card { position: relative; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow-card); }
.trydemo__card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 700; color: var(--text); }
.trydemo__lede { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.trydemo__lede code, .trydemo__hint code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--blue-soft); color: var(--blue-ink); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; word-break: break-word; }
.trydemo__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; color: var(--blue-ink); background: var(--blue-soft); }
.trydemo__tag--green { color: var(--green); background: var(--green-soft); }
.trydemo__tag--violet { color: var(--violet); background: var(--violet-soft); }
.trydemo__create { width: 100%; }
.trydemo__hint { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

.meeting { margin-top: 20px; animation: fadeUp 0.4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.meeting__label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.meeting__code-row { display: flex; gap: 10px; align-items: stretch; }
.meeting__code { flex: 1; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--text); background: var(--bg-sunken); border: 1px dashed var(--border-strong); border-radius: 12px; padding: 12px 14px; }
.meeting__copy { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px; color: #fff; background: var(--blue); border: 0; border-radius: 12px; padding: 0 16px; transition: background 0.2s, transform 0.15s; }
.meeting__copy:hover { background: var(--blue-strong); transform: translateY(-1px); }
.meeting__copy svg { fill: currentColor; }
.meeting__copy.is-copied { background: var(--green); }
.meeting__qr { width: 132px; height: 132px; margin: 18px auto 0; padding: 8px; background: #fff; border-radius: 12px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.meeting__qr:empty { display: none; }
.meeting__qr img, .meeting__qr canvas { display: block; width: 100% !important; height: 100% !important; }
.meeting__share { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.5; }
.meeting__share a { color: var(--blue-ink); font-weight: 600; }
.meeting__regen { display: block; margin: 16px auto 0; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--blue-ink); background: transparent; border: 0; padding: 6px; }
.meeting__regen:hover { text-decoration: underline; }
.meeting__actions { display: flex; gap: 10px; margin-top: 16px; }
.meeting__act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 10px; padding: 10px; transition: border-color 0.18s, transform 0.15s, color 0.18s; }
.meeting__act:hover { border-color: var(--blue); color: var(--blue-ink); transform: translateY(-1px); }
.meeting__act svg { fill: currentColor; }

.joinform__field { display: flex; gap: 10px; }
.joinform__input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; letter-spacing: 1px; color: var(--text); background: var(--bg-sunken); border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 14px; transition: border-color 0.18s, box-shadow 0.18s; }
.joinform__input::placeholder { color: var(--muted); opacity: 0.7; letter-spacing: 1px; }
.joinform__input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.joinform.is-invalid .joinform__input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16); }
.joinform__btn { flex-shrink: 0; }
.joinform__msg { margin: 12px 0 0; font-size: 13.5px; min-height: 18px; }
.joinform__msg.is-error { color: var(--red); }
.joinform__msg.is-ok { color: var(--green); }

.schedule { display: flex; gap: 10px; }
.schedule__input { flex: 1; min-width: 0; font-family: inherit; font-size: 14px; color: var(--text); background: var(--bg-sunken); border: 1px solid var(--border-strong); border-radius: 12px; padding: 0 12px; height: 48px; color-scheme: light dark; }
.schedule__input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.schedule.is-invalid .schedule__input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16); }
.schedule__btn { flex-shrink: 0; }
.schedule__msg { margin: 12px 0 0; font-size: 13.5px; min-height: 18px; }
.schedule__msg.is-error { color: var(--red); }
.schedule__result { margin-top: 18px; }
.schedule__when { text-align: center; font-weight: 700; font-size: 16px; margin-bottom: 10px; color: var(--text); }
.schedule__code-row { display: flex; }
.schedule__reminder { margin: 14px 0 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--green); }

/* ===== Use cases ===== */
.usecases { padding: var(--space-section) 0; background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usecase { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s, box-shadow 0.24s; }
.usecase:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--shadow-card); }
.usecase__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; line-height: 1; background: var(--blue-soft); margin-bottom: 16px; }
.usecase h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--text); }
.usecase p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===== Security ===== */
.security { padding: var(--space-section) 0; }
.security__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.security__copy .eyebrow { margin-bottom: 14px; }
.security__title { text-align: left; margin: 0 0 16px; }
.security__lede { color: var(--text-2); font-size: 17px; margin: 0 0 22px; max-width: 520px; }
.security__lede strong { color: var(--blue-ink); font-weight: 700; }
.security__link { color: var(--blue-ink); font-weight: 600; font-size: 15px; transition: color 0.15s; }
.security__link:hover { color: var(--blue-strong); }
.security__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.security__list li { display: flex; align-items: flex-start; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.security__list li:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--shadow-card); }
.security__check { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; background: var(--blue-soft); }
.security__list div { display: flex; flex-direction: column; gap: 3px; }
.security__list strong { font-size: 15.5px; font-weight: 700; color: var(--text); }
.security__list span { color: var(--muted); font-size: 14px; }

/* ===== FAQ ===== */
.faq { padding: var(--space-section) 0; background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq__search { position: relative; max-width: 820px; margin: 0 auto 18px; }
.faq__search-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
#faq-search { width: 100%; font-family: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; padding: 14px 16px 14px 44px; box-shadow: var(--shadow-xs); transition: border-color 0.18s, box-shadow 0.18s; }
#faq-search::placeholder { color: var(--muted); }
#faq-search:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.faq__empty { max-width: 820px; margin: 0 auto 14px; text-align: center; color: var(--muted); font-size: 15px; }
.faq__empty a { color: var(--blue-ink); }
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; box-shadow: var(--shadow-xs); transition: border-color 0.2s, box-shadow 0.2s; }
.faq__item[open] { border-color: rgba(37, 99, 235, 0.45); box-shadow: var(--shadow-sm); }
.faq__item.is-hidden { display: none; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 16.5px; font-weight: 600; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 400; color: var(--blue-ink); background: var(--blue-soft); transition: transform 0.25s ease, background 0.2s, color 0.2s; }
.faq__item[open] summary::after { content: "−"; transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq__item p { margin: 0; padding: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 680px; }

/* ===== Sign in ===== */
.signin { padding: var(--space-section) 0; }
.signin__card { max-width: 520px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 44px 36px; box-shadow: var(--shadow-card); }
.signin__card .section-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.signin__card .section-sub { margin-bottom: 26px; font-size: 16px; }
.signin__info-btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--blue-ink); background: var(--blue-soft); border: 1px solid rgba(37, 99, 235, 0.2); transition: background 0.2s, border-color 0.2s, transform 0.15s; }
.signin__info-btn:hover { background: rgba(37, 99, 235, 0.16); transform: translateY(-1px); }
.signin__info-btn svg { flex-shrink: 0; }
.signin__info-btn[aria-expanded="true"] { background: var(--blue); color: #fff; border-color: transparent; }
.signin__platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 24px; }
.plat { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 600; background: var(--bg-subtle); border: 1px solid var(--border); color: var(--text); transition: transform 0.15s, border-color 0.2s; }
.plat:hover { transform: translateY(-2px); }
.plat__ico { font-size: 14px; }
.plat--on { border-color: rgba(22, 163, 74, 0.4); }
.plat--on:hover { border-color: var(--green); }
.plat__tick { color: var(--green); font-weight: 800; }
.plat--soon { color: var(--muted); }
.plat__tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; color: var(--yellow); background: var(--yellow-soft); padding: 1px 7px; border-radius: 999px; }
.signin__buttons { display: flex; flex-direction: column; gap: 12px; max-width: 360px; margin: 0 auto; }
.auth-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 52px; padding: 0 20px; border-radius: 12px; font-family: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s, filter 0.2s; }
.auth-btn:hover { transform: translateY(-2px); }
.auth-btn:active { transform: translateY(0); }
.auth-btn__icon { display: inline-flex; align-items: center; }
.auth-btn--google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.auth-btn--google:hover { box-shadow: var(--shadow-card); background: #f7f8f8; }
.auth-btn--apple { background: #000; color: #fff; border-color: rgba(0, 0, 0, 0.2); }
.auth-btn--apple:hover { box-shadow: var(--shadow-card); filter: brightness(1.15); }
.signin__note { margin: 22px auto 0; max-width: 420px; padding: 12px 16px; background: var(--blue-soft); border: 1px solid rgba(37, 99, 235, 0.25); border-radius: 12px; color: var(--text); font-size: 14px; line-height: 1.5; }
.signin__terms { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.signin__terms a { color: var(--blue-ink); }
.signin__terms a:hover { color: var(--blue-strong); }

/* ===== Download CTA ===== */
.download { position: relative; overflow: hidden; padding: var(--space-section) 0; text-align: center; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%); border-top: 1px solid var(--border); }
.download__inner h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin: 0 0 12px; letter-spacing: -1px; color: var(--text); }
.download__inner > p { color: var(--text-2); font-size: 18px; margin: 0 0 30px; }
.download .store-buttons { justify-content: center; }
.infobox { display: inline-flex; align-items: center; gap: 12px; margin: 26px auto 0; padding: 14px 22px; max-width: 580px; background: var(--blue-soft); border: 1px solid rgba(37, 99, 235, 0.25); border-radius: 14px; color: var(--text); text-align: left; font-weight: 500; }
.infobox__icon { font-size: 18px; line-height: 1; flex-shrink: 0; }
.infobox p { margin: 0; font-size: 14.5px; color: var(--text); }

/* Web app CTA card */
.webcta {
  display: flex; align-items: center; gap: 18px;
  margin: 34px auto 0; padding: 20px 24px; max-width: 680px;
  text-align: left;
  border: 1px solid transparent; border-radius: 18px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(120deg, rgba(37, 99, 235, 0.55), rgba(124, 58, 237, 0.45)) border-box;
  box-shadow: var(--shadow-card);
}
.webcta__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  color: #fff; box-shadow: var(--shadow-blue);
}
.webcta__body { flex: 1; }
.webcta__body strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--text); letter-spacing: -0.1px; }
.webcta__body p { margin: 3px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.webcta__body a { color: var(--blue-ink); font-weight: 600; }
.webcta__body a:hover { text-decoration: underline; }
.webcta__link {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 11px 20px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-blue); white-space: nowrap;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.webcta__link:hover { background: var(--blue-strong); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(37, 99, 235, 0.38); }
.webcta__link svg { transition: transform 0.15s; }
.webcta__link:hover svg { transform: translateX(3px); }
@media (max-width: 640px) {
  .webcta { flex-direction: column; text-align: center; gap: 14px; padding: 24px 20px; }
}
.notify { max-width: 480px; margin: 34px auto 0; text-align: center; }
.notify__title { margin: 0 0 14px; color: var(--text); font-size: 15px; font-weight: 600; }
.notify__row { display: flex; gap: 10px; }
.notify__input { flex: 1; min-width: 0; font-family: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; padding: 13px 16px; box-shadow: var(--shadow-xs); transition: border-color 0.18s, box-shadow 0.18s; }
.notify__input::placeholder { color: var(--muted); }
.notify__input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.notify.is-invalid .notify__input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16); }
.notify__btn { flex-shrink: 0; }
.notify__msg { margin: 12px 0 0; font-size: 13.5px; min-height: 18px; }
.notify__msg.is-error { color: var(--red); }
.notify__msg.is-ok { color: var(--green); }

/* ===== Testimonials (optional, JS-driven) ===== */
.tmonials { padding: 96px 0; }
.tcarousel { position: relative; max-width: 760px; margin: 0 auto; }
.tcarousel__viewport { overflow: hidden; border-radius: var(--r); }
.tcarousel__track { display: flex; margin: 0; padding: 0; list-style: none; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.tslide { flex: 0 0 100%; box-sizing: border-box; padding: 40px 42px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-card); }
.tslide__quote { margin: 0 0 24px; font-size: 19px; line-height: 1.55; color: var(--text); font-weight: 500; }
.tslide__person { display: flex; align-items: center; gap: 14px; }
.tslide__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tslide__person strong { display: block; font-size: 15px; color: var(--text); }
.tslide__person span { font-size: 13.5px; color: var(--muted); }
.tcarousel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 24px; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background 0.18s, border-color 0.18s, transform 0.15s; }
.tcarousel__nav:hover { border-color: var(--blue); color: var(--blue-ink); }
.tcarousel__nav--prev { left: -18px; }
.tcarousel__nav--next { right: -18px; }
.tcarousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.tcarousel__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--border-strong); transition: background 0.2s, transform 0.2s; }
.tcarousel__dots button.is-active { background: var(--blue); transform: scale(1.25); }

/* ===== Footer ===== */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 72px 0 36px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer__about { max-width: 360px; }
.footer__tagline { color: var(--muted); font-size: 14.5px; margin: 16px 0 20px; }
.footer__stores { gap: 10px; }
.footer__stores .store-badge--play img { height: 46px; }
.footer__stores .store-badge--appstore img { height: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0.3px; }
.footer__col a { color: var(--muted); font-size: 14.5px; transition: color 0.15s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 28px; }
.footer__powered { color: var(--text); font-size: 14px; margin: 0; }
.footer__powered strong { color: var(--blue-ink); font-weight: 700; }
.footer__copy { color: var(--muted); font-size: 13px; margin: 0; }

/* ===== Active nav link ===== */
.nav__links a.is-active:not(.nav__cta) { color: var(--text); }
.nav__links a.is-active:not(.nav__cta)::after { content: ""; display: block; height: 2px; border-radius: 2px; background: var(--blue); margin-top: 3px; }
@media (max-width: 860px) { .nav__links a.is-active:not(.nav__cta)::after { display: none; } }

/* ===== Back to top ===== */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; background: var(--blue); color: #fff; border: 0; border-radius: 50%; box-shadow: var(--shadow-blue); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-strong); transform: translateY(-3px); }
.to-top svg { width: 24px; height: 24px; }

/* ===== Scroll progress ===== */
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 80; height: 3px; width: 0; background: linear-gradient(90deg, #3b82f6, var(--blue) 60%, var(--green)); box-shadow: 0 0 10px rgba(37, 99, 235, 0.4); transition: width 0.08s linear; pointer-events: none; }

/* Theme-change easing */
:root.theme-anim, :root.theme-anim body, :root.theme-anim .nav, :root.theme-anim .feature, :root.theme-anim .usecase, :root.theme-anim .step, :root.theme-anim .faq__item, :root.theme-anim .signin__card, :root.theme-anim .footer { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 20px calc(20px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  :root[data-theme="dark"] .nav__links { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__links a:not(.nav__cta) { padding: 13px 14px; border-radius: 10px; font-size: 16px; color: var(--text); }
  .nav__links a:not(.nav__cta):hover { background: var(--bg-subtle); }
  .nav__cta { text-align: center; margin-top: 6px; padding: 13px 18px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .hero__copy { order: 1; }
  .hero__art { order: 2; margin-top: 32px; }
  .eyebrow { margin-left: auto; margin-right: auto; }
  .lede, .hero__avail { margin-left: auto; margin-right: auto; }
  .hero__actions, .store-buttons { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .security__inner { grid-template-columns: 1fr; gap: 32px; }
  .security__title { text-align: center; }
  .security__copy { text-align: center; }
  .security__copy .eyebrow { margin-left: auto; margin-right: auto; }
  .security__lede { text-align: center; margin-left: auto; margin-right: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__about { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 980px) {
  .trydemo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
}

@media (max-width: 760px) {
  .features, .how, .trydemo, .usecases, .security, .faq, .signin, .download { padding: var(--space-section-sm) 0; }
  .section-sub { margin-bottom: 40px; }
  .trydemo__grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .tslide { padding: 30px 26px; }
  .tslide__quote { font-size: 17px; }
}

@media (max-width: 820px) {
  .tcarousel__nav--prev { left: 6px; }
  .tcarousel__nav--next { right: 6px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -1.2px; }
  .hero__avail { font-size: 14px; padding: 12px 16px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__about { text-align: center; }
  .footer__about .brand { justify-content: center; }
  .footer__stores { justify-content: center; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }
}

@media (max-width: 480px) {
  .joinform__field { flex-direction: column; }
  .schedule { flex-direction: column; }
  .notify__row { flex-direction: column; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 380px) {
  .phone { width: 244px; height: 498px; }
  .store-badge--play img { height: 50px; }
}
