/* LiveCap landing — "Glass" system, sibling to the app (design/system/tokens.css) */
:root {
  --bg: #0c0e11;
  --bg-2: #101318;
  --glass: rgba(20, 24, 30, 0.55);
  --glass-2: rgba(28, 33, 41, 0.5);
  --hairline: rgba(255, 255, 255, 0.07);
  --edge: rgba(255, 255, 255, 0.09);

  --t-bright: #f3f5f7;   /* original caption / headings */
  --t-mid: #b9bfc7;      /* translation / body */
  --t-dim: #8a9099;      /* partial */
  --t-meta: #6b7178;     /* meta */

  --amber: #e8b84b;
  --amber-soft: rgba(232, 184, 75, 0.5);
  --cool: #5b7bb0;

  --r: 16px;
  --maxw: 1120px;
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t-mid);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--t-bright); font-weight: 600; }
.mono { font-family: var(--mono); }
.them { color: var(--t-bright); }
.me { color: var(--amber); }

/* ---------- atmosphere ---------- */
.atmos { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(120% 80% at 50% -10%, #14181f 0%, var(--bg) 55%); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.blob-cool { width: 620px; height: 620px; left: -10%; top: -8%;
  background: radial-gradient(circle, rgba(91, 123, 176, 0.45), transparent 70%); }
.blob-warm { width: 520px; height: 520px; right: -8%; top: 32%;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.18), transparent 70%); }
.grain { position: absolute; inset: 0; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- glass primitive ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  backdrop-filter: blur(24px) saturate(1.15);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 20px 28px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--t-bright); letter-spacing: -0.02em; font-size: 18px; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; color: var(--t-meta); }
.nav-links a:hover { color: var(--t-bright); }
.nav-links .gh { color: var(--t-mid); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 70px 28px 80px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-meta); margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber-soft); animation: pulse 2.4s ease-in-out infinite; }
h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.035em; color: var(--t-bright); font-weight: 800; }
h1 .thin { color: var(--t-dim); font-weight: 500; }
.lede { margin-top: 24px; font-size: 18px; max-width: 30em; color: var(--t-mid); }
.cta-row { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.cta-row.center { justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 11px;
  font-weight: 600; font-size: 15px; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease; border: 1px solid transparent; }
.btn-primary { background: var(--t-bright); color: #15171b; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { color: var(--t-mid); border-color: var(--edge); }
.btn-ghost:hover { color: var(--t-bright); border-color: var(--t-meta); }
.soon { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--amber); border: 1px solid var(--amber-soft); border-radius: 5px; padding: 1px 5px; margin-left: 2px; }
.microcopy { margin-top: 22px; font-size: 12.5px; color: var(--t-meta); }

/* ---------- hero demo panel ---------- */
.demo { position: relative; }
.demo-panel { padding: 0; overflow: hidden; }
.demo-chrome { display: flex; align-items: center; gap: 7px; padding: 14px 18px 12px; }
.demo-chrome .c-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.13); }
.demo-tabs { margin-left: 12px; font-size: 12.5px; color: var(--t-meta); }
.demo-tabs b { color: var(--t-bright); font-weight: 600; }
.demo-summary { display: flex; align-items: center; gap: 9px; padding: 6px 18px 14px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 9px var(--amber-soft); flex-shrink: 0; animation: pulse 2.4s ease-in-out infinite; }
.summary-text { font-size: 13px; color: var(--t-mid); }
.hairline { height: 1px; background: var(--hairline); margin: 0 18px; }
.demo-feed { padding: 20px 20px 26px; min-height: 312px; display: flex; flex-direction: column; gap: 16px; }
.cap { opacity: 0; transform: translateY(6px); animation: rise 0.5s ease forwards; }
.cap.me { text-align: right; }
.cap .row { display: flex; align-items: baseline; gap: 8px; }
.cap.me .row { justify-content: flex-end; }
.cap .src { font-size: 15px; color: var(--t-bright); font-weight: 500; line-height: 1.4; }
.cap.streaming .src { color: var(--t-dim); font-weight: 400; }
.cap .tr { margin-top: 3px; font-size: 13.5px; color: var(--t-mid); }
.cap .time { font-family: var(--mono); font-size: 10.5px; color: var(--t-meta); }
.cursor { display: inline-block; width: 2px; height: 14px; background: var(--t-dim); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
.demo-shadow { position: absolute; inset: 8% 6% -6% 6%; z-index: -1; border-radius: 30px;
  background: radial-gradient(closest-side, rgba(91,123,176,0.22), transparent); filter: blur(36px); }

/* ---------- why strip ---------- */
.why { max-width: var(--maxw); margin: 0 auto; padding: 36px 28px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; }
.why-item { background: var(--bg-2); padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.why-item .x { font-size: 12px; color: var(--t-meta); }
.why-item p { font-size: 14.5px; color: var(--t-mid); }
.why-item.accent { background: linear-gradient(160deg, rgba(232,184,75,0.08), var(--bg-2)); }
.why-item.accent .x { color: var(--amber); }

/* ---------- sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 88px 28px; }
.section-head { max-width: 40em; margin-bottom: 46px; }
.kicker { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.03em; color: var(--t-bright); font-weight: 800; margin-top: 14px; line-height: 1.08; }
.section-head h2 .thin { color: var(--t-dim); font-weight: 500; }
.section-lede { margin-top: 18px; font-size: 16.5px; color: var(--t-mid); }

/* steps */
.steps { display: flex; align-items: stretch; gap: 16px; }
.step { flex: 1; padding: 28px 26px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 8px; background: rgba(255,255,255,0.06); color: var(--amber); font-size: 14px; margin-bottom: 18px; }
.step h3 { color: var(--t-bright); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--t-mid); }
.step-arrow { display: flex; align-items: center; color: var(--t-meta); font-size: 20px; }

/* engine */
.engine-rows { display: flex; flex-direction: column; gap: 14px; }
.erow { padding: 24px 28px; display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; }
.ehead { display: flex; align-items: center; gap: 12px; }
.erow h3 { color: var(--t-bright); font-size: 19px; font-weight: 700; }
.tag { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--t-meta); border: 1px solid var(--hairline); border-radius: 5px; padding: 2px 7px; }
.tag-free { color: #6fc7a8; border-color: rgba(111,199,168,0.35); }
.tag-soon { color: var(--amber); border-color: var(--amber-soft); }
.erow p { font-size: 14.5px; color: var(--t-mid); }

/* privacy */
.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.priv { padding: 4px; }
.priv h3 { color: var(--t-bright); font-size: 18px; font-weight: 700; margin-bottom: 12px; position: relative; padding-left: 16px; }
.priv h3::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber-soft); }
.priv p { font-size: 14.5px; color: var(--t-mid); }

