:root {
  --ink: #10243a;
  --navy: #0b1f33;
  --navy-2: #132f48;
  --teal: #20c6b5;
  --teal-dark: #0d8f85;
  --teal-pale: #ddf8f4;
  --amber: #f2b94b;
  --amber-pale: #fff4d8;
  --coral: #f27868;
  --coral-pale: #fff0ee;
  --blue-pale: #edf6ff;
  --paper: #ffffff;
  --wash: #f3f7f8;
  --line: #dce7e9;
  --muted: #657688;
  --shadow: 0 18px 48px rgba(11, 31, 51, 0.10);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
select,
textarea,
input {
  font: inherit;
}

button,
select,
label {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus-visible,
select:focus-visible,
textarea:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(32, 198, 181, 0.35);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prototype-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 18px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  text-align: center;
}

.prototype-dot,
.live-dot {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(32, 198, 181, 0.15);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(220, 231, 233, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand small {
  margin-top: -1px;
  color: var(--muted);
  font-size: 0.72rem;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--navy);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  height: 4px;
  border: solid var(--teal);
  border-width: 3px 0 0;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.brand-mark::before {
  left: 8px;
  top: 19px;
  width: 27px;
}

.brand-mark::after {
  left: 7px;
  top: 23px;
  width: 22px;
}

.brand-mark i,
.brand-mark b {
  position: absolute;
  z-index: 2;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.brand-mark i {
  left: 7px;
  bottom: 9px;
  background: var(--amber);
}

.brand-mark b {
  right: 6px;
  top: 10px;
  background: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border-radius: 14px;
  background: #edf3f4;
}

.nav-button {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5b6b7a;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 160ms ease;
}

.nav-button:hover {
  color: var(--ink);
}

.nav-button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(11, 31, 51, 0.08);
}

main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 76px;
}

.app-view {
  display: none;
}

.app-view.active {
  display: block;
  animation: view-in 240ms ease both;
}

@keyframes view-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.view-heading,
.business-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.view-heading > div:first-child,
.business-heading > div:first-child {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 10px;
  font-size: clamp(2.15rem, 4.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.view-heading > div > p:last-child,
.business-heading > div > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.time-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 12px 16px;
  border: 1px solid #c8e9e5;
  border-radius: 999px;
  background: var(--teal-pale);
  color: #126a63;
}

.time-pill span {
  font-size: 1.25rem;
}

.time-pill strong {
  font-size: 0.9rem;
}

.contribute-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.survey-card,
.insight-card,
.principles-card,
.needs-panel,
.places-panel,
.dashboard-card,
.metric-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.055);
}

.survey-card {
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  background: #fbfdfd;
}

.progress-row > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 200px;
}

.progress-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.progress-row strong {
  font-size: 0.9rem;
}

.progress-track {
  width: min(260px, 48%);
  height: 7px;
  overflow: hidden;
  border-radius: 20px;
  background: #e6eeee;
}

.progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  transition: width 240ms ease;
}

#experience-form {
  padding: 30px 30px 26px;
}

