/* Curdle — matches CaveHue palette */
:root {
  --bg-page: #edeae4;
  --bg-card: #f8f6f1;
  --bg-elevated: #ffffff;
  --tab-bar: #d8d4cc;
  --wine-rind: #7a2e3a;
  --slate-cave: #3a3d45;
  --butter-gold: #d4b87a;
  --mold-blue: #5a6d7a;
  --text-primary: #3a3d45;
  --text-secondary: #6b6e76;
  --text-tertiary: #8a8d94;
  --separator: #c8c4bc;
  --sand-light: #f3f0ea;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(58, 61, 69, 0.08);
  --shadow-lg: 0 16px 48px rgba(58, 61, 69, 0.14);
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --max-width: 720px;
  --nav-height: 64px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-page);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(122, 46, 58, 0.1), transparent 55%),
    radial-gradient(circle at 88% 78%, rgba(212, 184, 122, 0.12), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(90, 109, 122, 0.08), transparent 38%);
}

a {
  color: var(--wine-rind);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover { color: var(--slate-cave); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(237, 234, 228, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--separator);
}

.site-nav__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-cave);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand:hover { color: var(--wine-rind); }

.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--slate-cave), var(--wine-rind));
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(58, 61, 69, 0.28);
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover {
  background: var(--tab-bar);
  color: var(--slate-cave);
}

.nav-links a.is-active {
  background: var(--wine-rind);
  color: #fff;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 48px 20px 40px;
  text-align: center;
}

.hero__card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 32px;
  background: linear-gradient(155deg, var(--slate-cave) 0%, #4a2f36 48%, var(--wine-rind) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(212, 184, 122, 0.16);
  pointer-events: none;
}

.hero__card::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--butter-gold);
  background: rgba(212, 184, 122, 0.18);
  border-radius: 999px;
  position: relative;
}

.hero h1 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  position: relative;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.55;
  position: relative;
}

.hero__meta {
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.75;
  position: relative;
}

main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 64px;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--separator);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wine-rind);
  letter-spacing: -0.02em;
}

.content-card h2:not(:first-child) {
  margin-top: 28px;
}

.content-card h3 {
  margin: 20px 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-cave);
}

.content-card p,
.content-card li {
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.content-card ul,
.content-card ol {
  margin: 0 0 16px;
  padding-left: 1.35rem;
}

.content-card li { margin-bottom: 6px; }

.content-card li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-primary) !important;
  margin-bottom: 20px !important;
}

.divider {
  height: 1px;
  background: var(--separator);
  margin: 28px 0;
  border: none;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--wine-rind);
  background: rgba(122, 46, 58, 0.1);
  border-radius: 999px;
}

.pill--green {
  color: var(--mold-blue);
  background: rgba(90, 109, 122, 0.14);
}

.pill--gold {
  color: #8a6b1a;
  background: rgba(212, 184, 122, 0.22);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(58, 61, 69, 0.06);
}

.faq-item summary {
  padding: 16px 18px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--wine-rind);
  background: var(--sand-light);
  border-radius: 8px;
  transition: transform 0.2s, background 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--wine-rind);
  color: #fff;
}

.faq-item__body {
  padding: 0 18px 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item__body p:last-child { margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.contact-tile {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--sand-light);
  border: 1px solid var(--separator);
  text-align: center;
}

.contact-tile__icon {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.contact-tile h3 {
  margin: 0 0 6px !important;
  font-size: 0.95rem;
  color: var(--slate-cave) !important;
}

.contact-tile p {
  margin: 0;
  font-size: 0.875rem;
}

.contact-tile a {
  font-weight: 600;
  word-break: break-all;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--wine-rind);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(122, 46, 58, 0.28);
}

.btn:hover {
  background: var(--slate-cave);
  color: #fff;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--wine-rind);
  border: 1.5px solid var(--wine-rind);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(122, 46, 58, 0.08);
  color: var(--slate-cave);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 20px 40px;
  border-top: 1px solid var(--separator);
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer a:hover { color: var(--wine-rind); }

.site-footer p { margin: 4px 0; }

@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .hero__card { padding: 28px 22px; }
  .content-card { padding: 24px 20px; }
  .nav-links a { padding: 6px 10px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
