/* Asandr landing – variables, layout, header, footer, cards, prose. No auth CTA styles. */
:root {
  --color-bg: #f8fafc;
  --color-bg-alt: #f1f5f9;
  --color-white: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-accent: #7c3aed;
  --color-accent-hover: #6d28d9;
  --gradient-brand: linear-gradient(to right, #2563eb, #7c3aed);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: min(100% - 2rem, 72rem);
  --header-h: 4rem;
  --radius: 0.5rem;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px -10px rgba(0,0,0,.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  padding-top: 0.5rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.landing-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.landing-header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.25rem;
}

.landing-header .logo img {
  height: 2.5rem;
  width: auto;
  margin-right: 0.5rem;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.landing-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

.landing-nav a:hover {
  color: var(--color-text);
}

/* Mobile menu button (shown only when JS adds .nav-open or via media) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .landing-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s, opacity .2s;
  }
  .landing-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Footer */
.landing-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: 3rem;
}

.landing-footer .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-footer .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}

.landing-footer .logo img {
  height: 1.75rem;
  width: auto;
  margin-right: 0.5rem;
}

.landing-footer .links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.landing-footer .links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

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

.landing-footer .copy {
  width: 100%;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

@media (min-width: 769px) {
  .landing-footer .copy {
    text-align: left;
  }
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero .badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

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

.hero .tagline {
  margin: 0 auto 0;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 42rem;
}

/* Cards (role cards – bullets only, no CTA) */
.cards {
  padding: 3rem 0;
}

.cards .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text);
}

.cards .section-desc {
  text-align: center;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.card.card-accent:hover {
  border-color: var(--color-accent);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card.card-brand .card-icon {
  background: #dbeafe;
  color: var(--color-primary);
}

.card.card-accent .card-icon {
  background: #ede9fe;
  color: var(--color-accent);
}

.card-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

.card-desc {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
}

.card ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.card li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Features (Why Choose Asandr) */
.features {
  padding: 3rem 0;
  background: var(--color-bg-alt);
}

.features .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text);
}

.features .section-desc {
  text-align: center;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.features-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

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

.feature {
  text-align: center;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature:nth-child(1) .feature-icon {
  background: #dcfce7;
  color: #16a34a;
}

.feature:nth-child(2) .feature-icon {
  background: #dbeafe;
  color: var(--color-primary);
}

.feature:nth-child(3) .feature-icon {
  background: #ede9fe;
  color: var(--color-accent);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Prose (legal pages) */
.prose {
  max-width: 48rem;
  margin: 0 auto;
}

.prose h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.25rem;
}

.prose .updated {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.prose section {
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}

.prose p {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
}

.prose ul {
  margin: 0 0 0.75rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose .back-link {
  display: inline-block;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.prose .back-link:hover {
  color: var(--color-primary-hover);
}

/* Legal page layout */
.legal-page {
  padding: 2rem 0 4rem;
}
