@import "/services/banner.css";

:root {
  --journey-bg: #f6efe7;
  --journey-ink: #221a15;
  --journey-accent: #e85a24;
  --journey-accent-2: #2f6df4;
  --super-bg: #f3f5ff;
  --super-ink: #1b1726;
  --super-accent: #4b2ee8;
  --super-accent-2: #ff8a3d;
  --paper: #fffdf9;
  --shadow-soft: 0 20px 60px rgba(20, 20, 30, 0.12);
  --shadow-tight: 0 12px 28px rgba(20, 20, 30, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--page-ink);
  background: var(--page-bg);
  min-height: 100vh;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
}

body::before {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 55%),
    radial-gradient(circle at 30% 20%, rgba(255, 230, 200, 0.6), transparent 60%),
    radial-gradient(circle at 80% 15%, rgba(179, 196, 255, 0.45), transparent 55%);
}

body::after {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.7) 0%, transparent 45%),
    linear-gradient(25deg, rgba(30, 30, 40, 0.08) 0%, transparent 60%);
  z-index: -3;
}

body.service-journey {
  --page-bg: var(--journey-bg);
  --page-ink: var(--journey-ink);
  --page-accent: var(--journey-accent);
  --page-accent-2: var(--journey-accent-2);
}

body.service-super {
  --page-bg: var(--super-bg);
  --page-ink: var(--super-ink);
  --page-accent: var(--super-accent);
  --page-accent-2: var(--super-accent-2);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.5rem 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--page-accent), var(--page-accent-2));
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
}

.site-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--page-ink);
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 10, 30, 0.1);
}

.hero {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 42ch;
  margin: 0 0 1.5rem;
}

.hero .price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--page-accent);
  color: #fff;
  box-shadow: var(--shadow-tight);
}

.hero .price-pill span {
  font-weight: 500;
  opacity: 0.8;
}

.hero-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  margin: 0;
}

.hero-card .mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.hero-card .mini-card {
  padding: 0.85rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(244, 244, 255, 0.9), rgba(255, 248, 240, 0.8));
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
}

.detail-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.detail-card {
  background: rgba(255, 255, 255, 0.65);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(15, 15, 30, 0.08);
}

.detail-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.detail-card ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.6;
}

.waitlist {
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-soft);
}

.waitlist h2 {
  font-family: 'Fraunces', serif;
  margin-top: 0;
  font-size: 2rem;
}

.waitlist form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: end;
}

.waitlist form > div {
  display: flex;
  flex-direction: column;
}

.waitlist label {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.45rem;
}

.waitlist input,
.waitlist textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.waitlist textarea {
  min-height: 110px;
  resize: vertical;
}

.waitlist button {
  grid-column: span 1;
  justify-self: start;
  align-self: end;
  width: 100%;
  max-width: 240px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--page-accent), var(--page-accent-2));
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-tight);
}

.waitlist .note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.waitlist-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(25, 25, 25, 0.75);
}

.waitlist-status[data-state="error"] {
  color: #a33b2b;
}


footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  font-size: 0.9rem;
}

footer a {
  color: inherit;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .waitlist button {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  header.site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .waitlist button {
    max-width: none;
    width: 100%;
  }
}
