    :root{
      --red:#dd0000;
      --red-100: #edc0af;
      --border:#000000;
      --text:#000000;
      --muted:#000000;
      --bg:#fff;
      --radius:12px;
    }

    html,body{
      height:100%;
      margin:0;
      font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      background:#f8f8f8;
      color:var(--text);
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }
    
    .box {
    width: 100%;
    margin: 0 auto;
    background: rgba(255,255,255,0.2);
    padding: 35px;
    border: 2px solid #fff;
    border-radius: 20px/50px;
    background-clip: padding-box;
    text-align: center;
  }
  
  
  
  .overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    
  }
  .overlay:target {
    visibility: visible;
    opacity: 1;
  }
  
  .popup {
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
    
  }
  
  
  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }
  .popup .close:hover {
    color: #7C877F;
  }
  .popup .content {
    max-height: 100%;
    overflow: auto;
    
  }
  
  @media screen and (max-width: 768px){
    .box{
      width: 70%;
    }
    .popup{
      width: 70%;
    }
  }

    .frame {
      width:100%;
      max-width:420px;
      margin:18px auto;
      background:var(--bg);
      border-radius:14px;
      box-shadow:0 6px 20px rgba(0,0,0,0.06);
      padding:22px;
      box-sizing:border-box;
      position:relative;
    }

    /* close 'X' button top-right */
    .close {
      position:absolute;
      right:16px;
      top:16px;
      width:36px;
      height:36px;
      border-radius:8px;
      border:2px solid #000000;
      display:flex;
      align-items:center;
      justify-content:center;
      font-weight:700;
      color:var(--red);
      cursor:pointer;
      background:#fff;
    }

    h1{
      margin:8px 0 14px;
      font-size:18px;
      text-align:center;
      letter-spacing:0.6px;
    }

    .section-title{
      font-size:16px;
      margin:4px 0 16px;
      font-weight:600;
    }

    .sub{
      font-size:12px;
      color:var(--muted);
      margin-bottom:10px;
    }

    /* BHK buttons grid */
    .bhk-grid{
      display:grid;
      grid-template-columns: repeat(2, 1fr);
      gap:10px;
      margin-bottom:14px;
    }

    .bhk-btn{
      border-radius:14px;
      padding:14px 12px;
      border:2px solid var(--border);
      background: transparent;
      text-align:center;
      font-weight:600;
      color:var(--red);
      cursor:pointer;
      font-size:12px;
      outline:none;
    }

    .bhk-btn.full {
      grid-column: 1 / -1;
      display:block;
    }

    .bhk-btn.active{
      background:var(--red-100);
      box-shadow:inset 0 -2px 0 rgba(0,0,0,0.02);
    }

    /* Inputs */
    .form-input{
      display:block;
      width:100%;
      padding:14px 16px;
      border-radius:12px;
      border:2px solid var(--border);
      background:transparent;
      margin-bottom:12px;
      box-sizing:border-box;
      font-size:12px;
      outline:none;
    }

    .form-input::placeholder{ color: #000000; }

    .muted-note{
      font-size:16px;
      margin:10px 0 8px;
      font-weight:600;
    }


    /* CTA */
    .cta{
      display:block;
      width:100%;
      text-align:center;
      border:0;
      padding:12px;
      font-size:14px;
      font-weight:700;
      background:var(--red);
      color:#fff;
      border-radius:12px;
      cursor:pointer;
      margin-bottom:12px;
    }

    .privacy{
      font-size:12px;
      color:var(--muted);
      text-align:left;
    }

    .privacy a{
      color:var(--red);
      text-decoration:none;
      font-weight:600;
    }

    /* small tweaks for mobile */
    @media (max-width:420px){
      .frame{ margin:10px; padding:18px; }
      h1 { font-size:20px; }
      .bhk-btn{ padding:12px; border-radius:10px; }
      .form-input{ padding:12px; border-radius:10px; }
      .cta{ padding:14px; font-size:17px; border-radius:10px; }
    }