/* Same tokens as the extension (src/styles/theme.css), so the site and the panel match. */
:root {
  --color-bg: #eef0f4;
  --color-surface: #ffffff;
  --color-surface-hover: #f5f6f9;
  --color-text: #151a23;
  --color-text-muted: #5d6676;
  --color-border: #e2e5ea;
  --color-accent: #2f5bea;
  --color-accent-hover: #2149cf;
  --color-accent-contrast: #ffffff;
  --color-accent-soft: #e4eafd;
  --color-fill: #eef0f4;
  --color-live: #e0323c;
  --color-chrome: #dfe3ea;
  --color-chrome-bar: #f6f7f9;
  --color-page-line: #e3e6ec;

  --radius-card: 12px;
  --radius-thumb: 8px;
  --radius-pill: 999px;

  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  --shadow-card: 0 0 0 1px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-window: 0 0 0 1px rgba(16, 24, 40, 0.06), 0 24px 60px -20px rgba(16, 24, 40, 0.28);
  --shadow-panel: -12px 0 32px -16px rgba(16, 24, 40, 0.22);

  --gutter: clamp(16px, 4vw, 48px);
  --measure: 1180px;
}

.ln-feedback {
  min-height: 58vh;
  padding: clamp(32px, 7vw, 80px) var(--gutter);
  display: grid;
  place-items: center;
}
.ln-feedback__card {
  width: min(100%, 720px);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.ln-feedback__brand { display: inline-flex; margin-bottom: 36px; }
.ln-feedback__brand img { display: block; width: min(232px, 54vw); height: auto; }
.ln-feedback__heading h1,
.ln-feedback__success h1 {
  margin: 0 0 12px;
  font: 600 clamp(30px, 5vw, 46px)/1.12 var(--font-serif);
  letter-spacing: -.025em;
}
.ln-feedback__heading > p:last-child,
.ln-feedback__success > p:not(.ln-feedback__eyebrow) {
  margin: 0;
  color: var(--color-text-muted);
}
.ln-feedback__eyebrow {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ln-feedback__form { display: grid; gap: 24px; margin-top: 32px; }
.ln-feedback__rating { margin: 0; padding: 0; border: 0; }
.ln-feedback__rating legend,
.ln-feedback__field label { display: block; margin-bottom: 10px; font-weight: 650; }
.ln-feedback__stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.ln-feedback__stars input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ln-feedback__stars label { color: var(--color-border); cursor: pointer; font-size: 32px; line-height: 1; }
.ln-feedback__stars label:hover,
.ln-feedback__stars label:hover ~ label,
.ln-feedback__stars input:checked ~ label { color: #e7a92f; }
.ln-feedback__stars input:focus-visible + label { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.ln-feedback__stars .ln-feedback__rating-reset { display: none; }
.ln-feedback__field textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-thumb);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  resize: vertical;
}
.ln-feedback__field textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.ln-feedback__submit,
.ln-feedback__home {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.ln-feedback__alert { margin-top: 24px; color: #c22d3c; }
.ln-feedback__success { line-height: 1.65; }
.ln-feedback__home { margin-top: 24px; }
@media (prefers-color-scheme: dark) {
  .ln-feedback__alert { color: #ff8188; }
}

.ln-contact {
  min-height: 58vh;
  padding: clamp(32px, 7vw, 80px) var(--gutter);
  display: grid;
  place-items: center;
}
.ln-contact__card {
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.ln-contact__icon { display: block; width: 56px; height: 56px; margin-bottom: 28px; }
.ln-contact__eyebrow {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ln-contact h1 {
  margin: 0 0 16px;
  font: 600 clamp(34px, 6vw, 54px)/1.08 var(--font-serif);
  letter-spacing: -.025em;
}
.ln-contact h1 em { color: var(--color-accent); font-weight: 500; }
.ln-contact__description,
.ln-contact__thanks { color: var(--color-text-muted); }
.ln-contact__description { max-width: 58ch; margin: 0; }
.ln-contact__email {
  width: fit-content;
  margin: 24px 0;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-thumb);
  background: var(--color-surface-hover);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.ln-contact__email a { text-decoration: none; }
.ln-contact__thanks { margin: 0; }
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0c0f14;
    --color-surface: #181c25;
    --color-surface-hover: #1d222c;
    --color-text: #eceff4;
    --color-text-muted: #9aa3b2;
    --color-border: #2a303c;
    --color-accent: #7b9bff;
    --color-accent-hover: #9bb3ff;
    --color-accent-contrast: #0b1020;
    --color-accent-soft: #232c4a;
    --color-fill: #232835;
    --color-live: #ff5c66;
    --color-chrome: #1f242e;
    --color-chrome-bar: #151920;
    --color-page-line: #262c38;

    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-window: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 24px 60px -20px rgba(0, 0, 0, 0.7);
    --shadow-panel: -12px 0 32px -16px rgba(0, 0, 0, 0.7);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
a {
  color: var(--color-accent);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--color-accent-soft);
  color: var(--color-text);
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  text-wrap: balance;
}
p {
  margin: 0;
}
.ln-wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Masthead */
.ln-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
/* Full logo; logo-dark.svg replaces it in dark mode (see header.php). */
.ln-wordmark {
  display: inline-flex;
  flex: none;
}
.ln-wordmark img {
  display: block;
  width: auto;
  height: 40px;
}
/* Phones: leave room for the install button beside it. */
@media (max-width: 480px) {
  .ln-wordmark img {
    height: 32px;
  }
}
.ln-install {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 120ms ease-out;
}
.ln-install:hover {
  background: var(--color-accent-hover);
}
.ln-install svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.ln-install--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 15px;
}

/* Hero: the headline on the left, a browser with the panel docked on the right. */
.ln-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(24px, 6vw, 72px);
  padding-bottom: clamp(56px, 9vw, 120px);
}
.ln-hero__title {
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 560;
  font-variation-settings: 'opsz' 72;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.ln-hero__lede {
  max-width: 34ch;
  margin-top: 24px;
  color: var(--color-text-muted);
  font-size: 19px;
}
.ln-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}
.ln-hero__note {
  color: var(--color-text-muted);
  font-size: 14px;
}

/* Browser window mock */
.ln-browser {
  position: relative;
  border-radius: 14px;
  background: var(--color-chrome);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.4;
  user-select: none;
}
.ln-browser__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}
.ln-browser__dots {
  display: flex;
  gap: 6px;
}
.ln-browser__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}
.ln-browser__url {
  flex: 1;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--color-chrome-bar);
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 26px;
  padding: 0 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ln-browser__ext {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--color-accent-soft);
}
.ln-browser__ext img {
  width: 18px;
  height: 18px;
}
.ln-browser__body {
  display: flex;
  height: 520px;
}
/* Whatever the person is doing: a quiet, unreadable page. */
.ln-webpage {
  flex: 1 1 auto;
  min-width: 0;
  padding: 28px 28px 0;
  background: var(--color-chrome-bar);
  overflow: hidden;
}
.ln-webpage__bar {
  height: 10px;
  border-radius: 5px;
  background: var(--color-page-line);
}
.ln-webpage__block {
  height: 120px;
  margin: 22px 0;
  border-radius: 10px;
  background: var(--color-page-line);
  opacity: 0.7;
}
.ln-webpage__bar + .ln-webpage__bar {
  margin-top: 12px;
}
.ln-webpage__bar--title {
  width: 70%;
  height: 18px;
  margin-bottom: 20px;
}

/* The panel, built like the real one. */
/*
 * The panel opens by pulling in its negative margin, so the page beside it
 * narrows in step with the slide, as it does in the browser.
 */
.ln-panel {
  display: flex;
  flex: 0 0 300px;
  flex-direction: column;
  min-width: 0;
  background: var(--color-bg);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  animation: panel-open 900ms cubic-bezier(0.16, 1, 0.3, 1) 400ms both;
}
@keyframes panel-open {
  from {
    margin-right: -300px;
  }
  to {
    margin-right: 0;
  }
}
/* Phones show the panel alone, so it just slides. */
@keyframes panel-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
.ln-panel__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 0;
  background: var(--color-surface);
  box-shadow: 0 1px 0 var(--color-border);
}
.ln-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ln-panel__wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.ln-panel__icons {
  display: flex;
  gap: 10px;
  color: var(--color-text-muted);
}
.ln-panel__icons svg {
  width: 18px;
  height: 18px;
}
.ln-live {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-live);
}
.ln-live::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-live);
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(3);
    opacity: 0;
  }
}
.ln-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--color-fill);
  color: var(--color-text-muted);
  font-size: 13px;
}
.ln-search svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.ln-search kbd {
  margin-left: auto;
  padding: 0 6px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  font: inherit;
  font-size: 11px;
}
.ln-chips {
  display: flex;
  gap: 6px;
  padding-bottom: 10px;
  overflow: hidden;
}
.ln-chip {
  flex: none;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--color-fill);
  color: var(--color-text);
  font-size: 12.5px;
  font-weight: 500;
}
.ln-chip--active {
  background: var(--color-text);
  color: var(--color-surface);
}
.ln-panel__feed {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
}
.ln-lead {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.ln-lead__image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-thumb);
}
.ln-lead__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ln-row {
  display: flex;
  gap: 10px;
  padding: 10px;
}
.ln-row__thumb {
  flex: none;
  width: 64px;
  height: 52px;
  border-radius: var(--radius-thumb);
}
.ln-row__title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.ln-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 11.5px;
  white-space: nowrap;
}
.ln-meta__logo {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
}
.ln-meta__source {
  color: var(--color-text);
  font-weight: 500;
}
.ln-meta__fresh {
  color: var(--color-accent);
  font-weight: 600;
}
.ln-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 10px;
  color: var(--color-text-muted);
  font-size: 11.5px;
  font-weight: 600;
}
.ln-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Stand-in images: colour fields with a horizon, not stock photos. */
.ln-img-a {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f2a65e 0%, #e0714f 46%, #33405e 47%, #1f2a44 100%);
}
.ln-img-a::after {
  content: '';
  position: absolute;
  top: 14%;
  left: 64%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd9a8;
}
.ln-img-b {
  background: linear-gradient(135deg, #23395d 0%, #3d6cb9 55%, #8fb3ef 100%);
}
.ln-img-c {
  background:
    linear-gradient(180deg, transparent 58%, #2f6b45 58%),
    linear-gradient(180deg, #9fd0e8, #d8eef6);
}
.ln-img-d {
  background: linear-gradient(160deg, #3b2a4f 0%, #8b3f68 60%, #e07a6b 100%);
}

/* Sections */
.ln-section {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
  box-shadow: inset 0 1px 0 var(--color-border);
}
.ln-section__title {
  max-width: 18ch;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 560;
  font-variation-settings: 'opsz' 60;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.ln-section__intro {
  max-width: 56ch;
  margin-top: 16px;
  color: var(--color-text-muted);
}

/* Features: each paired with a piece of the panel it describes. */
.ln-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 64px);
  margin-top: clamp(40px, 6vw, 64px);
}
.ln-feature__shot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 28px;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  line-height: 1.4;
}
.ln-feature__shot > * {
  width: 100%;
  max-width: 340px;
}
.ln-feature__title {
  margin-top: 24px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.ln-feature__text {
  max-width: 46ch;
  margin-top: 8px;
  color: var(--color-text-muted);
}
.ln-feature__text kbd {
  padding: 1px 7px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 0.9em;
}

.ln-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ln-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px 10px;
  border-radius: 10px;
  background: var(--color-fill);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}
.ln-tile__logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.ln-tile--on {
  background: var(--color-accent-soft);
  box-shadow: inset 0 0 0 2px var(--color-accent);
}
.ln-tile__check {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}
.ln-tile__check svg {
  width: 12px;
  height: 12px;
}

.ln-new-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-size: 13px;
  font-weight: 600;
}
.ln-stack {
  display: grid;
  gap: 6px;
}
.ln-card-row {
  border-radius: var(--radius-card);
  background: var(--color-bg);
}

.ln-saved {
  display: grid;
  gap: 10px;
}
.ln-saved__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-card);
  background: var(--color-bg);
}
.ln-saved__row .ln-row__title {
  flex: 1;
}
.ln-bookmark {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}
.ln-toast {
  justify-self: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--color-text);
  color: var(--color-surface);
  font-size: 13px;
  font-weight: 500;
}

