/* Shared Lakvanta design system. Loaded after each page's product styles. */
:root {
  color-scheme: light;
  --bg: #f7f9fc; --bg-2: #eef3f8; --surface: #fff; --surface-2: #eef3f8;
  --panel: #fff; --card: #fff; --text: #14243b; --muted: #58677c;
  --line: #dfe6ee; --border: #dfe6ee;
  --brand: #087f79; --brand-2: #076c67; --primary: #087f79; --accent: #087f79;
  --shadow: 0 8px 30px rgba(23, 42, 68, .045);
  --shadow-hover: 0 18px 40px rgba(23, 42, 68, .09);
  --radius-xl: 24px; --radius-lg: 16px;
}
html { scroll-padding-top: 110px; }
body {
  --bg: #f7f9fc; --bg-2: #eef3f8; --surface: #fff; --surface-2: #eef3f8;
  --panel: #fff; --card: #fff; --text: #14243b; --muted: #58677c;
  --line: #dfe6ee; --border: #dfe6ee;
  --brand: var(--product-accent, #087f79); --brand-2: var(--brand);
  --primary: var(--brand); --accent: var(--brand);
  background: var(--bg); color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
img, svg { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 5px;
}
a { text-underline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 1000; padding: 12px 20px; background: #14243b; color: white; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.container, .page, .nav-inner { max-width: 1200px; }
body > header:not(.devotional-hero), body > nav {
  background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px); z-index: 50;
}
.nav, .nav-inner { min-height: 80px; gap: 24px; }
.brand { color: var(--text); font-size: 16px; letter-spacing: -.035em; flex-shrink: 0; }
.brand img { border-radius: 12px; box-shadow: 0 3px 10px #14243b0d; }
.menu, .nav-links { gap: 5px; }
.menu a, .nav-links > a:not(.btn) {
  color: var(--muted); background: transparent; border: 0; border-radius: 8px;
  padding: 9px 10px; font-size: 12px; font-weight: 600;
}
.menu a:hover, .nav-links > a:not(.btn):hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.menu a.active { color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, white); }
.btn, .btn-primary, .menu a.btn-primary, .menu a.btn-secondary, .home-btn {
  background: var(--brand); color: white; border: 1px solid var(--brand);
  padding: 13px 22px; border-radius: 10px; box-shadow: 0 4px 10px #14243b0d;
  font-size: 14px; font-weight: 650; text-decoration: none;
}
.btn.ghost, .btn-secondary { background: white; color: var(--text); border: 1px solid #cdd7e3; border-radius: 10px; box-shadow: none; }
.btn:hover, .btn-primary:hover, .btn-secondary:hover { filter: brightness(.96); }
.store-badge { border-radius: 11px; box-shadow: 0 4px 12px #14243b0d; }
h1, h2, h3 { color: var(--text); text-wrap: balance; }
h1 { font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
h2 { letter-spacing: -.035em; }
p { text-wrap: pretty; }
section { scroll-margin-top: 110px; }
.product-page .hero { padding: 64px 0 40px; gap: 32px; align-items: center; }
.product-page .hero-panel { background: transparent; border: 0; padding: 12px 0; box-shadow: none; }
.product-page h1 { font-size: clamp(38px, 4.7vw, 64px); }
h1 .accent, h1 .highlight, h1 em {
  color: var(--brand); background: none; -webkit-text-fill-color: var(--brand); font-style: normal;
}
.pill, .eyebrow { background: color-mix(in srgb, var(--brand) 6%, white); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 18%, white); border-radius: 7px; font-size: 11px; font-weight: 600; line-height: 1.6; }
.hero-copy { font-size: 17px; line-height: 1.8; margin: 22px 0 26px; }
.hero-card, .feature-card, .persona-card, .section-card, .aside-card, .timeline-card {
  background: white; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 18px;
}
.hero-card { padding: 32px; border-top: 4px solid var(--brand); }
.hero-grid { gap: 12px; margin-top: 28px; }
.hero-stat, .metric, .dashboard-stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.hero-stat { padding: 14px; }
.hero-stat strong { color: var(--muted); font-size: 10px; }
.hero-stat span { color: var(--text); font-size: 13px; }
.product-page main > section:not(.hero) { padding-top: 40px; padding-bottom: 32px; }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); }
.feature-card, .persona-card { padding: 28px; transition: box-shadow .2s, transform .2s; }
.feature-card:hover, .persona-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feature-card h3, .persona-card h3 { font-size: 17px; }
.feature-card p, .persona-card p { line-height: 1.8; }
.feature-icon, .num { background: color-mix(in srgb, var(--brand) 9%, white); color: var(--brand); border-color: var(--line); border-radius: 10px; }
.workflow li { background: var(--surface-2); border-color: var(--line); border-radius: 12px; }
.cta-box { background: #14243b; border: 1px solid #243952; border-radius: 22px; padding: 36px; color: white; }
.cta-box h2, .cta-box h3 { color: white; }
.cta-box p { color: #c5d1df; }
.cta-box .btn-secondary { background: transparent; color: white; border-color: #77869a; }
footer { background: white; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { padding-top: 24px; padding-bottom: 24px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 20px 22px 0; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-hidden] { color: #a0acbc; }
/* Company home */
.company-page .hero { padding: 100px 0 64px; background: linear-gradient(180deg, #edf5f5, var(--bg)); }
.company-page .hero::before { display: none; }
.company-page h1 { max-width: 820px; font-size: clamp(42px, 6vw, 76px); }
.company-page .lead { max-width: 610px; line-height: 1.8; }
.company-page .stats { max-width: 730px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid #cfdfdf; gap: 54px; }
.company-page .stat b { font-size: 24px; }
.company-page .apps { padding-top: 48px; }
.company-page .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.company-page .app { padding: 26px; border-radius: 18px; box-shadow: var(--shadow); gap: 20px; }
.company-page .app-head img { width: 56px; height: 56px; border-radius: 13px; }
.company-page .app p { line-height: 1.8; }
.company-page .store { background: #eef3f8; color: #243952; padding: 7px 10px; }
.company-page .chip { border-radius: 8px; padding: 9px 13px; }
.company-page .chip.active { background: #14243b; color: white; border-color: #14243b; }
.company-page .flag-card { background: #14243b; border-radius: 24px; box-shadow: none; padding: 44px; }
.company-page .flag-card h2 { color: white; }
/* Legal documents and account instructions */
.legal-page .container, .legal-page .wrap { max-width: 900px; }
.legal-page > header { position: relative; }
.legal-page > header > .brand { max-width: 900px; margin: auto; padding: 20px 24px; }
.legal-page main.container, .legal-page main.wrap, .legal-page > .wrap, .legal-page > .container { padding: 44px 24px 60px; }
.legal-page h1 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 16px; line-height: 1.17; }
.legal-page .subtitle { margin-bottom: 30px; }
.legal-page .hero { display: block; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; text-align: left; }
.legal-page .card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: none; margin-bottom: 14px; }
.legal-page .card h2, .legal-page h2 { font-size: 19px; line-height: 1.4; margin: 28px 0 12px; }
.legal-page .card h2:first-child { margin-top: 0; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 15px; line-height: 1.9; }
.legal-page p { margin-bottom: 16px; }
.legal-page strong { color: var(--text); }
.legal-page ul, .legal-page ol { padding-left: 22px; margin: 12px 0 22px; }
.legal-page a:not(.brand):not(.back-link):not(.menu a) { color: var(--brand); }
.legal-page .url-row { display: none; }
.legal-page .back-link { color: var(--brand); border: 1px solid var(--line); background: white; border-radius: 8px; padding: 8px 14px; }
.document-outline { margin: 0 0 24px; padding: 18px 22px; border: 1px solid var(--line); background: white; border-radius: 12px; }
.document-outline summary { cursor: pointer; font-weight: 650; font-size: 14px; }
.document-outline ol { columns: 2; margin-bottom: 0; }
.document-outline li { font-size: 13px; break-inside: avoid; margin-bottom: 7px; }
/* Devotional product and utility screens */
.devotional-page > header.devotional-hero { background: #fff8ee; padding: 70px 24px; border-bottom: 1px solid #eadfce; }
.devotional-page > header h1 { color: #513b24; }
.devotional-page > header p { color: #74634e; }
.devotional-page .card { background: white; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 18px; }
.devotional-page .item { color: var(--text); }
.utility-page { background: #f1f5f9; padding: 24px; }
.utility-page > .card { background: white; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-hover); border-radius: 24px; padding: 44px 32px; max-width: 500px; }
.utility-page .subtitle, .utility-page p, .utility-page .note { color: var(--muted); }
.utility-page .title-404 { color: var(--brand); background: none; -webkit-text-fill-color: var(--brand); }
.utility-page .glow { display: none; }
.utility-page .loader { border-color: var(--line); border-top-color: var(--brand); }
.dashboard-shell, .dashboard-card, .showcase-panel, .channel-row { background: white; color: var(--text); border-color: var(--line); box-shadow: var(--shadow); }
.dashboard-top, .channel-meta, .channel-badge, .tag { color: var(--muted); }
.nav-toggle { display: none; background: white; color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 10px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
@media (max-width: 1050px) {
  .nav, .nav-inner { flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; height: auto; }
  .nav-toggle { display: inline-flex; align-items: center; margin-left: auto; }
  .js-ready .menu, .js-ready .nav-links { display: none; width: 100%; }
  .js-ready .menu.is-open, .js-ready .nav-links.is-open { display: flex; }
  .menu, .nav-links { flex-wrap: wrap; gap: 6px; }
  .menu a, .nav-links a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 800px) {
  .product-page .hero, .section-card, .showcase, .company-page .flag-card { grid-template-columns: minmax(0, 1fr); }
  .feature-grid, .persona-grid, .timeline-grid, .company-page .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-page .hero { padding-top: 32px; }
  .company-page .hero { padding: 64px 0 42px; }
  .company-page .stats { gap: 26px; }
}
@media (max-width: 540px) {
  .page, .container, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .brand { font-size: 14px; }
  .brand img { width: 32px; height: 32px; }
  .feature-grid, .persona-grid, .timeline-grid, .company-page .grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stat { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .hero-stat strong { margin: 0; }
  .hero-card, .section-card, .feature-card, .persona-card, .cta-box { padding: 24px; }
  .company-page .flag-card { padding: 28px; }
  .company-page .stats { gap: 20px; }
  .company-page .stat b { font-size: 20px; }
  .section-head { flex-wrap: wrap; align-items: start; }
  .legal-page .card, .legal-page .hero { padding: 22px; }
  .legal-page main.container, .legal-page main.wrap, .legal-page > .wrap, .legal-page > .container { padding: 28px 18px 40px; }
  .document-outline ol { columns: 1; }
  .url-chip, .legal-page a { overflow-wrap: anywhere; }
  .breadcrumb { padding-left: 20px; font-size: 11px; }
  .hero-actions { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
