/* ── Landing Page ── Warm Atelier ─────────────────────────────── */

:root {
  --lp-bg:       oklch(96.5% 0.012 70);
  --lp-bg-glow:  oklch(93%   0.028 75);
  --lp-text:     oklch(18%   0.020 55);
  --lp-soft:     oklch(50%   0.014 55);
  --lp-accent:   oklch(42%   0.13  32);
  --lp-rule:     oklch(82%   0.022 70);
  --lp-display:  'Bodoni Moda', Georgia, serif;
  --lp-sans:     'Mulish', system-ui, sans-serif;
}

/* ─ Reset dark app theme ─ */
body {
  background:
    radial-gradient(ellipse 70% 80% at 15% 85%, var(--lp-bg-glow) 0%, transparent 55%),
    var(--lp-bg) !important;
  color: var(--lp-text) !important;
  font-family: var(--lp-sans) !important;
  min-height: 100vh;
}

/* Grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  z-index: 9998;
  mix-blend-mode: multiply;
}

/* ─ Index: stage ─ */
.lp-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 clamp(2.5rem, 10vw, 12rem) 6rem;
}

/* ─ Entry rule – animated expand ─ */
.lp-rule {
  height: 1px;
  width: 3rem;
  background: var(--lp-rule);
  margin-bottom: 2.25rem;
  transform-origin: left;
  animation: lp-expand 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* ─ Brand heading ─ */
.lp-title {
  font-family: var(--lp-display);
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  font-weight: 700;
  font-style: italic;
  font-optical-sizing: auto;
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: var(--lp-text);
  margin: 0 0 1.75rem;
  animation: lp-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

/* ─ Tagline ─ */
.lp-tagline {
  font-family: var(--lp-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.012em;
  color: var(--lp-soft);
  max-width: 38ch;
  margin: 0 0 2.75rem;
  animation: lp-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both;
}

/* ─ Closing ornament ─ */
.lp-mark {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--lp-accent);
  animation: lp-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

.lp-mark svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lp-mark-line {
  display: block;
  height: 1px;
  width: 2.5rem;
  background: var(--lp-rule);
}

/* ─ Keyframes ─ */
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes lp-expand {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* ─ Footer ─ */
.lp-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  padding: 1.5rem clamp(2.5rem, 10vw, 12rem);
  z-index: 9999;
}

.lp-footer a {
  font-family: var(--lp-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lp-footer a:hover {
  color: var(--lp-accent);
}

/* ─ Legal pages ─ */
.container {
  padding-top: 3rem !important;
  padding-bottom: 6rem !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--lp-text) !important;
  font-family: var(--lp-sans) !important;
}

.text-secondary {
  color: var(--lp-soft) !important;
}

hr {
  border-color: var(--lp-rule) !important;
  opacity: 1 !important;
}

/* Override app.css global link reset for landing context */
.lp-footer a,
.container a {
  color: var(--lp-accent) !important;
}

.lp-footer a:hover,
.container a:hover {
  color: oklch(33% 0.15 32) !important;
}

/* ─ Accessibility ─ */
@media (prefers-reduced-motion: reduce) {
  .lp-rule,
  .lp-title,
  .lp-tagline,
  .lp-mark {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
