/* burnstudios.net/support: the homepage's navy and ember, one calm form */
:root { --ink: #03061a; --ink-2: #070c2b; --text: #eef2ff; --muted: #8d97c4; --ember: #ff6a1a; --ember-2: #ffb347; --blue: #2a8cff; --peach: #f3b48a;
        --line: rgba(214,224,255,.1); --line-2: rgba(214,224,255,.2); --neg: #ff6b5e;
        --mono: "JetBrains Mono", ui-monospace, monospace; --sans: "Outfit", system-ui, sans-serif; --ease: cubic-bezier(.22,1,.36,1); }
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--ink); }
body { min-height: 100vh; background: var(--ink); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 40% at 15% -5%, rgba(42,140,255,.14), transparent 70%), radial-gradient(60% 45% at 50% 110%, rgba(255,106,26,.16), transparent 70%); }

/* a few slow embers, like the homepage's community section */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sky i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #ffb066; box-shadow: 0 0 8px 2px rgba(255,106,26,.6); opacity: 0;
         animation: rise var(--d, 14s) linear infinite; animation-delay: var(--dl, 0s); }
.sky i:nth-child(1) { left: 6%; --d: 15s; --dl: -2s; } .sky i:nth-child(2) { left: 14%; --d: 19s; --dl: -9s; } .sky i:nth-child(3) { left: 23%; --d: 13s; --dl: -5s; }
.sky i:nth-child(4) { left: 31%; --d: 21s; --dl: -14s; } .sky i:nth-child(5) { left: 44%; --d: 17s; --dl: -3s; } .sky i:nth-child(6) { left: 57%; --d: 23s; --dl: -11s; }
.sky i:nth-child(7) { left: 66%; --d: 16s; --dl: -7s; } .sky i:nth-child(8) { left: 74%; --d: 20s; --dl: -16s; } .sky i:nth-child(9) { left: 82%; --d: 14s; --dl: -1s; }
.sky i:nth-child(10) { left: 89%; --d: 18s; --dl: -12s; } .sky i:nth-child(11) { left: 95%; --d: 22s; --dl: -6s; } .sky i:nth-child(12) { left: 38%; --d: 25s; --dl: -19s; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 70% { opacity: .5; } 100% { transform: translate(30px, -105vh); opacity: 0; } }

nav { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(16px, 4vw, 56px);
      background: linear-gradient(var(--ink) 55%, rgba(3,6,26,0)); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 500 12px var(--mono); letter-spacing: .18em; }
