/* =========================================================
   Cul-Text landing page. Uses the tokens from style.css, so
   the logo colours and the light and dark themes carry over.
   ========================================================= */

.lp { overflow-x: clip; }
.lp em, .lp-faq em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* Nav stays over the hero */
.nav { position: sticky; top: 0; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

/* ---------- Shared ---------- */
/* Halftone texture behind the big sections, fading out at the edges */
.lp-glow {
  position: absolute; left: 50%; top: 0; width: min(1240px, 150vw); aspect-ratio: 2 / 1; transform: translateX(-50%);
  background-image: var(--dots); background-size: 13px 13px;
  mask-image: radial-gradient(closest-side, #000 18%, transparent 92%);
  -webkit-mask-image: radial-gradient(closest-side, #000 18%, transparent 92%);
  pointer-events: none; z-index: 0;
}
.lp-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.lp-pill:hover { background: var(--brand-hover); }
.lp-pill svg { transition: transform 0.2s ease; }
.lp-pill:hover svg { transform: translateX(3px); }
.lp-heading {
  text-align: center; font-size: clamp(2.3rem, 6.2vw, 4.6rem); font-weight: 500; line-height: 1.02;
  letter-spacing: -0.035em; margin-bottom: clamp(32px, 6vw, 68px);
}
.lp-section { padding: clamp(56px, 9vw, 112px) 0; }

/* ---------- Hero ---------- */
.lp-hero { position: relative; padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); }
.lp-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-title { font-size: clamp(3rem, 9vw, 6.6rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.lp-title em { color: var(--brand); }
.lp-lead { max-width: 480px; margin: 24px 0 30px; color: var(--ink-2); font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.5; }
.lp-note { margin-top: 16px; color: var(--muted); font-size: 0.82rem; }

.lp-window {
  width: 100%; max-width: 980px; margin-top: clamp(40px, 7vw, 72px); padding: 10px; text-align: left;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line)); border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--shadow-lg);
}
.lp-dots { display: flex; gap: 7px; padding: 8px 12px 14px; }
.lp-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.lp-dots span:first-child { background: var(--brand); }
.lp-screen { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3.4vw, 32px); }
.lp-chat { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; color: var(--ink-2); }
.lp-chat p { margin: 0; }
.lp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-reply { border-radius: 16px; padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.lp-after { border-color: color-mix(in srgb, var(--brand) 42%, var(--line)); background: var(--brand-soft); }
.lp-reply p { margin: 0; line-height: 1.5; }
.lp-reply mark { background: var(--mark-bg); color: inherit; padding: 0 3px; border-radius: 4px; }
.lp-tag { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.lp-chip { padding: 3px 9px; border-radius: 99px; font-size: 0.72rem; }
.lp-chip-warn { background: var(--danger-soft); color: var(--danger-ink); }
.lp-chip-brand { background: var(--brand); color: var(--brand-ink); }

/* ---------- Topics ---------- */
.lp-marquee { padding: 14px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-track { display: flex; width: max-content; }
.lp-track div { display: flex; }
.lp-track span { padding: 0 30px; color: var(--muted); font-size: 0.95rem; white-space: nowrap; }

/* ---------- Steps ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-art {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  aspect-ratio: 1 / 0.9; margin-bottom: 22px; overflow: hidden; border-radius: 16px; border: 1px solid var(--line);
  background: var(--grain), var(--dots), var(--surface);
  background-size: 180px 180px, 11px 11px, auto;
}
.lp-bubble { max-width: 76%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: var(--brand); color: var(--brand-ink); font-size: 0.9rem; font-weight: 500; }
.lp-art-check i { display: block; width: 62%; height: 9px; border-radius: 9px; background: var(--line-2); }
.lp-art-check i:nth-child(2) { width: 48%; }
.lp-scan { position: absolute; left: 12%; right: 12%; top: 22%; height: 2px; background: var(--brand); }
.lp-art-show .status-pill { margin: 0; }
.lp-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.lp-step p { color: var(--muted); line-height: 1.5; }

/* ---------- Feature grid ---------- */
.lp-bento { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.lp-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.lp-row:last-child { border-bottom: 0; }
.lp-row-wide { grid-template-columns: 2fr 1fr; }
.lp-row-three { grid-template-columns: repeat(3, 1fr); }
.lp-cell { position: relative; min-height: 240px; padding: 30px; overflow: hidden; background: var(--grain), var(--surface); background-size: 180px 180px, auto; border-right: 1px solid var(--line); transition: background-color 0.2s ease; }
.lp-cell:last-child { border-right: 0; }
.lp-row-three .lp-cell { min-height: 170px; }
.lp-cell h3 { font-size: 1.15rem; margin-bottom: 8px; }
.lp-cell p { max-width: 340px; color: var(--muted); line-height: 1.5; }
.lp-mini { position: absolute; right: 28px; bottom: -14px; width: min(46%, 240px); padding: 16px; border: 1px solid var(--line); border-radius: 14px 14px 0 0; background: var(--bg); box-shadow: var(--shadow); }
.lp-mini span { display: block; height: 8px; margin-top: 9px; border-radius: 8px; background: var(--line-2); }
.lp-mini span.short { width: 60%; }
.lp-mini b { font-size: 0.85rem; }
.lp-mini-source span { width: 100%; height: auto; margin: 0 0 8px; padding: 7px 10px; background: var(--surface-2); color: var(--muted); font-size: 0.72rem; }
.lp-mini-paper span:first-child { background: var(--brand); width: 70%; }

/* ---------- Coverage ---------- */
.lp-cultures { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; }
.lp-cultures > div:not(.lp-mark) { width: 148px; padding: 24px 16px; text-align: center; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.lp-cultures strong { display: block; font-size: 1.1rem; font-weight: 600; }
.lp-cultures span { color: var(--muted); font-size: 0.82rem; }
.lp-mark { order: 2; }
.lp-cultures .lp-mark .logo-cul { color: var(--brand-ink); display: inline-block; padding: 14px 18px; border-radius: 16px; font-size: 1.6rem; font-weight: 700; }
.lp-cultures > div:nth-child(1), .lp-cultures > div:nth-child(3) { order: 1; }
.lp-cultures > div:nth-child(4), .lp-cultures > div:nth-child(5) { order: 3; }
.lp-sub { margin-top: 28px; text-align: center; color: var(--muted); }

/* ---------- Limits ---------- */
.lp-limits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-limit { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.lp-limit h3 { font-size: 1.15rem; margin-bottom: 12px; }
.lp-limit ul { list-style: none; margin: 0; padding: 0; }
.lp-limit li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- Questions ---------- */
.lp-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.lp-faq h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.lp-faq h2 span, .lp-faq h2 em { display: block; }
.lp-qa details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.lp-qa summary { display: flex; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; font-weight: 500; }
.lp-qa summary::-webkit-details-marker { display: none; }
.lp-qa summary::after { content: "+"; color: var(--brand-text); font-size: 1.3rem; line-height: 1; transition: transform 0.2s ease; }
.lp-qa details[open] summary::after { transform: rotate(45deg); }
.lp-qa p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }

/* ---------- Call to action ---------- */
.lp-cta { position: relative; padding: clamp(72px, 12vw, 150px) 16px; text-align: center; overflow: hidden; }
.lp-cta .lp-glow { top: auto; bottom: -40%; }
.lp-cta > * { position: relative; }
.lp-cta .lp-glow { position: absolute; }
.lp-cta .lp-heading { margin-bottom: 28px; }

/* ---------- Footer ---------- */
.lp-footer { overflow: hidden; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.lp-foot-top { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 48px; padding-top: 44px; padding-bottom: 28px; }
.lp-foot-col { display: flex; flex-direction: column; gap: 10px; }
.lp-foot-col strong { color: var(--ink); font-weight: 600; }
.lp-foot-col a { color: var(--muted); text-decoration: none; }
.lp-foot-col a:hover { color: var(--ink); }
.lp-credit { margin: 0; text-align: right; line-height: 1.6; }
.lp-credit strong { color: var(--ink); }
.lp-wordmark {
  text-align: center; font-size: 21.5vw; font-weight: 700; line-height: 0.82; letter-spacing: -0.05em; white-space: nowrap;
  color: color-mix(in srgb, var(--ink) 13%, transparent); margin-bottom: -0.1em; user-select: none;
}
.lp-wordmark span { color: color-mix(in srgb, var(--brand) 62%, transparent); }

/* ---------- Motion ---------- */
@keyframes lp-marquee { to { transform: translateX(-50%); } }
@keyframes lp-scan { 0%, 100% { top: 24%; } 50% { top: 76%; } }
@media (prefers-reduced-motion: no-preference) {
  .lp-track { animation: lp-marquee 48s linear infinite; }
  .lp-marquee:hover .lp-track { animation-play-state: paused; }
  .lp-scan { animation: lp-scan 3.2s ease-in-out infinite; }
  .lp-title, .lp-lead, .lp-hero .lp-pill, .lp-note { animation: fade-up 0.6s ease both; }
  .lp-lead { animation-delay: 0.08s; }
  .lp-hero .lp-pill { animation-delay: 0.16s; }
  .lp-note { animation-delay: 0.22s; }
  .lp-window { animation: fade-up 0.7s ease 0.2s both; }
  .lp-before { animation: fade-up 0.5s ease 0.8s both; }
  .lp-before mark { animation: fade-in 0.5s ease 1.3s both; }
  .lp-after { animation: fade-up 0.5s ease 1.6s both; }
  .lp-pill { transition: background-color 0.18s ease, transform 0.18s ease; }
  .lp-pill:hover { transform: translateY(-2px); }
}

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  .lp-compare, .lp-steps, .lp-row, .lp-row-wide, .lp-row-three, .lp-limits, .lp-faq { grid-template-columns: 1fr; }
  .lp-cell { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .lp-row-three .lp-cell { min-height: 0; }
  .lp-cell:last-child { border-bottom: 0; }
  .lp-mini { display: none; }
  .lp-art { aspect-ratio: 1 / 0.62; }
  .lp-faq { gap: 24px; }
  .lp-foot-top { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .lp-credit { grid-column: 1 / -1; text-align: left; }
  .lp-cultures > div:not(.lp-mark) { width: calc(50% - 10px); }
  .lp-mark { order: 0; width: 100%; text-align: center; }
}
