:root {
  --fs-green: #446b56;
  --fs-green-dark: #294d3b;
  --fs-sage: #a3c1ad;
  --fs-cream: #f3efe5;
  --fs-ink: #23322a;
  --fs-muted: #66736c;
  --fs-line: #dce5df;
  --fs-white: #fff;
}

.plc-nutraceutic-survey,
.plc-nutraceutic-survey * { box-sizing: border-box; }

.plc-nutraceutic-survey {
  max-width: 980px;
  margin: 42px auto;
  color: var(--fs-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.plc-survey-standalone {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #edf3ef 0%, #f8f6ef 100%);
}

.plc-survey-standalone #plc-survey-main {
  display: flow-root;
  width: 100%;
  min-height: 100vh;
  padding: 1px 0 42px;
}

.plc-survey-standalone .plc-nutraceutic-survey {
  margin-top: 28px;
}

.fs-hero {
  position: relative;
  overflow: hidden;
  padding: 54px clamp(24px, 6vw, 72px) 104px;
  border-radius: 30px 30px 0 0;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 87% 78%, rgba(255,255,255,.12) 0 3px, transparent 4px),
    linear-gradient(135deg, #294d3b 0%, #547a63 100%);
}

.fs-hero::before,
.fs-hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50% 0 50% 50%;
  transform: rotate(25deg);
}
.fs-hero::before { left: -130px; bottom: -130px; }
.fs-hero::after { right: -150px; top: -135px; }

.fs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.fs-brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
}
.fs-eyebrow {
  margin: 0 0 10px;
  color: #dbe9df;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.fs-hero h1 {
  max-width: 720px;
  margin: 0 auto 18px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
}
.fs-intro { max-width: 670px; margin: 0 auto; color: #edf4ef; font-size: 1.06rem; }
.fs-duration {
  display: inline-flex;
  gap: 8px;
  margin: 24px auto 0;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: .85rem;
}

.fs-panel {
  position: relative;
  z-index: 2;
  width: calc(100% - 48px);
  min-height: 520px;
  margin: -62px auto 0;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(58,90,70,.12);
  border-radius: 24px;
  background: var(--fs-white);
  box-shadow: 0 24px 65px rgba(28,61,43,.12);
}

.fs-progress-wrap { margin-bottom: 42px; }
.fs-progress-meta { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--fs-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.fs-progress { height: 7px; overflow: hidden; border-radius: 999px; background: #eaf0ec; }
.fs-progress span { display: block; width: 12.5%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--fs-sage), var(--fs-green)); transition: width .35s ease; }

.fs-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.fs-step { display: none; animation: fsIn .32s ease both; }
.fs-step.is-active { display: block; }
@keyframes fsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.fs-step legend {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0 0 10px;
  color: var(--fs-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
}
.fs-step legend span {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--fs-cream);
  color: var(--fs-green);
  font: 800 .78rem/1 Inter, sans-serif;
}
.fs-step-lead { margin: 0 0 28px 58px; color: var(--fs-muted); }
.fs-section-icon { float: right; margin-top: -52px; color: #bfd0c4; font-size: 2rem; }

.fs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.fs-field { display: flex; flex-direction: column; gap: 8px; color: var(--fs-ink); font-size: .92rem; font-weight: 700; }
.fs-field > span, .fs-required, .fs-consent strong { color: #b44e45; }
.fs-field-wide { grid-column: 1 / -1; }
.fs-field input,
.fs-field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  outline: none;
  background: #fbfcfb;
  color: var(--fs-ink);
  font: inherit;
  font-weight: 400;
  transition: border .2s, box-shadow .2s, background .2s;
}
.fs-field textarea { resize: vertical; min-height: 100px; }
.fs-field input:focus,
.fs-field textarea:focus { border-color: var(--fs-green); background: white; box-shadow: 0 0 0 4px rgba(68,107,86,.1); }
.fs-field small { color: var(--fs-muted); font-size: .76rem; font-weight: 400; }

.fs-question { margin: 30px 0; }
.fs-question > p { margin: 0 0 16px; font-size: 1rem; font-weight: 700; }
.fs-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px; }
.fs-choices label,
.fs-nps label { cursor: pointer; }
.fs-choices input,
.fs-nps input { position: absolute; opacity: 0; pointer-events: none; }
.fs-choices label span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: white;
  font-size: .86rem;
  font-weight: 650;
  transition: .2s ease;
}
.fs-choices label span i {
  display: grid;
  flex: 0 0 27px;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #edf3ef;
  color: var(--fs-green);
  font-size: .73rem;
  font-style: normal;
}
.fs-choices input:focus-visible + span,
.fs-nps input:focus-visible + span { outline: 3px solid rgba(68,107,86,.25); outline-offset: 2px; }
.fs-choices input:checked + span { border-color: var(--fs-green); background: #f2f7f3; box-shadow: 0 5px 16px rgba(44,82,59,.08); }
.fs-choices input:checked + span i { background: var(--fs-green); color: white; }

.fs-nps-labels { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--fs-muted); font-size: .75rem; }
.fs-nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 7px; margin-bottom: 28px; }
.fs-nps label span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  background: white;
  font-weight: 800;
  transition: .2s ease;
}
.fs-nps input:checked + span { border-color: var(--fs-green); background: var(--fs-green); color: white; transform: translateY(-3px); box-shadow: 0 7px 14px rgba(41,77,59,.18); }

.fs-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; color: var(--fs-muted); font-size: .84rem; cursor: pointer; }
.fs-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--fs-green); }
.fs-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 38px; padding-top: 24px; border-top: 1px solid #edf1ee; }
.fs-btn { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font: 750 .9rem/1 Inter, sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; }
.fs-btn:hover { transform: translateY(-2px); }
.fs-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.fs-btn-primary { margin-left: auto; background: var(--fs-green-dark); color: white; box-shadow: 0 8px 20px rgba(41,77,59,.18); }
.fs-btn-secondary { background: #edf2ef; color: var(--fs-green-dark); }
.fs-error { margin-top: 20px; padding: 12px 15px; border-radius: 10px; background: #fff0ee; color: #8d372f; font-size: .87rem; }
.fs-invalid { border-color: #bd554c !important; box-shadow: 0 0 0 3px rgba(189,85,76,.1) !important; }
.fs-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.fs-success { padding: 55px 10px 35px; text-align: center; }
.fs-success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: #e7f1ea; color: var(--fs-green); font-size: 2rem; }
.fs-success h2 { margin: 0 0 12px; color: var(--fs-green-dark); font-family: Georgia, serif; font-size: 2rem; }
.fs-success p { max-width: 600px; margin: auto; color: var(--fs-muted); }

@media (max-width: 700px) {
  .plc-survey-standalone #plc-survey-main { padding-bottom: 0; }
  .plc-survey-standalone .plc-nutraceutic-survey { margin-top: 0; }
  .plc-nutraceutic-survey { margin: 0 auto; }
  .fs-hero { padding: 42px 20px 90px; border-radius: 0; }
  .fs-panel { width: calc(100% - 24px); margin-top: -52px; padding: 25px 18px; border-radius: 20px; }
  .fs-grid { grid-template-columns: 1fr; gap: 16px; }
  .fs-field-wide { grid-column: auto; }
  .fs-step-lead { margin-left: 0; }
  .fs-section-icon { display: none; }
  .fs-choices { grid-template-columns: 1fr 1fr; }
  .fs-nps { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 430px) {
  .fs-choices { grid-template-columns: 1fr; }
  .fs-btn { padding: 0 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .plc-nutraceutic-survey *, .plc-nutraceutic-survey *::before, .plc-nutraceutic-survey *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