.brand img { width: 22px; height: 22px; }
.back { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.back:hover { color: var(--ember-2); }

main { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 40px 20px 90px; }
.label { font: 500 11px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--peach); opacity: .85; margin-bottom: 18px; }
h1 { font-weight: 500; font-size: clamp(40px, 6.4vw, 68px); letter-spacing: -.03em; line-height: 1.02; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--ember-2), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { margin-top: 16px; max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.intro { margin-bottom: 34px; }
.intro > * { animation: up 1s var(--ease) both; } .intro > :nth-child(2) { animation-delay: .08s; } .intro > :nth-child(3) { animation-delay: .16s; }
@keyframes up { from { opacity: 0; transform: translateY(12px); } }

/* the card: like the homepage's community cards */
.card { position: relative; padding: clamp(22px, 4vw, 34px); border-radius: 24px; border: 1px solid rgba(214,224,255,.1);
        background: linear-gradient(180deg, rgba(214,224,255,.05), rgba(214,224,255,.012) 60%), var(--ink-2); box-shadow: 0 30px 80px -40px rgba(0,0,0,.8);
        animation: up 1s .2s var(--ease) both; }
form.card { display: grid; gap: 18px; }
fieldset { border: 0; }
legend, .field > span { display: block; margin-bottom: 9px; font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field > span small, legend small { text-transform: none; letter-spacing: 0; font: 400 11.5px var(--sans); color: rgba(141,151,196,.7); margin-left: 4px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.pills label:hover span { color: var(--text); border-color: rgba(214,224,255,.32); }
.pills input:checked + span { color: #fff; border-color: rgba(255,106,26,.6); background: rgba(255,106,26,.14); box-shadow: 0 0 0 3px rgba(255,106,26,.08); }
.pills input:focus-visible + span { outline: 2px solid var(--ember-2); outline-offset: 2px; }
.hint { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--peach); min-height: 0; } .hint:empty { display: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; }
input, select, textarea { width: 100%; font: 400 15px var(--sans); color: var(--text); background: rgba(0,0,0,.25); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
         background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select option { background: var(--ink-2); }
textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: rgba(141,151,196,.55); }
input:focus, select:focus, textarea:focus { border-color: rgba(255,106,26,.6); box-shadow: 0 0 0 4px rgba(255,106,26,.12); }
.field.bad input, .field.bad textarea, .field.bad select { border-color: rgba(255,107,94,.7); }
.count { position: absolute; right: 12px; bottom: 10px; font: 500 10px var(--mono); color: rgba(141,151,196,.6); pointer-events: none; }

.drop { position: relative; border: 1px dashed var(--line-2); border-radius: 16px; transition: border-color .2s, background .2s; }
.drop.over { border-color: var(--ember); background: rgba(255,106,26,.06); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-in { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; color: var(--muted); font-size: 14px; }
.drop-in svg { width: 24px; height: 24px; flex: none; color: var(--ember-2); }
.drop-in b { color: var(--text); font-weight: 500; } .drop-in small { display: block; margin-top: 2px; font-size: 12px; color: rgba(141,151,196,.75); }
.drop input:focus-visible + .drop-in { outline: 2px solid var(--ember-2); outline-offset: 2px; border-radius: 16px; }
.preview { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.preview img { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); }
.preview span { flex: 1; min-width: 0; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview + .drop-in, .drop.has .drop-in { display: none; }
.remove { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.remove:hover { color: var(--text); border-color: rgba(214,224,255,.35); }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 13.5px; line-height: 1.55; color: var(--muted); } .note b { color: var(--text); font-weight: 500; }
a { color: var(--ember-2); text-decoration: none; } a:hover { text-decoration: underline; text-underline-offset: 3px; }
.send-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.err { font-size: 14px; color: var(--neg); } .err:empty { display: none; }

/* the site's buttons, gradient sliding on hover */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--text);
       padding: 15px 24px; border-radius: 999px; border: 1px solid rgba(238,242,255,.2); background: rgba(3,6,26,.4); cursor: pointer;
       transition: border-color .3s, color .3s, filter .3s, transform .4s var(--ease), background-position 1.4s var(--ease); }
.btn:hover { border-color: var(--ember); color: #fff; transform: translateY(-2px); text-decoration: none; }
.btn.primary { background: linear-gradient(90deg, var(--blue), var(--ember) 50%, var(--ember-2) 72%, var(--ember)) 0 0 / 200% 100% border-box; border-color: transparent; color: #fff;
               box-shadow: 0 12px 34px -14px rgba(255,106,26,.8); }
.btn.primary:hover { border-color: transparent; filter: brightness(1.1); background-position: 45% 0; }
.btn[disabled] { cursor: progress; filter: saturate(.6) brightness(.9); transform: none; }
.btn.busy span::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 10px; vertical-align: -1px; border-radius: 50%;
                        border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* sent: the ticket number, glowing */
.done { text-align: center; padding: clamp(34px, 6vw, 56px) 24px; outline: none; }
.done .ticket { font: 500 clamp(54px, 10vw, 96px)/1 var(--sans); letter-spacing: -.03em; margin: 4px 0 18px;
                background: linear-gradient(90deg, var(--blue), var(--ember) 60%, var(--ember-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
                filter: drop-shadow(0 0 30px rgba(255,106,26,.35)); }
.done h2 { font-weight: 500; font-size: 28px; letter-spacing: -.01em; }
.done .sub { margin: 10px auto 26px; }
.done .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.done.show { animation: pop .9s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(6px); } }

footer { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0 20px 40px; font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
footer a { color: var(--muted); } footer a:hover { color: var(--ember-2); }

@media (max-width: 640px) { .row { grid-template-columns: 1fr; } .send-row .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .sky { display: none; } .intro > *, .card, .done.show { animation: none; } .btn { transition: none; } .btn.primary:hover { background-position: 0 0; } }
