:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7f5;
  --line: #e4e6ea;
  --line-strong: #d2d6de;
  --text: #111827;
  --muted: #5d6673;
  --brand: #0f2747;
  --brand-2: #2a4f7f;
  --accent-hot: #c4a57a;
  --glow: rgba(15, 39, 71, 0.18);
  --radius: 18px;
  --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.07);
  --shadow-strong: 0 26px 52px rgba(17, 24, 39, 0.12);
  --max: 1160px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* SCA soft palette tokens */
  --sca-soft-blue-050: #f5f9ff;
  --sca-soft-blue-100: #ecf3ff;
  --sca-soft-blue-150: #e5efff;
  --sca-soft-blue-300: #c8d8f0;
  --sca-soft-blue-500: #4f6280;
  --sca-soft-blue-700: #1e4e8c;
  --sca-soft-blue-card-border: rgba(102, 137, 187, 0.32);
  --sca-soft-blue-badge-border: rgba(102, 137, 187, 0.38);
  --sca-soft-blue-badge-bg: rgba(30, 78, 140, 0.09);
  --sca-soft-blue-badge-text: #3d587d;
  --sca-soft-blue-shadow: rgba(30, 78, 140, 0.12);
  --sca-soft-blue-shadow-strong: rgba(30, 78, 140, 0.16);
  --sca-soft-blue-hover: #eef5ff;

  --sca-soft-amber-050: #fff9ef;
  --sca-soft-amber-100: #fff4df;
  --sca-soft-amber-200: #f3c36f;
  --sca-soft-amber-300: #f1d08c;
  --sca-soft-amber-700: #92400e;
  --sca-soft-amber-800: #78350f;
  --sca-soft-amber-shadow: rgba(190, 124, 17, 0.12);
  --sca-soft-amber-popup-border: rgba(240, 170, 60, 0.3);
  --sca-soft-amber-popup-divider: rgba(240, 170, 60, 0.2);
  --sca-soft-amber-popup-item-border: rgba(240, 170, 60, 0.25);
  --sca-soft-amber-popup-item-bg: rgba(255, 251, 235, 0.8);
  --sca-soft-amber-button-start: #d97706;
  --sca-soft-amber-button-end: #b45309;
  --sca-soft-amber-button-shadow: rgba(180, 83, 9, 0.3);
  --sca-soft-amber-button-shadow-hover: rgba(180, 83, 9, 0.4);

  --sca-modal-line-start: rgba(42, 79, 127, 0.04);
  --sca-modal-line-mid: rgba(42, 79, 127, 0.34);
  --sca-modal-line-mid-strong: rgba(15, 39, 71, 0.38);
  --sca-alert-line-start: rgba(217, 119, 6, 0.05);
  --sca-alert-line-mid: rgba(217, 119, 6, 0.42);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

body, h1, h2, h3, h4, p, button, input, select, textarea, .price, .description,
.store-title, .page-title, .product-name, .storefront-title, .storefront-page-title, .storefront-product-name {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.modal,
.modal-card,
.modal-panel,
.modal-head,
.modal-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-pill {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 40, 0.06);
  flex-shrink: 0;
}

.brand-pill img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.brand-pill span {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.nav-links a,
.nav-links .nav-more-toggle {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-links .nav-more-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-links a::after,
.nav-links .nav-more-toggle::after {
  display: none;
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-links .nav-more-toggle:hover,
.nav-links .nav-more-toggle[aria-expanded="true"],
.nav-links .nav-more-toggle.is-active {
  color: #fff;
  background: var(--brand);
  transform: translateY(-1px);
}

.nav-more {
  position: relative;
}

.nav-more-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 40, 0.18);
  z-index: 60;
}

.nav-more-list li {
  margin: 0;
}

.nav-more-list a {
  width: 100%;
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-more-list a::after {
  display: none;
}

.nav-more-list a:hover,
.nav-more-list a.is-active {
  color: #fff;
  background: linear-gradient(130deg, var(--brand), var(--brand-2));
}

.nav-cta {
  margin-left: auto;
  text-decoration: none;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px var(--glow);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.mobile-menu {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 20px 20px;
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu a {
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 6px;
  background: #f7f9fc;
  font-weight: 600;
}

.mobile-menu-more {
  margin-bottom: 6px;
}

.mobile-more-toggle {
  width: 100%;
  text-align: left;
  border: 0;
  display: block;
  border-radius: 12px;
  margin-bottom: 6px;
  background: #f7f9fc;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--text);
}

.mobile-more-toggle.is-active,
.mobile-more-toggle[aria-expanded="true"] {
  background: var(--brand);
  color: #fff;
}

.mobile-more-links {
  display: grid;
  gap: 6px;
  padding-left: 8px;
}

.mobile-more-links a {
  background: #eef3fb;
}

.mobile-more-links a.is-active {
  color: #fff;
  background: linear-gradient(130deg, var(--brand), var(--brand-2));
}

.mobile-menu-cta {
  text-align: center;
  background: linear-gradient(120deg, var(--brand), var(--brand-2)) !important;
  color: #fff;
}

.hero {
  padding: 52px 0 36px;
  background: #fff;
}

.hero--classic .section-intro {
  max-width: 86ch;
}

.hero-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

h1 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  border-radius: 13px;
  padding: 10px 14px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 120%;
  height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.42) 50%, transparent 80%);
  transition: left 300ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn:hover::before {
  left: 130%;
}

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

.btn.primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px var(--glow);
}

.btn.danger {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #9f1239, #be123c);
  box-shadow: 0 10px 24px rgba(159, 18, 57, 0.25);
}

.btn.ghost {
  margin-top: 8px;
  background: transparent;
}

.btn.tiny {
  padding: 6px 10px;
  font-size: 12px;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 16px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-panel::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 4px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent-hot));
}

