:root {
  color-scheme: dark;
  --background: #000000;
  --section: #151615;
  --surface: #212121;
  --surface-raised: #2c2b2b;
  --primary: #ff004b;
  --primary-pressed: #d90040;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.72);
  --text-muted: #b7b7bd;
  --border: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.28);
  --shadow: rgba(255, 0, 75, 0.24);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 0, 75, 0.14), transparent 32rem),
    linear-gradient(180deg, #151615 0%, #000000 46%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--text);
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--primary);
}

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

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

.brand {
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  background: var(--text);
  border-color: var(--text);
  color: #000000;
}

.hero {
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--text);
  background: rgba(255, 0, 75, 0.18);
  border: 1px solid rgba(255, 0, 75, 0.4);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 8vw, 74px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text-dim);
  font-size: 18px;
}

.panel {
  background: rgba(33, 33, 33, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 18px 0;
}

.panel strong,
main strong {
  color: var(--text);
}

.panel-title {
  margin-top: 0;
}

h2 {
  margin: 42px 0 12px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 24px 0 8px;
  font-size: 20px;
}

p,
li {
  color: var(--text-dim);
}

ul {
  padding-left: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.card h3 {
  margin-top: 0;
}

.muted {
  color: var(--text-muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: #101010;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 0, 75, 0.18);
}

.hidden-field {
  display: none;
}

.button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: var(--primary);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  padding: 16px 18px;
  box-shadow: 0 12px 34px var(--shadow);
}

.button:hover {
  background: var(--primary-pressed);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.notice {
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text-dim);
}

.notice.success {
  border-color: rgba(48, 209, 88, 0.5);
}

.notice.error {
  border-color: rgba(255, 69, 58, 0.6);
}

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 24px, 920px);
    padding-top: 20px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 44px;
  }

  .nav {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
  }
}
