/* Lumtrove guides (public/guides/*.html, generated by scripts/build-guides.mjs).
   Self-contained so the editorial pages don't load the app stylesheet. Tokens, fonts and colors copy
   public/assets/style.css: paper background, white sheets, ink text, deep-lime links (lime itself only on
   ink), Outfit for display type, Inter for body. Mobile-first; text column held to ~68ch. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --lt-ink: #111111;
  --lt-ink-2: #1b1b1a;
  --lt-paper: #f2f1ec;
  --lt-white: #ffffff;
  --lt-lime: #d4ff3a;
  --lt-lime-glow: #f4ffd0;
  --lt-lime-deep: #4a6b00;
  --lt-pet: #f2b89a;
  --lt-muted: #6b6b66;
  --lt-line: #dad8d0;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 68ch;
  --radius-md: 12px;
  --radius-lg: 24px;

  /* Motion: the same tokens as style.css (this page does not load it). */
  --dur-press: 80ms;
  --dur-fast: 140ms;
  --dur-base: 200ms;
  --dur-enter: 220ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--lt-ink);
  background-color: var(--lt-paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--lt-lime-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--lt-ink); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--lt-ink); outline-offset: 3px; border-radius: 4px; }

.skip,
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 14px;
  background: var(--lt-ink);
  color: var(--lt-lime);
  border-radius: var(--radius-md);
  font-weight: 600;
}
.skip:focus,
.skip:focus-visible,
.skip-link:focus,
.skip-link:focus-visible { top: 12px; z-index: 60; color: var(--lt-lime); }

.g-wrap {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.g-header {
  padding: 14px 0;
  border-bottom: 1px solid var(--lt-line);
  background: var(--lt-paper);
}
.g-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.g-logo { display: inline-flex; }
.g-logo img { display: block; width: 115px; height: 36px; }
.g-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.g-nav a { color: var(--lt-ink); text-decoration: none; font-weight: 500; }
.g-nav a:hover { text-decoration: underline; }
.g-nav .g-nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lt-ink);
  color: var(--lt-lime);
  font-weight: 600;
}
.g-nav .g-nav-cta:hover { background: var(--lt-ink-2); color: var(--lt-lime); text-decoration: none; }

.g-main { padding: 20px 0 48px; }

.g-crumbs { font-size: 14px; color: var(--lt-muted); margin-bottom: 12px; }
.g-crumbs a { color: var(--lt-muted); }

/* Article sheet */
.g-article {
  padding: 28px 20px 32px;
  background: var(--lt-white);
  border: 1px solid var(--lt-line);
  border-radius: var(--radius-lg);
}
.g-article > * { max-width: var(--measure); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--lt-ink);
  letter-spacing: -0.01em;
}
h1 { margin: 0 0 18px; font-size: clamp(1.9rem, 6.5vw, 2.75rem); line-height: 1.12; font-weight: 600; }
h2 { margin: 2.1em 0 0.5em; font-size: clamp(1.4rem, 4.4vw, 1.75rem); line-height: 1.25; font-weight: 600; }
h3 { margin: 1.6em 0 0.35em; font-size: 1.2rem; line-height: 1.35; font-weight: 600; }
h4 { margin: 1.4em 0 0.3em; font-size: 1.05rem; }

.g-article p,
.g-article ul,
.g-article ol { margin: 0 0 1em; }
.g-article ul,
.g-article ol { padding-left: 1.3em; }
.g-article li { margin: 0.35em 0; }
.g-article li::marker { color: var(--lt-muted); }
.g-article strong { font-weight: 650; }
.g-article hr { margin: 2em 0; border: 0; border-top: 1px solid var(--lt-line); }

