/* Base styles */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif; color: #222; background: var(--bg-soft); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: #666; }

/* Header & navigation */
.site-header { border-bottom: 1px solid #eee; background: var(--bg-soft); }
.site-header .logo { font-size: 20px; margin: 0; }
.site-header .container { padding-left: 32px; }
.primary-nav { display: flex; gap: 16px; padding: 12px 0; }
/* Fixed external spacing between header bottom and hero card top */
.site-header + .container .brand-hero { margin-top: 24px; }
.primary-nav a { text-decoration: none; color: #333; padding: 8px 12px; border-radius: 6px; }
.primary-nav a.active, .primary-nav a:hover { background: #f0f0f0; }

/* Hero */
.hero { padding: 24px 0; }
.site-header + .container .hero { padding-top: 24px; }
.hero h2 { margin: 0 0 8px; color: #000; }

/* Theme & buttons */
:root {
  --brand: #ff3d78; /* Primary accent aligned with Baumen site */
  --brand-ink: #b7185b;
  --bg-soft: #F9F6FE;
  --border: #e6e6e6;
  --shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.btn { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: #333; background: #fff; transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #f8f9fa; }
.btn-primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn-link { color: var(--brand); border-color: transparent; }

/* Hero enhancement */
.brand-hero { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.hero-grid { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; }
.partner-logo { width: 96px; height: 96px; object-fit: contain; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.actions { display: flex; gap: 8px; margin-top: 8px; }

/* Grid & cards */
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gap-lg { gap: 24px; }
.card { border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 24px; margin: 24px 0; box-shadow: none; transition: none; }
.card:hover { transform: none; box-shadow: none; }
.card h3, .card h4 { margin: 0 0 8px; color: #111; }
.card p, .card li { line-height: 1.7; }
.grid .card { margin: 0; }
.list, .keylist { list-style: none; padding-left: 0; margin: 8px 0 0; }
.list li, .keylist li { padding: 6px 0; border-bottom: 1px dotted #eee; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--brand); text-decoration: none; background: #fff; transition: transform 200ms ease, box-shadow 200ms ease; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(12px); will-change: opacity, transform; }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); transition: opacity 500ms ease, transform 500ms ease; }
/* Disable reveal motion on cards specifically for flat design */
.card.reveal, .card.reveal-visible { opacity: 1; transform: none; transition: none; }

/* Timeline */
.timeline { margin-top: 8px; display: grid; gap: 10px; }
.timeline-step { display: flex; align-items: flex-start; gap: 10px; }
.timeline-step .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 6px; }

/* Secondary navigation */
.secondary-nav { display: flex; gap: 8px; padding: 8px 0 16px; border-bottom: 1px dashed #ddd; }
.secondary-nav .tab-link { appearance: none; border: 1px solid #ddd; background: #fff; color: #333; padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.secondary-nav .tab-link.active, .secondary-nav .tab-link:hover { background: #f5f5f5; }

/* Tab content */
.tab-content { display: none; padding: 16px 0; }
.tab-content.active { display: block; }
.tab-content h3 { margin: 0 0 8px; }
.details { list-style: none; padding-left: 0; margin: 8px 0 0; }
.details li { padding: 6px 0; border-bottom: 1px dotted #eee; }

/* Footer */
.site-footer { border-top: 1px solid #eee; background: var(--bg-soft); margin-top: 24px; }
.site-footer .container { padding: 12px 0; }

/* Responsive tweaks */
@media (max-width: 640px) {
  .primary-nav { flex-wrap: wrap; }
  .secondary-nav { flex-wrap: wrap; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 64px 1fr; }
  .partner-logo { width: 64px; height: 64px; }
}

/* Theme variables */
:root {
  --brand: #ff3d78;
  --brand-ink: #b7185b;
  --bg-soft: #F9F6FE;
  --border: #e6edf5;
}

/* Brand hero */
.brand-hero { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.hero-grid { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; }
.partner-logo { width: 100%; max-width: 120px; height: auto; display: block; filter: saturate(110%); }

/* Grid system */
.grid { display: grid; grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.gap-lg { gap: 24px; }
.grid + .grid { margin-top: 24px; }
/* Vertical spacing between brand hero card and first grid row */
.brand-hero + .grid { margin-top: 24px; }
@media (max-width: 840px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }

/* Card */
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 24px 0; box-shadow: none; transition: none; }
.card h3 { margin: 0 0 8px; color: #000; }
.card:hover { transform: none; box-shadow: none; }

/* List */
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 6px 0; border-bottom: 1px dotted #eee; }
.list li:last-child { border-bottom: 0; }

/* Button */
.btn { display: inline-block; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); color: #333; background: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); background: #fafafa; }
.btn-primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn-link { color: var(--brand); border-color: transparent; background: transparent; }
.btn-link:hover { background: #f0f6ff; }

/* Scroll reveal motion */
.reveal { opacity: 0; transform: translateY(12px); will-change: opacity, transform; }
.reveal-visible { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease; }
/* Disable reveal motion on cards specifically for flat design */
.card.reveal, .card.reveal-visible { opacity: 1; transform: none; transition: none; }

/* Section title */

/* Liquid glass effect */
.glass { background: rgba(255,255,255,0.6); backdrop-filter: saturate(180%) blur(12px); border: 1px solid rgba(255,255,255,0.6); border-radius: 16px; padding: 24px; }

/* Hero banner with brand gradients and shapes */
.brand-hero { position: relative; overflow: hidden; }
.brand-hero::before { content: ""; position: absolute; inset: -20% -10%; background:
  radial-gradient(60% 80% at 10% 10%, rgba(226,184,255,0.22), transparent 60%),
  radial-gradient(50% 60% at 90% 20%, rgba(255,200,232,0.18), transparent 60%),
  linear-gradient(180deg, rgba(226,184,255,0.12), rgba(255,255,255,0));
  pointer-events: none; }
.brand-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(226,184,255,0.28), rgba(255,200,232,0.12)); filter: blur(12px); pointer-events: none; }
.section-title { margin: 16px 0 0; color: #000; }