:root {
  --paper: #f6f3ed;
  --paper-deep: #eceae3;
  --white: #ffffff;
  --black: #050505;
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --muted-dark: rgba(17, 17, 17, 0.68);
  --muted-light: rgba(255, 255, 255, 0.72);
  --line-dark: rgba(17, 17, 17, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --accent: #111111;
  --accent-contrast: #ffffff;
  --success-bg: rgba(22, 163, 74, 0.12);
  --success-line: rgba(22, 163, 74, 0.32);
  --success-text: #14532d;
  --error-bg: rgba(220, 38, 38, 0.08);
  --error-line: rgba(220, 38, 38, 0.24);
  --error-text: #991b1b;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.light {
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  color: var(--ink);
}

.paper {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 55%, var(--paper-deep) 100%);
  color: var(--ink);
}

.dark {
  background: #0a0a0a;
  color: #ffffff;
}

.dark h1,
.dark h2,
.dark h3 {
  color: #ffffff;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Site header (black bar, mirrors bayar-pay.com) ---------- */

.site-header {
  background: #000000;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.site-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.site-header-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.site-header-tagline {
  font-size: 0.85rem;
  line-height: 1.25;
  font-weight: 600;
  color: #ffffff;
}

.site-header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-header-link:hover {
  color: #ffffff;
}

.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.site-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

/* ---------- Topbar (thin status line under header) ---------- */

.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 0 4px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

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

.topbar-status-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  padding: 28px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.hero-copy-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted-dark);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.94;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  line-height: 1.65;
}

.hero-copy {
  max-width: 30rem;
  font-size: 1.02rem;
  color: var(--muted-dark);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  align-self: flex-start;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-scroll:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-scroll-arrow {
  font-size: 1.1rem;
}

.hero-art {
  display: grid;
  justify-items: center;
}

.hero-art-frame {
  width: 100%;
  max-width: 440px;
  padding: 22px;
  border-radius: 28px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(17, 17, 17, 0.06) 0%, rgba(17, 17, 17, 0) 65%), #ffffff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-screen {
  width: 100%;
  border-radius: 18px;
}

.hero-art-caption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 4px;
}

.hero-art-brand {
  font-weight: 900;
  letter-spacing: -0.06em;
  font-size: 1.6rem;
}

.hero-art-tag {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ---------- Steps section ---------- */

.steps-header {
  text-align: center;
  padding: 72px 0 44px;
  max-width: 48rem;
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.eyebrow-dark {
  color: var(--muted-dark);
}

.steps-subtitle {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--muted-dark);
}

.steps {
  list-style: none;
  padding: 0 0 56px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 16px 44px -28px rgba(0, 0, 0, 0.22);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.step[data-state="active"] {
  border-color: rgba(17, 17, 17, 0.55);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.32);
}

.step[data-state="locked"] {
  opacity: 0.72;
}

.step[data-state="locked"] .badge-link {
  cursor: not-allowed;
}

.step[data-state="locked"] .badge-link img {
  filter: grayscale(0.4);
}

.step[data-state="done"] {
  border-color: var(--success-line);
  background: linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--ink);
}

.step[data-state="locked"] .step-number {
  color: rgba(17, 17, 17, 0.35);
}

.step-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}

.step[data-state="active"] .step-status {
  background: #111111;
  color: #ffffff;
}

.step[data-state="done"] .step-status {
  background: var(--success-bg);
  color: var(--success-text);
}

.step-copy {
  font-size: 0.98rem;
  color: var(--muted-dark);
}

.step-footnote {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted-dark);
}

/* ---------- Claim form ---------- */

.claim-box {
  margin-top: 6px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
}

.claim-box label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.claim-row {
  display: flex;
  gap: 10px;
}

.claim-row input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: #ffffff;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.claim-row input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

.claim-row button,
.cta {
  border: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.claim-row button:hover:not([disabled]),
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.claim-row button[disabled] {
  cursor: wait;
  opacity: 0.75;
}

.claim-box p {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted-dark);
}

.field-validation {
  margin-top: 10px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.field-validation.error {
  color: var(--error-text);
}

.claim-row input.invalid {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* ---------- Saved confirmation ---------- */

.step-saved {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: var(--success-bg);
  border: 1px solid var(--success-line);
  color: var(--success-text);
}

.step-saved-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #14532d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
}

.step-saved-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--success-text);
}

.step-saved-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--success-text);
  line-height: 1.55;
}

.step-saved-copy strong {
  font-weight: 800;
}

/* ---------- Badges ---------- */

.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.step-badges {
  margin-top: 4px;
}

.badge-link {
  display: inline-block;
  transition: transform 0.15s ease;
}

.badge-link:hover {
  transform: translateY(-1px);
}

.badge {
  height: 54px;
  width: auto;
  display: block;
}

.closing-badges {
  justify-content: center;
}

/* ---------- Dark feature strip ---------- */

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 44px 0 14px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  color: #ffffff;
}

.feature-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.feature p {
  font-size: 0.96rem;
  color: var(--muted-light);
  max-width: 28ch;
}

/* ---------- Statement ---------- */

.statement {
  padding: 56px 0 80px;
  text-align: center;
}

.statement-copy {
  max-width: 33rem;
  margin: 18px auto 0;
  font-size: 0.98rem;
  color: var(--muted-light);
}

.image-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.image-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
}

/* ---------- Closing ---------- */

.logo-type {
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
  color: var(--ink);
}

.closing {
  padding: 80px 0 88px;
  text-align: center;
}

.closing-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.logo-type.closing-brand {
  font-size: 3.4rem;
  margin: 22px auto 10px;
}

.closing-tagline {
  font-size: 1.02rem;
  font-weight: 700;
}

.closing-copy {
  max-width: 33rem;
  margin: 26px auto 0;
  font-size: 0.96rem;
  color: var(--muted-dark);
}

.closing-actions {
  margin-top: 24px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line-light);
  padding: 18px 0 22px;
  color: var(--muted-light);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

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

  .hero-art {
    order: -1;
  }

  .hero-art-frame {
    max-width: 360px;
  }

  h1 {
    max-width: none;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .image-strip img {
    height: 240px;
  }

  .footer .shell {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .site-header-inner {
    padding: 14px 0;
    gap: 14px;
  }

  .site-header-tagline {
    display: none;
  }

  .site-header-nav {
    gap: 16px;
  }

  .site-header-link {
    display: none;
  }
}

@media (max-width: 520px) {
  .topbar {
    font-size: 10px;
  }

  .hero-stats {
    gap: 22px;
  }

  .claim-row {
    flex-direction: column;
  }

  .step {
    padding: 26px 22px 28px;
  }
}
