﻿:root {
  --brand-primary: #2d9fd3;
  --brand-primary-dark: #1f86bc;
  --brand-secondary: #2a69c8;
  --brand-charcoal: #20354a;
  --brand-muted: #5c748e;
  --bg-shell: #f9fafb;
  --bg-card: #ffffff;
  --bg-soft: #f9fafb;
  --bg-muted: #f3f4f6;
  --border: #e5e7eb;
  --success-bg: #d9f2e5;
  --success-fg: #066442;
  --warn-bg: #fef3c7;
  --warn-fg: #92400e;
  --danger-bg: #fee2e2;
  --danger-fg: #991b1b;
  --shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  --radius-xl: 18px;
  --radius-lg: 12px;
  --radius-md: 10px;
  --focus-ring: rgba(45, 159, 211, 0.26);
}

html[data-theme="dark"] {
  --brand-primary: #5cb8ea;
  --brand-primary-dark: #4ca7d9;
  --brand-secondary: #4e86d7;
  --brand-charcoal: #e8eef6;
  --brand-muted: #b4c4d4;
  --bg-shell: #101922;
  --bg-card: #16222f;
  --bg-soft: #1b2a39;
  --bg-muted: #213243;
  --border: #2b4257;
  --success-bg: #103628;
  --success-fg: #93d7b4;
  --warn-bg: #3f3110;
  --warn-fg: #f1ce87;
  --danger-bg: #3f1b21;
  --danger-fg: #ffc5c5;
  --shadow: 0 16px 28px rgba(5, 9, 14, 0.45);
  --focus-ring: rgba(92, 184, 234, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--brand-charcoal);
  background: var(--bg-shell);
  transition: background-color 180ms ease, color 180ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html[data-theme="dark"] .site-header {
  background: rgba(14, 24, 34, 0.92);
  border-bottom-color: #2c4054;
}

html[data-theme="dark"] .panel,
html[data-theme="dark"] .card,
html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .result-item,
html[data-theme="dark"] .video-feature-card,
html[data-theme="dark"] .analyzer-feature-card,
html[data-theme="dark"] .study-step-card,
html[data-theme="dark"] .study-method-step,
html[data-theme="dark"] .teaching-feature-card,
html[data-theme="dark"] .home-price-card,
html[data-theme="dark"] .persona-card,
html[data-theme="dark"] .seo-faq details,
html[data-theme="dark"] .video-step span,
html[data-theme="dark"] .analyzer-step span,
html[data-theme="dark"] .bah-project-panel,
html[data-theme="dark"] .bah-account-panel,
html[data-theme="dark"] .bah-onboarding-panel {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  color: var(--brand-charcoal);
}

html[data-theme="dark"] .input,
html[data-theme="dark"] .select,
html[data-theme="dark"] .textarea {
  background: #102030;
  border-color: var(--border);
  color: var(--brand-charcoal);
}

html[data-theme="dark"] .btn.secondary {
  background: #25384b;
  color: #e6eef8;
}

html[data-theme="dark"] .btn.secondary:hover:not(:disabled) {
  background: #30455b;
}

html[data-theme="dark"] .inline-hint,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .list,
html[data-theme="dark"] .seo-copy p,
html[data-theme="dark"] .video-feature-card p,
html[data-theme="dark"] .analyzer-feature-card p {
  color: #bcc9d8;
}

html[data-theme="dark"] .title,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .field label,
html[data-theme="dark"] .kicker,
html[data-theme="dark"] .study-subtitle,
html[data-theme="dark"] .clear-step span,
html[data-theme="dark"] .study-step-card h4,
html[data-theme="dark"] .study-method-step span,
html[data-theme="dark"] .persona-card h4,
html[data-theme="dark"] .home-price-card h4,
html[data-theme="dark"] .tool-card h3,
html[data-theme="dark"] .video-feature-card h3,
html[data-theme="dark"] .analyzer-feature-card h3,
html[data-theme="dark"] .video-step h4,
html[data-theme="dark"] .analyzer-step h4,
html[data-theme="dark"] .result-item h3,
html[data-theme="dark"] .metric strong,
html[data-theme="dark"] .video-stat strong,
html[data-theme="dark"] .video-related-item strong,
html[data-theme="dark"] .transcript-table th,
html[data-theme="dark"] .transcript-table td:first-child,
html[data-theme="dark"] .bah-project-head h3,
html[data-theme="dark"] .bah-project-main strong,
html[data-theme="dark"] .bah-onboarding-panel h3 {
  color: #e7f0fb;
}

html[data-theme="dark"] .check-row,
html[data-theme="dark"] .workflow-list,
html[data-theme="dark"] .workflow-list li,
html[data-theme="dark"] .persona-card p,
html[data-theme="dark"] .tool-card .muted,
html[data-theme="dark"] .result-item p,
html[data-theme="dark"] .study-step-card p,
html[data-theme="dark"] .video-step p,
html[data-theme="dark"] .analyzer-step p,
html[data-theme="dark"] .video-stat span,
html[data-theme="dark"] .video-related-item span,
html[data-theme="dark"] .bah-project-main span,
html[data-theme="dark"] .micro-footer {
  color: #b8c9da;
}

html[data-theme="dark"] .micro-footer a {
  color: #7cc6ff;
}

html[data-theme="dark"] .video-how-card,
html[data-theme="dark"] .analyzer-how-card,
html[data-theme="dark"] .soft-gradient,
html[data-theme="dark"] .video-stat,
html[data-theme="dark"] .video-related-item,
html[data-theme="dark"] .wave-wrap,
html[data-theme="dark"] .chart-card,
html[data-theme="dark"] .transcript-wrap,
html[data-theme="dark"] .video-example-chip,
html[data-theme="dark"] .video-suggestion-chip,
html[data-theme="dark"] .tag,
html[data-theme="dark"] .clear-step {
  background: #1a2a3a;
  border-color: #314a60;
}

html[data-theme="dark"] .video-example-chip,
html[data-theme="dark"] .video-suggestion-chip,
html[data-theme="dark"] .tag,
html[data-theme="dark"] .video-jump-link,
html[data-theme="dark"] .video-play-inline {
  color: #dbeaf8;
}

html[data-theme="dark"] .video-example-chip:hover,
html[data-theme="dark"] .video-suggestion-chip:hover,
html[data-theme="dark"] .video-jump-link:hover,
html[data-theme="dark"] .video-play-inline:hover {
  background: #21374b;
  border-color: #497092;
}

html[data-theme="dark"] .video-jump-link,
html[data-theme="dark"] .video-play-inline {
  background: #1c3144;
  border-color: #3f6687;
}

html[data-theme="dark"] .video-step span,
html[data-theme="dark"] .analyzer-step span {
  background: #21374b;
  color: #80cbff;
}

html[data-theme="dark"] .chart-card canvas {
  background: #102030;
  border-color: #2f4a60;
}

html[data-theme="dark"] .transcript-table th {
  background: #1a2d3f;
}

html[data-theme="dark"] .transcript-table th,
html[data-theme="dark"] .transcript-table td {
  border-bottom-color: #30485e;
}

.announcement-bar {
  background: var(--brand-primary);
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
}

.announcement-bar a {
  opacity: 0.98;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.15) blur(8px);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.78rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
}

.brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  display: inline-flex;
  align-items: center;
  color: #173149;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.72rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #2a4662;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.header-link:hover {
  color: #173049;
  border-color: #d5e2ef;
  background: #f2f7fd;
  transform: translateY(-1px);
}

.header-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.bah-shell {
  margin-left: auto;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.35rem 0.48rem;
  border: 1px solid #dce7f2;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 7px 22px rgba(15, 23, 42, 0.08);
}

.bah-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  min-width: 0;
  flex-wrap: wrap;
}

.bah-cluster-primary {
  border-right: 1px solid #d9e5f1;
  padding-right: 0.35rem;
  margin-right: 0.05rem;
}

.bah-cluster-account {
  justify-content: flex-end;
}

.bah-link-pill-primary {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}

.bah-link-pill-primary:hover {
  border-color: var(--brand-primary-dark);
  background: var(--brand-primary-dark);
  color: #fff;
}

.bah-credit-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 2.2rem;
  border-radius: 999px;
  padding: 0 0.72rem;
  border: 1px solid #d8e3ee;
  background: #edf4fb;
  color: #2e4a66;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.bah-credit-chip strong {
  font-weight: 800;
  color: #113a60;
}

.bah-workspace-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.2rem;
  border: 1px solid #d7e3f0;
  border-radius: 10px;
  padding: 0 0.5rem;
  background: #f6fbff;
  max-width: 420px;
}

.bah-workspace-wrap:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.bah-workspace-label {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5d7590;
  white-space: nowrap;
}

.bah-workspace-select {
  min-width: 220px;
  max-width: 360px;
  border: 0;
  background: transparent;
  color: #1f3854;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.38rem 1.3rem 0.38rem 0.2rem;
}

.bah-workspace-select:focus {
  outline: none;
}

.bah-account-btn {
  border-color: #d5e2ef;
  background: #fff;
  font-weight: 700;
}

html[data-theme="dark"] .brand {
  color: #e8f1fb;
}

html[data-theme="dark"] .bah-shell {
  border-color: #2e445a;
  background: linear-gradient(180deg, #142334, #101d2c);
  box-shadow: 0 10px 22px rgba(5, 9, 14, 0.35);
}

html[data-theme="dark"] .header-link {
  color: #d1e1f1;
}

html[data-theme="dark"] .header-link:hover {
  color: #e9f2fc;
  border-color: #3e5b74;
  background: rgba(92, 184, 234, 0.14);
}

html[data-theme="dark"] .bah-cluster-primary {
  border-right-color: #2f465d;
}

html[data-theme="dark"] .bah-credit-chip {
  border-color: #33526d;
  background: #18324a;
  color: #c5dbef;
}

html[data-theme="dark"] .bah-credit-chip strong {
  color: #e5f3ff;
}

html[data-theme="dark"] .bah-workspace-wrap {
  border-color: #355470;
  background: #14273a;
}

html[data-theme="dark"] .bah-workspace-label {
  color: #9ab5d0;
}

html[data-theme="dark"] .bah-workspace-select {
  color: #dbe9f8;
}

html[data-theme="dark"] .bah-link-pill-primary {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #06283f;
}

html[data-theme="dark"] .bah-link-pill-primary:hover {
  border-color: var(--brand-primary-dark);
  background: var(--brand-primary-dark);
  color: #031725;
}

.bah-feedback-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--brand-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.bah-feedback-fab:hover {
  color: var(--brand-primary);
  border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--border));
}

.bah-project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.bah-project-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.bah-project-panel {
  position: relative;
  width: min(780px, calc(100% - 2rem));
  max-height: min(78vh, 860px);
  overflow: auto;
  margin: 4.5rem auto 0;
  border-radius: 14px;
  border: 1px solid #d5e2ef;
  background: #fff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
  padding: 1rem;
}

.bah-project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.bah-project-head h3 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: #1f3957;
  font-size: 1.08rem;
}

.bah-project-close {
  border: 0;
  border-radius: 9px;
  background: #e8eef6;
  color: #27415d;
  font: inherit;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.bah-project-controls {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 0.75rem;
}

.bah-project-list {
  display: grid;
  gap: 0.6rem;
}

.bah-project-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid #dbe6f3;
  border-radius: 10px;
  background: #f9fbff;
  padding: 0.7rem;
}

.bah-project-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bah-project-main strong {
  color: #1f3957;
  font-size: 0.95rem;
}

.bah-project-main span {
  color: #59718c;
  font-size: 0.79rem;
}

.bah-project-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.bah-onboarding {
  position: fixed;
  inset: 0;
  z-index: 110;
}

.bah-onboarding-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.bah-onboarding-panel {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  max-height: min(86vh, 900px);
  overflow: auto;
  margin: 3.4rem auto 0;
  border-radius: 16px;
  border: 1px solid #d4e3f2;
  background: #fff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
  padding: 1rem;
}

.bah-onboarding-panel h3 {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: #203b59;
}

.bah-onboarding-workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.bah-account-modal {
  position: fixed;
  inset: 0;
  z-index: 115;
}

.bah-auth-modal,
.bah-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 116;
}

.bah-account-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.bah-account-panel {
  position: relative;
  width: min(620px, calc(100% - 2rem));
  margin: 5rem auto 0;
  border-radius: 14px;
  border: 1px solid #d5e2ef;
  background: #fff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
  padding: 1rem;
}

.main {
  flex: 1;
  padding: 1.5rem 1rem 2rem;
}

.container {
  max-width: 896px;
  margin: 0 auto;
}

.panel {
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.hero {
  background: linear-gradient(90deg, #309dd4, #2d68c7);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
}

.hero.compact {
  padding: 2rem 1.5rem;
}

.hero.home {
  padding: 1.5rem;
}

.hero-row {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.hero-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.19);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  padding: 0.75rem;
}

.hero.home .hero-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0.7rem;
}

.hero.compact .hero-icon-wrap {
  width: 64px;
  height: 64px;
  padding: 1rem;
}

.hero-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.hero p {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  color: #dbeafe;
}

.content {
  padding: 1.5rem;
}

.center {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.badge.live {
  background: var(--success-bg);
  color: var(--success-fg);
}

.badge.beta {
  background: var(--warn-bg);
  color: var(--warn-fg);
}

.title {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.3rem);
  line-height: 1.25;
  color: #1c3552;
}

.content.center .title {
  font-size: clamp(1.45rem, 2.35vw, 1.9rem);
  margin-top: 0;
}

