.study-shell {
  --study-font: "DM Sans", system-ui, sans-serif;
  --study-display: "Libre Baskerville", Georgia, serif;
  --study-bg: #ffffff;
  --study-surface: #ffffff;
  --study-text: #0a0a0a;
  --study-muted: #5c5c5c;
  --study-border: #d4d4d4;
  --study-ink: #111111;
  --study-on-ink: #ffffff;

  background: #ffffff;
  color: var(--study-text);
  font-family: var(--study-font);
}

[data-theme="dark"] .study-shell {
  --study-bg: #000000;
  --study-surface: #000000;
  --study-text: #f5f5f5;
  --study-muted: #a3a3a3;
  --study-border: #2a2a2a;
  --study-ink: #f5f5f5;
  --study-on-ink: #000000;

  background: #000000;
}

.study-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--study-border);
  background: #ffffff;
}

[data-theme="dark"] .study-topbar {
  background: #000000;
}

.study-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  min-height: 3rem;
}

.study-topbar .app-logo-full {
  max-width: min(150px, 42vw);
}

.study-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
  min-width: 0;
  max-width: min(100%, 22rem);
}

.study-topbar #theme-toggle {
  color: var(--study-ink);
  border-color: var(--study-border);
  border-radius: 0;
  background: transparent;
}

.study-topbar #theme-toggle:hover,
.study-topbar #theme-toggle:focus-visible {
  border-color: var(--study-ink);
  color: var(--study-ink);
  background: transparent;
}

.study-nav-btn {
  font-family: var(--study-font);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 0 !important;
  padding: 0.4rem 0.8rem;
  line-height: 1.2;
}

.study-nav-btn-ghost {
  color: var(--study-ink);
  background: transparent;
  border: 1.5px solid var(--study-border);
}

.study-nav-btn-ghost:hover,
.study-nav-btn-ghost:focus-visible {
  border-color: var(--study-ink);
  color: var(--study-ink);
  background: transparent;
}

.study-nav-btn-solid {
  color: var(--study-on-ink);
  background: var(--study-ink);
  border: 1.5px solid var(--study-ink);
}

.study-nav-btn-solid:hover,
.study-nav-btn-solid:focus-visible {
  color: var(--study-on-ink);
  background: var(--study-text);
  border-color: var(--study-text);
}

.study-main {
  padding: 0 0 3rem;
}

.discover-attr-page {
  max-width: 760px;
}

.study-hero {
  padding: clamp(2.25rem, 7vw, 4.5rem) 0 2rem;
  animation: platform-fade-up 0.65s ease both;
}

.study-hero .platform-brand {
  font-family: "Montserrat", var(--study-font);
  font-size: clamp(2rem, 4.8vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: none;
  white-space: nowrap;
  margin-bottom: 0.75rem;
}

.study-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--study-muted);
  line-height: 1.5;
  margin: 0 0 2rem;
  max-width: 36rem;
}

.study-hero-title {
  font-family: "Montserrat", var(--study-font);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.7vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: var(--study-text);
  max-width: none;
  white-space: nowrap;
}

.study-prose {
  color: var(--study-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.study-prose p {
  margin: 0 0 1rem;
}

.study-prose p:last-child {
  margin-bottom: 0;
}

.study-prose a,
.study-faq-contact a,
.study-faq-answer a {
  color: var(--study-text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.study-prose a:hover,
.study-faq-contact a:hover,
.study-faq-answer a:hover {
  color: var(--study-muted);
}

.study-cta-row {
  margin: 1.75rem 0 1.25rem;
}

.study-qualify-btn {
  display: inline-flex;
  align-items: center;
}

.study-how {
  margin-top: 0.5rem;
  border-top: 1px solid var(--study-border);
  padding-top: 0.75rem;
}

.study-how-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  padding: 0.85rem 0;
  color: var(--study-text);
  font-family: var(--study-font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.study-how-toggle:hover .study-how-toggle-label,
.study-how-toggle:focus-visible .study-how-toggle-label {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.study-how-toggle-icon {
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-right: 0.2rem;
}

.study-how-toggle[aria-expanded="true"] .study-how-toggle-icon {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.study-how-panel {
  overflow: hidden;
  padding-bottom: 0.5rem;
  animation: study-expand 0.35s ease both;
}

.study-steps {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0;
  display: grid;
  gap: 1.25rem;
}

.study-step {
  border: 1px solid var(--study-border);
  background: var(--study-surface);
  padding: 1.15rem 1.25rem;
}

.study-step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--study-muted);
  margin-bottom: 0.35rem;
}

.study-step-title {
  font-family: "Montserrat", var(--study-font);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
  color: var(--study-text);
}

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

.study-step-note {
  margin-top: 0.6rem !important;
}

.study-step-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--study-muted);
  line-height: 1.55;
}

.study-step-list li + li {
  margin-top: 0.4rem;
}

.study-section {
  padding: 2.25rem 0 0;
  animation: platform-fade-up 0.65s ease both;
}

.study-section-title {
  font-family: "Montserrat", var(--study-font);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--study-text);
}

.study-prose-lead {
  color: var(--study-muted);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.study-bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--study-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.study-bullet-list li + li {
  margin-top: 0.25rem;
}

.study-faq {
  padding-top: 2.75rem;
}

.study-faq-contact {
  color: var(--study-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.study-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.study-faq-item {
  border: 1px solid var(--study-border);
  background: var(--study-surface);
}

.study-faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  font-weight: 600;
  color: var(--study-text);
  line-height: 1.4;
}

.study-faq-question::-webkit-details-marker {
  display: none;
}

.study-faq-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.study-faq-item[open] .study-faq-chevron {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.study-faq-answer {
  padding: 0 1.1rem 1.1rem;
  color: var(--study-muted);
  line-height: 1.65;
  animation: study-expand 0.3s ease both;
}

.study-faq-answer p {
  margin: 0 0 0.85rem;
}

.study-faq-answer p:last-child {
  margin-bottom: 0;
}

.study-faq-answer ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.study-faq-answer li + li {
  margin-top: 0.3rem;
}

.study-involved {
  margin-top: 2.5rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--study-border);
  background: var(--study-surface);
}

.study-footer {
  color: var(--study-muted);
  font-size: 0.9rem;
  text-align: center;
}

.study-footer p {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes study-expand {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .study-hero .platform-brand,
  .study-hero-title {
    white-space: normal;
  }

  .study-topbar-inner {
    align-items: flex-start;
    gap: 0.65rem;
  }

  .study-topbar-actions {
    max-width: 62%;
    gap: 0.35rem;
  }

  .study-topbar-actions .study-nav-btn {
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
  }

  .study-qualify-btn {
    width: 100%;
    justify-content: center;
  }
}
