.equity-card {
  background: #fcfcfa;
  border-radius: 18px;
  margin-bottom: 2.5rem;
  box-shadow: 0 6px 24px rgba(10, 37, 64, 0.06);
  border-top: none;
  padding: 0;
  transition: box-shadow 0.2s;
}
.equity-card + .equity-card {
  margin-top: 3.5rem;
}

.equity-card-title {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-serif);
  padding: 1.1rem 2rem 0.5rem 2rem;
  border-radius: 18px 18px 0 0;
  letter-spacing: 0.01em;
}
.equity-card-title .icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.equity-card-body {
  padding: 0.5rem 2rem 1.5rem 2rem;
  font-size: 1.01rem;
  color: #222;
}

.equity-card-title.equity-approach {
  color: var(--color-accent);
  border-top: 6px solid var(--color-accent);
}
.equity-card-title.equity-reasons {
  color: #1b7c4b;
  border-top: 6px solid #1b7c4b;
}
.equity-card-title.equity-other {
  color: #b48a00;
  border-top: 6px solid #b48a00;
}
.equity-card-title.equity-formula {
  color: var(--color-primary);
  border-top: 6px solid #0a2540;
}
.equity-card-title.equity-limit {
  color: #7b5e57;
  border-top: 6px solid #7b5e57;
}

.equity-card-body strong {
  font-weight: 700;
  color: var(--color-accent);
}

.equity-card-title {
  text-transform: none;
}

.equity-card-body ul {
  list-style: disc;
  margin-left: 1.2em;
  padding-left: 0;
}
.equity-card-body ul li {
  margin-bottom: 0.7rem;
  line-height: 1.6;
}
.equity-card-body ol {
  list-style: decimal;
  margin-left: 1.2em;
  padding-left: 0;
}
.equity-card-body ol li {
  margin-bottom: 0.7rem;
  font-size: 1.01rem;
}

.equity-card-body {
  font-size: 0.98rem;
}

@media (max-width: 700px) {
  .equity-card-title,
  .equity-card-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* Equity Considerations Section Styling */

.equity-section-divider {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2.5px dashed var(--color-accent);
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.7;
}

.equity-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(212, 30, 47, 0.07);
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.equity-section-title::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--color-accent) 60%, #f7b2b2 100%);
  border-radius: 50%;
  margin-right: 0.5em;
  box-shadow: 0 2px 8px rgba(212, 30, 47, 0.12);
}

.equity-section-subsection {
  background: linear-gradient(120deg, #fff5f5 60%, #f7f4ef 100%);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.7rem;
  box-shadow: 0 6px 24px rgba(212, 30, 47, 0.07),
    0 1.5px 6px rgba(10, 37, 64, 0.04);
  border-left: 5px solid var(--color-accent);
  transition: box-shadow 0.2s;
}

.equity-section-subsection:hover {
  box-shadow: 0 12px 32px rgba(212, 30, 47, 0.13),
    0 2px 8px rgba(10, 37, 64, 0.07);
}
:root {
  --color-primary: #0a2540;
  --color-secondary: #d41e2f;
  --color-accent: #d41e2f;
  --color-dark: #0a2540;
  --color-light: #fafaf9;
  --color-border: #e0e0e0;
  --font-serif: "Crimson Pro", serif;
  --font-sans: "DM Sans", sans-serif;
  --shadow-soft: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-medium: 0 8px 40px rgba(10, 37, 64, 0.12);
}

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

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--color-dark);
  background: linear-gradient(135deg, #fdfcfb 0%, #f7f4ef 100%);
  overflow-x: hidden;
  padding-top: 160px; /* Space for banner + header */
}

/* City of Boston Header */
.boston-header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 2000;
  background: white;
}

.boston-top-bar {
  background: #0a2540;
  color: white;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.boston-top-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.boston-city-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
}

.city-text {
  color: white;
}

.boston-text {
  color: white;
  text-decoration: underline;
  text-decoration-color: #d41e2f;
  text-underline-offset: 3px;
}

.boston-official-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.official-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  cursor: pointer;
}

.official-link:hover {
  color: white;
}

.chevron {
  font-size: 0.7rem;
  cursor: pointer;
}

.boston-nav {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.boston-nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: auto;
  min-height: 70px;
  flex-wrap: wrap;
  padding-bottom: 0.5rem;
}

.boston-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0a2540;
}

.boston-logo .city-text {
  color: #0a2540;
}

.boston-logo .boston-text {
  color: #0a2540;
  text-decoration: underline;
  text-decoration-color: #d41e2f;
  text-underline-offset: 3px;
}

