
    :root {
      /* Keep aligned with your site palette */
      --bg0: #0b1220;
      --card: rgba(255, 255, 255, 0.09);
      --card2: rgba(255, 255, 255, 0.12);
      --text: rgba(255, 255, 255, 0.90);
      --muted: rgba(255, 255, 255, 0.68);
      --line: rgba(255, 255, 255, 0.14);
      --accent: #86efac;
      /* soft green */
      --accent2: #60a5fa;
      /* soft blue */
      --shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
      --r: 18px;
    }

    html,
    body {
      height: 100%;
    }

    body {
      margin: 0;
      color: var(--text);
      font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background-image: url("/img/background.png");
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    /* If your site already has the plasma background on body,
       this overlay will calm it down behind the form. */
    .dimmer {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.28);
      pointer-events: none;
    }

    .wrap {
      min-height: 100%;
      display: grid;
      place-items: start center;
      padding: 18px;
      padding-top: clamp(18px, 6vh, 64px);
      padding-bottom: 28px;
    }

    .card {
      width: min(720px, 100%);
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--r);
      box-shadow: var(--shadow);
      padding: clamp(16px, 3.5vw, 28px);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    h1 {
      margin: 0 0 6px 0;
      font-size: clamp(22px, 4.2vw, 34px);
      letter-spacing: 0.2px;
    }

    .intro {
      margin: 0 0 18px 0;
      color: var(--muted);
      font-size: 15px;
    }

    .field {
      margin-top: 14px;
    }

    label {
      display: block;
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 6px;
      color: rgba(255, 255, 255, 0.86);
    }

    input[type="text"],
    input[type="email"],
    textarea {
      width: 100%;
      box-sizing: border-box;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(0, 0, 0, 0.22);
      color: var(--text);
      padding: 12px 12px;
      outline: none;
      transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
    }

    textarea {
      min-height: 220px;
      resize: vertical;
      padding: 12px 12px;
    }

    input::placeholder,
    textarea::placeholder {
      color: rgba(255, 255, 255, 0.42);
    }

    input:focus,
    textarea:focus {
      border-color: rgba(96, 165, 250, 0.55);
      box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
      background: rgba(0, 0, 0, 0.26);
    }

    .help {
      margin-top: 8px;
      color: var(--muted);
      font-size: 13px;
    }

    .actions {
      margin-top: 18px;
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    button {
      appearance: none;
      border: 0;
      border-radius: 999px;
      padding: 11px 16px;
      font-weight: 700;
      cursor: pointer;
      background: rgba(134, 239, 172, 0.92);
      color: rgba(0, 0, 0, 0.88);
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
      transition: transform .06s ease, filter .12s ease, opacity .12s ease;
    }

    button:active {
      transform: translateY(1px);
    }

    button[disabled] {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .status {
      font-size: 13px;
      color: var(--muted);
    }

    .received {
      display: none;
      margin-top: 14px;
      padding: 12px 12px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(0, 0, 0, 0.18);
    }

    .received strong {
      color: rgba(255, 255, 255, 0.92);
    }

    /* Honeypot: visually hidden but still in DOM */
    .hp {
      position: absolute;
      left: -9999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:12px;
  background: linear-gradient(
    135deg,
    rgba(134,239,172,0.95),
    rgba(96,165,250,0.95)
  );
  color:#0b1220;
  text-decoration:none;
  font-weight:650;
  border:none;
}

.btn-ghost{
  padding:10px 16px;
  border-radius:12px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border:1px solid rgba(255,255,255,0.18);
}

.success-center{
  text-align: center;
}

.success-center .btn-primary{
  margin-inline: auto;
}
.wrap.center-viewport {
  display: flex;
    align-items: center; /* Vertically centers the content */
    /* justify-content: center; /* Optionally, centers horizontally */
    height: 100vh; /* Example: center in the full viewport height */
}


/* Center the success block on desktop + mobile */
#submit-success{
  width: min(720px, 100%);
  margin: 0 auto;        /* <-- horizontal centering */
  padding: 18px;         /* optional: match your wrap padding */
}

#submit-success .card-inner{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3.5vw, 28px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


 