.ln-search--big {
  height: 40px;
  padding: 0 14px;
  background: var(--color-bg);
  font-size: 14px;
}
.ln-search--big svg {
  width: 16px;
  height: 16px;
}
.ln-chips--wrap {
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 0;
}
.ln-chips--wrap .ln-chip {
  background: var(--color-bg);
  font-size: 13px;
  padding: 6px 13px;
}
.ln-chips--wrap .ln-chip--active {
  background: var(--color-text);
}

/* Setup: a real sequence, so it's numbered. */
.ln-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: clamp(40px, 6vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.ln-step {
  counter-increment: step;
  padding-top: 16px;
  border-top: 2px solid var(--color-text);
}
.ln-step::before {
  content: counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.ln-step__title {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.3;
}
.ln-step__text {
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 16px;
}

/* Offers: the one thing people should know before installing. */
.ln-offers {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.ln-offers__body {
  display: grid;
  gap: 16px;
  max-width: 60ch;
  margin-top: 24px;
}
.ln-offers__body strong {
  color: var(--color-text);
}
.ln-offers__body p {
  color: var(--color-text-muted);
}
.ln-setting-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.ln-setting-card__heading {
  margin-bottom: 12px;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
}
.ln-setting {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--color-bg);
}
.ln-setting__label {
  font-size: 15px;
  font-weight: 600;
}
.ln-setting__help {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.45;
}
.ln-switch {
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-border);
  transition: background 160ms ease-out;
}
.ln-switch[aria-checked='true'],
.ln-switch--on {
  background: var(--color-accent);
}
.ln-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.3);
  transition: transform 160ms ease-out;
}
.ln-switch[aria-checked='true'] .ln-switch__thumb,
.ln-switch--on .ln-switch__thumb {
  transform: translateX(18px);
}
.ln-setting-card__state {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 14px;
  min-height: 3em;
}

