/* Here Shroom — site-specific styles */

body.hereshroom {
  --accent: #2a8a44;
  --accent-fill: #6cc477;
  --accent-soft: rgba(108, 196, 119, 0.18);
  --text-accent: #1f6a35;
  /* Both stops hold >= 4.5:1 under the CTA's white text (see site.css note). */
  --gradient-signal: linear-gradient(135deg, #288747, #1f6a35);
  --glow-signal: 0 16px 44px rgba(108, 196, 119, 0.26);
  --focus-ring: rgba(42, 138, 68, 0.42);
}

body.hereshroom::before {
  background:
    radial-gradient(circle at 18% -4%, rgba(108, 196, 119, 0.15), transparent 40%),
    radial-gradient(circle at 92% 6%, rgba(31, 106, 53, 0.12), transparent 42%);
}

.hereshroom-header .site-nav {
  border-bottom-color: rgba(42, 138, 68, 0.16);
}

.hereshroom-brand {
  gap: 10px;
}

.hereshroom-brand .brand-icon {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(42, 138, 68, 0.2);
}

.hereshroom-hero {
  padding: clamp(56px, 9vw, 112px) 0 clamp(42px, 7vw, 76px);
  text-align: center;
}

.hereshroom-hero .hero-content {
  max-width: 640px;
  margin-inline: auto;
}

.hereshroom-hero .hero-icon {
  margin: 0 auto 24px;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(42, 138, 68, 0.2);
}

.hereshroom-hero h1 {
  max-width: none;
  margin-bottom: 8px;
  font-size: var(--display-1);
}

.hereshroom-hero .tagline {
  margin-bottom: 12px;
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hereshroom-hero p {
  max-width: 480px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.content-section {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--border-subtle);
}

.content-section h2 {
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-image {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: var(--surface-inset);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.safety-section {
  background: linear-gradient(135deg, rgba(224, 169, 46, 0.06), rgba(207, 106, 74, 0.04));
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  margin-top: 24px;
  border-top: none;
}

.safety-content {
  max-width: 680px;
}

.safety-content p {
  margin-bottom: 14px;
}

.safety-content ul {
  margin: 0 0 18px 20px;
  padding: 0;
}

.safety-content li {
  margin-bottom: 8px;
  color: var(--text-body);
}

.safety-content p:last-child {
  margin-bottom: 0;
  color: var(--text-accent);
  font-weight: 600;
}

.hereshroom-footer {
  border-top-color: rgba(42, 138, 68, 0.16);
}

@media (max-width: 720px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hereshroom-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

/* Public-beta CTA + real app screenshots */
.hereshroom-hero .hero-cta { margin-top: 28px; }
.hereshroom-cta {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--gradient-signal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--glow-signal);
  transition: transform 0.15s ease;
}
.hereshroom-cta:hover { transform: translateY(-1px); }
.hereshroom-cta:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.hereshroom-cta .cta-sub { display: block; font-weight: 500; font-size: 0.78rem; margin-top: 2px; }
.feature-image.screenshot {
  max-width: 210px;
  background: transparent;
  border: 1px solid rgba(42, 138, 68, 0.18);
  box-shadow: 0 14px 34px rgba(42, 138, 68, 0.16);
}

/* ---- Public shared-trip page (/t/{token}) — web-public-private Stage 2 ---- */
.trip-page {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(28px, 6vw, 56px) 20px 64px;
}

.trip-header {
  text-align: center;
  margin-bottom: clamp(24px, 5vw, 40px);
}

.trip-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-accent);
  margin: 0 0 6px;
}

.trip-title {
  font-family: var(--font-display, system-ui);
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.trip-byline {
  color: var(--text-muted);
  margin: 0;
}

.trip-handle {
  color: var(--text-accent);
  font-weight: 600;
}

.trip-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: clamp(28px, 5vw, 44px);
}

.trip-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 88px;
  padding: 14px 18px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}

.trip-stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trip-stat-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 4px;
}

.trip-map {
  margin: 0 0 clamp(28px, 5vw, 44px);
}

.trip-map-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.trip-map-bg { fill: var(--accent-soft); }

.trip-map-route {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.trip-map-spot {
  fill: var(--accent-fill);
  stroke: #ffffff;
  stroke-width: 2;
}

.trip-map-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin: 10px 0 0;
}

.trip-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: clamp(28px, 5vw, 44px);
}

.trip-photo {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-inset);
  border: 1px solid var(--border-subtle);
}

.trip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-disclaimer {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--warning-soft, var(--accent-soft));
}

.trip-disclaimer p { margin: 0 0 8px; }
.trip-disclaimer p:last-child { margin-bottom: 0; }
.trip-cta { font-size: 0.9rem; color: var(--text-muted); }
