@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

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

:root {
  --cream:         #EEEAE2;
  --cream-dark:    #E5E0D7;
  --parchment:     #DDD8CE;
  --green:         #3B5C38;
  --green-light:   #5A7D56;
  --green-muted:   #C4D4C2;
  --green-pale:    #EBF0EA;
  --terracotta:    #B85C38;
  --terra-pale:    #F0E0D6;
  --ink:           #231F1A;
  --ink-soft:      #5C5249;
  --ink-faint:     #9C9188;
  --white:         #FDFAF5;
  --card:          #F5F1EA;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(238, 234, 226, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59, 92, 56, 0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--green); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 26px;
  opacity: 0.7;
  filter: invert(1);
}

.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: rgba(255,255,255,0.6);
}

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

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: rgba(255,255,255,0.85); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  width: 100%;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── PHONE MOCKUP ── */
.phone-mockup {
  position: relative;
  display: inline-block;
}

.phone-mockup img {
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(35, 31, 26, 0.2), 0 8px 24px rgba(35, 31, 26, 0.1);
  display: block;
}

/* ── INNER PAGE SHARED ── */
.page-header {
  padding: 140px 24px 64px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.prose-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.prose-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 40px 0 12px;
  color: var(--ink);
}

.prose-section h2:first-child { margin-top: 0; }

.prose-section p, .prose-section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.prose-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.prose-section a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-section .updated {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 40px;
}

.divider {
  border: none;
  border-top: 1px solid var(--parchment);
  margin: 32px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 20px; }
}

@media (max-width: 480px) {
  .nav-links .nav-link:not(.nav-link-cta) { display: none; }
}
