:root {
  --blue: #00beff;
  --aqua: #5cf78f;
  --navy: #0c1057;
  --muted: #5c6089;
  --icon: #9aa0b4;
  --border: #e3e5ec;
  --error: #d92d3f;
  --offwhite: #f8f8f8;
  --gradient: linear-gradient(90deg, #00beff 0%, #5cf78f 100%);
  --font: Inter, "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--navy);
  background-color: #0b1030;
  background-image: linear-gradient(180deg, #0b1030 0%, #1a1f5c 100%);
}

.glow {
  position: fixed;
  z-index: 0;
  left: 50%;
  top: calc(50% + 60px);
  width: min(1900px, 160vw);
  height: min(1300px, 150vh);
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 190, 255, 0.42) 0%,
    rgba(20, 70, 180, 0.22) 36%,
    rgba(11, 16, 48, 0) 68%
  );
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  padding: 56px;
}

.card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.motif {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.motif-lg {
  width: 354.2px;
  height: 307.3px;
  right: -53px;
  bottom: -4px;
  opacity: 0.35;
}

.motif-sm {
  width: 131.56px;
  height: 114.14px;
  left: 39px;
  bottom: 89px;
  opacity: 0.18;
}

.header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 36px 48px 0;
}

.logo {
  display: block;
}

.logo-on-card {
  width: 213.4px;
  height: 30px;
}

.logo-on-navy {
  display: none;
  width: 170.7px;
  height: 24px;
}

.content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 28px 48px 36px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 7px 16px 7px 14px;
  border-radius: 999px;
  background: rgba(0, 190, 255, 0.08);
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.dot {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  flex: none;
}

.dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

h1 {
  margin: 0 0 20px;
  max-width: 740px;
  color: var(--navy);
  font-size: 52px;
  font-weight: 700;
  line-height: 62px;
  letter-spacing: -0.02em;
}

.h1-break {
  display: block;
}

.accent {
  display: inline;
  padding-bottom: 2px;
  color: transparent;
  background-image:
    linear-gradient(90deg, #00beff, #5cf78f),
    linear-gradient(90deg, #00beff, #5cf78f);
  background-repeat: no-repeat;
  background-size: 100% 3px, 100% 100%;
  background-position: left bottom, 0 0;
  -webkit-background-clip: border-box, text;
  background-clip: border-box, text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.h1-rest {
  margin-left: 14px;
}

.subcopy {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.when {
  color: var(--navy);
  font-weight: 600;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 36px;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 88px;
  padding: 12px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--offwhite);
}

.unit-value {
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 34px;
}

.unit-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.colon {
  color: var(--icon);
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.notify {
  width: min(520px, 100%);
  margin: 0 0 32px;
  text-align: left;
}

.notify-label {
  display: block;
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 6px 0 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.field:focus-within {
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 190, 255, 0.2);
}

form[data-state="error"] .field,
form[data-state="error"] .field:focus-within {
  border: 2px solid var(--error);
  box-shadow: 0 0 0 4px rgba(217, 45, 63, 0.12);
}

.field-line {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.field-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
}

.email-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: 400 16px/24px var(--font);
  caret-color: var(--blue);
}

.email-input::placeholder {
  color: var(--icon);
  opacity: 1;
}

.email-input:focus {
  outline: none;
}

.email-input:disabled {
  color: var(--navy);
  opacity: 1;
}

.btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--gradient);
  color: var(--navy);
  font: 600 15px/20px var(--font);
  white-space: nowrap;
  cursor: pointer;
}

.btn:focus-visible,
.contact:focus-visible,
.success:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.btn:disabled {
  cursor: default;
}

form[data-state="loading"] .btn {
  opacity: 0.85;
}

.spinner {
  display: block;
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.success {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 18px;
  border: 1px solid var(--aqua);
  border-radius: 12px;
  background: rgba(92, 247, 143, 0.14);
}

.success:focus {
  outline: none;
}

.success:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 12px;
  background: var(--gradient);
}

.check img {
  display: block;
  width: 14px;
  height: 14px;
}

.success-text {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.helper,
.error-row {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}

.helper-success {
  overflow-wrap: anywhere;
}

.error-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--error);
}

.error-row img {
  display: block;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: none;
}

.sales {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 720px;
}

.sales-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}

.sales-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  border-radius: 4px;
}

.contact img {
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
}

.contact:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.footer p {
  margin: 0;
}

.brand {
  color: var(--blue);
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1099px) {
  .page {
    padding: 24px;
  }

  .header {
    padding: 32px 32px 0;
  }

  .content {
    padding: 24px 32px 32px;
  }

  h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .h1-rest {
    margin-left: 10px;
  }

  .subcopy {
    max-width: 560px;
    font-size: 17px;
    line-height: 26px;
  }

  .eyebrow {
    margin-bottom: 22px;
  }

  .motif-sm {
    display: none;
  }

  .motif-lg {
    width: 222.64px;
    height: 193.16px;
    right: -52px;
    bottom: 10px;
    opacity: 0.32;
  }
}

@media (max-width: 767px) {
  .glow {
    top: 18%;
    width: 700px;
    height: 700px;
  }

  .page {
    display: block;
    padding: 0 12px;
  }

  .card {
    display: block;
    min-height: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .motif {
    display: none;
  }

  .header {
    padding: 20px 8px;
  }

  .logo-on-card {
    display: none;
  }

  .logo-on-navy {
    display: block;
  }

  .content {
    display: block;
    padding: 28px 16px 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 20px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: 32px;
    line-height: 40px;
  }

  .h1-break {
    display: inline;
  }

  .h1-rest {
    margin-left: 0.28em;
  }

  .subcopy {
    max-width: none;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 24px;
  }

  .countdown {
    gap: 8px;
    margin-bottom: 28px;
  }

  .unit {
    width: 84px;
    padding: 10px 0;
  }

  .notify {
    margin-bottom: 28px;
  }

  .field {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 10px;
    box-shadow: none;
  }

  .field:focus-within,
  form[data-state="error"] .field,
  form[data-state="error"] .field:focus-within {
    border: 0;
    box-shadow: none;
  }

  .field-line {
    height: 52px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
  }

  .field:focus-within .field-line {
    border: 2px solid var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 190, 255, 0.2);
  }

  form[data-state="error"] .field-line,
  form[data-state="error"] .field:focus-within .field-line {
    border: 2px solid var(--error);
    box-shadow: 0 0 0 4px rgba(217, 45, 63, 0.12);
  }

  .btn {
    width: 100%;
    height: 52px;
    border-radius: 12px;
  }

  .sales {
    gap: 12px;
    max-width: none;
    padding: 20px 16px;
    border-radius: 16px;
    background: var(--offwhite);
  }

  .sales-lead {
    font-size: 14px;
    line-height: 20px;
  }

  .sales-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer {
    background: transparent;
    border-top-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}