.hero-point {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  margin-bottom: 10px;
}

.hero-point span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e6f1ff;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.hero-point h3 { margin: 0; font-size: 1rem; }
.hero-point p { margin: 4px 0 0; color: var(--muted); }
.hero-help { margin: 8px 4px 2px; color: var(--muted); }
.hero-help a { color: var(--brand); }

.section {
  padding: 20px 0 46px;
  background: #fff;
}

.section-news {
  border-top: 1px solid var(--line);
  background: #fff;
}

h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.section-intro {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.donation-alert {
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px 14px;
}

.donation-alert p {
  margin: 0;
  line-height: 1.5;
}

.donation-alert-success {
  border: 1px solid #9fd8b8;
  background: #f0fbf4;
  color: #14532d;
}

.donation-alert-error {
  border: 1px solid #f3b3b3;
  background: #fff5f5;
  color: #7f1d1d;
}

.donation-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.donation-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.donation-card h2 {
  margin-bottom: 8px;
}

.donation-submit-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.donation-side-card p {
  color: var(--muted);
}

.donation-note {
  margin-top: 12px;
  border: 1px solid #e4e6ea;
  border-radius: 12px;
  background: #f9fbff;
  padding: 12px;
}

.donation-note p {
  margin: 0 0 8px;
}

.donation-note p:last-child {
  margin-bottom: 0;
}

.donation-details-list {
  margin: 0;
  display: grid;
  gap: 10px;
}

.donation-details-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
  border-bottom: 1px solid #eceff4;
  padding-bottom: 8px;
}

.donation-details-list div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.donation-details-list dt {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}

.donation-details-list dd {
  margin: 0;
  font-weight: 600;
  color: #1f2f46;
}

.donation-cancel-form {
  margin-top: 14px;
}

