/* Logopsis landing V2 on Launch UI: only what the compiled template CSS does not carry.
   Colors come from the template's own tokens (var(--...)), accent from launch/overrides.css. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { overflow-x: clip; }
section[id] { scroll-margin-top: 72px; }

/* Language switch (kept from the live landing) */
.lang { display: flex; gap: 2px; }
.lang__btn {
  font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; line-height: 1;
  padding: 7px 9px; border-radius: 6px; border: 0; background: transparent; color: var(--muted-foreground);
}
.lang__btn:hover { color: var(--foreground); }
.lang__btn[aria-pressed="true"] { background: color-mix(in oklab, var(--foreground) 10%, transparent); color: var(--foreground); }
.lp-lang-desktop { display: none; }
@media (min-width: 1024px) { .lp-lang-desktop { display: flex; } .lp-menu-btn { display: none !important; } }
.lp-lang-sheet { padding-top: 8px; }

/* Download group */
.dl-group { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.dl-group { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.textlink { color: var(--muted-foreground); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.notice { font-size: 13px; color: var(--muted-foreground); max-width: 520px; }
.hero__note--em { color: var(--foreground); font-weight: 600; }
@media (max-width: 639px) {
  .dl-group__btns { flex-direction: column; align-self: stretch; width: 100%; }
  .dl-group__btns > a { width: 100%; }
  .dl-group { align-items: stretch; }
  .hero__note, .textlink, .notice { text-align: center; align-self: center; }
}

/* Pain cards */
.lp-pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; max-width: 1080px; }
@media (max-width: 767px) { .lp-pain { grid-template-columns: 1fr; } }
.lp-card {
  display: block; padding: 24px; border-radius: 16px; text-decoration: none; color: inherit;
  background: color-mix(in oklab, var(--foreground) 4%, transparent);
  border: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
  transition: border-color .15s ease, background .15s ease;
}
.lp-card:hover { border-color: color-mix(in oklab, var(--brand) 55%, transparent); background: color-mix(in oklab, var(--foreground) 6%, transparent); }
.lp-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.lp-card p { margin: 0; color: var(--muted-foreground); font-size: 15px; line-height: 1.5; }

/* Bullets */
.lp-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.lp-bullets li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.lp-bullets svg { color: var(--brand); flex: none; }

/* "Try saying" commands */
.lp-try { width: 100%; max-width: 760px; text-align: left; }
.lp-try__label { font-size: 13px; font-weight: 600; color: var(--muted-foreground); margin-bottom: 10px; text-align: center; }
.lp-try ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-try li {
  padding: 12px 16px; border-radius: 12px; font-size: 15px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: color-mix(in oklab, var(--foreground) 5%, transparent);
  border: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
}
.lp-try li::before { content: "> "; color: var(--brand); }

/* Helpers: four-step strip */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; max-width: 1080px; }
@media (max-width: 899px) { .lp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-steps li {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; font-size: 15px; font-weight: 500;
  background: color-mix(in oklab, var(--foreground) 4%, transparent);
  border: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
}
.lp-steps__n {
  flex: none; width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--brand); border: 1px solid color-mix(in oklab, var(--brand) 50%, transparent);
}

/* FAQ */
.lp-faq { width: 100%; display: grid; gap: 10px; }
.lp-faq details { border-radius: 14px; padding: 0 20px; background: color-mix(in oklab, var(--foreground) 4%, transparent); border: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; float: right; color: var(--muted-foreground); font-weight: 400; }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq .faq__a { padding: 0 0 18px; color: var(--muted-foreground); font-size: 15px; line-height: 1.6; }

/* Footer */
.foot__links a:hover { color: var(--foreground); }
.foot__disc { margin: 0; max-width: 720px; }

/* Keep every image inside its frame */
img, picture { max-width: 100%; }

/* Section rhythm: header, content, shot */
.lp-wrap { display: flex; flex-direction: column; align-items: center; gap: 40px; }
@media (min-width: 640px) { .lp-wrap { gap: 64px; } }
.lp-narrow { width: 100%; max-width: 760px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* Classes used in the markup that the compiled Launch UI CSS does not carry */
.max-w-\[680px\] { max-width: 680px; }
.max-w-\[720px\] { max-width: 720px; }
.max-w-\[760px\] { max-width: 760px; }
.pt-2 { padding-top: .5rem; }

/* Pricing: two cards in the Launch UI pricing-column pattern (glass, top line, brand glow on Team) */
.lp-pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; width: 100%; max-width: 820px; }
@media (max-width: 767px) { .lp-pricing { grid-template-columns: 1fr; } }
.lp-price { position: relative; display: flex; flex-direction: column; gap: 20px; overflow: hidden; border-radius: 16px; padding: 32px; }
.lp-price__line { position: absolute; top: 0; left: 10%; width: 80%; height: 1px; border: 0; background: linear-gradient(to right, transparent, color-mix(in oklab, var(--foreground) 60%, transparent), transparent); }
.lp-price--team .lp-price__line { background: linear-gradient(to right, transparent, var(--brand), transparent); }
.lp-price--team { border: 1px solid color-mix(in oklab, var(--brand) 40%, transparent); }
.lp-price__amount { margin: 0; }
.lp-price__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.lp-price__list li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lp-price__cta { width: 100%; text-decoration: none; }

/* T5 К45: кириличний сабсет Geist (OFL), латинський файл у launch/fonts не чіпаємо. Джерело: Google Fonts, Geist v5, cyrillic, https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwYGFWNOITddY4.woff2. */
@font-face { font-family: "Geist"; src: url("fonts/geist-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* landing-v2 T4: наша відповідь у блоці «Різниця» живим текстом у темі застосунку. Усі шрифти >= .lp-plain (14px).
   Три шляхи це одна <table>: від 768px справжня таблиця 5 колонок, нижче стек карток (мітки з клітинок). */
.lp-diff-app { display: flex; flex-direction: column; gap: 12px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.03); min-width: 0; }
.lp-diff-tab { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 600; max-width: 100%; }
.lp-diff-tab > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.lp-diff-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--brand, #f5a623); }
.lp-diff-prompt { align-self: flex-end; max-width: 92%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: rgba(255,255,255,.1); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.lp-diff-concl { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(74,222,128,.4); background: rgba(74,222,128,.1); }
.lp-diff-concl-label { font-size: 14px; font-weight: 700; color: #4ade80; margin-bottom: 4px; }
.lp-diff-concl-text { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.lp-diff-routes { display: flex; flex-direction: column; gap: 10px; }
.lp-diff-title { font-size: 15px; font-weight: 700; }
.lp-diff-lab { font-size: 14px; color: var(--muted-foreground, #a1a1aa); overflow-wrap: anywhere; }
.lp-diff-name { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.lp-diff-val { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.lp-diff-risk-high .lp-diff-td-risk .lp-diff-val { color: #f87171; }
.lp-diff-risk-mid .lp-diff-td-risk .lp-diff-val { color: #facc15; }
.lp-diff-risk-low .lp-diff-td-risk .lp-diff-val { color: #4ade80; }
/* вузький екран: таблиця розгортається в стек карток, заголовки колонок замінені мітками в клітинках */
.lp-diff-table, .lp-diff-table tbody { display: block; width: 100%; }
.lp-diff-table thead { display: none; }
.lp-diff-table tbody { display: flex; flex-direction: column; gap: 10px; }
.lp-diff-route { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.lp-diff-td { display: flex; flex-direction: column; min-width: 0; padding: 0; text-align: left; font-weight: inherit; }
.lp-diff-td-name { grid-column: 1 / -1; }
/* T5 К44: до 1200 дві картки одна під одною (звичайний чат першим), у одній колонці таблиця вміщається від 768. */
@media (max-width: 1199px) { #difference .grid.grid-cols-1 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) {
  .lp-diff-table { display: table; border-collapse: collapse; table-layout: auto; }
  .lp-diff-table thead { display: table-header-group; }
  .lp-diff-table tbody { display: table-row-group; }
  .lp-diff-table tr { display: table-row; }
  .lp-diff-route { padding: 0; border: 0; border-radius: 0; background: none; }
  .lp-diff-table th, .lp-diff-table td { display: table-cell; padding: 8px 5px; text-align: left; vertical-align: top; }
  .lp-diff-table thead th { font-size: 14px; font-weight: 600; color: var(--muted-foreground, #a1a1aa); white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.14); }
  .lp-diff-table tbody tr + tr > * { border-top: 1px solid rgba(255,255,255,.08); }
  .lp-diff-table tbody th { font-weight: inherit; }
  .lp-diff-td .lp-diff-lab { display: none; }
  .lp-diff-td-name .lp-diff-name { overflow-wrap: normal; }
  .lp-diff-td:not(.lp-diff-td-name) .lp-diff-val { white-space: nowrap; }
}
/* T5 К45: у вузькій картці від 1200 таблиця вміщається у поле рамки і з широким системним фолбеком (Verdana, DejaVu). Розмір шрифту і переноси не міняємо.
   ru: поля клітинок 3px і трекінг -0.02em. uk (T5-r3, Д3 r7): поля 5px, як у en і es, а крайні поля таблиці 0, тож проміжок між колонками лишається 10px. */
@media (min-width: 1200px) {
  html:lang(ru) .lp-diff-table th, html:lang(ru) .lp-diff-table td { padding-left: 3px; padding-right: 3px; }
  html:lang(ru) .lp-diff-table th, html:lang(ru) .lp-diff-table td { letter-spacing: -0.02em; }
  html:lang(uk) .lp-diff-table tr > :first-child { padding-left: 0; }
  html:lang(uk) .lp-diff-table tr > :last-child { padding-right: 0; }
}
