/* Shahid Anwar profile page – extends legal-pages theme only */

body.sa-profile-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sa-main {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 20px clamp(48px, 8vw, 72px);
}

.sa-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(18px, 3vw, 24px);
  font-size: 13px;
  color: var(--legal-muted);
}

.sa-breadcrumb a {
  color: var(--legal-link);
  text-decoration: none;
}

.sa-breadcrumb a:hover {
  color: var(--legal-accent-hover);
  text-decoration: underline;
}

.sa-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.sa-breadcrumb [aria-current="page"] {
  color: #e8eaed;
}

.sa-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--legal-accent-soft);
  border: 1px solid var(--legal-accent-border);
  color: var(--legal-accent);
  font-size: 16px;
  line-height: 1;
}

.sa-ico i {
  width: 1em;
  text-align: center;
}

.sa-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 32px);
  align-items: center;
  margin-bottom: clamp(20px, 4vw, 28px);
  padding: clamp(22px, 4vw, 36px);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(142, 180, 255, 0.14), transparent 55%),
    var(--legal-bg-card);
  border: 1px solid var(--legal-border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

@media (min-width: 720px) {
  .sa-hero {
    grid-template-columns: 168px 1fr;
  }
}

.sa-hero__photo {
  justify-self: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--legal-accent-border);
  box-shadow: 0 0 0 6px rgba(142, 180, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.35);
  background: #1a2438;
}

@media (min-width: 720px) {
  .sa-hero__photo {
    width: 168px;
    height: 168px;
    justify-self: start;
  }
}

.sa-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sa-hero__content {
  text-align: center;
  min-width: 0;
}

@media (min-width: 720px) {
  .sa-hero__content {
    text-align: left;
  }
}

.sa-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sa-kicker i {
  font-size: 13px;
}

.sa-hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.12;
}

.sa-hero__role {
  display: block;
  font-size: clamp(15px, 2.8vw, 17px);
  font-weight: 600;
  color: var(--legal-accent);
  margin-bottom: 12px;
}

.sa-hero__intro {
  color: var(--legal-muted);
  font-size: clamp(14px, 2.6vw, 16px);
  line-height: 1.65;
  max-width: 38rem;
  margin: 0 auto 20px;
}

.sa-hero__intro a {
  color: var(--legal-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 720px) {
  .sa-hero__intro {
    margin-left: 0;
    margin-right: 0;
  }
}

.sa-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 720px) {
  .sa-hero__actions {
    justify-content: flex-start;
  }
}

.sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.2s, transform 0.15s, border-color 0.2s, color 0.2s;
  box-sizing: border-box;
}

.sa-btn i {
  font-size: 14px;
  line-height: 1;
}

.sa-btn:hover {
  transform: translateY(-1px);
}

.sa-btn:active {
  transform: translateY(0);
}

.sa-btn:focus-visible,
.sa-link-grid a:focus-visible,
.sa-resources a:focus-visible,
.sa-identity:focus-visible,
.faq-question:focus-visible,
.sa-breadcrumb a:focus-visible {
  outline: 2px solid var(--legal-accent);
  outline-offset: 3px;
}

.sa-btn--primary {
  background: #3a63f3;
  color: #fff;
  border: none;
}

.sa-btn--primary:hover {
  background: #0d39d4;
}

.sa-btn--secondary {
  background: transparent;
  color: #e8eaed;
  border: 1px solid var(--legal-accent-border);
}

.sa-btn--secondary:hover {
  background: var(--legal-accent-soft);
  color: #fff;
  border-color: var(--legal-accent);
}

.sa-section {
  scroll-margin-top: calc(var(--header-h) + 20px);
  margin-bottom: 16px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--legal-bg-card);
  border: 1px solid var(--legal-border);
  border-radius: 16px;
}

.sa-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}

.sa-section__head .sa-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 15px;
}

.sa-section h2 {
  font-size: clamp(1.12rem, 3vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
  min-width: 0;
}

.sa-section p {
  color: #c8cdd6;
  font-size: clamp(14px, 2.6vw, 16px);
  line-height: 1.65;
  margin-bottom: 12px;
}

.sa-section p:last-child {
  margin-bottom: 0;
}

.sa-section p a {
  color: var(--legal-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sa-section p a:hover {
  color: var(--legal-accent-hover);
}

.sa-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(142, 180, 255, 0.08);
  border: 1px solid var(--legal-accent-border);
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: background 0.2s, border-color 0.2s;
}

.sa-identity:hover {
  background: rgba(142, 180, 255, 0.14);
}

.sa-identity__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.sa-identity__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--legal-accent);
}

.sa-identity__domain {
  font-size: 15px;
  font-weight: 500;
  word-break: break-word;
}

.sa-identity__domain a,
.sa-identity__domain a:link,
.sa-identity__domain a:visited,
.sa-section p a,
.sa-section p a:link,
.sa-section p a:visited {
  color: var(--legal-link);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--legal-link);
  text-underline-offset: 2px;
}

.sa-identity__domain a:hover,
.sa-identity__domain a:active,
.sa-section p a:hover,
.sa-section p a:active {
  color: var(--legal-accent-hover);
  text-decoration-color: var(--legal-accent-hover);
}

.sa-link-grid {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

@media (min-width: 640px) {
  .sa-link-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sa-link-grid li {
  display: flex;
  min-width: 0;
}

.sa-link-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--legal-border);
  color: #e8eaed;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.sa-link-grid a:hover {
  background: var(--legal-accent-soft);
  border-color: var(--legal-accent-border);
  color: #fff;
  transform: translateY(-1px);
}

.sa-link-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.sa-link-meta {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--legal-muted);
  line-height: 1.4;
}

.sa-link-arrow {
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.sa-link-grid a:hover .sa-link-arrow,
.sa-identity:hover .sa-link-arrow {
  color: var(--legal-accent);
  transform: translateX(3px);
}

.sa-section__cta {
  margin-top: 18px;
}

.sa-platforms {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
  padding: 0;
}

.sa-platforms li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--legal-border);
  color: #e8eaed;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.sa-platforms i {
  color: var(--legal-accent);
  font-size: 14px;
  width: 1em;
  text-align: center;
}

.sa-resources {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 720px) {
  .sa-resources {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sa-resources a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--legal-border);
  color: #e8eaed;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.sa-resources a:hover {
  background: var(--legal-accent-soft);
  border-color: var(--legal-accent-border);
  color: #fff;
  transform: translateY(-1px);
}

.sa-resources .sa-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 14px;
}

.sa-resources a span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sa-faq-block {
  scroll-margin-top: calc(var(--header-h) + 20px);
  margin-bottom: 16px;
}

.sa-faq-block h2 {
  font-size: clamp(1.12rem, 3vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

@media (max-width: 480px) {
  .sa-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sa-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sa-btn {
    width: 100%;
  }

  .sa-section__cta .sa-btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .sa-resources {
    grid-template-columns: 1fr;
  }

  .sa-platforms li {
    width: 100%;
    justify-content: flex-start;
  }
}
