/* Mushroom Finder — landing (Slack Connect–inspired layout & rhythm; own brand assets) */
:root {
  --brand: #008a4c;
  --brand-dark: #14693e;
  --brand-soft: #12b56f;
  --slack-ink: #1d1c1d;
  --slack-muted: #454245;
  --slack-line: #e0e0e0;
  --slack-bg: #f8f8f8;
  --slack-white: #ffffff;
  --slack-coral: #e01e5a;
  --slack-aqua: #36c5f0;
  --brand-green: var(--brand);
  --radius-pill: 999px;
  --radius-card: 12px;
  --radius-btn: 4px;
  --font: "Helvetica Neue", Helvetica, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slack-ink);
  background: var(--slack-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--brand-dark);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 12px 16px;
  background: var(--brand-dark);
  color: var(--slack-white);
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ——— Header (Slack-style top bar) ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--slack-white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--slack-line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slack-ink);
  flex-shrink: 0;
}

.brand-lockup img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-lockup span {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }
}

.header-nav__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slack-ink);
  text-decoration: none;
}

.header-nav__link:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  border-radius: var(--radius-pill);
  padding: 2px;
  background: #ebebeb;
  border: 1px solid var(--slack-line);
}

.lang-switch button {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--slack-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--slack-white);
  color: var(--slack-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--slack-aqua);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
  padding: 12px 18px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: box-shadow 0.2s, background 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.99);
}

.btn:focus-visible {
  outline: 2px solid var(--slack-aqua);
  outline-offset: 2px;
}

.btn--header {
  display: none;
  background: var(--brand);
  color: var(--slack-white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.btn--header:hover {
  background: var(--brand-dark);
  color: var(--slack-white);
}

@media (min-width: 640px) {
  .btn--header {
    display: inline-flex;
  }
}

.btn--slack-primary {
  background: var(--brand);
  color: var(--slack-white);
  padding: 14px 24px;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.btn--slack-primary:hover {
  background: var(--brand-dark);
  color: var(--slack-white);
}

.btn--slack-secondary {
  background: var(--slack-white);
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 14px 24px;
  font-size: 1rem;
}

.btn--slack-secondary:hover {
  background: #e8f5ee;
}

.btn--on-brand {
  background: var(--slack-white);
  color: var(--brand);
  padding: 14px 28px;
  font-size: 1rem;
}

.btn--on-brand:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* ——— Hero ——— */
.hero-slack {
  position: relative;
  padding: 120px 24px 72px;
  background: var(--slack-white);
  overflow: hidden;
}

.hero-slack__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(0, 138, 76, 0.14), transparent 55%),
    linear-gradient(180deg, #f4faf7 0%, var(--slack-white) 45%);
  pointer-events: none;
}

.hero-slack__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-slack__eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero-slack__title {
  margin: 0 0 20px;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--slack-ink);
}

.hero-slack__lead {
  margin: 0 auto 28px;
  max-width: 52ch;
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  color: var(--slack-muted);
  line-height: 1.55;
}

.hero-slack__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.hero-slack__micro {
  margin: 0;
  font-size: 0.9rem;
  color: #69656a;
}

/* ——— Stats band ——— */
.band-stats {
  background: var(--slack-white);
  padding: 0 24px 56px;
  border-bottom: 1px solid var(--slack-line);
}

.band-stats__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.stat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--slack-line);
  border: 1px solid var(--slack-line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

@media (min-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--slack-white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.stat-card__value {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
}

.stat-card__label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slack-ink);
  max-width: 28ch;
  margin: 0 auto;
}

.stat-card__note {
  font-size: 0.8rem;
  color: #69656a;
  max-width: 36ch;
  margin: 0 auto;
}

/* ——— Feature rows ——— */
.feature-rows {
  padding: 72px 24px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--slack-muted);
  line-height: 1.55;
}

.feature-row {
  display: grid;
  gap: 36px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--slack-line);
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 72px 0;
  }
  .feature-row--reverse .feature-row__copy {
    order: 2;
  }
  .feature-row--reverse .feature-row__visual {
    order: 1;
  }
}

.feature-row__copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-row__copy p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--slack-muted);
  line-height: 1.6;
  max-width: 48ch;
}

.text-link {
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--brand);
}

.text-link:hover {
  text-decoration: underline;
}

.feature-row__visual {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-panel {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--slack-line);
}

.mock-panel--map {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 40%, #1b5e20 100%);
  position: relative;
  overflow: hidden;
}

.mock-panel--map::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.mock-panel--id {
  background: linear-gradient(145deg, #e8f5ee 0%, var(--brand) 100%);
  opacity: 0.95;
}

.mock-panel--social {
  background: linear-gradient(160deg, #18bd94 0%, var(--brand-dark) 100%);
}

/* ——— Steps ——— */
.band-steps {
  background: var(--slack-white);
  padding: 72px 24px;
  border-top: 1px solid var(--slack-line);
}

.band-steps__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.steps-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.steps-lead {
  margin: 0 auto 40px;
  text-align: center;
  max-width: 52ch;
  color: var(--slack-muted);
  font-size: 1.05rem;
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--slack-bg);
  border: 1px solid var(--slack-line);
  border-radius: var(--radius-card);
  padding: 22px 20px;
}

.step-card__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand);
  color: var(--slack-white);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slack-muted);
  line-height: 1.5;
}

/* ——— Roles ——— */
.roles {
  padding: 72px 24px;
}

.roles__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.roles-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  font-weight: 800;
}

.roles-lead {
  margin: 0 auto 36px;
  text-align: center;
  color: var(--slack-muted);
  max-width: 52ch;
}

.roles-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .roles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.role-tile {
  background: var(--slack-white);
  border: 1px solid var(--slack-line);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.role-tile h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.role-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slack-muted);
  line-height: 1.45;
}

/* ——— Brand CTA band ——— */
.cta-brand {
  margin: 24px 24px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-soft) 100%);
  color: var(--slack-white);
  padding: 56px 24px;
  text-align: center;
  max-width: calc(var(--max) + 48px);
  margin-left: auto;
  margin-right: auto;
}

.cta-brand__inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-brand h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
}

.cta-brand p {
  margin: 0 0 24px;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* ——— FAQ ——— */
.faq {
  padding: 72px 24px 80px;
  background: var(--slack-white);
  margin-top: 48px;
}

.faq__inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--slack-line);
}

.faq-item {
  border-bottom: 1px solid var(--slack-line);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 20px 8px 20px 0;
  position: relative;
  padding-right: 32px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--slack-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  padding-right: 16px;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Footer ——— */
.site-footer {
  padding: 36px 24px 48px;
  border-top: 1px solid var(--slack-line);
  background: var(--slack-bg);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--slack-ink);
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-meta {
  font-size: 0.9rem;
  color: var(--slack-muted);
}