.survey-step {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.survey-step.active {
  display: block;
  animation: step-in 220ms ease both;
}

@keyframes step-in {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.field-label > span {
  color: var(--muted);
  font-weight: 600;
}

select,
textarea,
.text-input {
  width: 100%;
  border: 1px solid #cfdcdf;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
}

select {
  min-height: 52px;
  padding: 0 42px 0 15px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #637587 50%), linear-gradient(135deg, #637587 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

textarea {
  padding: 13px 15px;
  resize: vertical;
}

.text-input {
  min-height: 52px;
  padding: 0 15px;
}

select:hover,
textarea:hover,
.text-input:hover {
  border-color: #9fb7bc;
}

.field-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 23px;
}

.question-block {
  margin-top: 28px;
}

.choice-row {
  display: grid;
  gap: 8px;
}

.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.choice-row button,
.sensory-options button {
  min-height: 46px;
  padding: 8px;
  border: 1px solid #d7e2e4;
  border-radius: 11px;
  background: #f9fbfb;
  color: #536577;
  font-size: 0.83rem;
  font-weight: 750;
  transition: 150ms ease;
}

.choice-row button:hover,
.sensory-options button:hover {
  border-color: #a7c5c8;
  color: var(--ink);
}

.choice-row button.selected,
.sensory-options button.selected {
  border-color: var(--teal-dark);
  background: var(--teal-pale);
  color: #0b746b;
  box-shadow: inset 0 0 0 1px var(--teal-dark);
}

.scale-key {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7fafb;
  color: var(--muted);
  font-size: 0.72rem;
}

.scale-key > span:first-child {
  margin-right: auto;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
}

.key-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
}

.comfortable { background: var(--teal); }
.manageable { background: #78aee9; }
.difficult { background: var(--amber); }
.overwhelming { background: var(--coral); }

.sensory-grid {
  display: grid;
  gap: 10px;
}

.sensory-row {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f3;
}

.sensory-row:last-child {
  border-bottom: 0;
}

.sensory-row > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 780;
}

.sensory-symbol {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: #eff6f7;
  color: var(--teal-dark);
  font-size: 0.78rem;
}

.sensory-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.sensory-options button {
  min-height: 38px;
  padding: 5px;
  font-size: 0.72rem;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.check-grid label {
  position: relative;
  cursor: pointer;
}

.check-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-grid span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 11px;
  border: 1px solid #d7e2e4;
  border-radius: 11px;
  background: #f9fbfb;
  color: #536577;
  font-size: 0.8rem;
  font-weight: 750;
}

.check-grid input:checked + span {
  border-color: var(--teal-dark);
  background: var(--teal-pale);
  color: #0b746b;
  box-shadow: inset 0 0 0 1px var(--teal-dark);
}

.check-grid input:focus-visible + span {
  outline: 3px solid rgba(32, 198, 181, 0.35);
  outline-offset: 3px;
}

.outcome-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.outcome-cards button {
  min-height: 92px;
  padding: 13px;
  border: 1px solid #d7e2e4;
  border-radius: 12px;
  background: #f9fbfb;
  color: var(--ink);
  text-align: left;
  transition: 150ms ease;
}

.outcome-cards button:hover {
  border-color: #a7c5c8;
}

.outcome-cards button.selected {
  border-color: var(--teal-dark);
  background: var(--teal-pale);
  box-shadow: inset 0 0 0 1px var(--teal-dark);
}

.outcome-cards strong,
.outcome-cards span {
  display: block;
}

.outcome-cards strong {
  margin-bottom: 4px;
  font-size: 0.8rem;
}

.outcome-cards span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

#help-text {
  margin-top: 0;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.review-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.review-header .eyebrow {
  margin-bottom: 3px;
}

.review-header h2 {
  margin-bottom: 0;
  font-size: 1.18rem;
}

.review-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.review-item {
  padding: 13px 14px;
  border-radius: 12px;
  background: #f5f9fa;
}

.review-item span,
.review-item strong {
  display: block;
}

.review-item span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.review-item strong {
  font-size: 0.86rem;
}

.review-item.full {
  grid-column: 1 / -1;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #dce7e9;
  border-radius: 12px;
  background: #fbfdfd;
  color: var(--muted);
  font-size: 0.78rem;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--teal-dark);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.button {
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 800;
  transition: 160ms ease;
}

.button.primary {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 31, 51, 0.18);
}

.button.primary:hover {
  border-color: #173a58;
  background: #173a58;
  transform: translateY(-1px);
}

.button.secondary {
  border: 1px solid #cad8db;
  background: #fff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: #8fa9ae;
}

.button.hidden {
  visibility: hidden;
}

.full-width {
  width: 100%;
}

.insight-rail {
  display: grid;
  gap: 18px;
}

.insight-card,
.principles-card {
  border-radius: var(--radius-lg);
}

.insight-card {
  padding: 24px;
}

