:root {
  --bg: #070b16;
  --bg-2: #10172a;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --paper: #ffffff;
  --ink: #f8fafc;
  --dark-ink: #111827;
  --muted: #b6c2d9;
  --muted-dark: #556070;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: #d7dde8;
  --gold: #ffcc4d;
  --gold-2: #ff9f1c;
  --green: #35d07f;
  --blue: #56a6ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 204, 77, 0.14), transparent 28%),
    linear-gradient(225deg, rgba(86, 166, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #050816 0%, #0b1120 48%, #111827 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
}

.logo,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--dark-ink);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 14px 32px rgba(255, 159, 28, 0.26);
  font-weight: 900;
}

.nav-links,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--ink);
}

.site-header {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header.compact {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  padding: 0 calc((100% - min(1160px, calc(100% - 36px))) / 2);
  background: rgba(7, 11, 22, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.hero {
  padding: 42px 0 70px;
  overflow: hidden;
}

.grid-2,
.tool-grid,
.action-layout,
.onboarding-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff4ce;
  background: rgba(255, 204, 77, 0.1);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.75);
  animation: pulse 1.7s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(53, 208, 127, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(53, 208, 127, 0);
  }
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 820px;
  margin: 20px 0 22px;
  font-size: 4.75rem;
}

h2 {
  font-size: 2.7rem;
}

h3 {
  font-size: 1.32rem;
}

p {
  line-height: 1.65;
}

.gradient-text {
  color: var(--gold);
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.28rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.badge {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #d9e5f7;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn,
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 20px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary,
.button.primary {
  color: var(--dark-ink);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 18px 42px rgba(255, 159, 28, 0.22);
}

.btn-secondary,
.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

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

.disclaimer,
.small-note {
  max-width: 900px;
  color: #93a4bf;
  font-size: 0.86rem;
}

.hero-card,
.tool-panel,
.action-panel,
.handoff-panel,
.checklist-panel,
.email-card,
.info-card,
.sequence-band,
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card,
.tool-panel,
.action-panel,
.checklist-panel,
.email-card,
.info-card {
  padding: 24px;
}

.card-media {
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-height: 180px;
}

.card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-title {
  margin-bottom: 10px;
  font-size: 1.65rem;
  font-weight: 900;
}

.card-sub {
  margin: 0 0 20px;
  color: var(--muted);
}

.form-shell {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--dark-ink);
  background: var(--paper);
}

.form-shell h3 {
  margin: 0 0 8px;
  color: var(--dark-ink);
  font-size: 1.38rem;
}

.form-shell p {
  margin: 0 0 14px;
  color: var(--muted-dark);
}

.lead-form,
.form-shell form,
.tool-panel form,
.tool-panel {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--dark-ink);
  background: var(--paper);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(255, 204, 77, 0.24);
  border-color: var(--gold-2);
}

button,
input,
select {
  font: inherit;
}

.form-shell button,
.lead-form button {
  width: 100%;
}

.form-note {
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 0.82rem;
}

.submit-confirmation + .form-note {
  color: #245b43;
  font-weight: 800;
}

#onboardingNote {
  color: #4d5f7a;
  line-height: 1.45;
}

.input--hidden {
  display: none !important;
}

.submit-confirmation {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px 16px;
  border: 1px solid rgba(36, 91, 67, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 204, 77, 0.24), transparent 46%),
    #f7fbf5;
  color: #245b43;
  text-align: center;
}

.submit-confirmation[hidden] {
  display: none;
}

.submit-confirmation h4,
.submit-confirmation p {
  margin: 0;
}

.submit-confirmation h4 {
  color: #123524;
  font-size: 1.05rem;
}

.submit-confirmation p {
  color: #3f6f56;
  font-size: 0.92rem;
}

.mail-status {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 54px;
}

.mail-status::before,
.mail-status::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  background: rgba(255, 181, 39, 0.42);
  animation: pulse-ring 1.6s ease-out infinite;
}

.mail-status::before {
  width: 70px;
  height: 70px;
}

.mail-status::after {
  width: 52px;
  height: 52px;
  animation-delay: 0.25s;
}

.mail-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #161616;
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(255, 181, 39, 0.28);
  animation: mail-lift 1.35s ease-in-out infinite;
}

.check-icon {
  position: absolute;
  z-index: 2;
  right: 4px;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #1d9a63;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 14px rgba(29, 154, 99, 0.26);
  animation: check-pop 1.35s ease-in-out infinite;
}

@keyframes mail-lift {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}

@keyframes check-pop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.16);
  }
}

@keyframes pulse-ring {
  0% {
    opacity: 0.42;
    transform: scale(0.58);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.check b {
  display: block;
}

.check span {
  color: var(--muted);
  font-size: 0.9rem;
}

.icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #77ffb2;
  background: rgba(53, 208, 127, 0.16);
  font-weight: 900;
}

section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 34px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card h3 {
  margin-bottom: 9px;
}

.info-card p,
.email-card p,
.flow-strip p {
  margin: 0;
  color: var(--muted);
}

.step-grid {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  counter-increment: steps;
}

.step::before {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--dark-ink);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  content: counter(steps);
  font-size: 1.2rem;
  font-weight: 900;
}

.step h3 {
  margin-bottom: 5px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta-band,
.sequence-band {
  padding: 34px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(135deg, rgba(255, 204, 77, 0.16), rgba(86, 166, 255, 0.12));
}

.cta-band h2 {
  font-size: 2.1rem;
}

.cta-band p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer,
.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #93a4bf;
  font-size: 0.82rem;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.page-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 62px 0 84px;
}

.page-heading {
  margin-bottom: 34px;
}

.page-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.generated-link {
  min-height: 48px;
  display: block;
  overflow-wrap: anywhere;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  padding: 13px;
  color: #fff4ce;
  background: rgba(255, 204, 77, 0.08);
}

.source-list {
  display: grid;
  gap: 14px;
}

.source-list article {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--gold);
  padding-left: 14px;
}

.source-list span {
  color: var(--muted);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.rules-grid p {
  margin: 0;
  border-top: 3px solid var(--gold);
  padding-top: 14px;
  color: var(--muted);
}

.email-stack {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.email-card {
  min-height: 210px;
}

.email-card span,
.flow-strip span,
.step-marker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checklist-panel {
  display: grid;
  gap: 14px;
}

.checklist-panel label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
}

.checklist-panel input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.center-shell {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
}

.handoff-panel {
  width: min(720px, 100%);
  padding: 52px;
  text-align: center;
}

.handoff-panel h1 {
  margin: 0 auto;
  font-size: 3.6rem;
}

.handoff-panel p {
  color: var(--muted);
}

.progress-track {
  height: 9px;
  overflow: hidden;
  margin: 28px 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-track span {
  width: 12%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--gold));
  transition: width 0.8s ease;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .grid-2,
  .tool-grid,
  .action-layout,
  .onboarding-layout,
  .cards,
  .rules-grid,
  .email-stack {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band .btn,
  .cta-band .button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .container,
  .page-shell {
    width: min(100% - 28px, 1160px);
  }

  .nav-links,
  .site-header nav {
    width: 100%;
    gap: 10px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-card,
  .tool-panel,
  .action-panel,
  .checklist-panel,
  .email-card,
  .info-card,
  .sequence-band,
  .cta-band {
    padding: 18px;
  }

  .btn,
  .button {
    width: 100%;
  }

  .step {
    grid-template-columns: 1fr;
  }
}
