:root {
  --black: #000000;
  --cyan: #28d0c0;
  --white: #e8efed;
  --muted: #6f8580;
  --line: #28d0c028;
  --panel: #050a09;
  --border: #1a302c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--black);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 15%, transparent 75%);
}
.shell { position: relative; z-index: 2; min-height: 100vh; }
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid #142421;
}
.logo img { height: 34px; display: block; }
.nav-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  color: var(--cyan);
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-meta i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(28px, 6vh, 56px) clamp(16px, 4vw, 24px) 80px;
}
.label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1, h2 {
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 14px;
}
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.85rem); max-width: 22ch; }
.lead, .hint {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 28px;
}
.hint { font-size: 0.95rem; margin-top: -6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan); color: #000; border: none; cursor: pointer;
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  padding: 14px 20px; font-size: 0.95rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn:hover { filter: brightness(1.07); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }
.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  clip-path: none;
}
.btn.ghost:hover { color: var(--cyan); border-color: var(--cyan); }

.progress {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.progress-track {
  height: 3px;
  background: #142421;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--cyan);
  transition: width 0.25s ease;
}
.progress-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.phone-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.dial { position: relative; }
.dial-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  min-height: 48px;
  padding: 0 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--white);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.dial-btn .chev { color: var(--muted); font-size: 0.75rem; }
.dial-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 10;
  min-width: 240px;
  background: #050a09;
  border: 1px solid var(--border);
  display: grid;
}
.dial-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #142421;
  color: var(--white);
  font: inherit;
  padding: 12px 14px;
  cursor: pointer;
}
.dial-menu button:last-child { border-bottom: 0; }
.dial-menu button:hover { background: #28d0c012; color: var(--cyan); }

h1 { font-size: clamp(1.45rem, 4.2vw, 2.1rem); max-width: 28ch; }

.fields { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
label {
  display: grid; gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}
input, textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--white);
  font: inherit;
  padding: 12px 14px;
  outline: none;
}
input:focus, textarea:focus { border-color: #28d0c066; }
textarea { resize: vertical; min-height: 96px; }

.choices {
  display: grid;
  gap: 10px;
}
.choices button {
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--white);
  font: inherit;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.choices button:hover { border-color: #28d0c066; }
.choices button.on {
  border-color: var(--cyan);
  background: #28d0c012;
  color: var(--cyan);
}

.nav-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.form-error {
  margin-top: 16px;
  color: #ff8f8f;
  font-size: 0.9rem;
}
.done .btn { margin-top: 8px; }