.card-label {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.insight-card h2 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.launch-data-intro {
  margin: -8px 0 16px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.launch-data-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-data-list li {
  position: relative;
  padding: 11px 12px 11px 35px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8fbf9;
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 700;
}

.launch-data-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  color: var(--teal-dark);
  font-weight: 900;
}

.pattern {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px;
  border-radius: 15px;
  background: var(--amber-pale);
}

.pattern-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pattern p {
  margin-bottom: 0;
  color: #5f512d;
  font-size: 0.86rem;
  font-weight: 650;
}

.mini-bars {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.mini-bars > div {
  display: grid;
  grid-template-columns: 82px 1fr 18px;
  align-items: center;
  gap: 8px;
}

.mini-bars span,
.mini-bars strong {
  font-size: 0.75rem;
}

.mini-bars span {
  color: var(--muted);
}

.mini-bars strong {
  text-align: right;
}

.mini-bars i {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9eff0;
}

.mini-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.insight-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.principles-card {
  padding: 24px;
  background: var(--navy);
  color: #fff;
}

.principles-card .eyebrow {
  color: var(--teal);
}

.principles-card h3 {
  margin-bottom: 14px;
  font-size: 1.12rem;
}

.principles-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles-card li {
  position: relative;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.principles-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.success-state {
  padding: 54px 34px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 22px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 2rem;
  font-weight: 900;
}

.success-state h2 {
  margin-bottom: 8px;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
}

.success-state > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.impact-card {
  width: min(360px, 100%);
  margin: 0 auto 24px;
  padding: 16px;
  border-radius: 15px;
  background: #f3f8f8;
}

.impact-card span,
.impact-card strong,
.impact-card small {
  display: block;
}

.impact-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.impact-card strong {
  margin: 4px 0 2px;
  font-size: 1.35rem;
}

.impact-card small {
  color: var(--muted);
}

.compact-heading {
  margin-bottom: 26px;
}

.explore-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.needs-panel,
.places-panel {
  border-radius: var(--radius-lg);
}

.needs-panel {
  position: sticky;
  top: 106px;
  padding: 23px;
}

.needs-panel h2 {
  margin-bottom: 18px;
  font-size: 1.18rem;
}

.need-toggles {
  display: grid;
  gap: 6px;
}

.need-toggles label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 0;
  border-bottom: 1px solid #edf2f3;
  cursor: pointer;
}

.need-toggles label > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 700;
}

.need-toggles input {
  width: 34px;
  height: 20px;
  appearance: none;
  flex: 0 0 auto;
  border-radius: 99px;
  background: #d5dfe1;
  transition: 160ms ease;
}

.need-toggles input::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(11, 31, 51, 0.24);
  transition: 160ms ease;
}

.need-toggles input:checked {
  background: var(--teal-dark);
}

.need-toggles input:checked::before {
  transform: translateX(14px);
}

.need-icon {
  display: inline-block;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--teal-pale);
}

.need-icon::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 9px;
  border-radius: 50%;
  background: var(--teal-dark);
}

.privacy-note {
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
}

.places-panel {
  padding: 22px;
}

.places-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.places-toolbar > div {
  display: flex;
  flex-direction: column;
}

.places-toolbar > div > strong {
  font-size: 1.1rem;
}

.places-toolbar > div > span {
  color: var(--muted);
  font-size: 0.76rem;
}

.time-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.time-filter select {
  width: auto;
  min-height: 40px;
  padding-left: 12px;
  font-size: 0.8rem;
}

.place-list {
  display: grid;
  gap: 12px;
}

.places-empty-state {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  border: 1px dashed #bdd1cc;
  border-radius: 16px;
  background: linear-gradient(145deg, #f6faf8, #fffaf3);
  text-align: center;
}

.places-empty-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 1.65rem;
  font-weight: 700;
}

.places-empty-state h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.places-empty-state p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.places-empty-state .places-empty-note {
  margin-top: 14px;
  color: var(--ink);
}

.place-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 84px;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid #e0e9eb;
  border-radius: 16px;
  background: #fff;
  transition: 170ms ease;
}

.place-card:hover {
  border-color: #b6d3d1;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(11, 31, 51, 0.07);
}

.place-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 82px;
  padding: 10px;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 22%, rgba(255,255,255,.38) 0 7px, transparent 8px),
    linear-gradient(145deg, #1d5661, #0b273d);
}

