/* ============================================================
   Carefinder — Shared Stylesheet
   carefinder.css v2
   Extracted from all page components
   Single source of truth for all styles
   ============================================================ */

/* ── FROM: index.html ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #52B788;
  --green-dark: #2D8B5E;
  --green-light: #E8F5EE;
  --green-mid: #A8D9BE;
  --amber: #F4A261;
  --amber-light: #FEF3E8;
  --error: #E24B4A;
  --error-light: #FCEBEB;
  --bg: #F7F5F1;
  --bg-card: #FFFFFF;
  --text: #1C1C1A;
  --text-mid: #5A5A55;
  --text-light: #9A9A93;
  --border: #E5E3DC;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-chip: 24px;
}

html {
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
header {
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: -0.3px;
  text-decoration: none;
}

.lang-switcher {
  display: flex;
  gap: 3px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px;
}

.lang-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-light);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--green);
  color: white;
}

/* HERO */
.hero {
  padding: 28px 20px 20px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.hero-title em {
  font-style: italic;
  color: var(--green-dark);
}

.hero-sub {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* CARDS AREA */
.cards {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* EMPLOYER CARD — DOMINANT */
.card-employer {
  background: var(--green);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}

.card-employer:active {
  transform: scale(0.98);
}

.card-employer::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.card-employer::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 60px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.card-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
  color: white;
}

.card-employer .card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.card-employer .card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 20px;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.card-btn-white {
  background: white;
  color: var(--green-dark);
}

.card-btn-white:hover {
  background: var(--green-light);
}

.card-btn svg {
  width: 14px;
  height: 14px;
}

/* SMALL CARDS ROW */
.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card-small {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
}

.card-small:active {
  transform: scale(0.97);
}

.card-small:hover {
  border-color: var(--green-mid);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-small .card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}

.card-small .card-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

.card-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.card-arrow span {
  font-size: 11px;
  font-weight: 500;
  color: var(--green-dark);
}

.card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* WHO WE ARE SECTION */
.section-whoweare {
  margin: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.whoweare-top {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.whoweare-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.whoweare-body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.whoweare-body p+p {
  margin-top: 12px;
}

.whoweare-body strong {
  color: var(--text);
  font-weight: 500;
}

.whoweare-quote {
  padding: 20px 24px;
  background: var(--green-light);
}

.quote-text {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.5;
}

/* TRUST SIGNALS */
.trust-section {
  padding: 0 20px 24px;
}

.trust-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: center;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-mid);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
}

.trust-pill svg {
  width: 13px;
  height: 13px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* FOOTER */
footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-sub {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green-dark);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.hero {
  animation: fadeUp 0.5s ease both;
}

.card-employer {
  animation: fadeUp 0.5s ease 0.1s both;
}

.cards-row {
  animation: fadeUp 0.5s ease 0.2s both;
}

.section-whoweare {
  animation: fadeUp 0.5s ease 0.3s both;
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 26, 0.5);
  z-index: 100;
  align-items: flex-end;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 480px;
  padding: 28px 24px 40px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

}

.modal-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.modal-sub {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}

.modal-btn:hover {
  background: var(--green-dark);
}

.modal-btn-blue {
  background: #2563EB;
  color: white;
  border: 1px solid var(--border);
}

.modal-btn.modal-btn-blue:hover {
  background: #204982;
  border-color: #A9CCE3;
}

.modal-btn-outline {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border);
}

.modal-btn-outline:hover {
  background: var(--bg);
  border-color: var(--green-mid);
}

.modal-btn-helper {
  font-size: 11px;
  font-weight: 400;
  color: white;
  margin-top: 0px;
  text-align: center;
  font-style: italic;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-mid);
}

