/* CloudWise — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #efe9dd;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #1c1a17;
  line-height: 1.6;
}

.wrap { max-width: 880px; margin: 0 auto; padding: 2.5rem 1.25rem; width: 100%; flex: 1; }

/* Site header / nav */
.site-nav {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid #ddd5c7;
}
.brand {
  font-family: 'Fraunces', Georgia, serif; font-size: 1.4rem; font-weight: 600;
  color: #1c1a17; text-decoration: none; letter-spacing: -0.01em;
}
.brand span { color: #b5481f; }
.site-nav nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-nav nav a {
  font-size: 0.85rem; color: #6b6357; text-decoration: none;
  letter-spacing: 0.02em; transition: color 0.15s;
}
.site-nav nav a:hover, .site-nav nav a:focus-visible { color: #b5481f; }

/* Eyebrow + headings */
.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #b5481f; font-weight: 600; margin-bottom: 0.6rem;
}
h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; line-height: 1.05;
  margin-bottom: 1.5rem;
}
h2 {
  font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; font-weight: 600;
  margin: 2rem 0 0.75rem; line-height: 1.2;
}
.page-content p { margin-bottom: 1rem; color: #3a352e; }
.page-content ul { margin: 0 0 1rem 1.25rem; color: #3a352e; }
.page-content li { margin-bottom: 0.4rem; }
.page-content a { color: #b5481f; }
.updated { font-size: 0.8rem; color: #8a8170; margin-bottom: 2rem; }

/* Cards (about/contact) */
.card {
  background: #f7f3ea; border: 1px solid #ddd5c7; border-radius: 14px;
  padding: 1.75rem; margin-bottom: 1.5rem;
}
.contact-email {
  font-family: 'Fraunces', Georgia, serif; font-size: 1.35rem; font-weight: 600;
  color: #1c1a17; text-decoration: none;
}
.contact-email:hover { color: #b5481f; }

/* Footer */
.site-footer {
  background: #1c1a17; color: #a99f8d; padding: 2rem 1.25rem;
  font-size: 0.8rem;
}
.site-footer .footer-inner {
  max-width: 880px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: #a99f8d; text-decoration: none; transition: color 0.15s; }
.site-footer a:hover, .site-footer a:focus-visible { color: #f7f3ea; }
.site-footer .copyright { letter-spacing: 0.03em; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1c1a17; color: #f7f3ea; padding: 1.25rem;
  display: none; z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 880px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cookie-text { font-size: 0.85rem; line-height: 1.5; flex: 1; min-width: 240px; }
.cookie-text a { color: #d98a6a; }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn {
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600;
  padding: 0.6rem 1.25rem; border-radius: 8px; border: none; cursor: pointer;
  letter-spacing: 0.02em; transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }
.btn-accept { background: #b5481f; color: #fff; }
.btn-reject { background: transparent; color: #f7f3ea; border: 1px solid #5a544b; }

@media (max-width: 520px) {
  .cookie-actions { width: 100%; }
  .btn { flex: 1; }
}
