:root {
  --by-max-w: 1280px;
  --by-gutter: 24px;
}

.by-container {
  max-width: var(--by-max-w);
  margin: 0 auto;
  padding: 0 var(--by-gutter);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Satoshi-Regular", sans-serif;
  color: #00152b;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

html,
body {
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ---- NAV (identical to home/explore) ---- */
.by-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 249, 253, 0.98);
  backdrop-filter: blur(10px);
}

.admin-bar .by-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .by-header {
    top: 46px;
  }
}

.by-nav-inner {
  max-width: var(--by-max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.by-nav-logo img {
  height: 36px;
}

.by-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.by-nav-links ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.by-nav-links a {
  font-size: 15px;
  font-family: "Satoshi-Bold", sans-serif !important;
  color: #00152b;
  transition: color 0.15s;
  letter-spacing: -0.48px;
}

.by-nav-links a:hover,
.by-nav-links a.active,
.by-nav-links .current-menu-item a {
  color: #078e45;
}

.by-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.by-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.by-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #00152b;
  border-radius: 2px;
  transition: all 0.2s;
}

/* ---- BUTTONS (identical to home/explore) ---- */
.by-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Satoshi-Bold", sans-serif !important;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  white-space: nowrap;
}

.by-btn-green {
  background: #078e45;
  color: #fff;
}

.by-btn-green:hover {
  background: #066b35;
}

.by-btn-outline {
  background: transparent;
  color: #00152b;
  border: 1.5px solid #00152b;
}

.by-btn-outline:hover {
  background: #00152b;
  color: #fff;
}

.by-btn-ghost {
  background: transparent;
  color: #374151;
  border: 1.5px solid #e5e7eb;
}

.by-btn-ghost:hover {
  border-color: #00152b;
  color: #00152b;
}

.by-btn-lg {
  padding: 13px 26px;
  font-size: 15px;
}

/* ---- HERO ---- */
.hiw-hero {
  background: transparent;
  padding: 20px 0 12px;
  margin-bottom: 16px;
  text-align: center;
  margin-top: 30px;
}

.hiw-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hiw-hero h1 {
  font-family: "Satoshi-Bold", sans-serif !important;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -1.92px;
  color: #00152b;
  margin-top: 20px;
  margin-bottom: 10px;
}

.hiw-hero p {
  margin-top: 8px;
  font-family: "Satoshi-Medium", sans-serif !important;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.54px;
  color: #00152b;
}

/* ---- TIMELINE ---- */
.hiw-timeline {
  padding: 8px 0 64px;
}

.hiw-timeline-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.hiw-timeline-line {
  display: block;
  position: absolute;
  left: calc(50% - 24px);
  top: 0;
  bottom: 0;
  width: 16px;
  z-index: 0;
  pointer-events: none;
}

.hiw-timeline-line img {
  width: 16px;
  height: 100%;
  object-fit: fill;
}

.hiw-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 4px 0;
  position: relative;
  z-index: 1;
}

.hiw-row-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hiw-icon-circle img {
  width: 100px;
  height: 100px;
  display: block;
  flex-shrink: 0;
}

.hiw-row-text h3 {
  font-family: "Satoshi-Bold", sans-serif !important;
  font-size: 26px;
  color: #00152b;
  margin-bottom: 10px;
  letter-spacing: -0.78px;
}

.hiw-row-text p {
  font-family: "Satoshi-Medium", sans-serif !important;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.54px;
  color: #00152b;
}

.hiw-row-mid {
  display: flex;
  justify-content: center;
}

.hiw-row-right img {
  width: 100%;
  max-width: 560px;
}

/* ---- CTA BANNER ---- */
.hiw-cta {
  padding: 0 0 56px;
}

.hiw-cta-inner {
  background: #00152b;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 300px;
}

.hiw-cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 32px 40px;
  min-width: 0;
}

.hiw-cta-text h2 {
  font-family: "Satoshi-Bold", sans-serif !important;
  font-size: 35px;
  letter-spacing: -1.05px;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  margin-bottom: 16px;
}

.hiw-cta-img {
  flex: 1;
  max-width: 35%;
  max-height: 300px;
}

.hiw-cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hiw-cta-text .by-btn {
  align-self: flex-start;
}

