/**
 * Vestmind Lens — the browser extension's page.
 *
 * Scoped under `.ln-page`, so nothing here can reach the shared primary menu
 * or the site footer: both paint their own surfaces.
 *
 * The palette is VestFire's — VestMind navy over a soft blue sky — so the
 * product pages read as one family. The opening is the shared product banner
 * (styles/product-banner.css), where the install button takes the banner's
 * blue; further down, amber marks the install button again, and the marks Lens
 * draws in the illustration are amber as they are in the extension.
 */

.ln-body { background: #F4F8FC; }

.ln-page {
  --ln-navy: #072A5E;
  --ln-ink: #1C2C46;
  --ln-muted: #5C6E88;
  --ln-dim: #8494AA;
  --ln-amber: #F5B23E;
  --ln-amber-deep: #D9912A;
  --ln-amber-wash: #FDF1DA;
  --ln-highlight: #FFD97A;
  --ln-line: #E3EBF5;
  --ln-card: #FFFFFF;
  --ln-radius: 18px;
  --ln-shadow: 0 2px 10px rgba(7, 42, 94, .05);
  --ln-shadow-lift: 0 18px 44px rgba(7, 42, 94, .12);

  background: #F4F8FC;
  color: var(--ln-ink);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: clip;
}

.ln-page [hidden] { display: none !important; }

.ln-main { padding: 0 0 96px; }

/* The page's column. The FAQ between two of these is full-bleed, as it is on
   every other page that carries the site's questions section. */
.ln-wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.ln-kicker {
  color: var(--ln-amber-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.ln-kicker--light { color: var(--ln-amber); }

/* ── Hero ─────────────────────────────────────────────────────────────── */

/* The layout, the type and the actions are the shared product banner's. The
   product name sits inside the heading, so the pill is a span of the h1. */
.ln-hero .ln-eyebrow { flex-wrap: wrap; }
.ln-headline { display: block; }

.ln-install {
  align-items: center;
  background: var(--ln-amber);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(245, 178, 62, .28);
  color: var(--ln-navy);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  height: 54px;
  padding: 0 22px 0 18px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.ln-install:hover { background: #F7BC55; box-shadow: 0 14px 30px rgba(245, 178, 62, .4); transform: translateY(-1px); }
.ln-install:active { transform: translateY(0); }
.ln-install:focus-visible { outline: 3px solid rgba(7, 42, 94, .35); outline-offset: 3px; }
.ln-install svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.ln-chrome { height: 22px; stroke-width: 1.8; width: 22px; }
.ln-external { height: 16px; opacity: .7; stroke-width: 2.2; transition: transform .18s ease; width: 16px; }
.ln-install:hover .ln-external { transform: translate(2px, -2px); }

.ln-browser-hint {
  background: var(--ln-amber-wash);
  border: 1px solid #F3DDB2;
  border-radius: 12px;
  color: #6B4A12;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 14px 0 0;
  max-width: 520px;
  padding: 10px 14px;
}

.ln-assurances { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.ln-assurances li {
  align-items: center; background: rgba(255, 255, 255, .82); border: 1px solid rgba(215, 222, 233, .9); border-radius: 9px;
  color: #344260; display: flex; font-size: 12.5px; font-weight: 600; gap: 7px; min-height: 34px; padding: 4px 12px 4px 8px;
}
.ln-assurances svg {
  background: #d9ecfd; border-radius: 50%; color: #0758e8; fill: none; height: 20px;
  padding: 3px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; width: 20px;
}

/* ── The illustration ─────────────────────────────────────────────────── */

/* The browser window stands inside the banner's frame, a little wider than
   the frame leaves room for a phone, and the explanation floats off its edge
   where the landing's cards do. */
.ln-demo .pb-frame { right: 16%; }
.ln-demo .ln-window { left: 9%; position: absolute; right: 21%; top: calc(clamp(28px, 6vh, 56px) + 44px); }

.ln-window {
  background: var(--ln-card);
  border: 1px solid var(--ln-line);
  border-radius: 16px;
  box-shadow: var(--ln-shadow-lift);
  overflow: hidden;
}

.ln-window__bar {
  align-items: center; background: #F3F7FC; border-bottom: 1px solid var(--ln-line);
  display: flex; gap: 12px; padding: 10px 14px;
}
.ln-dots { display: flex; gap: 6px; }
.ln-dots i { background: #D6E0EC; border-radius: 50%; height: 10px; width: 10px; }
.ln-url {
  align-items: center; background: #fff; border: 1px solid var(--ln-line); border-radius: 999px; color: var(--ln-dim);
  display: flex; flex: 1; font-size: 12px; gap: 6px; min-width: 0; overflow: hidden; padding: 5px 12px; white-space: nowrap;
}
.ln-url svg { fill: none; flex: none; height: 12px; stroke: currentColor; stroke-width: 2; width: 12px; }
.ln-window__ext {
  background: var(--ln-amber-wash); border-radius: 6px; box-sizing: content-box; height: 15px;
  object-fit: contain; padding: 4px 3px; width: 22px;
}

.ln-article { padding: 24px 26px 30px; position: relative; }
.ln-article__kicker { color: var(--ln-dim); font-size: 11px; font-weight: 700; letter-spacing: .12em; margin: 0 0 8px; text-transform: uppercase; }
.ln-article__headline {
  color: var(--ln-navy); font-family: var(--font-display); font-size: 21px; font-weight: 800;
  letter-spacing: -.015em; line-height: 1.25; margin: 0 0 14px;
}
.ln-article__text { color: var(--ln-ink); font-size: 14px; line-height: 1.7; margin: 0 0 16px; }

.ln-circled { display: inline-block; position: relative; white-space: nowrap; }
.ln-circled svg {
  height: 150%; left: -18%; overflow: visible; pointer-events: none; position: absolute; top: -22%; width: 136%;
}
.ln-circled path {
  fill: none; stroke: var(--ln-amber-deep); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6;
}
.ln-circled path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: ln-draw .9s ease-out .9s forwards; vector-effect: non-scaling-stroke; }

.ln-hl {
  background-image: linear-gradient(transparent 58%, rgba(255, 217, 122, .85) 58%);
  background-repeat: no-repeat;
  background-size: 0 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: ln-sweep 1.1s cubic-bezier(.3, .7, .3, 1) .35s forwards;
}

.ln-skeleton { display: grid; gap: 9px; }
.ln-skeleton i { background: #EEF3F9; border-radius: 6px; display: block; height: 9px; }
.ln-skeleton .is-short { width: 58%; }


.ln-explain {
  background: rgba(255, 255, 255, .96);
  border: 1px solid #F0DDB8;
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(7, 42, 94, .16);
  display: grid;
  gap: 10px;
  opacity: 0;
  padding: 16px 18px;
  position: absolute;
  right: 0;
  top: 54%;
  transform: translateY(10px);
  width: min(320px, 62%);
  animation: ln-rise .6s ease-out 1.7s forwards;
}
.ln-explain__head { align-items: center; color: var(--ln-navy); display: flex; font-size: 13px; font-weight: 800; gap: 8px; }
.ln-explain__head img { height: 15px; object-fit: contain; width: 22px; }
.ln-explain__head small { color: var(--ln-dim); font-size: 11px; font-weight: 600; margin-left: auto; }
.ln-explain__title { color: var(--ln-ink); font-size: 14.5px; font-weight: 700; }
.ln-flow { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; }
.ln-flow b { background: #EEF4FB; border-radius: 8px; color: var(--ln-navy); font-size: 12px; font-weight: 700; padding: 4px 8px; }
.ln-flow i { color: var(--ln-amber-deep); font-style: normal; font-weight: 700; }
.ln-math {
  background: #FBF8F2; border: 1px dashed #EBD3A6; border-radius: 10px; color: var(--ln-muted);
  display: grid; font-size: 12.5px; gap: 2px; padding: 8px 10px;
}
.ln-math__result { color: var(--ln-navy); font-weight: 700; }
.ln-math__result em { color: #B42318; font-style: normal; margin-left: 4px; }
.ln-explain__cta {
  background: var(--ln-navy); border-radius: 10px; color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 9px 12px; text-align: center;
}

@keyframes ln-draw { to { stroke-dashoffset: 0; } }
@keyframes ln-sweep { to { background-size: 100% 100%; } }
@keyframes ln-rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .ln-hl, .ln-circled path, .ln-explain { animation: none; }
  .ln-hl { background-size: 100% 100%; }
  .ln-circled path { stroke-dashoffset: 0; }
  .ln-explain { opacity: 1; transform: none; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.ln-section { padding: 48px 0 0; }
.ln-section__head { margin: 0 auto 28px; max-width: 680px; text-align: center; }
.ln-section h2, .ln-privacy h2, .ln-final h2 {
  color: var(--ln-navy); font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0;
}

.ln-steps { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.ln-step {
  background: var(--ln-card);
  border: 1px solid var(--ln-line);
  border-radius: var(--ln-radius);
  box-shadow: var(--ln-shadow);
  padding: 26px 26px 28px;
  position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
}
.ln-step:hover { box-shadow: 0 14px 34px rgba(7, 42, 94, .09); transform: translateY(-2px); }
.ln-step__num {
  color: #D9E5F5; font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1;
  position: absolute; right: 22px; top: 18px;
}
.ln-step__icon {
  align-items: center; background: var(--ln-amber-wash); border-radius: 50%; color: var(--ln-amber-deep);
  display: flex; height: 48px; justify-content: center; margin-bottom: 18px; width: 48px;
}
.ln-step__icon svg { fill: none; height: 22px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 22px; }
.ln-step h3 { color: var(--ln-navy); font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.ln-step p { color: var(--ln-muted); font-size: 14.5px; line-height: 1.65; margin: 0; }
.ln-step a { border-bottom: 1px solid rgba(7, 42, 94, .3); color: var(--ln-navy); font-weight: 700; }
.ln-step a:hover { border-bottom-color: var(--ln-navy); }

.ln-split { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding-top: 20px; }
.ln-panel {
  background: var(--ln-card);
  border: 1px solid var(--ln-line);
  border-radius: var(--ln-radius);
  box-shadow: var(--ln-shadow);
  padding: 30px;
}
.ln-panel h2 { font-size: clamp(20px, 2vw, 24px); margin-bottom: 20px; }

.ln-sources { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ln-sources li {
  align-items: center; background: #F5F9FD; border: 1px solid var(--ln-line); border-radius: 999px;
  color: var(--ln-ink); display: flex; font-size: 14px; font-weight: 600; gap: 8px; padding: 9px 16px 9px 12px;
}
.ln-sources svg { color: var(--ln-navy); fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 18px; }

.ln-keys { display: grid; gap: 12px; margin: 0; }
.ln-keys div { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.ln-keys dt { display: flex; gap: 5px; }
.ln-keys dd { color: var(--ln-muted); font-size: 14px; margin: 0; }
.ln-keys kbd {
  background: #fff; border: 1px solid #D3DFEC; border-bottom-width: 3px; border-radius: 8px; color: var(--ln-navy);
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700; min-width: 30px; padding: 4px 8px; text-align: center;
}
.ln-panel__note { border-top: 1px solid var(--ln-line); color: var(--ln-muted); font-size: 13px; line-height: 1.55; margin: 20px 0 0; padding-top: 16px; }
.ln-panel__note em { color: var(--ln-ink); font-style: normal; font-weight: 700; }

/* ── What it is ───────────────────────────────────────────────────────── */

/* The answer to "what is Vestmind Lens", written to be quoted on its own: the
   paragraph carries `vx-definition`, the class the page's speakable markup
   points an assistant at. */
.ln-define {
  align-items: start;
  display: grid;
  gap: 28px 48px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}
.ln-define h2 { margin-bottom: 14px; }
.ln-define .vx-definition { color: var(--ln-ink); font-size: 17px; line-height: 1.7; margin: 0 0 22px; }
.ln-features { display: grid; gap: 10px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.ln-features li { color: var(--ln-muted); font-size: 14px; line-height: 1.5; padding-left: 26px; position: relative; }
.ln-features li::before {
  background: var(--ln-amber-wash); border-radius: 50%; content: ''; height: 18px; left: 0; position: absolute; top: 1px; width: 18px;
}
.ln-features li::after {
  border-bottom: 2px solid var(--ln-amber-deep); border-left: 2px solid var(--ln-amber-deep); content: '';
  height: 4px; left: 5px; position: absolute; top: 6px; transform: rotate(-45deg); width: 8px;
}

.ln-facts {
  background: var(--ln-card);
  border: 1px solid var(--ln-line);
  border-radius: var(--ln-radius);
  box-shadow: var(--ln-shadow);
  padding: 24px 24px 10px;
}
.ln-facts h3 { color: var(--ln-navy); font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.ln-facts dl { margin: 0; }
.ln-facts div { border-top: 1px solid var(--ln-line); display: grid; gap: 4px 16px; grid-template-columns: 96px minmax(0, 1fr); padding: 12px 0; }
.ln-facts dt { color: var(--ln-dim); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ln-facts dd { color: var(--ln-ink); font-size: 14px; line-height: 1.5; margin: 0; }

/* ── What it explains ─────────────────────────────────────────────────── */

.ln-cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.ln-card {
  background: var(--ln-card);
  border: 1px solid var(--ln-line);
  border-radius: var(--ln-radius);
  box-shadow: var(--ln-shadow);
  padding: 22px 22px 24px;
}
.ln-card__icon {
  align-items: center; background: #EEF4FB; border-radius: 12px; color: var(--ln-navy);
  display: flex; height: 40px; justify-content: center; margin-bottom: 14px; width: 40px;
}
.ln-card__icon svg { fill: none; height: 20px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 20px; }
.ln-card h3 { color: var(--ln-navy); font-family: var(--font-display); font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.ln-card p { color: var(--ln-muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ── Privacy ──────────────────────────────────────────────────────────── */

.ln-privacy {
  background:
    radial-gradient(circle at 12% 0%, rgba(117, 199, 244, .18), transparent 26rem),
    linear-gradient(135deg, #072A5E, #0A1F45);
  border-radius: 24px;
  color: #fff;
  display: grid;
  gap: 32px 48px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr);
  margin-top: 68px;
  padding: 40px 44px;
}
.ln-privacy h2 { color: #fff; margin-bottom: 18px; }
.ln-privacy__link { align-items: center; color: #FFD58A; display: inline-flex; font-size: 14px; font-weight: 700; gap: 6px; }
.ln-privacy__link span { transition: transform .18s ease; }
.ln-privacy__link:hover span { transform: translateX(3px); }
.ln-privacy__facts { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.ln-privacy__facts li { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 18px; }
.ln-privacy__facts strong { display: block; font-size: 15px; margin-bottom: 6px; }
.ln-privacy__facts span { color: #B6C6DD; font-size: 13.5px; line-height: 1.6; }

/* ── Compared ─────────────────────────────────────────────────────────── */

.ln-table {
  background: var(--ln-card);
  border: 1px solid var(--ln-line);
  border-radius: var(--ln-radius);
  box-shadow: var(--ln-shadow);
  overflow-x: auto;
}
.ln-table table { border-collapse: collapse; min-width: 640px; width: 100%; }
.ln-table th, .ln-table td { border-top: 1px solid var(--ln-line); font-size: 14px; line-height: 1.55; padding: 15px 20px; text-align: left; vertical-align: top; }
.ln-table thead th { border-top: 0; color: var(--ln-dim); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ln-table tbody th { color: var(--ln-navy); font-weight: 700; width: 26%; }
.ln-table td { color: var(--ln-muted); }
.ln-table tr.is-lens { background: linear-gradient(90deg, var(--ln-amber-wash), #FFFBF3); }
.ln-table tr.is-lens td { color: var(--ln-ink); }

/* ── Install ──────────────────────────────────────────────────────────── */

.ln-final {
  align-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 217, 122, .35), transparent 22rem),
    linear-gradient(180deg, #FFFFFF, #FBF8F2);
  border: 1px solid #F0E4CC;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(92, 66, 29, .05);
  display: flex;
  flex-direction: column;
  margin-top: 72px;
  padding: 48px 24px 52px;
  text-align: center;
}


/* The site's questions section, between two columns of this page. */
.ln-main > .vxf { margin-top: 72px; }
.ln-final__mark { height: 32px; margin-bottom: 18px; object-fit: contain; width: 48px; }
.ln-final p { color: var(--ln-muted); font-size: 16px; line-height: 1.6; margin: 12px 0 26px; max-width: 520px; }

/* ── Smaller screens ──────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .ln-demo .ln-window { right: 12%; }
  .ln-explain { width: min(300px, 66%); }
}

@media (max-width: 1020px) {
  .ln-privacy { grid-template-columns: 1fr; }
}

/* On a phone the article wraps too tall to pin, so the window and the
   explanation stack in the frame, the card lapping the window's foot. */
@media (max-width: 900px) {
  .ln-demo { min-height: 0; padding: 52px 0 32px; }
  .ln-demo .pb-frame { right: 6%; }
  .ln-demo .ln-window { inset: auto; margin: 0 10%; position: relative; }
  .ln-explain { background: #fff; margin: -28px 0 0 auto; position: relative; right: auto; top: auto; width: min(320px, 86%); }
}

@media (max-width: 1020px) {
  .ln-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-define { grid-template-columns: 1fr; }
  .ln-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .ln-steps { grid-template-columns: 1fr; }
  .ln-cards { grid-template-columns: 1fr; }
  .ln-features { grid-template-columns: 1fr; }
  .ln-split { grid-template-columns: 1fr; }
  .ln-privacy__facts { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .ln-main { padding-bottom: 72px; }
  .ln-wrap { padding: 0 16px; }
  .ln-final .ln-install { justify-content: center; }
  .ln-final .ln-install { width: 100%; }
  .ln-article { padding: 18px 18px 24px; }
  .ln-article__headline { font-size: 18px; }
  .ln-demo .ln-window { margin: 0 6%; }
  .ln-privacy { padding: 32px 22px; }
  .ln-panel { padding: 24px 20px; }
}
