:root {
  /* Portal design tokens — see docs/design/ui-guidelines.md */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --sidebar-bg: #1a2942;
  --sidebar-text: #8fa3bf;
  --sidebar-active-bg: rgba(59, 130, 246, 0.18);
  --sidebar-active-border: #3b82f6;
  --border: #e2e8f0;
  --radius: 8px;
  /* darker end-stop for the brand gradient (the one allowed gradient) */
  --vd-grad-end: #101c31;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--sidebar-bg) 0%, var(--vd-grad-end) 100%);
  color: var(--sidebar-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.vd-soon-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 32px;
}

.vd-soon-mark {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vd-soon-mark svg { width: 17px; height: 17px; }

.vd-soon-brand-name {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.vd-soon-brand-name .tld { color: var(--sidebar-active-border); }

.vd-soon-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.vd-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--sidebar-active-bg);
  color: var(--sidebar-active-border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.vd-soon-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.vd-soon-main h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  max-width: 18ch;
}

.vd-soon-main h1 .tld { color: var(--sidebar-active-border); }

.vd-soon-main > p {
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 52ch;
}

.vd-soon-features {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.vd-soon-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  text-align: left;
}

.vd-soon-features .icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--sidebar-active-bg);
  color: var(--sidebar-active-border);
}

.vd-soon-features .icon svg { width: 14px; height: 14px; }

.vd-soon-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s, box-shadow 0.12s;
}

.vd-soon-cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.vd-soon-cta:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

.vd-soon-cta svg { width: 15px; height: 15px; }

/* ---- Early-access request form --------------------------------------------- */

.vd-soon-form-wrap {
  width: 100%;
  max-width: 460px;
  text-align: left;
  padding: 22px;
  border: 1px solid rgba(143, 163, 191, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.vd-soon-form-title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.vd-soon-form-sub {
  margin: 0 0 18px;
  font-size: 12.5px;
  color: var(--sidebar-text);
}

.vd-soon-form .form-group { margin-bottom: 16px; }

.vd-soon-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vd-soon-form .form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #cbd7e6;
}

.vd-soon-form .form-label .optional {
  font-weight: 400;
  color: var(--sidebar-text);
}

.vd-soon-form .form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(143, 163, 191, 0.25);
  border-radius: 7px;
  font: inherit;
  font-size: 13.5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.12s, box-shadow 0.12s;
}

.vd-soon-form .form-control::placeholder { color: rgba(143, 163, 191, 0.55); }

.vd-soon-form .form-control:focus {
  outline: none;
  border-color: var(--sidebar-active-border);
  box-shadow: 0 0 0 3px var(--sidebar-active-bg);
}

.vd-soon-form textarea.form-control {
  resize: vertical;
  min-height: 84px;
}

.vd-soon-form .vd-soon-cta { width: 100%; }

/* honeypot — must stay visually hidden */
.vd-soon-hp { display: none; }

.vd-soon-form-error {
  margin: 0 0 14px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  color: #fca5a5;
  background: rgba(220, 38, 38, 0.15);
}

.vd-soon-form-success[hidden] { display: none; }

.vd-soon-form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vd-soon-form-success .icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(22, 163, 74, 0.18);
  color: #4ade80;
}

.vd-soon-form-success .icon svg { width: 15px; height: 15px; }

.vd-soon-form-success h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.vd-soon-form-success p { margin: 0; font-size: 13px; }

.vd-soon-alt-contact {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--sidebar-text);
  text-align: center;
}

.vd-soon-alt-contact a {
  color: var(--sidebar-active-border);
  text-decoration: none;
}

.vd-soon-alt-contact a:hover { text-decoration: underline; }

.vd-soon-footer {
  padding: 24px 32px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(143, 163, 191, 0.6);
}

@media (max-width: 768px) {
  .vd-soon-main h1 { font-size: 28px; }
  .vd-soon-features { flex-direction: column; gap: 14px; align-items: flex-start; }
  .vd-soon-header, .vd-soon-footer { padding: 20px 20px; }
  .vd-soon-form .form-row { grid-template-columns: 1fr; gap: 0; }
}
