/* Contact Us page */
.d .ct-hero { text-align: center; padding: 150px 0 10px; }
.ct-hero .h1 .ln > span { white-space: normal; }
.ct-hero .lead { max-width: 620px; margin: 18px auto 0; }
/* a speech mark with three rings going out from it, like a signal */
.ct-sig { position: relative; width: 84px; height: 84px; margin: 0 auto 28px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(142,209,252,.7), rgba(0,124,204,.5)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 50px rgba(0,168,232,.55); }
.ct-sig svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct-sig i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(142,209,252,.7); animation: sig 3.6s var(--ease) infinite; }
.ct-sig i:nth-child(2) { animation-delay: 1.2s; } .ct-sig i:nth-child(3) { animation-delay: 2.4s; }
@keyframes sig { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

.ct-sec { padding-top: clamp(48px, 5vw, 72px); }
.ct { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 2.6vw, 36px); align-items: start; }
.ct-info { display: grid; gap: 14px; }
.ct-info > .h2 { margin-bottom: 6px; }
.ct-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.ct-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(150deg, rgba(142,209,252,.5), rgba(0,124,204,.4)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.ct-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct-ico svg.fl { fill: #fff; stroke: none; }
.ct-discord .ct-ico { background: linear-gradient(150deg, rgba(165,140,255,.75), rgba(88,101,242,.55)); }
.ct-txt { flex: 1; min-width: 0; }
.ct-txt h3 { font-size: 17px; font-weight: 500; }
.ct-txt p { margin-top: 3px; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.ct-mail { font-size: 16px !important; color: #fff !important; font-weight: 500; }
.ct-copy { flex: none; display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background .25s; }
.ct-copy svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.ct-copy:hover { background: rgba(255,255,255,.2); }
.ct-copy.ok { background: rgba(120,215,36,.35); box-shadow: inset 0 0 0 1px rgba(166,236,99,.6); }
.ct-discord { flex-wrap: wrap; }
.ct-dbtn { padding: 11px 20px; font-size: 14px; margin-left: 64px; }
.ct-social { flex-direction: column; align-items: stretch; }
.ct-soc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ct-soc a { display: grid; justify-items: center; gap: 8px; padding: 14px 4px 12px; border-radius: 14px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: 12px; color: var(--text); transition: background .25s, translate .35s var(--ease), color .25s; }
.ct-soc a:hover { background: rgba(255,255,255,.16); color: #fff; translate: 0 -3px; }
.ct-soc svg { width: 20px; height: 20px; fill: #fff; }
.ct-soc svg.st { fill: none; stroke: #fff; stroke-width: 1.8; }

/* the form */
.ct-form-card { padding: clamp(24px, 3vw, 40px); }
.ct-form .lead { margin: 8px 0 24px; font-size: 15.5px; }
.ct-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 8px; }
.fld-wide { grid-column: span 2; }
.fld > span { font-size: 14px; font-weight: 500; color: var(--text); }
.fld > span i { font-style: normal; color: var(--lgreen); margin-left: 2px; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 15px; color: #fff; padding: 14px 16px; border: 0; border-radius: 14px; outline: none; resize: vertical;
  background: rgba(2,12,44,.38); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: box-shadow .25s, background .25s; }
.fld textarea { min-height: 140px; }
.fld input:hover, .fld textarea:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.fld input:focus, .fld textarea:focus { background: rgba(2,12,44,.5); box-shadow: inset 0 0 0 1.5px var(--lcyan), 0 0 0 4px rgba(0,168,232,.22); }
.fld small { display: none; font-size: 12.5px; color: #ff9f9f; }
.fld.bad input, .fld.bad textarea { box-shadow: inset 0 0 0 1.5px #ff7b7b, 0 0 0 4px rgba(255,90,90,.16); }
.fld.bad small { display: block; }
.fld.good input, .fld.good textarea { box-shadow: inset 0 0 0 1px rgba(166,236,99,.55); }
.ct-send { margin-top: 24px; min-width: 210px; }
.ct-send.busy { pointer-events: none; }
.ct-send.busy .arr { animation: spin .8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
/* sent */
.ct-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: clamp(30px, 5vw, 70px) 10px; }
.ct-done .lead { max-width: 420px; }
.ct-done .btn { margin-top: 10px; }
.ct-done[hidden], .ct-form[hidden] { display: none; }
.ct-check svg { width: 86px; height: 86px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ct-check circle { stroke: rgba(166,236,99,.5); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: dash .7s var(--ease) forwards; }
.ct-check path { stroke: var(--lgreen); stroke-width: 3.2; stroke-dasharray: 36; stroke-dashoffset: 36; animation: dash .5s .45s var(--ease) forwards; filter: drop-shadow(0 0 8px var(--green)); }
@keyframes dash { to { stroke-dashoffset: 0; } }

@media (max-width: 1080px) { .ct { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .d .ct-hero { padding-top: 120px; }
  .ct-fields { grid-template-columns: 1fr; }
  .fld-wide { grid-column: auto; }
  .ct-dbtn { margin-left: 0; width: 100%; }
  .ct-card { padding: 18px; }
  .ct-send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ct-sig i { animation: none; opacity: 0; } }

/* fixes: the hero is a short title block, not a full screen; Discord's button sits under its words */
.d .ct-hero { min-height: 0; }
.ct-discord .ct-txt { flex-basis: calc(100% - 64px); }
@media (max-width: 760px) {
  .ct-card:not(.ct-social) { flex-wrap: wrap; }
  .ct-mail { word-break: normal; overflow-wrap: anywhere; font-size: 15px !important; }
  .ct-copy { margin-left: 64px; }
  .ct-soc a { padding: 14px 4px; }
  .ct-soc a span { display: none; }
}
