:root {
  --paper: #f7fafb;
  --surface: rgba(255, 255, 255, 0.88);
  --ink: #111820;
  --muted: #5f6f79;
  --line: rgba(20, 42, 50, 0.13);
  --cyan: #dff4f7;
  --cyan-strong: #a8dde3;
  --orange: #ff4f0a;
  --orange-dark: #d83a00;
  --success: #087f68;
  --danger: #b42318;
  --max-width: 920px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body {
  min-height: 100svh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(223, 244, 247, 0.72), rgba(247, 250, 251, 0) 340px),
    var(--paper);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 250, 251, 0.9);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 74px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 850;
}

.brand-name {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.25em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

main {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.page-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.96;
}

.page-heading p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  line-height: 1.55;
}

.updated {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.84rem;
}

.document {
  max-width: 760px;
}

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

.document h2 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.2;
}

.document p,
.document li {
  color: #374750;
  line-height: 1.7;
}

.document li + li {
  margin-top: 8px;
}

.document a {
  color: var(--orange-dark);
  font-weight: 700;
}

.credits-document strong {
  color: var(--ink);
}

.credit-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.credit-type {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.license-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--cyan-strong);
  border-radius: 999px;
  background: var(--cyan);
  color: #24535c;
  font-size: 0.72rem;
  font-weight: 800;
}

.credit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 20px;
}

.notice-link::after {
  content: "  \2192";
}

.action-panel {
  max-width: 720px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--cyan-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 22px 65px rgba(30, 86, 97, 0.08);
}

.action-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.action-panel > p {
  color: var(--muted);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--orange-dark);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button--danger {
  background: var(--danger);
}

.button--danger:hover,
.button--danger:focus-visible {
  background: #8f1710;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.support-direct {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.support-direct p {
  margin: 0 0 18px;
}

.field--honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

[hidden] {
  display: none !important;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 79, 10, 0.12);
}

.status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.status[data-state="error"] {
  color: var(--danger);
}

.status[data-state="success"] {
  color: var(--success);
}

.deletion-details {
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deletion-details li {
  color: #374750;
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

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

.site-footer__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 90px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

@media (max-width: 700px) {
  .site-header__inner {
    min-height: 68px;
  }

  .brand-name {
    display: none;
  }

  .site-nav {
    gap: 11px;
    font-size: 0.74rem;
  }

  main {
    padding-top: 48px;
  }

  .page-heading {
    margin-bottom: 42px;
  }

  .site-footer__inner {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .credit-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

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