/*
 * industry-landing.css — shared styles for /industries/{slug}.html.
 *
 * Loads after /tokens.css. Each landing only adds its own hero copy /
 * context cards / footer info via inline data-i18n strings.
 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.ind-container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* Header ─────────────────────────────────────────────────────────── */
.ind-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.ind-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.ind-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.ind-header__brand img { height: 28px; width: auto; display: block; }
.ind-header__back {
  font-size: 13px;
  color: var(--ink-muted);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.ind-header__back:hover { color: var(--ink); border-color: var(--accent-ring); }
.ind-lang {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.ind-lang button {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  border-radius: var(--r-pill);
  padding: 4px 10px;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.ind-lang button:hover { color: var(--ink); }
.ind-lang button.is-active {
  background: var(--accent);
  color: var(--on-accent);
}

/* Hero ───────────────────────────────────────────────────────────── */
.ind-hero {
  padding: 64px 0 36px;
  text-align: center;
}
.ind-hero__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 18px;
}
.ind-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto 14px;
  letter-spacing: -0.02em;
}
.ind-hero p {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.ind-hero__cta {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: var(--on-accent);
  background: var(--accent);
  padding: 13px 26px;
  border-radius: var(--r-pill);
  transition: background var(--dur-fast);
}
.ind-hero__cta:hover { background: var(--accent-hover); }
.ind-hero__cta.is-revealed { display: none; }
.ind-hero__teaser {
  font-size: 12px;
  color: var(--ink-dim);
  margin-top: 14px;
  letter-spacing: 0.02em;
}

/* Quiz section ───────────────────────────────────────────────────── */
.ind-quiz { padding: 24px 0 56px; }
.ind-quiz.is-collapsed { display: none; }

/* Industry context ───────────────────────────────────────────────── */
.ind-context {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.ind-context__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.ind-context__sub {
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.ind-context__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.ind-context__card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
}
.ind-context__card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.ind-context__card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}
.ind-context__icon {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}

/* Fallback CTA ───────────────────────────────────────────────────── */
.ind-fallback {
  padding: 56px 0 88px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.ind-fallback h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}
.ind-fallback p {
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 520px;
  margin: 0 auto 22px;
  line-height: 1.6;
}
.ind-fallback__cta {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.ind-fallback__cta:hover { border-color: var(--accent); color: var(--accent-light); }

/* Footer ─────────────────────────────────────────────────────────── */
.ind-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--ink-dim);
}
.ind-footer a { color: var(--ink-muted); }
.ind-footer a:hover { color: var(--ink); }
.ind-footer__row { margin-bottom: 8px; }
