/* Product-only stylesheet: no effect on LoveIt blog pages. */
:root {
  color-scheme: light;
  --bg: var(--ui-bg);
  --text: var(--ui-text);
  --muted: var(--ui-muted);
  --line: var(--ui-line);
  --panel: var(--ui-panel);
  --accent: var(--ui-accent);
  --button-text: var(--ui-on-accent);
  --code: var(--ui-panel);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--bg);
  padding: 12px;
  z-index: 2;
}
.skip:focus {
  top: 12px;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.brand span {
  color: var(--muted);
  padding: 0 9px;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.hero {
  padding-top: 32px;
  padding-bottom: 32px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 22px;
}
.eyebrow span {
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
h1 {
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 0 0 20px;
}
h1 span {
  display: block;
}
.intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 610px;
  margin: 0 0 24px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.16s;
}
.button:hover {
  text-decoration: none;
  background-color: var(--panel);
}
.primary:hover {
  background-color: var(--accent);
  opacity: 0.92;
}
.primary {
  background: var(--accent);
  color: var(--button-text);
}
.secondary {
  border-color: var(--line);
}
.support {
  font-size: 12px;
  color: var(--muted);
  margin-top: 0;
  line-height: 1.9;
}
.showcase figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px #263c210a;
}
.showcase img {
  width: 100%;
}
.showcase figcaption {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.showcase figcaption span {
  color: var(--text);
  font-size: 14px;
}
.features {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  padding-block: 48px;
}
h2 {
  font-size: clamp(29px, 3.4vw, 43px);
  line-height: 1.3;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 0 0 22px;
}
.section-heading > p:last-child,
aside > p {
  color: var(--muted);
}
.feature-list article {
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.number {
  font-size: 12px;
  color: var(--accent);
  padding-top: 5px;
}
h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 9px;
}
.feature-list p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}
.install-section {
  background: var(--panel);
  padding: 64px 0;
}
.install-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 70px;
}
.prose {
  min-width: 0;
}
.prose h2 {
  font-size: 26px;
  letter-spacing: 0;
}
.prose h3 {
  margin-top: 34px;
}
.prose p {
  font-size: 15px;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
.prose :not(pre) > code {
  background: var(--code);
  padding: 2px 5px;
  border-radius: 3px;
}
.prose pre {
  padding: 18px 20px;
  border-radius: 10px;
  overflow: auto;
  line-height: 1.8;
  max-width: 100%;
}
.prose pre code {
  overflow-wrap: normal;
}
.text-link {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.faq {
  max-width: 850px;
  padding-block: 90px;
}
.faq h2 {
  margin-bottom: 36px;
}
details {
  border-top: 1px solid var(--line);
  padding: 21px 0;
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 550;
  padding-right: 20px;
}
details p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}
.closing {
  padding: 45px 0 90px;
  text-align: center;
}
.closing p {
  color: var(--muted);
  margin-bottom: 28px;
}
.closing .text-link {
  margin-left: 24px;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}
footer p {
  margin: 0;
  text-align: right;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--ui-bg);
  --text: var(--ui-text);
  --muted: var(--ui-muted);
  --line: var(--ui-line);
  --panel: var(--ui-panel);
  --accent: var(--ui-accent);
  --button-text: var(--ui-on-accent);
  --code: var(--ui-panel);
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    padding-block: 19px;
    flex-wrap: wrap;
  }
  nav {
    gap: 22px;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 28px;
  }
  h1 {
    letter-spacing: -1.5px;
  }
  .intro {
    font-size: 17px;
  }
  .features,
  .install-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .features {
    padding-block: 60px;
  }
  .install-section {
    padding-block: 50px;
  }
  .faq {
    padding-block: 60px;
  }
  .showcase figcaption {
    padding: 14px;
  }
  .closing {
    padding-bottom: 60px;
  }
  footer {
    align-items: start;
  }
  footer p {
    max-width: 180px;
  }
  .prose pre {
    padding: 14px;
  }
  .prose h2 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

.prose pre {
  background: var(--code);
  color: var(--text);
}
.prose .highlight {
  overflow-x: auto;
  margin-block: 18px;
  border-radius: 10px;
  background: var(--code);
}
.prose .highlight table {
  width: 100%;
  border-collapse: collapse;
}
.prose .highlight .lntd:first-child {
  display: none;
}
.prose .highlight pre {
  margin: 0;
}

nav {
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 760px) {
  nav {
    gap: 14px;
  }
}

/* A compact first screen; full screenshot and installation content stay intact. */
.hero-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
}
.hero-bottom .support {
  font-size: 13px;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  line-height: 1.7;
}
.showcase figure {
  box-shadow: none;
}
.section-heading h2 {
  font-size: 28px;
  letter-spacing: -0.4px;
}
.section-heading > p:last-child {
  font-size: 15px;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}
.feature-list article {
  padding: 20px 0;
  gap: 12px;
}
.feature-list h3 {
  font-size: 18px;
}
@media (max-width: 760px) {
  .hero-bottom {
    display: block;
  }
  .hero-bottom .support {
    border: 0;
    padding: 0;
    margin-top: 18px;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
}
