:root {
  --burgundy: #97002e;
  --burgundy-dark: #67001f;
  --ink: #1f2937;
  --muted: #667085;
  --paper: #fffaf7;
  --line: rgba(151, 0, 46, 0.16);
  --card: rgba(255, 255, 255, 0.9);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(151, 0, 46, 0.16), transparent 34rem),
    linear-gradient(145deg, #fff, var(--paper));
}

a {
  color: var(--burgundy);
  font-weight: 700;
}

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--burgundy);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong {
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 22px 60px rgba(103, 0, 31, 0.12);
}

.hero h1 {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.95;
}

.hero p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-logo {
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--burgundy), var(--burgundy-dark));
}

.hero-logo img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.card {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}

.card h2,
.policy h1,
.policy h2 {
  color: var(--burgundy);
}

.card p,
.policy p,
.policy li {
  color: var(--muted);
  line-height: 1.7;
}

.policy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(103, 0, 31, 0.08);
}

.policy h1 {
  margin-top: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.policy h2 {
  margin-top: 34px;
}

.request-box {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(151, 0, 46, 0.05);
}

.request-box h2 {
  margin-top: 0;
}

.delete-form {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: 22px;
  border: 1px solid rgba(151, 0, 46, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(103, 0, 31, 0.08);
}

.form-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.form-field label {
  display: block;
  color: var(--burgundy);
  font-weight: 700;
}

.form-field label span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.field-help {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.delete-form input,
.delete-form textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(151, 0, 46, 0.2);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.delete-form input:focus,
.delete-form textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(151, 0, 46, 0.12);
}

.delete-form input::placeholder,
.delete-form textarea::placeholder {
  color: #98a2b3;
}

.delete-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.primary-action {
  min-width: 220px;
  border: 0;
  border-radius: 16px;
  padding: 15px 24px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  box-shadow: 0 12px 24px rgba(151, 0, 46, 0.22);
  cursor: pointer;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.primary-action:hover:not(:disabled) {
  box-shadow: 0 16px 30px rgba(151, 0, 46, 0.28);
  transform: translateY(-1px);
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  margin: 0;
  font-weight: 700;
}

.form-message.success {
  color: #067647;
}

.form-message.error {
  color: #b42318;
}

.footer {
  margin-top: 34px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 700px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .hero-logo {
    width: 130px;
    height: 130px;
  }

  .hero-logo img {
    width: 82px;
    height: 82px;
  }

  .policy {
    padding: 24px;
  }

  .delete-form {
    padding: 18px;
  }

  .form-actions {
    justify-content: stretch;
  }

  .primary-action {
    width: 100%;
    min-width: 0;
  }
}