.lead {
  margin: 0 0 1.1rem;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.6;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.card + .card {
  margin-top: 0.9rem;
}

.seo-copy p {
  margin: 0.35rem 0 0.85rem;
  color: #445f7a;
  line-height: 1.58;
}

.seo-link-list a {
  color: #0f68b5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.seo-faq details {
  border: 1px solid #d9e4f1;
  border-radius: 10px;
  background: #f9fbff;
  padding: 0.7rem 0.8rem;
}

.seo-faq details + details {
  margin-top: 0.55rem;
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #223b56;
  list-style: none;
}

.seo-faq summary::marker,
.seo-faq summary::-webkit-details-marker {
  display: none;
  content: "";
}

.seo-faq p {
  margin: 0.5rem 0 0;
  color: #4a6078;
  line-height: 1.55;
  text-align: left;
}

.seo-faq,
.seo-faq details,
.seo-faq summary {
  text-align: left;
}

.teaching-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin: 0.35rem 0 1.2rem;
}

.teaching-feature-card {
  border: 1px solid #e5ebf3;
  border-radius: 12px;
  background: #f7f9fc;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 1px 0 rgba(20, 32, 52, 0.02);
}

.teaching-feature-card h3 {
  margin: 0 0 0.38rem;
  font-size: 1.05rem;
  color: #1e2f47;
}

.teaching-feature-card p {
  margin: 0;
  color: #3f5673;
  font-size: 0.97rem;
  line-height: 1.48;
}

.section-title {
  margin: 0 0 0.45rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: #1f3755;
  font-size: 1.02rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  color: var(--brand-primary);
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.field label {
  font-size: 0.91rem;
  font-weight: 700;
  color: #29435f;
}

.input,
.select,
.textarea {
  border: 1px solid #c9d5e2;
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  font-family: inherit;
  font-size: 0.93rem;
  color: #1f3753;
  background: #fff;
}

.textarea {
  min-height: 126px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: 2px solid var(--focus-ring);
  border-color: var(--brand-primary);
}

.inline-hint {
  margin: 0;
  color: #58708a;
  font-size: 0.82rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  border: 0;
  border-radius: 11px;
  padding: 0.72rem 1rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 130ms ease, background-color 130ms ease;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

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

.btn.primary:hover:not(:disabled) {
  background: var(--brand-primary-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: #e8eef6;
  color: #223955;
}

.btn.secondary:hover:not(:disabled) {
  background: #d9e3ee;
}

.role-filter-row {
  margin: 0.25rem 0 0.75rem;
}

.role-active {
  border: 1px solid #8ab4dd;
  background: #dceaf9 !important;
  color: #163a5d !important;
}

.notice {
  margin-top: 1rem;
  border-radius: 11px;
  border: 1px solid #d7e5ff;
  background: #edf5ff;
  color: #234b7f;
  padding: 0.72rem 0.85rem;
  font-size: 0.92rem;
}

.notice.ok {
  border-color: #b5ebca;
  background: #e8f8ee;
  color: #0f6c3f;
}

.notice.error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.result {
  margin-top: 1rem;
}

.list {
  margin: 0;
  padding-left: 1.16rem;
  color: #3e5872;
}

.list li + li {
  margin-top: 0.34rem;
}

.metric-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  padding: 0.7rem 0.75rem;
}

.metric strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: #1e3551;
  font-size: 1.22rem;
}

.metric span {
  font-size: 0.8rem;
  color: #5b738c;
}

.progress-track {
  margin-top: 0.45rem;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #e7eef7;
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2d9fd3, #2a69c8);
}

.clear-method-wrap {
  overflow-x: auto;
}

.clear-method-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 0.6rem;
  min-width: 690px;
}

.clear-step {
  border: 1px solid #dde6f0;
  border-radius: 10px;
  background: #f9fafb;
  padding: 0.82rem 0.7rem;
  text-align: center;
}

.clear-step strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.3rem;
  color: #0798cf;
  line-height: 1;
}

.clear-step span {
  display: block;
  margin-top: 0.38rem;
  color: #223954;
  font-size: 0.96rem;
}

.study-subtitle {
  margin: 0.72rem 0 0.34rem;
  color: #223954;
  font-weight: 700;
  font-size: 0.95rem;
}

.study-step-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.study-step-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f9fafb;
  padding: 0.82rem;
}

.study-step-card h4 {
  margin: 0;
  color: #1f3752;
  font-size: 1rem;
}

.study-step-card p {
  margin: 0.4rem 0 0;
  color: #445f7a;
  line-height: 1.45;
}

.study-method-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.study-method-step {
  border: 1px solid #dde6f0;
  border-radius: 10px;
  background: #f9fafb;
  padding: 0.62rem 0.66rem;
  text-align: left;
}

.study-method-step strong {
  display: inline-block;
  min-width: 24px;
  color: #0b8ec1;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.study-method-step span {
  color: #223954;
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 32px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.score.high {
  background: #def7e8;
  color: #0f6c3f;
}

.score.mid {
  background: #fef3c7;
  color: #92400e;
}

.score.low {
  background: #fee2e2;
  color: #991b1b;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.home-intro {
  text-align: left;
}

.home-content {
  display: grid;
  gap: 1.05rem;
}

.home-content > * {
  margin: 0;
}

.home-content .card + .card {
  margin-top: 0;
}

.home-intro .title {
  margin-bottom: 0.42rem;
}

.home-intro .lead {
  margin-bottom: 0;
}

.home-duo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin-top: 0;
}

.home-card {
  text-align: left;
}

.home-persona-grid {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.62rem;
}

.persona-card {
  border: 1px solid #dde8f2;
  border-radius: 10px;
  background: #f9fbff;
  padding: 0.68rem 0.72rem;
}

.persona-card h4 {
  margin: 0 0 0.3rem;
  color: #203953;
  font-size: 0.98rem;
}

.persona-card p {
  margin: 0;
  color: #4a627c;
  line-height: 1.42;
}

.workflow-list {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
}

.workflow-list li + li {
  margin-top: 0.48rem;
}

.home-pricing {
  margin-top: 0;
}

.home-pricing-grid {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.72rem;
}

.home-price-card {
  border: 1px solid #d9e6f1;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 0.82rem;
  text-align: left;
}

.home-price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.home-reco-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #95c8eb;
  border-radius: 999px;
  background: #e8f5ff;
  color: #12538d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0.16rem 0.52rem;
  white-space: nowrap;
}

.home-price-card-recommended {
  border-color: #7cbce7;
  background: linear-gradient(180deg, #ffffff, #eef7ff);
  box-shadow: 0 10px 20px rgba(45, 159, 211, 0.16);
}

.home-price-card h4 {
  margin: 0;
  color: #203953;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.home-price-card .price {
  margin: 0.24rem 0 0.38rem;
  color: #0f68b5;
  font-weight: 700;
  font-size: 1rem;
}

html[data-theme="dark"] .home-price-card-recommended {
  border-color: #4b7799 !important;
  background: linear-gradient(180deg, #1c3144, #1a2c3d) !important;
  box-shadow: 0 14px 24px rgba(3, 10, 18, 0.4);
}

html[data-theme="dark"] .home-reco-pill {
  border-color: #4f7da2;
  background: #22405a;
  color: #dff0ff;
}

.tool-card {
  background: #f9fafb;
  border: 0;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(15, 23, 42, 0.08);
}

.tool-card svg {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  color: var(--brand-primary);
  margin-bottom: 0.36rem;
}

.hero-icon,
.feature-icon,
.feature-head svg {
  display: block;
}

.tool-card h3 {
  margin: 0;
  color: #233b56;
  font-size: 0.92rem;
}

.tool-card .muted {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
  color: #627b95;
}

.tool-card .link {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.result-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0.88rem;
}

.result-item + .result-item {
  margin-top: 0.72rem;
}

.result-item h3 {
  margin: 0 0 0.36rem;
  color: #203852;
  font-size: 1rem;
}

.result-item p {
  margin: 0.2rem 0;
  color: #445f7a;
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin: 0.4rem 0;
}

.tag {
  border-radius: 999px;
  padding: 0.23rem 0.54rem;
  border: 1px solid #d4e1f0;
  background: #eef4fb;
  color: #36516d;
  font-size: 0.73rem;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #314b67;
}

.check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-primary);
}