/* download */
.download { text-align: center; }
.dl-card { max-width: 640px; margin: 0 auto; padding: 48px 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dl-card img { border-radius: 15px; box-shadow: 0 14px 40px rgba(0,0,0,0.5); }
.dl-card h2 { color: var(--t-bright); font-size: 30px; letter-spacing: -0.03em; font-weight: 800; }
.dl-card p { max-width: 36em; color: var(--t-mid); }
.brew { font-size: 13px; color: var(--t-meta); background: rgba(0,0,0,0.3); border: 1px solid var(--hairline); border-radius: 9px; padding: 12px 16px; }

/* footer */
.foot { max-width: var(--maxw); margin: 40px auto 0; padding: 28px; border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; }
.foot-left { display: flex; align-items: center; gap: 9px; color: var(--t-mid); font-weight: 600; }
.foot-left img { border-radius: 6px; }
.foot-left .sep { color: var(--t-meta); }
.foot-left .muted { color: var(--t-meta); font-weight: 400; }
.foot-right { display: flex; gap: 22px; color: var(--t-meta); }
.foot-right a:hover { color: var(--t-bright); }

/* ---------- motion ---------- */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, .cap { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .demo { order: 2; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); justify-content: center; }
  .erow { grid-template-columns: 1fr; gap: 10px; }
  .priv-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.gh) { display: none; }
}
