/* Lisanova — global stylesheet */

:root {
  --bg: #05060d;
  --bg-soft: #090c18;
  --surface: #10142a;
  --surface-2: #171c3c;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f3f5fb;
  --text-muted: #a4acc9;
  --text-faint: #6d7595;
  --accent: #4d6bff;
  --accent-hover: #7d94ff;
  --accent-cyan: #55e5ec;
  --on-accent: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1120px;
  --container-narrow: 760px;
  --gradient-brand: linear-gradient(135deg, #4d6bff 0%, #55e5ec 100%);
  --gradient-hero:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(77, 107, 255, 0.32), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 5%, rgba(85, 229, 236, 0.14), transparent 55%),
    var(--bg);
  --shadow-card: 0 20px 50px -24px rgba(0, 0, 0, 0.65);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
}

::selection {
  background: rgba(77, 107, 255, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 20px;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.site-nav a.lang-switch {
  margin-left: 6px;
  border: 1px solid var(--border-strong);
  font-weight: 700;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #04060d;
  box-shadow: 0 10px 26px -10px rgba(77, 107, 255, 0.65);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(77, 107, 255, 0.8);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent-hover);
}

/* Hero */

.hero {
  padding: 88px 0 64px;
  text-align: center;
  background: var(--gradient-hero);
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin: 0 auto 28px;
  box-shadow: 0 24px 60px -20px rgba(77, 107, 255, 0.6);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  max-width: 820px;
  margin-inline: auto;
}

.hero .lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 20px auto 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.pill svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.hero-note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--text-faint);
  max-width: 520px;
  margin-inline: auto;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

.section-header .sub {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.7;
}

/* Feature cards */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 107, 255, 0.16);
  color: var(--accent-cyan);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .gallery {
    grid-template-columns: repeat(5, 1fr);
  }
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.gallery-item figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0 4px 6px;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #04060d;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-faint);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  padding-bottom: 20px;
  margin-top: -4px;
}

.faq-group-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 700;
  margin: 36px 0 14px;
}

.faq-group-title:first-child {
  margin-top: 0;
}

/* Contact card */

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.contact-card h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.65;
}

.contact-meta {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.footer-inner nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--text);
}

/* Legal / long-form article pages */

.legal-header {
  padding: 60px 0 36px;
  border-bottom: 1px solid var(--border);
  background: var(--gradient-hero);
}

.legal-header h1 {
  font-size: clamp(1.8rem, 4.4vw, 2.5rem);
}

.legal-header .updated {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-top: 14px;
}

.legal-layout {
  padding: 48px 0 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .legal-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: static;
}

@media (min-width: 900px) {
  .toc {
    position: sticky;
    top: 96px;
  }
}

.toc-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-faint);
  font-weight: 700;
  margin-bottom: 12px;
}

.toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: block;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.87rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
}

.toc a::before {
  content: counter(toc) ". ";
  color: var(--text-faint);
}

.toc a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 44px;
  margin-bottom: 14px;
  scroll-margin-top: 96px;
}

.legal-content > h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 26px;
  margin-bottom: 10px;
  scroll-margin-top: 96px;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  color: var(--text-muted);
  line-height: 1.75;
  padding-left: 1.3rem;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 7px;
  padding-left: 4px;
}

.legal-content strong {
  color: var(--text);
}

.legal-content a {
  color: var(--accent-hover);
}

.callout {
  background: rgba(77, 107, 255, 0.08);
  border: 1px solid rgba(77, 107, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 560px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--border);
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td {
  color: var(--text-muted);
}

/* Support page grouping already covered by faq classes above */
