:root {
  --paper: #fbfaf7;
  --panel: #fffefa;
  --ink: #111110;
  --muted: #746f67;
  --line: #d8d1c6;
  --soft-line: #e5ded5;
  --accent: #bd5537;
  --danger: #a9412e;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Pretendard", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 32px;
}

.wordmark {
  font-family: "Bodoni 72", Didot, "Bodoni MT", "Times New Roman", serif;
  font-size: 37px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  font-size: 12px;
}

.header-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(17, 17, 16, 0.55);
}

.delete-page {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.delete-hero {
  width: min(785px, 100%);
  margin: 0 auto 55px;
}

.delete-hero h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", "Times New Roman", serif;
  font-size: clamp(46px, 5.8vw, 78px);
  line-height: 1.05;
  font-weight: 400;
}

.delete-hero span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.delete-layout {
  width: min(785px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

.delete-form {
  width: 100%;
}

.delete-notice-panel {
  margin-top: 30px;
  padding: 29px 0 30px;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.delete-notice-panel h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.delete-notice-panel ul {
  display: grid;
  gap: 9px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.delete-notice-panel li {
  position: relative;
  padding-left: 13px;
}

.delete-notice-panel li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

.delete-agreement {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-top: 24px;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.delete-agreement input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--accent);
}

.form-intro {
  padding-bottom: 27px;
  border-bottom: 1px solid var(--soft-line);
}

.form-intro h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.form-intro p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.delete-reason-field {
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--soft-line);
}

.delete-reason-field label {
  display: block;
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.field input {
  accent-color: var(--accent);
}

.delete-reason-field textarea {
  display: block;
  width: 100%;
  min-height: 176px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 254, 250, 0.72);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
  outline: none;
  resize: vertical;
}

.delete-reason-field textarea::placeholder {
  color: #aaa49a;
}

.delete-reason-field textarea:focus {
  border-color: var(--accent);
  background: var(--panel);
}

.field {
  padding-top: 28px;
}

.field label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 50px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.field input::placeholder {
  color: #aaa49a;
}

.field input:focus {
  border-bottom-color: var(--accent);
}

.field.is-invalid input {
  border-bottom-color: var(--danger);
  color: var(--danger);
}

.field p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.field p.error {
  color: var(--danger);
}

.delete-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 46px;
}

.delete-actions a,
.delete-actions button {
  display: grid;
  place-items: center;
  min-width: 112px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.delete-actions button {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
}

.delete-actions button:disabled {
  border-color: var(--soft-line);
  background: #ebe7e0;
  color: #aaa299;
  cursor: not-allowed;
}

.delete-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 16, 0.28);
  backdrop-filter: blur(5px);
}

.delete-modal {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 34px 32px 30px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(46, 38, 31, 0.16);
}

.delete-modal p {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.35;
}

.delete-modal span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.delete-modal a {
  display: grid;
  place-items: center;
  width: 126px;
  height: 42px;
  margin: 26px auto 0;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .wordmark {
    font-size: 30px;
  }

  .header-links {
    gap: 14px;
    font-size: 11px;
  }

  .delete-page {
    width: min(100% - 36px, 620px);
    padding: 48px 0 70px;
  }

  .delete-hero {
    margin-left: 0;
  }

  .delete-layout {
    margin-left: 0;
  }

  .delete-actions {
    flex-direction: column-reverse;
  }

  .delete-actions a,
  .delete-actions button {
    width: 100%;
  }
}
