:root {
  color-scheme: light;
  --ink: #21170d;
  --muted: #75685a;
  --orange: #ff8a00;
  --orange-dark: #c45a00;
  --line: #e5e7eb;
  --surface: #f8fafc;
  --paper: #ffffff;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--orange-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #8e4300;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffb653;
  outline-offset: 3px;
}

.site-header {
  display: flex;
  width: min(100% - 40px, 1120px);
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid rgb(240 211 178 / 65%);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 148px;
  height: 60px;
  object-fit: contain;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--orange-dark);
}

.page {
  width: min(100% - 40px, 820px);
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: clamp(36px, 7vw, 76px) 0 64px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.intro {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.document {
  margin-top: 30px;
}

.document-section {
  padding: 25px 0 22px;
  border-top: 1px solid var(--line);
}

.document-section h2,
.deletion-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 3vw, 1.42rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.document-section p,
.deletion-copy p {
  margin-bottom: 14px;
  color: #514638;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.document-section p:last-child,
.deletion-copy p:last-child {
  margin-bottom: 0;
}

.updated {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.83rem;
}

.notice {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: #514638;
}

.notice[hidden] {
  display: none;
}

.retry-button,
.primary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.retry-button[hidden] {
  display: none;
}

.retry-button:hover,
.primary-link:hover {
  background: #ff9c26;
  color: var(--ink);
}

.retry-button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.deletion-copy {
  margin: 28px 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.deletion-form {
  display: grid;
  gap: 16px;
  margin: 22px 0 30px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfc8bf;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid #ffb653;
  outline-offset: 2px;
}

.form-help,
.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-error {
  margin: 0;
  color: #9f2922;
  font-weight: 650;
}

.form-success {
  padding: 16px;
  border: 1px solid #a9cdb1;
  border-radius: 8px;
  background: #f4faf5;
  color: #194d26;
}

.form-success[hidden],
.form-error[hidden] {
  display: none;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.contact-card h3 {
  margin-bottom: 3px;
  font-size: 1rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.contact-card .primary-link {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.site-footer {
  padding: 24px 20px 34px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  width: min(100%, 1120px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.sitemap {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: 36px 0 70px;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.sitemap-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  text-decoration: none;
}

.sitemap-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.sitemap-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 32px, 1120px);
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 10px 0 12px;
  }

  .brand img {
    width: 118px;
    height: 42px;
  }

  .site-nav {
    gap: 5px 16px;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .page {
    width: min(100% - 32px, 820px);
    padding-top: 38px;
  }

  .intro {
    font-size: 0.98rem;
  }

  .document-section {
    padding: 21px 0 19px;
  }

  .deletion-copy {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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