.place-visual.museum {
  background:
    radial-gradient(circle at 72% 25%, rgba(255,203,102,.85) 0 9px, transparent 10px),
    linear-gradient(145deg, #247c80, #102b45);
}

.place-visual.dental {
  background:
    radial-gradient(circle at 72% 25%, rgba(255,255,255,.65) 0 9px, transparent 10px),
    linear-gradient(145deg, #5e83b5, #223d68);
}

.place-visual.pool {
  background:
    radial-gradient(circle at 72% 25%, rgba(255,255,255,.45) 0 9px, transparent 10px),
    linear-gradient(145deg, #15a8b8, #11608a);
}

.place-visual span {
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.place-details {
  min-width: 0;
}

.place-details h3 {
  margin-bottom: 3px;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.72rem;
}

.watch-outs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.watch-outs span {
  padding: 4px 7px;
  border-radius: 7px;
  background: #f2f6f7;
  color: #596b7c;
  font-size: 0.68rem;
  font-weight: 700;
}

.watch-outs span.good {
  background: var(--teal-pale);
  color: #0b746b;
}

.fit-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 6px solid var(--teal);
  border-radius: 50%;
  background: #fff;
}

.fit-score.medium {
  border-color: var(--amber);
}

.fit-score.low {
  border-color: var(--coral);
}

.fit-score strong {
  font-size: 1.12rem;
  line-height: 1;
}

.fit-score span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.business-heading h1 {
  margin-bottom: 4px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.business-heading .button {
  margin-bottom: 4px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 18px;
}

.metric-card {
  padding: 20px;
  border-radius: 16px;
}

.metric-card > span,
.metric-card > strong,
.metric-card > small {
  display: block;
}

.metric-card > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.metric-card > strong {
  margin: 5px 0 1px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.045em;
}

.metric-card > small {
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 700;
}

.metric-card.warning {
  border-color: #f0dab2;
  background: var(--amber-pale);
}

.metric-card.warning > small {
  color: #8a6420;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.dashboard-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.launch-business-grid {
  align-items: stretch;
}

.business-empty-card {
  min-height: 330px;
  padding: 34px;
}

.business-empty-card h2 {
  margin: 4px 0 12px;
  font-size: 1.55rem;
}

.business-empty-card > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}

.business-data-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}

.business-data-plan span {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8fbf9;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
}

.business-trust-card {
  min-height: 330px;
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-title h2,
.dashboard-card > h2 {
  margin-bottom: 0;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.confidence-badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 99px;
  background: var(--teal-pale);
  color: #0b746b;
  font-size: 0.68rem;
  font-weight: 800;
}

.issue-list {
  display: grid;
  gap: 4px;
}

.issue-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #edf2f3;
}

.issue-rank {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 900;
}

.issue-rank.high {
  background: var(--coral-pale);
  color: #b44c3f;
}

.issue-rank.medium {
  background: var(--amber-pale);
  color: #91691f;
}

.issue-row > div:nth-child(2) > strong,
.issue-row > div:nth-child(2) > span {
  display: block;
}

.issue-row > div:nth-child(2) > strong {
  margin-bottom: 2px;
  font-size: 0.86rem;
}

.issue-row > div:nth-child(2) > span {
  color: var(--muted);
  font-size: 0.7rem;
}

.issue-bar {
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 10px;
  background: #edf2f3;
}

.issue-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--amber));
}

.priority {
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 0.65rem;
  font-weight: 850;
}

.priority.high {
  background: var(--coral-pale);
  color: #b44c3f;
}

.priority.medium {
  background: var(--amber-pale);
  color: #91691f;
}

.time-card {
  display: flex;
  flex-direction: column;
}

.day-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
  min-height: 190px;
  margin-top: 16px;
}

.day-chart > div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  text-align: center;
}

.day-chart span,
.day-chart strong {
  font-size: 0.68rem;
}

.day-chart span {
  color: var(--muted);
}

.day-chart strong {
  color: #4b6074;
}

.day-chart i {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 130px;
  overflow: hidden;
  border-radius: 10px 10px 5px 5px;
  background: #f0f4f5;
}

