/* ============================================
   Grace Blackwell — The Power of Trust
   Brand Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --abyss: #0D1B2A;
  --trust-teal: #00C9A7;
  --soft-teal: #5DCAA5;
  --white: #FFFFFF;
  --slate-white: #F4F6F9;
  --border-grey: #D8DDE6;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;

  --max-width: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--abyss);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section--slate {
  background: var(--slate-white);
}

.section--dark {
  background: var(--abyss);
  color: var(--white);
}

.text-teal {
  color: var(--trust-teal);
}

.text-center {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--trust-teal);
  color: var(--abyss);
}

.btn--primary:hover {
  background: var(--soft-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 201, 167, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--trust-teal);
  border-color: var(--trust-teal);
}

.btn--outline:hover {
  background: var(--trust-teal);
  color: var(--abyss);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--abyss);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo svg {
  width: 44px;
  height: 44px;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
}

.nav__logo-name span {
  color: var(--trust-teal);
}

.nav__logo-tagline {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--trust-teal);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--trust-teal);
  transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 0.5rem;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--abyss);
  color: var(--white);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background:
    radial-gradient(circle at 20% 50%, var(--trust-teal) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--soft-teal) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--trust-teal);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 3.25rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Section Header ---------- */
.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__header h2 {
  margin-bottom: 1rem;
}

.section__header p {
  color: rgba(13, 27, 42, 0.65);
}

.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 27, 42, 0.08);
  border-color: var(--trust-teal);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 201, 167, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--trust-teal);
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--abyss);
}

.service-card p {
  color: rgba(13, 27, 42, 0.65);
  font-size: 0.9375rem;
}

/* ---------- Stats Row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--trust-teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Case Studies ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 27, 42, 0.08);
}

.case-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--abyss), #1B2E44);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 201, 167, 0.15), transparent 60%);
}

.case-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--trust-teal);
  position: relative;
  z-index: 1;
}

.case-card__body {
  padding: 2rem;
}

.case-card__body h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.case-card__body p {
  font-size: 0.9375rem;
  color: rgba(13, 27, 42, 0.65);
  margin-bottom: 1.25rem;
}

.case-card__result {
  display: flex;
  gap: 1.5rem;
}

.case-card__metric {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--trust-teal);
  line-height: 1;
}

.case-card__metric-label {
  font-size: 0.8125rem;
  color: rgba(13, 27, 42, 0.5);
}

/* ---------- About / Team ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid__visual {
  background: linear-gradient(135deg, var(--abyss), #1B2E44);
  border-radius: 8px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-grid__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 201, 167, 0.12), transparent 60%);
}

.about-grid__visual svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.values-list {
  margin-top: 2rem;
}

.values-list__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.values-list__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 201, 167, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trust-teal);
}

.values-list__item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.values-list__item p {
  font-size: 0.9375rem;
  color: rgba(13, 27, 42, 0.65);
  margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--abyss);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-grey);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--abyss);
  background: var(--white);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--trust-teal);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group .error-msg {
  font-size: 0.8125rem;
  color: #E53E3E;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #E53E3E;
}

.form-group.error .error-msg {
  display: block;
}

.contact-info {
  padding: 2.5rem;
  background: var(--abyss);
  border-radius: 8px;
  color: var(--white);
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(0, 201, 167, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trust-teal);
}

.contact-info__item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info__item a {
  color: var(--trust-teal);
}

.contact-info__item a:hover {
  color: var(--soft-teal);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--abyss), #152238);
  color: var(--white);
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--abyss);
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.footer__col a:hover {
  color: var(--trust-teal);
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8125rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: var(--abyss);
  color: var(--white);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background:
    radial-gradient(circle at 30% 60%, var(--trust-teal) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, var(--soft-teal) 0%, transparent 40%);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.75rem;
}

.page-header p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Services Detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}

.service-detail:not(:last-child) {
  border-bottom: 1px solid var(--border-grey);
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

.service-detail__content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-detail__content p {
  color: rgba(13, 27, 42, 0.65);
}

.service-detail__content ul {
  margin-top: 1rem;
}

.service-detail__content ul li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  color: rgba(13, 27, 42, 0.65);
}

.service-detail__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--trust-teal);
}

.service-detail__visual {
  background: linear-gradient(135deg, var(--abyss), #1B2E44);
  border-radius: 8px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-detail__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 201, 167, 0.1), transparent 60%);
}

/* ---------- Legal Pages ---------- */
.legal-content {
  padding: 4rem 0;
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--abyss);
}

