
:root {
  --navy: #071632;
  --navy-2: #0e2349;
  --blue: #0b5cff;
  --blue-2: #003fc4;
  --cyan: #24b7ef;
  --green: #138a43;
  --green-soft: #ecfdf3;
  --ink: #111827;
  --muted: #667085;
  --line: #d6deea;
  --soft: #f4f7fb;
  --panel: #ffffff;
  --shadow: 0 20px 60px rgba(7, 22, 50, .12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
	linear-gradient(90deg, rgba(7, 22, 50, .035) 1px, transparent 1px),
	linear-gradient(180deg, rgba(7, 22, 50, .028) 1px, transparent 1px),
	var(--soft);
  background-size: 62px 62px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a { color: inherit; }

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar {
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 3vw, 72px);
  color: #fff;
  background:
	radial-gradient(circle at 18% 0%, rgba(36, 183, 239, .20), transparent 34%),
	linear-gradient(135deg, var(--navy), var(--navy-2));
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: -.02em;
}

.brand-copy small {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.top-actions a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.top-actions a.primary,
.button.primary {
  background: var(--blue);
  border-color: #6ea0ff;
}

main {
  width: 100%;
  padding: clamp(22px, 3vw, 64px) clamp(18px, 3vw, 72px);
}

.success-shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: clamp(20px, 2vw, 36px);
  align-items: stretch;
}

.hero,
.proof-panel,
.next-panel,
.invalid-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 72px);
  min-height: 520px;
  display: grid;
  align-content: center;
  background:
	radial-gradient(circle at 95% 0%, rgba(36, 183, 239, .18), transparent 34%),
	radial-gradient(circle at 0% 100%, rgba(11, 92, 255, .11), transparent 34%),
	#fff;
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(11, 92, 255, .16);
  border-radius: 50%;
  box-shadow:
	0 0 0 46px rgba(11, 92, 255, .04),
	0 0 0 92px rgba(36, 183, 239, .025);
  pointer-events: none;
}

.status-mark {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green), #20a55a);
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(19, 138, 67, .25);
  margin-bottom: 28px;
}

.eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: #075e2a;
  background: var(--green-soft);
  border: 1px solid #a8dec0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .11em;
  margin-bottom: 16px;
}

h1, h2, p { margin: 0; }

h1 {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  font-size: clamp(38px, 4.8vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}

.lead {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  color: var(--ink);
  background: #fff;
  border-color: #aeb8c5;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue-2);
}

.button[hidden] { display: none !important; }

.side-stack {
  display: grid;
  gap: clamp(20px, 2vw, 36px);
  grid-template-rows: auto 1fr;
}

.proof-panel,
.next-panel,
.invalid-panel {
  padding: clamp(22px, 2.5vw, 40px);
}

.panel-kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.proof-panel h2,
.next-panel h2,
.invalid-panel h2 {
  margin-top: 7px;
  font-size: clamp(24px, 2vw, 34px);
  letter-spacing: -.035em;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  border: 1px solid var(--line);
}

.fact {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .11em;
  margin-bottom: 7px;
}

.fact b,
.fact a {
  display: block;
  color: var(--ink);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.fact a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.next-list {
  display: grid;
  gap: 0;
  margin-top: 22px;
  border: 1px solid var(--line);
}

.next-list div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}

.next-list b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #eaf1ff;
  color: var(--blue);
  font-size: 12px;
}

.next-list strong {
  display: block;
  font-size: 14px;
}

.next-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.invalid-panel {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(34px, 6vw, 90px);
}

.invalid-panel.active { display: block; }

.invalid-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 22px;
  color: #92400e;
  background: #fff7ed;
  border: 1px solid #fdba74;
  font-size: 34px;
  font-weight: 900;
}

.invalid-panel p {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px clamp(18px, 3vw, 72px);
  color: rgba(255,255,255,.70);
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

[hidden] { display: none !important; }

@media (min-width: 2200px) {
  .success-shell {
	grid-template-columns: minmax(0, 1.45fr) minmax(520px, .55fr);
  }

  .hero { min-height: 640px; }
  .proof-panel, .next-panel { padding: 46px; }
}

@media (max-width: 1080px) {
  .success-shell { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr; grid-template-rows: auto; }
}

@media (max-width: 720px) {
  .topbar {
	align-items: flex-start;
	flex-direction: column;
  }

  .top-actions { justify-content: flex-start; }
  .brand img { width: 52px; height: 52px; }
  .facts { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  h1 { line-height: 1.03; }
}

.publish-page-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 22, 50, .72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.publish-page-loader[hidden] { display: none !important; }

.publish-loader-card {
  width: min(430px, 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 30px;
  color: #fff;
  text-align: center;
  background: rgba(7,22,50,.97);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}

.publish-loader-card small {
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

.publish-thin-spinner {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,.20);
  border-top-color: var(--cyan);
  border-right-color: rgba(36,183,239,.60);
  border-radius: 50%;
  animation: publish-spin .72s linear infinite;
}

@keyframes publish-spin { to { transform: rotate(360deg); } }

.button.is-processing,
.top-actions a.is-processing {
  pointer-events: none;
  opacity: .72;
  cursor: wait;
}

.button.is-processing::before,
.top-actions a.is-processing::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  margin-right: 8px;
  animation: publish-spin .65s linear infinite;
}
