/* ==========================================================================
   Outroh waitlist page (outroh-waitlist.html only) -- pairs with waitlist.js.
   Dark theme is the default; [data-theme=light] overrides the tokens below.
   All classes use the wl- prefix.
   ========================================================================== */
:root {
   --wl-heading: #ffffff;
   --wl-text: #b0b2b7;
   --wl-card: #0b0f14;
   --wl-border: rgba(255, 255, 255, .08);
   --wl-field: #02050a;
   --wl-modal: #11151c;
   --wl-green: #16a34a;
   --wl-green-soft: rgba(22, 163, 74, .12);
}

[data-theme=light] {
   --wl-heading: #11151c;
   --wl-text: #5f6368;
   --wl-card: #f6f7f8;
   --wl-border: #e4e4e4;
   --wl-field: #f2f3f4;
   --wl-modal: #ffffff;
   --wl-green-soft: rgba(22, 163, 74, .1);
}

/* The light-mode header (frosted glass, green logo) is shared by every page:
   see "Light theme frosted header" in custom.css. */

/* ---- Hero ---------------------------------------------------------------- */
.wl-hero {
   position: relative;
   overflow: hidden;
   padding: 190px 0 90px;
   text-align: center;
}

.wl-glow {
   position: absolute;
   top: -180px;
   left: 50%;
   width: 1100px;
   height: 760px;
   transform: translateX(-50%);
   background: radial-gradient(closest-side, rgba(22, 163, 74, .28), rgba(22, 163, 74, 0));
   pointer-events: none;
   z-index: -1;
}

[data-theme=light] .wl-glow {
   background: radial-gradient(closest-side, rgba(22, 163, 74, .16), rgba(22, 163, 74, 0));
}

.wl-hero-text {
   max-width: 860px;
   margin: 0 auto;
}

.wl-brand {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 22px;
}

.wl-brand-mark {
   display: inline-grid;
   place-items: center;
   width: 44px;
   height: 44px;
   border-radius: 12px;
   background: #fff;
   box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35);
}

.wl-brand-mark img {
   width: 26px;
   height: auto;
}

.wl-brand-name {
   font-family: var(--rr-ff-heading);
   font-size: 24px;
   font-weight: 700;
   color: var(--wl-heading);
}

.wl-brand-by {
   font-size: 13px;
   color: var(--wl-text);
   padding-left: 10px;
   border-left: 1px solid var(--wl-border);
}

.wl-badge {
   display: table;
   margin: 0 auto 22px;
   padding: 7px 16px;
   border: 1px solid rgba(22, 163, 74, .35);
   border-radius: 999px;
   background: var(--wl-green-soft);
   color: var(--wl-green);
   font-size: 13px;
   font-weight: 600;
   letter-spacing: .06em;
   text-transform: uppercase;
}

.wl-dot {
   display: inline-block;
   width: 8px;
   height: 8px;
   margin-right: 6px;
   border-radius: 50%;
   background: var(--wl-green);
   vertical-align: 1px;
   animation: wl-pulse 1.8s ease-in-out infinite;
}

@keyframes wl-pulse {
   50% {
      box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
      opacity: .6
   }

   0%,
   100% {
      box-shadow: 0 0 0 0 rgba(22, 163, 74, .5)
   }
}

.wl-title {
   font-size: clamp(38px, 6vw, 70px);
   line-height: 1.08;
   letter-spacing: -.02em;
   font-weight: 700;
   color: var(--wl-heading);
   margin-bottom: 22px;
}

.wl-title span {
   color: var(--wl-green);
}

.wl-lead {
   max-width: 680px;
   margin: 0 auto 34px;
   font-size: 18px;
   line-height: 1.65;
   color: var(--wl-text);
}

/* "First 100 get it free" offer, right above the hero buttons. */
.wl-offer {
   display: table;
   margin: -10px auto 28px;
   padding: 10px 20px;
   border: 1px dashed rgba(22, 163, 74, .6);
   border-radius: 999px;
   background: var(--wl-green-soft);
   color: var(--wl-heading);
   font-size: 16px;
   line-height: 1.4;
}

.wl-offer strong {
   color: var(--wl-green);
}

.wl-offer i {
   margin-right: 6px;
   color: var(--wl-green);
}

.wl-actions {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   gap: 16px 30px;
}

.wl-actions .rr-primary-btn i,
.wl-steps-heading .rr-primary-btn i {
   margin-left: 10px;
}

/* Hero "Join the Waitlist": glow pulse, a shine sweep and an arrow nudge
   so the main call to action catches the eye. */
.wl-actions .wl-open {
   animation: wl-btn-glow 2.4s ease-in-out infinite;
}

.wl-actions .wl-open::after {
   content: "";
   position: absolute;
   top: 0;
   bottom: 0;
   left: -60%;
   width: 40%;
   background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
   transform: skewX(-20deg);
   animation: wl-btn-shine 3.2s ease-in-out infinite;
   pointer-events: none;
}