/* The articles' "The Lumtrove option" blocks are Markdown quotes: render them as a quiet card. */
.g-article blockquote {
  margin: 1.6em 0;
  padding: 18px 20px;
  background: var(--lt-paper);
  border-left: 4px solid var(--lt-lime-deep);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.g-article blockquote > :last-child { margin-bottom: 0; }

.g-table {
  margin: 1.2em 0 1.4em;
  overflow-x: auto;
  border: 1px solid var(--lt-line);
  border-radius: var(--radius-md);
}
.g-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.g-table th,
.g-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lt-line); }
.g-table th { background: var(--lt-paper); font-weight: 600; }
.g-table tr:last-child td { border-bottom: 0; }

code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  background: var(--lt-paper);
  border-radius: 6px;
}

/* Call to action */
.g-cta {
  margin-top: 28px;
  padding: 24px 20px;
  background: var(--lt-ink);
  color: var(--lt-white);
  border-radius: var(--radius-lg);
}
.g-cta h2 { margin: 0 0 8px; color: var(--lt-white); font-size: 1.45rem; }
.g-cta p { margin: 0 0 14px; max-width: var(--measure); color: #e8e7e1; }
.g-cta a { color: var(--lt-lime); }
.g-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.g-cta .g-cta-note { margin: 4px 0 0; font-size: 14px; color: #bdbcb5; }

.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.g-cta .g-btn-primary { background: var(--lt-lime); color: var(--lt-ink); }
.g-cta .g-btn-primary:hover { background: var(--lt-lime-glow); color: var(--lt-ink); }
.g-cta .g-btn-ghost { border-color: #4a4a46; color: var(--lt-white); }
.g-cta .g-btn-ghost:hover { border-color: var(--lt-white); color: var(--lt-white); }

/* Hub */
.g-hub-head { padding: 12px 0 8px; }
.g-eyebrow { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--lt-lime-deep); letter-spacing: 0.04em; text-transform: uppercase; }
.g-lede { margin: 0 0 18px; max-width: var(--measure); font-size: 1.1rem; color: #33332f; }
.g-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.g-jump a {
  padding: 6px 14px;
  border: 1px solid var(--lt-line);
  border-radius: 999px;
  background: var(--lt-white);
  color: var(--lt-ink);
  font-size: 15px;
  text-decoration: none;
}
.g-jump a:hover { border-color: var(--lt-ink); }

/* Jump targets clear the 64px sticky header. */
.g-group,
.g-main [id] { scroll-margin-top: 76px; }
.g-group { margin-top: 36px; }
.g-group h2 { margin: 0 0 4px; }
.g-group-intro { margin: 0 0 14px; color: var(--lt-muted); max-width: var(--measure); }
.g-cards { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.g-card a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  background: var(--lt-white);
  border: 1px solid var(--lt-line);
  border-radius: var(--radius-md);
  color: var(--lt-ink);
  text-decoration: none;
}
.g-card a:hover { border-color: var(--lt-ink); }
.g-card-title { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.g-card-desc { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--lt-muted); }

/* Footer */
.g-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--lt-line);
  font-size: 14px;
  color: var(--lt-muted);
}
.g-footer p { margin: 0 0 6px; }
.g-footer-brand { color: var(--lt-ink); font-weight: 500; }
.g-footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.g-footer-links a { color: var(--lt-muted); }

@media (min-width: 720px) {
  body { font-size: 18px; }
  .g-main { padding-top: 28px; }
  .g-article { padding: 44px 56px 48px; }
  .g-cta { padding: 32px 36px; }
  .g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ==== Brand V1 refresh (2026-11-24): same shell as the product pages ====
   Frosted paper header (64px), the ink button with lime type, Outfit 500 display sizes, 16-24px
   corners with a soft lift on hover. Lime stays on ink only. */
.g-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0;
  background: rgba(242, 241, 236, 0.9);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
}
.g-header .g-wrap { width: min(1120px, calc(100% - 32px)); }
.g-header-inner { min-height: 56px; }
.g-logo { align-items: center; min-height: 44px; }
.g-logo img { width: auto; height: 28px; }
.g-nav { gap: 6px; font-size: 14px; }
.g-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; transition: background-color var(--dur-fast) ease; }
.g-nav a:hover { background: rgba(17, 17, 17, 0.05); text-decoration: none; }
.g-nav .g-nav-cta { min-height: 44px; padding: 0 18px; border-radius: 12px; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background-color var(--dur-fast) ease; }
.g-nav .g-nav-cta:hover { background: var(--lt-ink-2); }

