@font-face {
  font-family: 'Aeonik Pro';
  src: url('/Aeonik%20Pro%20Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik Pro';
  src: url('/Aeonik%20Pro%20Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #f3e8ff;
  font-family: 'Aeonik Pro', system-ui, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 80% 50% at 80% -10%, rgba(168, 85, 247, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(88, 28, 135, 0.2), transparent 50%),
    #030014;
}

a {
  color: #d8b4fe;
  text-underline-offset: 3px;
}

a:hover {
  color: #f0abfc;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 0, 20, 0.88);
  backdrop-filter: blur(16px);
}

.site-header img {
  height: 1.5rem;
  width: auto;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.9rem;
}

.site-header nav a {
  color: rgba(233, 213, 255, 0.8);
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current='page'] {
  color: #fff;
}

main {
  width: min(760px, calc(100% - 2rem));
  margin: 2rem auto 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(216, 180, 254, 0.85);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.lede,
.privacy {
  color: rgba(233, 213, 255, 0.8);
  font-size: 1.05rem;
}

details {
  margin: 1.4rem 0 1.8rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 1rem;
  background: rgba(168, 85, 247, 0.08);
}

summary {
  cursor: pointer;
  font-weight: 500;
  color: #e9d5ff;
}

details p {
  margin: 0.75rem 0 0;
  color: rgba(233, 213, 255, 0.82);
}

details p:first-of-type {
  margin-top: 0.9rem;
}

form,
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

fieldset {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.15rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
}

legend {
  padding: 0 0.45rem;
  color: #fff;
  font-weight: 500;
}

label {
  display: block;
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #f3e8ff;
}

input,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(192, 132, 252, 0.28);
  border-radius: 0.7rem;
  background: rgba(8, 4, 24, 0.85);
  color: #fff;
  font: inherit;
}

textarea {
  min-height: 6.5rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(192, 132, 252, 0.55);
  outline-offset: 1px;
}

#arithmetic {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  background: rgba(168, 85, 247, 0.12);
  color: rgba(245, 208, 254, 0.92);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.6rem;
}

button,
.file-restore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 0.7rem;
  background: #6c36a4;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

button:hover,
.file-restore:hover {
  background: #7c3aed;
}

.file-restore {
  position: relative;
  overflow: hidden;
}

.file-restore input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

#status {
  margin: 0.9rem 0 0;
  min-height: 1.4rem;
  color: rgba(216, 180, 254, 0.85);
  font-size: 0.92rem;
}

.site-footer {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(196, 181, 253, 0.7);
  font-size: 0.88rem;
}

.site-footer a {
  color: inherit;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    margin-top: 1.4rem;
  }

  button,
  .file-restore {
    width: 100%;
  }
}

@media print {
  .site-header,
  .actions,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
    color: #20182d;
  }

  h1,
  legend,
  label,
  details,
  summary,
  .lede,
  .privacy,
  #arithmetic,
  #status,
  .site-footer {
    color: #20182d;
  }

  a {
    color: inherit;
  }

  fieldset,
  details,
  input,
  textarea,
  #arithmetic {
    background: #fff;
    border-color: #ccc;
  }
}