.wl-actions .wl-open i {
   animation: wl-btn-nudge 2.4s ease-in-out infinite;
}

.wl-actions .wl-open:hover,
.wl-actions .wl-open:hover i {
   animation-play-state: paused;
}

@keyframes wl-btn-glow {

   0%,
   100% {
      box-shadow: 0 0 0 0 rgba(22, 163, 74, .55), 0 0 18px rgba(22, 163, 74, .25)
   }

   60% {
      box-shadow: 0 0 0 14px rgba(22, 163, 74, 0), 0 0 30px rgba(22, 163, 74, .45)
   }
}

@keyframes wl-btn-shine {
   0% {
      left: -60%
   }

   45%,
   100% {
      left: 130%
   }
}

@keyframes wl-btn-nudge {

   0%,
   70%,
   100% {
      transform: rotate(-45deg) translate(0, 0)
   }

   80% {
      transform: rotate(-45deg) translate(4px, 0)
   }

   90% {
      transform: rotate(-45deg) translate(0, 0)
   }
}

@media (prefers-reduced-motion: reduce) {

   .wl-actions .wl-open,
   .wl-actions .wl-open::after,
   .wl-actions .wl-open i {
      animation: none;
   }
}

.wl-link {
   color: var(--wl-heading);
   font-weight: 600;
}

.wl-link i {
   margin-left: 6px;
   color: var(--wl-green);
}

.wl-link:hover {
   color: var(--wl-green);
}

.wl-perks {
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   gap: 10px 26px;
   margin: 30px 0 0;
   padding: 0;
   list-style: none;
   font-size: 14px;
   color: var(--wl-text);
}

.wl-perks i {
   color: var(--wl-green);
   margin-right: 6px;
}

/* Screenshot plus the floating waitlist graphics around it. */
.wl-visual {
   position: relative;
   max-width: 1040px;
   margin: 70px auto 0;
}

.wl-shot {
   border: 1px solid var(--wl-border);
   border-radius: 16px;
   overflow: hidden;
   background: var(--wl-card);
   box-shadow: 0 40px 90px -40px rgba(22, 163, 74, .45);
}

.wl-shot-bar {
   display: flex;
   align-items: center;
   gap: 7px;
   padding: 12px 16px;
   border-bottom: 1px solid var(--wl-border);
}

.wl-shot-bar span {
   width: 11px;
   height: 11px;
   border-radius: 50%;
   background: #ef4444;
}

.wl-shot-bar span:nth-child(2) {
   background: #f59e0b
}

.wl-shot-bar span:nth-child(3) {
   background: #22c55e
}

.wl-shot-bar em {
   margin: 0 auto;
   padding: 3px 40px;
   border-radius: 6px;
   background: var(--wl-field);
   font-size: 12px;
   font-style: normal;
   color: var(--wl-text);
}

/* The screenshot's bottom edge cuts through a stats row; crop it off. */
.wl-shot img {
   display: block;
   width: 100%;
   height: auto;
   aspect-ratio: 1200 / 610;
   object-fit: cover;
   object-position: top;
}

/* "Early access pass" ticket (inline SVG) and the invite chip. They bob
   gently; translate is used so the ticket keeps its rotate() tilt. */
.wl-ticket {
   position: absolute;
   left: -70px;
   bottom: -46px;
   width: 330px;
   height: auto;
   transform: rotate(-6deg);
   font-family: var(--rr-ff-heading);
   filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .35));
   animation: wl-float 5s ease-in-out infinite;
}

.wl-chip {
   position: absolute;
   top: 110px;
   right: -60px;
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 12px 20px 12px 12px;
   border: 1px solid var(--wl-border);
   border-radius: 12px;
   background: var(--wl-modal);
   box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45);
   color: var(--wl-heading);
   font-size: 14px;
   font-weight: 600;
   line-height: 1.3;
   text-align: left;
   animation: wl-float 5s ease-in-out 1.4s infinite;
}

.wl-chip small {
   display: block;
   margin-bottom: 2px;
   color: var(--wl-green);
   font-size: 11px;
   font-weight: 700;
   letter-spacing: .08em;
   text-transform: uppercase;
}

.wl-chip-icon {
   display: grid;
   place-items: center;
   width: 40px;
   height: 40px;
   border-radius: 10px;
   background: var(--wl-green-soft);
   color: var(--wl-green);
}

@keyframes wl-float {
   50% {
      translate: 0 -10px
   }
}

@media (max-width: 1199px) {
   .wl-ticket {
      left: -16px;
      width: 280px
   }

   .wl-chip {
      right: -10px
   }
}

/* At 992px and below the header is fixed and the page content already starts
   below it, so the hero needs no room for the header. */
