/* LeisureOS shared Astro shell
   Keeps the CMS-driven Header / Footer / generic page components
   visually consistent on BOTH homepage and inner pages. */

:root{
  --green:#173c3b;
  --green-2:#23524f;
  --mint:#eef5f2;
  --mint-2:#e2ede8;
  --coral:#ff9877;
  --coral-2:#ffad91;
  --ink:#153230;
  --muted:#617774;
  --line:#d4e1dc;
  --white:#fff;
  --shadow:0 24px 70px rgba(23,60,59,.10);
}

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

/* Shared header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.header .nav{
  height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.header .brand,
.footer .brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--green);
  font-weight:850;
  font-size:24px;
  line-height:1;
  letter-spacing:-.045em;
  text-decoration:none;
}
.header .mark,
.footer .mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  position:relative;
  background:var(--green);
  color:#fff;
  border-radius:10px;
  font-size:21px;
}
.header .mark::after,
.footer .mark::after{
  content:"";
  position:absolute;
  width:7px;
  height:7px;
  border-radius:50%;
  right:6px;
  top:6px;
  background:var(--coral);
}

.desktop-nav{
  display:flex;
  align-items:center;
  gap:26px;
  color:#45625e;
  font-size:14.5px;
  font-weight:700;
}
.desktop-nav a{
  color:inherit;
  text-decoration:none;
}
.desktop-nav a:hover,
.desktop-nav a.active{
  color:var(--green);
}
.desktop-nav a.active{
  text-decoration:underline;
  text-underline-offset:7px;
}

.desktop-actions{
  display:flex;
  align-items:center;
  gap:9px;
}

.btn{
  min-height:48px;
  padding:0 19px;
  border:1px solid transparent;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font:inherit;
  font-size:15px;
  font-weight:800;
  line-height:1;
  letter-spacing:-.018em;
  text-decoration:none;
  cursor:pointer;
}
.btn-primary{
  background:var(--coral);
  border-color:var(--coral);
  color:var(--green);
}
.btn-primary:hover{
  background:var(--coral-2);
}
.btn-outline{
  background:#fff;
  border-color:#bfd0ca;
  color:var(--green);
}
.btn-outline:hover{
  background:#f5f8f7;
  border-color:#8eaaa2;
}
.btn-text{
  background:transparent;
  color:var(--green);
}

.hamburger{
  display:none;
  width:42px;
  height:42px;
  border:0;
  border-radius:10px;
  padding:10px;
  background:#f1f6f5;
}
.hamburger span{
  display:block;
  height:2px;
  margin:4px 0;
  border-radius:2px;
  background:var(--green);
}

/* The duplicate navigation visible on inner pages was the mobile menu
   rendering without its homepage stylesheet. */
.mobile-menu{
  display:none;
  position:fixed;
  inset:84px 0 0;
  z-index:49;
  overflow:auto;
  padding:22px 20px 30px;
  background:#fff;
}
.mobile-menu.open{
  display:block;
}
.mobile-menu nav{
  display:grid;
  gap:4px;
}
.mobile-menu nav a{
  padding:15px 4px;
  border-bottom:1px solid var(--line);
  color:var(--green);
  font-size:18px;
  font-weight:800;
  text-decoration:none;
}
.mobile-menu .menu-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:24px;
}

/* CMS-driven inner-page primitives */
.kicker{
  margin-bottom:12px;
  color:#55766f;
  font-size:12px;
  font-weight:850;
}
.section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.85fr);
  gap:80px;
  align-items:end;
  margin-bottom:36px;
}
.section-head p{
  margin:0;
  max-width:480px;
  color:#455f5a;
}
.venue-card{
  min-height:210px;
  padding:25px;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #e0e9e6;
  border-radius:14px;
}
.venue-card h3{
  margin:14px 0 8px;
  color:var(--green);
}
.venue-card p{
  margin:0;
  color:#455f5a;
}

/* Shared footer */
.footer{
  padding:52px 0 48px;
  background:#fff;
  color:var(--green);
  border-top:1px solid var(--line);
}
.footer .footer-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  padding-bottom:0;
}
.footer-copy{
  max-width:330px;
  margin-top:16px;
  color:#405b56;
  font-size:14px;
  line-height:1.7;
}
.footer .footer-links{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
}
.footer .footer-links strong{
  display:block;
  margin-bottom:12px;
  color:var(--green);
  font-size:13px;
  letter-spacing:0;
  text-transform:none;
}
.footer .footer-links a{
  display:block;
  margin:8px 0;
  padding:0;
  color:#405b56;
  font-size:13px;
  text-decoration:none;
}
.footer .footer-links a:hover{
  color:var(--green);
  text-decoration:underline;
}
.footer .footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:18px;
  margin-top:36px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:#405b56;
  font-size:12px;
}
.footer-credit,
.footer-legal-inline{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.footer-credit a,
.footer-legal-inline a{
  color:var(--green);
  text-decoration:none;
}
.footer-credit a:hover,
.footer-legal-inline a:hover{
  text-decoration:underline;
}

@media(max-width:900px){
  .desktop-nav,
  .desktop-actions{
    display:none;
  }
  .hamburger{
    display:block;
  }
  .header .nav{
    height:68px;
  }
  .mobile-menu{
    inset:68px 0 0;
  }
  .section-head{
    grid-template-columns:1fr;
    gap:20px;
  }
  .footer .footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }
}