/* ---- FOOTER BANNER (same as home/explore) ---- */
.by-footer-banner {
  max-width: 1800px;
  margin: 0 auto;
  background: transparent linear-gradient(270deg, #7037d6 0%, #04553c 100%) 0%
    0% no-repeat padding-box;
  border-radius: 20px 20px 0 0;
  padding: 24px 32px;
  box-sizing: border-box;
  width: calc(100% - 48px);
}

.by-footer-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.by-footer-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.by-footer-banner-text strong {
  font-family: "Satoshi-Bold", sans-serif !important;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.66px;
}

.by-footer-banner-text span {
  font-family: "Satoshi-Medium", sans-serif !important;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: -0.48px;
}

.by-footer-banner-perks {
  display: flex;
  align-items: center;
}

.by-footer-perk {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.by-footer-perk:last-child {
  border-right: none;
  padding-right: 0;
}

.by-footer-perk:first-child {
  padding-left: 0;
}

.by-footer-perk img {
  width: 14px;
  height: 20px;
}

.by-footer-perk strong {
  font-family: "Satoshi-Bold", sans-serif !important;
  display: block;
  font-size: 16px;
  letter-spacing: -0.48px;
  color: #fff;
}

.by-footer-perk span {
  font-family: "Satoshi-Medium", sans-serif !important;
  display: block;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: -0.48px;
}

/* ---- MOBILE LOGIN LINK ---- */
.by-nav-links a.by-nav-login-mobile {
  display: none;
}

@media (max-width: 400px) {
  .by-nav-links a.by-nav-login-mobile {
    display: inline-flex;
    justify-content: center;
    margin: 8px 24px 4px;
    width: calc(100% - 48px);
    padding: 10px 20px;
    font-size: 15px;
  }

  .by-nav-actions > a[href*="login"] {
    display: none;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .by-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    z-index: 200;
  }

  .by-nav-links.open {
    display: flex;
  }

  .by-nav-links ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .by-nav-links a {
    padding: 12px 24px;
    font-size: 15px;
    display: block;
  }

  .by-hamburger {
    display: flex;
  }

  .hiw-hero h1 {
    font-size: 36px;
  }

  .hiw-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
    justify-items: center;
    text-align: center;
  }

  .hiw-row-left {
    justify-content: center;
  }

  .hiw-row-text h3,
  .hiw-row-text p {
    text-align: left;
  }

  .hiw-row-right {
    width: 100%;
    max-width: 560px;
  }

  .hiw-row-mid {
    display: none;
  }

  .hiw-timeline-line {
    display: none !important;
  }

  .hiw-cta-inner {
    flex-direction: column;
    min-height: auto;
  }

  .hiw-cta-img {
    display: none;
  }

  .hiw-cta-text {
    padding: 32px 28px;
    align-items: flex-start;
  }

  .hiw-cta-text h2 {
    white-space: normal;
    font-size: 24px;
  }

  .by-footer-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .by-footer-banner-perks {
    width: 100%;
    gap: 0;
    flex-wrap: wrap;
  }

  .by-footer-perk {
    flex-direction: row;
    align-items: start;
    gap: 12px;
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 180px;
  }

  .by-footer-perk:last-child {
    border-bottom: none;
  }

  .by-footer-perk:first-child {
    padding-left: 0;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .hiw-hero {
    padding: 40px 0 40px;
  }

  .by-nav-actions {
    gap: 6px;
  }

  .by-nav-actions .by-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .hiw-hero h1 {
    font-size: 30px;
  }

  .by-footer-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .by-footer-banner-perks {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .by-footer-perk {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
  }

  .by-footer-perk:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .by-footer-perk:first-child {
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .hiw-hero h1 {
    font-size: 26px;
  }

  .hiw-cta-text h2 {
    font-size: 22px;
  }

  .hiw-form-mock-select {
    padding: 10px 10px;
    font-size: 12px;
  }
}

/* ---- CREATE STEP FORM MOCK (replaces blurry/broken screenshot) ---- */
.hiw-form-mock {
  width: 100%;
  max-width: 500px;
  margin: 24px 0 0 20px;
  background: #fff;
  border: 1.5px solid rgba(0, 21, 43, 0.05);
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 21, 43, 0.031);
  padding: 18px 18px;
}

@media (max-width: 600px) {
  .hiw-form-mock {
    max-width: 480px;
  }
}
.hiw-form-mock-legend {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.hiw-form-mock-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Satoshi-Medium", sans-serif !important;
  font-size: 13px;
  color: #00152b;
}

.hiw-form-mock-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  box-sizing: content-box;
}

.dot-red {
  background: #c63a2d;
  border: 2px solid #00152b;
}

.dot-purple {
  background: #7332c1;
  border: 2px solid #00152b;
}

.dot-orange {
  background: #ec9e38;
  border: 2px solid #00152b;
}

.hiw-form-mock-field {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 11px 14px;
  font-family: "Satoshi-Regular", sans-serif !important;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.hiw-form-mock-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.hiw-form-mock-row:last-child {
  margin-bottom: 0;
}

.hiw-form-mock-select {
  flex: 1;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: "Satoshi-Regular", sans-serif !important;
  font-size: 13px;
  color: #00152b;
  min-width: 0;
}

.hiw-form-mock-select-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Satoshi-Regular", sans-serif !important;
  min-width: 0;
}

.hiw-form-mock-select svg {
  flex-shrink: 0;
}

.hiw-form-mock-row-3 .hiw-form-mock-field-sm {
  flex: 1;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Satoshi-Regular", sans-serif !important;
  font-size: 12px;
  color: #9ca3af;
  min-width: 0;
}
@media (max-width: 500px) {
  .hiw-form-mock {
    margin-left: 0;
  }
}
.by-mobile-cta-bar {
  display: none;
}

@media (max-width: 500px) {
  .by-nav-actions .by-btn {
    display: none;
  }

  .by-mobile-cta-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0, 21, 43, 0.06);
    z-index: 999;
  }

  .by-mobile-cta-bar .by-btn {
    flex: 1;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  body {
      padding-bottom: 85px !important;
  }
}