/* Rostroo — AI Governance & Policy Pack Builder */

:root {
  --ink-950: #14171f;
  --ink-900: #1b1f2a;
  --ink-800: #262c3a;
  --ink-700: #3a4254;
  --slate-500: #64708a;
  --paper-0: #ffffff;
  --paper-50: #f8f8fb;
  --paper-100: #f0f1f5;
  --line-200: #e3e5ec;
  --gold-500: #e8b34c;
  --gold-600: #cf9a34;
  --green-600: #1c6b3a;
  --text-900: #14171f;
  --text-500: #5a6273;
  --radius: 10px;
  --shadow: 0 10px 34px rgba(20, 23, 31, 0.1);
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink-900); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink-950); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; }
nav.links { display: flex; align-items: center; gap: 26px; }
nav.links a { color: var(--ink-700); text-decoration: none; font-size: 14.5px; font-weight: 500; }
nav.links a:hover { color: var(--ink-950); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 14.5px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn-primary { background: var(--ink-950); color: #fff; }
.btn-primary:hover { background: var(--ink-800); }
.btn-primary:disabled { background: #9aa1b0; cursor: not-allowed; }
.btn-gold { background: var(--gold-500); color: var(--ink-950); }
.btn-gold:hover { background: var(--gold-600); }
.btn-gold:disabled { background: #f1ddb0; color: #8a7a52; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink-950); border-color: var(--line-200); }
.btn-ghost:hover { border-color: var(--ink-700); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 22px; font-size: 15.5px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1000px 480px at 85% -10%, rgba(232,179,76,0.14), transparent 60%),
              linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 60%, var(--ink-800) 100%);
  color: #fff; padding: 92px 0 100px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gold-500); background: rgba(232,179,76,0.12);
  border: 1px solid rgba(232,179,76,0.35); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow.dark { color: var(--ink-950); background: rgba(20,23,31,0.06); border-color: rgba(20,23,31,0.16); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 20px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero p.lead { font-size: 18px; color: #c7cbd6; max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13.5px; color: #9aa1b4; }
.hero-meta strong { color: #fff; display: block; font-size: 19px; font-weight: 700; }

.hero-card {
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px; padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h3 { margin: 0 0 14px; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold-500); }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,0.12); font-size: 14.5px; color: #d7dae2; }
.hero-card li:last-child { border-bottom: none; }
.hero-card li svg { flex: none; margin-top: 3px; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--paper-50); }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head h2 { font-size: 32px; letter-spacing: -0.01em; margin: 0 0 14px; color: var(--ink-950); }
.section-head p { color: var(--text-500); font-size: 16.5px; margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Pain grid */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius); padding: 26px; }
.pain-card .num { font-size: 13px; font-weight: 700; color: var(--gold-600); margin-bottom: 10px; letter-spacing: 0.03em; }
.pain-card h3 { margin: 0 0 10px; font-size: 17px; color: var(--ink-950); }
.pain-card p { margin: 0; color: var(--text-500); font-size: 14.5px; }

/* Deliverables */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deliverable { border: 1px solid var(--line-200); border-radius: var(--radius); padding: 24px; background: #fff; box-shadow: var(--shadow); }
.deliverable .icon { width: 40px; height: 40px; border-radius: 9px; background: var(--ink-950); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.deliverable h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink-950); }
.deliverable p { margin: 0; font-size: 14px; color: var(--text-500); }

/* Process */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 28px 22px 22px; border: 1px solid var(--line-200); border-radius: var(--radius); background: #fff; }
.step .step-label { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: var(--ink-950); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink-950); }
.step p { margin: 0; color: var(--text-500); font-size: 14.5px; }

/* Free tool (risk classifier) */
.tool-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line-200); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.tool-head { background: var(--ink-950); color: #fff; padding: 26px 30px; }
.tool-head h3 { margin: 0 0 6px; font-size: 18px; }
.tool-head p { margin: 0; font-size: 13.5px; color: #b7bcc8; }
.tool-body { padding: 28px 30px; }
.tool-question { margin-bottom: 20px; }
.tool-question label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-950); margin-bottom: 8px; }
.tool-question select, .tool-question textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-200); border-radius: 8px;
  font-size: 14.5px; font-family: inherit; background: var(--paper-50);
}
.tool-result { display: none; margin-top: 10px; padding: 20px; border-radius: 10px; border: 1px solid var(--line-200); background: var(--paper-50); }
.tool-result.visible { display: block; }
.tool-result .tier { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 999px; display: inline-block; margin-bottom: 12px; }
.tier-minimal { background: #e6f4ea; color: var(--green-600); }
.tier-limited { background: #fdf1da; color: #92640f; }
.tier-high { background: #fbe4e1; color: #a3311f; }
.tool-result ul { margin: 12px 0 0; padding-left: 18px; font-size: 14px; color: var(--text-500); }
.tool-result li { margin-bottom: 6px; }

/* Credibility / about */
.about-grid { display: grid; grid-template-columns: 0.4fr 0.6fr; gap: 48px; align-items: center; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge { font-size: 12.5px; font-weight: 600; color: var(--ink-700); background: var(--paper-100); border: 1px solid var(--line-200); padding: 7px 12px; border-radius: 999px; }
.avatar-block { background: linear-gradient(160deg, var(--ink-950), var(--ink-700)); border-radius: 16px; padding: 36px 28px; color: #fff; }
.avatar-initials { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-500); color: var(--ink-950); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.avatar-block h3 { margin: 0 0 4px; font-size: 19px; }
.avatar-block p.role { margin: 0 0 18px; color: var(--gold-500); font-size: 14px; font-weight: 600; }
.avatar-block p.bio { color: #cbcfd9; font-size: 14.5px; margin: 0; }

/* Pricing */
.pricing-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line-200); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.pricing-head { background: var(--ink-950); color: #fff; padding: 32px 34px; }
.pricing-head .price { font-size: 36px; font-weight: 700; margin: 6px 0 4px; }
.pricing-head .price span { font-size: 15px; font-weight: 500; color: #9aa1b4; }
.pricing-body { padding: 28px 34px 34px; }
.pricing-body ul { list-style: none; margin: 0 0 26px; padding: 0; }
.pricing-body li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14.5px; color: var(--ink-700); }
.check-gold { color: var(--gold-600); flex: none; margin-top: 2px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-200); padding: 20px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink-950); }
.faq-item p { margin: 0; color: var(--text-500); font-size: 14.5px; }

/* Footer */
footer.site-footer { background: var(--ink-950); color: #9aa1b4; padding: 48px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand { color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #9aa1b4; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.legal-note { font-size: 12px; color: #7d8496; max-width: 720px; }

/* ---------- Questionnaire ---------- */
.wizard-wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 100px; }
.wizard-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.wizard-progress span { flex: 1; height: 4px; border-radius: 999px; background: var(--line-200); }
.wizard-progress span.done { background: var(--gold-500); }
.wizard-card { background: #fff; border: 1px solid var(--line-200); border-radius: 14px; padding: 32px 34px; box-shadow: var(--shadow); }
.wizard-card h2 { font-size: 20px; margin: 0 0 6px; color: var(--ink-950); }
.wizard-card p.step-sub { color: var(--text-500); font-size: 14px; margin: 0 0 24px; }
.w-field { margin-bottom: 18px; }
.w-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-950); margin-bottom: 7px; }
.w-field input, .w-field select, .w-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-200); border-radius: 8px;
  font-size: 14.5px; font-family: inherit; background: var(--paper-50);
}
.w-field input:focus, .w-field select:focus, .w-field textarea:focus { outline: none; border-color: var(--ink-700); background: #fff; }
.w-field textarea { resize: vertical; }
.w-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-item { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-700); border: 1px solid var(--line-200); border-radius: 8px; padding: 10px 12px; background: var(--paper-50); }
.checkbox-item input { margin-top: 2px; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { border: 1px solid var(--line-200); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; cursor: pointer; background: var(--paper-50); }
.radio-pill input { margin-right: 6px; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; }
.wizard-error { color: #a3311f; font-size: 13px; margin-top: 10px; min-height: 18px; }

/* ---------- Success / pack page ---------- */
.success-wrap { max-width: 880px; margin: 0 auto; padding: 56px 24px 100px; }
.success-status { text-align: center; padding: 60px 20px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--line-200); border-top-color: var(--gold-500); border-radius: 50%; margin: 0 auto 18px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pack-card { background: #fff; border: 1px solid var(--line-200); border-radius: 14px; padding: 34px 36px; box-shadow: var(--shadow); }
.pack-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.pack-content h1, .pack-content h2, .pack-content h3 { color: var(--ink-950); }
.pack-content h2 { border-bottom: 2px solid var(--ink-950); padding-bottom: 6px; margin-top: 30px; }
.pack-content table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 13.5px; }
.pack-content th, .pack-content td { border: 1px solid var(--line-200); padding: 8px 10px; text-align: left; vertical-align: top; }
.pack-content th { background: var(--paper-100); }
.pack-content mark { background: #fdf1da; padding: 1px 4px; border-radius: 4px; }
.print-header { display: none; }

@media print {
  header.site-header, .pack-actions, footer.site-footer { display: none !important; }
  body { background: #fff; }
  .success-wrap { padding: 0; max-width: 100%; }
  .pack-card { border: none; padding: 0; box-shadow: none; }
  .print-header {
    display: block !important; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 3px solid var(--ink-950);
  }
  .print-header-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-950); margin-bottom: 12px; }
  .print-header h1 { font-size: 22px; margin: 0 0 12px; color: var(--ink-950); }
  .print-meta { display: flex; gap: 28px; font-size: 12.5px; color: var(--ink-700); margin-bottom: 8px; }
  .print-confidential { font-size: 11px; font-style: italic; color: var(--text-500); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pain-grid, .deliverables, .timeline { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  nav.links { display: none; }
  .w-row, .checkbox-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .pain-grid, .deliverables, .timeline { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 70px; }
  .wizard-card { padding: 24px 20px; }
}
