/* Static export of Lovable LandingPage.tsx — tokens match src/index.css */

:root {
  --lp-ivory: #faf7f2;
  --lp-ink: #1a1612;
  --lp-ink-muted: #6b5e4e;
  --lp-cream-rule: #e8ddd0;
  --lp-warm-dark: #2a2118;
  --lp-studio-dark: #111118;
  --lp-deepest: #0d0d12;
  --lp-amber-editorial: #c4862a;
  --lp-amber: #d4944a;
  --lp-text-light: #f4f0eb;
  --lp-text-muted-dark: rgba(244, 240, 235, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

/* Avoid UA heading margins collapsing between sections (shows lp-page cream as a "white" seam). */
.lp-page h1,
.lp-page h2,
.lp-page h3 {
  margin: 0;
}

/* Contain margins so adjacent sections do not leak the page background between them. */
.lp-page > section {
  display: flow-root;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.font-cormorant {
  font-family: "Cormorant Garamond", serif;
}

.font-dm-sans {
  font-family: "DM Sans", sans-serif;
}

@keyframes lp-hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lp-hero-rise {
  opacity: 0;
  animation: lp-hero-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-col .lp-hero-rise:nth-child(1) {
  animation-delay: 0ms;
}

.hero-col .lp-hero-rise:nth-child(2) {
  animation-delay: 150ms;
}

.hero-col .lp-hero-rise:nth-child(3) {
  animation-delay: 300ms;
}

.hero-col .lp-hero-rise:nth-child(4) {
  animation-delay: 450ms;
}

.hero-visual-wrap.lp-hero-rise {
  animation-delay: 300ms;
}

@keyframes lp-amber-shimmer {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(196, 134, 42, 0),
      0 8px 24px -10px rgba(196, 134, 42, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(196, 134, 42, 0.12),
      0 12px 32px -10px rgba(196, 134, 42, 0.65);
  }
}

.lp-amber-shimmer {
  animation: lp-amber-shimmer 3s ease-in-out infinite;
}

.lp-page {
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  background-color: #f5efe6;
  color: var(--lp-ink);
}

.lp-max {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.lp-max-1100 {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.lp-max-1200 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.lp-your-space {
  max-width: 580px;
}

.nav-desktop-only {
  display: none;
}

.nav-mobile-only {
  display: inline-flex;
}

.nav-cta-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop-only {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }

  .nav-mobile-only {
    display: none !important;
  }

  .nav-cta-desktop {
    display: inline-flex !important;
    align-items: center;
  }
}

.flex-1 {
  flex: 1 1 0%;
}

#mobile-nav-overlay:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.lp-max-6xl {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.lp-max-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.w-full {
  width: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.pointer-events-none {
  pointer-events: none;
}

.select-none {
  user-select: none;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.transition-opacity {
  transition: opacity 0.2s ease;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.transition-transform {
  transition: transform 0.2s ease;
}

.hover\:-translate-y-px:hover {
  transform: translateY(-1px);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-28 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.pb-32 {
  padding-bottom: 8rem;
}

.pt-\[112px\] {
  padding-top: 112px;
}

.h-\[72px\] {
  height: 72px;
}

.h-10 {
  height: 2.5rem;
}

.w-10 {
  width: 2.5rem;
}

.max-w-xs {
  max-width: 20rem;
}

.overflow-hidden {
  overflow: hidden;
}

.object-cover {
  object-fit: cover;
}

.inset-block {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Nav */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  font-family: "DM Sans", sans-serif;
  transition:
    background-color 0.4s ease,
    backdrop-filter 0.4s ease,
    color 0.4s ease;
}

#site-nav.nav--light {
  background-color: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  color: var(--lp-ink);
}

#site-nav.nav--dark {
  background-color: rgba(17, 17, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--lp-text-light);
}

#site-nav .nav-cta {
  border-width: 1px;
  border-style: solid;
  border-radius: 2px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

#site-nav.nav--light .nav-cta {
  border-color: var(--lp-ink);
  color: var(--lp-ink);
  background-color: transparent;
}

#site-nav.nav--dark .nav-cta {
  border-color: var(--lp-amber);
  color: var(--lp-text-light);
  background-color: transparent;
}

#site-nav a:not(.nav-cta) {
  color: inherit;
  text-decoration: none;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link {
  opacity: 0.9;
  transition: opacity 0.2s;
  font-size: 13px;
  font-weight: 400;
}

/* Hero */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #f5efe6;
}

.hero-inner {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  padding: 112px 1.5rem 4rem;
}

@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 0 2.5rem 0;
  }
}

.hero-col {
  width: 100%;
}

@media (min-width: 768px) {
  .hero-col--text {
    width: 55%;
  }

  .hero-col--visual {
    width: 45%;
    margin-top: 0;
  }
}

.hero-visual-wrap {
  position: relative;
  overflow: hidden;
  width: min(80vw, 520px);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #2a1f14 0%, #1a1210 100%);
  border-radius: 4px;
  box-shadow:
    0 40px 80px -30px rgba(26, 18, 16, 0.55),
    0 20px 40px -20px rgba(26, 18, 16, 0.35);
}

@media (min-width: 768px) {
  .hero-visual-wrap {
    transform: rotate(2deg);
  }
}

.hero-visual__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.92;
}