@media (max-width: 992px) {
   .wl-hero {
      padding-top: 40px
   }
}

/* ---- Sections ------------------------------------------------------------ */
.wl-section {
   padding: 110px 0;
}










/* Features use the homepage service cards (.process-item-3, styled in
   main.css/custom.css); only the icon font and the screen label are added. */
.wl-features .process-item-3 .icon i {
   color: #fff;
   font-size: 32px;
}

.wl-section-lead {
   max-width: 620px;
   margin: 18px auto 0;
}

.wl-steps-heading p {
   margin: 18px 0 32px;
}

/* Which Outroh screen the card is about (Leads, Campaigns, ...). */
.wl-screen {
   display: block;
   margin-bottom: 8px;
   color: var(--wl-green);
   font-size: 12px;
   font-weight: 700;
   letter-spacing: .1em;
   text-transform: uppercase;
   transition: color .4s ease;
}

/* Green label vanishes on the card's green hover sweep; turn it the same
   near-black as the hovered icon circle. */
.process-item-3:hover .wl-screen {
   color: #111820;
}



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

.wl-steps {
   position: relative;
   margin: 0;
   padding: 0;
   list-style: none;
}

.wl-steps li {
   position: relative;
   display: flex;
   gap: 22px;
   padding: 26px 28px;
   border: 1px solid var(--wl-border);
   background: var(--wl-card);
}

.wl-steps li+li {
   margin-top: 18px;
}

/* dashed line joining the step numbers */
.wl-steps li:not(:last-child)::after {
   content: "";
   position: absolute;
   left: 49px;
   top: 72px;
   height: calc(100% - 28px);
   border-left: 2px dashed rgba(22, 163, 74, .35);
}

.wl-step-no {
   flex: none;
   display: grid;
   place-items: center;
   width: 44px;
   height: 44px;
   border-radius: 50%;
   background: var(--wl-green);
   color: #fff;
   font-weight: 700;
   font-size: 18px;
}

.wl-steps h3 {
   font-size: 20px;
   color: var(--wl-heading);
   margin-bottom: 6px;
}

.wl-steps p {
   margin: 0;
   color: var(--wl-text);
   font-size: 15px;
}

/* ---- Final CTA ----------------------------------------------------------- */
.wl-cta-section {
   padding: 0 0 120px;
}

.wl-cta {
   position: relative;
   overflow: hidden;
   padding: 80px 30px;
   text-align: center;
   background: linear-gradient(135deg, #15803d 0%, #16a34a 55%, #22c55e 100%);
}

.wl-cta::before {
   content: "";
   position: absolute;
   inset: 0;
   background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .22), transparent 45%);
   pointer-events: none;
}

.wl-cta h2,
[data-theme=light] .wl-cta h2 {
   position: relative;
   max-width: 720px;
   margin: 0 auto 14px;
   font-size: clamp(30px, 4vw, 48px);
   line-height: 1.15;
   color: #fff;
}

.wl-cta p {
   position: relative;
   margin-bottom: 32px;
   color: rgba(255, 255, 255, .88);
   font-size: 18px;
}

.wl-cta-btn {
   position: relative;
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 20px 32px;
   border: 0;
   background: #fff;
   color: #15803d;
   font-family: var(--rr-ff-heading);
   font-size: 16px;
   font-weight: 700;
   transition: transform .25s ease, box-shadow .25s ease;
}

.wl-cta-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4);
}

.wl-built {
   position: relative;
   display: block;
   margin-top: 26px;
   color: rgba(255, 255, 255, .8);
   font-size: 14px;
}

/* ---- Popup --------------------------------------------------------------- */
.wl-modal {
   /* the template's global margin reset drops the dialog's centring margin */
   margin: auto;
   width: min(480px, calc(100% - 32px));
   max-height: calc(100% - 32px);
   padding: 0;
   border: 1px solid var(--wl-border);
   background: var(--wl-modal);
   color: var(--wl-text);
   box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
}

.wl-modal[open] {
   animation: wl-pop .25s ease-out;
}

@keyframes wl-pop {
   from {
      opacity: 0;
      transform: translateY(16px) scale(.98)
   }
}

.wl-modal::backdrop {
   background: rgba(2, 5, 10, .72);
   backdrop-filter: blur(4px);
}

.wl-modal-body {
   padding: 40px 36px 32px;
}

.wl-close {
   position: absolute;
   top: 14px;
   right: 14px;
   width: 38px;
   height: 38px;
   border: 0;
   border-radius: 50%;
   background: var(--wl-field);
   color: var(--wl-heading);
   font-size: 18px;
}

.wl-close:hover {
   color: var(--wl-green);
}

.wl-modal-head {
   text-align: center;
   margin-bottom: 26px;
}

.wl-modal-head .wl-brand-mark {
   margin-bottom: 16px;
}

