@font-face {
  font-family: "PROS";
  src: url("/PROS.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --ice: #CFEFFF;
  --blue: #2F6BFF;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.22);
  --field-bg: rgba(0, 0, 0, 0.35);
  --field-border: rgba(255, 255, 255, 0.2);
  --err: #ff8a8a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body { min-height: 100vh; min-height: 100dvh; }

#laser {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  z-index: 0;
}

#content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: max(28px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
}

.hero { text-align: center; }

.brand {
  margin: 0;
  font-family: "PROS", system-ui, sans-serif;
  font-weight: normal;
  font-size: clamp(30px, 11vw, 104px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, var(--ice) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding: 0 0.04em 0.06em;
}

.tagline {
  margin: 10px 0 0;
  font-size: clamp(16px, 4.4vw, 20px);
  color: var(--ink);
}

.glass {
  width: 100%;
  max-width: 460px;
  padding: 22px 18px 20px;
  border-radius: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 60px rgba(0, 0, 0, 0.55);
}

.panel-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.field { margin-bottom: 14px; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr; gap: 0; }

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--ink);
}
.opt { color: var(--ink-soft); font-size: 12px; margin-left: 4px; }

input, select {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px; /* avoids iOS zoom on focus */
  color: var(--ink);
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 12px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
select option { color: #000; background: #fff; }
input::placeholder { color: rgba(255, 255, 255, 0.4); }
input:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.35);
}

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #4c86ff, var(--blue));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  cursor: pointer;
  touch-action: manipulation;
}
.submit:hover { filter: brightness(1.08); }
.submit:disabled { opacity: 0.6; cursor: default; }

.msg { margin: 0 0 12px; font-size: 14px; }
.msg.error { color: var(--err); }

.success { text-align: center; padding: 12px 0 8px; }
.success-title { margin: 0 0 8px; font-size: 26px; font-weight: 650; }
.success-sub { margin: 0; color: var(--ink-soft); font-size: 15px; }

[hidden] { display: none !important; }

@media (min-width: 520px) {
  .glass { padding: 26px 24px 24px; }
  .row { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