/* ── FROM: employer-form.html ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

.form-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: 16px 20px 0
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "DM Sans", sans-serif
}

.back-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.step-indicator {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500
}

.step-indicator span {
  color: var(--green-dark);
  font-weight: 600
}

.progress-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px
}

.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.4s ease
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  padding: 4px 0 12px
}

.progress-step-label {
  font-size: 10px;
  color: var(--text-light);
  transition: color 0.3s
}

.progress-step-label.active {
  color: var(--green-dark);
  font-weight: 500
}

.form-body {
  padding: 8px 20px 120px
}

.step-panel {
  display: none;
  animation: fadeIn 0.3s ease
}

.step-panel.active {
  display: block
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

}

.step-title {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
  line-height: 1.25
}

.step-sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.5
}

.section-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 20px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border)
}

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0
}

.form-group {
  margin-bottom: 20px
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px
}

.form-label-hint {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 7px;
  display: block
}

.required-star {
  color: var(--error);
  margin-left: 2px
}

.optional {
  font-weight: 400;
  color: var(--text-light);
  font-size: 12px;
  margin-left: 4px
}

.chips-single {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.chip-single {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  font-family: "DM Sans", sans-serif
}

.chip-single:hover {
  border-color: var(--green-mid)
}

.chip-single.selected {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 500
}

.chip-single-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s
}

.chip-single.selected .chip-single-radio {
  border-color: var(--green);
  background: var(--green)
}

.chip-single.selected .chip-single-radio::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white
}

.chips-multi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.chip-multi {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  font-family: "DM Sans", sans-serif
}

.chip-multi:hover {
  border-color: var(--green-mid)
}

.chip-multi.selected {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 500
}

.chip-multi-check {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s
}

.chip-multi.selected .chip-multi-check {
  border-color: var(--green);
  background: var(--green)
}

.chip-multi-check svg {
  display: none;
  width: 9px;
  height: 9px;
  stroke: white;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round
}

.chip-multi.selected .chip-multi-check svg {
  display: block
}

.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239A9A93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center
}

.form-select:focus {
  border-color: var(--green)
}

.form-select.error {
  border-color: var(--error);
  background-color: var(--error-light)
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none
}

.form-input:focus {
  border-color: var(--green)
}

.form-input.error {
  border-color: var(--error);
  background-color: var(--error-light)
}

.info-box {
  background: var(--green-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
  margin-bottom: 8px
}

.info-box svg {
  width: 16px;
  height: 16px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 1px
}

.info-box p {
  font-size: 12px;
  color: var(--green-dark);
  line-height: 1.5
}

.warning-box {
  background: var(--amber-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px
}

.warning-box svg {
  width: 16px;
  height: 16px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 1px
}

.warning-box p {
  font-size: 12px;
  color: #8B5E2D;
  line-height: 1.5
}

.skill-block {
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden
}

.skill-block.error-border {
  border-color: var(--error)
}

.skill-block-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px
}

.skill-block-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.skill-block-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.skill-block-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text)
}

.skill-block-selected {
  font-size: 12px;
  color: var(--green-dark);
  margin-left: auto;
  font-weight: 500
}

.skill-levels {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.skill-level {
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 10px
}

.skill-level:hover {
  background: var(--bg)
}

.skill-level.selected {
  background: var(--green-light);
  border-color: var(--green)
}

.skill-level-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s
}

.skill-level.selected .skill-level-radio {
  border-color: var(--green);
  background: var(--green)
}

.skill-level.selected .skill-level-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white
}

.skill-level-content {
  flex: 1
}

.skill-level-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px
}

.skill-level-example {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.4;
  font-style: italic
}

.skill-level-note {
  font-size: 11px;
  color: var(--amber);
  margin-top: 4px;
  line-height: 1.4
}

.priorities-section {
  margin-top: 8px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px;
  border: 1.5px solid var(--border)
}

.priorities-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px
}

.priorities-sub {
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.5
}

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

.priority-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none
}

.priority-option:hover {
  border-color: var(--green-mid)
}

.priority-option.selected {
  border-color: var(--green);
  background: var(--green-light)
}

.priority-check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s
}

.priority-option.selected .priority-check {
  border-color: var(--green);
  background: var(--green)
}

.priority-check svg {
  display: none;
  width: 10px;
  height: 10px;
  stroke: white;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round
}

.priority-option.selected .priority-check svg {
  display: block
}

.priority-label {
  font-size: 13px;
  color: var(--text)
}

.priority-option.selected .priority-label {
  color: var(--green-dark);
  font-weight: 500
}

.priority-limit-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center
}

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

.budget-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none
}

.budget-option:hover {
  border-color: var(--green-mid)
}

.budget-option.selected {
  border-color: var(--green);
  background: var(--green-light)
}

.budget-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s
}

.budget-option.selected .budget-radio {
  border-color: var(--green);
  background: var(--green)
}

.budget-option.selected .budget-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white
}

.budget-label {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4
}

.budget-option.selected .budget-label {
  color: var(--green-dark);
  font-weight: 500
}

.summary-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden
}

.summary-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border)
}

.summary-section-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text)
}

.summary-edit-btn {
  font-size: 12px;
  color: var(--green-dark);
  background: none;
  border: none;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  padding: 0
}

.summary-section-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px
}

.summary-key {
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
  padding-top: 1px
}

.summary-val {
  font-size: 13px;
  color: var(--text);
  text-align: right;
  line-height: 1.4
}

.summary-skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border)
}

.summary-skill-row:last-child {
  border-bottom: none
}

.summary-skill-name {
  font-size: 12px;
  color: var(--text-light)
}

.summary-skill-val {
  font-size: 12px;
  color: var(--text);
  font-weight: 500
}

.summary-priority-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 500;
  margin: 2px
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px 20px 32px;
  display: flex;
  gap: 12px
}

.btn-back {
  flex: 0 0 auto;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px
}

.btn-back svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.btn-next {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--green);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.btn-next svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.btn-next:hover {
  background: var(--green-dark)
}

.btn-next:active {
  transform: scale(0.98)
}

.success-screen {
  display: none;
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 0.4s ease
}

.success-screen.active {
  display: block
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px
}

.success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.success-title {
  font-family: "DM Serif Display", serif;
  font-size: 26px;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px
}

.success-sub {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 32px
}

.success-steps {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  margin-bottom: 24px
}

.success-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px
}

.success-step:last-child {
  margin-bottom: 0
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.step-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
  padding-top: 2px
}

.step-text strong {
  color: var(--text);
  font-weight: 500
}

.btn-home {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--green);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: white;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s
}

.btn-home:hover {
  background: var(--green-dark)
}

/* ── FROM: caregiver-form.html ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.rate-row {
  display: flex;
  align-items: center;
  gap: 10px
}

.rate-prefix {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  flex-shrink: 0
}

.rate-suffix {
  font-size: 13px;
  color: var(--text-mid);
  flex-shrink: 0
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 16px
}

.skill-badge svg {
  width: 13px;
  height: 13px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

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

.skill-option {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  overflow: hidden
}

.skill-option:hover {
  border-color: var(--green-mid)
}

.skill-option.selected {
  border-color: var(--green);
  background: var(--green-light)
}

.skill-option-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px
}

.skill-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s
}

.skill-option.selected .skill-radio {
  border-color: var(--green);
  background: var(--green)
}

.skill-option.selected .skill-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white
}

.skill-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5
}

.skill-option.selected .skill-text {
  color: var(--green-dark);
  font-weight: 500
}

.skill-note {
  display: none;
  padding: 0 14px 14px 44px;
  font-size: 12px;
  color: var(--green-dark);
  line-height: 1.6;
  border-top: 1px solid var(--green-mid)
}

.skill-option.selected .skill-note {
  display: block
}

.skill-note-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px
}

.btn-back:hover {
  border-color: var(--green-mid)
}

/* ── FROM: how-it-works-families.html ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

.page-header {
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px
}

.back-link {
  font-size: 14px;
  color: var(--text-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px
}

.back-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.page-hero {
  padding: 0 20px 36px
}

.page-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px
}

.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px
}

.page-sub {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6
}

.panels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 40px
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden
}

.panel-art {
  width: 100%;
  height: 200px;
  overflow: hidden
}

.panel-art svg {
  width: 100%;
  height: 100%;
  display: block
}

.panel-body {
  padding: 18px 20px 20px
}

.panel-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.2px
}

.panel-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 0 20px 32px
}

.faq-section {
  padding: 0 20px;
  margin-bottom: 40px
}

.faq-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden
}

.faq-q {
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.4
}

.faq-q svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.2s
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg)
}

.faq-a {
  display: none;
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6
}

.faq-item.open .faq-a {
  display: block
}

.cta-wrap {
  padding: 0 20px 60px
}

.cta-card {
  background: var(--green);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center
}

.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.3px
}

.cta-sub {
  font-size: 14px;
  color: var(--green-light);
  margin-bottom: 22px;
  line-height: 1.5
}

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--green-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none
}

.cta-link {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--green-light);
  text-decoration: none
}

/* ── FROM: privacy.html ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

.width:50px;

height:50px img {
  width: 41px;
  height: 41px;
  object-fit: contain
}

.content {
  padding: 0 20px 80px;
  max-width: 680px
}

.page-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px
}

.section {
  margin-bottom: 32px
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border)
}

.body-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 12px
}

.bullet-list {
  margin: 10px 0 12px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.bullet-list li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6
}

.note-box {
  background: var(--amber-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
  border-left: 3px solid var(--amber)
}

.note-box p {
  font-size: 13px;
  color: #8B5E2D;
  line-height: 1.6
}

.contact-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px
}

.contact-block p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6
}

.contact-block a {
  color: var(--green-dark);
  font-weight: 500
}

.planned-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--amber-light);
  color: #8B5E2D;
  margin-left: 8px;
  vertical-align: middle
}

/* ── FROM: terms.html ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

.key-point {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px
}

.key-point-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px
}

.key-point-body {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5
}




/* ── VALIDATION ERROR STATES ─────────────────────────────── */
@keyframes errShake {

  0%,
  100% {
    transform: translateX(0)
  }

  20% {
    transform: translateX(-5px)
  }

  40% {
    transform: translateX(5px)
  }

  60% {
    transform: translateX(-3px)
  }

  80% {
    transform: translateX(3px)
  }
}