.video-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.video-feature-card {
  border: 0;
  border-radius: 8px;
  background: var(--bg-soft);
  padding: 1rem;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.feature-icon,
.feature-head svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex: 0 0 20px;
  color: var(--brand-primary);
}

.video-feature-card h3 {
  margin: 0;
  color: #1f3853;
  font-size: 1.02rem;
}

.video-feature-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
  font-size: 0.95rem;
}

.video-how-card {
  margin-top: 0.9rem;
  background: #eff6ff;
  border-color: #dbeafe;
}

.video-steps-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.8rem;
}

.video-step {
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: center;
  padding: 0.2rem 0.5rem;
}

.video-step span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #1f6fc8;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.video-step h4 {
  margin: 0 0 0.18rem;
  color: #1f3853;
  font-size: 1rem;
}

.video-step p {
  margin: 0;
  color: #4b5563;
  font-size: 0.78rem;
}

.soft-gradient {
  background: linear-gradient(90deg, #f9fafb, #f3f4f6);
  border-color: #e5e7eb;
}

.video-example-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.6rem;
}

.video-example-chip,
.video-suggestion-chip {
  border-radius: 10px;
  border: 1px solid #d6e4f2;
  background: #f7fbff;
  color: #2c4662;
  font: inherit;
  text-align: left;
  padding: 0.58rem 0.65rem;
  cursor: pointer;
}

.video-example-chip:hover,
.video-suggestion-chip:hover {
  border-color: #9fc3e6;
  background: #eaf4ff;
}

.video-library-stats {
  margin-top: 0.95rem;
}

.video-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.video-stat {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.65rem 0.62rem;
}

.video-stat strong {
  display: block;
  color: #1f3852;
  font-size: 1.08rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.video-stat span {
  color: #57708a;
  font-size: 0.84rem;
}

.video-result-item {
  border-left: 3px solid #8dc7e9;
}

.video-result-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
}

.video-jump-link {
  border-radius: 999px;
  background: #e8f4ff;
  color: #0f5fa7;
  font-size: 0.79rem;
  font-weight: 700;
  border: 1px solid #c6dff8;
  padding: 0.26rem 0.58rem;
}

.video-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
}

.video-play-inline {
  border-radius: 999px;
  border: 1px solid #9ec4e7;
  background: #f2f8ff;
  color: #124f86;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.26rem 0.58rem;
  cursor: pointer;
}

.video-play-inline:hover {
  background: #e7f2ff;
  border-color: #7eb0de;
}

.video-player-mount {
  margin-top: 0.95rem;
}

.video-inline-player {
  width: 100%;
  border-radius: 10px;
  margin-top: 0.45rem;
  border: 1px solid #d7e4f2;
  background: #000;
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border: 1px solid #d7e4f2;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.45rem;
  background: #000;
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-related-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.55rem;
}

.video-related-item {
  border: 1px solid #d7e4f2;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.video-related-item strong {
  color: #233b56;
}

.video-related-item span {
  color: #58718a;
  font-size: 0.84rem;
}

.wave-wrap {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f7fbff;
  overflow: hidden;
}

#waveform {
  width: 100%;
  height: 130px;
  display: block;
}

.analyzer-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.analyzer-feature-card {
  border: 0;
  border-radius: 8px;
  background: var(--bg-soft);
  padding: 1rem;
}

.analyzer-feature-card h3 {
  margin: 0;
  color: #1f3853;
  font-size: 1.02rem;
}

.analyzer-feature-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
}

.analyzer-how-card {
  margin-top: 0.9rem;
}

.analyzer-how-card {
  background: #eff6ff;
  border-color: #dbeafe;
}

.analyzer-steps-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.9rem;
}

.analyzer-step {
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: center;
  padding: 0.2rem 0.5rem;
}

.analyzer-step span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  border: 0;
  color: #1f6fc8;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.analyzer-step h4 {
  margin: 0 0 0.2rem;
  color: #1f3853;
  font-size: 1.03rem;
}

.analyzer-step p {
  margin: 0;
  color: #4b5563;
  font-size: 0.78rem;
}

.pipeline-status {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pipeline-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-size: 0.77rem;
  font-weight: 700;
}

.pipeline-chip.ok {
  background: #def7e8;
  color: #0f6c3f;
  border: 1px solid #b6e9cb;
}

.pipeline-chip.warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f6db96;
}

.pipeline-chip.err {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.coach-drill-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.coach-drill-btn {
  padding: 0.36rem 0.65rem;
  font-size: 0.78rem;
}

.coach-drill-btn.is-complete {
  background: #def7e8;
  color: #0f6c3f;
  border: 1px solid #b6e9cb;
}

.chart-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.chart-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0.78rem;
}

.chart-card canvas {
  width: 100%;
  height: 170px;
  border-radius: 10px;
  background: #f7fbff;
  border: 1px solid #dce7f3;
}

