/* LavaBella — lavabella.com
   Palette (six colors only, sampled from docs/design/screens/):
   Cream #F8F3EF · Warm Sand #E8DED3 · Blush #F3D6CC · Rose Gold #CF8064 · Espresso #2D241F · Sage #A8BCA0
   Fonts: Playfair Display (display) + Inter (body). Inter 700 is never used. */

:root {
  --cream: #F8F3EF;
  --sand: #E8DED3;
  --blush: #F3D6CC;
  --rose-gold: #CF8064;
  --espresso: #2D241F;
  --sage: #A8BCA0;

  --ink-soft: rgba(45, 36, 31, 0.72);      /* espresso, softened */
  --line-soft: rgba(45, 36, 31, 0.12);     /* espresso, hairline */
  --cream-soft: rgba(248, 243, 239, 0.80); /* cream, softened (on espresso) */

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--rose-gold);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  max-width: 70rem; /* 1120px */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.narrow {
  max-width: 42rem; /* 672px */
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin: 0 0 0.75rem;
}

.eyebrow-sage {
  color: var(--sage);
}

/* ---------- Header ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--espresso);
  text-decoration: none;
  line-height: 1;
  padding: 0.75rem 0; /* keeps the touch target comfortable */
}

.wordmark:hover,
.wordmark:focus-visible {
  text-decoration: none;
  color: var(--rose-gold);
}

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

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--espresso);
  padding: 0.75rem 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--rose-gold);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero-logo {
  width: 12rem;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
}

.hero h1 {
  font-style: italic;
  font-weight: 400;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.coming-soon {
  display: inline-block;
  background: var(--blush);
  color: var(--espresso);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  margin: 0;
}

/* ---------- Features ---------- */

.features {
  background: var(--sand);
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  max-width: 26ch;
  margin: 0 auto 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature {
  background: var(--cream);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(45, 36, 31, 0.06);
}

.feature h3 {
  margin-bottom: 0.75rem;
}

.feature p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* ---------- Privacy band ---------- */

.privacy-band {
  background: var(--espresso);
  color: var(--cream);
  padding: 4rem 0;
  text-align: center;
}

.privacy-band h2 {
  color: var(--cream);
}

.privacy-band p {
  color: var(--cream-soft);
}

.privacy-band strong {
  color: var(--cream);
  font-weight: 600;
}

.privacy-band a {
  color: var(--sage);
  font-weight: 500;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--sand);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--espresso);
  padding: 0.5rem 0;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--rose-gold);
  text-decoration: none;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 3rem 0 4rem;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 2.25rem);
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0;
  margin: 2.5rem 0 0.75rem;
}

.legal .dates {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.legal p,
.legal li {
  font-size: 0.9375rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal strong {
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
}

.legal table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
}

.legal th,
.legal td {
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-soft);
  vertical-align: top;
}

.legal th {
  background: var(--sand);
  font-weight: 600;
}

.back-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

/* ---------- Wider screens ---------- */

@media (min-width: 45rem) {
  .container {
    padding: 0 2.5rem;
  }

  .hero {
    padding: 6rem 0 7rem;
  }

  .hero-logo {
    width: 15rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .feature {
    padding: 2.5rem;
  }

  .features,
  .privacy-band {
    padding: 6rem 0;
  }
}
