/* ==========================================================================
   Core Music — support page
   Two panels side by side: the Suggestions + Feedback form (posts to Discord,
   see support.js) and the Contact Developer panel, left blank for now.
   Loads after shared.css.
   ========================================================================== */

/* Same travel distance as the apps page. */
@keyframes om-drift-a { from { transform: translateY(-70px); } to { transform: translateY(70px); } }

.glow--support {
  top: -240px;
  left: 50%;
  width: 940px;
  height: 800px;
  margin-left: -470px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 62%);
  filter: blur(20px);
  animation-name: om-drift-a;
  --drift-from: -70px;
  --drift-to: 70px;
}

.support-main {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px 130px;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.support-intro {
  padding: 96px 0 56px;
  text-align: center;
}

.support-intro__eyebrow {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #52525b;
  animation: om-rise .8s cubic-bezier(.16, 1, .3, 1) both;
}

.support-intro__title {
  margin: 22px 0 0;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.045em;
  text-wrap: balance;
  animation: om-rise .9s cubic-bezier(.16, 1, .3, 1) .08s both;
}
.support-intro__title strong { font-weight: 600; }

.support-intro__lede {
  margin: 24px auto 0;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: #8e8e96;
  text-wrap: pretty;
  animation: om-rise .9s cubic-bezier(.16, 1, .3, 1) .18s both;
}

/* --------------------------------------------------------------------------
   Panel pair — equal columns that stack below ~760px of content width
   -------------------------------------------------------------------------- */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  align-items: stretch;
  gap: 26px;
  animation: om-rise 1s cubic-bezier(.16, 1, .3, 1) .26s both;
}

.support-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px;
  border-radius: 20px;
  background: linear-gradient(180deg, #141416, #0f0f11);
  border: 1px solid #1f1f23;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.9);
}

.support-card__head { display: flex; flex-direction: column; gap: 8px; }

.support-card__title {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fafafa;
}

.support-card__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
  color: #71717a;
}

/* --------------------------------------------------------------------------
   Fields
   Local border-box so `width: 100%` and the inner padding can coexist — the
   project has no global reset (see shared.css).
   -------------------------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 9px; }
.field--grow { flex: 1; }

.field__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #52525b;
}

.field__input {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  background: #0c0c0e;
  border: 1px solid #26262b;
  color: #fafafa;
  font-family: 'Sora', Helvetica, Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.5;
  transition: border-color .18s ease, background .18s ease;
}
.field__input::placeholder { color: #4b4b53; }
.field__input:hover { border-color: #34343b; }
.field__input:focus {
  outline: none;
  background: #101013;
  border-color: #56565f;
}

.field__input--area {
  flex: 1;
  min-height: 150px;
  resize: vertical;
}

.field__counter {
  align-self: flex-end;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #3f3f46;
}

/* Native select chrome removed so the field matches the textarea. */
.select { position: relative; display: flex; }

.select__input {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.select__input option { background: #141416; color: #fafafa; }

.select__chevron {
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -3px;
  color: #71717a;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Submit row
   -------------------------------------------------------------------------- */

.support-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.pill {
  padding: 12px 26px;
  border-radius: 999px;
  background: none;
  border: 1px solid #3a3c43;
  color: #e4e4e7;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.pill:hover { background: #fafafa; border-color: #fafafa; color: #0a0a0b; }
.pill:focus-visible { outline: 2px solid #56565f; outline-offset: 3px; }
.pill[disabled] { opacity: .5; cursor: default; background: none; border-color: #3a3c43; color: #e4e4e7; }

.support-status {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: #71717a;
}
.support-status[data-tone="ok"]    { color: #9fbf9f; }
.support-status[data-tone="error"] { color: #c98d8d; }

@media (max-width: 680px) {
  .support-main { padding: 0 40px 90px; }
  .support-intro { padding: 64px 0 40px; }
  .support-card { padding: 26px; }
}
