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

:root {
  --cream: #f6f1e6;
  --paper: #fffdf9;
  --ink: #3d2e1e;
  --muted: #3d2e1e99;
  --line: rgba(61, 46, 30, 0.12);
  --accent: #e76f51;
  --accent-soft: #e76f5124;
  --sand: #cbb99a;
  --shadow: 0 20px 50px rgba(61, 46, 30, 0.1);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max: 1080px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, var(--accent-soft), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(203, 185, 154, 0.25), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.page { position: relative; z-index: 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: inherit; }

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(246, 241, 230, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-family: "Lora", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--accent);
  color: var(--cream) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { opacity: 0.92; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); }

section { padding: 96px 0; }
section:first-of-type { padding-top: 120px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover { opacity: 0.92; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--cream);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-pills span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

.phone-mock {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 20px;
  max-width: 320px;
  margin-left: auto;
}

.phone-mock .bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.phone-mock .screen-title {
  font-family: "Lora", Georgia, serif;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.space-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

.space-row .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(203, 185, 154, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
}

.space-row .meta {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}

.space-row .badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
  margin-right: 4px;
}

.mock-caption {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.flow-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.flow-step span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.flow-step strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.92rem;
  color: var(--muted);
}

.principles {
  background: rgba(255, 253, 249, 0.6);
  border-block: 1px solid var(--line);
}

.closing-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

.closing-shell p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 36rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 24px 40px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

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

/* Legal / support pages */
.legal-page main {
  padding-top: 100px;
  padding-bottom: 64px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-page .updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 42rem;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin-bottom: 16px;
}

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

  .phone-mock {
    margin: 0 auto;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }
}