.wl-modal h2 {
   font-size: 26px;
   color: var(--wl-heading);
   margin-bottom: 8px;
}

.wl-modal-head p {
   margin: 0;
   font-size: 15px;
}

.wl-field {
   margin-bottom: 18px;
}

.wl-field label {
   display: block;
   margin-bottom: 8px;
   color: var(--wl-heading);
   font-size: 14px;
   font-weight: 600;
}

.wl-field .xe-req {
   color: #ef4444;
}

.wl-opt {
   font-weight: 400;
   color: var(--wl-text);
}

.wl-field input {
   width: 100%;
   height: 52px;
   padding: 0 18px;
   border: 1px solid var(--wl-border);
   background: var(--wl-field);
   color: var(--wl-heading);
   font-size: 15px;
   transition: border-color .2s ease, box-shadow .2s ease;
}

.wl-field input::placeholder {
   color: #74787c;
}

.wl-field input:focus {
   outline: 0;
   border-color: var(--wl-green);
   box-shadow: 0 0 0 3px rgba(22, 163, 74, .18);
}

.wl-field.has-error input {
   border-color: #ef4444;
   box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}

.wl-field .xe-error {
   display: block;
   margin-top: 6px;
   font-size: 13px;
   line-height: 1.4;
   color: #f87171;
}

[data-theme=light] .wl-field .xe-error {
   color: #dc2626;
}

.wl-submit {
   width: 100%;
   justify-content: center;
   gap: 10px;
   margin-top: 6px;
   border: 0;
}

.wl-submit:disabled {
   cursor: wait;
   opacity: .85;
}

.wl-submit .xe-spinner {
   display: none;
   width: 16px;
   height: 16px;
   border: 2px solid rgba(255, 255, 255, .35);
   border-top-color: #fff;
   border-radius: 50%;
   animation: wl-spin .7s linear infinite;
}

.wl-submit.is-loading .xe-spinner {
   display: inline-block;
}

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

.wl-status {
   margin: 16px 0 0;
   padding: 12px 16px;
   border-left: 3px solid #ef4444;
   background: rgba(239, 68, 68, .1);
   color: #f87171;
   font-size: 14px;
}

[data-theme=light] .wl-status {
   color: #dc2626;
}

.wl-privacy {
   margin: 16px 0 0;
   text-align: center;
   font-size: 13px;
   line-height: 1.5;
}

.wl-privacy i {
   margin-right: 4px;
   color: var(--wl-green);
}

.wl-done {
   text-align: center;
   padding: 10px 0 4px;
}

.wl-done-icon {
   display: inline-grid;
   place-items: center;
   width: 68px;
   height: 68px;
   margin-bottom: 20px;
   border-radius: 50%;
   background: var(--wl-green-soft);
   color: var(--wl-green);
   font-size: 30px;
}

.wl-done-title:focus {
   outline: 0;
}

.wl-done-text {
   margin-bottom: 26px;
   font-size: 15px;
}

.wl-close-done {
   border: 0;
   padding: 18px 40px;
}

/* ---- Small screens ------------------------------------------------------- */
@media (max-width: 767px) {

   /* the header is a solid bar above the content at this width (custom.css) */
   .wl-hero {
      padding: 36px 0 60px
   }

   .wl-lead {
      font-size: 16px
   }

   .wl-brand-by {
      display: none
   }

   .wl-visual {
      margin-top: 50px
   }

   .wl-shot {
      border-radius: 12px
   }

   .wl-ticket {
      width: 210px;
      left: -4px;
      bottom: -36px
   }

   .wl-chip {
      display: none
   }

   .wl-shot-bar em {
      display: none
   }

   .wl-section {
      padding: 80px 0
   }

   .wl-steps li {
      padding: 22px 20px;
      gap: 16px
   }

   .wl-steps li:not(:last-child)::after {
      left: 41px
   }

   .wl-cta {
      padding: 56px 22px
   }

   .wl-cta-section {
      padding-bottom: 80px
   }

   .wl-modal-body {
      padding: 36px 22px 26px
   }
}


/* Steps and the final CTA read better a bit narrower than the 1405px site container. */
.wl-steps-section .container,
.wl-cta-section .container {
   max-width: 1200px;
}

/* Phones: the buttons stack, so "See what it does ↓" sat right above the
   perks list and its arrow seemed to point at the perks instead of the
   features. The features are just a short scroll away on a phone, so drop
   the link there and keep the perks tight under the Join button. */
@media (max-width: 767px) {
   .wl-actions .wl-link {
      display: none
   }

   .wl-perks {
      margin-top: 22px
   }
}

/* Tablets (768-992px): same solid header bar above the content, so the
   desktop's 190px top padding (room for the floating header) is too much. */
@media (min-width: 768px) and (max-width: 992px) {
   .wl-hero {
      padding-top: 56px
   }
}