:root {
  --bg: #0b0e16;
  --panel: #141525;
  --panel-2: #1a1b2f;
  --panel-3: #24213d;
  --text: #ffffff;
  --muted: #c5c7d4;
  --soft: #8e93aa;
  --blue: #7aa2ff;
  --blue-2: #39c3f2;
  --purple: #b77fff;
  --purple-2: #6e46ff;
  --green: #54d078;
  --border: rgba(255, 255, 255, 0.12);
  --border-blue: rgba(122, 162, 255, 0.3);
  --danger: #ff6b8a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(25, 79, 150, 0.45), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(111, 48, 160, 0.5), transparent 42%),
    linear-gradient(90deg, #07111f 0%, #10121b 38%, #241934 100%);
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 48px 0;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(19, 39, 69, 0.88), rgba(34, 26, 55, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(57, 195, 242, 0.18), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(183, 127, 255, 0.18), transparent 22%),
    radial-gradient(circle at 65% 90%, rgba(110, 70, 255, 0.16), transparent 28%);
  pointer-events: none;
}

.brand-header {
  position: relative;
  z-index: 1;
  padding: 28px 32px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: block;
}

.brand-logo {
  display: block;
  height: 28px;
  width: 140px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
  gap: 32px;
  padding: 54px 32px 32px;
}

.copy-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  border: 1px solid rgba(122, 162, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(12, 24, 43, 0.58), rgba(38, 28, 60, 0.48)),
    radial-gradient(circle at 20% 80%, rgba(57, 195, 242, 0.11), transparent 35%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 650;
}

h1::after {
  content: "";
  display: block;
  width: 160px;
  height: 5px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-2), var(--blue), var(--purple));
}

h2 {
  margin-bottom: 8px;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 560px;
  margin-bottom: 12px;
  color: #f2f5ff;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.42;
}

.trial-note {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.subtle {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.signup-card,
.success-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(28, 29, 48, 0.98), rgba(16, 17, 31, 0.96)),
    radial-gradient(circle at 80% 0%, rgba(183, 127, 255, 0.12), transparent 32%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.signup-card {
  padding: 30px;
  align-self: center;
}

.form-stack,
.payment-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: #f6f7ff;
  font-size: 0.92rem;
  font-weight: 650;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--text);
  border: 1px solid rgba(122, 162, 255, 0.28);
  border-radius: 12px;
  outline: none;
  background: rgba(8, 10, 21, 0.72);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.field input::placeholder {
  color: rgba(197, 199, 212, 0.62);
}

.field input:focus {
  border-color: rgba(183, 127, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(183, 127, 255, 0.12);
  background: rgba(10, 12, 26, 0.95);
}

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.primary-button {
  color: white;
  border: 1px solid rgba(122, 162, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(57, 195, 242, 0.95), rgba(110, 70, 255, 0.95)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
  box-shadow: 0 16px 34px rgba(79, 113, 255, 0.28);
}

.secondary-button {
  color: #f4f6ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.divider {
  height: 1px;
  margin: 4px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(122, 162, 255, 0.35),
    transparent
  );
}

.message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.message.error {
  color: var(--danger);
}

.hidden {
  display: none !important;
}

.success-shell {
  place-items: center;
}

.success-card {
  width: min(720px, 100%);
  padding: 46px;
  text-align: center;
}

.success-card h1 {
  margin-inline: auto;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
}

.success-card h1::after {
  margin-left: auto;
  margin-right: auto;
}

.success-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(122, 162, 255, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(57, 195, 242, 0.42), transparent 40%),
    linear-gradient(135deg, rgba(122, 162, 255, 0.28), rgba(183, 127, 255, 0.24));
}

.success-icon img {
  width: 54px;
  height: 54px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 16px;
}

.button-row .primary-button,
.button-row .secondary-button {
  min-width: 190px;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .copy-card {
    min-height: auto;
  }

  .signup-card {
    align-self: auto;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding: 10px 0;
  }

  .hero-panel,
  .signup-card,
  .copy-card,
  .success-card {
    border-radius: 20px;
  }

  .brand-header {
    padding: 22px 20px 0;
  }

  .hero-grid {
    gap: 18px;
    padding: 32px 20px 20px;
  }

  .copy-card,
  .signup-card,
  .success-card {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .brand-logo {
    width: 128px;
  }

  .button-row {
    display: grid;
  }
}

.manage-details {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.manage-details[open] {
  border-color: rgba(122, 162, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.manage-summary {
  min-height: 54px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #f4f6ff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.manage-summary::-webkit-details-marker {
  display: none;
}

.manage-summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 255, 255, 0.04);
}

.manage-details[open] .manage-summary::after {
  content: "–";
}

.manage-summary-text {
  display: grid;
  gap: 2px;
}

.manage-summary-title {
  font-size: 0.95rem;
  font-weight: 800;
}

.manage-summary-helper {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.manage-panel {
  padding: 0 16px 16px;
}

.manage-form {
  gap: 14px;
}

.manage-form .subtle {
  font-size: 0.92rem;
}