.hero-visual__photo.is-hidden {
  display: none;
}

.hero-visual__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("../assets/grain.svg");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

#hero-sentinel {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
}

/* Experience ambient grid */
#experience-ambient-grid .ambient-card {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

#experience-ambient-grid.is-visible .ambient-card {
  opacity: 1;
  transform: translateY(0);
}

#experience-ambient-grid.is-visible .ambient-card:nth-child(1) {
  transition-delay: 0ms;
}

#experience-ambient-grid.is-visible .ambient-card:nth-child(2) {
  transition-delay: 150ms;
}

#experience-ambient-grid.is-visible .ambient-card:nth-child(3) {
  transition-delay: 300ms;
}

/* Scroll reveals */
.js-reveal .reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal.is-visible .reveal-fade {
  opacity: 1;
  transform: translateY(0);
}

#features-reveal .feature-card,
#testimonials-reveal .testimonial-card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#features-reveal.is-visible .feature-card:nth-child(1) {
  transition-delay: 0ms;
}

#features-reveal.is-visible .feature-card:nth-child(2) {
  transition-delay: 80ms;
}

#features-reveal.is-visible .feature-card:nth-child(3) {
  transition-delay: 160ms;
}

#features-reveal.is-visible .feature-card:nth-child(4) {
  transition-delay: 240ms;
}

#features-reveal.is-visible .feature-card:nth-child(5) {
  transition-delay: 320ms;
}

#features-reveal.is-visible .feature-card:nth-child(6) {
  transition-delay: 400ms;
}

#features-reveal.is-visible .feature-card {
  opacity: 1;
  transform: translateY(0);
}

#testimonials-reveal.is-visible .testimonial-card:nth-child(1) {
  transition-delay: 0ms;
}

#testimonials-reveal.is-visible .testimonial-card:nth-child(2) {
  transition-delay: 120ms;
}

#testimonials-reveal.is-visible .testimonial-card:nth-child(3) {
  transition-delay: 240ms;
}

#testimonials-reveal.is-visible .testimonial-card {
  opacity: 1;
  transform: translateY(0);
}

.js-reveal .planner-col {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#planners-reveal.is-visible .planner-col:nth-child(1) {
  transition-delay: 0ms;
}

#planners-reveal.is-visible .planner-col:nth-child(2) {
  transition-delay: 150ms;
}

#planners-reveal.is-visible .planner-col {
  opacity: 1;
  transform: translateY(0);
}


#how-reveal .how-step {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#how-reveal.is-visible .how-step:nth-child(1) {
  transition-delay: 0ms;
}

#how-reveal.is-visible .how-step:nth-child(2) {
  transition-delay: 180ms;
}

#how-reveal.is-visible .how-step:nth-child(3) {
  transition-delay: 360ms;
}

#how-reveal.is-visible .how-step {
  opacity: 1;
  transform: translateY(0);
}

/* How it works connector */
.how-grid {
  position: relative;
}

.how-connector {
  display: none;
}

@media (min-width: 768px) {
  .how-connector {
    display: block;
    position: absolute;
    top: 60px;
    left: 12%;
    right: 12%;
    height: 1px;
    background-color: rgba(212, 148, 74, 0.2);
    pointer-events: none;
  }
}

