/* luxdomi.com — the app's landing and legal pages, without the app's build. */

:root {
  --bg-from: #f8fafc;
  --bg-via: #ffffff;
  --fg: #0a0a0a;
  --muted: #737373;
  --card: #ffffff;
  --border: #e5e5e5;
  --primary: #171717;
  --accent: #f5f5f5;
  --ring: rgba(23, 23, 23, 0.08);
  --blue: #2563eb;
  --blue-bg: #eff6ff;
  --emerald: #059669;
  --emerald-bg: #ecfdf5;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --purple: #9333ea;
  --purple-bg: #faf5ff;
  --check: #10b981;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-from: #020617;
    --bg-via: #0f172a;
    --fg: #fafafa;
    --muted: #a3a3a3;
    --card: #171717;
    --border: rgba(255, 255, 255, 0.1);
    --primary: #e5e5e5;
    --accent: #262626;
    --ring: rgba(229, 229, 229, 0.08);
    --blue-bg: rgba(23, 37, 84, 0.5);
    --emerald-bg: rgba(2, 44, 34, 0.5);
    --amber-bg: rgba(69, 26, 3, 0.5);
    --purple-bg: rgba(59, 7, 100, 0.5);
  }
}

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

html,
body {
  margin: 0;
}

body {
  background: var(--bg-via);
  color: var(--fg);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom right, var(--bg-from), var(--bg-via), var(--bg-from));
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-sm {
  width: 14px;
  height: 14px;
}

/* Header */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.btn-ghost:hover {
  background: var(--accent);
}

/* Home */
.home {
  flex: 1;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.hero {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--ring);
  background: var(--ring);
  font-size: 0.875rem;
  color: var(--primary);
}

h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
  }
}

.gradient {
  background: linear-gradient(to right, #2563eb, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted);
}

.features {
  display: grid;
  gap: 1.5rem;
  margin-top: 8rem;
}

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

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

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

.feature:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.feature h3 {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.feature p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
}

.tone-blue {
  color: var(--blue);
  background: var(--blue-bg);
}

.tone-emerald {
  color: var(--emerald);
  background: var(--emerald-bg);
}

.tone-amber {
  color: var(--amber);
  background: var(--amber-bg);
}

.tone-purple {
  color: var(--purple);
  background: var(--purple-bg);
}

.roles {
  margin-top: 8rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.roles ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roles li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.check {
  width: 16px;
  height: 16px;
  color: var(--check);
}

/* Legal */
.legal {
  flex: 1;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.back:hover {
  color: var(--fg);
}

.prose {
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.prose h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin: 0 0 2rem;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.33;
  margin: 2.5rem 0 1rem;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose ul,
.prose ol {
  margin: 1.25rem 0;
}

.prose ul,
.prose ol {
  padding-left: 1.625rem;
}

.prose li {
  margin: 0.5rem 0;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.prose strong {
  font-weight: 600;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  display: block;
  overflow-x: auto;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--border);
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
}

/* Footer */
.footer {
  margin-top: 8rem;
  border-top: 1px solid var(--border);
}

.legal + .footer {
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--fg);
}