.day-chart b {
  display: block;
  width: 72%;
  border-radius: 8px 8px 3px 3px;
  background: var(--teal);
}

.day-chart .peak b {
  background: var(--coral);
}

.chart-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.action-card {
  grid-column: 1 / 2;
}

.action-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.action-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid #edf2f3;
}

.action-list li > span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.action-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.86rem;
}

.action-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.action-list em {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--teal-pale);
  color: #0b746b;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.response-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: #fff;
}

.response-card .eyebrow {
  color: var(--teal);
}

.response-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.dark-outline {
  align-self: flex-start;
  border-color: rgba(255,255,255,.25) !important;
  background: transparent !important;
  color: #fff !important;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 30, 0.72);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(510px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(3, 14, 24, 0.34);
  animation: modal-in 200ms ease both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f1f5f6;
  color: var(--ink);
  font-size: 1.5rem;
}

.modal-panel h2 {
  max-width: 390px;
  margin-bottom: 8px;
  font-size: 1.6rem;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.modal-intro {
  color: var(--muted);
  font-size: 0.84rem;
}

.package-price {
  margin: 20px 0;
  padding: 18px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
}

.package-price span,
.package-price strong,
.package-price small {
  display: block;
}

.package-price span {
  color: rgba(255,255,255,.68);
  font-size: 0.76rem;
}

.package-price strong {
  margin: 3px 0;
  font-size: 2.4rem;
  letter-spacing: -0.05em;
}

.package-price small {
  color: var(--teal);
  font-size: 0.72rem;
}

.package-features {
  display: grid;
  gap: 11px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #4f6173;
  font-size: 0.8rem;
}

.package-features span {
  color: var(--teal-dark);
  font-weight: 900;
}

.modal-footnote {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  max-width: min(380px, calc(100% - 44px));
  padding: 13px 17px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid #dce7e9;
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 9px;
  transform: scale(.75);
  margin: -5px;
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .contribute-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .insight-rail {
    grid-template-columns: 1fr 1fr;
  }

  .action-card {
    grid-column: auto;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .explore-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .place-card {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .place-visual {
    display: none;
  }
}

@media (max-width: 760px) {
  .prototype-bar {
    min-height: 38px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 18px;
  }

  .brand {
    align-self: flex-start;
  }

  .main-nav {
    overflow-x: auto;
  }

  .nav-button {
    flex: 1 0 auto;
    padding-inline: 12px;
  }

  main {
    width: min(100% - 28px, 1240px);
    padding: 36px 0 54px;
  }

  .view-heading,
  .business-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .time-pill {
    align-self: flex-start;
  }

  .progress-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }

  .progress-track {
    width: 100%;
  }

  #experience-form {
    padding: 24px 19px;
  }

  .two-columns,
  .four-up,
  .check-grid,
  .outcome-cards,
  .review-summary {
    grid-template-columns: 1fr 1fr;
  }

  .sensory-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .sensory-options {
    grid-template-columns: 1fr 1fr;
  }

  .insight-rail {
    grid-template-columns: 1fr;
  }

  .explore-layout {
    grid-template-columns: 1fr;
  }

  .needs-panel {
    position: static;
  }

  .need-toggles {
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
  }

  .place-card {
    padding: 13px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .business-heading .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .four-up,
  .check-grid,
  .outcome-cards,
  .review-summary,
  .metric-grid,
  .need-toggles {
    grid-template-columns: 1fr;
  }

  .choice-row.four-up {
    grid-template-columns: 1fr 1fr;
  }

  .scale-key span:not(:first-child) {
    display: none;
  }

  .places-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .time-filter {
    width: 100%;
    justify-content: space-between;
  }

  .business-data-plan {
    grid-template-columns: 1fr;
  }

  .place-card {
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 10px;
  }

  .fit-score {
    width: 62px;
    height: 62px;
    border-width: 5px;
  }

  .issue-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .issue-row > .priority {
    display: none;
  }

  .action-list li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .action-list em {
    grid-column: 2;
    justify-self: start;
  }

  .modal-panel {
    padding: 26px 20px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