.how-step-num {
  position: absolute;
  top: -40px;
  left: -12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 120px;
  font-weight: 200;
  line-height: 1;
  color: rgba(212, 148, 74, 0.2);
  pointer-events: none;
  user-select: none;
}

/* Form inputs */
.lp-input {
  background-color: #1a1618;
  border: 1px solid rgba(212, 148, 74, 0.2);
  color: #f4f0eb;
  border-radius: 4px;
  padding: 14px 16px;
  width: 100%;
  font-size: 15px;
  font-family: "DM Sans", sans-serif;
  outline: none;
  transition: border-color 200ms;
}

.lp-input:focus {
  border-color: rgba(212, 148, 74, 0.6);
}

.lp-input::placeholder {
  color: #8a7f70;
}

#availability-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

/* Availability: thank-you (post-Formspree success) */
.availability-success {
  max-width: 720px;
  padding: 2rem 1.25rem 3rem;
}

.availability-success__inner {
  padding: 2.5rem 1.5rem 3rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 148, 74, 0.22);
  background: linear-gradient(165deg, rgba(30, 30, 40, 0.95) 0%, rgba(17, 17, 24, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(196, 134, 42, 0.08),
    0 28px 80px -24px rgba(0, 0, 0, 0.55);
}

.availability-success__glyph {
  font-size: clamp(3.5rem, 10vw, 5rem);
  line-height: 1;
  color: #c4862a;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 24px rgba(196, 134, 42, 0.35));
}

.availability-success__title {
  margin: 0 0 1.25rem;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #f4f0eb;
  font-size: clamp(2.25rem, 6.5vw, 3.75rem);
}

.availability-success__sub {
  margin: 0;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(244, 240, 235, 0.82);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.availability-success.availability-success--animate:not([hidden]) {
  animation: availabilityThankYou 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.availability-success.availability-success--animate:not([hidden]) .availability-success__glyph {
  animation: availabilityThankYouLine 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.availability-success.availability-success--animate:not([hidden]) .availability-success__title {
  animation: availabilityThankYouLine 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.availability-success.availability-success--animate:not([hidden]) .availability-success__sub {
  animation: availabilityThankYouLine 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

@keyframes availabilityThankYou {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes availabilityThankYouLine {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#availability-form.is-sent {
  display: none !important;
}

#availability-intro.is-sent {
  display: none !important;
}

select.lp-input option {
  background-color: #1a1618;
  color: #f4f0eb;
}

/* Amber bullet list */
.amber-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(244, 240, 235, 0.85);
}

.amber-bullet::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: var(--lp-amber);
  margin-top: 9px;
  flex-shrink: 0;
}

/* Icons in features */
.feature-icon {
  display: block;
}

/* Mobile overlay */
#mobile-nav-overlay {
  font-family: "DM Sans", sans-serif;
}

#mobile-nav-overlay[hidden] {
  display: none !important;
}

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

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

/* Utility max widths from React */
.max-w-\[1100px\] {
  max-width: 1100px;
}

.max-w-\[1200px\] {
  max-width: 1200px;
}

.max-w-\[640px\] {
  max-width: 640px;
}

.max-w-\[600px\] {
  max-width: 600px;
}

.max-w-\[520px\] {
  max-width: 520px;
}

.max-w-\[440px\] {
  max-width: 440px;
}

.max-w-\[400px\] {
  max-width: 400px;
}

.max-w-\[220px\] {
  max-width: 220px;
}

.max-w-\[760px\] {
  max-width: 760px;
}

.max-w-\[780px\] {
  max-width: 780px;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.h-nav {
  height: 72px;
}

.section-y {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (min-width: 768px) {
  .u-md-px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section-y {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }

  .hero-cta-row {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-cta-primary {
    width: auto !important;
  }

  .hero-visual-col {
    margin-top: 0 !important;
  }

  /* Two ambient cards (third mock commented out in index.html) */
  .u-ambient-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .u-planners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .planner-col--left {
    padding-right: 3rem;
  }

  .planner-col--right {
    padding-left: 3rem;
    border-left: 1px solid rgba(212, 148, 74, 0.25);
  }

  .u-how-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .u-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .u-testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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