h1 { font-weight: 500; font-size: clamp(2rem, 1.1rem + 3vw, 3.125rem); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-weight: 500; letter-spacing: -0.02em; }
h3 { font-weight: 500; letter-spacing: -0.01em; }

.g-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.1em; color: var(--lt-muted); }
.g-eyebrow::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--lt-lime-deep); }
.g-lede { color: var(--lt-muted); }

.g-article { border-radius: var(--radius-lg); box-shadow: 0 40px 80px -60px rgba(17, 17, 17, 0.3); }
.g-article blockquote { border-left-width: 3px; border-radius: 0 16px 16px 0; }
.g-table { border-radius: 14px; }

.g-jump a { display: inline-flex; align-items: center; min-height: 40px; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out); }
.g-jump a:hover { border-color: var(--lt-ink); background: var(--lt-ink); color: var(--lt-lime); }

.g-cards { gap: 14px; }
.g-card a { padding: 22px 22px 24px; border-radius: 16px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-fast) ease; }
.g-card a:hover { border-color: var(--lt-line); }
.g-card-title { font-weight: 500; letter-spacing: -0.01em; }

.g-cta { position: relative; isolation: isolate; overflow: hidden; }
.g-cta::before { content: ""; position: absolute; z-index: -1; top: -240px; right: -180px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 255, 58, 0.15), rgba(212, 255, 58, 0) 62%); }
.g-cta h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); }
.g-btn { min-height: 52px; padding: 10px 22px; border-radius: 14px; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background-color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.g-cta .g-btn-primary:hover { background: var(--lt-lime); }

a,
.g-btn,
.g-card a,
.g-jump a { -webkit-tap-highlight-color: transparent; }

/* Hover lifts only for precise pointers; a tap never leaves a card raised. */
@media (hover: hover) {
  .g-nav .g-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(17, 17, 17, 0.6); }
  .g-card a:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -26px rgba(17, 17, 17, 0.38); }
  .g-cta .g-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(212, 255, 58, 0.5); }
}

/* Pressed: 80ms in, follows the finger. */
.g-btn:active,
.g-nav .g-nav-cta:active,
.g-card a:active,
.g-jump a:active { transform: scale(0.985); transition-duration: var(--dur-press); }

.g-footer { margin-top: 24px; padding: 40px 0 48px; }
.g-footer-brand { font-family: var(--font-display); font-size: 1rem; }
.g-footer-links a { display: inline-flex; align-items: center; min-height: 44px; transition: color var(--dur-fast) ease; }
.g-footer-links a:hover { color: var(--lt-lime-deep); }

@media (min-width: 720px) {
  .g-header .g-wrap { width: min(1120px, calc(100% - 64px)); }
  .g-header-inner { min-height: 64px; }
  .g-logo img { height: 30px; }
  .g-main { padding-top: 40px; }
  .g-cta { padding: 40px 44px; }
  .g-cards { gap: 18px; }
}

/* Reduced motion: no smooth scroll, no animation, no transition, nothing moves on hover or press. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  a:hover,
  a:active,
  .g-btn:hover,
  .g-btn:active,
  .g-nav .g-nav-cta:hover,
  .g-nav .g-nav-cta:active,
  .g-card a:hover,
  .g-card a:active,
  .g-jump a:hover,
  .g-jump a:active,
  .g-cta .g-btn-primary:hover { transform: none !important; }
}

.g-related { margin-block: 24px; }
.g-related h2 { margin: 0 0 12px; }
.g-related .g-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.g-related .g-card a { height: 100%; font-weight: 600; }