.chips-error {
  display: none;
}

.chips-error.show {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--error-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--error);
  line-height: 1.5;
  animation: errShake 0.35s ease;
}

.error-msg {
  display: none;
}

.error-msg.show {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--error-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--error);
  line-height: 1.5;
  animation: errShake 0.35s ease;
}

.form-input.error {
  border-color: var(--error);
  background-color: var(--error-light);
}

.form-select.error {
  border-color: var(--error);
  background-color: var(--error-light);
}

.skill-block.error-border {
  border: 2px solid var(--error) !important;
}

/* ── CONSENT BLOCK ──────────────────────────────────────── */
.consent-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 16px
}

.consent-row:last-child {
  margin-bottom: 0
}

.consent-row input[type=checkbox] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--green)
}

.consent-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5
}

.consent-text a {
  color: var(--green-dark)
}

/* ── MOBILE READABILITY ─────────────────────────────────── */
@media (max-width: 600px) {

  /* Body text — minimum 15px */
  .hero-sub,
  .card-desc,
  .whoweare-body,
  .modal-sub,
  .step-sub,
  .success-steps p,
  .consent-text {
    font-size: 15px;
    line-height: 1.6
  }

  /* Form elements — minimum 14px */
  .form-label {
    font-size: 14px
  }

  .chip-single,
  .chip-multi,
  .skill-opt-text {
    font-size: 14px
  }

  .form-input,
  .form-select {
    font-size: 15px
  }

  /* Supporting text — minimum 13px */
  .form-label-hint {
    font-size: 13px
  }

  .info-box p,
  .warning-box p {
    font-size: 13px;
    line-height: 1.6
  }

  .skill-opt-note {
    font-size: 13px
  }

  .chips-error.show,
  .error-msg.show {
    font-size: 13px
  }
}