@media(max-width:620px){
  .shell{
    width:calc(100% - 28px);
  }
  .header .brand,
  .footer .brand{
    font-size:21px;
  }
  .mobile-menu .menu-actions{
    grid-template-columns:1fr;
  }
  .footer{
    padding:44px 0 42px;
  }
  .footer .footer-links{
    grid-template-columns:1fr 1fr;
    gap:28px;
  }
  .footer .footer-bottom{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* Platform-controlled pricing */
.pricing-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:24px 0;
  flex-wrap:wrap;
}
.pricing-cycle-toggle{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border-radius:12px;
  background:#edf3f1;
}
.pricing-cycle-toggle button{
  min-height:42px;
  padding:0 14px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#5a726d;
  font:inherit;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}
.pricing-cycle-toggle button span{
  margin-left:6px;
  font-size:10px;
  opacity:.68;
}
.pricing-cycle-toggle button.active{
  background:#fff;
  color:var(--green);
  box-shadow:0 1px 6px rgba(23,60,59,.12);
}
.live-plan-price{
  display:flex;
  align-items:baseline;
  gap:6px;
}
.live-plan-price strong{
  font:inherit;
}
.live-plan-price span{
  font-size:13px;
  font-weight:700;
  letter-spacing:0;
  opacity:.64;
}

/* Business signup */
.signup-backdrop[hidden]{display:none!important}
.signup-backdrop{
  position:fixed;
  inset:0;
  z-index:1100;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(9,31,30,.62);
  backdrop-filter:blur(8px);
}
.signup-modal{
  position:relative;
  width:min(680px,100%);
  max-height:min(860px,calc(100vh - 40px));
  overflow:auto;
  padding:30px;
  border:1px solid #d6e2de;
  border-radius:22px;
  background:#fff;
  box-shadow:0 30px 90px rgba(0,0,0,.24);
}
.signup-close{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border:1px solid #d6e2de;
  border-radius:50%;
  background:#f4f8f6;
  color:var(--green);
  font-size:24px;
  cursor:pointer;
}
.signup-modal h2{
  margin:8px 48px 8px 0;
  color:var(--green);
  font-size:32px;
  line-height:1.05;
  letter-spacing:-.045em;
}
.signup-intro{
  margin:0 0 20px;
  color:#58716b;
  line-height:1.6;
}
.signup-plan-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:20px;
}
.signup-plan-summary>div{
  padding:13px 14px;
  border:1px solid #dce7e3;
  border-radius:12px;
  background:#f7faf9;
}
.signup-plan-summary span{
  display:block;
  margin-bottom:4px;
  color:#6b817c;
  font-size:11px;
  font-weight:800;
}
.signup-plan-summary strong{
  color:var(--green);
  font-size:15px;
}
.signup-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.signup-form-grid label{
  display:grid;
  gap:7px;
  color:var(--green);
  font-size:13px;
  font-weight:800;
}
.signup-form-grid .signup-wide{
  grid-column:1/-1;
}
.signup-form-grid input,
.signup-form-grid select{
  width:100%;
  height:50px;
  border:1px solid #c8d8d3;
  border-radius:11px;
  padding:0 13px;
  background:#fff;
  color:var(--green);
  font:inherit;
  font-size:15px;
  outline:none;
}
.signup-form-grid input:focus,
.signup-form-grid select:focus{
  border-color:#6f968b;
  box-shadow:0 0 0 3px rgba(55,118,103,.10);
}
.signup-form-grid .optional{
  color:#82928e;
  font-size:11px;
  font-weight:700;
}
.signup-submit{
  width:100%;
  margin-top:18px;
}
.signup-message{
  min-height:20px;
  margin:10px 0 0;
  font-size:12px;
  line-height:1.5;
}
.signup-message.success{color:#2f755e;font-weight:800}
.signup-message.error{color:#a04945;font-weight:800}

@media(max-width:620px){
  .pricing-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }
  .pricing-cycle-toggle{
    width:100%;
  }
  .pricing-cycle-toggle button{
    flex:1;
    padding:0 10px;
  }
  .signup-backdrop{
    align-items:end;
    padding:10px;
  }
  .signup-modal{
    max-height:calc(100vh - 20px);
    padding:24px 18px 20px;
    border-radius:22px;
  }
  .signup-modal h2{
    font-size:28px;
  }
  .signup-plan-summary,
  .signup-form-grid{
    grid-template-columns:1fr;
  }
  .signup-form-grid .signup-wide{
    grid-column:auto;
  }
}