.boston-mayor {
  font-size: 0.85rem;
  font-style: italic;
  color: #666;
  padding-left: 1rem;
  border-left: 1px solid #e0e0e0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3a5c 100%);
  color: white;
  padding: 5rem 2rem 6rem;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 0;
  padding-top: calc(
    40px + 70px + 5rem
  ); /* Banner + Header + original padding */
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-30px, 30px) rotate(10deg);
  }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-description {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 700px;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
  align-items: center;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font-sans);
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.tab-btn:hover {
  color: var(--color-primary);
  background: rgba(10, 37, 64, 0.05);
}

.tab-btn.active {
  color: var(--color-secondary);
  border-bottom-color: var(--color-secondary);
  font-weight: 600;
}

.tabs-content {
  position: relative;
}

.tab-panel {
  display: none !important;
  animation: fadeIn 0.3s ease-in;
  opacity: 1 !important;
  transform: none !important;
}

.tab-panel.active {
  display: block !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section:not(.tab-panel) {
  margin-bottom: 5rem;
  animation: fadeInUp 1s ease-out;
}

.tab-panel.section {
  margin-bottom: 0;
  animation: none;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  margin-top: 2rem;
}

.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-secondary);
  color: white;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  flex: 1;
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
}

h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Cards */
.card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  max-width: 2000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

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

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--color-secondary);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-soft);
}

.info-label {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-value {
  color: var(--color-dark);
  font-size: 1.05rem;
}

/* Institution List */
.institution-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.institution-item {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: default;
}

.institution-item:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.15);
}

/* Workflow Steps */
.workflow-steps {
  position: relative;
  padding-left: 0;
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
}

.workflow-step {
  position: relative;
  background: white;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  /* Remove left border for top-level workflow-step accordions in main cards */
  border-left: none;
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%;
}

/* Only add the red border to nested workflow-step accordions (not the top-level ones in the main cards) */
.card > .workflow-steps > .workflow-step.accordion-step {
  border-left: none;
}
.workflow-step.accordion-step .workflow-steps > .workflow-step.accordion-step {
  border-left: 4px solid var(--color-secondary);
  padding: 0;
}

/* Ensure data-step="3" section doesn't exceed container width */
.workflow-step.accordion-step[data-step="3"] {
  max-width: 100%;
}

.workflow-step.accordion-step .step-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.workflow-step.accordion-step .step-header:hover {
  background: rgba(10, 37, 64, 0.02);
}

.workflow-step.accordion-step .step-title {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.15rem;
  margin: 0;
  flex: 1;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-secondary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

.workflow-step.accordion-step.active .step-indicator {
  background: var(--color-primary);
}

.workflow-step.accordion-step .step-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 2rem;
}

.workflow-step.accordion-step.active .step-content {
  max-height: 1000px;
  padding: 0 2rem 1.5rem 2rem;
}

.workflow-step.accordion-step[data-step="1"].active .step-content,
.workflow-step.accordion-step[data-step="2"].active .step-content {
  max-height: 70vh;
  overflow-y: auto;
}

.step-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.workflow-step.accordion-step .step-header .step-description {
  margin-left: 1rem;
  margin-bottom: 0;
}

.step-screenshot {
  margin: 2.5rem 0 2.5rem 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.13);
  background: #f5f5f5;
  max-width: 1000px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.step-screenshot img {
  width: 100%;
  max-width: 980px;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: contain;
}

.done-btn {
  background: var(--color-secondary);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(212, 30, 47, 0.2);
}

.done-btn:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 30, 47, 0.3);
}

.done-btn:active {
  transform: translateY(0);
}

.workflow-step.accordion-step.completed {
  border-left-color: #94a3b8;
  opacity: 0.7;
}

.workflow-step.accordion-step.completed .step-indicator {
  background: #94a3b8;
}

.workflow-step.accordion-step.completed .step-title {
  color: #666;
}

.workflow-step::before {
  content: "";
  position: absolute;
  left: -3rem;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: var(--color-secondary);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(212, 30, 47, 0.15);
  z-index: 1;
  transition: all 0.3s ease;
}

.workflow-step.accordion-step.completed::before {
  background: #94a3b8;
  box-shadow: 0 0 0 6px rgba(148, 163, 184, 0.15);
}

.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: 3rem;
  width: 2px;
  height: calc(100% + 1.5rem);
  background: linear-gradient(
    180deg,
    var(--color-secondary),
    rgba(212, 30, 47, 0.3)
  );
  transition: all 0.3s ease;
}

.workflow-step.accordion-step.completed:not(:last-child)::after {
  background: linear-gradient(180deg, #94a3b8, rgba(148, 163, 184, 0.3));
}

/* Highlight Box */
.spreadsheet-link-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  border: 2px solid #0a2540;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin: 2rem 0 2.5rem;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.08);
  transition: all 0.3s ease;
}

