:root {
  --ink: #264c57;
  --navy: #294f59;
  --navy-2: #37646a;
  --teal: #75988a;
  --teal-dark: #557d70;
  --teal-pale: #e6efea;
  --amber: #d6a769;
  --amber-pale: #f7ebda;
  --coral: #8c80a4;
  --coral-pale: #f0edf5;
  --blue-pale: #eaf1f3;
  --paper: #fffdf9;
  --wash: #eef4f2;
  --line: #d7e3df;
  --muted: #62787e;
  --shadow: 0 20px 55px rgba(38, 76, 87, 0.11);
  --radius-xl: 30px;
  --radius-lg: 21px;
  --radius-md: 14px;
}

body {
  background:
    radial-gradient(circle at 12% 4%, rgba(201, 220, 211, 0.58), transparent 28rem),
    linear-gradient(180deg, #f1f6f4 0%, #f8f5ef 100%);
  color: var(--ink);
}

button:focus-visible,
select:focus-visible,
textarea:focus-visible,
input:focus-visible,
a:focus-visible {
  outline-color: rgba(85, 125, 112, 0.42);
}

.prototype-bar {
  background: #294f59;
  color: rgba(255, 255, 255, 0.84);
}

.prototype-dot,
.live-dot {
  background: #e0b777;
  box-shadow: 0 0 0 4px rgba(224, 183, 119, 0.16);
}

.site-header {
  min-height: 90px;
  background: rgba(255, 253, 249, 0.94);
  border-bottom-color: rgba(83, 121, 112, 0.18);
  box-shadow: 0 8px 30px rgba(38, 76, 87, 0.045);
}

.brand {
  gap: 13px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 1px solid rgba(85, 125, 112, 0.2);
  border-radius: 50%;
  background: #eef4f2;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(38, 76, 87, 0.12);
}

.brand strong {
  color: #234b56;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.23rem;
  letter-spacing: -0.025em;
}

.brand small {
  margin-top: 0;
  color: #648178;
  font-size: 0.73rem;
  font-weight: 650;
}

.main-nav {
  background: #e9f0ed;
  border: 1px solid rgba(85, 125, 112, 0.12);
}

.nav-button {
  color: #657a7f;
}

.nav-button.active {
  background: #fffdf9;
  color: #294f59;
  box-shadow: 0 4px 13px rgba(38, 76, 87, 0.09);
}

main {
  padding-top: 48px;
}

h1 {
  color: #244b56;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.eyebrow {
  color: #638678;
}

.time-pill {
  border-color: #cbded6;
  background: #e6efea;
  color: #4e7167;
}

.survey-card,
.insight-card,
.principles-card,
.needs-panel,
.places-panel,
.dashboard-card,
.metric-card,
.modal-panel,
.outing-brand-card,
.social-lens {
  border-color: rgba(85, 125, 112, 0.22);
  box-shadow: 0 14px 40px rgba(38, 76, 87, 0.07);
}

.survey-card,
.insight-card,
.needs-panel,
.places-panel,
.dashboard-card,
.metric-card,
.modal-panel {
  background: rgba(255, 253, 249, 0.98);
}

.progress-row {
  background: #f8fbf9;
}

.progress-track {
  background: #e2ebe7;
}

.button.primary {
  border-color: #315d63;
  background: #315d63;
  box-shadow: 0 9px 20px rgba(49, 93, 99, 0.2);
}

.button.primary:hover {
  border-color: #244b56;
  background: #244b56;
}

.button.secondary {
  border-color: #c7d8d2;
  background: #fffdf9;
}

.principles-card,
.response-card {
  background: #315d63;
}

.principles-card .eyebrow,
.response-card .eyebrow {
  color: #e0b777;
}

.principles-card li::before {
  background: #e0b777;
}

.outing-brand-card {
  overflow: hidden;
  border: 1px solid rgba(85, 125, 112, 0.22);
  border-radius: var(--radius-lg);
  background: #fffdf9;
}

.outing-brand-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1640 / 624;
  object-fit: cover;
}

.outing-brand-card p {
  margin: 0;
  padding: 18px 20px 20px;
  color: #5f7479;
  font-size: 0.82rem;
}

.pattern {
  background: #f7ebda;
}

.pattern p {
  color: #6f5a3f;
}

.metric-card.warning {
  border-color: #ead5b5;
  background: #f7ebda;
}

.social-lens {
  margin-top: 26px;
  padding: 26px;
  border: 1px solid rgba(85, 125, 112, 0.22);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 249, 0.88);
}

.social-lens-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.social-lens-heading h2 {
  margin-bottom: 0;
  color: #244b56;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.social-lens-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.social-lens-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.social-lens-grid img {
  display: block;
  width: 100%;
  border: 1px solid rgba(85, 125, 112, 0.13);
  border-radius: 16px;
  background: #eef4f2;
  box-shadow: 0 8px 20px rgba(38, 76, 87, 0.075);
}

.response-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 20px;
  overflow: hidden;
}

.response-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-graphic {
  display: block;
  width: 100%;
  border-radius: 15px;
  background: #f7ebda;
}

.toast {
  background: #294f59;
}

footer {
  border-top-color: rgba(85, 125, 112, 0.2);
  background: #fffdf9;
}

.footer-brand .brand-logo {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  box-shadow: none;
}

footer p {
  max-width: 620px;
  text-align: center;
}

@media (max-width: 980px) {
  .outing-brand-card {
    grid-column: 1 / -1;
  }

  .social-lens-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    background: #fffdf9;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .social-lens-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .social-lens-grid {
    grid-auto-columns: minmax(190px, 72vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
  }

  .social-lens-grid img {
    scroll-snap-align: start;
  }

  footer p {
    text-align: left;
  }
}

@media (max-width: 500px) {
  .brand strong {
    font-size: 1.14rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .social-lens {
    padding: 20px;
  }
}
