/* Online Brand Momentum — landing page styles */

:root {
  --red: #ea1017;
  --red2: #c90008;
  --ink: #101722;
  --muted: #596270;
  --line: #dfe3e8;
  --soft: #f6f7f9;
  --navy: #071521;
  --footer: #0d1f33;
  --max: 1180px;
  --field: #f1f3f6;
  --field-line: #e6e9ee;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}

a { text-decoration: none; color: inherit }
button, input { font: inherit }

h1, h2 {
  font-family: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}

/* ===== Header — sits over the hero artwork ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 88px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  display: block;
  height: 58px;
  width: auto;
}
.brand-name {
  display: inline-block;
  color: #090d12;
  font-family: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.top-btn {
  border: 0;
  background: #090d12;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.top-btn:hover { background: #1b2430 }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}
/* The artwork bleeds to the right edge of the viewport, the copy stays in the container.
   The slot is close to square while the artwork is 3:2, so it is letterboxed with
   `contain` over a dark field — `cover` would cut off the queen or the ticker panel.
   The artwork's own edges are feathered to transparency, which hides the letterbox. */
.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(50% + 22px);
  background:
    url('../assets/hero-money-ai.webp') 100% 50%/contain no-repeat,
    radial-gradient(120% 92% at 58% 46%, #0e2438 0%, #071521 60%, #040e17 100%);
}
/* The queen sits ~23% in from the left edge of the artwork, so the fade has to
   stop well before her — anything wider washes out her face. */
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .72) 5%, rgba(255, 255, 255, 0) 17%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 545px) 1fr;
  min-height: 650px;
}
.hero-copy {
  padding: 104px 26px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.06;
  letter-spacing: -.5px;
  margin: 0 0 24px;
  font-weight: 800;
}
.hero h1 .red { color: var(--red) }
.bullets {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.bullet {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
}
.check {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}
.form-label {
  font-family: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px;
}

/* ===== Registration form ===== */
.lead-form {
  display: grid;
  gap: 10px;
  max-width: 455px;
}
.lead-form .form-group {
  position: relative;
  margin: 0;
}
.lead-form .form-control {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  border: 1px solid var(--field-line);
  border-radius: 10px;
  background: var(--field) no-repeat 15px center;
  background-size: 20px 20px;
  color: var(--ink);
  outline: none;
}
.lead-form .form-control::placeholder,
.reg-modal-form .form-control::placeholder { color: #8b929c; opacity: 1 }
.lead-form .form-control:focus,
.reg-modal-form .form-control:focus {
  border-color: #b9c0ca;
  background-color: #fff;
}
/* Field icons are inline so the form needs no extra requests. */
.lead-form [data-input="firstname"],
.lead-form [data-input="lastname"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b929c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}
.lead-form [data-input="email"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b929c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
}
/* An empty message must not reserve space, or the fields drift apart. */
.error-message {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--red);
}
.error-message:empty { display: none }
.form-group.error .form-control { border-color: var(--red) }
/* The phone validator appends its example number even when the value is valid. */
.form-group.success .error-message { display: none }

.form-group__emailValid-info {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
}
.form-group.info .form-group__emailValid-info {
  display: flex;
  flex-wrap: wrap;
}
.form-group__emailValid-btn {
  cursor: pointer;
  font-weight: 700;
  color: var(--red);
  text-decoration: underline;
}

/* intlTelInput runs with separateDialCode, so the flag and dial code sit inside the field. */
.reg-phone { position: relative }
.reg-phone .iti {
  width: 100%;
  display: block;
}
.reg-phone .iti__flag-container { z-index: 10 }
.reg-phone .iti--separate-dial-code .iti__selected-flag {
  height: 52px;
  padding: 0 12px 0 15px;
  background: transparent;
  border-radius: 10px 0 0 10px;
}
.reg-phone .iti__selected-dial-code {
  margin-left: 8px;
  font-weight: 600;
  color: var(--ink);
}
.reg-phone .form-control {
  padding-left: 16px;
  background-image: none;
}
/* The list has to clear the modal, which sits at z-index 8000. */
.reg-phone .iti__country-list {
  z-index: 8600;
  max-height: 220px;
  text-align: left;
  color: var(--ink);
}
.age-note {
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #656f7c;
}
.cta {
  height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}
.cta:hover { background: var(--red2) }

/* ===== Stats ===== */
.stats {
  background: var(--soft);
  border-top: 1px solid #eceef1;
  border-bottom: 1px solid #e5e7ea;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 122px;
  align-items: center;
}
.stat {
  text-align: center;
  position: relative;
}
.stat:not(:last-child):after {
  content: "";
  width: 1px;
  height: 52px;
  background: #d3d8de;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.stat strong {
  display: block;
  font-family: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 36px;
  letter-spacing: -.5px;
}
.stat span {
  display: block;
  font-size: 12.5px;
  margin-top: 6px;
  color: var(--muted);
}

/* ===== Benefits ===== */
.benefits {
  padding: 58px 0 66px;
  text-align: center;
}
.benefits h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -.3px;
}
.benefits .sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 42px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.benefit {
  padding: 0 42px;
  position: relative;
}
.benefit:not(:last-child):after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 4px;
  width: 1px;
  background: #e3e7ec;
}
.benefit svg {
  display: block;
  margin: 0 auto 16px;
  color: var(--red);
}
.benefit h3 {
  font-size: 16px;
  margin: 0 0 9px;
}
.benefit p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.benefit-cta { margin-top: 40px }
.benefit-cta .cta { width: 320px }