.spreadsheet-link-box:hover {
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.12);
  transform: translateY(-2px);
}

.spreadsheet-link-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.spreadsheet-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.spreadsheet-link-text {
  flex: 1;
  min-width: 200px;
}

.spreadsheet-link-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  font-family: var(--font-serif);
}

.spreadsheet-link-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.spreadsheet-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.2);
}

.spreadsheet-link-btn:hover {
  background: #0d2f4d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.3);
}

.external-link-icon {
  font-size: 1rem;
  opacity: 0.9;
}

/* Welcome Section */
.welcome-section {
  margin: 3rem 0 5rem;
}

.welcome-content {
  max-width: 900px;
  margin: 0 auto;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  text-align: center;
}

.welcome-message {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.official-site-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
  color: white;
  padding: 2rem 2.5rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.15);
  margin-top: 2rem;
}

.official-site-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.25);
}

.official-site-icon {
  font-size: 3rem;
  line-height: 1;
}

.official-site-text {
  flex: 1;
}

.official-site-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.official-site-description {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.official-site-link .external-link-icon {
  font-size: 1.2rem;
  opacity: 0.9;
}

.highlight-box {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border-left: 4px solid var(--color-secondary);
  padding: 2rem 2.5rem;
  border-radius: 15px;
  margin: 2.5rem 0 3rem;
}

.highlight-title {
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Comparison Table */
.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.comparison-column {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.comparison-column:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.comparison-column h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  text-align: center;
}

.comparison-column.current {
  border-top: 4px solid #94a3b8;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.comparison-column.proposed {
  border-top: 4px solid var(--color-secondary);
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

/* Lists */
ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Video Placeholder */
.video-placeholder {
  background: linear-gradient(135deg, var(--color-primary), #1a3a5c);
  color: white;
  padding: 4rem 2rem;
  border-radius: 20px;
  text-align: center;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-placeholder:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

.video-placeholder::before {
  content: "▶";
  font-size: 4rem;
  opacity: 0.2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.video-text {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Links */
.external-link {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.external-link:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 5rem;
}

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

/* Tags */
.tag {
  display: inline-block;
  background: rgba(10, 37, 64, 0.1);
  color: var(--color-primary);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.25rem;
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Demo Banner */
.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-secondary);
  color: white;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Scroll Indicator (removed) */

/* Code styling */
code {
  background: #f3f4f6;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }

  .boston-top-content {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .boston-nav-content {
    padding: 0 1rem;
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1rem;
  }

  .boston-mayor {
    display: none; /* Hide mayor text on mobile */
  }

  .tabs-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .tabs-nav::-webkit-scrollbar {
    height: 4px;
  }

  .tab-btn {
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  body {
    padding-top: 140px;
  }

  .boston-header {
    top: 35px;
  }

  .demo-banner {
    top: 0;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .tabs-container {
    top: 140px;
  }

  .hero {
    padding: 3rem 1.5rem 4rem;
    margin-top: 0;
  }

  h1 {
    font-size: 2rem;
  }

  .container {
    padding: 3rem 1.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .comparison-table {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    padding-left: 2rem;
  }

  .workflow-step.accordion-step .step-header {
    padding: 1.25rem 1.5rem;
  }

  .workflow-step.accordion-step.active .step-content {
    padding: 0 1.5rem 1.25rem 1.5rem;
  }

  .workflow-step.accordion-step .step-content {
    padding: 0 1.5rem;
  }

  .step-indicator {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .done-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
  }

  .step-screenshot {
    max-width: 100%;
  }

  .workflow-step::before {
    left: -2rem;
    width: 16px;
    height: 16px;
  }

  .workflow-step:not(:last-child)::after {
    left: -1.6rem;
  }

  .institution-list {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 130px;
  }

  .boston-header {
    top: 30px;
  }

  .boston-top-bar {
    font-size: 0.75rem;
  }

  .boston-top-content {
    padding: 0.4rem 0.75rem;
  }

  .boston-city-name {
    font-size: 0.9rem;
  }

  .boston-nav-content {
    padding: 0 0.75rem;
    height: auto;
    min-height: 55px;
  }

  .boston-logo {
    font-size: 0.95rem;
  }

  body {
    padding-top: 130px;
  }

  .boston-header {
    top: 30px;
  }

  .demo-banner {
    top: 0;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

  .card {
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}

/* Print styles */
@media print {
  body {
    padding-top: 0;
  }

  .boston-header {
    display: none;
  }

  .demo-banner {
    display: none;
  }

  .hero::before {
    display: none;
  }

  .card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .section {
    page-break-inside: avoid;
  }
}