.plan-intro-card,
.plan-viewer-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.plan-intro-card {
  margin-top: 16px;
  background:
    radial-gradient(circle at 92% -44%, rgba(180, 205, 244, 0.38), transparent 52%),
    linear-gradient(145deg, #f8fbff 0%, #ffffff 72%);
}

.plan-lead-copy {
  margin: 0;
  color: #243248;
  line-height: 1.8;
}

.plan-viewer-card {
  margin-top: 14px;
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.plan-pdf-frame {
  width: 100%;
  min-height: 900px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.plan-mobile-download-note {
  margin: 12px 0 0;
  display: none;
  color: var(--muted);
}

.secular-side-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.secular-intro-card {
  background:
    radial-gradient(circle at 88% -38%, rgba(167, 202, 247, 0.32), transparent 56%),
    linear-gradient(145deg, #f9fcff 0%, #ffffff 74%);
}

.secular-intro-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.secular-intro-head img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.secular-intro-head h2 {
  margin: 0 0 8px;
}

.secular-intro-head p {
  margin: 0;
}

.secular-support-card {
  background:
    radial-gradient(circle at 94% -38%, rgba(182, 207, 247, 0.26), transparent 52%),
    linear-gradient(146deg, #ffffff 0%, #f8fbff 100%);
}

.secular-support-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.secular-support-head img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.secular-support-head h2 {
  margin: 0;
}

.secular-pdf-card {
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.secular-pdf-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.secular-pdf-head h2 {
  margin: 0;
}

.secular-pdf-head p {
  margin: 8px 0 0;
}

.secular-pdf-head img {
  width: 132px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}

.secular-pdf-frame {
  width: 100%;
  min-height: 960px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.secular-mobile-download-note {
  margin: 12px 0 0;
  display: none;
  color: var(--muted);
}

.content-block {
  margin-top: 14px;
  max-width: 88ch;
  display: grid;
  gap: 12px;
}

.content-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
  font-size: 1.02rem;
}

.content-block a {
  color: var(--brand);
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

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

.info-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}

.quick-panels {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.meditation-spotlight {
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% -42%, rgba(165, 197, 242, 0.36), transparent 56%),
    linear-gradient(140deg, #f8fbff 0%, #ffffff 70%);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.quick-panels .meditation-spotlight--panel {
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-color: #b9d2f0;
  box-shadow: 0 12px 28px rgba(29, 68, 116, 0.15);
  background:
    radial-gradient(circle at 88% -36%, rgba(155, 192, 239, 0.45), transparent 58%),
    linear-gradient(145deg, #f4f9ff 0%, #eaf3ff 56%, #ffffff 100%);
}

.quick-panels .meditation-spotlight--panel .meditation-preview {
  max-width: none;
  font-size: 1.02rem;
  line-height: 1.72;
  margin-bottom: 14px;
}

.quick-panels .meditation-spotlight--panel .btn {
  margin-top: auto;
  align-self: flex-start;
}

.meditation-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
}

.meditation-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--brand);
}

.meditation-date {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.meditation-spotlight h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.2;
}

.meditation-preview {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 78ch;
}

.meditation-modal-card {
  width: min(760px, 100%);
}

.meditation-modal-card::before {
  background: linear-gradient(
    90deg,
    var(--sca-modal-line-start) 0%,
    var(--sca-modal-line-mid-strong) 50%,
    var(--sca-modal-line-start) 100%
  );
}

.meditation-kicker {
  display: inline-block;
  background: rgba(15, 39, 71, 0.08);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 10px;
}

.meditation-date-modal {
  margin-top: 4px;
  margin-bottom: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
}

.meditation-nav {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.meditation-nav-bottom {
  margin-top: 20px;
  margin-left: calc(-1 * clamp(24px, 3vw, 40px));
  margin-right: calc(-1 * clamp(24px, 3vw, 40px));
  margin-bottom: calc(-1 * clamp(24px, 3vw, 40px));
  padding: 14px clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.025);
  border-radius: 0 0 22px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.meditation-nav-bottom .meditation-nav-btn {
  min-width: 140px;
}

.meditation-nav-bottom .meditation-nav-btn:last-child {
  text-align: right;
  justify-content: flex-end;
}

.meditation-nav-bottom .meditation-nav-btn:first-child {
  text-align: left;
  justify-content: flex-start;
}

.meditation-nav-btn {
  white-space: nowrap;
  border-radius: 999px;
  border-color: var(--brand-2);
  color: var(--brand);
}

.meditation-nav-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.meditation-nav-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.meditation-modal-content {
  margin-top: 12px;
  max-width: none;
  gap: 14px;
}

.meditation-modal-content p {
  color: #223042;
  line-height: 1.78;
}

.info-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.info-card--wide {
  margin-top: 18px;
}

.dimension-grid {
  display: grid;
  gap: 10px;
}

.dimension {
  border: 1px solid var(--line);
  border-left: 4px solid #a9cafb;
  border-radius: 12px;
  padding: 12px;
  background: #f9fbff;
}

.dimension strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.dimension p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.step-list {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.step-list li {
  line-height: 1.55;
}

.feature-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

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

.feature-card > div { padding: 16px; }

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-card h3 { margin: 0 0 8px; }
.feature-card p { color: var(--muted); margin: 0 0 14px; }

.news-list {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.news-item {
  --news-accent: #2a79d6;
  --news-soft: #eaf4ff;
  --news-soft-strong: #d9ebff;
  --news-btn-start: #2b83e6;
  --news-btn-end: #1e6fd2;
  position: relative;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid #cfdeef;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 30px rgba(23, 46, 79, 0.09);
}

.news-item-icon {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle at 28% 26%, #ffffff 0%, var(--news-soft) 72%, var(--news-soft-strong) 100%);
  border: 2px solid rgba(42, 121, 214, 0.28);
  box-shadow: 0 8px 20px rgba(25, 58, 100, 0.08);
}

.news-item-icon::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 86%;
  height: 52%;
  bottom: -8px;
  right: -10px;
  border-radius: 60px;
  background: var(--news-soft);
  opacity: 0.92;
}

.news-item-icon svg {
  width: 54px;
  height: 54px;
  color: var(--news-accent);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-item-icon svg .icon-fill {
  fill: currentColor;
  stroke: none;
}

.news-item-content {
  min-width: 0;
  position: relative;
  padding-left: 20px;
}

.news-item-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--news-accent) 0%, var(--news-accent) 100%);
}

.news-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.news-item h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
  color: #1a304a;
}

.news-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--news-accent);
  background: var(--news-soft);
}

.news-item-pill svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.news-item-pill-resources {
  border: 1px solid rgba(203, 103, 33, 0.22);
  background: linear-gradient(180deg, #fff8f0 0%, #ffefd9 100%);
  color: #ba5f18;
}

.news-item-pill-retreats {
  border: 1px solid rgba(47, 154, 116, 0.24);
  background: linear-gradient(180deg, #f2fbf7 0%, #e4f6ee 100%);
  color: #217f5d;
}

.news-item-body {
  margin-top: 10px;
}

.news-item-body p {
  margin: 0;
  color: #40556f;
  line-height: 1.64;
  font-size: 1.03rem;
}

.news-item .btn.ghost {
  margin-top: 14px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--news-btn-start), var(--news-btn-end));
  box-shadow: 0 8px 18px rgba(38, 84, 147, 0.2);
}

.news-item .btn.ghost:hover {
  box-shadow: 0 12px 24px rgba(38, 84, 147, 0.26);
}

.news-item-rule {
  margin-top: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 56, 88, 0.32), rgba(31, 56, 88, 0.08));
}

