:root {
  --page-bg: #ffffff;
  --panel: #f7f6ed;
  --text: #000;
  --accent: #fca311;
  --radius-lg: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

/* top bar */
.topbar {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1.8rem 1rem 1.2rem;
}

/* base logo style */
.logo-img {
  height: 70px;
  width: auto;
  display: block;
  transition: filter 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.logo-glow {
  filter: drop-shadow(0 0 14px rgba(252, 163, 17, 0.85));
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(252, 163, 17, 0.4);
}

/* main hero layout */
.hero-2col {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0rem;
  align-items: stretch;
  padding: 0 1rem 2.5rem;
}

.hero-left {
  background: #f3f3f3;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

/* hero images */
.hero-illustration {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #fff;
}

/* right text panel */
.hero-right {
  background: var(--panel);
  border-radius: 0;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tap-cta {
  font-size: clamp(2.8rem, 4vw, 3.2rem);
  font-weight: 700;
  margin: 0 0 1.2rem;
  line-height: 1.1;
  cursor: pointer;
}

.tagline {
  margin: 0;
  line-height: 1.5;
  max-width: 23rem;
  font-size: 1rem;
}

/* new form layout (stacked) */
.cta-form {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem 1.4rem;
  min-width: min(520px, 100%);
  text-align: left;
  box-shadow: 0 14px 40px rgba(0,0,0,0.045);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.form-title {
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: .6rem;
  padding: .55rem .75rem;
  font-size: .95rem;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
/* center the heading above the form */
.cta-form .form-title {
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}
.begin-btn {
  border: none;
  background: #000;
  color: #fff;
  font-weight: 600;
  border-radius: .6rem;
  padding: .6rem 1.2rem;
  cursor: pointer;
  transition: transform 100ms ease;
  align-self: flex-start;
}

.begin-btn:active {
  transform: translateY(1px);
}

/* disabled state */
.begin-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* success text */
.form-msg {
  margin-top: .25rem;
  font-size: .85rem;
  color: #0f5132;
}

/* responsive */
@media (max-width: 900px) {
  .hero-2col {
    grid-template-columns: 1fr;
  }

  .hero-left,
  .hero-right {
    min-height: auto;
  }

  .hero-right {
    padding: 2.25rem 1.5rem 2rem;
  }

  .footer {
    padding: 2rem 1rem 2.5rem;
  }

  .cta-form {
    min-width: 100%;
  }

  .hero-illustration {
    max-height: 360px;
    object-fit: cover;
  }
}

@media (max-width: 520px) {
  .tap-cta {
    font-size: 2.3rem;
  }

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

  .form-row button {
    width: 100%;
    text-align: center;
  }
}

/* ========================================= */
/*            ORI PULSE ADDITIONS            */
/* ========================================= */

/* 1. stacked logos */
.logo-wrap {
  position: relative;
  display: inline-block;
}

.logo-wrap .logo-base {
  display: block;
}

.logo-wrap .logo-pulse {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease-out;
  z-index: 1;           /* ensure pulse sits above base */
  pointer-events: none;
}

/* 2. stacked hero images */
.hero-wrap {
  position: relative;
  width: 100%;
}

.hero-wrap .hero-base {
  display: block;
  width: 100%;
  height: auto;
}

.hero-wrap .hero-pulse {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 180ms ease-out;
}

/* when active, both pulse layers fade in */
.hero-wrap .hero-pulse.active,
.logo-wrap .logo-pulse.active {
  opacity: 1;
}

/* smooth GPU compositing for fades */
.logo-pulse,
.hero-pulse {
  will-change: opacity;
  backface-visibility: hidden;
}
/* mobile tweaks */
@media (max-width: 600px) {
  .topbar {
    padding: 1rem 1rem 0.6rem;
  }

  .logo-img {
    height: 48px;  /* was 70px */
  }

  .hero-right {
    padding: 1.75rem 1.25rem 1.4rem;
  }
}
/* ===== mobile fixes ===== */
@media (max-width: 600px) {
  .topbar {
    padding: 0.6rem 0.5rem 0.2rem;
    justify-content: center;
  }

  /* clamp logo width, not just height */
  .logo-wrap {
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo-img {
    max-width: 82vw;   /* <= this is the important one */
    height: auto;      /* let it scale */
  }

  /* tighten right panel too */
  .hero-right {
    padding: 1.6rem 1.1rem 1.4rem;
  }
}