@font-face {
  font-family: "Orbitron";
  src: url("Orbitron-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: dark;
  --background: #000e16;
  --panel: #010b11;
  --panel-raised: #051c24;
  --accent: #70e7ff;
  --accent-bright: #5ceaff;
  --accent-muted: #7db6c7;
  --text: #d9f6ff;
  --border: rgba(112, 231, 255, 0.42);
  --border-dim: rgba(125, 182, 199, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(92, 234, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 234, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(112, 231, 255, 0.09), transparent 38rem),
    var(--background);
  background-size: 24px 24px, 24px 24px, auto, auto;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(112, 231, 255, 0.09);
  content: "";
  pointer-events: none;
}

.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 28px;
}

.site-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 8px 24px;
  border-bottom: 1px solid var(--border);
}

.eyebrow,
.channel-status,
.frame-heading,
footer {
  font-family: "Consolas", "Courier New", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-bright);
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.025em;
}

.intro {
  max-width: 690px;
  margin: 12px 0 0;
  color: var(--accent-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.channel-status {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  margin: 0 0 4px;
  color: var(--accent-muted);
  font-size: 0.69rem;
}

.channel-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(112, 231, 255, 0.9);
}

.form-frame {
  position: relative;
  margin-top: 24px;
  padding: 14px clamp(10px, 3vw, 30px) 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(5, 28, 36, 0.8), rgba(1, 11, 17, 0.94));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.36), inset 0 0 40px rgba(112, 231, 255, 0.025);
}

.form-frame::before,
.form-frame::after {
  position: absolute;
  width: 70px;
  height: 14px;
  border-color: var(--accent);
  content: "";
  opacity: 0.76;
  pointer-events: none;
}

.form-frame::before {
  top: 8px;
  left: 8px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.form-frame::after {
  right: 8px;
  bottom: 8px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.frame-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 4px 13px;
  color: var(--accent-muted);
  font-size: 0.66rem;
  border-bottom: 1px solid var(--border-dim);
}

#feedback-form {
  display: block;
  min-height: 900px;
  border: 0;
  background: transparent;
}

.form-fallback {
  margin: 8px 0 0;
  color: var(--accent-muted);
  font-size: 0.82rem;
  text-align: center;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--text);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 8px 0;
  color: var(--accent-muted);
  font-size: 0.62rem;
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 18px, 1080px);
    padding-top: 22px;
  }

  .site-header {
    display: block;
    padding-inline: 6px;
  }

  .channel-status {
    margin-top: 18px;
  }

  .form-frame {
    margin-top: 14px;
    padding-inline: 4px;
  }

  .frame-heading {
    padding-inline: 12px;
  }

  footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .channel-status span {
    animation: status-pulse 2.4s ease-in-out infinite;
  }

  @keyframes status-pulse {
    50% {
      opacity: 0.55;
      box-shadow: 0 0 5px rgba(112, 231, 255, 0.5);
    }
  }
}