.news-divider {
  display: none;
}

.news-topic-events {
  --news-accent: #2a7dd6;
  --news-soft: #eaf4ff;
  --news-soft-strong: #d9eaff;
  --news-btn-start: #2c84e7;
  --news-btn-end: #1f70d2;
}

.news-topic-retreats {
  --news-accent: #2f9a74;
  --news-soft: #e8f8f1;
  --news-soft-strong: #d5f1e4;
  --news-btn-start: #36a77f;
  --news-btn-end: #248763;
}

.news-topic-resources {
  --news-accent: #cb6721;
  --news-soft: #fff2e6;
  --news-soft-strong: #ffe6d0;
  --news-btn-start: #db7b2f;
  --news-btn-end: #c4621f;
}

.news-topic-meetings {
  --news-accent: #6f57d8;
  --news-soft: #f1ecff;
  --news-soft-strong: #e4dcff;
  --news-btn-start: #785fe2;
  --news-btn-end: #5f49c6;
}

.news-topic-creativity {
  --news-accent: #cc5c9e;
  --news-soft: #fcecf6;
  --news-soft-strong: #f8ddee;
  --news-btn-start: #d769a8;
  --news-btn-end: #be4b91;
}

.news-topic-literature {
  --news-accent: #2e7dcc;
  --news-soft: #e9f3ff;
  --news-soft-strong: #d9eaff;
  --news-btn-start: #2e83dd;
  --news-btn-end: #226fc2;
}

.news-topic-info {
  --news-accent: #d0882f;
  --news-soft: #fff3e5;
  --news-soft-strong: #ffe7ca;
  --news-btn-start: #e39a39;
  --news-btn-end: #c77d25;
}

.news-empty {
  padding: 20px;
  border: 1px dashed #cad9ee;
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
}

.section-news {
  border-top: 1px solid #d9e4f2;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.section-news .section-head {
  justify-content: center;
  text-align: center;
}

.section-news .section-head h2 {
  position: relative;
  padding-bottom: 12px;
}

.section-news .section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 220px;
  max-width: 72%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2e7cca 0%, #2a8df2 100%);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 71, 0.42);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  z-index: 9200;
  animation: modal-backdrop-in 200ms ease-out both;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9201;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 28px);
  animation: modal-fade-in 200ms ease-out both;
}

.modal-card {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  background:
    radial-gradient(circle at 104% -12%, rgba(186, 211, 249, 0.18), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    0 40px 80px rgba(10, 20, 50, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: clamp(24px, 3vw, 40px);
  animation: modal-card-in 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.modal-card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: clamp(20px, 3vw, 34px);
  right: clamp(20px, 3vw, 34px);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--sca-modal-line-start) 0%,
    var(--sca-modal-line-mid) 50%,
    var(--sca-modal-line-start) 100%
  );
  border-radius: 999px;
  pointer-events: none;
}

.modal-card h2 {
  margin: 0 52px 16px 0;
  line-height: 1.2;
  color: var(--brand);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 39, 71, 0.14);
  background: rgba(15, 39, 71, 0.07);
  color: #18283f;
  font-size: 0;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.modal-close::after {
  content: "×";
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  color: inherit;
}