.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--abyss);
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  color: rgba(13, 27, 42, 0.75);
  line-height: 1.8;
}

.legal-content ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
  list-style: disc;
}

.legal-content ul li {
  padding: 0.25rem 0;
}

.legal-content a {
  color: var(--trust-teal);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--soft-teal);
}

.legal-content .legal-updated {
  font-size: 0.8125rem;
  color: rgba(13, 27, 42, 0.5);
  margin-bottom: 2rem;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .hero h1 { font-size: 2.5rem; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--abyss);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

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

  .about-grid,
  .contact-grid,
  .service-detail,
  .service-detail--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail--reverse {
    direction: ltr;
  }

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

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

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .section { padding: 3.5rem 0; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Supported Regulatory Frameworks
   ============================================ */

.frameworks-block {
  margin: 4rem 0;
}

.frameworks-block__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.frameworks-block__header h3 {
  margin-bottom: 0.75rem;
}

.frameworks-block__header p {
  color: var(--abyss);
  opacity: 0.75;
  font-size: 1.0625rem;
}

.frameworks-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.frameworks-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--abyss);
  background: transparent;
  border: 1px solid var(--border-grey);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.frameworks-filter__btn:hover {
  border-color: var(--trust-teal);
  color: var(--trust-teal);
}

.frameworks-filter__btn--active {
  background: var(--abyss);
  color: var(--white);
  border-color: var(--abyss);
}

.frameworks-filter__btn--active:hover {
  color: var(--white);
  border-color: var(--abyss);
}

.frameworks-filter__count {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 201, 167, 0.12);
  color: var(--trust-teal);
  border-radius: 999px;
}

.frameworks-filter__btn--active .frameworks-filter__count {
  background: rgba(0, 201, 167, 0.2);
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.framework-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--abyss);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.framework-card:hover {
  border-color: var(--trust-teal);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.08);
  transform: translateY(-2px);
}

.framework-card[aria-expanded="true"] {
  border-color: var(--trust-teal);
  box-shadow: 0 8px 24px rgba(0, 201, 167, 0.18);
}

.framework-card[hidden] {
  display: none;
}

.framework-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.framework-card__region {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--abyss);
  opacity: 0.55;
}

.framework-card__status {
  display: inline-block;
  padding: 0.1875rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(13, 27, 42, 0.06);
  color: var(--abyss);
  border-radius: 999px;
  white-space: nowrap;
}

.framework-card__status--live {
  background: rgba(0, 201, 167, 0.14);
  color: var(--trust-teal);
}

.framework-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--abyss);
}

.framework-card__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--abyss);
  opacity: 0.78;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.framework-card__controls {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(13, 27, 42, 0.04);
  border-radius: 8px;
}

.framework-card__controls-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--trust-teal);
  margin-bottom: 0.625rem;
}

.framework-card__controls ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem 1rem;
  list-style: none;
}

.framework-card__controls li {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--abyss);
  opacity: 0.8;
  position: relative;
  padding-left: 0.875rem;
}

.framework-card__controls li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 4px;
  height: 4px;
  background: var(--trust-teal);
  border-radius: 50%;
  opacity: 0.6;
}

.framework-card__toggle {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--trust-teal);
  margin-top: auto;
  align-self: flex-start;
}

.framework-card__toggle::after {
  content: ' \25BE';
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 0.25s ease;
}

.framework-card[aria-expanded="true"] .framework-card__toggle::after {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .frameworks-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .frameworks-grid { grid-template-columns: repeat(2, 1fr); }
  .framework-card__controls ul { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .frameworks-grid { grid-template-columns: 1fr; }
  .frameworks-filter { gap: 0.375rem; }
  .frameworks-filter__btn { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
}
