/* Outlust website — single stylesheet. Colors match the app's darkPalette (src/theme/palette.ts). */

@font-face { font-family: "Outfit"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/outfit-700.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 200; font-style: normal; font-display: swap; src: url("/assets/fonts/outfit-200.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/dmsans-400.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/dmsans-700.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0D0A2C;
  --bg-top: #231763;
  --bg-mid: #120D3B;
  --bg-bottom: #07061A;
  --text: #FFFFFF;
  --muted: rgba(236, 234, 255, 0.78);
  --subtle: rgba(236, 234, 255, 0.62);
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.10);
  --separator: rgba(255, 255, 255, 0.10);
  --violet: #8B5CF6;        /* app accent: wordmark, large text, decoration */
  --violet-text: #BBA6FF;   /* lighter violet for small text and links (AA on --bg) */
  --focus: #BBA6FF;
  --display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --max: 1080px;
  --prose: 700px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image: linear-gradient(180deg, var(--bg-top) 0, var(--bg-mid) 520px, var(--bg) 900px);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

main { flex: 1; }

a { color: var(--violet-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  padding: 10px 16px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.prose-container { max-width: calc(var(--prose) + 2 * var(--gutter)); }

/* ── Header ───────────────────────────── */
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px;
}
.wordmark {
  font-family: var(--display); font-weight: 700; letter-spacing: 0.08em;
  font-size: 1.375rem; line-height: 1; color: var(--text); text-decoration: none;
}
.wordmark:hover { color: var(--text); }
.wordmark .lust { color: var(--violet); }

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--card-border); background: var(--card);
  color: var(--text); font-size: 0.9375rem; font-weight: 700; text-decoration: none;
}
.lang-switch:hover { background: rgba(255, 255, 255, 0.12); color: var(--text); }

/* ── Landing ──────────────────────────── */
.hero { padding: 56px 0 40px; text-align: center; }
.hero .wordmark-hero {
  margin: 0 0 20px;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; line-height: 1;
  font-size: clamp(3.25rem, 16vw, 7.5rem);
}
.hero .wordmark-hero .lust { color: var(--violet); }
.tagline {
  margin: 0 auto 16px; max-width: 18ch;
  font-family: var(--display); font-weight: 700; line-height: 1.15;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
}
.lead { margin: 0 auto 32px; max-width: 34rem; color: var(--muted); font-size: 1.125rem; }

.store-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.store-cta[hidden] { display: none; }
.store-soon {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 700; font-size: 1rem;
}
.store-soon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.store-note { margin: 0; color: var(--subtle); font-size: 0.9375rem; }
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.store-badge img { height: 54px; width: auto; }

.points {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: grid; gap: 14px; grid-template-columns: 1fr;
}
.point {
  padding: 22px 22px 20px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--card-border);
}
.point h2 { margin: 0 0 6px; font-family: var(--display); font-size: 1.25rem; line-height: 1.25; }
.point p { margin: 0; color: var(--muted); font-size: 1rem; }
.point .num { display: block; margin-bottom: 10px; color: var(--violet-text); font-family: var(--display); font-weight: 200; font-size: 2rem; line-height: 1; }

.section { padding: 48px 0; }
.section-title { margin: 0 0 20px; font-family: var(--display); font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.2; text-align: center; }
.features { list-style: none; margin: 0 auto; padding: 0; max-width: 46rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.features li { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-border); font-size: 0.9375rem; }
.note-card { max-width: 40rem; margin: 0 auto; padding: 20px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--card-border); color: var(--muted); font-size: 0.9375rem; text-align: center; }
.note-card p { margin: 0; }

/* ── Legal / support pages ────────────── */
.page-head { padding: 40px 0 8px; }
.page-head h1 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1; }
.meta { margin: 0; color: var(--subtle); font-size: 0.9375rem; }

.prose { padding: 8px 0 56px; }
.prose h2 { margin: 2.2em 0 0.5em; font-family: var(--display); font-size: 1.375rem; line-height: 1.25; }
.prose h3 { margin: 1.6em 0 0.4em; font-size: 1.0625rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--text); }
.prose .callout { margin: 24px 0; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--card-border); }
.prose .callout p:last-child { margin-bottom: 0; }

.toc { margin: 24px 0 8px; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--card-border); }
.toc h2 { margin: 0 0 8px; font-size: 0.875rem; font-family: var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--subtle); }
.toc ol { margin: 0; padding-left: 1.25em; color: var(--muted); }
.toc li { margin: 0.25em 0; }

.data-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.9375rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--separator); color: var(--muted); }
.data-table th { color: var(--text); font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--separator); }
.faq details:first-of-type { border-top: 1px solid var(--separator); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 36px 18px 0; color: var(--text); font-weight: 700; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--violet-text); border-bottom: 2px solid var(--violet-text);
  transform: rotate(45deg); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 12px; }
.contact-card { margin: 32px 0 0; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--card-border); }
.contact-card h2 { margin-top: 0; }
.contact-card .email { font-size: 1.25rem; font-weight: 700; }

/* 404 */
.not-found { padding: 80px 0; text-align: center; }
.not-found h1 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(2rem, 8vw, 3rem); }
.not-found p { color: var(--muted); }
.not-found .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 24px; }

/* ── Footer ───────────────────────────── */
.site-footer { border-top: 1px solid var(--separator); padding: 28px 0 36px; font-size: 0.9375rem; color: var(--subtle); }
.site-footer .container { display: flex; flex-direction: column; gap: 16px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a, .site-footer .lang-link { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.footer-nav a:hover, .site-footer .lang-link:hover { color: var(--text); text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--text); }
.copyright { margin: 0; }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero { padding: 88px 0 56px; }
  .points { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .site-footer .container { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header .lang-switch, .site-footer, .skip-link { display: none; }
  .prose p, .prose li, .prose td, .prose th, .meta { color: #000; }
  a { color: #000; }
}
.not-found-es { margin-top: 56px; }