.modal-close:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 39, 71, 0.3);
}

.modal-close:focus-visible {
  outline: 3px solid rgba(42, 79, 127, 0.45);
  outline-offset: 2px;
}

.modal[hidden],
.modal-backdrop[hidden] {
  display: none !important;
}

@keyframes modal-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.page-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body[data-cms-page]:not([data-cms-page="home"]) .section {
  padding: 36px 0 66px;
  background: linear-gradient(180deg, #fff 0%, #fff 120px, #fafaf8 100%);
}

body[data-cms-page="literature"] .section {
  padding-top: 24px;
}

body[data-cms-page]:not([data-cms-page="home"]) .page-title {
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  margin-bottom: 10px;
}

body[data-cms-page]:not([data-cms-page="home"]) .section-intro {
  max-width: 66ch;
  font-size: 1.03rem;
  margin-bottom: 8px;
}

.meetings-zoom-note {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.meetings-zoom-note a {
  color: var(--brand-2);
  font-weight: 600;
  text-decoration: underline;
}

.meetings-stage {
  position: relative;
  overflow: visible;
}

.meetings-stage > :not(.meetings-stage-art) {
  position: relative;
  z-index: 2;
}

.meetings-stage-art {
  position: absolute;
  top: -10px;
  right: -120px;
  width: min(62vw, 820px);
  height: clamp(320px, 46vw, 500px);
  background-image: url("../img/home-find-meeting.jpg");
  background-size: cover;
  background-position: right center;
  border-radius: 340px 0 0 340px;
  opacity: 0.58;
  pointer-events: none;
  z-index: 1;
}

.meetings-stage-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0) 50%),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.9) 45%,
      rgba(255, 255, 255, 0.3) 72%,
      rgba(255, 255, 255, 0.88) 100%
    );
}

.filters {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.meetings-alert-banner {
  margin-top: 16px;
  border: 1px solid var(--sca-soft-amber-200);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--sca-soft-amber-050) 0%, var(--sca-soft-amber-100) 100%);
  box-shadow: 0 12px 28px var(--sca-soft-amber-shadow);
  padding: 14px 16px;
}

.meetings-alert-banner h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.meetings-alert-list {
  display: grid;
  gap: 10px;
}

.meetings-alert-item {
  border: 1px solid var(--sca-soft-amber-300);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 10px 12px;
}

.meetings-alert-item p {
  margin: 0;
  color: var(--sca-soft-amber-700);
}

.meetings-alert-popup {
  position: fixed;
  inset: 0;
  z-index: 9300;
  background: rgba(8, 15, 30, 0.78);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  display: grid;
  place-items: center;
  padding: clamp(14px, 2.6vw, 26px);
  opacity: 0;
  isolation: isolate;
  transition: opacity 200ms ease;
}

.meetings-alert-popup[hidden] {
  display: none !important;
}

.meetings-alert-popup.is-open {
  opacity: 1;
}

.meetings-alert-popup-card {
  position: relative;
  width: min(860px, calc(100vw - 40px));
  max-height: min(86dvh, 900px);
  overflow: auto;
  border: 1px solid var(--sca-soft-amber-popup-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 24px 48px rgba(40, 20, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  padding: 0;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1), transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.meetings-alert-popup-card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--sca-alert-line-start) 0%,
    var(--sca-alert-line-mid) 50%,
    var(--sca-alert-line-start) 100%
  );
  border-radius: 999px;
  pointer-events: none;
}

.meetings-alert-popup.is-open .meetings-alert-popup-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.meetings-alert-popup-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--sca-soft-amber-popup-divider);
}

.meetings-alert-popup-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.7vw, 1.45rem);
  color: var(--sca-soft-amber-700);
  flex: 1;
}

.meetings-alert-popup-head h2::before {
  content: "⚠ ";
  font-style: normal;
}

.meetings-alert-popup-body-wrap {
  padding: 14px 20px;
}

.meetings-alert-popup .meetings-alert-list {
  padding: 14px 20px;
}

.meetings-alert-popup .meetings-alert-item {
  border-color: var(--sca-soft-amber-popup-item-border);
  background: var(--sca-soft-amber-popup-item-bg);
}

.meetings-alert-popup .meetings-alert-item p {
  color: var(--sca-soft-amber-800);
}

.meetings-alert-popup-footer {
  padding: 12px 20px 18px;
  display: flex;
  justify-content: flex-end;
}

