*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background: #fff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

#cnps-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =====================================================
   BRAND HEADER
===================================================== */
.cnps-brand-header {
  padding: 20px 32px;
  border-bottom: 1px solid #F3F4F6;
  background: #fff;
}

.cnps-brand-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.cnps-brand-inner:hover { opacity: 0.8; }

.cnps-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cnps-brand-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.cnps-brand-type {
  font-size: 10px;
  color: #C9A543;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* =====================================================
   MAIN CONTENT AREA
===================================================== */
.cnps-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px 80px;
  background: #fff;
}

.cnps-inner {
  width: 100%;
  max-width: 560px;
}

/* =====================================================
   PROGRESS
===================================================== */
.cnps-prog-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 8px;
}

.cnps-prog-track {
  width: 100%;
  height: 5px;
  background: #E5E7EB;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 24px;
}

.cnps-prog-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.45s ease;
}

/* =====================================================
   CARD
===================================================== */
.cnps-card {
  background: #fff;
  border: 1px solid #E8E8ED;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  animation: cnpsUp 0.3s ease;
}

@keyframes cnpsUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
.cnps-h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cnps-sub {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 26px;
  line-height: 1.6;
}

.cnps-lbl {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
}

.cnps-lbl-light {
  display: block;
  font-size: 13px;
  color: #374151;
  margin-bottom: 7px;
}

/* =====================================================
   INPUTS
===================================================== */
.cnps-fg { margin-bottom: 16px; }

.cnps-input {
  width: 100%;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  color: #111827;
  outline: none;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.cnps-input:focus {
  border-color: #1B2C6E;
  box-shadow: 0 0 0 3px rgba(27, 44, 110, 0.09);
}

.cnps-textarea {
  width: 100%;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  outline: none;
  resize: none;
  min-height: 90px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.cnps-textarea:focus {
  border-color: #1B2C6E;
  box-shadow: 0 0 0 3px rgba(27, 44, 110, 0.09);
}

/* =====================================================
   BUTTONS
===================================================== */
.cnps-btn {
  width: 100%;
  padding: 15px;
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: filter 0.2s, transform 0.1s;
  -webkit-appearance: none;
  line-height: 1;
}

.cnps-btn:hover  { filter: brightness(0.88); }
.cnps-btn:active { transform: scale(0.99); }

.cnps-ghost {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  padding: 13px;
  color: #9CA3AF;
  transition: color 0.2s;
  -webkit-appearance: none;
}

.cnps-ghost:hover { color: #374151; }

/* =====================================================
   STARS
===================================================== */
.cnps-stars {
  display: flex;
  gap: 10px;
  margin: 16px 0 26px;
}

.cnps-star {
  font-size: 44px;
  cursor: pointer;
  color: #E5E7EB;
  line-height: 1;
  transition: color 0.15s, transform 0.1s;
  user-select: none;
  -webkit-user-select: none;
}

.cnps-star.on   { color: #C9A543; }
.cnps-star:hover { transform: scale(1.12); }

/* =====================================================
   CHOICES (Yes / Maybe / No)
===================================================== */
.cnps-choices {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.cnps-choice {
  flex: 1;
  padding: 11px 8px;
  border: 1.5px solid #D1D5DB;
  border-radius: 99px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  color: #374151;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.cnps-choice:hover { border-color: #1B2C6E; }
.cnps-choice.sel  { border-color: #1B2C6E; background: #EEF1F9; color: #1B2C6E; }

/* =====================================================
   ICON CIRCLE
===================================================== */
.cnps-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

/* =====================================================
   GOOGLE BOX
===================================================== */
.cnps-gbox {
  border-radius: 12px;
  padding: 18px;
  margin-top: 20px;
  border-style: solid;
  border-width: 1.5px;
}

.cnps-gbox h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cnps-gbox p {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* =====================================================
   BRANDING BLOCK (thank-you screen)
===================================================== */
.cnps-ty-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #F8F9FC;
  border-radius: 11px;
  padding: 14px 16px;
  margin: 22px 0 16px;
}

.cnps-ty-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =====================================================
   UTILITY
===================================================== */
.cnps-tc  { text-align: center; }
.cnps-mt8 { margin-top: 8px; }

/* =====================================================
   MOBILE  ≤ 600px
===================================================== */
@media (max-width: 600px) {

  .cnps-brand-header { padding: 16px 20px; }

  .cnps-main {
    padding: 28px 16px 60px;
    align-items: flex-start;
  }

  .cnps-card {
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  }

  .cnps-h1 { font-size: 22px; }

  .cnps-stars { gap: 6px; }
  .cnps-star  { font-size: 36px; }

  .cnps-choices { gap: 8px; }
  .cnps-choice  { font-size: 13px; padding: 10px 4px; }

  .cnps-btn { padding: 14px; font-size: 14px; }
}

/* =====================================================
   TABLET  601 – 900px
===================================================== */
@media (min-width: 601px) and (max-width: 900px) {
  .cnps-main { padding: 36px 24px 60px; }
  .cnps-card { padding: 30px 26px; }
}