/* Questions */
.ln-faq {
  max-width: 760px;
  margin-top: clamp(32px, 5vw, 48px);
}
.ln-faq details {
  border-bottom: 1px solid var(--color-border);
}
.ln-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.ln-faq summary::-webkit-details-marker {
  display: none;
}
.ln-faq summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 160ms ease-out;
}
.ln-faq details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.ln-faq__answer {
  display: grid;
  gap: 12px;
  max-width: 64ch;
  padding-bottom: 24px;
  color: var(--color-text-muted);
}

/* Closing call and footer */
.ln-closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ln-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 32px;
  padding-bottom: 48px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 14px;
}
.ln-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.ln-footer a {
  color: inherit;
}
.ln-footer a:hover {
  color: var(--color-text);
}

@media (max-width: 960px) {
  .ln-hero {
    grid-template-columns: 1fr;
  }
  .ln-hero__lede {
    max-width: 46ch;
  }
  .ln-offers {
    grid-template-columns: 1fr;
  }
  .ln-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .ln-features {
    grid-template-columns: 1fr;
  }
  .ln-browser__body {
    height: 480px;
  }
  .ln-webpage {
    display: none;
  }
  .ln-panel {
    flex: 1 1 auto;
    animation-name: panel-in;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  .ln-steps {
    grid-template-columns: 1fr;
  }
  .ln-feature__shot {
    padding: 20px 16px;
  }
  .ln-hero__lede {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ln-panel,
  .ln-live::after {
    animation: none;
  }
  .ln-switch,
  .ln-switch__thumb,
  .ln-faq summary::after {
    transition: none;
  }
}

/* Thank-you page: after install, the job is getting the panel open. */
.ln-welcome {
  padding-top: clamp(24px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.ln-welcome .ln-hero__lede {
  max-width: 48ch;
}
.ln-steps--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ln-step__shot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  line-height: 1.4;
}
.ln-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--color-chrome);
}
.ln-toolbar__url {
  flex: 1;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--color-chrome-bar);
}
.ln-toolbar__button {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--color-text-muted);
}
.ln-toolbar__button svg {
  width: 18px;
  height: 18px;
}
.ln-toolbar__button img {
  width: 18px;
  height: 18px;
}
/* The control the step is about. */
.ln-toolbar__button--target {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.ln-ext-menu {
  width: 100%;
  max-width: 260px;
  padding: 8px;
  border-radius: 12px;
  background: var(--color-chrome-bar);
  box-shadow: var(--shadow-card);
}
.ln-ext-menu__heading {
  padding: 4px 8px 8px;
  font-weight: 600;
}
.ln-ext-menu__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px 6px 8px;
  border-radius: 8px;
}
.ln-ext-menu__row img,
.ln-ext-menu__blank {
  flex: none;
  width: 18px;
  height: 18px;
}
.ln-ext-menu__blank {
  border-radius: 4px;
}
.ln-ext-menu__blank {
  background: var(--color-border);
}
.ln-ext-menu__name {
  flex: 1;
}
.ln-ext-menu__row--muted {
  color: var(--color-text-muted);
}
.ln-ext-menu__row .ln-toolbar__button {
  width: 28px;
  height: 28px;
}
.ln-ext-menu__row .ln-toolbar__button svg {
  width: 16px;
  height: 16px;
}