#meetingsAlertPopupClose {
  background: linear-gradient(135deg, var(--sca-soft-amber-button-start), var(--sca-soft-amber-button-end));
  color: #fff;
  border: 0;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 4px 12px var(--sca-soft-amber-button-shadow);
}

#meetingsAlertPopupClose:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--sca-soft-amber-button-shadow-hover);
}

body.meetings-alert-open {
  overflow: hidden;
}

.meetings-today-hero {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--sca-soft-blue-300);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(245, 249, 255, 0.93) 0%, rgba(236, 243, 255, 0.92) 58%, rgba(229, 239, 255, 0.9) 100%);
  box-shadow: 0 8px 28px var(--sca-soft-blue-shadow);
  padding: 26px 24px;
  color: var(--text);
}

.meetings-today-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  max-width: min(62%, 700px);
}

.meetings-today-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--sca-soft-blue-700);
  font-weight: 700;
}

.meetings-today-label {
  margin: 0;
  color: var(--sca-soft-blue-500);
  font-size: 0.92rem;
}

.meetings-today-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  max-width: min(62%, 700px);
}

.meetings-today-card {
  border: 1px solid var(--sca-soft-blue-card-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  box-shadow: 0 4px 14px var(--sca-soft-blue-shadow);
  backdrop-filter: blur(1.8px);
  -webkit-backdrop-filter: blur(1.8px);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  color: var(--text);
}

.meetings-today-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px var(--sca-soft-blue-shadow-strong);
  background: var(--sca-soft-blue-hover);
}

.meetings-today-card.is-happening-now {
  border-left: 4px solid #16a34a;
  background: #f0fdf4;
}

.meetings-today-card h3 {
  margin: 0 0 9px;
  font-size: 1.08rem;
  color: var(--text);
}

.meetings-today-time {
  margin: 0 0 8px;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sca-soft-blue-700);
  font-weight: 700;
}

.meetings-today-meta {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meetings-today-notes {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.meetings-today-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 10px;
}

.meetings-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sca-soft-blue-badge-border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sca-soft-blue-badge-bg);
  color: var(--sca-soft-blue-badge-text);
  font-weight: 700;
}

.meetings-badge.is-now {
  border-color: rgba(22, 163, 74, 0.5);
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.filters {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.filters-panel {
  margin-top: 18px;
  position: relative;
  z-index: 4;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  padding: 16px;
}

.meeting-results {
  position: relative;
  z-index: 4;
}

.filters-panel .filters {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(250px, 1.15fr);
}

.filters label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.filters select,
.filters input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.filters select:focus,
.filters input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 39, 71, 0.12);
}

.meeting-results { margin-top: 16px; }

.result-count {
  display: inline-block;
  font-weight: 700;
  margin: 0 0 10px;
  background: rgba(15, 39, 71, 0.07);
  border: 1px solid rgba(15, 39, 71, 0.12);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.88rem;
  color: var(--brand);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.meeting-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

body[data-cms-page]:not([data-cms-page="home"]) .about-card,
body[data-cms-page]:not([data-cms-page="home"]) .lit-intro,
body[data-cms-page]:not([data-cms-page="home"]) .table-wrap,
body[data-cms-page]:not([data-cms-page="home"]) .feature-card {
  border-color: var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfb 100%);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.06);
}

body[data-cms-page]:not([data-cms-page="home"]) .about-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

body[data-cms-page]:not([data-cms-page="home"]) .about-card p,
body[data-cms-page]:not([data-cms-page="home"]) .about-card li,
body[data-cms-page]:not([data-cms-page="home"]) .lit-card p {
  color: #4d5563;
}

body[data-cms-page]:not([data-cms-page="home"]) .about-side {
  border-color: var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

body[data-cms-page]:not([data-cms-page="home"]) .about-side h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
}

body[data-cms-page]:not([data-cms-page="home"]) .about-toc a {
  border-color: #e5e7eb;
  background: #fff;
}

body[data-cms-page]:not([data-cms-page="home"]) .about-toc a:hover,
body[data-cms-page]:not([data-cms-page="home"]) .about-toc a.is-active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.form-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 39, 71, 0.13);
}

.meeting-table th,
.meeting-table td {
  padding: 12px 12px;
  border-bottom: 1px solid #eceff3;
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

.meeting-table th {
  background: var(--brand);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  font-weight: 700;
}

.meeting-table thead tr th:first-child {
  border-radius: 14px 0 0 0;
}

.meeting-table thead tr th:last-child {
  border-radius: 0 14px 0 0;
}

.meeting-table tbody tr:nth-child(even) td {
  background: #fafbfd;
}

.meeting-table tbody tr:hover td {
  background: #eef4ff;
  color: var(--brand);
}

.type-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

tr.is-zoom .type-pill {
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #c4b5fd;
}

tr.is-in-person .type-pill {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.zoom-access-btn {
  background: var(--brand) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 2px 6px rgba(15, 39, 71, 0.25) !important;
}

.zoom-access-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 39, 71, 0.35) !important;
}

