/* ========== Reset & base ==========
   A modern, lightweight reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --text: #1b1f2a;
  --muted: #5b6474;
  --primary: #3b2a8a; /* deep purple */
  --primary-2: #c6920a; /* gold */
  --card: #ffffff;
  --card-2: #ffffff;
  --border: rgba(17,24,39,0.08);
  --shadow: 0 10px 30px rgba(17,24,39,.08), 0 4px 12px rgba(17,24,39,.06);
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: radial-gradient(1000px 600px at 0% -10%, rgba(59,42,138,.08), rgba(255,255,255,0) 55%),
              radial-gradient(900px 540px at 100% 0%, rgba(198,146,10,.08), rgba(255,255,255,0) 55%),
              linear-gradient(180deg, var(--bg), var(--bg-2));
}

.container { width: min(1100px, 92%); margin-inline: auto; }

/* ========== Header ==========
*/
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(8px); background: rgba(255,255,255,.85); border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-weight: 800; letter-spacing: .2px; font-size: 1.05rem; background: linear-gradient(90deg, var(--primary-2), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 16px; }
.nav-link { color: #2b2e39; font-weight: 600; font-size: .95rem; opacity: .9; }
.nav-link:hover { color: var(--primary); }

/* ========== Hero ==========
*/
.hero { position: relative; overflow: clip; }
.hero-bg::before,
.hero-bg::after {
  content: ""; position: absolute; inset: -40%; filter: blur(80px); opacity: .45; pointer-events: none; transform: rotate(12deg);
  background: conic-gradient(from 180deg at 60% 40%, rgba(59,42,138,.25), rgba(198,146,10,.18), rgba(59,42,138,.25));
}
.hero-inner { padding: 80px 0 56px; text-align: center; }
.headline { font-family: "Playfair Display", Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 5vw + 1rem, 4rem); line-height: 1.05; margin: 12px 0 12px; }
.headline .accent { background: linear-gradient(90deg, var(--primary-2), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subhead { color: var(--muted); font-size: clamp(1rem, 1.2vw + .8rem, 1.25rem); max-width: 760px; margin: 0 auto 22px; }
.cta-row { display: inline-flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }

.btn-primary { 
  --p: color-mix(in oklab, var(--primary-2) 70%, white);
  appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 14px 20px; font-weight: 800; letter-spacing: .2px;
  background: var(--primary-2); color: #fff; box-shadow: 0 8px 24px rgba(198,146,10,.25), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost { border: 1px solid var(--primary); color: var(--primary); border-radius: 999px; padding: 12px 16px; font-weight: 700; background: rgba(59,42,138,.06); }
.btn-ghost:hover { background: rgba(59,42,138,.10); }

/* ========== Sections ==========
*/
.how { padding: 56px 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card { background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card h2 { margin: 4px 0 8px; font-size: 1.2rem; }
.card p { color: var(--muted); }

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

/* ========== Survey / Collapsible ==========
*/
.survey { padding: 40px 0 80px; }
.survey-header { text-align: center; margin-bottom: 16px; }
.survey-header h2 { margin: 0 0 4px; }
.survey-card { padding: 0; overflow: hidden; }

.collapsible { overflow: hidden; transition: max-height 600ms cubic-bezier(.2,.8,.2,1); will-change: max-height; }

.iframe-wrap { padding: 0; }
.iframe-wrap iframe { display: block; width: 100%; border: 0; height: 2054px; background: #fff; }

.survey-alt { color: var(--muted); padding: 12px 16px 18px; text-align: center; }
.survey-alt a { color: var(--primary); text-decoration: underline; }

/* ========== Footer ==========
*/
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-inner { padding: 22px 0; display: grid; gap: 6px; text-align: center; }
.footer-inner small { color: var(--muted); }