.ln-first-run {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  margin-top: clamp(32px, 5vw, 48px);
}
.ln-first-run__shot {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  padding: 28px;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  line-height: 1.4;
}

/* A first-run screen of the panel (SourcePicker / OffersStep in the extension). */
.ln-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  height: 420px;
  border-radius: var(--radius-card);
  background: var(--color-bg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}
.ln-screen__header {
  flex: none;
  padding: 12px 16px 16px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.ln-screen__wordmark {
  margin-bottom: 14px;
  font-size: 15px;
}
.ln-screen__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.ln-screen__subtitle {
  margin-top: 6px;
  color: var(--color-text-muted);
}
/* Fades out at the bottom: the list keeps going, like the real one. */
.ln-screen__body {
  flex: 1;
  min-height: 0;
  padding: 0 16px 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, #000 75%, transparent);
}
.ln-screen__category {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 16px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
}
.ln-screen__link {
  color: var(--color-accent);
  font-family: var(--font-sans);
  font-size: 12px;
}
.ln-screen .ln-tile {
  background: var(--color-surface);
}
.ln-screen .ln-tile--on {
  background: var(--color-accent-soft);
}
.ln-screen .ln-setting {
  margin-top: 16px;
  padding: 14px;
  background: var(--color-surface);
}
.ln-screen .ln-setting__label {
  font-size: 14px;
}
.ln-screen .ln-setting__help {
  font-size: 12px;
}
.ln-screen__footer {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.ln-screen__footer--end {
  justify-content: flex-end;
}
.ln-screen__count {
  color: var(--color-text-muted);
}
.ln-screen__button {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-weight: 600;
}

.ln-first-run__title {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.ln-first-run__text {
  max-width: 52ch;
  margin-top: 8px;
  color: var(--color-text-muted);
}
.ln-first-run__text + .ln-first-run__text {
  margin-top: 12px;
}

@media (max-width: 960px) {
  .ln-steps--three {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}
@media (max-width: 720px) {
  .ln-first-run {
    grid-template-columns: 1fr;
  }
}

/* ---------- Theme shell: sticky footer on short pages ---------- */
.ln-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.ln-page > main {
  flex: 1 0 auto;
}

.ln-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 24px;
}
.ln-nav__link {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.ln-nav__link:hover {
  color: var(--color-text);
}
@media (max-width: 720px) {
  .ln-nav__link {
    display: none;
  }
}

/* Filled by the shared disclosure script on install-eligible pages. */
.ln-notice {
  padding: 10px 24px;
  background: var(--color-text);
  color: var(--color-surface);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
.ln-notice:empty {
  display: none;
}
.ln-notice a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- How to use / thank you ---------- */

/* ---------- Legal, contact, utility pages ---------- */
.ln-legal {
  max-width: 820px;
  padding-top: clamp(32px, 6vw, 64px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.ln-legal__title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.ln-legal__content {
  margin-top: 32px;
  color: var(--color-text-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.ln-legal__content h2,
.ln-legal__content h3 {
  margin: 32px 0 8px;
  color: var(--color-text);
  line-height: 1.3;
}
.ln-legal__content p,
.ln-legal__content ul,
.ln-legal__content ol {
  margin: 0 0 16px;
}
.ln-legal__content img {
  max-width: 100%;
  height: auto;
}
.ln-legal__content pre {
  overflow: auto;
  font-size: 12px;
}

/* ---------- Exit survey ---------- */
.ln-survey {
  max-width: 820px;
  padding-top: clamp(32px, 6vw, 64px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.ln-survey__lede {
  margin-top: 12px;
  color: var(--color-text-muted);
}
.ln-survey__card {
  margin-top: 32px;
  padding: clamp(20px, 4vw, 36px);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.ln-survey__card h2 {
  font-size: 24px;
  line-height: 1.3;
}
.ln-survey__help {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 15px;
}
.ln-survey__alert {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--color-bg);
  box-shadow: inset 3px 0 0 var(--color-live);
  font-size: 15px;
}
.ln-survey__questions {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.ln-survey__question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.ln-survey__question legend {
  margin-bottom: 12px;
  font-weight: 600;
}
.ln-survey__options {
  display: grid;
  gap: 8px;
}
.ln-survey__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--color-bg);
  font-size: 15px;
  cursor: pointer;
}
.ln-survey__option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-accent);
}
.ln-survey__detail {
  padding: 8px 0 0 30px;
}
.ln-survey__detail[hidden] {
  display: none;
}
.ln-survey textarea {
  display: block;
  width: 100%;
  min-height: 104px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 15px;
  resize: vertical;
}
.ln-survey textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 0;
}
.ln-survey__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}
.ln-survey__actions button {
  border: 0;
  font: inherit;
  cursor: pointer;
}
.ln-survey__skip {
  color: var(--color-text-muted);
  font-size: 15px;
}
.ln-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The thank-you intro sits closer to its steps than a section does. */
.ln-welcome {
  padding-bottom: 8px;
}
.ln-welcome__steps {
  padding-bottom: clamp(56px, 8vw, 96px);
}
.ln-welcome__steps .ln-steps {
  margin-top: 32px;
}

/* Steps share a row height; the illustrations line up whatever the text length. */
.ln-steps--three .ln-step {
  display: flex;
  flex-direction: column;
}
.ln-steps--three .ln-step__text {
  margin-bottom: 20px;
}
.ln-steps--three .ln-step__shot {
  margin-top: auto;
}

/* The full logo in the panel header, sized like the extension's (1.5em). */
.ln-panel__wordmark > svg {
  flex: none;
  display: block;
  width: auto;
  height: 1.5em;
}
.ln-panel__wordmark > svg > path {
  fill: currentColor;
}