.meeting-table th:last-child,
.meeting-table td:last-child {
  width: 90px;
  white-space: nowrap;
}

.meeting-table th:nth-child(2),
.meeting-table td:nth-child(2) {
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 16px 0;
}

.site-footer .container {
  display: grid;
  gap: 4px;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
}

.about-page {
  max-width: 980px;
}

.about-toc {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}

.about-section {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
}

.about-section h2 {
  margin-bottom: 10px;
}

.about-section p {
  color: var(--muted);
  line-height: 1.7;
}

.about-section ol {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  padding-left: 20px;
}

.about-section li {
  margin-bottom: 8px;
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

.about-side {
  position: sticky;
  top: 82px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.about-side h1 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.about-toc {
  display: grid;
  gap: 8px;
}

.about-toc a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fafcff;
  font-weight: 600;
  font-size: 0.93rem;
}

.about-toc a:hover,
.about-toc a.is-active {
  color: var(--text);
  border-color: var(--line-strong);
}

.about-main {
  display: grid;
  gap: 14px;
}

.about-main > section[id] {
  scroll-margin-top: 108px;
}

.about-card {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.about-card h2 {
  margin: 0 0 10px;
}

.about-card p,
.about-card li {
  color: var(--muted);
  line-height: 1.85;
}

.about-card ol {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 7px;
}

.lit-hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fc 100%);
  border-bottom: 1px solid #d8e4f8;
  padding: 32px 0 28px;
}

.lit-hero .page-title {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
}

.lit-hero .lit-intro-text {
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
  margin: 0;
}

.lit-intro {
  margin-top: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.lit-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.lit-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lit-card {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.lit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  border-color: var(--brand-2);
}

.lit-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}

.lit-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.lit-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.lit-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.lit-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fffbf4 0%, #fdf3e1 100%);
  border: 2px solid rgba(196, 165, 122, 0.5);
  border-color: rgba(196, 165, 122, 0.5);
  box-shadow: 0 12px 36px rgba(196, 165, 122, 0.2);
  position: relative;
  overflow: hidden;
  color: var(--text);
}

.lit-card--featured::after {
  content: "Featured";
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(196, 165, 122, 0.2);
  color: #7a5a2a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 122, 0.5);
}

.lit-card--featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(196, 165, 122, 0.3);
  border-color: rgba(196, 165, 122, 0.65);
}

.lit-card--featured h2,
.lit-card--featured p,
.lit-card--featured .lit-icon {
  color: var(--muted);
}

.lit-card--featured h2 {
  color: var(--brand);
  font-size: 1.35rem;
}

