/* MSS2026 Key Voices — speaker toolkit (Vikāra Institute) */
:root {
  --color-navy: #042961;
  --color-royal: #264fad;
  --color-sky: #2c89d6;
  --color-cyan: #2cb5d6;
  --color-teal: #2cc5bc;
  --color-mint: #2ad6a2;

  --bg: #fff;
  --bg-alt: #f5f7fa;
  --border: rgba(44, 137, 214, 0.18);
  --text: #334155;
  --text-muted: #64748b;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --page: 560px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-royal);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
}

.preview-banner {
  background: var(--color-navy);
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  text-align: center;
}

.preview-banner strong { font-weight: 600; }

.preview-banner a { color: var(--color-mint); }

.page {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.site-header-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 0;
}

.site-header__brand:hover {
  text-decoration: none;
}

.site-header__logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(100%, 420px);
  object-fit: contain;
  object-position: left center;
}

.badge {
  flex: 0 0 auto;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-royal);
  background: rgba(38, 79, 173, 0.08);
  border: 1px solid rgba(38, 79, 173, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
}

.welcome {
  margin-bottom: 1.75rem;
}

.welcome__title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.welcome__text {
  margin-bottom: 0.65rem;
}

.welcome__list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
}

.welcome__list li {
  margin-bottom: 0.45rem;
}

.welcome__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.steps {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
}

.steps__title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
}

.steps__list {
  list-style: none;
  counter-reset: step;
}

.steps__list li {
  counter-increment: step;
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.9375rem;
}

.steps__list li:last-child {
  margin-bottom: 0;
}

.steps__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.5;
  font-weight: 400;
}

.steps__list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-sky);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.section {
  margin-bottom: 1.75rem;
}

.section__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
}

.post-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  white-space: pre-wrap;
  margin-bottom: 0.75rem;
  user-select: all;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow-x: hidden;
  max-width: 100%;
}

.post-box__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.15rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  width: 100%;
}

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

.btn--primary {
  background: var(--color-sky);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-royal);
  text-decoration: none;
}

.btn--secondary {
  background: var(--color-navy);
  color: #fff;
  margin-top: 0.5rem;
}

.btn--secondary:hover {
  background: #031f47;
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--color-royal);
  border: 1px solid var(--border);
  margin-top: 0.5rem;
}

.btn--ghost:hover {
  background: var(--bg-alt);
  text-decoration: none;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section--image {
  margin-bottom: 1.75rem;
}

.section__hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.image-wrap--template {
  margin-bottom: 0.5rem;
}

.image-card--template {
  max-height: 320px;
  object-fit: cover;
}

.image-wrap {
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  width: calc(100% + 2.5rem);
  margin-bottom: 0.75rem;
  line-height: 0;
}

.image-card {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.about {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.about h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
}

.about p {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.about ul {
  font-size: 0.875rem;
  padding-left: 1.15rem;
  margin-bottom: 0.85rem;
}

.about li { margin-bottom: 0.25rem; }

.about__link {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.about__contact {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cta-box {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  margin-bottom: 1.75rem;
}

.cta-box__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #fff;
}

.cta-box__text {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.cta-box__list {
  font-size: 0.875rem;
  padding-left: 1.15rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-box__list li {
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.cta-box__list strong {
  color: #fff;
  font-weight: 600;
}

.cta-box .btn--primary {
  margin-bottom: 0.5rem;
}

.cta-box .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-box .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.cta-box a:not(.btn) {
  color: var(--color-mint);
}

.site-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--color-navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(4, 41, 97, 0.25);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  z-index: 100;
  max-width: calc(100% - 2rem);
  text-align: center;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 41, 97, 0.55);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(4, 41, 97, 0.28);
  padding: 1.5rem 1.25rem 1.25rem;
  text-align: center;
}

.modal__text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.modal__panel .btn {
  width: 100%;
}

.landing-message {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.landing-message p {
  max-width: 24rem;
  color: var(--text-muted);
}

@media (max-width: 420px) {
  .site-header__logo {
    height: 36px;
    max-width: min(100%, 240px);
  }

  .badge {
    font-size: 0.625rem;
    padding: 0.35rem 0.65rem;
  }
}

@media (min-width: 480px) {
  .site-header__logo {
    height: 56px;
    max-width: min(100%, 480px);
  }

  .welcome__title { font-size: 1.75rem; }

  .btn-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .btn-row .btn {
    width: auto;
    flex: 1 1 calc(33.333% - 0.35rem);
    min-width: 8.5rem;
  }
}
