* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --ink: #111827;
  --muted: #5f6879;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --line-strong: #d6dbe4;
  --indigo: #4f46e5;
  --indigo-hover: #4338ca;
  --green: #16a34a;
  --green-soft: #ecfdf5;
  --red: #dc2626;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter";
  background: var(--bg);
  color: var(--ink);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.header-inner,
.hero-grid,
.content-section,
.split-section,
.site-footer,
.success-page {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.brand-link {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.header-nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 28px;
  color: #111827;
  font-size: 0.94rem;
  font-weight: 400;
}

.header-nav a,
.footer-links a,
.text-link {
  text-decoration: none;
}

.header-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--indigo);
}

.header-action,
.header-pill {
  display: inline-flex;
  justify-self: end;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
}

.header-action {
  padding: 0 15px;
  color: #ffffff;
  background: var(--indigo);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.2);
}

.header-action:hover {
  background: var(--indigo-hover);
}

.header-pill {
  padding: 0 14px;
  color: var(--muted);
  background: var(--soft);
}

.hero-band {
  position: relative;
  overflow: hidden;
  padding: 96px 0 102px;
  background:
    linear-gradient(112deg, rgba(219, 234, 254, 0.88) 0%, rgba(255, 255, 255, 0.96) 42%, rgba(237, 233, 254, 0.86) 100%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 58%, #ffffff 100%);
}

.hero-band::before,
.hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-band::before {
  background:
    linear-gradient(100deg, rgba(79, 70, 229, 0.1), rgba(255, 255, 255, 0) 46%, rgba(124, 58, 237, 0.1)),
    linear-gradient(rgba(79, 70, 229, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.035) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent 82%);
}

.hero-band::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 58%, #ffffff 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.85fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(3rem, 5.2vw, 4.85rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero-lede {
  margin: 26px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.text-link {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.verification-card,
.success-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.verification-card {
  width: 100%;
  padding: 28px;
}

.verification-card .info-banner {
  margin-top: 20px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.card-kicker,
.section-kicker {
  margin: 0;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-heading h2 {
  margin: 7px 0 0;
  color: #111827;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.secure-pill {
  min-height: 36px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #374151;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

.secure-pill svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 50%;
  background: var(--green);
  fill: #ffffff;
}

.field-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.input-shell {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.input-shell:focus-within {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.field-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  fill: #9ca3af;
  pointer-events: none;
}

.search-box {
  width: 100%;
  min-height: 46px;
  padding: 0 44px 0 42px;
  border: 0;
  outline: 0;
  border-radius: inherit;
  color: var(--ink);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 500;
}

.search-box::placeholder {
  color: #9ca3af;
}

.status-icon {
  position: absolute;
  right: 14px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.button,
.verify-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.button-primary {
  color: #ffffff;
  background: var(--indigo);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.22);
}

.button-primary:hover {
  background: var(--indigo-hover);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: #f9fafb;
}

.button-secondary:hover {
  background: #f3f4f6;
}

.button:disabled,
.verify-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

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

.status-message.is-success {
  color: var(--green);
}

.status-message.is-error {
  color: var(--red);
}

.checkout-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #bbf7d0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: panelIn 240ms ease both;
}

.checkout-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.checkout-copy p {
  margin: 0;
}

.checkout-title {
  color: #111827;
  font-weight: 800;
}

.info-banner {
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: #166534;
}

.info-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
}

.info-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.52;
}

.info-title {
  margin-bottom: 3px !important;
  color: #14532d;
  font-weight: 800;
}

.content-section,
.split-section {
  padding: 88px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-section h2 {
  margin: 8px 0 0;
  max-width: 760px;
  color: #111827;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

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

.info-card {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 800;
}

.info-card h3 {
  margin: 18px 0 9px;
  color: #111827;
  font-size: 1.18rem;
}

.info-card p,
.paragraph-stack p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 52px;
  border-top: 1px solid var(--line);
}

.paragraph-stack {
  display: grid;
  gap: 18px;
}

.site-footer {
  padding: 58px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 2fr);
  gap: 54px;
}

.footer-about {
  max-width: 360px;
}

.footer-brand,
.footer-about p {
  margin-bottom: 10px;
}

.footer-brand {
  gap: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.footer-columns h3 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-columns a,
.status-link {
  display: block;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
  text-decoration: none;
}

.footer-columns a:hover,
.status-link:hover {
  color: var(--indigo);
}

.status-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.success-page {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 72px 0;
  position: relative;
  z-index: 1;
}

.success-card {
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 54px);
  text-align: center;
}

.success-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  box-shadow: 0 18px 48px rgba(22, 163, 74, 0.18);
}

.success-icon svg {
  width: 56px;
  height: 56px;
  fill: var(--green);
}

.success-card h1 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

.success-card .desc-text {
  width: min(100%, 620px);
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.success-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(17, 24, 39, 0.18);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.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;
}

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

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 920px) {
  .header-inner,
  .hero-grid,
  .content-section,
  .split-section,
  .site-footer,
  .success-page {
    width: min(100% - 32px, 1180px);
  }

  .header-nav {
    display: none;
  }

  .hero-band {
    padding: 66px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 9vw, 4.2rem);
  }

  .content-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .content-section,
  .split-section {
    padding: 58px 0;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 64px;
  }

  .header-action {
    display: none;
  }

  .hero-band {
    padding: 88px 0 54px;
  }

  .hero-copy h1 {
    font-size: 2.58rem;
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 0.95rem;
  }

  .verification-card {
    padding: 18px;
  }

  .card-heading,
  .checkout-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-row {
    display: grid;
  }

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

  .site-footer {
    padding-top: 42px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 42px;
    row-gap: 30px;
  }

  .footer-columns > div:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-columns > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-columns > div:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-columns > div:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-columns h3 {
    margin-bottom: 18px;
  }

  .footer-columns a {
    margin-bottom: 14px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