/* ===== Footer ===== */
.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, .55);
  text-align: center;
  padding: 30px 0 34px;
}
.site-footer .footer-brand {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 18px;
  border-radius: 10px;
  background: #fff;
}
.site-footer .footer-brand img {
  display: block;
  height: 46px;
  width: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  margin-bottom: 18px;
}
.footer-links span {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .82);
}
.footer-links span:hover { color: #fff }
.site-footer p {
  max-width: 980px;
  margin: 0 auto 12px;
  font-size: 11.5px;
  line-height: 1.75;
}
.site-footer strong { color: rgba(255, 255, 255, .8) }
.site-footer .copyright {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ===== Modals ===== */
.obm-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8000;
  padding: 16px;
  overflow-y: auto;
  background: rgba(16, 23, 34, .68);
}
.obm-modal.open { display: block }
.obm-modal__content {
  position: relative;
  width: min(640px, 100%);
  margin: 5vh auto;
  padding: 30px 28px;
  border-radius: 14px;
  background: #fff;
}
.obm-modal__content--form { width: min(460px, 100%) }
.obm-modal__close {
  position: absolute;
  top: 10px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.obm-modal__content h2 {
  font-size: 26px;
  margin: 0 0 12px;
}
.obm-modal__content h3 {
  font-size: 16px;
  margin: 18px 0 8px;
}
.obm-modal__content p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.obm-modal__copy {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
}
.reg-eyebrow {
  margin: 0 0 6px !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--red) !important;
}
.reg-sub { margin-bottom: 20px !important }
.reg-modal-form {
  display: grid;
  gap: 10px;
}

/* ===== Cookie bar ===== */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7500;
  padding: 12px 20px;
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  line-height: 1.6;
}
.cookie-bar.is-hidden { display: none !important }
.cookie-bar p {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}
.cookie-bar a {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-bar button {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* ===== Submit overlay ===== */
.submit-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: rgba(16, 23, 34, .85);
}
.submit-overlay.is-active,
.submit-overlay[style*="flex"] { display: flex !important }
.submit-overlay__spinner {
  width: 62px;
  height: 62px;
  border: 5px solid rgba(255, 255, 255, .22);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: obmSpin .85s linear infinite;
}
.submit-overlay__text {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
@keyframes obmSpin { to { transform: rotate(360deg) } }

/* ===== Responsive ===== */
/* On mid-size desktops the copy column narrows, so the artwork slot is widened to
   keep the picture from shrinking too far. */
@media (max-width: 1400px) {
  .hero h1 { font-size: 45px }
  .hero-grid {
    grid-template-columns: minmax(0, 480px) 1fr;
    min-height: 600px;
  }
  .hero-copy { padding: 92px 22px 42px 0 }
  .hero-art { width: calc(50% + 46px) }
}

@media (max-width: 1250px) {
  .hero h1 { font-size: 43px }
  .hero-copy { padding: 86px 20px 38px 0 }
  .hero-art { width: calc(50% + 96px) }
}

@media (max-width: 1080px) {
  .benefit { padding: 0 24px }
}

/* Stacked layout: the artwork gets a frame of its own proportions, so the whole
   composition stays visible instead of being cropped to a band. */
@media (max-width: 1080px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
  .site-header { order: 0 }
  .hero-grid { order: 1 }
  .hero-art { order: 2 }
  .site-header {
    position: static;
    height: 66px;
    background: #fff;
  }
  .hero-art {
    position: static;
    width: min(100%, 560px);
    margin: 0 auto;
    aspect-ratio: 587 / 341; /* matches the artwork, so nothing is letterboxed here */
    background-position: center;
  }
  .hero-art:after { display: none }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy { padding: 30px 0 26px }
  .lead-form { max-width: 560px; margin: 0 auto }
  .hero-copy { text-align: left }
  .stats-grid { grid-template-columns: repeat(2, 1fr) }
  .stat { padding: 22px }
  .stat:nth-child(2):after { display: none }
  .stat:nth-child(-n+2) { border-bottom: 1px solid #dfe3e7 }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .benefit:after { display: none }
  .footer-links { gap: 10px 20px }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--max)) }
  .brand img { height: 40px }
  .top-btn { font-size: 12px; padding: 10px 14px }
  .hero h1 { font-size: 36px; letter-spacing: -.3px }
  .bullet { font-size: 14px }
  .stat strong { font-size: 30px }
  .benefits { padding: 44px 0 50px }
  .benefits h2 { font-size: 26px }
  .benefit-cta .cta { width: 100% }
  .obm-modal__content { padding: 26px 18px }
}
