.delete-account-hero .legal-hero-inner {
  max-width: 780px;
}

.delete-account-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.65;
}

.delete-account-section {
  padding-block: clamp(48px, 8vw, 88px);
  background: var(--surface);
}

.delete-account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.delete-account-main,
.delete-account-aside {
  display: grid;
  gap: 20px;
}

.delete-account-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 12px 40px rgba(43, 38, 33, 0.045);
}

.delete-account-card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.2;
}

.delete-account-card p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.delete-account-card p:last-child {
  margin-bottom: 0;
}

.delete-account-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.delete-account-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.delete-account-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

.delete-account-warning {
  display: grid;
  gap: 4px;
  margin: 22px 0 14px;
  padding: 15px 17px;
  border: 1px solid rgba(196, 135, 107, 0.45);
  border-radius: var(--r-md);
  background: var(--salmon-l);
  color: var(--text);
  line-height: 1.55;
}

.delete-account-small,
.field-hint {
  font-size: 13px !important;
}

.delete-account-form-card label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

#delete-account-email {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

#delete-account-email:focus-visible,
.delete-account-submit:focus-visible,
.store-links a:focus-visible,
.delete-account-support:focus-visible {
  outline: 3px solid var(--focus-ring-soft);
  outline-offset: 3px;
}

#delete-account-email:focus {
  border-color: var(--green);
}

.field-hint {
  margin-top: 7px !important;
}

.turnstile-wrap {
  min-height: 72px;
  margin: 17px 0 14px;
}

.delete-account-submit {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  transition: background var(--t-fast), transform var(--t-fast);
}

.delete-account-submit:hover {
  background: var(--green-d);
  transform: translateY(-1px);
}

.delete-account-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.delete-account-status {
  min-height: 24px;
  margin-top: 13px !important;
  font-size: 14px !important;
  font-weight: 600;
}

.delete-account-status.is-success {
  color: var(--green-d);
}

.delete-account-status.is-error {
  color: #8c3f32;
}

.account-delete-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.store-links {
  display: grid;
  gap: 9px;
}

.store-links a,
.delete-account-support {
  color: var(--green-d);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 840px) {
  .delete-account-layout {
    grid-template-columns: 1fr;
  }

  .delete-account-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delete-account-aside .delete-account-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .delete-account-section {
    padding-block: 34px 56px;
  }

  .delete-account-layout,
  .delete-account-main,
  .delete-account-aside {
    gap: 14px;
  }

  .delete-account-aside {
    grid-template-columns: 1fr;
  }

  .delete-account-aside .delete-account-card:last-child {
    grid-column: auto;
  }

  .delete-account-card {
    padding: 20px;
    border-radius: var(--r-md);
  }

  .cf-turnstile {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .delete-account-submit {
    transition: none;
  }
}
