/* #Studio | JoSWork */
.sd-header {
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.sd-header .section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sd-neon);
  margin-bottom: 0.4rem;
}

.sd-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
}

.sd-header p {
  color: var(--sd-grey);
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  margin-top: 0.5rem;
  max-width: 36rem;
}

.sd-meta {
  font-size: 0.72rem;
  color: var(--sd-grey);
  margin-bottom: 0.5rem;
}

.card {
  background: var(--frame-bg);
  border: 1px solid var(--frame-border);
  border-radius: var(--frame-radius);
  box-shadow: var(--frame-ring), var(--frame-inset);
  padding: clamp(1rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
}

.card h2,
.card h3 {
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--sd-grey);
  line-height: 1.65;
  font-size: clamp(0.82rem, 2vw, 0.95rem);
}

.card ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.card li {
  position: relative;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.82rem, 2vw, 0.92rem);
  line-height: 1.55;
}

.card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 0.1rem;
  background: var(--sd-neon);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.22s ease;
  font-family: 'Inter', system-ui, sans-serif;
  text-decoration: none;
}

.btn-primary {
  background: var(--sd-neon);
  color: #071612;
  border-color: rgba(30, 230, 160, 0.45);
  box-shadow: 0 8px 20px -12px rgba(30, 230, 160, 0.55);
}

.btn-primary::before {
  display: none;
}

.btn-primary:hover {
  background: var(--sd-neon-hover);
  box-shadow: 0 10px 24px -10px rgba(30, 230, 160, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--sd-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  padding: 0.65rem 1.1rem;
}

.btn-outline::before { display: none; }

.btn-outline:hover {
  border-color: rgba(30, 230, 160, 0.35);
  color: var(--sd-neon);
  background: rgba(30, 230, 160, 0.06);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.result-box {
  padding: 0.85rem 1rem;
  border-radius: 0.55rem;
  font-size: 0.85rem;
  display: none;
}

.result-box.show { display: block; }

.result-box.success {
  background: rgba(30, 230, 160, 0.1);
  border: 1px solid var(--sd-neon-dim);
  color: var(--sd-neon);
}

.result-box.error {
  background: rgba(255, 50, 50, 0.1);
  border: 1px solid rgba(255, 50, 50, 0.3);
  color: #ff6b6b;
}

.sd-page-footer {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sd-page-footer .btn-row {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.sd-footer-note {
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.cp-page__content a:not(.btn) {
  color: var(--sd-neon);
}

.cp-page__content a:not(.btn):hover {
  color: var(--sd-neon-hover);
}
