:root {
  --pq-bg:        #0a0a1f;
  --pq-bg-soft:   #0e1138;
  --pq-bg-deep:   #060820;
  --pq-veil:      #1a1336;
  --pq-fg:        #f4ecd6;
  --pq-fg-soft:   rgba(244, 236, 214, 0.78);
  --pq-fg-mute:   rgba(244, 236, 214, 0.5);
  --pq-fg-faint:  rgba(244, 236, 214, 0.28);
  --pq-accent:    #f5d99a;
  --pq-accent-d:  #d4ad6b;
  --pq-rule:      rgba(244, 236, 214, 0.10);
  --pq-rule-soft: rgba(244, 236, 214, 0.06);
  --pq-serif: 'Newsreader', 'Lora', Georgia, serif;
  --pq-sans:  'Inter', -apple-system, system-ui, sans-serif;
  --pq-pad-x:  clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--pq-sans);
  color: var(--pq-fg);
  background: var(--pq-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.kicker {
  font-family: var(--pq-sans);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--pq-accent);
  opacity: 0.7;
}
.display {
  font-family: var(--pq-serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--pq-fg);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--pq-accent);
}
.lede {
  font-family: var(--pq-serif);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--pq-fg-soft);
  text-wrap: pretty;
}

/* ─── Top nav ──────────────────────────────────────────── */
nav.top {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pq-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 31, 0.6);
  border-bottom: 1px solid var(--pq-rule-soft);
}
nav.top .mark {
  font-family: var(--pq-serif);
  font-size: 22px;
  color: var(--pq-fg);
  display: flex;
  align-items: center;
  gap: 10px;
}
nav.top .mark em {
  font-style: italic;
  color: var(--pq-accent);
  font-weight: 400;
}
nav.top .mark-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff4d9, #f5d99a 60%, #d4ad6b);
  box-shadow: 0 0 14px rgba(245, 217, 154, 0.5);
}
nav.top .links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--pq-fg-soft);
}
nav.top .links a { transition: color 200ms ease; }
nav.top .links a:hover { color: var(--pq-fg); }
nav.top .links a.active { color: var(--pq-fg); }
nav.top .cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(244, 236, 214, 0.06);
  border: 1px solid rgba(244, 236, 214, 0.12);
  color: var(--pq-fg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: all 300ms cubic-bezier(.4, 0, .2, 1);
}
nav.top .cta:hover {
  background: rgba(244, 236, 214, 0.10);
  border-color: rgba(244, 236, 214, 0.22);
}
@media (max-width: 720px) {
  nav.top .links { display: none; }
}

/* ─── Support hero ─────────────────────────────────────── */
section.support {
  position: relative;
  min-height: 100vh;
  padding: 160px var(--pq-pad-x) 100px;
  overflow: hidden;
  isolation: isolate;
}
.support-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, #2a1f55 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 90%, #1a1340 0%, transparent 50%),
    var(--pq-bg);
}
.support-bg svg.stars {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.support-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}
.support-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 8px;
}
.support-copy .display {
  font-size: clamp(40px, 5vw, 64px);
}

/* helper card — where to find user id */
.help-card {
  margin-top: 14px;
  border: 1px solid var(--pq-rule);
  border-radius: 20px;
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.018);
}
.help-card h4 {
  margin: 0 0 14px;
  font-family: var(--pq-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: var(--pq-fg);
  letter-spacing: -0.01em;
}
.help-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: helpstep;
}
.help-card li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pq-fg-soft);
  counter-increment: helpstep;
}
.help-card li::before {
  content: counter(helpstep);
  font-family: var(--pq-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--pq-accent);
  min-width: 18px;
  line-height: 1;
}
.help-card .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.help-card .crumb span {
  color: var(--pq-fg);
  font-weight: 500;
}
.help-card .crumb .sep {
  color: var(--pq-fg-faint);
  font-weight: 400;
}

/* ─── Form card ────────────────────────────────────────── */
.form-card {
  border: 1px solid var(--pq-rule);
  border-radius: 24px;
  padding: 40px 40px 36px;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(245, 217, 154, 0.05), transparent 70%),
    rgba(255, 255, 255, 0.022);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  position: relative;
}
.form-card .corner {
  position: absolute;
  top: -1px; right: -1px;
  width: 70px; height: 70px;
  border-top: 1px solid var(--pq-accent);
  border-right: 1px solid var(--pq-accent);
  border-top-right-radius: 24px;
  opacity: 0.35;
  pointer-events: none;
}
.form-card .corner.bl {
  top: auto; right: auto;
  bottom: -1px; left: -1px;
  border-top: none; border-right: none;
  border-bottom: 1px solid var(--pq-accent);
  border-left: 1px solid var(--pq-accent);
  border-top-right-radius: 0;
  border-bottom-left-radius: 24px;
}
.form-card .form-title {
  font-family: var(--pq-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--pq-fg);
}
.form-card .form-sub {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pq-fg-mute);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.field label {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--pq-fg-mute);
}
.field input,
.field textarea {
  font-family: var(--pq-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--pq-fg);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--pq-rule);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 220ms ease, background 220ms ease;
  resize: none;
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--pq-fg-faint);
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(245, 217, 154, 0.55);
  background: rgba(0, 0, 0, 0.35);
}
.field input.mono {
  font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.4px;
}
.field textarea {
  min-height: 160px;
}
.field .hint {
  font-size: 12px;
  color: var(--pq-fg-faint);
  line-height: 1.5;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, #f5d99a 0%, #d4ad6b 100%);
  color: #2a1f0a;
  font-family: var(--pq-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1px;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(245, 217, 154, 0.22),
              0 0 60px rgba(245, 217, 154, 0.08);
  transition: transform 400ms cubic-bezier(.4, 0, .2, 1),
              box-shadow 400ms cubic-bezier(.4, 0, .2, 1),
              opacity 200ms ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(245, 217, 154, 0.30),
              0 0 80px rgba(245, 217, 154, 0.14);
}
.btn-primary:active { transform: scale(0.985); }
.btn-primary[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.submit-row .meta {
  font-size: 12px;
  color: var(--pq-fg-mute);
  max-width: 280px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .support-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 26px 30px; }
}

/* ─── Footer ───────────────────────────────────────────── */
footer {
  background: var(--pq-bg);
  padding: 48px var(--pq-pad-x) 32px;
  border-top: 1px solid var(--pq-rule-soft);
}
.foot-bottom {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--pq-fg-faint);
  gap: 12px;
  flex-wrap: wrap;
}
.foot-bottom .links { display: flex; gap: 22px; }
.foot-bottom .links a:hover { color: var(--pq-fg-soft); }

@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.support-bg .twinkle { animation: twinkle 4s ease-in-out infinite; }

::selection {
  background: rgba(245, 217, 154, 0.3);
  color: var(--pq-fg);
}