.transcript-wrap {
  margin-top: 0.75rem;
  max-height: 430px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.transcript-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.transcript-table th,
.transcript-table td {
  border-bottom: 1px solid #e2eaf3;
  padding: 0.55rem 0.62rem;
  text-align: left;
  vertical-align: top;
}

.transcript-table th {
  background: #f2f7fc;
  color: #2a4561;
  font-weight: 700;
}

.transcript-table td:first-child {
  white-space: nowrap;
  width: 146px;
  color: #274767;
  font-weight: 600;
}

.highlight {
  background: #fff3b7;
  border-radius: 3px;
  padding: 0 0.12rem;
}

.footer {
  margin-top: 1.4rem;
  background: #22354a;
  color: #d3dce7;
  padding: 1.45rem 1rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.footer small {
  color: #9eb1c4;
}

.micro-footer {
  width: min(100%, 896px);
  margin: 1.05rem auto 0;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.95rem;
  color: #4c6279;
}

.micro-footer p {
  margin: 0 auto;
}

.micro-footer a {
  color: #0f68b5;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .bah-shell {
    width: 100%;
    justify-content: flex-start;
  }

  .bah-cluster-primary {
    width: 100%;
    order: 2;
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
    border-top: 1px solid #d9e5f1;
    padding-top: 0.45rem;
  }

  .bah-cluster-account {
    width: 100%;
    order: 1;
    justify-content: flex-start;
  }

  .bah-workspace-wrap {
    width: 100%;
    max-width: none;
  }

  .bah-workspace-select {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .bah-account-btn {
    margin-left: auto;
  }

  html[data-theme="dark"] .bah-cluster-primary {
    border-top-color: #2f465d;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 0.5rem;
  }

  .bah-shell {
    gap: 0.55rem;
    padding: 0.42rem;
  }

  .bah-cluster {
    width: 100%;
  }

  .bah-workspace-select {
    font-size: 0.82rem;
  }

  .bah-credit-chip {
    font-size: 0.75rem;
  }

  .bah-account-btn {
    margin-left: 0;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .content {
    padding: 1rem;
  }

  .hero-row {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .hero.home .hero-icon-wrap {
    margin: 0 auto;
  }

  .bah-project-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .bah-project-actions {
    width: 100%;
  }

  .bah-onboarding-workflow {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 720px) {
  .content {
    padding: 1.7rem;
  }

  .home-content {
    gap: 1.15rem;
  }

  .bah-project-controls {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field.span-2 {
    grid-column: 1 / -1;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-duo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-persona-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analyzer-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analyzer-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-method-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teaching-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .main {
    padding-top: 1.5rem;
  }

  .content {
    padding: 1.85rem;
  }

  .home-content {
    gap: 1.25rem;
  }

  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .teaching-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .study-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-method-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* 2026 visual refresh */
:root {
  --app-cloud-bg: #e9edf4;
  --app-shell: #f7f8fb;
  --app-card: #ffffff;
  --app-border: #d7dde7;
  --app-shadow: 0 16px 36px rgba(42, 58, 79, 0.12);
  --app-muted: #5c6879;
}

body {
  background:
    radial-gradient(1200px 520px at -8% -8%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 64%),
    radial-gradient(900px 500px at 105% 12%, rgba(217, 225, 239, 0.72), rgba(217, 225, 239, 0) 62%),
    linear-gradient(180deg, #ebeff5 0%, #e6ebf3 100%);
  color: #212d3f;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(220px 120px at 12% 26%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 72%),
    radial-gradient(260px 140px at 84% 18%, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0) 74%),
    radial-gradient(300px 150px at 34% 86%, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

.site-header {
  background: rgba(247, 249, 252, 0.9);
  border-bottom: 1px solid #d8dee8;
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1180px;
  flex-wrap: nowrap;
  gap: 0.8rem;
}

.brand {
  font-size: 1.06rem;
}

.bah-shell {
  border: 1px solid #d5dce7;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f4f6fb);
  box-shadow: 0 8px 20px rgba(23, 33, 52, 0.1);
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.bah-shell::-webkit-scrollbar {
  display: none;
}

.bah-cluster {
  flex-wrap: nowrap;
}

.bah-cluster-primary {
  border-right-color: #d8dfe9;
  padding-right: 0.42rem;
}

.bah-cluster-account {
  gap: 0.5rem;
}

.bah-credit-chip {
  background: #eef2f8;
  border-color: #d6deea;
  color: #445368;
}

.bah-feedback-icon-btn {
  width: 2.36rem;
  min-width: 2.36rem;
  min-height: 2.36rem;
  padding: 0;
  border-radius: 999px;
  color: #4a607b;
  border-color: #d6dfec;
}

.bah-feedback-icon-btn svg {
  width: 1.16rem;
  height: 1.16rem;
  fill: currentColor;
}

.bah-feedback-icon-btn:hover {
  color: #236cb2;
}

.panel {
  border: 1px solid var(--app-border);
  border-radius: 30px;
  background: rgba(251, 252, 255, 0.95);
  box-shadow: var(--app-shadow);
}

.hero {
  background:
    radial-gradient(120% 190% at 4% -26%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 58%),
    linear-gradient(125deg, #3a8ecb, #5ba8de 44%, #6eb3e4 100%);
  text-align: left;
  padding: 1.45rem 1.5rem;
}

.hero p {
  color: #eaf6ff;
}

.hero.home {
  padding: 1.55rem 1.55rem;
}

.hero.compact {
  padding: 1.65rem 1.55rem;
}

.hero h1 {
  font-size: clamp(1.48rem, 2.4vw, 1.94rem);
}

.content {
  padding: 1.35rem;
}

.card {
  border-radius: 16px;
  border: 1px solid #dbe1ea;
  background: var(--app-card);
  box-shadow: 0 3px 11px rgba(24, 39, 60, 0.05);
}

.card + .card {
  margin-top: 0.82rem;
}

.title,
.section-title {
  color: #1e2f44;
}

.lead,
.inline-hint,
.list,
.field label {
  color: var(--app-muted);
}

.input,
.select,
.textarea {
  border-color: #ced7e4;
  border-radius: 13px;
  background: #fbfcff;
}

.textarea {
  min-height: 132px;
}

.btn {
  border-radius: 13px;
}

.btn.primary {
  background: linear-gradient(180deg, #4b9fd8, #398dc7);
}

.btn.primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #4596cd, #347eb4);
}

.btn.secondary {
  background: #edf1f8;
  color: #2f4260;
}

.btn.secondary:hover:not(:disabled) {
  background: #e0e8f2;
}

.result-item {
  border-color: #dbe2ec;
  border-radius: 12px;
  background: #fbfcff;
}

.micro-footer {
  color: #5a6678;
}

.micro-footer a {
  color: #1f69af;
}

.bah-feedback-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.bah-feedback-star {
  border: 1px solid #d5dbe5;
  background: #f3f6fb;
  color: #95a2b8;
  width: 2.08rem;
  height: 2.08rem;
  border-radius: 999px;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 140ms ease, color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.bah-feedback-star:hover {
  transform: translateY(-1px);
  color: #f0b72f;
  border-color: #efcb75;
  background: #fff9e8;
}

.bah-feedback-star.is-active {
  color: #f0b72f;
  border-color: #efcb75;
  background: #fff6db;
}

.bah-feedback-meter {
  margin-top: 0.48rem;
  height: 8px;
  border-radius: 999px;
  background: #ecf1f8;
  overflow: hidden;
}

.bah-feedback-meter-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #f3c653, #f0b22d);
  transition: width 180ms ease;
}

.account-grid {
  display: grid;
  gap: 0.8rem;
}

.eval-input-text {
  border: 1px solid #dde4ef;
  border-radius: 12px;
  padding: 0.72rem 0.78rem;
  background: #fafcff;
  max-height: 280px;
  overflow: auto;
  line-height: 1.5;
  color: #2a3850;
}

.eval-annotation-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.72rem;
}

.eval-annotation-doc {
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fbfcff;
  padding: 0.78rem 0.82rem;
  max-height: 420px;
  overflow: auto;
  line-height: 1.62;
  color: #23354c;
}

.eval-annot {
  border-radius: 0.3rem;
  padding: 0 0.12rem;
  transition: box-shadow 120ms ease, background-color 120ms ease;
  cursor: pointer;
}

.eval-annot-improve {
  background: #ffe9b5;
}

.eval-annot-critical {
  background: #ffd6d6;
}

.eval-annot-affirm {
  background: #d8f4df;
}

.eval-annot.is-active {
  box-shadow: 0 0 0 2px rgba(36, 103, 169, 0.3);
}

.eval-annotation-comments {
  display: grid;
  gap: 0.56rem;
  max-height: 420px;
  overflow: auto;
  padding-right: 0.1rem;
}

.eval-annotation-item {
  border: 1px solid #d9e1ec;
  border-radius: 12px;
  background: #f9fbff;
  padding: 0.58rem 0.62rem;
  cursor: pointer;
}

.eval-annotation-item h4 {
  margin: 0.08rem 0 0.26rem;
  color: #22354d;
  font-size: 0.94rem;
}

.eval-annotation-item p {
  margin: 0;
  color: #465a74;
  line-height: 1.45;
}

.eval-annotation-item.is-active {
  border-color: #79a7d6;
  background: #ecf4ff;
}

.eval-annotation-meta {
  margin: 0;
  color: #5c7390;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 920px) {
  .header-inner {
    align-items: center;
  }

  .bah-shell {
    justify-content: flex-end;
  }

  .bah-cluster-primary {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 0.45rem;
  }

  .bah-shell {
    margin-left: auto;
    min-width: 0;
    max-width: 100%;
    padding: 0.34rem;
  }

  .bah-cluster {
    width: auto;
  }

  .bah-credit-chip {
    display: none;
  }

  .header-link {
    min-height: 2rem;
    padding: 0.35rem 0.58rem;
    font-size: 0.82rem;
  }

  .bah-account-btn {
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 980px) {
  .eval-annotation-shell {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  }
}

/* 2026 screenshot alignment pass */
:root {
  --ios-cloud-0: #eef3f9;
  --ios-cloud-1: #e4ebf4;
  --ios-text-main: #1f2d3f;
  --ios-text-soft: #5f6f84;
  --ios-border: #d8e0eb;
  --ios-card: #ffffff;
  --ios-shadow-lg: 0 28px 62px rgba(31, 49, 73, 0.14);
  --ios-shadow-sm: 0 8px 20px rgba(30, 46, 68, 0.09);
  --ios-blue: #4f9fd8;
  --ios-blue-strong: #2f83c2;
}

body.bah-page {
  color: var(--ios-text-main);
  background:
    radial-gradient(640px 280px at 8% 15%, rgba(255, 255, 255, 0.83), rgba(255, 255, 255, 0) 74%),
    radial-gradient(520px 260px at 88% 20%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, var(--ios-cloud-0) 0%, var(--ios-cloud-1) 100%);
}

body.bah-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(320px 140px at 26% 62%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 72%),
    radial-gradient(260px 130px at 78% 76%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 72%);
  opacity: 0.8;
  z-index: -1;
}

.site-header {
  border-bottom: 1px solid rgba(198, 212, 228, 0.9);
  background: linear-gradient(180deg, rgba(243, 248, 253, 0.97), rgba(236, 243, 251, 0.93));
  backdrop-filter: blur(10px) saturate(1.04);
  box-shadow: 0 8px 18px rgba(36, 52, 74, 0.1);
}

html[data-theme="dark"] .site-header {
  border-bottom-color: rgba(74, 98, 124, 0.9);
  background: linear-gradient(180deg, rgba(19, 32, 47, 0.96), rgba(17, 29, 43, 0.92));
  box-shadow: 0 10px 22px rgba(6, 10, 15, 0.4);
}

.header-inner {
  max-width: 1160px;
  padding-top: 0.95rem;
  padding-bottom: 0.55rem;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #27384f;
}

.brand::before {
  content: "";
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid #cfdceb;
  background:
    radial-gradient(circle at 32% 30%, #ffd79d 0%, #f7bc82 42%, #d58e64 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.7),
    0 2px 8px rgba(46, 66, 93, 0.16);
}

.header-link {
  border-color: #d4ddeb;
  border-radius: 999px;
  background: #f6f9fd;
  color: #31475f;
  font-size: 0.84rem;
  font-weight: 700;
}

.header-link:hover {
  border-color: #bcd1e5;
  background: #edf4fb;
  color: #1f324a;
}

.bah-shell {
  border-radius: 999px;
  border-color: #d4ddeb;
  background: rgba(248, 250, 253, 0.94);
  box-shadow: var(--ios-shadow-sm);
  gap: 0.55rem;
  padding: 0.4rem 0.5rem;
}

.bah-cluster-primary {
  border-right-color: #d7e0eb;
}

.bah-projects-btn {
  min-width: 6.3rem;
}

.bah-credit-chip {
  border-radius: 999px;
  border-color: #d7e0eb;
  background: #edf2f9;
  color: #46586f;
  font-size: 0.76rem;
}

.bah-account-btn {
  border-radius: 999px;
  background: #ffffff;
}

.main {
  padding-top: 1rem;
}

.page-home .container,
.page-tool .container {
  max-width: 1140px;
}

.page-account .container,
.page-how-it-works .container {
  max-width: 980px;
}

.panel {
  border: 1px solid var(--ios-border);
  border-radius: 36px;
  background: rgba(250, 252, 255, 0.95);
  box-shadow: var(--ios-shadow-lg);
}

.hero {
  border-radius: 26px 26px 0 0;
  background:
    radial-gradient(140% 190% at 6% -35%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 60%),
    linear-gradient(120deg, #5ca9db 0%, #4f98d2 45%, #3f86c0 100%);
}

.hero h1 {
  letter-spacing: 0;
}

.hero p {
  color: #edf8ff;
}

.hero-icon-wrap {
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.page-tool .panel {
  border-width: 10px;
  border-color: #f8fbff;
  border-radius: 44px;
  background: #f4f7fb;
  box-shadow:
    0 26px 56px rgba(28, 46, 69, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.page-tool .hero {
  margin: 0.48rem 0.48rem 0;
  border-radius: 32px;
}

.page-tool .content {
  padding: 1rem 0.8rem 1.35rem;
}

.card {
  border-radius: 20px;
  border-color: #dbe3ee;
  background: var(--ios-card);
  box-shadow: 0 4px 14px rgba(27, 44, 64, 0.05);
}

.title,
.section-title {
  color: #25374f;
}

.lead,
.inline-hint,
.list,
.field label,
.result-item p {
  color: var(--ios-text-soft);
}

.input,
.select,
.textarea {
  border-radius: 15px;
  border-color: #ced9e7;
  background: #f7fafd;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline-color: rgba(69, 143, 205, 0.22);
}

.btn {
  border-radius: 14px;
  font-size: 0.88rem;
}

.btn.primary {
  background: linear-gradient(180deg, var(--ios-blue), var(--ios-blue-strong));
}

.btn.primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #4995ca, #2e77b0);
}

.btn.secondary {
  background: #edf2f9;
  color: #2f435c;
}

.notice {
  border-radius: 16px;
}

.result-item {
  border-radius: 16px;
  border-color: #dce4ef;
  background: #fbfdff;
}

.tag {
  border-radius: 999px;
  border-color: #d6e2ef;
  background: #eef3f9;
  color: #4a6079;
  padding: 0.26rem 0.62rem;
}

.clear-step,
.study-method-step {
  border-radius: 16px;
  border-color: #dbe4ef;
  background: #f7fafd;
}

.page-home .panel {
  border-width: 8px;
  border-color: #f8fbff;
  background: rgba(245, 248, 252, 0.9);
}

.page-home .hero {
  margin: 0.45rem 0.45rem 0;
  border-radius: 30px;
  min-height: 164px;
  display: grid;
  align-content: end;
}

.page-home .tool-grid {
  gap: 0.86rem;
}

.page-home .tool-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #dbe4ef;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--ios-shadow-sm);
  padding: 0.72rem;
}

.page-home .tool-card::before {
  content: "";
  width: 100%;
  height: 124px;
  border-radius: 16px;
  margin-bottom: 0.7rem;
  background:
    linear-gradient(160deg, rgba(58, 95, 140, 0.34), rgba(121, 161, 195, 0.2)),
    radial-gradient(60% 90% at 76% 20%, rgba(255, 209, 128, 0.22), rgba(255, 209, 128, 0) 70%),
    linear-gradient(180deg, #97b2cd 0%, #6f93b8 55%, #4f6e8f 100%);
}

.page-home .tool-card:nth-child(2)::before {
  background:
    linear-gradient(160deg, rgba(44, 87, 128, 0.32), rgba(102, 143, 177, 0.2)),
    radial-gradient(72% 96% at 30% 10%, rgba(255, 224, 177, 0.24), rgba(255, 224, 177, 0) 72%),
    linear-gradient(180deg, #8aa6c0 0%, #6388ab 60%, #466381 100%);
}

.page-home .tool-card:nth-child(3)::before {
  background:
    linear-gradient(160deg, rgba(74, 109, 88, 0.24), rgba(125, 157, 126, 0.16)),
    radial-gradient(70% 100% at 72% 18%, rgba(252, 220, 141, 0.2), rgba(252, 220, 141, 0) 70%),
    linear-gradient(180deg, #8da798 0%, #6d8878 58%, #4f6859 100%);
}

.page-home .tool-card:nth-child(4)::before {
  background:
    linear-gradient(160deg, rgba(66, 74, 118, 0.3), rgba(113, 121, 164, 0.2)),
    radial-gradient(70% 100% at 64% 18%, rgba(255, 235, 179, 0.2), rgba(255, 235, 179, 0) 72%),
    linear-gradient(180deg, #7f8cb2 0%, #606f97 55%, #4a567a 100%);
}

.page-home .tool-card:nth-child(5)::before {
  background:
    linear-gradient(160deg, rgba(87, 95, 110, 0.3), rgba(142, 150, 162, 0.2)),
    radial-gradient(66% 96% at 68% 18%, rgba(255, 225, 182, 0.22), rgba(255, 225, 182, 0) 72%),
    linear-gradient(180deg, #9da8b6 0%, #7f8b9a 56%, #5f6a78 100%);
}

.page-home .tool-card:nth-child(6)::before {
  background:
    linear-gradient(160deg, rgba(63, 102, 117, 0.32), rgba(106, 143, 161, 0.2)),
    radial-gradient(62% 94% at 70% 16%, rgba(255, 220, 170, 0.24), rgba(255, 220, 170, 0) 72%),
    linear-gradient(180deg, #83a8b8 0%, #5f879d 58%, #446577 100%);
}

.page-home .tool-card svg {
  position: absolute;
  top: 0.96rem;
  right: 0.96rem;
  margin: 0;
  width: 1.08rem;
  height: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.page-home .tool-card h3 {
  font-size: 1.06rem;
  color: #23364d;
}

.page-home .tool-card .muted {
  margin-top: 0.36rem;
}

.page-home .tool-card .link {
  margin-top: 0.42rem;
  color: #2f80be;
  font-size: 0.77rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bah-account-panel,
.bah-project-panel,
.bah-onboarding-panel {
  border-radius: 22px;
  border-color: #d8e1ec;
  box-shadow: 0 26px 60px rgba(22, 39, 60, 0.25);
}

.bah-feedback-star {
  border-radius: 999px;
}

.bah-mobile-dock {
  position: fixed;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  z-index: 70;
  width: min(640px, calc(100% - 1rem));
  border: 1px solid #d4deea;
  border-radius: 28px;
  background: rgba(248, 250, 253, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 34px rgba(23, 38, 58, 0.16);
  padding: 0.36rem 0.42rem;
  display: none;
}

.bah-mobile-dock-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.26rem;
}

.bah-mobile-dock-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  border-radius: 16px;
  min-height: 3.2rem;
  color: #65778d;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.bah-mobile-dock-link:hover {
  background: #eef4fb;
  color: #2a4561;
}

.bah-mobile-dock-link.is-center {
  border: 1px solid #d5dfeb;
  background: linear-gradient(180deg, #ffffff, #f1f5fb);
  box-shadow: 0 4px 11px rgba(30, 47, 71, 0.12);
}

.bah-mobile-dock-link.is-active {
  color: #1d324c;
  font-weight: 700;
}

.bah-mobile-dock-link.is-active .bah-mobile-dock-icon {
  color: #2f83c2;
}

.bah-mobile-dock-icon {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
}

.bah-mobile-dock-icon svg {
  width: 100%;
  height: 100%;
}

.bah-mobile-dock-label {
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .bah-shell {
    width: auto;
    max-width: calc(100% - 120px);
  }

  .bah-cluster-primary {
    border-top: 0;
    width: auto;
    order: 0;
    padding-top: 0;
  }

  .bah-cluster-account {
    width: auto;
    order: 0;
  }

  .page-tool .main {
    padding-bottom: 6.25rem;
  }

  .page-tool .micro-footer {
    padding-bottom: 5rem;
  }

  .bah-mobile-dock {
    display: block;
  }
}

@media (max-width: 700px) {
  .header-inner {
    padding-top: 0.7rem;
    padding-bottom: 0.42rem;
  }

  .brand {
    font-size: 1rem;
    gap: 0.45rem;
  }

  .brand::before {
    width: 1.62rem;
    height: 1.62rem;
  }

  .bah-shell {
    padding: 0.25rem 0.28rem;
    gap: 0.4rem;
  }

  .bah-projects-btn {
    min-width: 0;
    padding-inline: 0.52rem;
  }

  .page-tool .container {
    max-width: 100%;
  }

  .page-tool .panel {
    border-width: 8px;
    border-radius: 36px;
  }

  .page-tool .hero {
    border-radius: 24px;
  }

  .page-home .panel {
    border-width: 6px;
    border-radius: 30px;
  }

  .page-home .hero {
    border-radius: 24px;
    min-height: 132px;
  }

  .page-home .tool-card::before {
    height: 104px;
  }

  .bah-mobile-dock {
    width: calc(100% - 0.72rem);
    bottom: 0.35rem;
    border-radius: 24px;
    padding: 0.3rem;
  }

  .bah-mobile-dock-link {
    min-height: 2.95rem;
  }

  .bah-mobile-dock-label {
    font-size: 0.62rem;
  }
}

/* Tool color system */
.page-tool {
  --tool-tone: #5b96cf;
  --tool-tone-mid: #4a86c1;
  --tool-tone-strong: #356fa8;
  --tool-tone-soft: #e9f2fc;
  --tool-tone-link: #2f74b0;
}

body.tool-bible-study,
.tool-tone--bible-study,
.page-home .tool-card.tool-card-bible-study {
  --tool-tone: #5d9acf;
  --tool-tone-mid: #4e89c1;
  --tool-tone-strong: #3670a9;
  --tool-tone-soft: #e8f2fc;
  --tool-tone-link: #2e73af;
}

body.tool-sermon-preparation,
.tool-tone--sermon-preparation,
.page-home .tool-card.tool-card-sermon-preparation {
  --tool-tone: #6b91d2;
  --tool-tone-mid: #5b80c3;
  --tool-tone-strong: #4468ac;
  --tool-tone-soft: #eaf0fc;
  --tool-tone-link: #3d63a2;
}

body.tool-teaching-tools,
.tool-tone--teaching-tools,
.page-home .tool-card.tool-card-teaching-tools {
  --tool-tone: #72a58a;
  --tool-tone-mid: #61957b;
  --tool-tone-strong: #4a7963;
  --tool-tone-soft: #ebf6ef;
  --tool-tone-link: #3f6f58;
}

body.tool-research-helper,
.tool-tone--research-helper,
.page-home .tool-card.tool-card-research-helper {
  --tool-tone: #767fbe;
  --tool-tone-mid: #666fae;
  --tool-tone-strong: #4f5895;
  --tool-tone-soft: #eceefd;
  --tool-tone-link: #4b5490;
}

body.tool-sermon-analyzer,
.tool-tone--sermon-analyzer,
.page-home .tool-card.tool-card-sermon-analyzer {
  --tool-tone: #8390a3;
  --tool-tone-mid: #748296;
  --tool-tone-strong: #5f6d82;
  --tool-tone-soft: #eef1f6;
  --tool-tone-link: #54627a;
}

body.tool-video-search,
.tool-tone--video-search,
.page-home .tool-card.tool-card-video-search {
  --tool-tone: #67a0bc;
  --tool-tone-mid: #558fae;
  --tool-tone-strong: #3f7392;
  --tool-tone-soft: #e8f4fb;
  --tool-tone-link: #3b6d8d;
}

.page-tool .hero {
  background:
    radial-gradient(140% 190% at 6% -35%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 60%),
    linear-gradient(120deg, var(--tool-tone) 0%, var(--tool-tone-mid) 45%, var(--tool-tone-strong) 100%);
}

.page-tool .btn.primary {
  background: linear-gradient(180deg, var(--tool-tone), var(--tool-tone-strong));
}

.page-tool .btn.primary:hover:not(:disabled) {
  background: linear-gradient(180deg, var(--tool-tone-mid), var(--tool-tone-strong));
}

.page-tool .kicker,
.page-tool .clear-step strong,
.page-tool .study-method-step strong {
  color: var(--tool-tone-link);
}

.page-tool .tag {
  border-color: color-mix(in srgb, var(--tool-tone) 30%, #d6e2ef);
  background: var(--tool-tone-soft);
  color: var(--tool-tone-link);
}

.page-tool .progress-fill {
  background: linear-gradient(90deg, var(--tool-tone), var(--tool-tone-strong));
}

.page-home .tool-card .muted {
  min-height: 1.3rem;
}

.page-home .tool-card.tool-card-bible-study::before {
  background:
    linear-gradient(160deg, rgba(58, 95, 140, 0.34), rgba(121, 161, 195, 0.2)),
    radial-gradient(60% 90% at 76% 20%, rgba(255, 209, 128, 0.22), rgba(255, 209, 128, 0) 70%),
    linear-gradient(180deg, #93afd0 0%, #6f94ba 55%, #4f6f92 100%);
}

.page-home .tool-card.tool-card-sermon-preparation::before {
  background:
    linear-gradient(160deg, rgba(70, 90, 138, 0.32), rgba(129, 141, 189, 0.2)),
    radial-gradient(72% 96% at 30% 10%, rgba(255, 224, 177, 0.24), rgba(255, 224, 177, 0) 72%),
    linear-gradient(180deg, #90a3cc 0%, #6d80af 60%, #4d6088 100%);
}

.page-home .tool-card.tool-card-teaching-tools::before {
  background:
    linear-gradient(160deg, rgba(74, 109, 88, 0.24), rgba(125, 157, 126, 0.16)),
    radial-gradient(70% 100% at 72% 18%, rgba(252, 220, 141, 0.2), rgba(252, 220, 141, 0) 70%),
    linear-gradient(180deg, #8da798 0%, #6d8878 58%, #4f6859 100%);
}

.page-home .tool-card.tool-card-research-helper::before {
  background:
    linear-gradient(160deg, rgba(66, 74, 118, 0.3), rgba(113, 121, 164, 0.2)),
    radial-gradient(70% 100% at 64% 18%, rgba(255, 235, 179, 0.2), rgba(255, 235, 179, 0) 72%),
    linear-gradient(180deg, #7f8cb2 0%, #606f97 55%, #4a567a 100%);
}

.page-home .tool-card.tool-card-sermon-analyzer::before {
  background:
    linear-gradient(160deg, rgba(87, 95, 110, 0.3), rgba(142, 150, 162, 0.2)),
    radial-gradient(66% 96% at 68% 18%, rgba(255, 225, 182, 0.22), rgba(255, 225, 182, 0) 72%),
    linear-gradient(180deg, #9da8b6 0%, #7f8b9a 56%, #5f6a78 100%);
}

.page-home .tool-card.tool-card-video-search::before {
  background:
    linear-gradient(160deg, rgba(63, 102, 117, 0.32), rgba(106, 143, 161, 0.2)),
    radial-gradient(62% 94% at 70% 16%, rgba(255, 220, 170, 0.24), rgba(255, 220, 170, 0) 72%),
    linear-gradient(180deg, #83a8b8 0%, #5f879d 58%, #446577 100%);
}

.page-home .tool-card.tool-card-bible-study .link,
.page-home .tool-card.tool-card-sermon-preparation .link,
.page-home .tool-card.tool-card-teaching-tools .link,
.page-home .tool-card.tool-card-research-helper .link,
.page-home .tool-card.tool-card-sermon-analyzer .link,
.page-home .tool-card.tool-card-video-search .link {
  color: var(--tool-tone-link);
}

.bah-project-item {
  border-left: 4px solid transparent;
}

.bah-project-item.tool-tone--bible-study,
.bah-project-item.tool-tone--sermon-preparation,
.bah-project-item.tool-tone--teaching-tools,
.bah-project-item.tool-tone--research-helper,
.bah-project-item.tool-tone--sermon-analyzer,
.bah-project-item.tool-tone--video-search {
  border-left-color: var(--tool-tone);
}

.bah-tool-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tool-tone) 35%, #d7e2ef);
  background: var(--tool-tone-soft);
  color: var(--tool-tone-link);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.18rem 0.48rem;
  vertical-align: middle;
}

.bah-project-meta-sep {
  color: #7f91a7;
  margin: 0 0.25rem;
}
