@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600;700&family=Sacramento&display=swap');

:root {
  --palo-de-rosa: #C6605D;
  --palo-de-rosa-700: #A94F4C;
  --palo-de-rosa-800: #8E423F;
  --rosa-palido: #E9C1C0;
  --rosa-wash: #F8EAEA;
  --beige-claro: #F2E9DB;
  --beige-deep: #E7DAC6;
  --blanco: #FFFFFF;

  --paper: #FBF7F2;
  --paper-2: #F6EEE6;

  --ink-900: #3A2D2B;
  --ink-700: #5A4A46;
  --ink-600: #6E5C57;
  --ink-400: #9A8983;
  --ink-200: #D9CBC4;

  --success: #7A8B6F;
  --success-bg: #EDF0E7;
  --warning: #C99A52;
  --warning-bg: #F6ECD8;
  --danger: #B5524E;
  --danger-bg: #F6E2E1;

  --border-subtle: var(--ink-200);

  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-md: 0 10px 30px -12px rgba(140, 84, 82, 0.18);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Raleway', system-ui, -apple-system, sans-serif;
  --font-script: 'Sacramento', 'Brush Script MT', cursive;

  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  font-family: var(--font-sans);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--palo-de-rosa); }
a:hover { color: var(--palo-de-rosa-700); }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 6vw, 48px) 16px 64px;
}

.brand {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: clamp(20px, 4vw, 32px);
  text-align: center;
}

.brand-logo {
  height: clamp(100px, 20vw, 150px);
  width: auto;
  max-width: 100%;
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.progress-wrap {
  width: 100%;
  max-width: 640px;
  margin-bottom: 24px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-400);
  margin-bottom: 8px;
  font-weight: 500;
  gap: 12px;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: var(--rosa-wash);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--palo-de-rosa);
  border-radius: var(--radius-pill);
  transition: width 240ms var(--ease-soft);
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--blanco);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 5vw, 40px);
}

.screen-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
  margin: 0 0 14px;
  font-size: clamp(22px, 5vw, 28px);
}

.screen-lead {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0 0 28px;
}

.pillar-intro-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.pillar-intro-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-700);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--palo-de-rosa);
  flex-shrink: 0;
}

.disclaimer {
  font-size: 12px;
  color: var(--ink-400);
  margin-bottom: 24px;
  line-height: 1.5;
}

.btn {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  padding: 14px 26px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--palo-de-rosa);
  color: var(--blanco);
}

.btn-primary:hover:not(:disabled) { background: var(--palo-de-rosa-700); }

.btn-outline {
  background: transparent;
  color: var(--palo-de-rosa-800);
  border: 1px solid var(--palo-de-rosa);
}

.btn-outline:hover:not(:disabled) { background: var(--rosa-wash); }

.btn-ghost {
  background: transparent;
  color: var(--ink-600);
}

.btn-ghost:hover:not(:disabled) { color: var(--ink-900); }

.btn-block { width: 100%; padding: 16px 26px; }

.pillar-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--palo-de-rosa-800);
  font-weight: 600;
  margin-bottom: 12px;
}

.question-text {
  font-family: var(--font-serif);
  font-size: clamp(19px, 4.5vw, 22px);
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 26px;
  line-height: 1.4;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--blanco);
  border: 1px solid var(--border-subtle);
  transition: background 160ms ease, border-color 160ms ease;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-900);
  text-align: left;
  width: 100%;
}

.option-row:hover { border-color: var(--rosa-palido); }

.option-row.selected {
  background: var(--rosa-wash);
  border-color: var(--palo-de-rosa);
}

.option-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--ink-400);
  background: transparent;
}

.option-row.selected .option-dot {
  border: 5px solid var(--palo-de-rosa);
  background: var(--blanco);
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
}

.field input {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-900);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--paper);
  outline: none;
  transition: border-color 160ms ease;
}

.field input:focus { border-color: var(--palo-de-rosa); }

.field-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 4px;
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.result-head { text-align: center; }

.result-overline {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 14px;
}

.result-score {
  font-family: var(--font-serif);
  font-size: clamp(44px, 12vw, 56px);
  font-weight: 700;
  color: var(--palo-de-rosa-800);
  line-height: 1;
}

.result-score-max {
  font-size: 22px;
  color: var(--ink-400);
  font-weight: 500;
}

.badge {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }

.result-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.result-section-title {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.result-main-pillar {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--palo-de-rosa);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.result-narrative {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.65;
}

.areas-block { margin-top: 32px; }

.areas-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 600;
  margin-bottom: 14px;
}

.pillar-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  gap: 12px;
}

.pillar-row-label { font-size: 14px; color: var(--ink-900); }
.pillar-row-tag { font-size: 13px; font-weight: 600; white-space: nowrap; }

.cta-box {
  margin-top: 32px;
  padding: 26px;
  background: var(--rosa-wash);
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--palo-de-rosa-800);
  margin-bottom: 8px;
}

.cta-text {
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.6;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.save-note {
  text-align: center;
  font-size: 11px;
  color: var(--ink-400);
  margin-top: 20px;
}

@media (max-width: 420px) {
  .nav-row { gap: 10px; }
  .btn { padding: 13px 20px; font-size: 14px; }
}
