:root {
  --dmca-primary: #c0265a;
  --dmca-primary-dark: #8f1642;
  --dmca-focus: #2563eb;
  --dmca-success: #176b45;
  --dmca-success-bg: #ecfdf3;
  --dmca-error: #9f1d2f;
  --dmca-error-bg: #fff1f2;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.dmca-main {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 36px 0 48px;
}

.dmca-hero,
.dmca-scope,
.dmca-form-section,
.dmca-privacy-note {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.dmca-hero {
  padding: clamp(28px, 5vw, 46px);
  border-top: 5px solid var(--dmca-primary);
}

.dmca-eyebrow,
.dmca-step,
.dmca-success-kicker {
  margin: 0 0 6px;
  color: var(--dmca-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dmca-hero h1 {
  margin: 0 0 16px;
  color: #1f2937;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.12;
}

.dmca-hero p {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  font-size: 1.05rem;
}

.dmca-scope,
.dmca-privacy-note {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 32px);
}

.dmca-scope h2,
.dmca-privacy-note h2 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 1.35rem;
}

.dmca-scope p,
.dmca-privacy-note p {
  margin: 10px 0 0;
  color: #4b5563;
}

.dmca-form-section {
  margin-top: 22px;
  padding: clamp(20px, 4vw, 34px);
}

.dmca-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.dmca-form-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: 1.65rem;
}

.dmca-form-heading > p {
  flex: 0 0 auto;
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 0.82rem;
}

.dmca-form-heading > p span,
.dmca-field > label > span:not(.optional),
.dmca-checkbox span span {
  color: var(--dmca-error);
}

.dmca-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.dmca-form fieldset + fieldset {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.dmca-form legend {
  width: 100%;
  margin-bottom: 18px;
  color: #374151;
  font-size: 1.1rem;
  font-weight: 750;
}

.dmca-grid {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.dmca-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dmca-field {
  min-width: 0;
}

.dmca-field label {
  display: block;
  margin-bottom: 7px;
  color: #1f2937;
  font-size: 0.94rem;
  font-weight: 700;
}

.dmca-field .optional {
  display: inline;
  margin-left: 5px;
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 500;
}

.dmca-help {
  margin: -2px 0 8px;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.5;
}

.dmca-field input,
.dmca-field select,
.dmca-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #cfd4dc;
  border-radius: 9px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 16px;
}

.dmca-field input,
.dmca-field select {
  min-height: 46px;
  padding: 10px 12px;
}

.dmca-field textarea {
  min-height: 120px;
  padding: 11px 12px;
  line-height: 1.55;
  resize: vertical;
}

.dmca-field input:focus,
.dmca-field select:focus,
.dmca-field textarea:focus,
.dmca-checkbox input:focus-visible,
.dmca-submit:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 2px;
  border-color: var(--dmca-focus);
}

.dmca-field [aria-invalid="true"] {
  border-color: var(--dmca-error);
  background: #fffafa;
}

.dmca-declarations {
  display: grid;
  gap: 14px;
}

.dmca-checkbox {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 15px;
  border: 1px solid #e1e5eb;
  border-radius: 10px;
  background: #fafbfc;
  color: #374151;
  cursor: pointer;
}

.dmca-checkbox input {
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: var(--dmca-primary);
}

.dmca-checkbox span {
  min-width: 0;
  font-size: 0.91rem;
  line-height: 1.58;
}

.dmca-signature {
  max-width: 520px;
  margin-top: 20px;
}

.dmca-turnstile {
  min-height: 68px;
  margin-top: 24px;
  overflow: hidden;
}

.dmca-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.dmca-submit {
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dmca-primary-dark), var(--dmca-primary));
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(192, 38, 90, 0.22);
}

.dmca-submit:hover:not(:disabled) {
  background: var(--dmca-primary-dark);
}

.dmca-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.dmca-submit-status {
  min-height: 1.5em;
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
}

.dmca-alert,
.dmca-success {
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 11px;
}

.dmca-alert-error {
  display: grid;
  gap: 5px;
  border: 1px solid #fecdd3;
  background: var(--dmca-error-bg);
  color: var(--dmca-error);
}

.dmca-alert-error a {
  text-decoration: underline;
}

.dmca-success {
  border: 1px solid #a7e7c6;
  background: var(--dmca-success-bg);
  color: var(--dmca-success);
}

.dmca-success h2 {
  margin: 0 0 12px;
  color: #145c3c;
  font-size: 1.45rem;
}

.dmca-success p {
  margin: 7px 0;
}

.dmca-case-id {
  color: #0f5134;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: clamp(1rem, 4vw, 1.3rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.dmca-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.dmca-privacy-note {
  border-left: 4px solid #9ca3af;
  box-shadow: none;
}

@media (max-width: 700px) {
  .dmca-main {
    width: min(100% - 24px, 920px);
    padding-top: 22px;
  }

  .dmca-grid-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .dmca-form-heading,
  .dmca-submit-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .dmca-form-heading > p {
    margin: 0;
  }

  .dmca-submit {
    width: 100%;
  }

  .dmca-turnstile {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .dmca-main {
    width: min(100% - 18px, 920px);
  }

  .dmca-hero,
  .dmca-scope,
  .dmca-form-section,
  .dmca-privacy-note {
    border-radius: 12px;
  }

  .dmca-form-section {
    padding-right: 15px;
    padding-left: 15px;
  }

  .dmca-checkbox {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