.lit-card--featured .btn {
  background: var(--brand);
  color: #fff;
  border: 0;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 39, 71, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

@media (max-width: 1020px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .news-item {
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 18px;
  }
  .news-item-icon {
    width: 96px;
    height: 96px;
  }
  .news-item-icon svg {
    width: 48px;
    height: 48px;
  }
  .meetings-today-grid { grid-template-columns: 1fr 1fr; }
  .meetings-today-head,
  .meetings-today-grid {
    max-width: min(70%, 620px);
  }
  .meetings-stage-art {
    right: -150px;
    width: min(68vw, 760px);
    opacity: 0.5;
  }
  .info-layout { grid-template-columns: 1fr; }
  .quick-panels { grid-template-columns: 1fr; }
  .donation-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .lit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lit-card--featured { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .meditation-nav { flex-direction: column; align-items: stretch; }
  .meditation-nav-btn { width: 100%; }
  .meditation-nav-bottom { flex-direction: row; }
  .meditation-nav-bottom .meditation-nav-btn:last-child { margin-left: auto; text-align: right; justify-content: flex-end; }
  .donation-details-list div { grid-template-columns: 1fr; gap: 4px; }

  .secular-pdf-head {
    grid-template-columns: 1fr;
  }

  .secular-pdf-head img {
    width: min(180px, 50%);
  }
}

@media (max-width: 900px) {
  .lit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .lit-grid { grid-template-columns: 1fr; }
  .lit-card--featured { grid-column: 1; }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle { display: block; }

  .mobile-menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: var(--mobile-menu-top, 74px);
    z-index: 85;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 34px rgba(12, 24, 44, 0.2);
    max-height: calc(100dvh - var(--mobile-menu-top, 74px) - 12px);
    overflow-y: auto;
  }

  body.mobile-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 39, 71, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .hero-grid,
  .feature-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .meetings-alert-popup {
    place-items: end stretch;
    padding: 0;
  }

  .meetings-alert-popup-card {
    width: 100%;
    max-height: 88dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
  }

  .meetings-alert-popup-head {
    padding: 18px 16px 12px;
  }

  .meetings-alert-popup .meetings-alert-list {
    padding: 12px 16px;
  }

  .meetings-alert-popup-footer {
    padding: 12px 16px 16px;
  }

  .meetings-today-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .meetings-today-hero {
    padding: 18px 16px;
  }

  .meetings-today-head {
    max-width: 100%;
  }

  .meetings-stage-art {
    top: 12px;
    right: -180px;
    width: min(82vw, 620px);
    height: 360px;
    opacity: 0.38;
  }

  .meetings-stage-art::after {
    background:
      radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 48%),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.62) 0%,
        rgba(255, 255, 255, 0.72) 100%
      );
  }

  .hero { padding-top: 30px; }

  .news-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
  }

  .news-item-icon {
    display: none;
  }

  .news-item-content {
    padding-left: 0;
  }

  .news-item-content::before {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
  }

  .news-item-head {
    padding-top: 10px;
  }

  .news-item-pill {
    font-size: 0.84rem;
    padding: 6px 11px;
  }

  .news-item-body p {
    font-size: 0.98rem;
  }

  .section-news .section-head {
    justify-content: flex-start;
    text-align: left;
  }

  .section-news .section-head h2::after {
    left: 0;
    transform: none;
    width: 170px;
    max-width: 100%;
  }

  .plan-pdf-frame {
    display: none;
  }

  .plan-mobile-download-note {
    display: block;
  }
}

@media (max-width: 640px) {
  .modal {
    place-items: end stretch;
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-height: 92vh;
    border-radius: 26px 26px 0 0;
    border-bottom: 0;
    padding: 22px 18px 26px;
  }

  .modal-card::before {
    top: 12px;
    left: 18px;
    right: 18px;
  }

  .modal-card h2 {
    margin-right: 48px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
  }

  .news-item-icon {
    width: 82px;
    height: 82px;
  }
  .news-item-icon svg {
    width: 42px;
    height: 42px;
  }

  .news-item-content {
    padding-left: 0;
  }

  .news-item-content::before {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
  }

  .news-item-head {
    padding-top: 10px;
  }

  .news-item-pill {
    font-size: 0.84rem;
    padding: 6px 11px;
  }

  .news-item-body p {
    font-size: 0.98rem;
  }

  .meetings-stage-art {
    display: none;
  }

  .modal-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .meditation-nav-bottom {
    margin-left: -18px;
    margin-right: -18px;
    margin-bottom: -26px;
    border-radius: 0;
    flex-direction: column;
    gap: 8px;
  }

  .meditation-nav-bottom .meditation-nav-btn {
    width: 100%;
    justify-content: center;
  }

  .meditation-nav-bottom .meditation-nav-btn:last-child {
    text-align: center;
    justify-content: center;
  }

  .secular-intro-head {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .secular-pdf-frame {
    display: none;
  }

  .secular-mobile-download-note {
    display: block;
  }
}

.processing-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(245, 248, 253, 0.86);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.processing-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.processing-overlay-card {
  width: min(460px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  border: 1px solid #d6e1f2;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 18px 44px rgba(21, 42, 78, 0.16);
  padding: 16px 18px;
}

.processing-overlay-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #c9dbf4;
  border-top-color: #2d66a6;
  animation: processing-spin 0.9s linear infinite;
  flex-shrink: 0;
}

.processing-overlay-text {
  min-width: 0;
}

.processing-overlay-title {
  margin: 0;
  color: #13213c;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
}

.processing-overlay-detail {
  margin: 4px 0 0;
  color: #3f506f;
  font-size: 0.94rem;
  line-height: 1.35;
}

@keyframes processing-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .processing-overlay {
    padding: 18px;
  }

  .processing-overlay-card {
    border-radius: 12px;
    padding: 14px 15px;
  }

  .processing-overlay-title {
    font-size: 0.98rem;
  }

  .processing-overlay-detail {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .processing-overlay,
  .processing-overlay-spinner {
    animation: none !important;
    transition: none !important;
  }

  .modal-backdrop,
  .modal,
  .modal-card,
  .modal-close {
    animation: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
